1 line
39 KiB
Plaintext
1 line
39 KiB
Plaintext
{"version":3,"sources":["../../src/server/next-server.ts"],"names":["DecodeError","PageNotFoundError","MiddlewareNotFoundError","getRouteMatcher","fs","join","resolve","isAbsolute","addRequestMeta","getRequestMeta","PAGES_MANIFEST","BUILD_ID_FILE","MIDDLEWARE_MANIFEST","PRERENDER_MANIFEST","ROUTES_MANIFEST","CLIENT_PUBLIC_FILES_PATH","APP_PATHS_MANIFEST","SERVER_DIRECTORY","NEXT_FONT_MANIFEST","PHASE_PRODUCTION_BUILD","INTERNAL_HEADERS","findDir","NodeNextRequest","NodeNextResponse","sendRenderResult","parseUrl","Log","BaseServer","NoFallbackError","getMaybePagePath","getPagePath","requireFontManifest","denormalizePagePath","normalizePagePath","loadComponents","isError","getProperError","splitCookiesString","toNodeOutgoingHttpHeaders","getMiddlewareRouteMatcher","loadEnvConfig","urlQueryToSearchParams","removeTrailingSlash","getNextPathnameInfo","getCloneableBody","checkIsOnDemandRevalidate","ResponseCache","IncrementalCache","normalizeAppPath","setHttpClientAndAgentOptions","isPagesAPIRouteMatch","INSTRUMENTATION_HOOK_FILENAME","getTracer","NextNodeServerSpan","nodeFs","getRouteRegex","invokeRequest","pipeReadable","filterReqHeaders","ipcForbiddenHeaders","createRequestResponseMocks","NEXT_RSC_UNION_QUERY","signalFromNodeResponse","RouteModuleLoader","loadManifest","lazyRenderAppPage","lazyRenderPagesPage","dynamicRequire","process","env","NEXT_MINIMAL","__non_webpack_require__","require","writeStdoutLine","text","stdout","write","formatRequestUrl","url","maxLength","undefined","length","substring","MiddlewareMatcherCache","WeakMap","getMiddlewareMatcher","info","stored","get","Array","isArray","matchers","Error","JSON","stringify","matcher","set","NextNodeServer","constructor","options","renderOpts","optimizeFonts","__NEXT_OPTIMIZE_FONTS","optimizeCss","__NEXT_OPTIMIZE_CSS","nextScriptWorkers","__NEXT_SCRIPT_WORKERS","nextConfig","experimental","deploymentId","NEXT_DEPLOYMENT_ID","minimalMode","imageResponseCache","appDocumentPreloading","isDefaultEnabled","dev","distDir","page","isAppPath","catch","dynamicRoutes","getRoutesManifest","map","r","regex","match","re","serverOptions","experimentalTestProxy","interceptTestApis","middlewareManifestPath","serverDistDir","handleUpgrade","prepareImpl","instrumentationHook","dir","conf","register","err","code","message","forceReload","silent","error","getIncrementalCache","requestHeaders","requestProtocol","CacheHandler","incrementalCacheHandlerPath","default","getCacheFilesystem","appDir","hasAppDir","allowedRevalidateHeaderKeys","fetchCache","fetchCacheKeyPrefix","maxMemoryCacheSize","isrMemoryCacheSize","flushToDisk","isrFlushToDisk","getPrerenderManifest","CurCacheHandler","getResponseCache","getPublicDir","getHasStaticDir","existsSync","getPagesManifest","getAppPathsManifest","hasPage","pathname","i18n","locales","getBuildId","buildIdFile","readFileSync","trim","getHasAppDir","Boolean","req","res","originalRequest","originalResponse","runApi","query","edgeFunctionsPages","getEdgeFunctionsPages","edgeFunctionsPage","definition","handledAsEdgeFunction","runEdgeFunction","params","appPaths","module","load","filename","__nextLocale","__nextDefaultLocale","__nextInferredLocaleFromDefault","render","previewProps","revalidate","bind","trustHostHeader","hostname","fetchHostname","renderHTML","trace","renderHTMLImpl","nextFontManifest","imageOptimizer","paramsResult","newReq","newRes","protocol","experimentalHttpsServer","invokeRes","port","method","headers","signal","filteredResHeaders","key","Object","keys","setHeader","statusCode","status","body","send","renderPageComponent","ctx","bubbleNoFallback","getOriginalAppPaths","findPageComponents","spanName","attributes","findPageComponentsImpl","pagePaths","amp","unshift","path","pagePath","components","Component","startsWith","isExperimentalCompile","getStaticProps","__nextDataReq","getFontManifest","getNextFontManifest","getFallback","cacheFs","readFile","handleNextImageRequest","parsedUrl","output","finished","ImageOptimizerCache","imageOptimizerCache","getHash","sendResponse","ImageError","imagesConfig","images","loader","unoptimized","render404","validateParams","errorMessage","cacheKey","getCacheKey","cacheEntry","getExtension","buffer","contentType","maxAge","etag","value","kind","extension","incrementalCache","href","isStatic","isMiss","isStale","handleCatchallRenderRequest","_nextBubbleNoFallback","i18nProvider","fromQuery","handled","handleApiRequest","formatServerError","logErrorWithOriginalStack","logError","renderError","_err","_type","ensurePage","_opts","getPrefetchRsc","normalizeReq","normalizeRes","getRequestHandler","handler","makeRequestHandler","wrapRequestHandlerNode","prepare","normalizedReq","normalizedRes","enabledVerboseLogging","logging","level","shouldTruncateUrl","fullUrl","bold","green","yellow","red","gray","white","_req","_res","origReq","origRes","reqStart","Date","now","reqCallback","didInvokePath","reqEnd","fetchMetrics","reqDuration","getDurationStr","duration","durationStr","toString","calcNestedLevel","prevMetrics","start","nestedLevel","i","metric","prevMetric","end","repeat","cacheStatus","cacheReason","cacheReasonStr","parsed","URL","truncatedHost","host","truncatedPath","truncatedSearch","search","newLineLeadingChar","nestedIndent","slice","nextNestedIndent","off","on","urlPath","revalidateHeaders","opts","mocked","hasStreamed","getHeader","unstable_onlyGenerated","internal","renderToHTML","renderErrorToResponseImpl","is404","notFoundPathname","clientOnly","includes","setHeaders","renderErrorToHTML","getMiddlewareManifest","manifest","getMiddleware","middleware","functions","getEdgeFunctionInfo","foundPage","pageInfo","name","paths","files","file","wasm","binding","filePath","assets","hasMiddleware","ensureMiddleware","ensureEdgeFunction","_params","runMiddleware","request","isOnDemandRevalidate","response","Response","skipMiddlewareUrlNormalize","locale","middlewareInfo","toUpperCase","run","result","edgeFunctionEntry","basePath","trailingSlash","useCache","onWarning","waitUntil","console","toLowerCase","delete","cookies","cookie","append","handleCatchallMiddlewareRequest","isMiddlewareInvoke","handleFinished","initUrl","pathnameInfo","normalizedPathname","bubblingResult","stripInternalHeaders","bubble","entries","_cachedPreviewManifest","NODE_ENV","NEXT_PHASE","version","routes","notFoundRoutes","preview","previewModeId","randomBytes","previewModeSigningKey","previewModeEncryptionKey","rewrites","beforeFiles","afterFiles","fallback","attachRequestMeta","isUpgradeReq","socket","encrypted","edgeInfo","isDataReq","initialUrl","queryString","fromEntries","searchParams","globalThis","__incrementalCache","statusMessage","statusText","forEach","appendHeader","nodeResStream","_serverDistDir","getFallbackError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