securityos/node_modules/next/dist/esm/server/base-server.js.map

1 line
58 KiB
Plaintext

{"version":3,"sources":["../../src/server/base-server.ts"],"names":["NormalizeError","DecodeError","normalizeRepeatedSlashes","MissingStaticPage","format","formatUrl","parse","parseUrl","formatHostname","getRedirectStatus","isEdgeRuntime","APP_PATHS_MANIFEST","NEXT_BUILTIN_DOCUMENT","PAGES_MANIFEST","STATIC_STATUS_PAGES","TEMPORARY_REDIRECT_STATUS","isDynamicRoute","checkIsOnDemandRevalidate","setConfig","setRevalidateHeaders","execOnce","isBlockedPage","isBot","RenderResult","removeTrailingSlash","denormalizePagePath","Log","escapePathDelimiters","getUtils","isError","getProperError","addRequestMeta","getRequestMeta","removeRequestMeta","removePathPrefix","normalizeAppPath","normalizeRscPath","getHostname","parseUrlUtil","getNextPathnameInfo","RSC","RSC_VARY_HEADER","FLIGHT_PARAMETERS","NEXT_RSC_UNION_QUERY","ACTION","NEXT_ROUTER_PREFETCH","RSC_CONTENT_TYPE_HEADER","LocaleRouteNormalizer","DefaultRouteMatcherManager","AppPageRouteMatcherProvider","AppRouteRouteMatcherProvider","PagesAPIRouteMatcherProvider","PagesRouteMatcherProvider","ServerManifestLoader","getTracer","SpanKind","BaseServerSpan","I18NProvider","sendResponse","RouteKind","handleInternalServerErrorResponse","fromNodeOutgoingHttpHeaders","toNodeOutgoingHttpHeaders","NEXT_CACHE_TAGS_HEADER","NEXT_QUERY_PARAM_PREFIX","normalizeLocalePath","NextRequestAdapter","signalFromNodeResponse","matchNextDataPathname","getRouteFromAssetPath","stripInternalHeaders","NoFallbackError","Error","WrappedBuildError","constructor","innerError","Server","options","prepared","preparedPromise","customErrorNo404Warn","warn","dir","quiet","conf","dev","minimalMode","customServer","hostname","port","serverOptions","process","env","NEXT_RUNTIME","require","resolve","loadEnvConfig","nextConfig","fetchHostname","distDir","join","publicDir","getPublicDir","hasStaticDir","getHasStaticDir","i18nProvider","i18n","locales","undefined","localeNormalizer","serverRuntimeConfig","publicRuntimeConfig","assetPrefix","generateEtags","buildId","getBuildId","minimalModeKey","NEXT_PRIVATE_MINIMAL_MODE","hasAppDir","getHasAppDir","serverComponents","nextFontManifest","getNextFontManifest","experimental","deploymentId","NEXT_DEPLOYMENT_ID","renderOpts","strictNextHead","poweredByHeader","canonicalBase","amp","previewProps","getPrerenderManifest","preview","ampOptimizerConfig","optimizer","basePath","images","optimizeFonts","fontManifest","getFontManifest","optimizeCss","nextConfigOutput","output","nextScriptWorkers","disableOptimizedLoading","domainLocales","domains","crossOrigin","largePageDataBytes","runtimeConfig","Object","keys","length","isExperimentalCompile","pagesManifest","getPagesManifest","appPathsManifest","getAppPathsManifest","appPathRoutes","getAppPathRoutes","matchers","getRouteMatchers","reload","setAssetPrefix","responseCache","getResponseCache","reloadMatchers","handleNextDataRequest","req","res","parsedUrl","middleware","getMiddleware","params","pathname","path","finished","headers","render404","shift","lastParam","endsWith","trailingSlash","substring","host","split","toLowerCase","domainLocale","detectDomainLocale","defaultLocale","config","localePathResult","analyze","detectedLocale","query","__nextLocale","__nextDefaultLocale","__nextInferredLocaleFromDefault","__nextDataReq","handleNextImageRequest","_req","_res","_parsedUrl","handleCatchallRenderRequest","handleCatchallMiddlewareRequest","manifestLoader","name","push","logError","err","console","error","handleRequest","prepare","method","toUpperCase","trace","spanName","url","kind","SERVER","attributes","span","handleRequestImpl","finally","setAttributes","statusCode","rootSpanAttributes","getRootSpanAttributes","get","route","newName","updateName","waitTillReady","originalResponse","origSetHeader","setHeader","bind","val","headersSent","middlewareValue","Array","isArray","every","item","idx","Set","urlParts","urlNoQuery","match","cleanUrl","redirect","body","send","fromEntries","URLSearchParams","param","toString","attachRequestMeta","replace","pathnameInfo","useMatchedPathHeader","matchedPath","URL","urlPathname","startsWith","normalizedUrlPath","stripNextDataPath","localeAnalysisResult","inferredFromDefault","srcPathname","definition","pageIsDynamic","utils","page","rewrites","getRoutesManifest","beforeFiles","afterFiles","fallback","caseSensitive","caseSensitiveRoutes","locale","pathnameBeforeRewrite","rewriteParams","handleRewrites","rewriteParamKeys","didRewrite","routeParamKeys","key","value","normalizedKey","add","paramsResult","normalizeDynamicRouteParams","hasValidParams","matcherParams","dynamicRouteMatcher","assign","opts","routeParams","getParamsFromRouteMatches","defaultRouteMatches","interpolateDynamicPath","normalizeVercelUrl","defaultRouteRegex","groups","normalizeResult","renderError","getLocaleRedirect","pathLocale","urlParsed","Boolean","webServerConfig","protocol","parsedFullUrl","incrementalCache","getIncrementalCache","requestHeaders","requestProtocol","globalThis","__incrementalCache","invokePath","useInvokePath","invokeQuery","JSON","decodeURIComponent","Number","invokeError","message","parsedMatchedPath","invokePathnameInfo","parseData","imageResult","nextDataResult","result","response","Response","bubble","run","code","getRequestHandler","prefix","prepareImpl","then","close","forEach","entry","normalizedPath","runImpl","pipe","fn","partialContext","pipeImpl","isBotRequest","ctx","supportsDynamicHTML","payload","type","revalidateOptions","sent","sendRenderResult","getStaticHTML","toUnchunkedString","render","internalRender","renderImpl","hasPage","renderToResponse","getStaticPaths","fallbackField","dynamicRoutes","staticPaths","fallbackMode","renderToResponseWithComponents","requestContext","findComponentsResult","renderToResponseWithComponentsImpl","__NEXT_TEST_MODE","__NEXT_NO_STRIP_INTERNAL_HEADERS","originalRequest","components","is404Page","is500Page","isAppPath","hasServerProps","getServerSideProps","hasStaticPaths","actionId","contentType","isMultipartAction","isFetchAction","isServerAction","hasGetInitialProps","Component","getInitialProps","isSSG","getStaticProps","resolvedUrlPathname","hasFallback","isDynamic","prerenderManifest","pathsResult","resolvedWithoutSlash","includes","routes","isDataReq","isFlightRequest","parseInt","slice","fromStatic","isSupportedDocument","Document","previewData","isPreviewMode","tryGetPreviewData","runtime","isOnDemandRevalidate","revalidateOnlyGenerated","normalize","handleRedirect","pageData","destination","pageProps","__N_REDIRECT","__N_REDIRECT_STATUS","__N_REDIRECT_BASE_PATH","ssgCacheKey","map","seg","_","doRender","origQuery","hadTrailingSlash","resolvedUrl","isRevalidate","originalPathname","ComponentMod","serverActionsBodySizeLimit","resolvedAsPath","isDraftMode","routeModule","APP_ROUTE","context","request","fromBaseNextRequest","handle","fetchMetrics","cacheTags","fetchTags","blob","revalidate","store","cacheEntry","status","Buffer","from","arrayBuffer","waitUntil","PAGES","module","clientReferenceManifest","APP_PAGE","isAppPrefetch","NODE_ENV","prefetchRsc","getPrefetchRsc","renderHTML","metadata","staticBailoutInfo","description","stack","indexOf","isNotFound","isRedirect","props","isNull","html","hasResolved","hadCache","isProduction","didRespond","isStale","staticPathKey","isPageIncludedInStaticPaths","getFallback","__nextFallback","isPrefetch","purpose","isMiss","cachedData","private","stateful","__nextNotFoundSrcPage","stringify","stripLocale","splitPath","getOriginalAppPaths","originalAppPath","renderPageComponent","bubbleNoFallback","appPaths","findPageComponents","sriEnabled","sri","algorithm","shouldEnsure","isNoFallbackError","renderToResponseImpl","_nextBubbleNoFallback","fromQuery","matchAll","invokeOutput","initUrl","rewroteUrl","renderErrorToResponse","__nextCustomErrorRender","isWrappedError","renderToHTML","renderToHTMLImpl","setHeaders","renderErrorImpl","renderErrorToResponseImpl","is404","using404Page","statusPage","maybeFallbackError","renderToHtmlError","fallbackComponents","getFallbackErrorComponents","renderErrorToHTML"],"mappings":"AAaA,SACEA,cAAc,EACdC,WAAW,EACXC,wBAAwB,EACxBC,iBAAiB,QACZ,sBAAqB;AAwB5B,SAASC,UAAUC,SAAS,EAAEC,SAASC,QAAQ,QAAQ,MAAK;AAC5D,SAASC,cAAc,QAAQ,wBAAuB;AACtD,SAASC,iBAAiB,QAAQ,yBAAwB;AAC1D,SAASC,aAAa,QAAQ,yBAAwB;AACtD,SACEC,kBAAkB,EAClBC,qBAAqB,EACrBC,cAAc,EACdC,mBAAmB,EACnBC,yBAAyB,QACpB,0BAAyB;AAChC,SAASC,cAAc,QAAQ,6BAA4B;AAC3D,SAASC,yBAAyB,QAAQ,cAAa;AACvD,SAASC,SAAS,QAAQ,wCAAuC;AAEjE,SAASC,oBAAoB,QAAQ,oCAAmC;AACxE,SAASC,QAAQ,QAAQ,sBA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