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,EAAAzR,GAAA,CAAAkwB,GAEA,IAAAqQ,EAAA,GACAC,EAAA3gC,OAAAC,cAAA,EAAAD,OAAA4gC,wBAAA,CAEA,QAAAr9B,KAAA8sB,EACA,GAAA9sB,YAAAA,GAAAvD,OAAAN,SAAA,CAAAic,cAAA,CAAA+b,IAAA,CAAArH,EAAA9sB,GAAA,CACA,IAAAs9B,EAAAF,EAAA3gC,OAAA4gC,wBAAA,CAAAvQ,EAAA9sB,GAAA,IACAs9B,CAAAA,GAAAA,CAAAA,EAAA1gC,GAAA,EAAA0gC,EAAAn3B,GAAA,EAAA1J,OAAAC,cAAA,CAAAygC,EAAAn9B,EAAAs9B,GACAH,CAAA,CAAAn9B,EAAA,CAAA8sB,CAAA,CAAA9sB,EAAA,CAQA,OAJAm9B,EAAAt+B,OAAA,CAAAiuB,EAEAze,GAAAA,EAAAlI,GAAA,CAAA2mB,EAAAqQ,GAEAA,CACA","sources":["webpack://_N_E/./node_modules/next/dist/build/polyfills/polyfill-module.js?ed2d","webpack://_N_E/./node_modules/next/dist/client/add-base-path.js","webpack://_N_E/./node_modules/next/dist/client/app-bootstrap.js","webpack://_N_E/./node_modules/next/dist/client/app-call-server.js","webpack://_N_E/./node_modules/next/dist/client/app-index.js","webpack://_N_E/./node_modules/next/dist/client/app-next.js","webpack://_N_E/./node_modules/next/dist/client/components/app-router-announcer.js","webpack://_N_E/./node_modules/next/dist/client/components/app-router-headers.js","webpack://_N_E/./node_modules/next/dist/client/components/app-router.js","webpack://_N_E/./node_modules/next/dist/client/components/client-hook-in-server-component-error.js","webpack://_N_E/./node_modules/next/dist/client/components/error-boundary.js","webpack://_N_E/./node_modules/next/dist/client/components/hooks-server-context.js","webpack://_N_E/./node_modules/next/dist/client/components/infinite-promise.js","webpack://_N_E/./node_modules/next/dist/client/components/is-next-router-error.js","webpack://_N_E/./node_modules/next/dist/client/components/layout-router.js","webpack://_N_E/./node_modules/next/dist/client/components/match-segments.js","webpack://_N_E/./node_modules/next/dist/client/components/navigation.js","webpack://_N_E/./node_modules/next/dist/client/components/not-found-boundary.js","webpack://_N_E/./node_modules/next/dist/client/components/not-found.js","webpack://_N_E/./node_modules/next/dist/client/components/redirect-boundary.js","webpack://_N_E/./node_modules/next/dist/client/components/redirect.js","webpack://_N_E/./node_modules/next/dist/client/components/render-from-template-context.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/apply-flight-data.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/apply-router-state-patch-to-tree.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/compute-changed-path.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/create-href-from-url.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/create-optimistic-tree.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/create-record-from-thenable.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/create-router-cache-key.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/fetch-server-response.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/fill-cache-with-data-property.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/fill-cache-with-new-subtree-data.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/fill-lazy-items-till-leaf-with-head.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/get-prefetch-cache-entry-status.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/handle-mutable.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/invalidate-cache-below-flight-segmentpath.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/invalidate-cache-by-router-state.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/read-record-value.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/reducers/fast-refresh-reducer.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/reducers/find-head-in-cache.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/reducers/prefetch-reducer.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/reducers/prune-prefetch-cache.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/router-reducer-types.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/router-reducer.js","webpack://_N_E/./node_modules/next/dist/client/components/router-reducer/should-hard-navigate.js","webpack://_N_E/./node_modules/next/dist/client/components/searchparams-bailout-proxy.js","webpack://_N_E/./node_modules/next/dist/client/components/static-generation-bailout.js","webpack://_N_E/./node_modules/next/dist/client/components/static-generation-searchparams-bailout-provider.js","webpack://_N_E/./node_modules/next/dist/client/components/use-reducer-with-devtools.js","webpack://_N_E/./node_modules/next/dist/client/normalize-trailing-slash.js","webpack://_N_E/./node_modules/next/dist/client/on-recoverable-error.js","webpack://_N_E/./node_modules/next/dist/shared/lib/app-router-context.js","webpack://_N_E/./node_modules/next/dist/shared/lib/hash.js","webpack://_N_E/./node_modules/next/dist/shared/lib/head-manager-context.js","webpack://_N_E/./node_modules/next/dist/shared/lib/hooks-client-context.js","webpack://_N_E/./node_modules/next/dist/shared/lib/lazy-dynamic/no-ssr-error.js","webpack://_N_E/./node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","webpack://_N_E/./node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js","webpack://_N_E/./node_modules/next/dist/shared/lib/router/utils/app-paths.js","webpack://_N_E/./node_modules/next/dist/shared/lib/router/utils/handle-smooth-scroll.js","webpack://_N_E/./node_modules/next/dist/shared/lib/router/utils/is-bot.js","webpack://_N_E/./node_modules/next/dist/shared/lib/router/utils/parse-path.js","webpack://_N_E/./node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js","webpack://_N_E/./node_modules/next/dist/shared/lib/server-inserted-html.js","webpack://_N_E/./node_modules/next/dist/client/components/async-local-storage.js","webpack://_N_E/./node_modules/next/dist/client/components/request-async-storage.js","webpack://_N_E/./node_modules/next/dist/client/components/static-generation-async-storage.js","webpack://_N_E/./node_modules/next/dist/compiled/react-dom/client.js","webpack://_N_E/./node_modules/next/dist/compiled/react-dom/index.js","webpack://_N_E/./node_modules/next/dist/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.production.min.js","webpack://_N_E/./node_modules/next/dist/compiled/react-server-dom-webpack/client.browser.js","webpack://_N_E/./node_modules/next/dist/compiled/react-server-dom-webpack/client.js","webpack://_N_E/./node_modules/next/dist/compiled/react/cjs/react.production.min.js","webpack://_N_E/./node_modules/next/dist/compiled/react/index.js","webpack://_N_E/./node_modules/next/dist/compiled/scheduler/cjs/scheduler.production.min.js","webpack://_N_E/./node_modules/next/dist/compiled/scheduler/index.js","webpack://_N_E/./node_modules/next/dist/server/app-render/get-segment-param.js","webpack://_N_E/./node_modules/next/dist/server/future/helpers/interception-routes.js?6403","webpack://_N_E/./node_modules/next/node_modules/@swc/helpers/esm/_interop_require_default.js?9d33","webpack://_N_E/./node_modules/next/node_modules/@swc/helpers/esm/_interop_require_wildcard.js?2cd0","webpack://_N_E/"],"sourcesContent":["\"trimStart\"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),\"trimEnd\"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),\"description\"in Symbol.prototype||Object.defineProperty(Symbol.prototype,\"description\",{configurable:!0,get:function(){var t=/\\((.*)\\)/.exec(this.toString());return t?t[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(t,r){return r=this.concat.apply([],this),t>1&&r.some(Array.isArray)?r.flat(t-1):r},Array.prototype.flatMap=function(t,r){return this.map(t,r).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(t){if(\"function\"!=typeof t)return this.then(t,t);var r=this.constructor||Promise;return this.then(function(o){return r.resolve(t()).then(function(){return o})},function(o){return r.resolve(t()).then(function(){throw o})})}),Object.fromEntries||(Object.fromEntries=function(t){return Array.from(t).reduce(function(t,r){return t[r[0]]=r[1],t},{})});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"addBasePath\", {\n enumerable: true,\n get: function() {\n return addBasePath;\n }\n});\nconst _addpathprefix = require(\"../shared/lib/router/utils/add-path-prefix\");\nconst _normalizetrailingslash = require(\"./normalize-trailing-slash\");\nconst basePath = process.env.__NEXT_ROUTER_BASEPATH || \"\";\nfunction addBasePath(path, required) {\n return (0, _normalizetrailingslash.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH && !required ? path : (0, _addpathprefix.addPathPrefix)(path, basePath));\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=add-base-path.js.map","/**\n * Before starting the Next.js runtime and requiring any module, we need to make\n * sure the following scripts are executed in the correct order:\n * - Polyfills\n * - next/script with `beforeInteractive` strategy\n */ \"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"appBootstrap\", {\n enumerable: true,\n get: function() {\n return appBootstrap;\n }\n});\nconst version = \"13.4.10\";\nwindow.next = {\n version,\n appDir: true\n};\nfunction loadScriptsInSequence(scripts, hydrate) {\n if (!scripts || !scripts.length) {\n return hydrate();\n }\n return scripts.reduce((promise, param)=>{\n let [src, props] = param;\n return promise.then(()=>{\n return new Promise((resolve, reject)=>{\n const el = document.createElement(\"script\");\n if (props) {\n for(const key in props){\n if (key !== \"children\") {\n el.setAttribute(key, props[key]);\n }\n }\n }\n if (src) {\n el.src = src;\n el.onload = ()=>resolve();\n el.onerror = reject;\n } else if (props) {\n el.innerHTML = props.children;\n setTimeout(resolve);\n }\n document.head.appendChild(el);\n });\n });\n }, Promise.resolve()).catch((err)=>{\n console.error(err);\n // Still try to hydrate even if there's an error.\n }).then(()=>{\n hydrate();\n });\n}\nfunction appBootstrap(callback) {\n loadScriptsInSequence(self.__next_s, ()=>{\n callback();\n });\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=app-bootstrap.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"callServer\", {\n enumerable: true,\n get: function() {\n return callServer;\n }\n});\nconst _approuter = require(\"./components/app-router\");\nasync function callServer(actionId, actionArgs) {\n const actionDispatcher = (0, _approuter.getServerActionDispatcher)();\n if (!actionDispatcher) {\n throw new Error(\"Invariant: missing action dispatcher.\");\n }\n return new Promise((resolve, reject)=>{\n actionDispatcher({\n actionId,\n actionArgs,\n resolve,\n reject\n });\n });\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=app-call-server.js.map","/* global location */ \"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"hydrate\", {\n enumerable: true,\n get: function() {\n return hydrate;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _interop_require_wildcard = require(\"@swc/helpers/_/_interop_require_wildcard\");\nrequire(\"../build/polyfills/polyfill-module\");\nconst _client = /*#__PURE__*/ _interop_require_default._(require(\"react-dom/client\"));\nconst _react = /*#__PURE__*/ _interop_require_wildcard._(require(\"react\"));\nconst _client1 = require(\"react-server-dom-webpack/client\");\nconst _headmanagercontext = require(\"../shared/lib/head-manager-context\");\nconst _approutercontext = require(\"../shared/lib/app-router-context\");\nconst _onrecoverableerror = /*#__PURE__*/ _interop_require_default._(require(\"./on-recoverable-error\"));\nconst _appcallserver = require(\"./app-call-server\");\nconst _isnextroutererror = require(\"./components/is-next-router-error\");\n// Since React doesn't call onerror for errors caught in error boundaries.\nconst origConsoleError = window.console.error;\nwindow.console.error = function() {\n for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){\n args[_key] = arguments[_key];\n }\n if ((0, _isnextroutererror.isNextRouterError)(args[0])) {\n return;\n }\n origConsoleError.apply(window.console, args);\n};\nwindow.addEventListener(\"error\", (ev)=>{\n if ((0, _isnextroutererror.isNextRouterError)(ev.error)) {\n ev.preventDefault();\n return;\n }\n});\nconst addChunkSuffix = (getOriginalChunk)=>(chunkId)=>{\n return getOriginalChunk(chunkId) + (\"\" + (process.env.NEXT_DEPLOYMENT_ID ? \"?dpl=\" + process.env.NEXT_DEPLOYMENT_ID : \"\"));\n };\n// eslint-disable-next-line no-undef\nconst getChunkScriptFilename = __webpack_require__.u;\nconst chunkFilenameMap = {};\n// eslint-disable-next-line no-undef\n__webpack_require__.u = addChunkSuffix((chunkId)=>encodeURI(chunkFilenameMap[chunkId] || getChunkScriptFilename(chunkId)));\n// eslint-disable-next-line no-undef\nconst getChunkCssFilename = __webpack_require__.k;\n// eslint-disable-next-line no-undef\n__webpack_require__.k = addChunkSuffix(getChunkCssFilename);\n// eslint-disable-next-line no-undef\nconst getMiniCssFilename = __webpack_require__.miniCssF;\n// eslint-disable-next-line no-undef\n__webpack_require__.miniCssF = addChunkSuffix(getMiniCssFilename);\n// @ts-ignore\n// eslint-disable-next-line no-undef\nif (process.turbopack) {\n // eslint-disable-next-line no-undef\n // @ts-expect-error TODO: fix type\n self.__next_require__ = __turbopack_require__;\n self.__next_chunk_load__ = __turbopack_load__;\n} else {\n // Ignore the module ID transform in client.\n // eslint-disable-next-line no-undef\n // @ts-expect-error TODO: fix type\n self.__next_require__ = process.env.NODE_ENV !== \"production\" ? (id)=>{\n const mod = __webpack_require__(id);\n if (typeof mod === \"object\") {\n // Return a proxy to flight client to make sure it's always getting\n // the latest module, instead of being cached.\n return new Proxy(mod, {\n get (_target, prop) {\n return __webpack_require__(id)[prop];\n }\n });\n }\n return mod;\n } : __webpack_require__;\n self.__next_chunk_load__ = (chunk)=>{\n if (!chunk) return Promise.resolve();\n const [chunkId, chunkFilePath] = chunk.split(\":\");\n chunkFilenameMap[chunkId] = chunkFilePath;\n // @ts-ignore\n // eslint-disable-next-line no-undef\n return __webpack_chunk_load__(chunkId);\n };\n}\nconst appElement = document;\nconst getCacheKey = ()=>{\n const { pathname , search } = location;\n return pathname + search;\n};\nconst encoder = new TextEncoder();\nlet initialServerDataBuffer = undefined;\nlet initialServerDataWriter = undefined;\nlet initialServerDataLoaded = false;\nlet initialServerDataFlushed = false;\nfunction nextServerDataCallback(seg) {\n if (seg[0] === 0) {\n initialServerDataBuffer = [];\n } else {\n if (!initialServerDataBuffer) throw new Error(\"Unexpected server data: missing bootstrap script.\");\n if (initialServerDataWriter) {\n initialServerDataWriter.enqueue(encoder.encode(seg[1]));\n } else {\n initialServerDataBuffer.push(seg[1]);\n }\n }\n}\n// There might be race conditions between `nextServerDataRegisterWriter` and\n// `DOMContentLoaded`. The former will be called when React starts to hydrate\n// the root, the latter will be called when the DOM is fully loaded.\n// For streaming, the former is called first due to partial hydration.\n// For non-streaming, the latter can be called first.\n// Hence, we use two variables `initialServerDataLoaded` and\n// `initialServerDataFlushed` to make sure the writer will be closed and\n// `initialServerDataBuffer` will be cleared in the right time.\nfunction nextServerDataRegisterWriter(ctr) {\n if (initialServerDataBuffer) {\n initialServerDataBuffer.forEach((val)=>{\n ctr.enqueue(encoder.encode(val));\n });\n if (initialServerDataLoaded && !initialServerDataFlushed) {\n ctr.close();\n initialServerDataFlushed = true;\n initialServerDataBuffer = undefined;\n }\n }\n initialServerDataWriter = ctr;\n}\n// When `DOMContentLoaded`, we can close all pending writers to finish hydration.\nconst DOMContentLoaded = function() {\n if (initialServerDataWriter && !initialServerDataFlushed) {\n initialServerDataWriter.close();\n initialServerDataFlushed = true;\n initialServerDataBuffer = undefined;\n }\n initialServerDataLoaded = true;\n};\n// It's possible that the DOM is already loaded.\nif (document.readyState === \"loading\") {\n document.addEventListener(\"DOMContentLoaded\", DOMContentLoaded, false);\n} else {\n DOMContentLoaded();\n}\nconst nextServerDataLoadingGlobal = self.__next_f = self.__next_f || [];\nnextServerDataLoadingGlobal.forEach(nextServerDataCallback);\nnextServerDataLoadingGlobal.push = nextServerDataCallback;\nfunction createResponseCache() {\n return new Map();\n}\nconst rscCache = createResponseCache();\nfunction useInitialServerResponse(cacheKey) {\n const response = rscCache.get(cacheKey);\n if (response) return response;\n const readable = new ReadableStream({\n start (controller) {\n nextServerDataRegisterWriter(controller);\n }\n });\n const newResponse = (0, _client1.createFromReadableStream)(readable, {\n callServer: _appcallserver.callServer\n });\n rscCache.set(cacheKey, newResponse);\n return newResponse;\n}\nfunction ServerRoot(param) {\n let { cacheKey } = param;\n _react.default.useEffect(()=>{\n rscCache.delete(cacheKey);\n });\n const response = useInitialServerResponse(cacheKey);\n const root = (0, _react.use)(response);\n return root;\n}\nconst StrictModeIfEnabled = process.env.__NEXT_STRICT_MODE_APP ? _react.default.StrictMode : _react.default.Fragment;\nfunction Root(param) {\n let { children } = param;\n if (process.env.__NEXT_ANALYTICS_ID) {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n _react.default.useEffect(()=>{\n require(\"./performance-relayer-app\")();\n }, []);\n }\n if (process.env.__NEXT_TEST_MODE) {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n _react.default.useEffect(()=>{\n window.__NEXT_HYDRATED = true;\n if (window.__NEXT_HYDRATED_CB) {\n window.__NEXT_HYDRATED_CB();\n }\n }, []);\n }\n return children;\n}\nfunction RSCComponent(props) {\n return /*#__PURE__*/ _react.default.createElement(ServerRoot, {\n ...props,\n cacheKey: getCacheKey()\n });\n}\nfunction hydrate() {\n if (process.env.NODE_ENV !== \"production\") {\n const rootLayoutMissingTagsError = self.__next_root_layout_missing_tags_error;\n const HotReload = require(\"./components/react-dev-overlay/hot-reloader-client\").default;\n // Don't try to hydrate if root layout is missing required tags, render error instead\n if (rootLayoutMissingTagsError) {\n const reactRootElement = document.createElement(\"div\");\n document.body.appendChild(reactRootElement);\n const reactRoot = _client.default.createRoot(reactRootElement, {\n onRecoverableError: _onrecoverableerror.default\n });\n reactRoot.render(/*#__PURE__*/ _react.default.createElement(_approutercontext.GlobalLayoutRouterContext.Provider, {\n value: {\n buildId: \"development\",\n tree: rootLayoutMissingTagsError.tree,\n changeByServerResponse: ()=>{},\n focusAndScrollRef: {\n apply: false,\n hashFragment: null,\n segmentPaths: []\n },\n nextUrl: null\n }\n }, /*#__PURE__*/ _react.default.createElement(HotReload, {\n assetPrefix: rootLayoutMissingTagsError.assetPrefix\n })));\n return;\n }\n }\n const reactEl = /*#__PURE__*/ _react.default.createElement(StrictModeIfEnabled, null, /*#__PURE__*/ _react.default.createElement(_headmanagercontext.HeadManagerContext.Provider, {\n value: {\n appDir: true\n }\n }, /*#__PURE__*/ _react.default.createElement(Root, null, /*#__PURE__*/ _react.default.createElement(RSCComponent, null))));\n const options = {\n onRecoverableError: _onrecoverableerror.default\n };\n const isError = document.documentElement.id === \"__next_error__\";\n if (process.env.NODE_ENV !== \"production\") {\n // Patch console.error to collect information about hydration errors\n const patchConsoleError = require(\"./components/react-dev-overlay/internal/helpers/hydration-error-info\").patchConsoleError;\n if (!isError) {\n patchConsoleError();\n }\n }\n if (isError) {\n _client.default.createRoot(appElement, options).render(reactEl);\n } else {\n _react.default.startTransition(()=>_client.default.hydrateRoot(appElement, reactEl, options));\n }\n // TODO-APP: Remove this logic when Float has GC built-in in development.\n if (process.env.NODE_ENV !== \"production\") {\n const { linkGc } = require(\"./app-link-gc\");\n linkGc();\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=app-index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nconst _appbootstrap = require(\"./app-bootstrap\");\n(0, _appbootstrap.appBootstrap)(()=>{\n // Include app-router and layout-router in the main chunk\n require(\"next/dist/client/components/app-router\");\n require(\"next/dist/client/components/layout-router\");\n const { hydrate } = require(\"./app-index\");\n hydrate();\n});\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=app-next.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"AppRouterAnnouncer\", {\n enumerable: true,\n get: function() {\n return AppRouterAnnouncer;\n }\n});\nconst _react = require(\"react\");\nconst _reactdom = require(\"react-dom\");\nconst ANNOUNCER_TYPE = \"next-route-announcer\";\nconst ANNOUNCER_ID = \"__next-route-announcer__\";\nfunction getAnnouncerNode() {\n var _existingAnnouncer_shadowRoot;\n const existingAnnouncer = document.getElementsByName(ANNOUNCER_TYPE)[0];\n if (existingAnnouncer == null ? void 0 : (_existingAnnouncer_shadowRoot = existingAnnouncer.shadowRoot) == null ? void 0 : _existingAnnouncer_shadowRoot.childNodes[0]) {\n return existingAnnouncer.shadowRoot.childNodes[0];\n } else {\n const container = document.createElement(ANNOUNCER_TYPE);\n container.style.cssText = \"position:absolute\";\n const announcer = document.createElement(\"div\");\n announcer.ariaLive = \"assertive\";\n announcer.id = ANNOUNCER_ID;\n announcer.role = \"alert\";\n announcer.style.cssText = \"position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal\";\n // Use shadow DOM here to avoid any potential CSS bleed\n const shadow = container.attachShadow({\n mode: \"open\"\n });\n shadow.appendChild(announcer);\n document.body.appendChild(container);\n return announcer;\n }\n}\nfunction AppRouterAnnouncer(param) {\n let { tree } = param;\n const [portalNode, setPortalNode] = (0, _react.useState)(null);\n (0, _react.useEffect)(()=>{\n const announcer = getAnnouncerNode();\n setPortalNode(announcer);\n return ()=>{\n const container = document.getElementsByTagName(ANNOUNCER_TYPE)[0];\n if (container == null ? void 0 : container.isConnected) {\n document.body.removeChild(container);\n }\n };\n }, []);\n const [routeAnnouncement, setRouteAnnouncement] = (0, _react.useState)(\"\");\n const previousTitle = (0, _react.useRef)();\n (0, _react.useEffect)(()=>{\n let currentTitle = \"\";\n if (document.title) {\n currentTitle = document.title;\n } else {\n const pageHeader = document.querySelector(\"h1\");\n if (pageHeader) {\n currentTitle = pageHeader.innerText || pageHeader.textContent || \"\";\n }\n }\n // Only announce the title change, but not for the first load because screen\n // readers do that automatically.\n if (previousTitle.current !== undefined) {\n setRouteAnnouncement(currentTitle);\n }\n previousTitle.current = currentTitle;\n }, [\n tree\n ]);\n return portalNode ? /*#__PURE__*/ (0, _reactdom.createPortal)(routeAnnouncement, portalNode) : null;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=app-router-announcer.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n RSC: null,\n ACTION: null,\n NEXT_ROUTER_STATE_TREE: null,\n NEXT_ROUTER_PREFETCH: null,\n NEXT_URL: null,\n FETCH_CACHE_HEADER: null,\n RSC_CONTENT_TYPE_HEADER: null,\n RSC_VARY_HEADER: null,\n FLIGHT_PARAMETERS: null,\n NEXT_RSC_UNION_QUERY: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n RSC: function() {\n return RSC;\n },\n ACTION: function() {\n return ACTION;\n },\n NEXT_ROUTER_STATE_TREE: function() {\n return NEXT_ROUTER_STATE_TREE;\n },\n NEXT_ROUTER_PREFETCH: function() {\n return NEXT_ROUTER_PREFETCH;\n },\n NEXT_URL: function() {\n return NEXT_URL;\n },\n FETCH_CACHE_HEADER: function() {\n return FETCH_CACHE_HEADER;\n },\n RSC_CONTENT_TYPE_HEADER: function() {\n return RSC_CONTENT_TYPE_HEADER;\n },\n RSC_VARY_HEADER: function() {\n return RSC_VARY_HEADER;\n },\n FLIGHT_PARAMETERS: function() {\n return FLIGHT_PARAMETERS;\n },\n NEXT_RSC_UNION_QUERY: function() {\n return NEXT_RSC_UNION_QUERY;\n }\n});\nconst RSC = \"RSC\";\nconst ACTION = \"Next-Action\";\nconst NEXT_ROUTER_STATE_TREE = \"Next-Router-State-Tree\";\nconst NEXT_ROUTER_PREFETCH = \"Next-Router-Prefetch\";\nconst NEXT_URL = \"Next-Url\";\nconst FETCH_CACHE_HEADER = \"x-vercel-sc-headers\";\nconst RSC_CONTENT_TYPE_HEADER = \"text/x-component\";\nconst RSC_VARY_HEADER = RSC + \", \" + NEXT_ROUTER_STATE_TREE + \", \" + NEXT_ROUTER_PREFETCH;\nconst FLIGHT_PARAMETERS = [\n [\n RSC\n ],\n [\n NEXT_ROUTER_STATE_TREE\n ],\n [\n NEXT_ROUTER_PREFETCH\n ]\n];\nconst NEXT_RSC_UNION_QUERY = \"_rsc\";\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=app-router-headers.js.map","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n getServerActionDispatcher: null,\n urlToUrlWithoutFlightMarker: null,\n default: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n getServerActionDispatcher: function() {\n return getServerActionDispatcher;\n },\n urlToUrlWithoutFlightMarker: function() {\n return urlToUrlWithoutFlightMarker;\n },\n default: function() {\n return AppRouter;\n }\n});\nconst _interop_require_wildcard = require(\"@swc/helpers/_/_interop_require_wildcard\");\nconst _react = /*#__PURE__*/ _interop_require_wildcard._(require(\"react\"));\nconst _approutercontext = require(\"../../shared/lib/app-router-context\");\nconst _routerreducer = require(\"./router-reducer/router-reducer\");\nconst _routerreducertypes = require(\"./router-reducer/router-reducer-types\");\nconst _createhreffromurl = require(\"./router-reducer/create-href-from-url\");\nconst _hooksclientcontext = require(\"../../shared/lib/hooks-client-context\");\nconst _usereducerwithdevtools = require(\"./use-reducer-with-devtools\");\nconst _errorboundary = require(\"./error-boundary\");\nconst _createinitialrouterstate = require(\"./router-reducer/create-initial-router-state\");\nconst _isbot = require(\"../../shared/lib/router/utils/is-bot\");\nconst _addbasepath = require(\"../add-base-path\");\nconst _approuterannouncer = require(\"./app-router-announcer\");\nconst _redirectboundary = require(\"./redirect-boundary\");\nconst _notfoundboundary = require(\"./not-found-boundary\");\nconst _findheadincache = require(\"./router-reducer/reducers/find-head-in-cache\");\nconst _infinitepromise = require(\"./infinite-promise\");\nconst _approuterheaders = require(\"./app-router-headers\");\n\nconst isServer = typeof window === \"undefined\";\n// Ensure the initialParallelRoutes are not combined because of double-rendering in the browser with Strict Mode.\nlet initialParallelRoutes = isServer ? null : new Map();\nlet globalServerActionDispatcher = null;\nfunction getServerActionDispatcher() {\n return globalServerActionDispatcher;\n}\nfunction urlToUrlWithoutFlightMarker(url) {\n const urlWithoutFlightParameters = new URL(url, location.origin);\n urlWithoutFlightParameters.searchParams.delete(_approuterheaders.NEXT_RSC_UNION_QUERY);\n if (process.env.NODE_ENV === \"production\") {\n if (process.env.__NEXT_CONFIG_OUTPUT === \"export\") {\n if (urlWithoutFlightParameters.pathname.endsWith(\"/index.txt\")) {\n // Slice off `/index.txt` from the end of the pathname\n urlWithoutFlightParameters.pathname = urlWithoutFlightParameters.pathname.slice(0, -\"/index.txt\".length);\n } else {\n // Slice off `.txt` from the end of the pathname\n urlWithoutFlightParameters.pathname = urlWithoutFlightParameters.pathname.slice(0, -\".txt\".length);\n }\n }\n }\n return urlWithoutFlightParameters;\n}\nconst HotReloader = process.env.NODE_ENV === \"production\" ? null : require(\"./react-dev-overlay/hot-reloader-client\").default;\nfunction isExternalURL(url) {\n return url.origin !== window.location.origin;\n}\nfunction HistoryUpdater(param) {\n let { tree , pushRef , canonicalUrl , sync } = param;\n (0, _react.useInsertionEffect)(()=>{\n // Identifier is shortened intentionally.\n // __NA is used to identify if the history entry can be handled by the app-router.\n // __N is used to identify if the history entry can be handled by the old router.\n const historyState = {\n __NA: true,\n tree\n };\n if (pushRef.pendingPush && (0, _createhreffromurl.createHrefFromUrl)(new URL(window.location.href)) !== canonicalUrl) {\n // This intentionally mutates React state, pushRef is overwritten to ensure additional push/replace calls do not trigger an additional history entry.\n pushRef.pendingPush = false;\n window.history.pushState(historyState, \"\", canonicalUrl);\n } else {\n window.history.replaceState(historyState, \"\", canonicalUrl);\n }\n sync();\n }, [\n tree,\n pushRef,\n canonicalUrl,\n sync\n ]);\n return null;\n}\nconst createEmptyCacheNode = ()=>({\n status: _approutercontext.CacheStates.LAZY_INITIALIZED,\n data: null,\n subTreeData: null,\n parallelRoutes: new Map()\n });\nfunction useServerActionDispatcher(changeByServerResponse, dispatch, navigate) {\n const serverActionDispatcher = (0, _react.useCallback)((actionPayload)=>{\n (0, _react.startTransition)(()=>{\n dispatch({\n ...actionPayload,\n type: _routerreducertypes.ACTION_SERVER_ACTION,\n mutable: {},\n navigate,\n changeByServerResponse\n });\n });\n }, [\n changeByServerResponse,\n dispatch,\n navigate\n ]);\n globalServerActionDispatcher = serverActionDispatcher;\n}\n/**\n * Server response that only patches the cache and tree.\n */ function useChangeByServerResponse(dispatch) {\n return (0, _react.useCallback)((previousTree, flightData, overrideCanonicalUrl)=>{\n (0, _react.startTransition)(()=>{\n dispatch({\n type: _routerreducertypes.ACTION_SERVER_PATCH,\n flightData,\n previousTree,\n overrideCanonicalUrl,\n cache: createEmptyCacheNode(),\n mutable: {}\n });\n });\n }, [\n dispatch\n ]);\n}\nfunction useNavigate(dispatch) {\n return (0, _react.useCallback)((href, navigateType, forceOptimisticNavigation, shouldScroll)=>{\n const url = new URL((0, _addbasepath.addBasePath)(href), location.href);\n return dispatch({\n type: _routerreducertypes.ACTION_NAVIGATE,\n url,\n isExternalUrl: isExternalURL(url),\n locationSearch: location.search,\n forceOptimisticNavigation,\n shouldScroll: shouldScroll != null ? shouldScroll : true,\n navigateType,\n cache: createEmptyCacheNode(),\n mutable: {}\n });\n }, [\n dispatch\n ]);\n}\n/**\n * The global router that wraps the application components.\n */ function Router(param) {\n let { buildId , initialHead , initialTree , initialCanonicalUrl , children , assetPrefix , notFound , asNotFound } = param;\n const initialState = (0, _react.useMemo)(()=>(0, _createinitialrouterstate.createInitialRouterState)({\n buildId,\n children,\n initialCanonicalUrl,\n initialTree,\n initialParallelRoutes,\n isServer,\n location: !isServer ? window.location : null,\n initialHead\n }), [\n buildId,\n children,\n initialCanonicalUrl,\n initialTree,\n initialHead\n ]);\n const [{ tree , cache , prefetchCache , pushRef , focusAndScrollRef , canonicalUrl , nextUrl }, dispatch, sync] = (0, _usereducerwithdevtools.useReducerWithReduxDevtools)(_routerreducer.reducer, initialState);\n (0, _react.useEffect)(()=>{\n // Ensure initialParallelRoutes is cleaned up from memory once it's used.\n initialParallelRoutes = null;\n }, []);\n // Add memoized pathname/query for useSearchParams and usePathname.\n const { searchParams , pathname } = (0, _react.useMemo)(()=>{\n const url = new URL(canonicalUrl, typeof window === \"undefined\" ? \"http://n\" : window.location.href);\n return {\n // This is turned into a readonly class in `useSearchParams`\n searchParams: url.searchParams,\n pathname: url.pathname\n };\n }, [\n canonicalUrl\n ]);\n const changeByServerResponse = useChangeByServerResponse(dispatch);\n const navigate = useNavigate(dispatch);\n useServerActionDispatcher(changeByServerResponse, dispatch, navigate);\n /**\n * The app router that is exposed through `useRouter`. It's only concerned with dispatching actions to the reducer, does not hold state.\n */ const appRouter = (0, _react.useMemo)(()=>{\n const routerInstance = {\n back: ()=>window.history.back(),\n forward: ()=>window.history.forward(),\n prefetch: (href, options)=>{\n // If prefetch has already been triggered, don't trigger it again.\n if ((0, _isbot.isBot)(window.navigator.userAgent)) {\n return;\n }\n const url = new URL((0, _addbasepath.addBasePath)(href), location.href);\n // External urls can't be prefetched in the same way.\n if (isExternalURL(url)) {\n return;\n }\n (0, _react.startTransition)(()=>{\n var _options_kind;\n dispatch({\n type: _routerreducertypes.ACTION_PREFETCH,\n url,\n kind: (_options_kind = options == null ? void 0 : options.kind) != null ? _options_kind : _routerreducertypes.PrefetchKind.FULL\n });\n });\n },\n replace: (href, options)=>{\n if (options === void 0) options = {};\n (0, _react.startTransition)(()=>{\n var _options_scroll;\n navigate(href, \"replace\", Boolean(options.forceOptimisticNavigation), (_options_scroll = options.scroll) != null ? _options_scroll : true);\n });\n },\n push: (href, options)=>{\n if (options === void 0) options = {};\n (0, _react.startTransition)(()=>{\n var _options_scroll;\n navigate(href, \"push\", Boolean(options.forceOptimisticNavigation), (_options_scroll = options.scroll) != null ? _options_scroll : true);\n });\n },\n refresh: ()=>{\n (0, _react.startTransition)(()=>{\n dispatch({\n type: _routerreducertypes.ACTION_REFRESH,\n cache: createEmptyCacheNode(),\n mutable: {},\n origin: window.location.origin\n });\n });\n },\n // @ts-ignore we don't want to expose this method at all\n fastRefresh: ()=>{\n if (process.env.NODE_ENV !== \"development\") {\n throw new Error(\"fastRefresh can only be used in development mode. Please use refresh instead.\");\n } else {\n (0, _react.startTransition)(()=>{\n dispatch({\n type: _routerreducertypes.ACTION_FAST_REFRESH,\n cache: createEmptyCacheNode(),\n mutable: {},\n origin: window.location.origin\n });\n });\n }\n }\n };\n return routerInstance;\n }, [\n dispatch,\n navigate\n ]);\n (0, _react.useEffect)(()=>{\n // Exists for debugging purposes. Don't use in application code.\n if (window.next) {\n window.next.router = appRouter;\n }\n }, [\n appRouter\n ]);\n if (process.env.NODE_ENV !== \"production\") {\n // This hook is in a conditional but that is ok because `process.env.NODE_ENV` never changes\n // eslint-disable-next-line react-hooks/rules-of-hooks\n (0, _react.useEffect)(()=>{\n // Add `window.nd` for debugging purposes.\n // This is not meant for use in applications as concurrent rendering will affect the cache/tree/router.\n // @ts-ignore this is for debugging\n window.nd = {\n router: appRouter,\n cache,\n prefetchCache,\n tree\n };\n }, [\n appRouter,\n cache,\n prefetchCache,\n tree\n ]);\n }\n // When mpaNavigation flag is set do a hard navigation to the new url.\n // Infinitely suspend because we don't actually want to rerender any child\n // components with the new URL and any entangled state updates shouldn't\n // commit either (eg: useTransition isPending should stay true until the page\n // unloads).\n //\n // This is a side effect in render. Don't try this at home, kids. It's\n // probably safe because we know this is a singleton component and it's never\n // in . At least I hope so. (It will run twice in dev strict mode,\n // but that's... fine?)\n if (pushRef.mpaNavigation) {\n const location1 = window.location;\n if (pushRef.pendingPush) {\n location1.assign(canonicalUrl);\n } else {\n location1.replace(canonicalUrl);\n }\n // TODO-APP: Should we listen to navigateerror here to catch failed\n // navigations somehow? And should we call window.stop() if a SPA navigation\n // should interrupt an MPA one?\n (0, _react.use)((0, _infinitepromise.createInfinitePromise)());\n }\n /**\n * Handle popstate event, this is used to handle back/forward in the browser.\n * By default dispatches ACTION_RESTORE, however if the history entry was not pushed/replaced by app-router it will reload the page.\n * That case can happen when the old router injected the history entry.\n */ const onPopState = (0, _react.useCallback)((param)=>{\n let { state } = param;\n if (!state) {\n // TODO-APP: this case only happens when pushState/replaceState was called outside of Next.js. It should probably reload the page in this case.\n return;\n }\n // This case happens when the history entry was pushed by the `pages` router.\n if (!state.__NA) {\n window.location.reload();\n return;\n }\n // @ts-ignore useTransition exists\n // TODO-APP: Ideally the back button should not use startTransition as it should apply the updates synchronously\n // Without startTransition works if the cache is there for this path\n (0, _react.startTransition)(()=>{\n dispatch({\n type: _routerreducertypes.ACTION_RESTORE,\n url: new URL(window.location.href),\n tree: state.tree\n });\n });\n }, [\n dispatch\n ]);\n // Register popstate event to call onPopstate.\n (0, _react.useEffect)(()=>{\n window.addEventListener(\"popstate\", onPopState);\n return ()=>{\n window.removeEventListener(\"popstate\", onPopState);\n };\n }, [\n onPopState\n ]);\n const head = (0, _react.useMemo)(()=>{\n return (0, _findheadincache.findHeadInCache)(cache, tree[1]);\n }, [\n cache,\n tree\n ]);\n const notFoundProps = {\n notFound,\n asNotFound\n };\n const content = /*#__PURE__*/ _react.default.createElement(_redirectboundary.RedirectBoundary, null, head, cache.subTreeData, /*#__PURE__*/ _react.default.createElement(_approuterannouncer.AppRouterAnnouncer, {\n tree: tree\n }));\n return /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/ _react.default.createElement(HistoryUpdater, {\n tree: tree,\n pushRef: pushRef,\n canonicalUrl: canonicalUrl,\n sync: sync\n }), /*#__PURE__*/ _react.default.createElement(_hooksclientcontext.PathnameContext.Provider, {\n value: pathname\n }, /*#__PURE__*/ _react.default.createElement(_hooksclientcontext.SearchParamsContext.Provider, {\n value: searchParams\n }, /*#__PURE__*/ _react.default.createElement(_approutercontext.GlobalLayoutRouterContext.Provider, {\n value: {\n buildId,\n changeByServerResponse,\n tree,\n focusAndScrollRef,\n nextUrl\n }\n }, /*#__PURE__*/ _react.default.createElement(_approutercontext.AppRouterContext.Provider, {\n value: appRouter\n }, /*#__PURE__*/ _react.default.createElement(_approutercontext.LayoutRouterContext.Provider, {\n value: {\n childNodes: cache.parallelRoutes,\n tree: tree,\n // Root node always has `url`\n // Provided in AppTreeContext to ensure it can be overwritten in layout-router\n url: canonicalUrl\n }\n }, HotReloader ? // HotReloader implements a separate NotFoundBoundary to maintain the HMR ping interval\n /*#__PURE__*/ _react.default.createElement(HotReloader, {\n assetPrefix: assetPrefix,\n ...notFoundProps\n }, content) : /*#__PURE__*/ _react.default.createElement(_notfoundboundary.NotFoundBoundary, notFoundProps, content)))))));\n}\nfunction AppRouter(props) {\n const { globalErrorComponent , ...rest } = props;\n return /*#__PURE__*/ _react.default.createElement(_errorboundary.ErrorBoundary, {\n errorComponent: globalErrorComponent\n }, /*#__PURE__*/ _react.default.createElement(Router, rest));\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=app-router.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"clientHookInServerComponentError\", {\n enumerable: true,\n get: function() {\n return clientHookInServerComponentError;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _react = /*#__PURE__*/ _interop_require_default._(require(\"react\"));\nfunction clientHookInServerComponentError(hookName) {\n if (process.env.NODE_ENV !== \"production\") {\n // If useState is undefined we're in a server component\n if (!_react.default.useState) {\n throw new Error(\"\" + hookName + ' only works in Client Components. Add the \"use client\" directive at the top of the file to use it. Read more: https://nextjs.org/docs/messages/react-client-hook-in-server-component');\n }\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=client-hook-in-server-component-error.js.map","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n ErrorBoundaryHandler: null,\n GlobalError: null,\n ErrorBoundary: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n ErrorBoundaryHandler: function() {\n return ErrorBoundaryHandler;\n },\n GlobalError: function() {\n return GlobalError;\n },\n ErrorBoundary: function() {\n return ErrorBoundary;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _react = /*#__PURE__*/ _interop_require_default._(require(\"react\"));\nconst _navigation = require(\"./navigation\");\n\nconst styles = {\n error: {\n // https://github.com/sindresorhus/modern-normalize/blob/main/modern-normalize.css#L38-L52\n fontFamily: 'system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"',\n height: \"100vh\",\n textAlign: \"center\",\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\",\n justifyContent: \"center\"\n },\n text: {\n fontSize: \"14px\",\n fontWeight: 400,\n lineHeight: \"28px\",\n margin: \"0 8px\"\n }\n};\nclass ErrorBoundaryHandler extends _react.default.Component {\n static getDerivedStateFromError(error) {\n return {\n error\n };\n }\n static getDerivedStateFromProps(props, state) {\n /**\n * Handles reset of the error boundary when a navigation happens.\n * Ensures the error boundary does not stay enabled when navigating to a new page.\n * Approach of setState in render is safe as it checks the previous pathname and then overrides\n * it as outlined in https://react.dev/reference/react/useState#storing-information-from-previous-renders\n */ if (props.pathname !== state.previousPathname && state.error) {\n return {\n error: null,\n previousPathname: props.pathname\n };\n }\n return {\n error: state.error,\n previousPathname: props.pathname\n };\n }\n render() {\n if (this.state.error) {\n return /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, this.props.errorStyles, /*#__PURE__*/ _react.default.createElement(this.props.errorComponent, {\n error: this.state.error,\n reset: this.reset\n }));\n }\n return this.props.children;\n }\n constructor(props){\n super(props);\n this.reset = ()=>{\n this.setState({\n error: null\n });\n };\n this.state = {\n error: null,\n previousPathname: this.props.pathname\n };\n }\n}\nfunction GlobalError(param) {\n let { error } = param;\n const digest = error == null ? void 0 : error.digest;\n return /*#__PURE__*/ _react.default.createElement(\"html\", {\n id: \"__next_error__\"\n }, /*#__PURE__*/ _react.default.createElement(\"head\", null), /*#__PURE__*/ _react.default.createElement(\"body\", null, /*#__PURE__*/ _react.default.createElement(\"div\", {\n style: styles.error\n }, /*#__PURE__*/ _react.default.createElement(\"div\", null, /*#__PURE__*/ _react.default.createElement(\"h2\", {\n style: styles.text\n }, \"Application error: a \" + (digest ? \"server\" : \"client\") + \"-side exception has occurred (see the \" + (digest ? \"server logs\" : \"browser console\") + \" for more information).\"), digest ? /*#__PURE__*/ _react.default.createElement(\"p\", {\n style: styles.text\n }, \"Digest: \" + digest) : null))));\n}\nfunction ErrorBoundary(param) {\n let { errorComponent , errorStyles , children } = param;\n const pathname = (0, _navigation.usePathname)();\n if (errorComponent) {\n return /*#__PURE__*/ _react.default.createElement(ErrorBoundaryHandler, {\n pathname: pathname,\n errorComponent: errorComponent,\n errorStyles: errorStyles\n }, children);\n }\n return /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, children);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=error-boundary.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n DYNAMIC_ERROR_CODE: null,\n DynamicServerError: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n DYNAMIC_ERROR_CODE: function() {\n return DYNAMIC_ERROR_CODE;\n },\n DynamicServerError: function() {\n return DynamicServerError;\n }\n});\nconst DYNAMIC_ERROR_CODE = \"DYNAMIC_SERVER_USAGE\";\nclass DynamicServerError extends Error {\n constructor(type){\n super(\"Dynamic server usage: \" + type);\n this.digest = DYNAMIC_ERROR_CODE;\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=hooks-server-context.js.map","/**\n * Used to cache in createInfinitePromise\n */ \"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"createInfinitePromise\", {\n enumerable: true,\n get: function() {\n return createInfinitePromise;\n }\n});\nlet infinitePromise;\nfunction createInfinitePromise() {\n if (!infinitePromise) {\n // Only create the Promise once\n infinitePromise = new Promise(()=>{\n // This is used to debug when the rendering is never updated.\n // setTimeout(() => {\n // infinitePromise = new Error('Infinite promise')\n // resolve()\n // }, 5000)\n });\n }\n return infinitePromise;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=infinite-promise.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"isNextRouterError\", {\n enumerable: true,\n get: function() {\n return isNextRouterError;\n }\n});\nconst _notfound = require(\"./not-found\");\nconst _redirect = require(\"./redirect\");\nfunction isNextRouterError(error) {\n return error && error.digest && ((0, _redirect.isRedirectError)(error) || (0, _notfound.isNotFoundError)(error));\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=is-next-router-error.js.map","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, /**\n * OuterLayoutRouter handles the current segment as well as rendering of other segments.\n * It can be rendered next to each other with a different `parallelRouterKey`, allowing for Parallel routes.\n */ \"default\", {\n enumerable: true,\n get: function() {\n return OuterLayoutRouter;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _interop_require_wildcard = require(\"@swc/helpers/_/_interop_require_wildcard\");\nconst _react = /*#__PURE__*/ _interop_require_wildcard._(require(\"react\"));\nconst _reactdom = /*#__PURE__*/ _interop_require_default._(require(\"react-dom\"));\nconst _approutercontext = require(\"../../shared/lib/app-router-context\");\nconst _fetchserverresponse = require(\"./router-reducer/fetch-server-response\");\nconst _infinitepromise = require(\"./infinite-promise\");\nconst _errorboundary = require(\"./error-boundary\");\nconst _matchsegments = require(\"./match-segments\");\nconst _handlesmoothscroll = require(\"../../shared/lib/router/utils/handle-smooth-scroll\");\nconst _redirectboundary = require(\"./redirect-boundary\");\nconst _notfoundboundary = require(\"./not-found-boundary\");\nconst _getsegmentvalue = require(\"./router-reducer/reducers/get-segment-value\");\nconst _createroutercachekey = require(\"./router-reducer/create-router-cache-key\");\n\n/**\n * Add refetch marker to router state at the point of the current layout segment.\n * This ensures the response returned is not further down than the current layout segment.\n */ function walkAddRefetch(segmentPathToWalk, treeToRecreate) {\n if (segmentPathToWalk) {\n const [segment, parallelRouteKey] = segmentPathToWalk;\n const isLast = segmentPathToWalk.length === 2;\n if ((0, _matchsegments.matchSegment)(treeToRecreate[0], segment)) {\n if (treeToRecreate[1].hasOwnProperty(parallelRouteKey)) {\n if (isLast) {\n const subTree = walkAddRefetch(undefined, treeToRecreate[1][parallelRouteKey]);\n return [\n treeToRecreate[0],\n {\n ...treeToRecreate[1],\n [parallelRouteKey]: [\n subTree[0],\n subTree[1],\n subTree[2],\n \"refetch\"\n ]\n }\n ];\n }\n return [\n treeToRecreate[0],\n {\n ...treeToRecreate[1],\n [parallelRouteKey]: walkAddRefetch(segmentPathToWalk.slice(2), treeToRecreate[1][parallelRouteKey])\n }\n ];\n }\n }\n }\n return treeToRecreate;\n}\n// TODO-APP: Replace with new React API for finding dom nodes without a `ref` when available\n/**\n * Wraps ReactDOM.findDOMNode with additional logic to hide React Strict Mode warning\n */ function findDOMNode(instance) {\n // Tree-shake for server bundle\n if (typeof window === \"undefined\") return null;\n // Only apply strict mode warning when not in production\n if (process.env.NODE_ENV !== \"production\") {\n const originalConsoleError = console.error;\n try {\n console.error = function() {\n for(var _len = arguments.length, messages = new Array(_len), _key = 0; _key < _len; _key++){\n messages[_key] = arguments[_key];\n }\n // Ignore strict mode warning for the findDomNode call below\n if (!messages[0].includes(\"Warning: %s is deprecated in StrictMode.\")) {\n originalConsoleError(...messages);\n }\n };\n return _reactdom.default.findDOMNode(instance);\n } finally{\n console.error = originalConsoleError;\n }\n }\n return _reactdom.default.findDOMNode(instance);\n}\nconst rectProperties = [\n \"bottom\",\n \"height\",\n \"left\",\n \"right\",\n \"top\",\n \"width\",\n \"x\",\n \"y\"\n];\n/**\n * Check if a HTMLElement is hidden.\n */ function elementCanScroll(element) {\n // Uses `getBoundingClientRect` to check if the element is hidden instead of `offsetParent`\n // because `offsetParent` doesn't consider document/body\n const rect = element.getBoundingClientRect();\n return rectProperties.every((item)=>rect[item] === 0);\n}\n/**\n * Check if the top corner of the HTMLElement is in the viewport.\n */ function topOfElementInViewport(element, viewportHeight) {\n const rect = element.getBoundingClientRect();\n return rect.top >= 0 && rect.top <= viewportHeight;\n}\n/**\n * Find the DOM node for a hash fragment.\n * If `top` the page has to scroll to the top of the page. This mirrors the browser's behavior.\n * If the hash fragment is an id, the page has to scroll to the element with that id.\n * If the hash fragment is a name, the page has to scroll to the first element with that name.\n */ function getHashFragmentDomNode(hashFragment) {\n // If the hash fragment is `top` the page has to scroll to the top of the page.\n if (hashFragment === \"top\") {\n return document.body;\n }\n var _document_getElementById;\n // If the hash fragment is an id, the page has to scroll to the element with that id.\n return (_document_getElementById = document.getElementById(hashFragment)) != null ? _document_getElementById : // If the hash fragment is a name, the page has to scroll to the first element with that name.\n document.getElementsByName(hashFragment)[0];\n}\nclass InnerScrollAndFocusHandler extends _react.default.Component {\n componentDidMount() {\n this.handlePotentialScroll();\n }\n componentDidUpdate() {\n // Because this property is overwritten in handlePotentialScroll it's fine to always run it when true as it'll be set to false for subsequent renders.\n if (this.props.focusAndScrollRef.apply) {\n this.handlePotentialScroll();\n }\n }\n render() {\n return this.props.children;\n }\n constructor(...args){\n super(...args);\n this.handlePotentialScroll = ()=>{\n // Handle scroll and focus, it's only applied once in the first useEffect that triggers that changed.\n const { focusAndScrollRef , segmentPath } = this.props;\n if (focusAndScrollRef.apply) {\n // segmentPaths is an array of segment paths that should be scrolled to\n // if the current segment path is not in the array, the scroll is not applied\n // unless the array is empty, in which case the scroll is always applied\n if (focusAndScrollRef.segmentPaths.length !== 0 && !focusAndScrollRef.segmentPaths.some((scrollRefSegmentPath)=>segmentPath.every((segment, index)=>(0, _matchsegments.matchSegment)(segment, scrollRefSegmentPath[index])))) {\n return;\n }\n let domNode = null;\n const hashFragment = focusAndScrollRef.hashFragment;\n if (hashFragment) {\n domNode = getHashFragmentDomNode(hashFragment);\n }\n // `findDOMNode` is tricky because it returns just the first child if the component is a fragment.\n // This already caused a bug where the first child was a in head.\n if (!domNode) {\n domNode = findDOMNode(this);\n }\n // TODO-APP: Handle the case where we couldn't select any DOM node, even higher up in the layout-router above the current segmentPath.\n // If there is no DOM node this layout-router level is skipped. It'll be handled higher-up in the tree.\n if (!(domNode instanceof Element)) {\n return;\n }\n // Verify if the element is a HTMLElement and if it's visible on screen (e.g. not display: none).\n // If the element is not a HTMLElement or not visible we try to select the next sibling and try again.\n while(!(domNode instanceof HTMLElement) || elementCanScroll(domNode)){\n // TODO-APP: Handle the case where we couldn't select any DOM node, even higher up in the layout-router above the current segmentPath.\n // No siblings found that are visible so we handle scroll higher up in the tree instead.\n if (domNode.nextElementSibling === null) {\n return;\n }\n domNode = domNode.nextElementSibling;\n }\n // State is mutated to ensure that the focus and scroll is applied only once.\n focusAndScrollRef.apply = false;\n focusAndScrollRef.hashFragment = null;\n focusAndScrollRef.segmentPaths = [];\n (0, _handlesmoothscroll.handleSmoothScroll)(()=>{\n // In case of hash scroll, we only need to scroll the element into view\n if (hashFragment) {\n domNode.scrollIntoView();\n return;\n }\n // Store the current viewport height because reading `clientHeight` causes a reflow,\n // and it won't change during this function.\n const htmlElement = document.documentElement;\n const viewportHeight = htmlElement.clientHeight;\n // If the element's top edge is already in the viewport, exit early.\n if (topOfElementInViewport(domNode, viewportHeight)) {\n return;\n }\n // Otherwise, try scrolling go the top of the document to be backward compatible with pages\n // scrollIntoView() called on `` element scrolls horizontally on chrome and firefox (that shouldn't happen)\n // We could use it to scroll horizontally following RTL but that also seems to be broken - it will always scroll left\n // scrollLeft = 0 also seems to ignore RTL and manually checking for RTL is too much hassle so we will scroll just vertically\n htmlElement.scrollTop = 0;\n // Scroll to domNode if domNode is not in viewport when scrolled to top of document\n if (!topOfElementInViewport(domNode, viewportHeight)) {\n domNode.scrollIntoView();\n }\n }, {\n // We will force layout by querying domNode position\n dontForceLayout: true\n });\n // Set focus on the element\n domNode.focus();\n }\n };\n }\n}\nfunction ScrollAndFocusHandler(param) {\n let { segmentPath , children } = param;\n const context = (0, _react.useContext)(_approutercontext.GlobalLayoutRouterContext);\n if (!context) {\n throw new Error(\"invariant global layout router not mounted\");\n }\n return /*#__PURE__*/ _react.default.createElement(InnerScrollAndFocusHandler, {\n segmentPath: segmentPath,\n focusAndScrollRef: context.focusAndScrollRef\n }, children);\n}\n/**\n * InnerLayoutRouter handles rendering the provided segment based on the cache.\n */ function InnerLayoutRouter(param) {\n let { parallelRouterKey , url , childNodes , childProp , segmentPath , tree , // TODO-APP: implement `` when available.\n // isActive,\n cacheKey } = param;\n const context = (0, _react.useContext)(_approutercontext.GlobalLayoutRouterContext);\n if (!context) {\n throw new Error(\"invariant global layout router not mounted\");\n }\n const { buildId , changeByServerResponse , tree: fullTree } = context;\n // Read segment path from the parallel router cache node.\n let childNode = childNodes.get(cacheKey);\n // If childProp is available this means it's the Flight / SSR case.\n if (childProp && // TODO-APP: verify if this can be null based on user code\n childProp.current !== null) {\n if (!childNode) {\n // Add the segment's subTreeData to the cache.\n // This writes to the cache when there is no item in the cache yet. It never *overwrites* existing cache items which is why it's safe in concurrent mode.\n childNode = {\n status: _approutercontext.CacheStates.READY,\n data: null,\n subTreeData: childProp.current,\n parallelRoutes: new Map()\n };\n childNodes.set(cacheKey, childNode);\n } else {\n if (childNode.status === _approutercontext.CacheStates.LAZY_INITIALIZED) {\n // @ts-expect-error we're changing it's type!\n childNode.status = _approutercontext.CacheStates.READY;\n // @ts-expect-error\n childNode.subTreeData = childProp.current;\n }\n }\n }\n // When childNode is not available during rendering client-side we need to fetch it from the server.\n if (!childNode || childNode.status === _approutercontext.CacheStates.LAZY_INITIALIZED) {\n /**\n * Router state with refetch marker added\n */ // TODO-APP: remove ''\n const refetchTree = walkAddRefetch([\n \"\",\n ...segmentPath\n ], fullTree);\n childNode = {\n status: _approutercontext.CacheStates.DATA_FETCH,\n data: (0, _fetchserverresponse.fetchServerResponse)(new URL(url, location.origin), refetchTree, context.nextUrl, buildId),\n subTreeData: null,\n head: childNode && childNode.status === _approutercontext.CacheStates.LAZY_INITIALIZED ? childNode.head : undefined,\n parallelRoutes: childNode && childNode.status === _approutercontext.CacheStates.LAZY_INITIALIZED ? childNode.parallelRoutes : new Map()\n };\n /**\n * Flight data fetch kicked off during render and put into the cache.\n */ childNodes.set(cacheKey, childNode);\n }\n // This case should never happen so it throws an error. It indicates there's a bug in the Next.js.\n if (!childNode) {\n throw new Error(\"Child node should always exist\");\n }\n // This case should never happen so it throws an error. It indicates there's a bug in the Next.js.\n if (childNode.subTreeData && childNode.data) {\n throw new Error(\"Child node should not have both subTreeData and data\");\n }\n // If cache node has a data request we have to unwrap response by `use` and update the cache.\n if (childNode.data) {\n /**\n * Flight response data\n */ // When the data has not resolved yet `use` will suspend here.\n const [flightData, overrideCanonicalUrl] = (0, _react.use)(childNode.data);\n // segmentPath from the server does not match the layout's segmentPath\n childNode.data = null;\n // setTimeout is used to start a new transition during render, this is an intentional hack around React.\n setTimeout(()=>{\n (0, _react.startTransition)(()=>{\n changeByServerResponse(fullTree, flightData, overrideCanonicalUrl);\n });\n });\n // Suspend infinitely as `changeByServerResponse` will cause a different part of the tree to be rendered.\n (0, _react.use)((0, _infinitepromise.createInfinitePromise)());\n }\n // If cache node has no subTreeData and no data request we have to infinitely suspend as the data will likely flow in from another place.\n // TODO-APP: double check users can't return null in a component that will kick in here.\n if (!childNode.subTreeData) {\n (0, _react.use)((0, _infinitepromise.createInfinitePromise)());\n }\n const subtree = // The layout router context narrows down tree and childNodes at each level.\n /*#__PURE__*/ _react.default.createElement(_approutercontext.LayoutRouterContext.Provider, {\n value: {\n tree: tree[1][parallelRouterKey],\n childNodes: childNode.parallelRoutes,\n // TODO-APP: overriding of url for parallel routes\n url: url\n }\n }, childNode.subTreeData);\n // Ensure root layout is not wrapped in a div as the root layout renders ``\n return subtree;\n}\n/**\n * Renders suspense boundary with the provided \"loading\" property as the fallback.\n * If no loading property is provided it renders the children without a suspense boundary.\n */ function LoadingBoundary(param) {\n let { children , loading , loadingStyles , hasLoading } = param;\n if (hasLoading) {\n return /*#__PURE__*/ _react.default.createElement(_react.Suspense, {\n fallback: /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, loadingStyles, loading)\n }, children);\n }\n return /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, children);\n}\nfunction OuterLayoutRouter(param) {\n let { parallelRouterKey , segmentPath , childProp , error , errorStyles , templateStyles , loading , loadingStyles , hasLoading , template , notFound , notFoundStyles , asNotFound , styles } = param;\n const context = (0, _react.useContext)(_approutercontext.LayoutRouterContext);\n if (!context) {\n throw new Error(\"invariant expected layout router to be mounted\");\n }\n const { childNodes , tree , url } = context;\n // Get the current parallelRouter cache node\n let childNodesForParallelRouter = childNodes.get(parallelRouterKey);\n // If the parallel router cache node does not exist yet, create it.\n // This writes to the cache when there is no item in the cache yet. It never *overwrites* existing cache items which is why it's safe in concurrent mode.\n if (!childNodesForParallelRouter) {\n childNodesForParallelRouter = new Map();\n childNodes.set(parallelRouterKey, childNodesForParallelRouter);\n }\n // Get the active segment in the tree\n // The reason arrays are used in the data format is that these are transferred from the server to the browser so it's optimized to save bytes.\n const treeSegment = tree[1][parallelRouterKey][0];\n const childPropSegment = childProp.segment;\n // If segment is an array it's a dynamic route and we want to read the dynamic route value as the segment to get from the cache.\n const currentChildSegmentValue = (0, _getsegmentvalue.getSegmentValue)(treeSegment);\n /**\n * Decides which segments to keep rendering, all segments that are not active will be wrapped in ``.\n */ // TODO-APP: Add handling of `` when it's available.\n const preservedSegments = [\n treeSegment\n ];\n return /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, styles, preservedSegments.map((preservedSegment)=>{\n const isChildPropSegment = (0, _matchsegments.matchSegment)(preservedSegment, childPropSegment);\n const preservedSegmentValue = (0, _getsegmentvalue.getSegmentValue)(preservedSegment);\n const cacheKey = (0, _createroutercachekey.createRouterCacheKey)(preservedSegment);\n return(/*\n - Error boundary\n - Only renders error boundary if error component is provided.\n - Rendered for each segment to ensure they have their own error state.\n - Loading boundary\n - Only renders suspense boundary if loading components is provided.\n - Rendered for each segment to ensure they have their own loading state.\n - Passed to the router during rendering to ensure it can be immediately rendered when suspending on a Flight fetch.\n */ /*#__PURE__*/ _react.default.createElement(_approutercontext.TemplateContext.Provider, {\n key: (0, _createroutercachekey.createRouterCacheKey)(preservedSegment, true),\n value: /*#__PURE__*/ _react.default.createElement(ScrollAndFocusHandler, {\n segmentPath: segmentPath\n }, /*#__PURE__*/ _react.default.createElement(_errorboundary.ErrorBoundary, {\n errorComponent: error,\n errorStyles: errorStyles\n }, /*#__PURE__*/ _react.default.createElement(LoadingBoundary, {\n hasLoading: hasLoading,\n loading: loading,\n loadingStyles: loadingStyles\n }, /*#__PURE__*/ _react.default.createElement(_notfoundboundary.NotFoundBoundary, {\n notFound: notFound,\n notFoundStyles: notFoundStyles,\n asNotFound: asNotFound\n }, /*#__PURE__*/ _react.default.createElement(_redirectboundary.RedirectBoundary, null, /*#__PURE__*/ _react.default.createElement(InnerLayoutRouter, {\n parallelRouterKey: parallelRouterKey,\n url: url,\n tree: tree,\n childNodes: childNodesForParallelRouter,\n childProp: isChildPropSegment ? childProp : null,\n segmentPath: segmentPath,\n cacheKey: cacheKey,\n isActive: currentChildSegmentValue === preservedSegmentValue\n }))))))\n }, templateStyles, template));\n }));\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=layout-router.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n matchSegment: null,\n canSegmentBeOverridden: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n matchSegment: function() {\n return matchSegment;\n },\n canSegmentBeOverridden: function() {\n return canSegmentBeOverridden;\n }\n});\nconst _getsegmentparam = require(\"../../server/app-render/get-segment-param\");\nconst matchSegment = (existingSegment, segment)=>{\n // segment is either Array or string\n if (typeof existingSegment === \"string\") {\n if (typeof segment === \"string\") {\n // Common case: segment is just a string\n return existingSegment === segment;\n }\n return false;\n }\n if (typeof segment === \"string\") {\n return false;\n }\n return existingSegment[0] === segment[0] && existingSegment[1] === segment[1];\n};\nconst canSegmentBeOverridden = (existingSegment, segment)=>{\n var _getSegmentParam;\n if (Array.isArray(existingSegment) || !Array.isArray(segment)) {\n return false;\n }\n return ((_getSegmentParam = (0, _getsegmentparam.getSegmentParam)(existingSegment)) == null ? void 0 : _getSegmentParam.param) === segment[0];\n};\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=match-segments.js.map","// useLayoutSegments() // Only the segments for the current place. ['children', 'dashboard', 'children', 'integrations'] -> /dashboard/integrations (/dashboard/layout.js would get ['children', 'dashboard', 'children', 'integrations'])\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n ReadonlyURLSearchParams: null,\n useSearchParams: null,\n usePathname: null,\n ServerInsertedHTMLContext: null,\n useServerInsertedHTML: null,\n useRouter: null,\n useParams: null,\n useSelectedLayoutSegments: null,\n useSelectedLayoutSegment: null,\n redirect: null,\n notFound: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n ReadonlyURLSearchParams: function() {\n return ReadonlyURLSearchParams;\n },\n useSearchParams: function() {\n return useSearchParams;\n },\n usePathname: function() {\n return usePathname;\n },\n ServerInsertedHTMLContext: function() {\n return _serverinsertedhtml.ServerInsertedHTMLContext;\n },\n useServerInsertedHTML: function() {\n return _serverinsertedhtml.useServerInsertedHTML;\n },\n useRouter: function() {\n return useRouter;\n },\n useParams: function() {\n return useParams;\n },\n useSelectedLayoutSegments: function() {\n return useSelectedLayoutSegments;\n },\n useSelectedLayoutSegment: function() {\n return useSelectedLayoutSegment;\n },\n redirect: function() {\n return _redirect.redirect;\n },\n notFound: function() {\n return _notfound.notFound;\n }\n});\nconst _react = require(\"react\");\nconst _approutercontext = require(\"../../shared/lib/app-router-context\");\nconst _hooksclientcontext = require(\"../../shared/lib/hooks-client-context\");\nconst _clienthookinservercomponenterror = require(\"./client-hook-in-server-component-error\");\nconst _getsegmentvalue = require(\"./router-reducer/reducers/get-segment-value\");\nconst _serverinsertedhtml = require(\"../../shared/lib/server-inserted-html\");\nconst _redirect = require(\"./redirect\");\nconst _notfound = require(\"./not-found\");\nconst INTERNAL_URLSEARCHPARAMS_INSTANCE = Symbol(\"internal for urlsearchparams readonly\");\nfunction readonlyURLSearchParamsError() {\n return new Error(\"ReadonlyURLSearchParams cannot be modified\");\n}\nclass ReadonlyURLSearchParams {\n [Symbol.iterator]() {\n return this[INTERNAL_URLSEARCHPARAMS_INSTANCE][Symbol.iterator]();\n }\n append() {\n throw readonlyURLSearchParamsError();\n }\n delete() {\n throw readonlyURLSearchParamsError();\n }\n set() {\n throw readonlyURLSearchParamsError();\n }\n sort() {\n throw readonlyURLSearchParamsError();\n }\n constructor(urlSearchParams){\n this[INTERNAL_URLSEARCHPARAMS_INSTANCE] = urlSearchParams;\n this.entries = urlSearchParams.entries.bind(urlSearchParams);\n this.forEach = urlSearchParams.forEach.bind(urlSearchParams);\n this.get = urlSearchParams.get.bind(urlSearchParams);\n this.getAll = urlSearchParams.getAll.bind(urlSearchParams);\n this.has = urlSearchParams.has.bind(urlSearchParams);\n this.keys = urlSearchParams.keys.bind(urlSearchParams);\n this.values = urlSearchParams.values.bind(urlSearchParams);\n this.toString = urlSearchParams.toString.bind(urlSearchParams);\n }\n}\nfunction useSearchParams() {\n (0, _clienthookinservercomponenterror.clientHookInServerComponentError)(\"useSearchParams\");\n const searchParams = (0, _react.useContext)(_hooksclientcontext.SearchParamsContext);\n // In the case where this is `null`, the compat types added in\n // `next-env.d.ts` will add a new overload that changes the return type to\n // include `null`.\n const readonlySearchParams = (0, _react.useMemo)(()=>{\n if (!searchParams) {\n // When the router is not ready in pages, we won't have the search params\n // available.\n return null;\n }\n return new ReadonlyURLSearchParams(searchParams);\n }, [\n searchParams\n ]);\n if (typeof window === \"undefined\") {\n // AsyncLocalStorage should not be included in the client bundle.\n const { bailoutToClientRendering } = require(\"./bailout-to-client-rendering\");\n if (bailoutToClientRendering()) {\n // TODO-APP: handle dynamic = 'force-static' here and on the client\n return readonlySearchParams;\n }\n }\n return readonlySearchParams;\n}\nfunction usePathname() {\n (0, _clienthookinservercomponenterror.clientHookInServerComponentError)(\"usePathname\");\n // In the case where this is `null`, the compat types added in `next-env.d.ts`\n // will add a new overload that changes the return type to include `null`.\n return (0, _react.useContext)(_hooksclientcontext.PathnameContext);\n}\nfunction useRouter() {\n (0, _clienthookinservercomponenterror.clientHookInServerComponentError)(\"useRouter\");\n const router = (0, _react.useContext)(_approutercontext.AppRouterContext);\n if (router === null) {\n throw new Error(\"invariant expected app router to be mounted\");\n }\n return router;\n}\n// this function performs a depth-first search of the tree to find the selected\n// params\nfunction getSelectedParams(tree, params) {\n if (params === void 0) params = {};\n const parallelRoutes = tree[1];\n for (const parallelRoute of Object.values(parallelRoutes)){\n const segment = parallelRoute[0];\n const isDynamicParameter = Array.isArray(segment);\n const segmentValue = isDynamicParameter ? segment[1] : segment;\n if (!segmentValue || segmentValue.startsWith(\"__PAGE__\")) continue;\n // Ensure catchAll and optional catchall are turned into an array\n const isCatchAll = isDynamicParameter && (segment[2] === \"c\" || segment[2] === \"oc\");\n if (isCatchAll) {\n params[segment[0]] = segment[1].split(\"/\");\n } else if (isDynamicParameter) {\n params[segment[0]] = segment[1];\n }\n params = getSelectedParams(parallelRoute, params);\n }\n return params;\n}\nfunction useParams() {\n (0, _clienthookinservercomponenterror.clientHookInServerComponentError)(\"useParams\");\n const globalLayoutRouterContext = (0, _react.useContext)(_approutercontext.GlobalLayoutRouterContext);\n if (!globalLayoutRouterContext) {\n // This only happens in `pages`. Type is overwritten in navigation.d.ts\n return null;\n }\n return getSelectedParams(globalLayoutRouterContext.tree);\n}\n// TODO-APP: handle parallel routes\n/**\n * Get the canonical parameters from the current level to the leaf node.\n */ function getSelectedLayoutSegmentPath(tree, parallelRouteKey, first, segmentPath) {\n if (first === void 0) first = true;\n if (segmentPath === void 0) segmentPath = [];\n let node;\n if (first) {\n // Use the provided parallel route key on the first parallel route\n node = tree[1][parallelRouteKey];\n } else {\n // After first parallel route prefer children, if there's no children pick the first parallel route.\n const parallelRoutes = tree[1];\n var _parallelRoutes_children;\n node = (_parallelRoutes_children = parallelRoutes.children) != null ? _parallelRoutes_children : Object.values(parallelRoutes)[0];\n }\n if (!node) return segmentPath;\n const segment = node[0];\n const segmentValue = (0, _getsegmentvalue.getSegmentValue)(segment);\n if (!segmentValue || segmentValue.startsWith(\"__PAGE__\")) return segmentPath;\n segmentPath.push(segmentValue);\n return getSelectedLayoutSegmentPath(node, parallelRouteKey, false, segmentPath);\n}\nfunction useSelectedLayoutSegments(parallelRouteKey) {\n if (parallelRouteKey === void 0) parallelRouteKey = \"children\";\n (0, _clienthookinservercomponenterror.clientHookInServerComponentError)(\"useSelectedLayoutSegments\");\n const { tree } = (0, _react.useContext)(_approutercontext.LayoutRouterContext);\n return getSelectedLayoutSegmentPath(tree, parallelRouteKey);\n}\nfunction useSelectedLayoutSegment(parallelRouteKey) {\n if (parallelRouteKey === void 0) parallelRouteKey = \"children\";\n (0, _clienthookinservercomponenterror.clientHookInServerComponentError)(\"useSelectedLayoutSegment\");\n const selectedLayoutSegments = useSelectedLayoutSegments(parallelRouteKey);\n if (selectedLayoutSegments.length === 0) {\n return null;\n }\n return selectedLayoutSegments[0];\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=navigation.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"NotFoundBoundary\", {\n enumerable: true,\n get: function() {\n return NotFoundBoundary;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _react = /*#__PURE__*/ _interop_require_default._(require(\"react\"));\nconst _navigation = require(\"./navigation\");\nclass NotFoundErrorBoundary extends _react.default.Component {\n static getDerivedStateFromError(error) {\n if ((error == null ? void 0 : error.digest) === \"NEXT_NOT_FOUND\") {\n return {\n notFoundTriggered: true\n };\n }\n // Re-throw if error is not for 404\n throw error;\n }\n static getDerivedStateFromProps(props, state) {\n /**\n * Handles reset of the error boundary when a navigation happens.\n * Ensures the error boundary does not stay enabled when navigating to a new page.\n * Approach of setState in render is safe as it checks the previous pathname and then overrides\n * it as outlined in https://react.dev/reference/react/useState#storing-information-from-previous-renders\n */ if (props.pathname !== state.previousPathname && state.notFoundTriggered) {\n return {\n notFoundTriggered: false,\n previousPathname: props.pathname\n };\n }\n return {\n notFoundTriggered: state.notFoundTriggered,\n previousPathname: props.pathname\n };\n }\n render() {\n if (this.state.notFoundTriggered) {\n return /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/ _react.default.createElement(\"meta\", {\n name: \"robots\",\n content: \"noindex\"\n }), this.props.notFoundStyles, this.props.notFound);\n }\n return this.props.children;\n }\n constructor(props){\n super(props);\n this.state = {\n notFoundTriggered: !!props.asNotFound,\n previousPathname: props.pathname\n };\n }\n}\nfunction NotFoundBoundary(param) {\n let { notFound , notFoundStyles , asNotFound , children } = param;\n const pathname = (0, _navigation.usePathname)();\n return notFound ? /*#__PURE__*/ _react.default.createElement(NotFoundErrorBoundary, {\n pathname: pathname,\n notFound: notFound,\n notFoundStyles: notFoundStyles,\n asNotFound: asNotFound\n }, children) : /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, children);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=not-found-boundary.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n notFound: null,\n isNotFoundError: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n notFound: function() {\n return notFound;\n },\n isNotFoundError: function() {\n return isNotFoundError;\n }\n});\nconst NOT_FOUND_ERROR_CODE = \"NEXT_NOT_FOUND\";\nfunction notFound() {\n // eslint-disable-next-line no-throw-literal\n const error = new Error(NOT_FOUND_ERROR_CODE);\n error.digest = NOT_FOUND_ERROR_CODE;\n throw error;\n}\nfunction isNotFoundError(error) {\n return (error == null ? void 0 : error.digest) === NOT_FOUND_ERROR_CODE;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=not-found.js.map","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n RedirectErrorBoundary: null,\n RedirectBoundary: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n RedirectErrorBoundary: function() {\n return RedirectErrorBoundary;\n },\n RedirectBoundary: function() {\n return RedirectBoundary;\n }\n});\nconst _interop_require_wildcard = require(\"@swc/helpers/_/_interop_require_wildcard\");\nconst _react = /*#__PURE__*/ _interop_require_wildcard._(require(\"react\"));\nconst _navigation = require(\"./navigation\");\nconst _redirect = require(\"./redirect\");\n\nfunction HandleRedirect(param) {\n let { redirect , reset , redirectType } = param;\n const router = (0, _navigation.useRouter)();\n (0, _react.useEffect)(()=>{\n // @ts-ignore startTransition exists\n _react.default.startTransition(()=>{\n if (redirectType === _redirect.RedirectType.push) {\n router.push(redirect, {});\n } else {\n router.replace(redirect, {});\n }\n reset();\n });\n }, [\n redirect,\n redirectType,\n reset,\n router\n ]);\n return null;\n}\nclass RedirectErrorBoundary extends _react.default.Component {\n static getDerivedStateFromError(error) {\n if ((0, _redirect.isRedirectError)(error)) {\n const url = (0, _redirect.getURLFromRedirectError)(error);\n const redirectType = (0, _redirect.getRedirectTypeFromError)(error);\n return {\n redirect: url,\n redirectType\n };\n }\n // Re-throw if error is not for redirect\n throw error;\n }\n render() {\n const { redirect , redirectType } = this.state;\n if (redirect !== null && redirectType !== null) {\n return /*#__PURE__*/ _react.default.createElement(HandleRedirect, {\n redirect: redirect,\n redirectType: redirectType,\n reset: ()=>this.setState({\n redirect: null\n })\n });\n }\n return this.props.children;\n }\n constructor(props){\n super(props);\n this.state = {\n redirect: null,\n redirectType: null\n };\n }\n}\nfunction RedirectBoundary(param) {\n let { children } = param;\n const router = (0, _navigation.useRouter)();\n return /*#__PURE__*/ _react.default.createElement(RedirectErrorBoundary, {\n router: router\n }, children);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=redirect-boundary.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n RedirectType: null,\n getRedirectError: null,\n redirect: null,\n isRedirectError: null,\n getURLFromRedirectError: null,\n getRedirectTypeFromError: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n RedirectType: function() {\n return RedirectType;\n },\n getRedirectError: function() {\n return getRedirectError;\n },\n redirect: function() {\n return redirect;\n },\n isRedirectError: function() {\n return isRedirectError;\n },\n getURLFromRedirectError: function() {\n return getURLFromRedirectError;\n },\n getRedirectTypeFromError: function() {\n return getRedirectTypeFromError;\n }\n});\nconst _requestasyncstorage = require(\"./request-async-storage\");\nconst REDIRECT_ERROR_CODE = \"NEXT_REDIRECT\";\nvar RedirectType;\n(function(RedirectType) {\n RedirectType[\"push\"] = \"push\";\n RedirectType[\"replace\"] = \"replace\";\n})(RedirectType || (RedirectType = {}));\nfunction getRedirectError(url, type) {\n const error = new Error(REDIRECT_ERROR_CODE);\n error.digest = REDIRECT_ERROR_CODE + \";\" + type + \";\" + url;\n const requestStore = _requestasyncstorage.requestAsyncStorage.getStore();\n if (requestStore) {\n error.mutableCookies = requestStore.mutableCookies;\n }\n return error;\n}\nfunction redirect(url, type) {\n if (type === void 0) type = \"replace\";\n throw getRedirectError(url, type);\n}\nfunction isRedirectError(error) {\n if (typeof (error == null ? void 0 : error.digest) !== \"string\") return false;\n const [errorCode, type, destination] = error.digest.split(\";\", 3);\n return errorCode === REDIRECT_ERROR_CODE && (type === \"replace\" || type === \"push\") && typeof destination === \"string\";\n}\nfunction getURLFromRedirectError(error) {\n if (!isRedirectError(error)) return null;\n // Slices off the beginning of the digest that contains the code and the\n // separating ';'.\n return error.digest.split(\";\", 3)[2];\n}\nfunction getRedirectTypeFromError(error) {\n if (!isRedirectError(error)) {\n throw new Error(\"Not a redirect error\");\n }\n return error.digest.split(\";\", 3)[1];\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=redirect.js.map","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return RenderFromTemplateContext;\n }\n});\nconst _interop_require_wildcard = require(\"@swc/helpers/_/_interop_require_wildcard\");\nconst _react = /*#__PURE__*/ _interop_require_wildcard._(require(\"react\"));\nconst _approutercontext = require(\"../../shared/lib/app-router-context\");\n\nfunction RenderFromTemplateContext() {\n const children = (0, _react.useContext)(_approutercontext.TemplateContext);\n return /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, children);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=render-from-template-context.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"applyFlightData\", {\n enumerable: true,\n get: function() {\n return applyFlightData;\n }\n});\nconst _approutercontext = require(\"../../../shared/lib/app-router-context\");\nconst _filllazyitemstillleafwithhead = require(\"./fill-lazy-items-till-leaf-with-head\");\nconst _fillcachewithnewsubtreedata = require(\"./fill-cache-with-new-subtree-data\");\nfunction applyFlightData(existingCache, cache, flightDataPath, wasPrefetched) {\n if (wasPrefetched === void 0) wasPrefetched = false;\n // The one before last item is the router state tree patch\n const [treePatch, subTreeData, head] = flightDataPath.slice(-3);\n // Handles case where prefetch only returns the router tree patch without rendered components.\n if (subTreeData === null) {\n return false;\n }\n if (flightDataPath.length === 3) {\n cache.status = _approutercontext.CacheStates.READY;\n cache.subTreeData = subTreeData;\n (0, _filllazyitemstillleafwithhead.fillLazyItemsTillLeafWithHead)(cache, existingCache, treePatch, head, wasPrefetched);\n } else {\n // Copy subTreeData for the root node of the cache.\n cache.status = _approutercontext.CacheStates.READY;\n cache.subTreeData = existingCache.subTreeData;\n cache.parallelRoutes = new Map(existingCache.parallelRoutes);\n // Create a copy of the existing cache with the subTreeData applied.\n (0, _fillcachewithnewsubtreedata.fillCacheWithNewSubTreeData)(cache, existingCache, flightDataPath, wasPrefetched);\n }\n return true;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=apply-flight-data.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"applyRouterStatePatchToTree\", {\n enumerable: true,\n get: function() {\n return applyRouterStatePatchToTree;\n }\n});\nconst _matchsegments = require(\"../match-segments\");\n/**\n * Deep merge of the two router states. Parallel route keys are preserved if the patch doesn't have them.\n */ function applyPatch(initialTree, patchTree) {\n const [initialSegment, initialParallelRoutes] = initialTree;\n const [patchSegment, patchParallelRoutes] = patchTree;\n // if the applied patch segment is __DEFAULT__ then we can ignore it and return the initial tree\n // this is because the __DEFAULT__ segment is used as a placeholder on navigation\n if (patchSegment === \"__DEFAULT__\" && initialSegment !== \"__DEFAULT__\") {\n return initialTree;\n }\n if ((0, _matchsegments.matchSegment)(initialSegment, patchSegment)) {\n const newParallelRoutes = {};\n for(const key in initialParallelRoutes){\n const isInPatchTreeParallelRoutes = typeof patchParallelRoutes[key] !== \"undefined\";\n if (isInPatchTreeParallelRoutes) {\n newParallelRoutes[key] = applyPatch(initialParallelRoutes[key], patchParallelRoutes[key]);\n } else {\n newParallelRoutes[key] = initialParallelRoutes[key];\n }\n }\n for(const key in patchParallelRoutes){\n if (newParallelRoutes[key]) {\n continue;\n }\n newParallelRoutes[key] = patchParallelRoutes[key];\n }\n const tree = [\n initialSegment,\n newParallelRoutes\n ];\n if (initialTree[2]) {\n tree[2] = initialTree[2];\n }\n if (initialTree[3]) {\n tree[3] = initialTree[3];\n }\n if (initialTree[4]) {\n tree[4] = initialTree[4];\n }\n return tree;\n }\n return patchTree;\n}\nfunction applyRouterStatePatchToTree(flightSegmentPath, flightRouterState, treePatch) {\n const [segment, parallelRoutes, , , isRootLayout] = flightRouterState;\n // Root refresh\n if (flightSegmentPath.length === 1) {\n const tree = applyPatch(flightRouterState, treePatch);\n return tree;\n }\n const [currentSegment, parallelRouteKey] = flightSegmentPath;\n // Tree path returned from the server should always match up with the current tree in the browser\n if (!(0, _matchsegments.matchSegment)(currentSegment, segment)) {\n return null;\n }\n const lastSegment = flightSegmentPath.length === 2;\n let parallelRoutePatch;\n if (lastSegment) {\n parallelRoutePatch = applyPatch(parallelRoutes[parallelRouteKey], treePatch);\n } else {\n parallelRoutePatch = applyRouterStatePatchToTree(flightSegmentPath.slice(2), parallelRoutes[parallelRouteKey], treePatch);\n if (parallelRoutePatch === null) {\n return null;\n }\n }\n const tree = [\n flightSegmentPath[0],\n {\n ...parallelRoutes,\n [parallelRouteKey]: parallelRoutePatch\n }\n ];\n // Current segment is the root layout\n if (isRootLayout) {\n tree[4] = true;\n }\n return tree;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=apply-router-state-patch-to-tree.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n extractPathFromFlightRouterState: null,\n computeChangedPath: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n extractPathFromFlightRouterState: function() {\n return extractPathFromFlightRouterState;\n },\n computeChangedPath: function() {\n return computeChangedPath;\n }\n});\nconst _interceptionroutes = require(\"../../../server/future/helpers/interception-routes\");\nconst _matchsegments = require(\"../match-segments\");\nconst segmentToPathname = (segment)=>{\n if (typeof segment === \"string\") {\n return segment;\n }\n return segment[1];\n};\nfunction normalizePathname(pathname) {\n return pathname.split(\"/\").reduce((acc, segment)=>{\n if (segment === \"\" || segment.startsWith(\"(\") && segment.endsWith(\")\")) {\n return acc;\n }\n return acc + \"/\" + segment;\n }, \"\") || \"/\";\n}\nfunction extractPathFromFlightRouterState(flightRouterState) {\n const segment = Array.isArray(flightRouterState[0]) ? flightRouterState[0][1] : flightRouterState[0];\n if (segment === \"__DEFAULT__\" || _interceptionroutes.INTERCEPTION_ROUTE_MARKERS.some((m)=>segment.startsWith(m))) return undefined;\n if (segment.startsWith(\"__PAGE__\")) return \"\";\n const path = [\n segment\n ];\n var _flightRouterState_;\n const parallelRoutes = (_flightRouterState_ = flightRouterState[1]) != null ? _flightRouterState_ : {};\n const childrenPath = parallelRoutes.children ? extractPathFromFlightRouterState(parallelRoutes.children) : undefined;\n if (childrenPath !== undefined) {\n path.push(childrenPath);\n } else {\n for (const [key, value] of Object.entries(parallelRoutes)){\n if (key === \"children\") continue;\n const childPath = extractPathFromFlightRouterState(value);\n if (childPath !== undefined) {\n path.push(childPath);\n }\n }\n }\n // TODO-APP: optimise this, it's not ideal to join and split\n return normalizePathname(path.join(\"/\"));\n}\nfunction computeChangedPathImpl(treeA, treeB) {\n const [segmentA, parallelRoutesA] = treeA;\n const [segmentB, parallelRoutesB] = treeB;\n const normalizedSegmentA = segmentToPathname(segmentA);\n const normalizedSegmentB = segmentToPathname(segmentB);\n if (_interceptionroutes.INTERCEPTION_ROUTE_MARKERS.some((m)=>normalizedSegmentA.startsWith(m) || normalizedSegmentB.startsWith(m))) {\n return \"\";\n }\n if (!(0, _matchsegments.matchSegment)(segmentA, segmentB)) {\n var _extractPathFromFlightRouterState;\n // once we find where the tree changed, we compute the rest of the path by traversing the tree\n return (_extractPathFromFlightRouterState = extractPathFromFlightRouterState(treeB)) != null ? _extractPathFromFlightRouterState : \"\";\n }\n for(const parallelRouterKey in parallelRoutesA){\n if (parallelRoutesB[parallelRouterKey]) {\n const changedPath = computeChangedPathImpl(parallelRoutesA[parallelRouterKey], parallelRoutesB[parallelRouterKey]);\n if (changedPath !== null) {\n return segmentToPathname(segmentB) + \"/\" + changedPath;\n }\n }\n }\n return null;\n}\nfunction computeChangedPath(treeA, treeB) {\n const changedPath = computeChangedPathImpl(treeA, treeB);\n if (changedPath == null || changedPath === \"/\") {\n return changedPath;\n }\n // lightweight normalization to remove route groups\n return normalizePathname(changedPath);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=compute-changed-path.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"createHrefFromUrl\", {\n enumerable: true,\n get: function() {\n return createHrefFromUrl;\n }\n});\nfunction createHrefFromUrl(url, includeHash) {\n if (includeHash === void 0) includeHash = true;\n return url.pathname + url.search + (includeHash ? url.hash : \"\");\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=create-href-from-url.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"createInitialRouterState\", {\n enumerable: true,\n get: function() {\n return createInitialRouterState;\n }\n});\nconst _approutercontext = require(\"../../../shared/lib/app-router-context\");\nconst _createhreffromurl = require(\"./create-href-from-url\");\nconst _filllazyitemstillleafwithhead = require(\"./fill-lazy-items-till-leaf-with-head\");\nconst _computechangedpath = require(\"./compute-changed-path\");\nfunction createInitialRouterState(param) {\n let { buildId , initialTree , children , initialCanonicalUrl , initialParallelRoutes , isServer , location , initialHead } = param;\n const cache = {\n status: _approutercontext.CacheStates.READY,\n data: null,\n subTreeData: children,\n // The cache gets seeded during the first render. `initialParallelRoutes` ensures the cache from the first render is there during the second render.\n parallelRoutes: isServer ? new Map() : initialParallelRoutes\n };\n // When the cache hasn't been seeded yet we fill the cache with the head.\n if (initialParallelRoutes === null || initialParallelRoutes.size === 0) {\n (0, _filllazyitemstillleafwithhead.fillLazyItemsTillLeafWithHead)(cache, undefined, initialTree, initialHead);\n }\n var // the || operator is intentional, the pathname can be an empty string\n _ref;\n return {\n buildId,\n tree: initialTree,\n cache,\n prefetchCache: new Map(),\n pushRef: {\n pendingPush: false,\n mpaNavigation: false\n },\n focusAndScrollRef: {\n apply: false,\n hashFragment: null,\n segmentPaths: []\n },\n canonicalUrl: // location.href is read as the initial value for canonicalUrl in the browser\n // This is safe to do as canonicalUrl can't be rendered, it's only used to control the history updates in the useEffect further down in this file.\n location ? (0, _createhreffromurl.createHrefFromUrl)(location) : initialCanonicalUrl,\n nextUrl: (_ref = (0, _computechangedpath.extractPathFromFlightRouterState)(initialTree) || (location == null ? void 0 : location.pathname)) != null ? _ref : null\n };\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=create-initial-router-state.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"createOptimisticTree\", {\n enumerable: true,\n get: function() {\n return createOptimisticTree;\n }\n});\nconst _matchsegments = require(\"../match-segments\");\nfunction createOptimisticTree(segments, flightRouterState, parentRefetch) {\n const [existingSegment, existingParallelRoutes, url, refresh, isRootLayout] = flightRouterState || [\n null,\n {}\n ];\n const segment = segments[0];\n const isLastSegment = segments.length === 1;\n const segmentMatches = existingSegment !== null && (0, _matchsegments.matchSegment)(existingSegment, segment);\n // if there are multiple parallel routes at this level, we need to refetch here\n // to ensure we get the correct tree. This is because we don't know which\n // parallel route will match the next segment.\n const hasMultipleParallelRoutes = Object.keys(existingParallelRoutes).length > 1;\n const shouldRefetchThisLevel = !flightRouterState || !segmentMatches || hasMultipleParallelRoutes;\n let parallelRoutes = {};\n if (existingSegment !== null && segmentMatches) {\n parallelRoutes = existingParallelRoutes;\n }\n let childTree;\n // if there's multiple parallel routes at this level, we shouldn't create an\n // optimistic tree for the next level because we don't know which one will\n // match the next segment.\n if (!isLastSegment && !hasMultipleParallelRoutes) {\n const childItem = createOptimisticTree(segments.slice(1), parallelRoutes ? parallelRoutes.children : null, parentRefetch || shouldRefetchThisLevel);\n childTree = childItem;\n }\n const result = [\n segment,\n {\n ...parallelRoutes,\n ...childTree ? {\n children: childTree\n } : {}\n }\n ];\n if (url) {\n result[2] = url;\n }\n if (!parentRefetch && shouldRefetchThisLevel) {\n result[3] = \"refetch\";\n } else if (segmentMatches && refresh) {\n result[3] = refresh;\n }\n if (segmentMatches && isRootLayout) {\n result[4] = isRootLayout;\n }\n return result;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=create-optimistic-tree.js.map","/**\n * Create data fetching record for Promise.\n */ // TODO-APP: change `any` to type inference.\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"createRecordFromThenable\", {\n enumerable: true,\n get: function() {\n return createRecordFromThenable;\n }\n});\nfunction createRecordFromThenable(thenable) {\n thenable.status = \"pending\";\n thenable.then((value)=>{\n if (thenable.status === \"pending\") {\n thenable.status = \"fulfilled\";\n thenable.value = value;\n }\n }, (err)=>{\n if (thenable.status === \"pending\") {\n thenable.status = \"rejected\";\n thenable.value = err;\n }\n });\n return thenable;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=create-record-from-thenable.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"createRouterCacheKey\", {\n enumerable: true,\n get: function() {\n return createRouterCacheKey;\n }\n});\nfunction createRouterCacheKey(segment, withoutSearchParameters) {\n if (withoutSearchParameters === void 0) withoutSearchParameters = false;\n return Array.isArray(segment) ? segment[0] + \"|\" + segment[1] + \"|\" + segment[2] : withoutSearchParameters && segment.startsWith(\"__PAGE__\") ? \"__PAGE__\" : segment;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=create-router-cache-key.js.map","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"fetchServerResponse\", {\n enumerable: true,\n get: function() {\n return fetchServerResponse;\n }\n});\nconst _client = require(\"react-server-dom-webpack/client\");\nconst _approuterheaders = require(\"../app-router-headers\");\nconst _approuter = require(\"../app-router\");\nconst _appcallserver = require(\"../../app-call-server\");\nconst _routerreducertypes = require(\"./router-reducer-types\");\nconst _hash = require(\"../../../shared/lib/hash\");\n\nfunction doMpaNavigation(url) {\n return [\n (0, _approuter.urlToUrlWithoutFlightMarker)(url).toString(),\n undefined\n ];\n}\nasync function fetchServerResponse(url, flightRouterState, nextUrl, currentBuildId, prefetchKind) {\n const headers = {\n // Enable flight response\n [_approuterheaders.RSC]: \"1\",\n // Provide the current router state\n [_approuterheaders.NEXT_ROUTER_STATE_TREE]: encodeURIComponent(JSON.stringify(flightRouterState))\n };\n /**\n * Three cases:\n * - `prefetchKind` is `undefined`, it means it's a normal navigation, so we want to prefetch the page data fully\n * - `prefetchKind` is `full` - we want to prefetch the whole page so same as above\n * - `prefetchKind` is `auto` - if the page is dynamic, prefetch the page data partially, if static prefetch the page data fully\n */ if (prefetchKind === _routerreducertypes.PrefetchKind.AUTO) {\n headers[_approuterheaders.NEXT_ROUTER_PREFETCH] = \"1\";\n }\n if (nextUrl) {\n headers[_approuterheaders.NEXT_URL] = nextUrl;\n }\n const uniqueCacheQuery = (0, _hash.hexHash)([\n headers[_approuterheaders.NEXT_ROUTER_PREFETCH] || \"0\",\n headers[_approuterheaders.NEXT_ROUTER_STATE_TREE]\n ].join(\",\"));\n try {\n let fetchUrl = new URL(url);\n if (process.env.NODE_ENV === \"production\") {\n if (process.env.__NEXT_CONFIG_OUTPUT === \"export\") {\n if (fetchUrl.pathname.endsWith(\"/\")) {\n fetchUrl.pathname += \"index.txt\";\n } else {\n fetchUrl.pathname += \".txt\";\n }\n }\n }\n // Add unique cache query to avoid caching conflicts on CDN which don't respect to Vary header\n fetchUrl.searchParams.set(_approuterheaders.NEXT_RSC_UNION_QUERY, uniqueCacheQuery);\n const res = await fetch(fetchUrl, {\n // Backwards compat for older browsers. `same-origin` is the default in modern browsers.\n credentials: \"same-origin\",\n headers\n });\n const responseUrl = (0, _approuter.urlToUrlWithoutFlightMarker)(res.url);\n const canonicalUrl = res.redirected ? responseUrl : undefined;\n const contentType = res.headers.get(\"content-type\") || \"\";\n let isFlightResponse = contentType === _approuterheaders.RSC_CONTENT_TYPE_HEADER;\n if (process.env.NODE_ENV === \"production\") {\n if (process.env.__NEXT_CONFIG_OUTPUT === \"export\") {\n if (!isFlightResponse) {\n isFlightResponse = contentType.startsWith(\"text/plain\");\n }\n }\n }\n // If fetch returns something different than flight response handle it like a mpa navigation\n // If the fetch was not 200, we also handle it like a mpa navigation\n if (!isFlightResponse || !res.ok) {\n return doMpaNavigation(responseUrl.toString());\n }\n // Handle the `fetch` readable stream that can be unwrapped by `React.use`.\n const [buildId, flightData] = await (0, _client.createFromFetch)(Promise.resolve(res), {\n callServer: _appcallserver.callServer\n });\n if (currentBuildId !== buildId) {\n return doMpaNavigation(res.url);\n }\n return [\n flightData,\n canonicalUrl\n ];\n } catch (err) {\n console.error(\"Failed to fetch RSC payload. Falling back to browser navigation.\", err);\n // If fetch fails handle it like a mpa navigation\n // TODO-APP: Add a test for the case where a CORS request fails, e.g. external url redirect coming from the response.\n // See https://github.com/vercel/next.js/issues/43605#issuecomment-1451617521 for a reproduction.\n return [\n url.toString(),\n undefined\n ];\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=fetch-server-response.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"fillCacheWithDataProperty\", {\n enumerable: true,\n get: function() {\n return fillCacheWithDataProperty;\n }\n});\nconst _approutercontext = require(\"../../../shared/lib/app-router-context\");\nconst _createroutercachekey = require(\"./create-router-cache-key\");\nfunction fillCacheWithDataProperty(newCache, existingCache, flightSegmentPath, fetchResponse, bailOnParallelRoutes) {\n if (bailOnParallelRoutes === void 0) bailOnParallelRoutes = false;\n const isLastEntry = flightSegmentPath.length <= 2;\n const [parallelRouteKey, segment] = flightSegmentPath;\n const cacheKey = (0, _createroutercachekey.createRouterCacheKey)(segment);\n const existingChildSegmentMap = existingCache.parallelRoutes.get(parallelRouteKey);\n if (!existingChildSegmentMap || bailOnParallelRoutes && existingCache.parallelRoutes.size > 1) {\n // Bailout because the existing cache does not have the path to the leaf node\n // or the existing cache has multiple parallel routes\n // Will trigger lazy fetch in layout-router because of missing segment\n return {\n bailOptimistic: true\n };\n }\n let childSegmentMap = newCache.parallelRoutes.get(parallelRouteKey);\n if (!childSegmentMap || childSegmentMap === existingChildSegmentMap) {\n childSegmentMap = new Map(existingChildSegmentMap);\n newCache.parallelRoutes.set(parallelRouteKey, childSegmentMap);\n }\n const existingChildCacheNode = existingChildSegmentMap.get(cacheKey);\n let childCacheNode = childSegmentMap.get(cacheKey);\n // In case of last segment start off the fetch at this level and don't copy further down.\n if (isLastEntry) {\n if (!childCacheNode || !childCacheNode.data || childCacheNode === existingChildCacheNode) {\n childSegmentMap.set(cacheKey, {\n status: _approutercontext.CacheStates.DATA_FETCH,\n data: fetchResponse(),\n subTreeData: null,\n parallelRoutes: new Map()\n });\n }\n return;\n }\n if (!childCacheNode || !existingChildCacheNode) {\n // Start fetch in the place where the existing cache doesn't have the data yet.\n if (!childCacheNode) {\n childSegmentMap.set(cacheKey, {\n status: _approutercontext.CacheStates.DATA_FETCH,\n data: fetchResponse(),\n subTreeData: null,\n parallelRoutes: new Map()\n });\n }\n return;\n }\n if (childCacheNode === existingChildCacheNode) {\n childCacheNode = {\n status: childCacheNode.status,\n data: childCacheNode.data,\n subTreeData: childCacheNode.subTreeData,\n parallelRoutes: new Map(childCacheNode.parallelRoutes)\n };\n childSegmentMap.set(cacheKey, childCacheNode);\n }\n return fillCacheWithDataProperty(childCacheNode, existingChildCacheNode, flightSegmentPath.slice(2), fetchResponse);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=fill-cache-with-data-property.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"fillCacheWithNewSubTreeData\", {\n enumerable: true,\n get: function() {\n return fillCacheWithNewSubTreeData;\n }\n});\nconst _approutercontext = require(\"../../../shared/lib/app-router-context\");\nconst _invalidatecachebyrouterstate = require(\"./invalidate-cache-by-router-state\");\nconst _filllazyitemstillleafwithhead = require(\"./fill-lazy-items-till-leaf-with-head\");\nconst _createroutercachekey = require(\"./create-router-cache-key\");\nfunction fillCacheWithNewSubTreeData(newCache, existingCache, flightDataPath, wasPrefetched) {\n const isLastEntry = flightDataPath.length <= 5;\n const [parallelRouteKey, segment] = flightDataPath;\n const cacheKey = (0, _createroutercachekey.createRouterCacheKey)(segment);\n const existingChildSegmentMap = existingCache.parallelRoutes.get(parallelRouteKey);\n if (!existingChildSegmentMap) {\n // Bailout because the existing cache does not have the path to the leaf node\n // Will trigger lazy fetch in layout-router because of missing segment\n return;\n }\n let childSegmentMap = newCache.parallelRoutes.get(parallelRouteKey);\n if (!childSegmentMap || childSegmentMap === existingChildSegmentMap) {\n childSegmentMap = new Map(existingChildSegmentMap);\n newCache.parallelRoutes.set(parallelRouteKey, childSegmentMap);\n }\n const existingChildCacheNode = existingChildSegmentMap.get(cacheKey);\n let childCacheNode = childSegmentMap.get(cacheKey);\n if (isLastEntry) {\n if (!childCacheNode || !childCacheNode.data || childCacheNode === existingChildCacheNode) {\n childCacheNode = {\n status: _approutercontext.CacheStates.READY,\n data: null,\n subTreeData: flightDataPath[3],\n // Ensure segments other than the one we got data for are preserved.\n parallelRoutes: existingChildCacheNode ? new Map(existingChildCacheNode.parallelRoutes) : new Map()\n };\n if (existingChildCacheNode) {\n (0, _invalidatecachebyrouterstate.invalidateCacheByRouterState)(childCacheNode, existingChildCacheNode, flightDataPath[2]);\n }\n (0, _filllazyitemstillleafwithhead.fillLazyItemsTillLeafWithHead)(childCacheNode, existingChildCacheNode, flightDataPath[2], flightDataPath[4], wasPrefetched);\n childSegmentMap.set(cacheKey, childCacheNode);\n }\n return;\n }\n if (!childCacheNode || !existingChildCacheNode) {\n // Bailout because the existing cache does not have the path to the leaf node\n // Will trigger lazy fetch in layout-router because of missing segment\n return;\n }\n if (childCacheNode === existingChildCacheNode) {\n childCacheNode = {\n status: childCacheNode.status,\n data: childCacheNode.data,\n subTreeData: childCacheNode.subTreeData,\n parallelRoutes: new Map(childCacheNode.parallelRoutes)\n };\n childSegmentMap.set(cacheKey, childCacheNode);\n }\n fillCacheWithNewSubTreeData(childCacheNode, existingChildCacheNode, flightDataPath.slice(2), wasPrefetched);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=fill-cache-with-new-subtree-data.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"fillLazyItemsTillLeafWithHead\", {\n enumerable: true,\n get: function() {\n return fillLazyItemsTillLeafWithHead;\n }\n});\nconst _approutercontext = require(\"../../../shared/lib/app-router-context\");\nconst _createroutercachekey = require(\"./create-router-cache-key\");\nfunction fillLazyItemsTillLeafWithHead(newCache, existingCache, routerState, head, wasPrefetched) {\n const isLastSegment = Object.keys(routerState[1]).length === 0;\n if (isLastSegment) {\n newCache.head = head;\n return;\n }\n // Remove segment that we got data for so that it is filled in during rendering of subTreeData.\n for(const key in routerState[1]){\n const parallelRouteState = routerState[1][key];\n const segmentForParallelRoute = parallelRouteState[0];\n const cacheKey = (0, _createroutercachekey.createRouterCacheKey)(segmentForParallelRoute);\n if (existingCache) {\n const existingParallelRoutesCacheNode = existingCache.parallelRoutes.get(key);\n if (existingParallelRoutesCacheNode) {\n let parallelRouteCacheNode = new Map(existingParallelRoutesCacheNode);\n const existingCacheNode = parallelRouteCacheNode.get(cacheKey);\n const newCacheNode = wasPrefetched && existingCacheNode ? {\n status: existingCacheNode.status,\n data: existingCacheNode.data,\n subTreeData: existingCacheNode.subTreeData,\n parallelRoutes: new Map(existingCacheNode.parallelRoutes)\n } : {\n status: _approutercontext.CacheStates.LAZY_INITIALIZED,\n data: null,\n subTreeData: null,\n parallelRoutes: new Map(existingCacheNode == null ? void 0 : existingCacheNode.parallelRoutes)\n };\n // Overrides the cache key with the new cache node.\n parallelRouteCacheNode.set(cacheKey, newCacheNode);\n // Traverse deeper to apply the head / fill lazy items till the head.\n fillLazyItemsTillLeafWithHead(newCacheNode, existingCacheNode, parallelRouteState, head, wasPrefetched);\n newCache.parallelRoutes.set(key, parallelRouteCacheNode);\n continue;\n }\n }\n const newCacheNode = {\n status: _approutercontext.CacheStates.LAZY_INITIALIZED,\n data: null,\n subTreeData: null,\n parallelRoutes: new Map()\n };\n const existingParallelRoutes = newCache.parallelRoutes.get(key);\n if (existingParallelRoutes) {\n existingParallelRoutes.set(cacheKey, newCacheNode);\n } else {\n newCache.parallelRoutes.set(key, new Map([\n [\n cacheKey,\n newCacheNode\n ]\n ]));\n }\n fillLazyItemsTillLeafWithHead(newCacheNode, undefined, parallelRouteState, head, wasPrefetched);\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=fill-lazy-items-till-leaf-with-head.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n PrefetchCacheEntryStatus: null,\n getPrefetchEntryCacheStatus: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n PrefetchCacheEntryStatus: function() {\n return PrefetchCacheEntryStatus;\n },\n getPrefetchEntryCacheStatus: function() {\n return getPrefetchEntryCacheStatus;\n }\n});\nconst FIVE_MINUTES = 5 * 60 * 1000;\nconst THIRTY_SECONDS = 30 * 1000;\nvar PrefetchCacheEntryStatus;\n(function(PrefetchCacheEntryStatus) {\n PrefetchCacheEntryStatus[\"fresh\"] = \"fresh\";\n PrefetchCacheEntryStatus[\"reusable\"] = \"reusable\";\n PrefetchCacheEntryStatus[\"expired\"] = \"expired\";\n PrefetchCacheEntryStatus[\"stale\"] = \"stale\";\n})(PrefetchCacheEntryStatus || (PrefetchCacheEntryStatus = {}));\nfunction getPrefetchEntryCacheStatus(param) {\n let { kind , prefetchTime , lastUsedTime } = param;\n // if the cache entry was prefetched or read less than 30s ago, then we want to re-use it\n if (Date.now() < (lastUsedTime != null ? lastUsedTime : prefetchTime) + THIRTY_SECONDS) {\n return lastUsedTime ? \"reusable\" : \"fresh\";\n }\n // if the cache entry was prefetched less than 5 mins ago, then we want to re-use only the loading state\n if (kind === \"auto\") {\n if (Date.now() < prefetchTime + FIVE_MINUTES) {\n return \"stale\";\n }\n }\n // if the cache entry was prefetched less than 5 mins ago and was a \"full\" prefetch, then we want to re-use it \"full\n if (kind === \"full\") {\n if (Date.now() < prefetchTime + FIVE_MINUTES) {\n return \"reusable\";\n }\n }\n return \"expired\";\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=get-prefetch-cache-entry-status.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"handleMutable\", {\n enumerable: true,\n get: function() {\n return handleMutable;\n }\n});\nconst _computechangedpath = require(\"./compute-changed-path\");\nfunction handleMutable(state, mutable) {\n var _mutable_shouldScroll;\n // shouldScroll is true by default, can override to false.\n const shouldScroll = (_mutable_shouldScroll = mutable.shouldScroll) != null ? _mutable_shouldScroll : true;\n var _mutable_scrollableSegments, _computeChangedPath;\n return {\n buildId: state.buildId,\n // Set href.\n canonicalUrl: mutable.canonicalUrl != null ? mutable.canonicalUrl === state.canonicalUrl ? state.canonicalUrl : mutable.canonicalUrl : state.canonicalUrl,\n pushRef: {\n pendingPush: mutable.pendingPush != null ? mutable.pendingPush : state.pushRef.pendingPush,\n mpaNavigation: mutable.mpaNavigation != null ? mutable.mpaNavigation : state.pushRef.mpaNavigation\n },\n // All navigation requires scroll and focus management to trigger.\n focusAndScrollRef: {\n apply: shouldScroll ? (mutable == null ? void 0 : mutable.scrollableSegments) !== undefined ? true : state.focusAndScrollRef.apply : false,\n hashFragment: shouldScroll ? // #top is handled in layout-router.\n mutable.hashFragment && mutable.hashFragment !== \"\" ? decodeURIComponent(mutable.hashFragment.slice(1)) : state.focusAndScrollRef.hashFragment : null,\n segmentPaths: shouldScroll ? (_mutable_scrollableSegments = mutable == null ? void 0 : mutable.scrollableSegments) != null ? _mutable_scrollableSegments : state.focusAndScrollRef.segmentPaths : []\n },\n // Apply cache.\n cache: mutable.cache ? mutable.cache : state.cache,\n prefetchCache: mutable.prefetchCache ? mutable.prefetchCache : state.prefetchCache,\n // Apply patched router state.\n tree: mutable.patchedTree !== undefined ? mutable.patchedTree : state.tree,\n nextUrl: mutable.patchedTree !== undefined ? (_computeChangedPath = (0, _computechangedpath.computeChangedPath)(state.tree, mutable.patchedTree)) != null ? _computeChangedPath : state.canonicalUrl : state.nextUrl\n };\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=handle-mutable.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"invalidateCacheBelowFlightSegmentPath\", {\n enumerable: true,\n get: function() {\n return invalidateCacheBelowFlightSegmentPath;\n }\n});\nconst _createroutercachekey = require(\"./create-router-cache-key\");\nfunction invalidateCacheBelowFlightSegmentPath(newCache, existingCache, flightSegmentPath) {\n const isLastEntry = flightSegmentPath.length <= 2;\n const [parallelRouteKey, segment] = flightSegmentPath;\n const cacheKey = (0, _createroutercachekey.createRouterCacheKey)(segment);\n const existingChildSegmentMap = existingCache.parallelRoutes.get(parallelRouteKey);\n if (!existingChildSegmentMap) {\n // Bailout because the existing cache does not have the path to the leaf node\n // Will trigger lazy fetch in layout-router because of missing segment\n return;\n }\n let childSegmentMap = newCache.parallelRoutes.get(parallelRouteKey);\n if (!childSegmentMap || childSegmentMap === existingChildSegmentMap) {\n childSegmentMap = new Map(existingChildSegmentMap);\n newCache.parallelRoutes.set(parallelRouteKey, childSegmentMap);\n }\n // In case of last entry don't copy further down.\n if (isLastEntry) {\n childSegmentMap.delete(cacheKey);\n return;\n }\n const existingChildCacheNode = existingChildSegmentMap.get(cacheKey);\n let childCacheNode = childSegmentMap.get(cacheKey);\n if (!childCacheNode || !existingChildCacheNode) {\n // Bailout because the existing cache does not have the path to the leaf node\n // Will trigger lazy fetch in layout-router because of missing segment\n return;\n }\n if (childCacheNode === existingChildCacheNode) {\n childCacheNode = {\n status: childCacheNode.status,\n data: childCacheNode.data,\n subTreeData: childCacheNode.subTreeData,\n parallelRoutes: new Map(childCacheNode.parallelRoutes)\n };\n childSegmentMap.set(cacheKey, childCacheNode);\n }\n invalidateCacheBelowFlightSegmentPath(childCacheNode, existingChildCacheNode, flightSegmentPath.slice(2));\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=invalidate-cache-below-flight-segmentpath.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"invalidateCacheByRouterState\", {\n enumerable: true,\n get: function() {\n return invalidateCacheByRouterState;\n }\n});\nconst _createroutercachekey = require(\"./create-router-cache-key\");\nfunction invalidateCacheByRouterState(newCache, existingCache, routerState) {\n // Remove segment that we got data for so that it is filled in during rendering of subTreeData.\n for(const key in routerState[1]){\n const segmentForParallelRoute = routerState[1][key][0];\n const cacheKey = (0, _createroutercachekey.createRouterCacheKey)(segmentForParallelRoute);\n const existingParallelRoutesCacheNode = existingCache.parallelRoutes.get(key);\n if (existingParallelRoutesCacheNode) {\n let parallelRouteCacheNode = new Map(existingParallelRoutesCacheNode);\n parallelRouteCacheNode.delete(cacheKey);\n newCache.parallelRoutes.set(key, parallelRouteCacheNode);\n }\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=invalidate-cache-by-router-state.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"isNavigatingToNewRootLayout\", {\n enumerable: true,\n get: function() {\n return isNavigatingToNewRootLayout;\n }\n});\nfunction isNavigatingToNewRootLayout(currentTree, nextTree) {\n // Compare segments\n const currentTreeSegment = currentTree[0];\n const nextTreeSegment = nextTree[0];\n // If any segment is different before we find the root layout, the root layout has changed.\n // E.g. /same/(group1)/layout.js -> /same/(group2)/layout.js\n // First segment is 'same' for both, keep looking. (group1) changed to (group2) before the root layout was found, it must have changed.\n if (Array.isArray(currentTreeSegment) && Array.isArray(nextTreeSegment)) {\n // Compare dynamic param name and type but ignore the value, different values would not affect the current root layout\n // /[name] - /slug1 and /slug2, both values (slug1 & slug2) still has the same layout /[name]/layout.js\n if (currentTreeSegment[0] !== nextTreeSegment[0] || currentTreeSegment[2] !== nextTreeSegment[2]) {\n return true;\n }\n } else if (currentTreeSegment !== nextTreeSegment) {\n return true;\n }\n // Current tree root layout found\n if (currentTree[4]) {\n // If the next tree doesn't have the root layout flag, it must have changed.\n return !nextTree[4];\n }\n // Current tree didn't have its root layout here, must have changed.\n if (nextTree[4]) {\n return true;\n }\n // We can't assume it's `parallelRoutes.children` here in case the root layout is `app/@something/layout.js`\n // But it's not possible to be more than one parallelRoutes before the root layout is found\n // TODO-APP: change to traverse all parallel routes\n const currentTreeChild = Object.values(currentTree[1])[0];\n const nextTreeChild = Object.values(nextTree[1])[0];\n if (!currentTreeChild || !nextTreeChild) return true;\n return isNavigatingToNewRootLayout(currentTreeChild, nextTreeChild);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=is-navigating-to-new-root-layout.js.map","/**\n * Read record value or throw Promise if it's not resolved yet.\n */ \"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"readRecordValue\", {\n enumerable: true,\n get: function() {\n return readRecordValue;\n }\n});\nfunction readRecordValue(thenable) {\n // @ts-expect-error TODO: fix type\n if (thenable.status === \"fulfilled\") {\n // @ts-expect-error TODO: fix type\n return thenable.value;\n } else {\n throw thenable;\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=read-record-value.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"fastRefreshReducer\", {\n enumerable: true,\n get: function() {\n return fastRefreshReducer;\n }\n});\nconst _fetchserverresponse = require(\"../fetch-server-response\");\nconst _createrecordfromthenable = require(\"../create-record-from-thenable\");\nconst _readrecordvalue = require(\"../read-record-value\");\nconst _createhreffromurl = require(\"../create-href-from-url\");\nconst _applyrouterstatepatchtotree = require(\"../apply-router-state-patch-to-tree\");\nconst _isnavigatingtonewrootlayout = require(\"../is-navigating-to-new-root-layout\");\nconst _navigatereducer = require(\"./navigate-reducer\");\nconst _handlemutable = require(\"../handle-mutable\");\nconst _applyflightdata = require(\"../apply-flight-data\");\n// A version of refresh reducer that keeps the cache around instead of wiping all of it.\nfunction fastRefreshReducerImpl(state, action) {\n const { cache , mutable , origin } = action;\n const href = state.canonicalUrl;\n const isForCurrentTree = JSON.stringify(mutable.previousTree) === JSON.stringify(state.tree);\n if (isForCurrentTree) {\n return (0, _handlemutable.handleMutable)(state, mutable);\n }\n if (!cache.data) {\n // TODO-APP: verify that `href` is not an external url.\n // Fetch data from the root of the tree.\n cache.data = (0, _createrecordfromthenable.createRecordFromThenable)((0, _fetchserverresponse.fetchServerResponse)(new URL(href, origin), [\n state.tree[0],\n state.tree[1],\n state.tree[2],\n \"refetch\"\n ], state.nextUrl, state.buildId));\n }\n const [flightData, canonicalUrlOverride] = (0, _readrecordvalue.readRecordValue)(cache.data);\n // Handle case when navigating to page in `pages` from `app`\n if (typeof flightData === \"string\") {\n return (0, _navigatereducer.handleExternalUrl)(state, mutable, flightData, state.pushRef.pendingPush);\n }\n // Remove cache.data as it has been resolved at this point.\n cache.data = null;\n let currentTree = state.tree;\n let currentCache = state.cache;\n for (const flightDataPath of flightData){\n // FlightDataPath with more than two items means unexpected Flight data was returned\n if (flightDataPath.length !== 3) {\n // TODO-APP: handle this case better\n console.log(\"REFRESH FAILED\");\n return state;\n }\n // Given the path can only have two items the items are only the router state and subTreeData for the root.\n const [treePatch] = flightDataPath;\n const newTree = (0, _applyrouterstatepatchtotree.applyRouterStatePatchToTree)(// TODO-APP: remove ''\n [\n \"\"\n ], currentTree, treePatch);\n if (newTree === null) {\n throw new Error(\"SEGMENT MISMATCH\");\n }\n if ((0, _isnavigatingtonewrootlayout.isNavigatingToNewRootLayout)(currentTree, newTree)) {\n return (0, _navigatereducer.handleExternalUrl)(state, mutable, href, state.pushRef.pendingPush);\n }\n const canonicalUrlOverrideHref = canonicalUrlOverride ? (0, _createhreffromurl.createHrefFromUrl)(canonicalUrlOverride) : undefined;\n if (canonicalUrlOverride) {\n mutable.canonicalUrl = canonicalUrlOverrideHref;\n }\n const applied = (0, _applyflightdata.applyFlightData)(currentCache, cache, flightDataPath);\n if (applied) {\n mutable.cache = cache;\n currentCache = cache;\n }\n mutable.previousTree = currentTree;\n mutable.patchedTree = newTree;\n mutable.canonicalUrl = href;\n currentTree = newTree;\n }\n return (0, _handlemutable.handleMutable)(state, mutable);\n}\nfunction fastRefreshReducerNoop(state, _action) {\n return state;\n}\nconst fastRefreshReducer = process.env.NODE_ENV === \"production\" ? fastRefreshReducerNoop : fastRefreshReducerImpl;\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=fast-refresh-reducer.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"findHeadInCache\", {\n enumerable: true,\n get: function() {\n return findHeadInCache;\n }\n});\nconst _createroutercachekey = require(\"../create-router-cache-key\");\nfunction findHeadInCache(cache, parallelRoutes) {\n const isLastItem = Object.keys(parallelRoutes).length === 0;\n if (isLastItem) {\n return cache.head;\n }\n for(const key in parallelRoutes){\n const [segment, childParallelRoutes] = parallelRoutes[key];\n const childSegmentMap = cache.parallelRoutes.get(key);\n if (!childSegmentMap) {\n continue;\n }\n const cacheKey = (0, _createroutercachekey.createRouterCacheKey)(segment);\n const cacheNode = childSegmentMap.get(cacheKey);\n if (!cacheNode) {\n continue;\n }\n const item = findHeadInCache(cacheNode, childParallelRoutes);\n if (item) {\n return item;\n }\n }\n return undefined;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=find-head-in-cache.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"getSegmentValue\", {\n enumerable: true,\n get: function() {\n return getSegmentValue;\n }\n});\nfunction getSegmentValue(segment) {\n return Array.isArray(segment) ? segment[1] : segment;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=get-segment-value.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n handleExternalUrl: null,\n navigateReducer: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n handleExternalUrl: function() {\n return handleExternalUrl;\n },\n navigateReducer: function() {\n return navigateReducer;\n }\n});\nconst _approutercontext = require(\"../../../../shared/lib/app-router-context\");\nconst _fetchserverresponse = require(\"../fetch-server-response\");\nconst _createrecordfromthenable = require(\"../create-record-from-thenable\");\nconst _readrecordvalue = require(\"../read-record-value\");\nconst _createhreffromurl = require(\"../create-href-from-url\");\nconst _invalidatecachebelowflightsegmentpath = require(\"../invalidate-cache-below-flight-segmentpath\");\nconst _fillcachewithdataproperty = require(\"../fill-cache-with-data-property\");\nconst _createoptimistictree = require(\"../create-optimistic-tree\");\nconst _applyrouterstatepatchtotree = require(\"../apply-router-state-patch-to-tree\");\nconst _shouldhardnavigate = require(\"../should-hard-navigate\");\nconst _isnavigatingtonewrootlayout = require(\"../is-navigating-to-new-root-layout\");\nconst _routerreducertypes = require(\"../router-reducer-types\");\nconst _handlemutable = require(\"../handle-mutable\");\nconst _applyflightdata = require(\"../apply-flight-data\");\nconst _getprefetchcacheentrystatus = require(\"../get-prefetch-cache-entry-status\");\nconst _pruneprefetchcache = require(\"./prune-prefetch-cache\");\nfunction handleExternalUrl(state, mutable, url, pendingPush) {\n mutable.previousTree = state.tree;\n mutable.mpaNavigation = true;\n mutable.canonicalUrl = url;\n mutable.pendingPush = pendingPush;\n mutable.scrollableSegments = undefined;\n return (0, _handlemutable.handleMutable)(state, mutable);\n}\nfunction generateSegmentsFromPatch(flightRouterPatch) {\n const segments = [];\n const [segment, parallelRoutes] = flightRouterPatch;\n if (Object.keys(parallelRoutes).length === 0) {\n return [\n [\n segment\n ]\n ];\n }\n for (const [parallelRouteKey, parallelRoute] of Object.entries(parallelRoutes)){\n for (const childSegment of generateSegmentsFromPatch(parallelRoute)){\n // If the segment is empty, it means we are at the root of the tree\n if (segment === \"\") {\n segments.push([\n parallelRouteKey,\n ...childSegment\n ]);\n } else {\n segments.push([\n segment,\n parallelRouteKey,\n ...childSegment\n ]);\n }\n }\n }\n return segments;\n}\nfunction addRefetchToLeafSegments(newCache, currentCache, flightSegmentPath, treePatch, data) {\n let appliedPatch = false;\n newCache.status = _approutercontext.CacheStates.READY;\n newCache.subTreeData = currentCache.subTreeData;\n newCache.parallelRoutes = new Map(currentCache.parallelRoutes);\n const segmentPathsToFill = generateSegmentsFromPatch(treePatch).map((segment)=>[\n ...flightSegmentPath,\n ...segment\n ]);\n for (const segmentPaths of segmentPathsToFill){\n const res = (0, _fillcachewithdataproperty.fillCacheWithDataProperty)(newCache, currentCache, segmentPaths, data);\n if (!(res == null ? void 0 : res.bailOptimistic)) {\n appliedPatch = true;\n }\n }\n return appliedPatch;\n}\nfunction navigateReducer(state, action) {\n const { url , isExternalUrl , navigateType , cache , mutable , forceOptimisticNavigation , shouldScroll } = action;\n const { pathname , hash } = url;\n const href = (0, _createhreffromurl.createHrefFromUrl)(url);\n const pendingPush = navigateType === \"push\";\n // we want to prune the prefetch cache on every navigation to avoid it growing too large\n (0, _pruneprefetchcache.prunePrefetchCache)(state.prefetchCache);\n const isForCurrentTree = JSON.stringify(mutable.previousTree) === JSON.stringify(state.tree);\n if (isForCurrentTree) {\n return (0, _handlemutable.handleMutable)(state, mutable);\n }\n if (isExternalUrl) {\n return handleExternalUrl(state, mutable, url.toString(), pendingPush);\n }\n let prefetchValues = state.prefetchCache.get((0, _createhreffromurl.createHrefFromUrl)(url, false));\n if (forceOptimisticNavigation && (prefetchValues == null ? void 0 : prefetchValues.kind) !== _routerreducertypes.PrefetchKind.TEMPORARY) {\n const segments = pathname.split(\"/\");\n // TODO-APP: figure out something better for index pages\n segments.push(\"__PAGE__\");\n // Optimistic tree case.\n // If the optimistic tree is deeper than the current state leave that deeper part out of the fetch\n const optimisticTree = (0, _createoptimistictree.createOptimisticTree)(segments, state.tree, false);\n // we need a copy of the cache in case we need to revert to it\n const temporaryCacheNode = {\n ...cache\n };\n // Copy subTreeData for the root node of the cache.\n // Note: didn't do it above because typescript doesn't like it.\n temporaryCacheNode.status = _approutercontext.CacheStates.READY;\n temporaryCacheNode.subTreeData = state.cache.subTreeData;\n temporaryCacheNode.parallelRoutes = new Map(state.cache.parallelRoutes);\n let data;\n const fetchResponse = ()=>{\n if (!data) {\n data = (0, _createrecordfromthenable.createRecordFromThenable)((0, _fetchserverresponse.fetchServerResponse)(url, optimisticTree, state.nextUrl, state.buildId));\n }\n return data;\n };\n // TODO-APP: segments.slice(1) strips '', we can get rid of '' altogether.\n // TODO-APP: re-evaluate if we need to strip the last segment\n const optimisticFlightSegmentPath = segments.slice(1).map((segment)=>[\n \"children\",\n segment\n ]).flat();\n // Copy existing cache nodes as far as possible and fill in `data` property with the started data fetch.\n // The `data` property is used to suspend in layout-router during render if it hasn't resolved yet by the time it renders.\n const res = (0, _fillcachewithdataproperty.fillCacheWithDataProperty)(temporaryCacheNode, state.cache, optimisticFlightSegmentPath, fetchResponse, true);\n // If optimistic fetch couldn't happen it falls back to the non-optimistic case.\n if (!(res == null ? void 0 : res.bailOptimistic)) {\n mutable.previousTree = state.tree;\n mutable.patchedTree = optimisticTree;\n mutable.pendingPush = pendingPush;\n mutable.hashFragment = hash;\n mutable.shouldScroll = shouldScroll;\n mutable.scrollableSegments = [];\n mutable.cache = temporaryCacheNode;\n mutable.canonicalUrl = href;\n state.prefetchCache.set((0, _createhreffromurl.createHrefFromUrl)(url, false), {\n data: Promise.resolve(data),\n // this will make sure that the entry will be discarded after 30s\n kind: _routerreducertypes.PrefetchKind.TEMPORARY,\n prefetchTime: Date.now(),\n treeAtTimeOfPrefetch: state.tree,\n lastUsedTime: Date.now()\n });\n return (0, _handlemutable.handleMutable)(state, mutable);\n }\n }\n // If we don't have a prefetch value, we need to create one\n if (!prefetchValues) {\n const data = (0, _createrecordfromthenable.createRecordFromThenable)((0, _fetchserverresponse.fetchServerResponse)(url, state.tree, state.nextUrl, state.buildId, // in dev, there's never gonna be a prefetch entry so we want to prefetch here\n // in order to simulate the behavior of the prefetch cache\n process.env.NODE_ENV === \"development\" ? _routerreducertypes.PrefetchKind.AUTO : undefined));\n const newPrefetchValue = {\n data: Promise.resolve(data),\n // this will make sure that the entry will be discarded after 30s\n kind: process.env.NODE_ENV === \"development\" ? _routerreducertypes.PrefetchKind.AUTO : _routerreducertypes.PrefetchKind.TEMPORARY,\n prefetchTime: Date.now(),\n treeAtTimeOfPrefetch: state.tree,\n lastUsedTime: null\n };\n state.prefetchCache.set((0, _createhreffromurl.createHrefFromUrl)(url, false), newPrefetchValue);\n prefetchValues = newPrefetchValue;\n }\n const prefetchEntryCacheStatus = (0, _getprefetchcacheentrystatus.getPrefetchEntryCacheStatus)(prefetchValues);\n // The one before last item is the router state tree patch\n const { treeAtTimeOfPrefetch , data } = prefetchValues;\n // Unwrap cache data with `use` to suspend here (in the reducer) until the fetch resolves.\n const [flightData, canonicalUrlOverride] = (0, _readrecordvalue.readRecordValue)(data);\n // important: we should only mark the cache node as dirty after we unsuspend from the call above\n prefetchValues.lastUsedTime = Date.now();\n // Handle case when navigating to page in `pages` from `app`\n if (typeof flightData === \"string\") {\n return handleExternalUrl(state, mutable, flightData, pendingPush);\n }\n let currentTree = state.tree;\n let currentCache = state.cache;\n let scrollableSegments = [];\n for (const flightDataPath of flightData){\n const flightSegmentPath = flightDataPath.slice(0, -4);\n // The one before last item is the router state tree patch\n const treePatch = flightDataPath.slice(-3)[0];\n // TODO-APP: remove ''\n const flightSegmentPathWithLeadingEmpty = [\n \"\",\n ...flightSegmentPath\n ];\n // Create new tree based on the flightSegmentPath and router state patch\n let newTree = (0, _applyrouterstatepatchtotree.applyRouterStatePatchToTree)(// TODO-APP: remove ''\n flightSegmentPathWithLeadingEmpty, currentTree, treePatch);\n // If the tree patch can't be applied to the current tree then we use the tree at time of prefetch\n // TODO-APP: This should instead fill in the missing pieces in `currentTree` with the data from `treeAtTimeOfPrefetch`, then apply the patch.\n if (newTree === null) {\n newTree = (0, _applyrouterstatepatchtotree.applyRouterStatePatchToTree)(// TODO-APP: remove ''\n flightSegmentPathWithLeadingEmpty, treeAtTimeOfPrefetch, treePatch);\n }\n if (newTree !== null) {\n if ((0, _isnavigatingtonewrootlayout.isNavigatingToNewRootLayout)(currentTree, newTree)) {\n return handleExternalUrl(state, mutable, href, pendingPush);\n }\n let applied = (0, _applyflightdata.applyFlightData)(currentCache, cache, flightDataPath, prefetchValues.kind === \"auto\" && prefetchEntryCacheStatus === _getprefetchcacheentrystatus.PrefetchCacheEntryStatus.reusable);\n if (!applied && prefetchEntryCacheStatus === _getprefetchcacheentrystatus.PrefetchCacheEntryStatus.stale) {\n applied = addRefetchToLeafSegments(cache, currentCache, flightSegmentPath, treePatch, // eslint-disable-next-line no-loop-func\n ()=>(0, _fetchserverresponse.fetchServerResponse)(url, currentTree, state.nextUrl, state.buildId));\n }\n const hardNavigate = (0, _shouldhardnavigate.shouldHardNavigate)(// TODO-APP: remove ''\n flightSegmentPathWithLeadingEmpty, currentTree);\n if (hardNavigate) {\n cache.status = _approutercontext.CacheStates.READY;\n // Copy subTreeData for the root node of the cache.\n cache.subTreeData = currentCache.subTreeData;\n (0, _invalidatecachebelowflightsegmentpath.invalidateCacheBelowFlightSegmentPath)(cache, currentCache, flightSegmentPath);\n // Ensure the existing cache value is used when the cache was not invalidated.\n mutable.cache = cache;\n } else if (applied) {\n mutable.cache = cache;\n }\n currentCache = cache;\n currentTree = newTree;\n for (const subSegment of generateSegmentsFromPatch(treePatch)){\n const scrollableSegmentPath = [\n ...flightSegmentPath,\n ...subSegment\n ];\n // Filter out the __DEFAULT__ paths as they shouldn't be scrolled to in this case.\n if (scrollableSegmentPath[scrollableSegmentPath.length - 1] !== \"__DEFAULT__\") {\n scrollableSegments.push(scrollableSegmentPath);\n }\n }\n }\n }\n mutable.previousTree = state.tree;\n mutable.patchedTree = currentTree;\n mutable.canonicalUrl = canonicalUrlOverride ? (0, _createhreffromurl.createHrefFromUrl)(canonicalUrlOverride) : href;\n mutable.pendingPush = pendingPush;\n mutable.scrollableSegments = scrollableSegments;\n mutable.hashFragment = hash;\n mutable.shouldScroll = shouldScroll;\n return (0, _handlemutable.handleMutable)(state, mutable);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=navigate-reducer.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"prefetchReducer\", {\n enumerable: true,\n get: function() {\n return prefetchReducer;\n }\n});\nconst _createhreffromurl = require(\"../create-href-from-url\");\nconst _fetchserverresponse = require(\"../fetch-server-response\");\nconst _routerreducertypes = require(\"../router-reducer-types\");\nconst _createrecordfromthenable = require(\"../create-record-from-thenable\");\nconst _pruneprefetchcache = require(\"./prune-prefetch-cache\");\nconst _approuterheaders = require(\"../../app-router-headers\");\nfunction prefetchReducer(state, action) {\n // let's prune the prefetch cache before we do anything else\n (0, _pruneprefetchcache.prunePrefetchCache)(state.prefetchCache);\n const { url } = action;\n url.searchParams.delete(_approuterheaders.NEXT_RSC_UNION_QUERY);\n const href = (0, _createhreffromurl.createHrefFromUrl)(url, // Ensures the hash is not part of the cache key as it does not affect fetching the server\n false);\n const cacheEntry = state.prefetchCache.get(href);\n if (cacheEntry) {\n /**\n * If the cache entry present was marked as temporary, it means that we prefetched it from the navigate reducer,\n * where we didn't have the prefetch intent. We want to update it to the new, more accurate, kind here.\n */ if (cacheEntry.kind === _routerreducertypes.PrefetchKind.TEMPORARY) {\n state.prefetchCache.set(href, {\n ...cacheEntry,\n kind: action.kind\n });\n }\n /**\n * if the prefetch action was a full prefetch and that the current cache entry wasn't one, we want to re-prefetch,\n * otherwise we can re-use the current cache entry\n **/ if (!(cacheEntry.kind === _routerreducertypes.PrefetchKind.AUTO && action.kind === _routerreducertypes.PrefetchKind.FULL)) {\n return state;\n }\n }\n // fetchServerResponse is intentionally not awaited so that it can be unwrapped in the navigate-reducer\n const serverResponse = (0, _createrecordfromthenable.createRecordFromThenable)((0, _fetchserverresponse.fetchServerResponse)(url, // initialTree is used when history.state.tree is missing because the history state is set in `useEffect` below, it being missing means this is the hydration case.\n state.tree, state.nextUrl, state.buildId, action.kind));\n // Create new tree based on the flightSegmentPath and router state patch\n state.prefetchCache.set(href, {\n // Create new tree based on the flightSegmentPath and router state patch\n treeAtTimeOfPrefetch: state.tree,\n data: serverResponse,\n kind: action.kind,\n prefetchTime: Date.now(),\n lastUsedTime: null\n });\n return state;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=prefetch-reducer.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"prunePrefetchCache\", {\n enumerable: true,\n get: function() {\n return prunePrefetchCache;\n }\n});\nconst _getprefetchcacheentrystatus = require(\"../get-prefetch-cache-entry-status\");\nfunction prunePrefetchCache(prefetchCache) {\n for (const [href, prefetchCacheEntry] of prefetchCache){\n if ((0, _getprefetchcacheentrystatus.getPrefetchEntryCacheStatus)(prefetchCacheEntry) === _getprefetchcacheentrystatus.PrefetchCacheEntryStatus.expired) {\n prefetchCache.delete(href);\n }\n }\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=prune-prefetch-cache.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"refreshReducer\", {\n enumerable: true,\n get: function() {\n return refreshReducer;\n }\n});\nconst _fetchserverresponse = require(\"../fetch-server-response\");\nconst _createrecordfromthenable = require(\"../create-record-from-thenable\");\nconst _readrecordvalue = require(\"../read-record-value\");\nconst _createhreffromurl = require(\"../create-href-from-url\");\nconst _applyrouterstatepatchtotree = require(\"../apply-router-state-patch-to-tree\");\nconst _isnavigatingtonewrootlayout = require(\"../is-navigating-to-new-root-layout\");\nconst _navigatereducer = require(\"./navigate-reducer\");\nconst _handlemutable = require(\"../handle-mutable\");\nconst _approutercontext = require(\"../../../../shared/lib/app-router-context\");\nconst _filllazyitemstillleafwithhead = require(\"../fill-lazy-items-till-leaf-with-head\");\nfunction refreshReducer(state, action) {\n const { cache , mutable , origin } = action;\n const href = state.canonicalUrl;\n let currentTree = state.tree;\n const isForCurrentTree = JSON.stringify(mutable.previousTree) === JSON.stringify(currentTree);\n if (isForCurrentTree) {\n return (0, _handlemutable.handleMutable)(state, mutable);\n }\n if (!cache.data) {\n // TODO-APP: verify that `href` is not an external url.\n // Fetch data from the root of the tree.\n cache.data = (0, _createrecordfromthenable.createRecordFromThenable)((0, _fetchserverresponse.fetchServerResponse)(new URL(href, origin), [\n currentTree[0],\n currentTree[1],\n currentTree[2],\n \"refetch\"\n ], state.nextUrl, state.buildId));\n }\n const [flightData, canonicalUrlOverride] = (0, _readrecordvalue.readRecordValue)(cache.data);\n // Handle case when navigating to page in `pages` from `app`\n if (typeof flightData === \"string\") {\n return (0, _navigatereducer.handleExternalUrl)(state, mutable, flightData, state.pushRef.pendingPush);\n }\n // Remove cache.data as it has been resolved at this point.\n cache.data = null;\n for (const flightDataPath of flightData){\n // FlightDataPath with more than two items means unexpected Flight data was returned\n if (flightDataPath.length !== 3) {\n // TODO-APP: handle this case better\n console.log(\"REFRESH FAILED\");\n return state;\n }\n // Given the path can only have two items the items are only the router state and subTreeData for the root.\n const [treePatch] = flightDataPath;\n const newTree = (0, _applyrouterstatepatchtotree.applyRouterStatePatchToTree)(// TODO-APP: remove ''\n [\n \"\"\n ], currentTree, treePatch);\n if (newTree === null) {\n throw new Error(\"SEGMENT MISMATCH\");\n }\n if ((0, _isnavigatingtonewrootlayout.isNavigatingToNewRootLayout)(currentTree, newTree)) {\n return (0, _navigatereducer.handleExternalUrl)(state, mutable, href, state.pushRef.pendingPush);\n }\n const canonicalUrlOverrideHref = canonicalUrlOverride ? (0, _createhreffromurl.createHrefFromUrl)(canonicalUrlOverride) : undefined;\n if (canonicalUrlOverride) {\n mutable.canonicalUrl = canonicalUrlOverrideHref;\n }\n // The one before last item is the router state tree patch\n const [subTreeData, head] = flightDataPath.slice(-2);\n // Handles case where prefetch only returns the router tree patch without rendered components.\n if (subTreeData !== null) {\n cache.status = _approutercontext.CacheStates.READY;\n cache.subTreeData = subTreeData;\n (0, _filllazyitemstillleafwithhead.fillLazyItemsTillLeafWithHead)(cache, // Existing cache is not passed in as `router.refresh()` has to invalidate the entire cache.\n undefined, treePatch, head);\n mutable.cache = cache;\n mutable.prefetchCache = new Map();\n }\n mutable.previousTree = currentTree;\n mutable.patchedTree = newTree;\n mutable.canonicalUrl = href;\n currentTree = newTree;\n }\n return (0, _handlemutable.handleMutable)(state, mutable);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=refresh-reducer.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"restoreReducer\", {\n enumerable: true,\n get: function() {\n return restoreReducer;\n }\n});\nconst _createhreffromurl = require(\"../create-href-from-url\");\nfunction restoreReducer(state, action) {\n const { url , tree } = action;\n const href = (0, _createhreffromurl.createHrefFromUrl)(url);\n return {\n buildId: state.buildId,\n // Set canonical url\n canonicalUrl: href,\n pushRef: state.pushRef,\n focusAndScrollRef: state.focusAndScrollRef,\n cache: state.cache,\n prefetchCache: state.prefetchCache,\n // Restore provided tree\n tree: tree,\n nextUrl: url.pathname\n };\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=restore-reducer.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"serverActionReducer\", {\n enumerable: true,\n get: function() {\n return serverActionReducer;\n }\n});\nconst _appcallserver = require(\"../../../app-call-server\");\nconst _approuterheaders = require(\"../../app-router-headers\");\nconst _createrecordfromthenable = require(\"../create-record-from-thenable\");\nconst _readrecordvalue = require(\"../read-record-value\");\nconst _client = require(\"react-server-dom-webpack/client\");\nconst _routerreducertypes = require(\"../router-reducer-types\");\nconst _addbasepath = require(\"../../../add-base-path\");\nconst _createhreffromurl = require(\"../create-href-from-url\");\nconst _redirect = require(\"../../redirect\");\nasync function fetchServerAction(state, param) {\n let { actionId , actionArgs } = param;\n const body = await (0, _client.encodeReply)(actionArgs);\n const res = await fetch(\"\", {\n method: \"POST\",\n headers: {\n Accept: _approuterheaders.RSC_CONTENT_TYPE_HEADER,\n \"Next-Action\": actionId,\n [_approuterheaders.NEXT_ROUTER_STATE_TREE]: JSON.stringify(state.tree),\n ...process.env.__NEXT_ACTIONS_DEPLOYMENT_ID && process.env.NEXT_DEPLOYMENT_ID ? {\n \"x-deployment-id\": process.env.NEXT_DEPLOYMENT_ID\n } : {},\n ...state.nextUrl ? {\n [_approuterheaders.NEXT_URL]: state.nextUrl\n } : {}\n },\n body\n });\n const location = res.headers.get(\"x-action-redirect\");\n let revalidatedParts;\n try {\n const revalidatedHeader = JSON.parse(res.headers.get(\"x-action-revalidated\") || \"[[],0,0]\");\n revalidatedParts = {\n paths: revalidatedHeader[0] || [],\n tag: !!revalidatedHeader[1],\n cookie: revalidatedHeader[2]\n };\n } catch (e) {\n revalidatedParts = {\n paths: [],\n tag: false,\n cookie: false\n };\n }\n const redirectLocation = location ? new URL((0, _addbasepath.addBasePath)(location), window.location.origin) : undefined;\n let isFlightResponse = res.headers.get(\"content-type\") === _approuterheaders.RSC_CONTENT_TYPE_HEADER;\n if (isFlightResponse) {\n const response = await (0, _client.createFromFetch)(Promise.resolve(res), {\n callServer: _appcallserver.callServer\n });\n // if it was a redirection, then result is just a regular RSC payload\n if (location) {\n const [, payload] = response;\n return {\n actionFlightData: payload == null ? void 0 : payload[1],\n redirectLocation,\n revalidatedParts\n };\n // otherwise it's a tuple of [actionResult, actionFlightData]\n } else {\n const [actionResult, [, actionFlightData]] = response != null ? response : [];\n return {\n actionResult,\n actionFlightData,\n redirectLocation,\n revalidatedParts\n };\n }\n }\n return {\n redirectLocation,\n revalidatedParts\n };\n}\nfunction serverActionReducer(state, action) {\n // the action could be called twice so we need to check if we already have applied it\n if (action.mutable.serverActionApplied) {\n return state;\n }\n if (!action.mutable.inFlightServerAction) {\n action.mutable.previousTree = state.tree;\n action.mutable.previousUrl = state.canonicalUrl;\n action.mutable.inFlightServerAction = (0, _createrecordfromthenable.createRecordFromThenable)(fetchServerAction(state, action));\n }\n try {\n // suspends until the server action is resolved.\n const { actionResult , actionFlightData , redirectLocation , revalidatedParts } = (0, _readrecordvalue.readRecordValue)(action.mutable.inFlightServerAction);\n // Invalidate the cache for the revalidated parts. This has to be done before the\n // cache is updated with the action's flight data again.\n if (revalidatedParts.tag || revalidatedParts.cookie) {\n // Invalidate everything if the tag is set.\n state.prefetchCache.clear();\n } else if (revalidatedParts.paths.length > 0) {\n // Invalidate all subtrees that are below the revalidated paths, and invalidate\n // all the prefetch cache.\n // TODO-APP: Currently the prefetch cache doesn't have subtree information,\n // so we need to invalidate the entire cache if a path was revalidated.\n state.prefetchCache.clear();\n }\n if (redirectLocation) {\n // the redirection might have a flight data associated with it, so we'll populate the cache with it\n if (actionFlightData) {\n const href = (0, _createhreffromurl.createHrefFromUrl)(redirectLocation, false);\n const previousCacheEntry = state.prefetchCache.get(href);\n var _previousCacheEntry_kind;\n state.prefetchCache.set(href, {\n data: (0, _createrecordfromthenable.createRecordFromThenable)(Promise.resolve([\n actionFlightData,\n // TODO-APP: verify the logic around canonical URL overrides\n undefined\n ])),\n kind: (_previousCacheEntry_kind = previousCacheEntry == null ? void 0 : previousCacheEntry.kind) != null ? _previousCacheEntry_kind : _routerreducertypes.PrefetchKind.TEMPORARY,\n prefetchTime: Date.now(),\n treeAtTimeOfPrefetch: action.mutable.previousTree,\n lastUsedTime: null\n });\n }\n // we throw the redirection in the action handler so that it is caught during render\n action.reject((0, _redirect.getRedirectError)(redirectLocation.toString(), _redirect.RedirectType.push));\n } else {\n if (actionFlightData) {\n const href = (0, _createhreffromurl.createHrefFromUrl)(new URL(action.mutable.previousUrl, window.location.origin), false);\n const previousCacheEntry = state.prefetchCache.get(href);\n var _previousCacheEntry_kind1;\n state.prefetchCache.set((0, _createhreffromurl.createHrefFromUrl)(new URL(action.mutable.previousUrl, window.location.origin), false), {\n data: (0, _createrecordfromthenable.createRecordFromThenable)(Promise.resolve([\n actionFlightData,\n // TODO-APP: verify the logic around canonical URL overrides\n undefined\n ])),\n kind: (_previousCacheEntry_kind1 = previousCacheEntry == null ? void 0 : previousCacheEntry.kind) != null ? _previousCacheEntry_kind1 : _routerreducertypes.PrefetchKind.TEMPORARY,\n prefetchTime: Date.now(),\n treeAtTimeOfPrefetch: action.mutable.previousTree,\n lastUsedTime: null\n });\n // this is an intentional hack around React: we want to update the tree in a new render\n setTimeout(()=>{\n action.changeByServerResponse(action.mutable.previousTree, actionFlightData, // TODO-APP: verify the logic around canonical URL overrides\n undefined);\n });\n }\n action.resolve(actionResult);\n }\n } catch (e) {\n if (e.status === \"rejected\") {\n action.reject(e.value);\n } else {\n throw e;\n }\n }\n action.mutable.serverActionApplied = true;\n return state;\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=server-action-reducer.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"serverPatchReducer\", {\n enumerable: true,\n get: function() {\n return serverPatchReducer;\n }\n});\nconst _createhreffromurl = require(\"../create-href-from-url\");\nconst _applyrouterstatepatchtotree = require(\"../apply-router-state-patch-to-tree\");\nconst _isnavigatingtonewrootlayout = require(\"../is-navigating-to-new-root-layout\");\nconst _navigatereducer = require(\"./navigate-reducer\");\nconst _applyflightdata = require(\"../apply-flight-data\");\nconst _handlemutable = require(\"../handle-mutable\");\nfunction serverPatchReducer(state, action) {\n const { flightData , previousTree , overrideCanonicalUrl , cache , mutable } = action;\n const isForCurrentTree = JSON.stringify(previousTree) === JSON.stringify(state.tree);\n // When a fetch is slow to resolve it could be that you navigated away while the request was happening or before the reducer runs.\n // In that case opt-out of applying the patch given that the data could be stale.\n if (!isForCurrentTree) {\n // TODO-APP: Handle tree mismatch\n console.log(\"TREE MISMATCH\");\n // Keep everything as-is.\n return state;\n }\n if (mutable.previousTree) {\n return (0, _handlemutable.handleMutable)(state, mutable);\n }\n // Handle case when navigating to page in `pages` from `app`\n if (typeof flightData === \"string\") {\n return (0, _navigatereducer.handleExternalUrl)(state, mutable, flightData, state.pushRef.pendingPush);\n }\n let currentTree = state.tree;\n let currentCache = state.cache;\n for (const flightDataPath of flightData){\n // Slices off the last segment (which is at -4) as it doesn't exist in the tree yet\n const flightSegmentPath = flightDataPath.slice(0, -4);\n const [treePatch] = flightDataPath.slice(-3, -2);\n const newTree = (0, _applyrouterstatepatchtotree.applyRouterStatePatchToTree)(// TODO-APP: remove ''\n [\n \"\",\n ...flightSegmentPath\n ], currentTree, treePatch);\n if (newTree === null) {\n throw new Error(\"SEGMENT MISMATCH\");\n }\n if ((0, _isnavigatingtonewrootlayout.isNavigatingToNewRootLayout)(currentTree, newTree)) {\n return (0, _navigatereducer.handleExternalUrl)(state, mutable, state.canonicalUrl, state.pushRef.pendingPush);\n }\n const canonicalUrlOverrideHref = overrideCanonicalUrl ? (0, _createhreffromurl.createHrefFromUrl)(overrideCanonicalUrl) : undefined;\n if (canonicalUrlOverrideHref) {\n mutable.canonicalUrl = canonicalUrlOverrideHref;\n }\n (0, _applyflightdata.applyFlightData)(currentCache, cache, flightDataPath);\n mutable.previousTree = currentTree;\n mutable.patchedTree = newTree;\n mutable.cache = cache;\n currentCache = cache;\n currentTree = newTree;\n }\n return (0, _handlemutable.handleMutable)(state, mutable);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=server-patch-reducer.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n PrefetchKind: null,\n ACTION_REFRESH: null,\n ACTION_NAVIGATE: null,\n ACTION_RESTORE: null,\n ACTION_SERVER_PATCH: null,\n ACTION_PREFETCH: null,\n ACTION_FAST_REFRESH: null,\n ACTION_SERVER_ACTION: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n PrefetchKind: function() {\n return PrefetchKind;\n },\n ACTION_REFRESH: function() {\n return ACTION_REFRESH;\n },\n ACTION_NAVIGATE: function() {\n return ACTION_NAVIGATE;\n },\n ACTION_RESTORE: function() {\n return ACTION_RESTORE;\n },\n ACTION_SERVER_PATCH: function() {\n return ACTION_SERVER_PATCH;\n },\n ACTION_PREFETCH: function() {\n return ACTION_PREFETCH;\n },\n ACTION_FAST_REFRESH: function() {\n return ACTION_FAST_REFRESH;\n },\n ACTION_SERVER_ACTION: function() {\n return ACTION_SERVER_ACTION;\n }\n});\nconst ACTION_REFRESH = \"refresh\";\nconst ACTION_NAVIGATE = \"navigate\";\nconst ACTION_RESTORE = \"restore\";\nconst ACTION_SERVER_PATCH = \"server-patch\";\nconst ACTION_PREFETCH = \"prefetch\";\nconst ACTION_FAST_REFRESH = \"fast-refresh\";\nconst ACTION_SERVER_ACTION = \"server-action\";\nvar PrefetchKind;\n(function(PrefetchKind) {\n PrefetchKind[\"AUTO\"] = \"auto\";\n PrefetchKind[\"FULL\"] = \"full\";\n PrefetchKind[\"TEMPORARY\"] = \"temporary\";\n})(PrefetchKind || (PrefetchKind = {}));\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=router-reducer-types.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"reducer\", {\n enumerable: true,\n get: function() {\n return reducer;\n }\n});\nconst _routerreducertypes = require(\"./router-reducer-types\");\nconst _navigatereducer = require(\"./reducers/navigate-reducer\");\nconst _serverpatchreducer = require(\"./reducers/server-patch-reducer\");\nconst _restorereducer = require(\"./reducers/restore-reducer\");\nconst _refreshreducer = require(\"./reducers/refresh-reducer\");\nconst _prefetchreducer = require(\"./reducers/prefetch-reducer\");\nconst _fastrefreshreducer = require(\"./reducers/fast-refresh-reducer\");\nconst _serveractionreducer = require(\"./reducers/server-action-reducer\");\n/**\n * Reducer that handles the app-router state updates.\n */ function clientReducer(state, action) {\n switch(action.type){\n case _routerreducertypes.ACTION_NAVIGATE:\n {\n return (0, _navigatereducer.navigateReducer)(state, action);\n }\n case _routerreducertypes.ACTION_SERVER_PATCH:\n {\n return (0, _serverpatchreducer.serverPatchReducer)(state, action);\n }\n case _routerreducertypes.ACTION_RESTORE:\n {\n return (0, _restorereducer.restoreReducer)(state, action);\n }\n case _routerreducertypes.ACTION_REFRESH:\n {\n return (0, _refreshreducer.refreshReducer)(state, action);\n }\n case _routerreducertypes.ACTION_FAST_REFRESH:\n {\n return (0, _fastrefreshreducer.fastRefreshReducer)(state, action);\n }\n case _routerreducertypes.ACTION_PREFETCH:\n {\n return (0, _prefetchreducer.prefetchReducer)(state, action);\n }\n case _routerreducertypes.ACTION_SERVER_ACTION:\n {\n return (0, _serveractionreducer.serverActionReducer)(state, action);\n }\n // This case should never be hit as dispatch is strongly typed.\n default:\n throw new Error(\"Unknown action\");\n }\n}\nfunction serverReducer(state, _action) {\n return state;\n}\nconst reducer = typeof window === \"undefined\" ? serverReducer : clientReducer;\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=router-reducer.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"shouldHardNavigate\", {\n enumerable: true,\n get: function() {\n return shouldHardNavigate;\n }\n});\nconst _matchsegments = require(\"../match-segments\");\nfunction shouldHardNavigate(flightSegmentPath, flightRouterState) {\n const [segment, parallelRoutes] = flightRouterState;\n // TODO-APP: Check if `as` can be replaced.\n const [currentSegment, parallelRouteKey] = flightSegmentPath;\n // Check if current segment matches the existing segment.\n if (!(0, _matchsegments.matchSegment)(currentSegment, segment)) {\n // If dynamic parameter in tree doesn't match up with segment path a hard navigation is triggered.\n if (Array.isArray(currentSegment)) {\n return true;\n }\n // If the existing segment did not match soft navigation is triggered.\n return false;\n }\n const lastSegment = flightSegmentPath.length <= 2;\n if (lastSegment) {\n return false;\n }\n return shouldHardNavigate(flightSegmentPath.slice(2), parallelRoutes[parallelRouteKey]);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=should-hard-navigate.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"createSearchParamsBailoutProxy\", {\n enumerable: true,\n get: function() {\n return createSearchParamsBailoutProxy;\n }\n});\nconst _staticgenerationbailout = require(\"./static-generation-bailout\");\nfunction createSearchParamsBailoutProxy() {\n return new Proxy({}, {\n get (_target, prop) {\n // React adds some properties on the object when serializing for client components\n if (typeof prop === \"string\") {\n (0, _staticgenerationbailout.staticGenerationBailout)(\"searchParams.\" + prop);\n }\n }\n });\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=searchparams-bailout-proxy.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"staticGenerationBailout\", {\n enumerable: true,\n get: function() {\n return staticGenerationBailout;\n }\n});\nconst _hooksservercontext = require(\"./hooks-server-context\");\nconst _staticgenerationasyncstorage = require(\"./static-generation-async-storage\");\nclass StaticGenBailoutError extends Error {\n constructor(...args){\n super(...args);\n this.code = \"NEXT_STATIC_GEN_BAILOUT\";\n }\n}\nconst staticGenerationBailout = (reason, opts)=>{\n const staticGenerationStore = _staticgenerationasyncstorage.staticGenerationAsyncStorage.getStore();\n if (staticGenerationStore == null ? void 0 : staticGenerationStore.forceStatic) {\n return true;\n }\n if (staticGenerationStore == null ? void 0 : staticGenerationStore.dynamicShouldError) {\n const { dynamic =\"error\" , link } = opts || {};\n const suffix = link ? \" See more info here: \" + link : \"\";\n throw new StaticGenBailoutError('Page with `dynamic = \"' + dynamic + \"\\\"` couldn't be rendered statically because it used `\" + reason + \"`.\" + suffix);\n }\n if (staticGenerationStore) {\n staticGenerationStore.revalidate = 0;\n }\n if (staticGenerationStore == null ? void 0 : staticGenerationStore.isStaticGeneration) {\n const err = new _hooksservercontext.DynamicServerError(reason);\n staticGenerationStore.dynamicUsageDescription = reason;\n staticGenerationStore.dynamicUsageStack = err.stack;\n throw err;\n }\n return false;\n};\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=static-generation-bailout.js.map","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return StaticGenerationSearchParamsBailoutProvider;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _react = /*#__PURE__*/ _interop_require_default._(require(\"react\"));\nconst _searchparamsbailoutproxy = require(\"./searchparams-bailout-proxy\");\n\nfunction StaticGenerationSearchParamsBailoutProvider(param) {\n let { Component , propsForComponent } = param;\n const searchParams = (0, _searchparamsbailoutproxy.createSearchParamsBailoutProxy)();\n return /*#__PURE__*/ _react.default.createElement(Component, {\n searchParams: searchParams,\n ...propsForComponent\n });\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=static-generation-searchparams-bailout-provider.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"useReducerWithReduxDevtools\", {\n enumerable: true,\n get: function() {\n return useReducerWithReduxDevtools;\n }\n});\nconst _react = require(\"react\");\nfunction normalizeRouterState(val) {\n if (val instanceof Map) {\n const obj = {};\n for (const [key, value] of val.entries()){\n if (typeof value === \"function\") {\n obj[key] = \"fn()\";\n continue;\n }\n if (typeof value === \"object\" && value !== null) {\n if (value.$$typeof) {\n obj[key] = value.$$typeof.toString();\n continue;\n }\n if (value._bundlerConfig) {\n obj[key] = \"FlightData\";\n continue;\n }\n }\n obj[key] = normalizeRouterState(value);\n }\n return obj;\n }\n if (typeof val === \"object\" && val !== null) {\n const obj = {};\n for(const key in val){\n const value = val[key];\n if (typeof value === \"function\") {\n obj[key] = \"fn()\";\n continue;\n }\n if (typeof value === \"object\" && value !== null) {\n if (value.$$typeof) {\n obj[key] = value.$$typeof.toString();\n continue;\n }\n if (value.hasOwnProperty(\"_bundlerConfig\")) {\n obj[key] = \"FlightData\";\n continue;\n }\n }\n obj[key] = normalizeRouterState(value);\n }\n return obj;\n }\n if (Array.isArray(val)) {\n return val.map(normalizeRouterState);\n }\n return val;\n}\nfunction devToolReducer(fn, ref) {\n return (state, action)=>{\n const res = fn(state, action);\n if (ref.current) {\n ref.current.send(action, normalizeRouterState(res));\n }\n return res;\n };\n}\nfunction useReducerWithReduxDevtoolsNoop(fn, initialState) {\n const [state, dispatch] = (0, _react.useReducer)(fn, initialState);\n return [\n state,\n dispatch,\n ()=>{}\n ];\n}\nfunction useReducerWithReduxDevtoolsImpl(fn, initialState) {\n const devtoolsConnectionRef = (0, _react.useRef)();\n const enabledRef = (0, _react.useRef)();\n (0, _react.useEffect)(()=>{\n if (devtoolsConnectionRef.current || enabledRef.current === false) {\n return;\n }\n if (enabledRef.current === undefined && typeof window.__REDUX_DEVTOOLS_EXTENSION__ === \"undefined\") {\n enabledRef.current = false;\n return;\n }\n devtoolsConnectionRef.current = window.__REDUX_DEVTOOLS_EXTENSION__.connect({\n instanceId: 8000,\n name: \"next-router\"\n });\n if (devtoolsConnectionRef.current) {\n devtoolsConnectionRef.current.init(normalizeRouterState(initialState));\n }\n return ()=>{\n devtoolsConnectionRef.current = undefined;\n };\n }, [\n initialState\n ]);\n const [state, dispatch] = (0, _react.useReducer)(devToolReducer(/* logReducer( */ fn /*)*/ , devtoolsConnectionRef), initialState);\n const sync = (0, _react.useCallback)(()=>{\n if (devtoolsConnectionRef.current) {\n devtoolsConnectionRef.current.send({\n type: \"RENDER_SYNC\"\n }, normalizeRouterState(state));\n }\n }, [\n state\n ]);\n return [\n state,\n dispatch,\n sync\n ];\n}\nconst useReducerWithReduxDevtools = typeof window !== \"undefined\" ? useReducerWithReduxDevtoolsImpl : useReducerWithReduxDevtoolsNoop;\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=use-reducer-with-devtools.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"normalizePathTrailingSlash\", {\n enumerable: true,\n get: function() {\n return normalizePathTrailingSlash;\n }\n});\nconst _removetrailingslash = require(\"../shared/lib/router/utils/remove-trailing-slash\");\nconst _parsepath = require(\"../shared/lib/router/utils/parse-path\");\nconst normalizePathTrailingSlash = (path)=>{\n if (!path.startsWith(\"/\") || process.env.__NEXT_MANUAL_TRAILING_SLASH) {\n return path;\n }\n const { pathname , query , hash } = (0, _parsepath.parsePath)(path);\n if (process.env.__NEXT_TRAILING_SLASH) {\n if (/\\.[^/]+\\/?$/.test(pathname)) {\n return \"\" + (0, _removetrailingslash.removeTrailingSlash)(pathname) + query + hash;\n } else if (pathname.endsWith(\"/\")) {\n return \"\" + pathname + query + hash;\n } else {\n return pathname + \"/\" + query + hash;\n }\n }\n return \"\" + (0, _removetrailingslash.removeTrailingSlash)(pathname) + query + hash;\n};\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=normalize-trailing-slash.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function() {\n return onRecoverableError;\n }\n});\nconst _nossrerror = require(\"../shared/lib/lazy-dynamic/no-ssr-error\");\nfunction onRecoverableError(err) {\n // Using default react onRecoverableError\n // x-ref: https://github.com/facebook/react/blob/d4bc16a7d69eb2ea38a88c8ac0b461d5f72cdcab/packages/react-dom/src/client/ReactDOMRoot.js#L83\n const defaultOnRecoverableError = typeof reportError === \"function\" ? // emulating an uncaught JavaScript error.\n reportError : (error)=>{\n window.console.error(error);\n };\n // Skip certain custom errors which are not expected to be reported on client\n if (err.digest === _nossrerror.NEXT_DYNAMIC_NO_SSR_CODE) return;\n defaultOnRecoverableError(err);\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=on-recoverable-error.js.map","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n CacheStates: null,\n AppRouterContext: null,\n LayoutRouterContext: null,\n GlobalLayoutRouterContext: null,\n TemplateContext: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n CacheStates: function() {\n return CacheStates;\n },\n AppRouterContext: function() {\n return AppRouterContext;\n },\n LayoutRouterContext: function() {\n return LayoutRouterContext;\n },\n GlobalLayoutRouterContext: function() {\n return GlobalLayoutRouterContext;\n },\n TemplateContext: function() {\n return TemplateContext;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _react = /*#__PURE__*/ _interop_require_default._(require(\"react\"));\n\nvar CacheStates;\n(function(CacheStates) {\n CacheStates[\"LAZY_INITIALIZED\"] = \"LAZYINITIALIZED\";\n CacheStates[\"DATA_FETCH\"] = \"DATAFETCH\";\n CacheStates[\"READY\"] = \"READY\";\n})(CacheStates || (CacheStates = {}));\nconst AppRouterContext = _react.default.createContext(null);\nconst LayoutRouterContext = _react.default.createContext(null);\nconst GlobalLayoutRouterContext = _react.default.createContext(null);\nconst TemplateContext = _react.default.createContext(null);\nif (process.env.NODE_ENV !== \"production\") {\n AppRouterContext.displayName = \"AppRouterContext\";\n LayoutRouterContext.displayName = \"LayoutRouterContext\";\n GlobalLayoutRouterContext.displayName = \"GlobalLayoutRouterContext\";\n TemplateContext.displayName = \"TemplateContext\";\n}\n\n//# sourceMappingURL=app-router-context.js.map","// http://www.cse.yorku.ca/~oz/hash.html\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n djb2Hash: null,\n hexHash: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n djb2Hash: function() {\n return djb2Hash;\n },\n hexHash: function() {\n return hexHash;\n }\n});\nfunction djb2Hash(str) {\n let hash = 5381;\n for(let i = 0; i < str.length; i++){\n const char = str.charCodeAt(i);\n hash = (hash << 5) + hash + char;\n }\n return Math.abs(hash);\n}\nfunction hexHash(str) {\n return djb2Hash(str).toString(36).slice(0, 5);\n}\n\n//# sourceMappingURL=hash.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"HeadManagerContext\", {\n enumerable: true,\n get: function() {\n return HeadManagerContext;\n }\n});\nconst _interop_require_default = require(\"@swc/helpers/_/_interop_require_default\");\nconst _react = /*#__PURE__*/ _interop_require_default._(require(\"react\"));\nconst HeadManagerContext = _react.default.createContext({});\nif (process.env.NODE_ENV !== \"production\") {\n HeadManagerContext.displayName = \"HeadManagerContext\";\n}\n\n//# sourceMappingURL=head-manager-context.js.map","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n SearchParamsContext: null,\n PathnameContext: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n SearchParamsContext: function() {\n return SearchParamsContext;\n },\n PathnameContext: function() {\n return PathnameContext;\n }\n});\nconst _react = require(\"react\");\n\nconst SearchParamsContext = (0, _react.createContext)(null);\nconst PathnameContext = (0, _react.createContext)(null);\nif (process.env.NODE_ENV !== \"production\") {\n SearchParamsContext.displayName = \"SearchParamsContext\";\n PathnameContext.displayName = \"PathnameContext\";\n}\n\n//# sourceMappingURL=hooks-client-context.js.map","// This has to be a shared module which is shared between client component error boundary and dynamic component\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"NEXT_DYNAMIC_NO_SSR_CODE\", {\n enumerable: true,\n get: function() {\n return NEXT_DYNAMIC_NO_SSR_CODE;\n }\n});\nconst NEXT_DYNAMIC_NO_SSR_CODE = \"NEXT_DYNAMIC_NO_SSR_CODE\";\n\n//# sourceMappingURL=no-ssr-error.js.map","/**\n * For a given page path, this function ensures that there is a leading slash.\n * If there is not a leading slash, one is added, otherwise it is noop.\n */ \"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"ensureLeadingSlash\", {\n enumerable: true,\n get: function() {\n return ensureLeadingSlash;\n }\n});\nfunction ensureLeadingSlash(path) {\n return path.startsWith(\"/\") ? path : \"/\" + path;\n}\n\n//# sourceMappingURL=ensure-leading-slash.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"addPathPrefix\", {\n enumerable: true,\n get: function() {\n return addPathPrefix;\n }\n});\nconst _parsepath = require(\"./parse-path\");\nfunction addPathPrefix(path, prefix) {\n if (!path.startsWith(\"/\") || !prefix) {\n return path;\n }\n const { pathname , query , hash } = (0, _parsepath.parsePath)(path);\n return \"\" + prefix + pathname + query + hash;\n}\n\n//# sourceMappingURL=add-path-prefix.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n normalizeAppPath: null,\n normalizeRscPath: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n normalizeAppPath: function() {\n return normalizeAppPath;\n },\n normalizeRscPath: function() {\n return normalizeRscPath;\n }\n});\nconst _ensureleadingslash = require(\"../../page-path/ensure-leading-slash\");\nfunction normalizeAppPath(route) {\n return (0, _ensureleadingslash.ensureLeadingSlash)(route.split(\"/\").reduce((pathname, segment, index, segments)=>{\n // Empty segments are ignored.\n if (!segment) {\n return pathname;\n }\n // Groups are ignored.\n if (segment[0] === \"(\" && segment.endsWith(\")\")) {\n return pathname;\n }\n // Parallel segments are ignored.\n if (segment[0] === \"@\") {\n return pathname;\n }\n // The last segment (if it's a leaf) should be ignored.\n if ((segment === \"page\" || segment === \"route\") && index === segments.length - 1) {\n return pathname;\n }\n return pathname + \"/\" + segment;\n }, \"\"));\n}\nfunction normalizeRscPath(pathname, enabled) {\n return enabled ? pathname.replace(/\\.rsc($|\\?)/, // $1 ensures `?` is preserved\n \"$1\") : pathname;\n}\n\n//# sourceMappingURL=app-paths.js.map","/**\n * Run function with `scroll-behavior: auto` applied to ``.\n * This css change will be reverted after the function finishes.\n */ \"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"handleSmoothScroll\", {\n enumerable: true,\n get: function() {\n return handleSmoothScroll;\n }\n});\nfunction handleSmoothScroll(fn, options) {\n if (options === void 0) options = {};\n const htmlElement = document.documentElement;\n const existing = htmlElement.style.scrollBehavior;\n htmlElement.style.scrollBehavior = \"auto\";\n if (!options.dontForceLayout) {\n // In Chrome-based browsers we need to force reflow before calling `scrollTo`.\n // Otherwise it will not pickup the change in scrollBehavior\n // More info here: https://github.com/vercel/next.js/issues/40719#issuecomment-1336248042\n htmlElement.getClientRects();\n }\n fn();\n htmlElement.style.scrollBehavior = existing;\n}\n\n//# sourceMappingURL=handle-smooth-scroll.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"isBot\", {\n enumerable: true,\n get: function() {\n return isBot;\n }\n});\nfunction isBot(userAgent) {\n return /Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(userAgent);\n}\n\n//# sourceMappingURL=is-bot.js.map","/**\n * Given a path this function will find the pathname, query and hash and return\n * them. This is useful to parse full paths on the client side.\n * @param path A path to parse e.g. /foo/bar?id=1#hash\n */ \"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"parsePath\", {\n enumerable: true,\n get: function() {\n return parsePath;\n }\n});\nfunction parsePath(path) {\n const hashIndex = path.indexOf(\"#\");\n const queryIndex = path.indexOf(\"?\");\n const hasQuery = queryIndex > -1 && (hashIndex < 0 || queryIndex < hashIndex);\n if (hasQuery || hashIndex > -1) {\n return {\n pathname: path.substring(0, hasQuery ? queryIndex : hashIndex),\n query: hasQuery ? path.substring(queryIndex, hashIndex > -1 ? hashIndex : undefined) : \"\",\n hash: hashIndex > -1 ? path.slice(hashIndex) : \"\"\n };\n }\n return {\n pathname: path,\n query: \"\",\n hash: \"\"\n };\n}\n\n//# sourceMappingURL=parse-path.js.map","/**\n * Removes the trailing slash for a given route or page path. Preserves the\n * root page. Examples:\n * - `/foo/bar/` -> `/foo/bar`\n * - `/foo/bar` -> `/foo/bar`\n * - `/` -> `/`\n */ \"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"removeTrailingSlash\", {\n enumerable: true,\n get: function() {\n return removeTrailingSlash;\n }\n});\nfunction removeTrailingSlash(route) {\n return route.replace(/\\/$/, \"\") || \"/\";\n}\n\n//# sourceMappingURL=remove-trailing-slash.js.map","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n ServerInsertedHTMLContext: null,\n useServerInsertedHTML: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n ServerInsertedHTMLContext: function() {\n return ServerInsertedHTMLContext;\n },\n useServerInsertedHTML: function() {\n return useServerInsertedHTML;\n }\n});\nconst _interop_require_wildcard = require(\"@swc/helpers/_/_interop_require_wildcard\");\nconst _react = /*#__PURE__*/ _interop_require_wildcard._(require(\"react\"));\n\nconst ServerInsertedHTMLContext = /*#__PURE__*/ _react.default.createContext(null);\nfunction useServerInsertedHTML(callback) {\n const addInsertedServerHTMLCallback = (0, _react.useContext)(ServerInsertedHTMLContext);\n // Should have no effects on client where there's no flush effects provider\n if (addInsertedServerHTMLCallback) {\n addInsertedServerHTMLCallback(callback);\n }\n}\n\n//# sourceMappingURL=server-inserted-html.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"createAsyncLocalStorage\", {\n enumerable: true,\n get: function() {\n return createAsyncLocalStorage;\n }\n});\nconst sharedAsyncLocalStorageNotAvailableError = new Error(\"Invariant: AsyncLocalStorage accessed in runtime where it is not available\");\nclass FakeAsyncLocalStorage {\n disable() {\n throw sharedAsyncLocalStorageNotAvailableError;\n }\n getStore() {\n // This fake implementation of AsyncLocalStorage always returns `undefined`.\n return undefined;\n }\n run() {\n throw sharedAsyncLocalStorageNotAvailableError;\n }\n exit() {\n throw sharedAsyncLocalStorageNotAvailableError;\n }\n enterWith() {\n throw sharedAsyncLocalStorageNotAvailableError;\n }\n}\nconst maybeGlobalAsyncLocalStorage = globalThis.AsyncLocalStorage;\nfunction createAsyncLocalStorage() {\n if (maybeGlobalAsyncLocalStorage) {\n return new maybeGlobalAsyncLocalStorage();\n }\n return new FakeAsyncLocalStorage();\n}\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=async-local-storage.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"requestAsyncStorage\", {\n enumerable: true,\n get: function() {\n return requestAsyncStorage;\n }\n});\nconst _asynclocalstorage = require(\"./async-local-storage\");\nconst requestAsyncStorage = (0, _asynclocalstorage.createAsyncLocalStorage)();\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=request-async-storage.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"staticGenerationAsyncStorage\", {\n enumerable: true,\n get: function() {\n return staticGenerationAsyncStorage;\n }\n});\nconst _asynclocalstorage = require(\"./async-local-storage\");\nconst staticGenerationAsyncStorage = (0, _asynclocalstorage.createAsyncLocalStorage)();\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=static-generation-async-storage.js.map","'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n exports.createRoot = m.createRoot;\n exports.hydrateRoot = m.hydrateRoot;\n} else {\n var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n exports.createRoot = function (c, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.createRoot(c, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n exports.hydrateRoot = function (c, h, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.hydrateRoot(c, h, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n}\n","'use strict';\n\nfunction checkDCE() {\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n if (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'\n ) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n // This branch is unreachable because this function is only called\n // in production, but the condition is true only in development.\n // Therefore if the branch is still here, dead code elimination wasn't\n // properly applied.\n // Don't change the message. React DevTools relies on it. Also make sure\n // this message doesn't occur elsewhere in this function, or it will cause\n // a false positive.\n throw new Error('^_^');\n }\n try {\n // Verify that the code above has been dead code eliminated (DCE'd).\n __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n } catch (err) {\n // DevTools shouldn't crash React, no matter what.\n // We should still report in case we break this code.\n console.error(err);\n }\n}\n\nif (process.env.NODE_ENV === 'production') {\n // DCE check should happen before ReactDOM bundle executes so that\n // DevTools can report bad minification during injection.\n checkDCE();\n module.exports = require('./cjs/react-dom.production.min.js');\n} else {\n module.exports = require('./cjs/react-dom.development.js');\n}\n","/**\n * @license React\n * react-server-dom-webpack-client.browser.production.min.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var r=require(\"react-dom\"),t=require(\"react\"),u={stream:!0};function v(a,b){if(a){var c=a[b.id];if(a=c[b.name])c=a.name;else{a=c[\"*\"];if(!a)throw Error('Could not find the module \"'+b.id+'\" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b.name}return{id:a.id,chunks:a.chunks,name:c,async:!!b.async}}return b}var w=new Map;\nfunction x(a){var b=globalThis.__next_require__(a);if(\"function\"!==typeof b.then||\"fulfilled\"===b.status)return null;b.then(function(c){b.status=\"fulfilled\";b.value=c},function(c){b.status=\"rejected\";b.reason=c});return b}function y(){}\nfunction z(a){for(var b=a.chunks,c=[],d=0;dk?(g=k,k=3,f++):(g=0,k=3);continue;case 2:p=n[f++];44===p?k=4:m=m<<4|(96n.length&&(p=-1)}var q=n.byteOffset+f;if(-1>>1,e=a[d];if(0>>1;dg(D,c))ng(x,D)?(a[d]=x,a[n]=c,d=n):(a[d]=D,a[m]=c,d=m);else if(ng(x,c))a[d]=x,a[n]=c,d=n;else break a}}return b}\nfunction g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}exports.unstable_now=void 0;if(\"object\"===typeof performance&&\"function\"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,r=p.now();exports.unstable_now=function(){return p.now()-r}}\nvar t=[],u=[],v=1,w=null,y=3,z=!1,A=!1,B=!1,C=\"function\"===typeof setTimeout?setTimeout:null,E=\"function\"===typeof clearTimeout?clearTimeout:null,F=\"undefined\"!==typeof setImmediate?setImmediate:null;\"undefined\"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending?navigator.scheduling.isInputPending.bind(navigator.scheduling):null;\nfunction G(a){for(var b=h(u);null!==b;){if(null===b.callback)k(u);else if(b.startTime<=a)k(u),b.sortIndex=b.expirationTime,f(t,b);else break;b=h(u)}}function H(a){B=!1;G(a);if(!A)if(null!==h(t))A=!0,I(J);else{var b=h(u);null!==b&&K(H,b.startTime-a)}}\nfunction J(a,b){A=!1;B&&(B=!1,E(L),L=-1);z=!0;var c=y;try{a:{G(b);for(w=h(t);null!==w&&(!(w.expirationTime>b)||a&&!M());){var d=w.callback;if(\"function\"===typeof d){w.callback=null;y=w.priorityLevel;var e=d(w.expirationTime<=b);b=exports.unstable_now();if(\"function\"===typeof e){w.callback=e;G(b);var q=!0;break a}else w===h(t)&&k(t),G(b)}else k(t);w=h(t)}if(null!==w)q=!0;else{var m=h(u);null!==m&&K(H,m.startTime-b);q=!1}}return q}finally{w=null,y=c,z=!1}}var N=!1,O=null,L=-1,P=5,Q=-1;\nfunction M(){return exports.unstable_now()-Qa||125d?(a.sortIndex=c,f(u,a),null===h(t)&&a===h(u)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(t,a),A||z||(A=!0,I(J)));return a};\nexports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c}}};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"getSegmentParam\", {\n enumerable: true,\n get: function() {\n return getSegmentParam;\n }\n});\nconst _interceptionroutes = require(\"../future/helpers/interception-routes\");\nfunction getSegmentParam(segment) {\n const interceptionMarker = _interceptionroutes.INTERCEPTION_ROUTE_MARKERS.find((marker)=>segment.startsWith(marker));\n // if an interception marker is part of the path segment, we need to jump ahead\n // to the relevant portion for param parsing\n if (interceptionMarker) {\n segment = segment.slice(interceptionMarker.length);\n }\n if (segment.startsWith(\"[[...\") && segment.endsWith(\"]]\")) {\n return {\n type: \"optional-catchall\",\n param: segment.slice(5, -2)\n };\n }\n if (segment.startsWith(\"[...\") && segment.endsWith(\"]\")) {\n return {\n type: \"catchall\",\n param: segment.slice(4, -1)\n };\n }\n if (segment.startsWith(\"[\") && segment.endsWith(\"]\")) {\n return {\n type: \"dynamic\",\n param: segment.slice(1, -1)\n };\n }\n return null;\n}\n\n//# sourceMappingURL=get-segment-param.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n INTERCEPTION_ROUTE_MARKERS: null,\n isInterceptionRouteAppPath: null,\n extractInterceptionRouteInformation: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n INTERCEPTION_ROUTE_MARKERS: function() {\n return INTERCEPTION_ROUTE_MARKERS;\n },\n isInterceptionRouteAppPath: function() {\n return isInterceptionRouteAppPath;\n },\n extractInterceptionRouteInformation: function() {\n return extractInterceptionRouteInformation;\n }\n});\nconst _apppaths = require(\"../../../shared/lib/router/utils/app-paths\");\nconst INTERCEPTION_ROUTE_MARKERS = [\n \"(..)(..)\",\n \"(.)\",\n \"(..)\",\n \"(...)\"\n];\nfunction isInterceptionRouteAppPath(path) {\n // TODO-APP: add more serious validation\n return path.split(\"/\").find((segment)=>INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m))) !== undefined;\n}\nfunction extractInterceptionRouteInformation(path) {\n let interceptingRoute, marker, interceptedRoute;\n for (const segment of path.split(\"/\")){\n marker = INTERCEPTION_ROUTE_MARKERS.find((m)=>segment.startsWith(m));\n if (marker) {\n [interceptingRoute, interceptedRoute] = path.split(marker, 2);\n break;\n }\n }\n if (!interceptingRoute || !marker || !interceptedRoute) {\n throw new Error(`Invalid interception route: ${path}. Must be in the format //(..|...|..)(..)/`);\n }\n interceptingRoute = (0, _apppaths.normalizeAppPath)(interceptingRoute) // normalize the path, e.g. /(blog)/feed -> /feed\n ;\n switch(marker){\n case \"(.)\":\n // (.) indicates that we should match with sibling routes, so we just need to append the intercepted route to the intercepting route\n if (interceptingRoute === \"/\") {\n interceptedRoute = `/${interceptedRoute}`;\n } else {\n interceptedRoute = interceptingRoute + \"/\" + interceptedRoute;\n }\n break;\n case \"(..)\":\n // (..) indicates that we should match at one level up, so we need to remove the last segment of the intercepting route\n if (interceptingRoute === \"/\") {\n throw new Error(`Invalid interception route: ${path}. Cannot use (..) marker at the root level, use (.) instead.`);\n }\n interceptedRoute = interceptingRoute.split(\"/\").slice(0, -1).concat(interceptedRoute).join(\"/\");\n break;\n case \"(...)\":\n // (...) will match the route segment in the root directory, so we need to use the root directory to prepend the intercepted route\n interceptedRoute = \"/\" + interceptedRoute;\n break;\n case \"(..)(..)\":\n // (..)(..) indicates that we should match at two levels up, so we need to remove the last two segments of the intercepting route\n const splitInterceptingRoute = interceptingRoute.split(\"/\");\n if (splitInterceptingRoute.length <= 2) {\n throw new Error(`Invalid interception route: ${path}. Cannot use (..)(..) marker at the root level or one level up.`);\n }\n interceptedRoute = splitInterceptingRoute.slice(0, -2).concat(interceptedRoute).join(\"/\");\n break;\n default:\n throw new Error(\"Invariant: unexpected marker\");\n }\n return {\n interceptingRoute,\n interceptedRoute\n };\n}\n\n//# sourceMappingURL=interception-routes.js.map","export function _interop_require_default(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nexport { _interop_require_default as _ };\n","function _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n\n return (_getRequireWildcardCache = function(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\nexport function _interop_require_wildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) return obj;\n if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") return { default: obj };\n\n var cache = _getRequireWildcardCache(nodeInterop);\n\n if (cache && cache.has(obj)) return cache.get(obj);\n\n var newObj = {};\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n\n for (var key in obj) {\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n if (desc && (desc.get || desc.set)) Object.defineProperty(newObj, key, desc);\n else newObj[key] = obj[key];\n }\n }\n\n newObj.default = obj;\n\n if (cache) cache.set(obj, newObj);\n\n return newObj;\n}\nexport { _interop_require_wildcard as _ };\n"],"names":["String","prototype","trimStart","trimLeft","trimEnd","trimRight","Symbol","Object","defineProperty","configurable","get","t","exec","toString","Array","flat","r","concat","apply","some","isArray","flatMap","map","Promise","finally","then","constructor","o","resolve","fromEntries","from","reduce","value","enumerable","addBasePath","_addpathprefix","require","_normalizetrailingslash","path","required","normalizePathTrailingSlash","addPathPrefix","exports","default","__esModule","assign","module","appBootstrap","callback","scripts","hydrate","self","__next_s","length","promise","param","src","props","reject","el","document","createElement","key","setAttribute","onload","onerror","innerHTML","children","setTimeout","head","appendChild","catch","console","error","err","window","next","version","appDir","callServer","_approuter","actionId","actionArgs","actionDispatcher","getServerActionDispatcher","initialServerDataBuffer","initialServerDataWriter","_interop_require_default","_interop_require_wildcard","_client","_","_react","_client1","_headmanagercontext","_onrecoverableerror","_appcallserver","_isnextroutererror","origConsoleError","_len","arguments","args","_key","isNextRouterError","addEventListener","ev","preventDefault","addChunkSuffix","getOriginalChunk","chunkId","getChunkScriptFilename","__webpack_require__","u","chunkFilenameMap","encodeURI","getChunkCssFilename","k","getMiniCssFilename","miniCssF","__next_require__","__next_chunk_load__","chunk","chunkFilePath","split","__webpack_chunk_load__","appElement","getCacheKey","pathname","search","location","encoder","TextEncoder","initialServerDataLoaded","initialServerDataFlushed","nextServerDataCallback","seg","enqueue","encode","push","DOMContentLoaded","close","undefined","readyState","nextServerDataLoadingGlobal","__next_f","forEach","rscCache","Map","ServerRoot","cacheKey","useEffect","delete","response","useInitialServerResponse","readable","ReadableStream","start","controller","ctr","val","newResponse","createFromReadableStream","set","root","use","StrictModeIfEnabled","Fragment","Root","RSCComponent","reactEl","HeadManagerContext","Provider","options","onRecoverableError","isError","documentElement","id","createRoot","render","startTransition","hydrateRoot","_appbootstrap","AppRouterAnnouncer","_reactdom","ANNOUNCER_TYPE","tree","portalNode","setPortalNode","useState","announcer","getAnnouncerNode","_existingAnnouncer_shadowRoot","existingAnnouncer","getElementsByName","shadowRoot","childNodes","container","style","cssText","ariaLive","role","shadow","attachShadow","mode","body","getElementsByTagName","isConnected","removeChild","routeAnnouncement","setRouteAnnouncement","previousTitle","useRef","currentTitle","title","pageHeader","querySelector","innerText","textContent","current","createPortal","_export","target","all","name","RSC","ACTION","NEXT_ROUTER_STATE_TREE","NEXT_ROUTER_PREFETCH","NEXT_URL","FETCH_CACHE_HEADER","RSC_CONTENT_TYPE_HEADER","RSC_VARY_HEADER","FLIGHT_PARAMETERS","NEXT_RSC_UNION_QUERY","urlToUrlWithoutFlightMarker","AppRouter","_approutercontext","_routerreducer","_routerreducertypes","_createhreffromurl","_hooksclientcontext","_usereducerwithdevtools","_errorboundary","_createinitialrouterstate","_isbot","_addbasepath","_approuterannouncer","_redirectboundary","_notfoundboundary","_findheadincache","_infinitepromise","_approuterheaders","initialParallelRoutes","globalServerActionDispatcher","url","urlWithoutFlightParameters","URL","origin","searchParams","isExternalURL","HistoryUpdater","pushRef","canonicalUrl","sync","useInsertionEffect","historyState","__NA","pendingPush","createHrefFromUrl","href","history","pushState","replaceState","createEmptyCacheNode","status","CacheStates","LAZY_INITIALIZED","data","subTreeData","parallelRoutes","Router","buildId","initialHead","initialTree","initialCanonicalUrl","assetPrefix","notFound","asNotFound","initialState","useMemo","createInitialRouterState","isServer","cache","prefetchCache","focusAndScrollRef","nextUrl","dispatch","useReducerWithReduxDevtools","reducer","changeByServerResponse","useCallback","previousTree","flightData","overrideCanonicalUrl","type","ACTION_SERVER_PATCH","mutable","navigate","navigateType","forceOptimisticNavigation","shouldScroll","ACTION_NAVIGATE","isExternalUrl","locationSearch","useServerActionDispatcher","serverActionDispatcher","actionPayload","ACTION_SERVER_ACTION","appRouter","routerInstance","back","forward","prefetch","isBot","navigator","userAgent","_options_kind","ACTION_PREFETCH","kind","PrefetchKind","FULL","replace","_options_scroll","Boolean","scroll","refresh","ACTION_REFRESH","fastRefresh","router","mpaNavigation","location1","createInfinitePromise","onPopState","state","reload","ACTION_RESTORE","removeEventListener","findHeadInCache","content","RedirectBoundary","PathnameContext","SearchParamsContext","GlobalLayoutRouterContext","AppRouterContext","LayoutRouterContext","NotFoundBoundary","globalErrorComponent","rest","ErrorBoundary","errorComponent","clientHookInServerComponentError","hookName","ErrorBoundaryHandler","GlobalError","_navigation","styles","fontFamily","height","textAlign","display","flexDirection","alignItems","justifyContent","text","fontSize","fontWeight","lineHeight","margin","Component","getDerivedStateFromError","getDerivedStateFromProps","previousPathname","errorStyles","reset","setState","digest","usePathname","DYNAMIC_ERROR_CODE","DynamicServerError","Error","infinitePromise","_notfound","_redirect","isRedirectError","isNotFoundError","OuterLayoutRouter","_fetchserverresponse","_matchsegments","_handlesmoothscroll","_getsegmentvalue","_createroutercachekey","rectProperties","topOfElementInViewport","element","viewportHeight","rect","getBoundingClientRect","top","InnerScrollAndFocusHandler","componentDidMount","handlePotentialScroll","componentDidUpdate","segmentPath","_document_getElementById","segmentPaths","every","segment","index","matchSegment","scrollRefSegmentPath","domNode","hashFragment","getElementById","findDOMNode","Element","HTMLElement","elementCanScroll","item","nextElementSibling","handleSmoothScroll","scrollIntoView","htmlElement","clientHeight","scrollTop","dontForceLayout","focus","ScrollAndFocusHandler","context","useContext","InnerLayoutRouter","parallelRouterKey","childProp","fullTree","childNode","READY","refetchTree","walkAddRefetch","segmentPathToWalk","treeToRecreate","parallelRouteKey","isLast","hasOwnProperty","subTree","slice","DATA_FETCH","fetchServerResponse","subtree","LoadingBoundary","loading","loadingStyles","hasLoading","Suspense","fallback","templateStyles","template","notFoundStyles","childNodesForParallelRouter","treeSegment","childPropSegment","currentChildSegmentValue","getSegmentValue","preservedSegments","isChildPropSegment","preservedSegment","preservedSegmentValue","createRouterCacheKey","TemplateContext","isActive","canSegmentBeOverridden","_getsegmentparam","existingSegment","_getSegmentParam","getSegmentParam","ReadonlyURLSearchParams","useSearchParams","ServerInsertedHTMLContext","_serverinsertedhtml","useServerInsertedHTML","useRouter","useParams","useSelectedLayoutSegments","useSelectedLayoutSegment","redirect","_clienthookinservercomponenterror","INTERNAL_URLSEARCHPARAMS_INSTANCE","readonlyURLSearchParamsError","iterator","append","sort","urlSearchParams","entries","bind","getAll","has","keys","values","readonlySearchParams","globalLayoutRouterContext","getSelectedParams","params","parallelRoute","isDynamicParameter","segmentValue","startsWith","isCatchAll","getSelectedLayoutSegmentPath","first","node","_parallelRoutes_children","selectedLayoutSegments","NotFoundErrorBoundary","notFoundTriggered","NOT_FOUND_ERROR_CODE","RedirectErrorBoundary","HandleRedirect","redirectType","RedirectType","getURLFromRedirectError","getRedirectTypeFromError","getRedirectError","_requestasyncstorage","REDIRECT_ERROR_CODE","requestStore","requestAsyncStorage","getStore","mutableCookies","errorCode","destination","RenderFromTemplateContext","applyFlightData","_filllazyitemstillleafwithhead","_fillcachewithnewsubtreedata","existingCache","flightDataPath","wasPrefetched","treePatch","fillLazyItemsTillLeafWithHead","fillCacheWithNewSubTreeData","applyRouterStatePatchToTree","flightSegmentPath","flightRouterState","parallelRoutePatch","isRootLayout","applyPatch","currentSegment","lastSegment","patchTree","initialSegment","patchSegment","patchParallelRoutes","newParallelRoutes","isInPatchTreeParallelRoutes","extractPathFromFlightRouterState","computeChangedPath","_interceptionroutes","segmentToPathname","normalizePathname","acc","endsWith","_flightRouterState_","INTERCEPTION_ROUTE_MARKERS","m","childrenPath","childPath","join","treeA","treeB","changedPath","computeChangedPathImpl","segmentA","parallelRoutesA","segmentB","parallelRoutesB","normalizedSegmentA","normalizedSegmentB","_extractPathFromFlightRouterState","includeHash","hash","_computechangedpath","_ref","size","createOptimisticTree","segments","parentRefetch","childTree","existingParallelRoutes","isLastSegment","segmentMatches","hasMultipleParallelRoutes","shouldRefetchThisLevel","childItem","result","createRecordFromThenable","thenable","withoutSearchParameters","_hash","doMpaNavigation","currentBuildId","prefetchKind","headers","encodeURIComponent","JSON","stringify","AUTO","uniqueCacheQuery","hexHash","fetchUrl","res","fetch","credentials","responseUrl","redirected","contentType","ok","createFromFetch","fillCacheWithDataProperty","newCache","fetchResponse","bailOnParallelRoutes","isLastEntry","existingChildSegmentMap","bailOptimistic","childSegmentMap","existingChildCacheNode","childCacheNode","_invalidatecachebyrouterstate","invalidateCacheByRouterState","routerState","parallelRouteState","segmentForParallelRoute","existingParallelRoutesCacheNode","parallelRouteCacheNode","existingCacheNode","newCacheNode","PrefetchCacheEntryStatus","getPrefetchEntryCacheStatus","prefetchTime","lastUsedTime","now","Date","handleMutable","_mutable_shouldScroll","_mutable_scrollableSegments","_computeChangedPath","scrollableSegments","decodeURIComponent","patchedTree","invalidateCacheBelowFlightSegmentPath","isNavigatingToNewRootLayout","currentTree","nextTree","currentTreeSegment","nextTreeSegment","currentTreeChild","nextTreeChild","readRecordValue","fastRefreshReducer","_action","isLastItem","childParallelRoutes","cacheNode","handleExternalUrl","navigateReducer","_createrecordfromthenable","_readrecordvalue","_invalidatecachebelowflightsegmentpath","_fillcachewithdataproperty","_createoptimistictree","_applyrouterstatepatchtotree","_shouldhardnavigate","_isnavigatingtonewrootlayout","_handlemutable","_applyflightdata","_getprefetchcacheentrystatus","_pruneprefetchcache","generateSegmentsFromPatch","flightRouterPatch","childSegment","action","prunePrefetchCache","isForCurrentTree","prefetchValues","TEMPORARY","optimisticTree","temporaryCacheNode","optimisticFlightSegmentPath","treeAtTimeOfPrefetch","newPrefetchValue","prefetchEntryCacheStatus","canonicalUrlOverride","currentCache","flightSegmentPathWithLeadingEmpty","newTree","applied","reusable","stale","addRefetchToLeafSegments","appliedPatch","segmentPathsToFill","hardNavigate","shouldHardNavigate","subSegment","scrollableSegmentPath","prefetchReducer","cacheEntry","serverResponse","prefetchCacheEntry","expired","refreshReducer","_navigatereducer","log","canonicalUrlOverrideHref","restoreReducer","serverActionReducer","fetchServerAction","revalidatedParts","encodeReply","method","Accept","revalidatedHeader","parse","paths","tag","cookie","e","redirectLocation","payload","actionFlightData","actionResult","serverActionApplied","inFlightServerAction","previousUrl","_previousCacheEntry_kind","_previousCacheEntry_kind1","clear","previousCacheEntry","serverPatchReducer","ACTION_FAST_REFRESH","_serverpatchreducer","_restorereducer","_refreshreducer","_prefetchreducer","_fastrefreshreducer","_serveractionreducer","createSearchParamsBailoutProxy","_staticgenerationbailout","Proxy","_target","prop","staticGenerationBailout","_hooksservercontext","_staticgenerationasyncstorage","StaticGenBailoutError","code","reason","opts","staticGenerationStore","staticGenerationAsyncStorage","forceStatic","dynamicShouldError","dynamic","link","revalidate","isStaticGeneration","dynamicUsageDescription","dynamicUsageStack","stack","StaticGenerationSearchParamsBailoutProvider","_searchparamsbailoutproxy","propsForComponent","normalizeRouterState","obj","$$typeof","_bundlerConfig","fn","devtoolsConnectionRef","enabledRef","__REDUX_DEVTOOLS_EXTENSION__","connect","instanceId","init","useReducer","ref","send","_removetrailingslash","_parsepath","query","parsePath","removeTrailingSlash","_nossrerror","defaultOnRecoverableError","reportError","NEXT_DYNAMIC_NO_SSR_CODE","createContext","djb2Hash","str","i","char","charCodeAt","Math","abs","ensureLeadingSlash","prefix","normalizeAppPath","normalizeRscPath","_ensureleadingslash","route","enabled","existing","scrollBehavior","getClientRects","test","hashIndex","indexOf","queryIndex","hasQuery","substring","addInsertedServerHTMLCallback","createAsyncLocalStorage","sharedAsyncLocalStorageNotAvailableError","FakeAsyncLocalStorage","disable","run","exit","enterWith","maybeGlobalAsyncLocalStorage","globalThis","AsyncLocalStorage","_asynclocalstorage","checkDCE","__REACT_DEVTOOLS_GLOBAL_HOOK__","stream","w","x","a","b","c","y","A","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","Dispatcher","B","for","C","E","F","I","J","WeakMap","K","ContextRegistry","L","d","_response","ca","M","N","O","Q","R","S","create","T","U","_fromJSON","deps","l","async","V","_chunks","W","X","ia","Y","_callServer","_stringDecoder","TextDecoder","_rowState","_rowID","_rowTag","_rowLength","_buffer","ha","_payload","parseInt","_init","createServerContext","fa","call","h","bound","n","Set","Infinity","NaN","BigInt","da","_owner","Z","getReader","read","done","f","g","D","p","q","byteOffset","Uint8Array","buffer","P","H","decode","ka","v","chunks","z","prefetchDNS","preconnect","preload","preinit","message","byteLength","createServerReference","FormData","Number","isFinite","description","isMounted","enqueueForceUpdate","enqueueReplaceState","enqueueSetState","G","refs","updater","isReactComponent","forceUpdate","isPureReactComponent","__self","__source","defaultProps","ba","_status","_result","s","transition","ReactCurrentDispatcher","ReactCurrentCache","ReactCurrentBatchConfig","ReactCurrentOwner","Children","count","toArray","only","Profiler","PureComponent","StrictMode","getCacheForType","cloneElement","_currentValue","_currentValue2","_threadCount","Consumer","_defaultValue","_globalName","_context","createFactory","createRef","forwardRef","isValidElement","lazy","memo","compare","unstable_act","unstable_useCacheRefresh","useCacheRefresh","useDebugValue","useDeferredValue","useId","useImperativeHandle","useLayoutEffect","useSyncExternalStore","useTransition","pop","sortIndex","unstable_now","performance","clearTimeout","setImmediate","startTime","expirationTime","priorityLevel","scheduling","isInputPending","MessageChannel","port2","port1","onmessage","postMessage","unstable_IdlePriority","unstable_ImmediatePriority","unstable_LowPriority","unstable_NormalPriority","unstable_Profiling","unstable_UserBlockingPriority","unstable_cancelCallback","unstable_continueExecution","unstable_forceFrameRate","floor","unstable_getCurrentPriorityLevel","unstable_getFirstCallbackNode","unstable_next","unstable_pauseExecution","unstable_requestPaint","unstable_runWithPriority","unstable_scheduleCallback","delay","unstable_shouldYield","unstable_wrapCallback","interceptionMarker","find","marker","isInterceptionRouteAppPath","extractInterceptionRouteInformation","_apppaths","interceptingRoute","interceptedRoute","splitInterceptingRoute","_getRequireWildcardCache","nodeInterop","cacheBabelInterop","cacheNodeInterop","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","desc"],"sourceRoot":""}