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

1 line
9.7 KiB
Plaintext
Raw Normal View History

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