{"version":3,"sources":["../../../../src/client/components/segment-cache/navigation-testing-lock.disabled.ts"],"sourcesContent":["/**\n * Inert stand-in for `./navigation-testing-lock`.\n *\n * When the Instant Navigation Testing API is disabled (a production build\n * without `experimental.exposeTestingApiInProductionBuild`), the browser\n * bundle resolves `./navigation-testing-lock` to this module instead of the\n * real implementation, so none of the lock machinery ships. The alias is set\n * up in `create-compiler-aliases.ts` (webpack) and\n * `crates/next-core/src/next_import_map.rs` (Turbopack).\n *\n * Every export mirrors the real module's signature and returns the value the\n * real implementation produces when no lock is held.\n */\n\nimport type { FlightRouterState } from '../../../shared/lib/app-router-types'\nimport type { SegmentCacheEntry } from './cache'\nimport type { CacheMap } from './cache-map'\nimport type { FetchStrategy } from './types'\nimport type { NavigationLockPrefetch } from './navigation-testing-lock'\n\nexport type {\n  NavigationLockPrefetch,\n  NavigationLockState,\n} from './navigation-testing-lock'\n\nexport function getPreLockFetch(): typeof fetch | null {\n  return null\n}\n\nexport function beginNavigationLockPrefetch(): NavigationLockPrefetch | null {\n  return null\n}\n\nexport function getNavigationLockSegmentCacheMap(): CacheMap<SegmentCacheEntry> | null {\n  return null\n}\n\nexport function resolveNavigationLockPrefetch(\n  _prefetch: NavigationLockPrefetch\n): void {}\n\nexport function startListeningForInstantNavigationCookie(): void {}\n\nexport function updateCapturedSPAToTree(\n  _fromTree: FlightRouterState,\n  _toTree: FlightRouterState\n): void {}\n\nexport function isNavigationLocked(): boolean {\n  return false\n}\n\nexport function beginLockedNavigation(): Promise<void> | null {\n  return null\n}\n\nexport function getCurrentNavigationGate(): Promise<void> | null {\n  return null\n}\n\nexport function resetNavigationLockToPending(): void {}\n\nexport function shouldRestrictNavigationToShell(\n  _rootPrefetchHints: number,\n  _linkFetchStrategy: FetchStrategy\n): boolean {\n  return false\n}\n"],"names":["beginLockedNavigation","beginNavigationLockPrefetch","getCurrentNavigationGate","getNavigationLockSegmentCacheMap","getPreLockFetch","isNavigationLocked","resetNavigationLockToPending","resolveNavigationLockPrefetch","shouldRestrictNavigationToShell","startListeningForInstantNavigationCookie","updateCapturedSPAToTree","_prefetch","_fromTree","_toTree","_rootPrefetchHints","_linkFetchStrategy"],"mappings":"AAAA;;;;;;;;;;;;CAYC;;;;;;;;;;;;;;;;;;;;;;;;IAwCeA,qBAAqB;eAArBA;;IAvBAC,2BAA2B;eAA3BA;;IA2BAC,wBAAwB;eAAxBA;;IAvBAC,gCAAgC;eAAhCA;;IARAC,eAAe;eAAfA;;IAuBAC,kBAAkB;eAAlBA;;IAYAC,4BAA4B;eAA5BA;;IAvBAC,6BAA6B;eAA7BA;;IAyBAC,+BAA+B;eAA/BA;;IArBAC,wCAAwC;eAAxCA;;IAEAC,uBAAuB;eAAvBA;;;AAlBT,SAASN;IACd,OAAO;AACT;AAEO,SAASH;IACd,OAAO;AACT;AAEO,SAASE;IACd,OAAO;AACT;AAEO,SAASI,8BACdI,SAAiC,GAC1B;AAEF,SAASF,4CAAkD;AAE3D,SAASC,wBACdE,SAA4B,EAC5BC,OAA0B,GACnB;AAEF,SAASR;IACd,OAAO;AACT;AAEO,SAASL;IACd,OAAO;AACT;AAEO,SAASE;IACd,OAAO;AACT;AAEO,SAASI,gCAAsC;AAE/C,SAASE,gCACdM,kBAA0B,EAC1BC,kBAAiC;IAEjC,OAAO;AACT","ignoreList":[0]}