securityos/node_modules/next/dist/server/app-render/app-render.js.map

1 line
17 KiB
Plaintext

{"version":3,"sources":["../../../src/server/app-render/app-render.tsx"],"names":["renderToHTMLOrFlight","createNotFoundLoaderTree","loaderTree","findDynamicParamFromRouterState","providedFlightRouterState","segment","treeSegment","canSegmentBeOverridden","Array","isArray","param","value","type","parallelRouterState","Object","values","maybeDynamicParam","makeGetDynamicParamFromSegment","params","getDynamicParamFromSegment","segmentParam","getSegmentParam","key","undefined","map","i","encodeURIComponent","dynamicParamTypes","getShortDynamicParamType","join","generateFlight","ctx","options","flightData","componentMod","tree","renderToReadableStream","appUsingSizeAdjustment","staticGenerationStore","urlPathname","providedSearchParams","requestId","skipFlight","MetadataTree","MetadataOutlet","createMetadataComponents","pathname","searchParams","walkTreeWithFlightRouterState","createSegmentPath","child","loaderTreeToFilter","parentParams","flightRouterState","isFirst","rscPayloadHead","injectedCSS","Set","injectedFontPreloadTags","rootLayoutIncluded","asNotFound","isNotFoundPath","metadataOutlet","path","slice","buildIdFlightDataPair","renderOpts","buildId","flightReadableStream","actionResult","clientReferenceManifest","clientModules","context","serverContexts","onError","flightDataRendererErrorHandler","pipeThrough","createBufferedTransformStream","FlightRenderResult","createServerComponentsRenderer","loaderTreeToRender","preinitScripts","formState","serverComponentsRenderOpts","nonce","createServerComponentRenderer","props","query","AppRouter","GlobalError","initialTree","createFlightRouterStateFromLoaderTree","errorType","Component","ComponentTree","styles","createComponentTree","firstItem","assetPrefix","initialCanonicalUrl","initialHead","res","statusCode","meta","name","content","globalErrorComponent","serverComponentsErrorHandler","renderToHTMLOrFlightImpl","req","pagePath","baseCtx","getTracer","isFlight","headers","RSC","toLowerCase","requestTimestamp","Date","now","buildManifest","subresourceIntegrityManifest","serverActionsManifest","ComponentMod","dev","nextFontManifest","supportsDynamicHTML","serverActionsBodySizeLimit","appDirDevErrorLogger","__next_app__","globalThis","__next_require__","require","__next_chunk_load__","loadChunk","extraRenderResultMeta","appUsingSizeAdjust","capturedErrors","allCapturedErrors","isNextExport","nextExport","createErrorHandler","_source","errorLogger","htmlRendererErrorHandler","patchFetch","generateStaticHTML","createSearchParamsBailoutProxy","requestStore","fetchMetrics","stripInternalQueries","isPrefetch","NEXT_ROUTER_PREFETCH","parseAndValidateFlightRouterState","NEXT_ROUTER_STATE_TREE","process","env","NEXT_RUNTIME","crypto","randomUUID","nanoid","isStaticGeneration","searchParamsProps","defaultRevalidate","csp","getScriptNonceFromHeader","inlinedDataTransformStream","TransformStream","validateRootLayout","getTree","HeadManagerContext","ServerInsertedHTMLProvider","renderServerInsertedHTML","createServerInsertedHTML","getRootSpanAttributes","set","bodyResult","wrap","AppRenderSpan","getBodyResult","spanName","attributes","polyfills","polyfillFiles","filter","polyfill","endsWith","src","getAssetQueryString","integrity","crossOrigin","noModule","bootstrapScript","getRequiredScripts","ServerComponentsRenderer","Provider","appDir","getServerInsertedHTML","makeGetServerInsertedHTML","fizzStream","renderToInitialFizzStream","ReactDOMServer","element","streamOptions","bootstrapScripts","experimental_formState","result","continueFizzStream","inlinedDataStream","readable","serverInsertedHTMLToHead","err","code","message","includes","digest","NEXT_DYNAMIC_NO_SSR_CODE","warn","isNotFoundError","hasRedirectError","isRedirectError","getRedirectStatusCodeFromError","mutableCookies","Headers","appendMutableCookies","setHeader","from","redirectUrl","addPathPrefix","getURLFromRedirectError","basePath","is404","serverErrorComponentsRenderOpts","cloneTransformStream","errorMeta","NODE_ENV","errorPreinitScripts","errorBootstrapScript","ErrorPage","head","html","id","body","finalErr","bailOnNotFound","actionRequestResult","handleAction","page","notFoundLoaderTree","RenderResult","extendMetadata","renderResult","waitUntil","Promise","all","pendingRevalidates","addImplicitTags","fetchTags","tags","htmlResult","streamToBufferedResult","length","stringifiedFlightPayload","forceStatic","revalidate","pageData","staticBailoutInfo","description","dynamicUsageDescription","stack","dynamicUsageStack","validateURL","url","RequestAsyncStorageWrapper","requestAsyncStorage","StaticGenerationAsyncStorageWrapper","staticGenerationAsyncStorage"],"mappings":";;;;+BAu8BaA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