1 line
7.9 KiB
Plaintext
1 line
7.9 KiB
Plaintext
|
{"version":3,"sources":["../../../src/server/stream-utils/node-web-streams-helper.ts"],"names":["nonNullable","getTracer","AppRenderSpan","decodeText","encodeText","queueTask","process","env","NEXT_RUNTIME","globalThis","setTimeout","setImmediate","streamToBufferedResult","renderResult","textDecoder","TextDecoder","concatenatedString","writable","write","chunk","end","on","off","pipe","cloneTransformStream","source","sourceReader","readable","getReader","clone","TransformStream","start","controller","done","value","read","enqueue","transform","chainStreams","streams","promise","Promise","resolve","i","length","then","pipeTo","preventClose","streamFromString","str","ReadableStream","close","streamToString","stream","reader","bufferedString","createBufferedTransformStream","bufferedBytes","Uint8Array","pendingFlush","flushBuffer","newBufferedBytes","byteLength","set","flush","createInsertedHTMLStream","getServerInsertedHTML","insertedHTMLChunk","renderToInitialFizzStream","ReactDOMServer","element","streamOptions","trace","renderToReadableStream","createHeadInsertionTransformStream","insert","inserted","freezing","insertion","content","index","indexOf","insertedHeadContent","slice","createDeferredSuffixStream","suffix","suffixFlushed","suffixFlushTask","res","createMergedTransformStream","dataStream","dataStreamFinished","dataStreamReader","err","error","createMoveSuffixStream","foundSuffix","endsWith","contentWithoutSuffix","createRootLayoutValidatorStream","assetPrefix","getTree","foundHtml","foundBody","includes","missingTags","filter","JSON","stringify","tree","continueFizzStream","renderStream","inlinedDataStream","generateStaticHTML","serverInsertedHTMLToHead","validateRootLayout","closeTag","suffixUnclosed","split","allReady","transforms","reduce","pipeThrough"],"mappings":"AAGA,SAASA,WAAW,QAAQ,yBAAwB;AACpD,SAASC,SAAS,QAAQ,sBAAqB;AAC/C,SAASC,aAAa,QAAQ,yBAAwB;AACtD,SAASC,UAAU,EAAEC,UAAU,QAAQ,kBAAiB;AAExD,MAAMC,YACJC,QAAQC,GAAG,CAACC,YAAY,KAAK,SAASC,WAAWC,UAAU,GAAGC;AAMhE,OAAO,MAAMC,yBAAyB,OACpCC;IAEA,MAAMC,cAAc,IAAIC;IACxB,IAAIC,qBAAqB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