{"version":3,"sources":["../../src/server/base-server.ts"],"names":["NoFallbackError","WrappedBuildError","Server","Error","constructor","innerError","options","prepared","preparedPromise","customErrorNo404Warn","execOnce","Log","warn","dir","quiet","conf","dev","minimalMode","customServer","hostname","port","serverOptions","process","env","NEXT_RUNTIME","require","resolve","loadEnvConfig","nextConfig","fetchHostname","formatHostname","distDir","join","publicDir","getPublicDir","hasStaticDir","getHasStaticDir","i18nProvider","i18n","locales","I18NProvider","undefined","localeNormalizer","LocaleRouteNormalizer","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","setConfig","pagesManifest","getPagesManifest","appPathsManifest","getAppPathsManifest","appPathRoutes","getAppPathRoutes","matchers","getRouteMatchers","reload","setAssetPrefix","responseCache","getResponseCache","reloadMatchers","handleNextDataRequest","req","res","parsedUrl","middleware","getMiddleware","params","matchNextDataPathname","pathname","path","finished","headers","render404","shift","lastParam","endsWith","getRouteFromAssetPath","trailingSlash","substring","host","split","toLowerCase","domainLocale","detectDomainLocale","defaultLocale","config","localePathResult","analyze","detectedLocale","query","__nextLocale","__nextDefaultLocale","__nextInferredLocaleFromDefault","__nextDataReq","handleNextImageRequest","_req","_res","_parsedUrl","handleCatchallRenderRequest","handleCatchallMiddlewareRequest","manifestLoader","ServerManifestLoader","name","PAGES_MANIFEST","APP_PATHS_MANIFEST","DefaultRouteMatcherManager","push","PagesRouteMatcherProvider","PagesAPIRouteMatcherProvider","AppPageRouteMatcherProvider","AppRouteRouteMatcherProvider","logError","err","console","error","handleRequest","prepare","method","toUpperCase","getTracer","trace","BaseServerSpan","spanName","url","kind","SpanKind","SERVER","attributes","span","handleRequestImpl","finally","setAttributes","statusCode","rootSpanAttributes","getRootSpanAttributes","get","route","newName","updateName","waitTillReady","originalResponse","origSetHeader","setHeader","bind","val","headersSent","middlewareValue","getRequestMeta","Array","isArray","every","item","idx","Set","urlParts","urlNoQuery","match","cleanUrl","normalizeRepeatedSlashes","redirect","body","send","parseUrl","fromEntries","URLSearchParams","param","FLIGHT_PARAMETERS","toString","normalizeRscPath","attachRequestMeta","getHostname","parseUrlUtil","replace","pathnameInfo","getNextPathnameInfo","removePathPrefix","addRequestMeta","useMatchedPathHeader","matchedPath","URL","urlPathname","startsWith","normalizedUrlPath","stripNextDataPath","localeAnalysisResult","inferredFromDefault","denormalizePagePath","srcPathname","definition","pageIsDynamic","utils","getUtils","page","rewrites","getRoutesManifest","beforeFiles","afterFiles","fallback","caseSensitive","caseSensitiveRoutes","locale","pathnameBeforeRewrite","rewriteParams","handleRewrites","rewriteParamKeys","didRewrite","routeParamKeys","key","value","NEXT_QUERY_PARAM_PREFIX","normalizedKey","add","paramsResult","normalizeDynamicRouteParams","hasValidParams","isDynamicRoute","matcherParams","dynamicRouteMatcher","assign","opts","routeParams","getParamsFromRouteMatches","defaultRouteMatches","interpolateDynamicPath","normalizeVercelUrl","defaultRouteRegex","groups","normalizeResult","DecodeError","NormalizeError","renderError","getLocaleRedirect","pathLocale","urlParsed","TEMPORARY_REDIRECT_STATUS","Boolean","formatUrl","webServerConfig","protocol","parsedFullUrl","incrementalCache","getIncrementalCache","requestHeaders","requestProtocol","globalThis","__incrementalCache","invokePath","useInvokePath","invokeQuery","JSON","parse","decodeURIComponent","Number","invokeError","message","parsedMatchedPath","invokePathnameInfo","parseData","normalizeLocalePath","imageResult","nextDataResult","result","response","Response","bubble","run","code","getProperError","getRequestHandler","prefix","prepareImpl","then","close","forEach","entry","normalizedPath","normalizeAppPath","runImpl","pipe","fn","partialContext","pipeImpl","isBotRequest","isBot","ctx","supportsDynamicHTML","payload","type","revalidateOptions","sent","sendRenderResult","getStaticHTML","toUnchunkedString","render","internalRender","renderImpl","hasPage","isBlockedPage","renderToResponse","getStaticPaths","fallbackField","dynamicRoutes","staticPaths","fallbackMode","renderToResponseWithComponents","requestContext","findComponentsResult","renderToResponseWithComponentsImpl","stripInternalHeaders","__NEXT_TEST_MODE","__NEXT_NO_STRIP_INTERNAL_HEADERS","originalRequest","components","is404Page","is500Page","isAppPath","hasServerProps","getServerSideProps","hasStaticPaths","actionId","ACTION","contentType","isMultipartAction","isFetchAction","isServerAction","hasGetInitialProps","Component","getInitialProps","isSSG","getStaticProps","resolvedUrlPathname","hasFallback","isDynamic","prerenderManifest","pathsResult","resolvedWithoutSlash","removeTrailingSlash","includes","routes","isDataReq","isFlightRequest","RSC","RSC_VARY_HEADER","STATIC_STATUS_PAGES","parseInt","slice","RenderResult","fromStatic","isSupportedDocument","Document","NEXT_BUILTIN_DOCUMENT","previewData","isPreviewMode","tryGetPreviewData","isEdgeRuntime","runtime","isOnDemandRevalidate","revalidateOnlyGenerated","checkIsOnDemandRevalidate","normalize","handleRedirect","pageData","destination","pageProps","__N_REDIRECT","__N_REDIRECT_STATUS","__N_REDIRECT_BASE_PATH","getRedirectStatus","ssgCacheKey","map","seg","escapePathDelimiters","_","doRender","origQuery","hadTrailingSlash","resolvedUrl","isRevalidate","originalPathname","ComponentMod","serverActionsBodySizeLimit","resolvedAsPath","isDraftMode","routeModule","RouteKind","APP_ROUTE","context","request","NextRequestAdapter","fromBaseNextRequest","signalFromNodeResponse","handle","fetchMetrics","cacheTags","fetchTags","blob","toNodeOutgoingHttpHeaders","NEXT_CACHE_TAGS_HEADER","revalidate","store","cacheEntry","status","Buffer","from","arrayBuffer","sendResponse","waitUntil","handleInternalServerErrorResponse","PAGES","module","clientReferenceManifest","APP_PAGE","isAppPrefetch","NEXT_ROUTER_PREFETCH","NODE_ENV","prefetchRsc","getPrefetchRsc","RSC_CONTENT_TYPE_HEADER","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","setRevalidateHeaders","__nextNotFoundSrcPage","stringify","fromNodeOutgoingHttpHeaders","stripLocale","splitPath","getOriginalAppPaths","originalAppPath","renderPageComponent","bubbleNoFallback","appPaths","findPageComponents","sriEnabled","sri","algorithm","shouldEnsure","isNoFallbackError","renderToResponseImpl","_nextBubbleNoFallback","NEXT_RSC_UNION_QUERY","fromQuery","matchAll","invokeOutput","MissingStaticPage","initUrl","rewroteUrl","renderErrorToResponse","__nextCustomErrorRender","isWrappedError","isError","renderToHTML","renderToHTMLImpl","setHeaders","renderErrorImpl","renderErrorToResponseImpl","is404","using404Page","statusPage","removeRequestMeta","maybeFallbackError","renderToHtmlError","fallbackComponents","getFallbackErrorComponents","renderErrorToHTML"],"mappings":";;;;;;;;;;;;;;;;IAyQaA,eAAe;eAAfA;;IAIAC,iBAAiB;eAAjBA;;IAeb,OAqtFC;eArtF6BC;;;uBA1QvB;qBAwBgD;gCACxB;gCACG;+BACJ;2BAOvB;wBACwB;0BACW;uCAChB;mCAEW;wBAEP;uBACR;qEACG;qCACW;qCACA;6DACf;6EACY;6BACR;iEACe;6BAKjC;kCAG0B;0BAI1B;6BACqB;0BACa;qCACL;kCAU7B;uCAK+B;4CACK;6CACC;8CACC;8CACA;2CACH;sCACL;wBACD;4BACL;8BACF;8BACA;2BACH;kCACwB;wBAI3C;4BAIA;qCAC6B;6BAI7B;uCAC+B;8EACJ;+BACG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4I9B,MAAMF,wBAAwBG;AAAO;AAIrC,MAAMF,0BAA0BE;IAGrCC,YAAYC,UAAiB,CAAE;QAC7B,KA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