securityos/node_modules/next/dist/esm/client/components/layout-router.js.map

1 line
9.8 KiB
Plaintext
Raw Normal View History

2024-09-06 15:32:35 +00:00
{"version":3,"sources":["../../../src/client/components/layout-router.tsx"],"names":["React","useContext","use","startTransition","Suspense","ReactDOM","CacheStates","LayoutRouterContext","GlobalLayoutRouterContext","TemplateContext","fetchServerResponse","createInfinitePromise","ErrorBoundary","matchSegment","handleSmoothScroll","RedirectBoundary","NotFoundBoundary","getSegmentValue","createRouterCacheKey","createRecordFromThenable","walkAddRefetch","segmentPathToWalk","treeToRecreate","segment","parallelRouteKey","isLast","length","hasOwnProperty","subTree","undefined","slice","findDOMNode","instance","window","process","env","NODE_ENV","originalConsoleError","console","error","messages","includes","rectProperties","shouldSkipElement","element","getComputedStyle","position","warn","rect","getBoundingClientRect","every","item","topOfElementInViewport","viewportHeight","top","getHashFragmentDomNode","hashFragment","document","body","getElementById","getElementsByName","InnerScrollAndFocusHandler","Component","componentDidMount","handlePotentialScroll","componentDidUpdate","props","focusAndScrollRef","apply","render","children","segmentPath","segmentPaths","some","scrollRefSegmentPath","index","domNode","Element","HTMLElement","nextElementSibling","scrollIntoView","htmlElement","documentElement","clientHeight","scrollTop","dontForceLayout","onlyHashChange","focus","ScrollAndFocusHandler","context","Error","InnerLayoutRouter","parallelRouterKey","url","childNodes","childProp","tree","cacheKey","buildId","changeByServerResponse","fullTree","childNode","get","current","status","READY","data","subTreeData","parallelRoutes","Map","set","LAZY_INITIALIZED","refetchTree","DATA_FETCH","URL","location","origin","nextUrl","head","flightData","overrideCanonicalUrl","setTimeout","subtree","Provider","value","LoadingBoundary","loading","loadingStyles","hasLoading","fallback","OuterLayoutRouter","errorStyles","templateStyles","template","notFound","notFoundStyles","styles","childNodesForParallelRouter","treeSegment","childPropSegment","currentChildSegmentValue","preservedSegments","map","preservedSegment","isChildPropSegment","preservedSegmentValue","key","errorComponent","isActive"],"mappings":"AAAA;AAYA,OAAOA,SAASC,UAAU,EAAEC,GAAG,EAAEC,eAAe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