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

1 line
29 KiB
Plaintext

{"version":3,"sources":["../../src/server/render.tsx"],"names":["errorToJSON","renderToHTMLImpl","renderToHTML","tryGetPreviewData","warn","postProcessHTML","DOCTYPE","process","env","NEXT_RUNTIME","require","console","bind","_pathname","html","noRouter","message","Error","renderToString","element","renderStream","ReactDOMServer","renderToReadableStream","allReady","streamToString","ServerRouter","constructor","pathname","query","as","isFallback","isReady","basePath","locale","locales","defaultLocale","domainLocales","isPreview","isLocaleDomain","route","replace","asPath","push","reload","back","forward","prefetch","beforePopState","enhanceComponents","options","App","Component","enhanceApp","enhanceComponent","renderPageTree","props","invalidKeysMsg","methodName","invalidKeys","docsPathname","toLocaleLowerCase","join","checkRedirectValues","redirect","req","method","destination","permanent","statusCode","errors","hasStatusCode","hasPermanent","allowedStatusCodes","has","destinationType","basePathType","length","url","err","source","getErrorSource","name","stripAnsi","stack","digest","serializeError","dev","res","renderOpts","extra","getTracer","setLazyProp","getCookieParser","headers","renderResultMeta","assetQueryString","Date","now","deploymentId","Object","assign","ampPath","pageConfig","buildManifest","reactLoadableManifest","ErrorDebug","getStaticProps","getStaticPaths","getServerSideProps","isDataReq","params","previewProps","images","runtime","globalRuntime","isExperimentalCompile","Document","OriginComponent","serverComponentsInlinedTransformStream","__nextFallback","notFoundSrcPage","__nextNotFoundSrcPage","stripInternalQueries","isSSG","isBuildTimeSSG","nextExport","defaultAppGetInitialProps","getInitialProps","origGetInitialProps","hasPageGetInitialProps","hasPageScripts","unstable_scriptLoader","pageIsDynamic","isDynamicRoute","defaultErrorGetInitialProps","isAutoExport","setRevalidateHeaders","revalidate","CACHE_ONE_YEAR","private","stateful","SSG_GET_INITIAL_PROPS_CONFLICT","SERVER_PROPS_GET_INIT_PROPS_CONFLICT","SERVER_PROPS_SSG_CONFLICT","nextConfigOutput","resolvedAsPath","isValidElementType","amp","endsWith","STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR","STATIC_STATUS_PAGES","includes","GSSP_COMPONENT_MEMBER_ERROR","Loadable","preloadAll","undefined","previewData","routerIsReady","router","getRequestMeta","appRouter","adaptForAppRouterInstance","scriptLoader","jsxStyleRegistry","createStyleRegistry","ampState","ampFirst","hasQuery","Boolean","hybrid","inAmpMode","isInAmpMode","head","defaultHead","reactLoadableModules","initialScripts","beforeInteractive","concat","filter","script","strategy","map","AppContainer","children","AppRouterContext","Provider","value","SearchParamsContext","adaptForSearchParams","PathnameContextProviderAdapter","PathParamsContext","adaptForPathParams","RouterContext","AmpStateContext","HeadManagerContext","updateHead","state","updateScripts","scripts","mountedInstances","Set","LoadableContext","moduleName","StyleRegistry","registry","ImageConfigContext","Noop","AppContainerWithIsomorphicFiberStructure","ctx","AppTree","defaultGetInitialProps","docCtx","AppComp","renderPageHead","renderPage","styles","nonce","flush","styledJsxInsertedHTML","loadGetInitialProps","__N_PREVIEW","STATIC_PROPS_ID","data","trace","RenderSpan","spanName","attributes","draftMode","preview","staticPropsError","code","GSP_NO_RETURNED_VALUE","keys","key","UNSTABLE_REVALIDATE_RENAME_ERROR","NODE_ENV","notFound","isNotFound","__N_REDIRECT","__N_REDIRECT_STATUS","getRedirectStatus","__N_REDIRECT_BASE_PATH","isRedirect","isSerializableProps","Number","isInteger","Math","ceil","JSON","stringify","pageProps","pageData","RenderResult","SERVER_PROPS_ID","canAccessRes","resOrProxy","deferredContent","Proxy","get","obj","prop","ReflectAdapter","resolvedUrl","serverSidePropsError","isError","GSSP_NO_RETURNED_VALUE","Promise","unstable_notFound","unstable_redirect","isResSent","filteredBuildManifest","page","denormalizePagePath","normalizePagePath","pages","lowPriorityFiles","f","Body","div","id","renderDocument","BuiltinFunctionalDocument","NEXT_BUILTIN_DOCUMENT","loadDocumentInitialProps","renderShell","error","EnhancedApp","EnhancedComponent","then","stream","documentCtx","docProps","getDisplayName","renderContent","_App","_Component","content","renderToInitialFizzStream","createBodyResult","wrap","initialStream","suffix","getServerInsertedHTML","continueFizzStream","inlinedDataStream","readable","generateStaticHTML","serverInsertedHTMLToHead","hasDocumentGetInitialProps","bodyResult","documentInitialPropsRes","streamFromString","documentElement","htmlProps","headTags","getRootSpanAttributes","set","documentResult","dynamicImportsIds","dynamicImports","mod","manifestItem","add","files","forEach","item","hybridAmp","docComponentsRendered","assetPrefix","buildId","customServer","disableOptimizedLoading","runtimeConfig","__NEXT_DATA__","autoExport","dynamicIds","size","Array","from","gsp","gssp","gip","appGip","strictNextHead","dangerousAsPath","canonicalBase","isDevelopment","unstable_runtimeJS","unstable_JsPreload","crossOrigin","optimizeCss","optimizeFonts","nextScriptWorkers","largePageDataBytes","nextFontManifest","document","HtmlContext","documentHTML","nonRenderedComponents","expectedDocComponents","comp","missingComponentList","e","plural","renderTargetPrefix","renderTargetSuffix","split","prefix","startsWith","streams","postOptimize","chainStreams","optimizedHtml"],"mappings":";;;;;;;;;;;;;;;;IA8WgBA,WAAW;eAAXA;;IAsCMC,gBAAgB;eAAhBA;;IAypCTC,YAAY;eAAZA;;;0BAxhDN;iCACyB;8DAmBd;sEACS;2BACwB;2BAW5C;4BAOA;qCAC6B;yBACR;yCACI;sBACJ;iDACO;8EACd;8CACW;4CACF;2BACC;uBAKxB;0CACqB;mCACM;qCACE;6BACL;gCACuB;qEACE;gEACpC;sCAOb;iDAC4B;kEACb;+BACe;0BAM9B;+CAC0B;iDAI1B;wBACmB;4BACC;yBACI;6BACM;;;;;;AAErC,IAAIC;AACJ,IAAIC;AACJ,IAAIC;AAEJ,MAAMC,UAAU;AAEhB,IAAIC,QAAQC,GAAG,CAACC,YAAY,KAAK,QAAQ;IACvCC,QAAQ;IACRP,oBACEO,QAAQ,yCAAyCP,iBAAiB;IACpEC,OAAOM,QAAQ,uBAAuBN,IAAI;IAC1CC,kBAAkBK,QAAQ,kBAAkBL,eAAe;AAC7D,OAAO;IACLD,OAAOO,QAAQP,IAAI,CAACQ,IAAI,CAACD;IACzBN,kBAAkB,OAAOQ,WAAmBC,OAAiBA;AAC/D;AAEA,SAASC;IACP,MAAMC,U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