react-dom 19.2.0-canary-197d6a04-20250424 → 19.2.0-canary-c498bfce-20250426
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/react-dom-client.development.js +5 -5
- package/cjs/react-dom-client.production.js +5 -5
- package/cjs/react-dom-profiling.development.js +5 -5
- package/cjs/react-dom-profiling.profiling.js +5 -5
- package/cjs/react-dom-server-legacy.browser.development.js +154 -79
- package/cjs/react-dom-server-legacy.browser.production.js +156 -87
- package/cjs/react-dom-server-legacy.node.development.js +154 -79
- package/cjs/react-dom-server-legacy.node.production.js +156 -87
- package/cjs/react-dom-server.browser.development.js +184 -78
- package/cjs/react-dom-server.browser.production.js +174 -86
- package/cjs/react-dom-server.bun.development.js +176 -79
- package/cjs/react-dom-server.bun.production.js +178 -91
- package/cjs/react-dom-server.edge.development.js +184 -78
- package/cjs/react-dom-server.edge.production.js +174 -86
- package/cjs/react-dom-server.node.development.js +181 -78
- package/cjs/react-dom-server.node.production.js +180 -86
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
@@ -320,6 +320,9 @@
|
|
320
320
|
);
|
321
321
|
return content;
|
322
322
|
}
|
323
|
+
function byteLengthOfChunk(chunk) {
|
324
|
+
return chunk.byteLength;
|
325
|
+
}
|
323
326
|
function closeWithError(destination, error) {
|
324
327
|
"function" === typeof destination.error
|
325
328
|
? destination.error(error)
|
@@ -808,7 +811,7 @@
|
|
808
811
|
void 0 === nonce
|
809
812
|
? startInlineScript
|
810
813
|
: stringToPrecomputedChunk(
|
811
|
-
'<script nonce="' + escapeTextForBrowser(nonce) + '"
|
814
|
+
'<script nonce="' + escapeTextForBrowser(nonce) + '"'
|
812
815
|
),
|
813
816
|
idPrefix = resumableState.idPrefix;
|
814
817
|
externalRuntimeConfig = [];
|
@@ -816,13 +819,15 @@
|
|
816
819
|
bootstrapScripts = resumableState.bootstrapScripts,
|
817
820
|
bootstrapModules = resumableState.bootstrapModules;
|
818
821
|
void 0 !== bootstrapScriptContent &&
|
822
|
+
(externalRuntimeConfig.push(inlineScriptWithNonce),
|
823
|
+
pushCompletedShellIdAttribute(externalRuntimeConfig, resumableState),
|
819
824
|
externalRuntimeConfig.push(
|
820
|
-
|
825
|
+
endOfStartTag,
|
821
826
|
stringToChunk(
|
822
827
|
escapeEntireInlineScriptContent(bootstrapScriptContent)
|
823
828
|
),
|
824
829
|
endInlineScript
|
825
|
-
);
|
830
|
+
));
|
826
831
|
bootstrapScriptContent = [];
|
827
832
|
void 0 !== importMap &&
|
828
833
|
(bootstrapScriptContent.push(importMapScriptStart),
|
@@ -919,23 +924,28 @@
|
|
919
924
|
);
|
920
925
|
externalRuntimeConfig.push(
|
921
926
|
startScriptSrc,
|
922
|
-
stringToChunk(escapeTextForBrowser(inlineScriptWithNonce))
|
927
|
+
stringToChunk(escapeTextForBrowser(inlineScriptWithNonce)),
|
928
|
+
attributeEnd
|
923
929
|
);
|
924
930
|
nonce &&
|
925
931
|
externalRuntimeConfig.push(
|
926
932
|
scriptNonce,
|
927
|
-
stringToChunk(escapeTextForBrowser(nonce))
|
933
|
+
stringToChunk(escapeTextForBrowser(nonce)),
|
934
|
+
attributeEnd
|
928
935
|
);
|
929
936
|
"string" === typeof bootstrapScriptContent &&
|
930
937
|
externalRuntimeConfig.push(
|
931
938
|
scriptIntegirty,
|
932
|
-
stringToChunk(escapeTextForBrowser(bootstrapScriptContent))
|
939
|
+
stringToChunk(escapeTextForBrowser(bootstrapScriptContent)),
|
940
|
+
attributeEnd
|
933
941
|
);
|
934
942
|
"string" === typeof idPrefix &&
|
935
943
|
externalRuntimeConfig.push(
|
936
944
|
scriptCrossOrigin,
|
937
|
-
stringToChunk(escapeTextForBrowser(idPrefix))
|
945
|
+
stringToChunk(escapeTextForBrowser(idPrefix)),
|
946
|
+
attributeEnd
|
938
947
|
);
|
948
|
+
pushCompletedShellIdAttribute(externalRuntimeConfig, resumableState);
|
939
949
|
externalRuntimeConfig.push(endAsyncScript);
|
940
950
|
}
|
941
951
|
if (void 0 !== bootstrapModules)
|
@@ -973,23 +983,31 @@
|
|
973
983
|
),
|
974
984
|
externalRuntimeConfig.push(
|
975
985
|
startModuleSrc,
|
976
|
-
stringToChunk(escapeTextForBrowser(maxHeadersLength))
|
986
|
+
stringToChunk(escapeTextForBrowser(maxHeadersLength)),
|
987
|
+
attributeEnd
|
977
988
|
),
|
978
989
|
nonce &&
|
979
990
|
externalRuntimeConfig.push(
|
980
991
|
scriptNonce,
|
981
|
-
stringToChunk(escapeTextForBrowser(nonce))
|
992
|
+
stringToChunk(escapeTextForBrowser(nonce)),
|
993
|
+
attributeEnd
|
982
994
|
),
|
983
995
|
"string" === typeof idPrefix &&
|
984
996
|
externalRuntimeConfig.push(
|
985
997
|
scriptIntegirty,
|
986
|
-
stringToChunk(escapeTextForBrowser(idPrefix))
|
998
|
+
stringToChunk(escapeTextForBrowser(idPrefix)),
|
999
|
+
attributeEnd
|
987
1000
|
),
|
988
1001
|
"string" === typeof inlineScriptWithNonce &&
|
989
1002
|
externalRuntimeConfig.push(
|
990
1003
|
scriptCrossOrigin,
|
991
|
-
stringToChunk(escapeTextForBrowser(inlineScriptWithNonce))
|
1004
|
+
stringToChunk(escapeTextForBrowser(inlineScriptWithNonce)),
|
1005
|
+
attributeEnd
|
992
1006
|
),
|
1007
|
+
pushCompletedShellIdAttribute(
|
1008
|
+
externalRuntimeConfig,
|
1009
|
+
resumableState
|
1010
|
+
),
|
993
1011
|
externalRuntimeConfig.push(endAsyncScript);
|
994
1012
|
return onHeaders;
|
995
1013
|
}
|
@@ -1638,13 +1656,26 @@
|
|
1638
1656
|
return content;
|
1639
1657
|
}
|
1640
1658
|
function injectFormReplayingRuntime(resumableState, renderState) {
|
1641
|
-
(resumableState.instructions & 16) === NothingSent
|
1642
|
-
|
1643
|
-
renderState.
|
1644
|
-
renderState.
|
1645
|
-
|
1646
|
-
|
1647
|
-
|
1659
|
+
if ((resumableState.instructions & 16) === NothingSent) {
|
1660
|
+
resumableState.instructions |= 16;
|
1661
|
+
var preamble = renderState.preamble,
|
1662
|
+
bootstrapChunks = renderState.bootstrapChunks;
|
1663
|
+
(preamble.htmlChunks || preamble.headChunks) &&
|
1664
|
+
0 === bootstrapChunks.length
|
1665
|
+
? (bootstrapChunks.push(renderState.startInlineScript),
|
1666
|
+
pushCompletedShellIdAttribute(bootstrapChunks, resumableState),
|
1667
|
+
bootstrapChunks.push(
|
1668
|
+
endOfStartTag,
|
1669
|
+
formReplayingRuntimeScript,
|
1670
|
+
endInlineScript
|
1671
|
+
))
|
1672
|
+
: bootstrapChunks.unshift(
|
1673
|
+
renderState.startInlineScript,
|
1674
|
+
endOfStartTag,
|
1675
|
+
formReplayingRuntimeScript,
|
1676
|
+
endInlineScript
|
1677
|
+
);
|
1678
|
+
}
|
1648
1679
|
}
|
1649
1680
|
function pushLinkImpl(target, props) {
|
1650
1681
|
target.push(startChunkForTag("link"));
|
@@ -3394,6 +3425,17 @@
|
|
3394
3425
|
styleQueue.sheets.forEach(preloadLateStyle, this);
|
3395
3426
|
styleQueue.sheets.clear();
|
3396
3427
|
}
|
3428
|
+
function pushCompletedShellIdAttribute(target, resumableState) {
|
3429
|
+
(resumableState.instructions & SentCompletedShellId) === NothingSent &&
|
3430
|
+
((resumableState.instructions |= SentCompletedShellId),
|
3431
|
+
target.push(
|
3432
|
+
completedShellIdAttributeStart,
|
3433
|
+
stringToChunk(
|
3434
|
+
escapeTextForBrowser("\u00ab" + resumableState.idPrefix + "R\u00bb")
|
3435
|
+
),
|
3436
|
+
attributeEnd
|
3437
|
+
));
|
3438
|
+
}
|
3397
3439
|
function writeStyleResourceDependenciesInJS(destination, hoistableState) {
|
3398
3440
|
writeChunk(destination, arrayFirstOpenBracket);
|
3399
3441
|
var nextArrayOpenBrackChunk = arrayFirstOpenBracket;
|
@@ -4433,6 +4475,7 @@
|
|
4433
4475
|
this.fatalError = null;
|
4434
4476
|
this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
|
4435
4477
|
this.completedPreambleSegments = this.completedRootSegment = null;
|
4478
|
+
this.byteSize = 0;
|
4436
4479
|
this.abortableTasks = abortSet;
|
4437
4480
|
this.pingedTasks = [];
|
4438
4481
|
this.clientRenderedBoundaries = [];
|
@@ -5604,7 +5647,8 @@
|
|
5604
5647
|
boundarySegment.lastPushedText &&
|
5605
5648
|
boundarySegment.textEmbedded &&
|
5606
5649
|
boundarySegment.chunks.push(textSeparator),
|
5607
|
-
(boundarySegment.status = COMPLETED)
|
5650
|
+
(boundarySegment.status = COMPLETED),
|
5651
|
+
finishedSegment(request, parentBoundary, boundarySegment);
|
5608
5652
|
} catch (thrownValue) {
|
5609
5653
|
throw (
|
5610
5654
|
((boundarySegment.status = 12 === request.status ? 3 : 4),
|
@@ -5650,11 +5694,13 @@
|
|
5650
5694
|
contentRootSegment.textEmbedded &&
|
5651
5695
|
contentRootSegment.chunks.push(textSeparator),
|
5652
5696
|
(contentRootSegment.status = COMPLETED),
|
5697
|
+
finishedSegment(request, newBoundary, contentRootSegment),
|
5653
5698
|
queueCompletedSegment(newBoundary, contentRootSegment),
|
5654
5699
|
0 === newBoundary.pendingTasks &&
|
5655
|
-
newBoundary.status === PENDING
|
5700
|
+
newBoundary.status === PENDING &&
|
5701
|
+
((newBoundary.status = COMPLETED),
|
5702
|
+
!(newBoundary.byteSize > request.progressiveChunkSize)))
|
5656
5703
|
) {
|
5657
|
-
newBoundary.status = COMPLETED;
|
5658
5704
|
0 === request.pendingRootTasks &&
|
5659
5705
|
task.blockedPreamble &&
|
5660
5706
|
preparePreamble(request);
|
@@ -5849,6 +5895,7 @@
|
|
5849
5895
|
(task.blockedSegment = resumedSegment),
|
5850
5896
|
renderNode(request, task, node, childIndex),
|
5851
5897
|
(resumedSegment.status = COMPLETED),
|
5898
|
+
finishedSegment(request, blockedBoundary, resumedSegment),
|
5852
5899
|
null === blockedBoundary
|
5853
5900
|
? (request.completedRootSegment = resumedSegment)
|
5854
5901
|
: (queueCompletedSegment(blockedBoundary, resumedSegment),
|
@@ -6765,6 +6812,16 @@
|
|
6765
6812
|
queueCompletedSegment(boundary, childSegment);
|
6766
6813
|
} else boundary.completedSegments.push(segment);
|
6767
6814
|
}
|
6815
|
+
function finishedSegment(request, boundary, segment) {
|
6816
|
+
if (null !== byteLengthOfChunk) {
|
6817
|
+
segment = segment.chunks;
|
6818
|
+
for (var segmentByteSize = 0, i = 0; i < segment.length; i++)
|
6819
|
+
segmentByteSize += segment[i].byteLength;
|
6820
|
+
null === boundary
|
6821
|
+
? (request.byteSize += segmentByteSize)
|
6822
|
+
: (boundary.byteSize += segmentByteSize);
|
6823
|
+
}
|
6824
|
+
}
|
6768
6825
|
function finishedTask(request, boundary, segment) {
|
6769
6826
|
if (null === boundary) {
|
6770
6827
|
if (null !== segment && segment.parentFlushed) {
|
@@ -6788,11 +6845,12 @@
|
|
6788
6845
|
boundary.parentFlushed &&
|
6789
6846
|
request.completedBoundaries.push(boundary),
|
6790
6847
|
boundary.status === COMPLETED &&
|
6791
|
-
(boundary.
|
6792
|
-
|
6793
|
-
|
6794
|
-
|
6795
|
-
|
6848
|
+
(boundary.byteSize > request.progressiveChunkSize ||
|
6849
|
+
(boundary.fallbackAbortableTasks.forEach(
|
6850
|
+
abortTaskSoft,
|
6851
|
+
request
|
6852
|
+
),
|
6853
|
+
boundary.fallbackAbortableTasks.clear()),
|
6796
6854
|
0 === request.pendingRootTasks &&
|
6797
6855
|
null === request.trackedPostpones &&
|
6798
6856
|
null !== boundary.contentPreamble &&
|
@@ -6932,6 +6990,11 @@
|
|
6932
6990
|
request$jscomp$1.chunks.push(textSeparator),
|
6933
6991
|
errorDigest.abortSet.delete(errorDigest),
|
6934
6992
|
(request$jscomp$1.status = COMPLETED),
|
6993
|
+
finishedSegment(
|
6994
|
+
request,
|
6995
|
+
errorDigest.blockedBoundary,
|
6996
|
+
request$jscomp$1
|
6997
|
+
),
|
6935
6998
|
finishedTask(
|
6936
6999
|
request,
|
6937
7000
|
errorDigest.blockedBoundary,
|
@@ -7281,6 +7344,7 @@
|
|
7281
7344
|
var requiresStyleInsertion = request.stylesToHoist;
|
7282
7345
|
request.stylesToHoist = !1;
|
7283
7346
|
writeChunk(destination, request.startInlineScript);
|
7347
|
+
writeChunk(destination, endOfStartTag);
|
7284
7348
|
requiresStyleInsertion
|
7285
7349
|
? (completedSegments.instructions & SentCompleteBoundaryFunction) ===
|
7286
7350
|
NothingSent
|
@@ -7347,6 +7411,7 @@
|
|
7347
7411
|
boundary = request.resumableState;
|
7348
7412
|
request = request.renderState;
|
7349
7413
|
writeChunk(destination, request.startInlineScript);
|
7414
|
+
writeChunk(destination, endOfStartTag);
|
7350
7415
|
(boundary.instructions & SentCompleteSegmentFunction) === NothingSent
|
7351
7416
|
? ((boundary.instructions |= SentCompleteSegmentFunction),
|
7352
7417
|
writeChunk(destination, completeSegmentScript1Full))
|
@@ -7371,7 +7436,8 @@
|
|
7371
7436
|
if (completedRootSegment.status === POSTPONED) return;
|
7372
7437
|
var completedPreambleSegments = request.completedPreambleSegments;
|
7373
7438
|
if (null === completedPreambleSegments) return;
|
7374
|
-
var
|
7439
|
+
var resumableState = request.resumableState,
|
7440
|
+
renderState = request.renderState,
|
7375
7441
|
preamble = renderState.preamble,
|
7376
7442
|
htmlChunks = preamble.htmlChunks,
|
7377
7443
|
headChunks = preamble.headChunks,
|
@@ -7428,6 +7494,15 @@
|
|
7428
7494
|
renderState.scripts.clear();
|
7429
7495
|
renderState.bulkPreloads.forEach(flushResource, destination);
|
7430
7496
|
renderState.bulkPreloads.clear();
|
7497
|
+
if (htmlChunks || headChunks) {
|
7498
|
+
var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
|
7499
|
+
writeChunk(destination, blockingRenderChunkStart);
|
7500
|
+
writeChunk(
|
7501
|
+
destination,
|
7502
|
+
stringToChunk(escapeTextForBrowser(shellId))
|
7503
|
+
);
|
7504
|
+
writeChunk(destination, blockingRenderChunkEnd);
|
7505
|
+
}
|
7431
7506
|
var hoistableChunks = renderState.hoistableChunks;
|
7432
7507
|
for (
|
7433
7508
|
i$jscomp$0 = 0;
|
@@ -7436,13 +7511,17 @@
|
|
7436
7511
|
)
|
7437
7512
|
writeChunk(destination, hoistableChunks[i$jscomp$0]);
|
7438
7513
|
for (
|
7439
|
-
|
7440
|
-
|
7441
|
-
|
7514
|
+
resumableState = hoistableChunks.length = 0;
|
7515
|
+
resumableState < completedPreambleSegments.length;
|
7516
|
+
resumableState++
|
7442
7517
|
) {
|
7443
|
-
var segments = completedPreambleSegments[
|
7444
|
-
for (
|
7445
|
-
|
7518
|
+
var segments = completedPreambleSegments[resumableState];
|
7519
|
+
for (
|
7520
|
+
renderState = 0;
|
7521
|
+
renderState < segments.length;
|
7522
|
+
renderState++
|
7523
|
+
)
|
7524
|
+
flushSegment(request, destination, segments[renderState], null);
|
7446
7525
|
}
|
7447
7526
|
var preamble$jscomp$0 = request.renderState.preamble,
|
7448
7527
|
headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
|
@@ -7458,11 +7537,27 @@
|
|
7458
7537
|
writeChunk(destination, bodyChunks[completedPreambleSegments]);
|
7459
7538
|
flushSegment(request, destination, completedRootSegment, null);
|
7460
7539
|
request.completedRootSegment = null;
|
7461
|
-
|
7540
|
+
var resumableState$jscomp$0 = request.resumableState,
|
7541
|
+
renderState$jscomp$0 = request.renderState,
|
7542
|
+
preamble$jscomp$1 = renderState$jscomp$0.preamble;
|
7543
|
+
if (
|
7544
|
+
(preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
|
7545
|
+
(resumableState$jscomp$0.instructions & SentCompletedShellId) ===
|
7546
|
+
NothingSent
|
7547
|
+
) {
|
7548
|
+
var bootstrapChunks = renderState$jscomp$0.bootstrapChunks;
|
7549
|
+
bootstrapChunks.push(startChunkForTag("template"));
|
7550
|
+
pushCompletedShellIdAttribute(
|
7551
|
+
bootstrapChunks,
|
7552
|
+
resumableState$jscomp$0
|
7553
|
+
);
|
7554
|
+
bootstrapChunks.push(endOfStartTag, endChunkForTag("template"));
|
7555
|
+
}
|
7556
|
+
writeBootstrap(destination, renderState$jscomp$0);
|
7462
7557
|
}
|
7463
|
-
var renderState$jscomp$
|
7558
|
+
var renderState$jscomp$1 = request.renderState;
|
7464
7559
|
completedRootSegment = 0;
|
7465
|
-
var viewportChunks$jscomp$0 = renderState$jscomp$
|
7560
|
+
var viewportChunks$jscomp$0 = renderState$jscomp$1.viewportChunks;
|
7466
7561
|
for (
|
7467
7562
|
completedRootSegment = 0;
|
7468
7563
|
completedRootSegment < viewportChunks$jscomp$0.length;
|
@@ -7473,21 +7568,21 @@
|
|
7473
7568
|
viewportChunks$jscomp$0[completedRootSegment]
|
7474
7569
|
);
|
7475
7570
|
viewportChunks$jscomp$0.length = 0;
|
7476
|
-
renderState$jscomp$
|
7477
|
-
renderState$jscomp$
|
7478
|
-
renderState$jscomp$
|
7479
|
-
renderState$jscomp$
|
7480
|
-
renderState$jscomp$
|
7571
|
+
renderState$jscomp$1.preconnects.forEach(flushResource, destination);
|
7572
|
+
renderState$jscomp$1.preconnects.clear();
|
7573
|
+
renderState$jscomp$1.fontPreloads.forEach(flushResource, destination);
|
7574
|
+
renderState$jscomp$1.fontPreloads.clear();
|
7575
|
+
renderState$jscomp$1.highImagePreloads.forEach(
|
7481
7576
|
flushResource,
|
7482
7577
|
destination
|
7483
7578
|
);
|
7484
|
-
renderState$jscomp$
|
7485
|
-
renderState$jscomp$
|
7486
|
-
renderState$jscomp$
|
7487
|
-
renderState$jscomp$
|
7488
|
-
renderState$jscomp$
|
7489
|
-
renderState$jscomp$
|
7490
|
-
var hoistableChunks$jscomp$0 = renderState$jscomp$
|
7579
|
+
renderState$jscomp$1.highImagePreloads.clear();
|
7580
|
+
renderState$jscomp$1.styles.forEach(preloadLateStyles, destination);
|
7581
|
+
renderState$jscomp$1.scripts.forEach(flushResource, destination);
|
7582
|
+
renderState$jscomp$1.scripts.clear();
|
7583
|
+
renderState$jscomp$1.bulkPreloads.forEach(flushResource, destination);
|
7584
|
+
renderState$jscomp$1.bulkPreloads.clear();
|
7585
|
+
var hoistableChunks$jscomp$0 = renderState$jscomp$1.hoistableChunks;
|
7491
7586
|
for (
|
7492
7587
|
completedRootSegment = 0;
|
7493
7588
|
completedRootSegment < hoistableChunks$jscomp$0.length;
|
@@ -7501,29 +7596,32 @@
|
|
7501
7596
|
var clientRenderedBoundaries = request.clientRenderedBoundaries;
|
7502
7597
|
for (i = 0; i < clientRenderedBoundaries.length; i++) {
|
7503
7598
|
var boundary = clientRenderedBoundaries[i];
|
7504
|
-
renderState$jscomp$
|
7505
|
-
var resumableState = request.resumableState,
|
7506
|
-
renderState$jscomp$
|
7599
|
+
renderState$jscomp$1 = destination;
|
7600
|
+
var resumableState$jscomp$1 = request.resumableState,
|
7601
|
+
renderState$jscomp$2 = request.renderState,
|
7507
7602
|
id = boundary.rootSegmentID,
|
7508
7603
|
errorDigest = boundary.errorDigest,
|
7509
7604
|
errorMessage = boundary.errorMessage,
|
7510
7605
|
errorStack = boundary.errorStack,
|
7511
7606
|
errorComponentStack = boundary.errorComponentStack;
|
7512
7607
|
writeChunk(
|
7513
|
-
renderState$jscomp$
|
7514
|
-
renderState$jscomp$
|
7608
|
+
renderState$jscomp$1,
|
7609
|
+
renderState$jscomp$2.startInlineScript
|
7515
7610
|
);
|
7516
|
-
(
|
7611
|
+
writeChunk(renderState$jscomp$1, endOfStartTag);
|
7612
|
+
(resumableState$jscomp$1.instructions &
|
7613
|
+
SentClientRenderFunction) ===
|
7517
7614
|
NothingSent
|
7518
|
-
? ((resumableState.instructions |=
|
7519
|
-
|
7520
|
-
|
7615
|
+
? ((resumableState$jscomp$1.instructions |=
|
7616
|
+
SentClientRenderFunction),
|
7617
|
+
writeChunk(renderState$jscomp$1, clientRenderScript1Full))
|
7618
|
+
: writeChunk(renderState$jscomp$1, clientRenderScript1Partial);
|
7521
7619
|
writeChunk(
|
7522
|
-
renderState$jscomp$
|
7523
|
-
renderState$jscomp$
|
7620
|
+
renderState$jscomp$1,
|
7621
|
+
renderState$jscomp$2.boundaryPrefix
|
7524
7622
|
);
|
7525
|
-
writeChunk(renderState$jscomp$
|
7526
|
-
writeChunk(renderState$jscomp$
|
7623
|
+
writeChunk(renderState$jscomp$1, stringToChunk(id.toString(16)));
|
7624
|
+
writeChunk(renderState$jscomp$1, clientRenderScript1A);
|
7527
7625
|
if (
|
7528
7626
|
errorDigest ||
|
7529
7627
|
errorMessage ||
|
@@ -7531,50 +7629,50 @@
|
|
7531
7629
|
errorComponentStack
|
7532
7630
|
)
|
7533
7631
|
writeChunk(
|
7534
|
-
renderState$jscomp$
|
7632
|
+
renderState$jscomp$1,
|
7535
7633
|
clientRenderErrorScriptArgInterstitial
|
7536
7634
|
),
|
7537
7635
|
writeChunk(
|
7538
|
-
renderState$jscomp$
|
7636
|
+
renderState$jscomp$1,
|
7539
7637
|
stringToChunk(
|
7540
7638
|
escapeJSStringsForInstructionScripts(errorDigest || "")
|
7541
7639
|
)
|
7542
7640
|
);
|
7543
7641
|
if (errorMessage || errorStack || errorComponentStack)
|
7544
7642
|
writeChunk(
|
7545
|
-
renderState$jscomp$
|
7643
|
+
renderState$jscomp$1,
|
7546
7644
|
clientRenderErrorScriptArgInterstitial
|
7547
7645
|
),
|
7548
7646
|
writeChunk(
|
7549
|
-
renderState$jscomp$
|
7647
|
+
renderState$jscomp$1,
|
7550
7648
|
stringToChunk(
|
7551
7649
|
escapeJSStringsForInstructionScripts(errorMessage || "")
|
7552
7650
|
)
|
7553
7651
|
);
|
7554
7652
|
if (errorStack || errorComponentStack)
|
7555
7653
|
writeChunk(
|
7556
|
-
renderState$jscomp$
|
7654
|
+
renderState$jscomp$1,
|
7557
7655
|
clientRenderErrorScriptArgInterstitial
|
7558
7656
|
),
|
7559
7657
|
writeChunk(
|
7560
|
-
renderState$jscomp$
|
7658
|
+
renderState$jscomp$1,
|
7561
7659
|
stringToChunk(
|
7562
7660
|
escapeJSStringsForInstructionScripts(errorStack || "")
|
7563
7661
|
)
|
7564
7662
|
);
|
7565
7663
|
errorComponentStack &&
|
7566
7664
|
(writeChunk(
|
7567
|
-
renderState$jscomp$
|
7665
|
+
renderState$jscomp$1,
|
7568
7666
|
clientRenderErrorScriptArgInterstitial
|
7569
7667
|
),
|
7570
7668
|
writeChunk(
|
7571
|
-
renderState$jscomp$
|
7669
|
+
renderState$jscomp$1,
|
7572
7670
|
stringToChunk(
|
7573
7671
|
escapeJSStringsForInstructionScripts(errorComponentStack)
|
7574
7672
|
)
|
7575
7673
|
));
|
7576
7674
|
var JSCompiler_inline_result = writeChunkAndReturn(
|
7577
|
-
renderState$jscomp$
|
7675
|
+
renderState$jscomp$1,
|
7578
7676
|
clientRenderScriptEnd
|
7579
7677
|
);
|
7580
7678
|
if (!JSCompiler_inline_result) {
|
@@ -7742,11 +7840,11 @@
|
|
7742
7840
|
}
|
7743
7841
|
function ensureCorrectIsomorphicReactVersion() {
|
7744
7842
|
var isomorphicReactPackageVersion = React.version;
|
7745
|
-
if ("19.2.0-canary-
|
7843
|
+
if ("19.2.0-canary-c498bfce-20250426" !== isomorphicReactPackageVersion)
|
7746
7844
|
throw Error(
|
7747
7845
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
7748
7846
|
(isomorphicReactPackageVersion +
|
7749
|
-
"\n - react-dom: 19.2.0-canary-
|
7847
|
+
"\n - react-dom: 19.2.0-canary-c498bfce-20250426\nLearn more: https://react.dev/warnings/version-mismatch")
|
7750
7848
|
);
|
7751
7849
|
}
|
7752
7850
|
var React = require("react"),
|
@@ -8835,18 +8933,19 @@
|
|
8835
8933
|
SentCompleteBoundaryFunction = 2,
|
8836
8934
|
SentClientRenderFunction = 4,
|
8837
8935
|
SentStyleInsertionFunction = 8,
|
8936
|
+
SentCompletedShellId = 32,
|
8838
8937
|
EXISTS = null,
|
8839
8938
|
PRELOAD_NO_CREDS = [];
|
8840
8939
|
Object.freeze(PRELOAD_NO_CREDS);
|
8841
8940
|
stringToPrecomputedChunk('"></template>');
|
8842
|
-
var startInlineScript = stringToPrecomputedChunk("<script
|
8941
|
+
var startInlineScript = stringToPrecomputedChunk("<script"),
|
8843
8942
|
endInlineScript = stringToPrecomputedChunk("\x3c/script>"),
|
8844
8943
|
startScriptSrc = stringToPrecomputedChunk('<script src="'),
|
8845
8944
|
startModuleSrc = stringToPrecomputedChunk('<script type="module" src="'),
|
8846
|
-
scriptNonce = stringToPrecomputedChunk('
|
8847
|
-
scriptIntegirty = stringToPrecomputedChunk('
|
8848
|
-
scriptCrossOrigin = stringToPrecomputedChunk('
|
8849
|
-
endAsyncScript = stringToPrecomputedChunk('
|
8945
|
+
scriptNonce = stringToPrecomputedChunk(' nonce="'),
|
8946
|
+
scriptIntegirty = stringToPrecomputedChunk(' integrity="'),
|
8947
|
+
scriptCrossOrigin = stringToPrecomputedChunk(' crossorigin="'),
|
8948
|
+
endAsyncScript = stringToPrecomputedChunk(' async="">\x3c/script>'),
|
8850
8949
|
scriptRegex = /(<\/|<)(s)(cript)/gi,
|
8851
8950
|
importMapScriptStart = stringToPrecomputedChunk(
|
8852
8951
|
'<script type="importmap">'
|
@@ -9023,6 +9122,13 @@
|
|
9023
9122
|
spaceSeparator = stringToPrecomputedChunk(" "),
|
9024
9123
|
styleTagResourceOpen3 = stringToPrecomputedChunk('">'),
|
9025
9124
|
styleTagResourceClose = stringToPrecomputedChunk("</style>"),
|
9125
|
+
blockingRenderChunkStart = stringToPrecomputedChunk(
|
9126
|
+
'<link rel="expect" href="#'
|
9127
|
+
),
|
9128
|
+
blockingRenderChunkEnd = stringToPrecomputedChunk(
|
9129
|
+
'" blocking="render"/>'
|
9130
|
+
),
|
9131
|
+
completedShellIdAttributeStart = stringToPrecomputedChunk(' id="'),
|
9026
9132
|
arrayFirstOpenBracket = stringToPrecomputedChunk("["),
|
9027
9133
|
arraySubsequentOpenBracket = stringToPrecomputedChunk(",["),
|
9028
9134
|
arrayInterstitial = stringToPrecomputedChunk(","),
|
@@ -9420,5 +9526,5 @@
|
|
9420
9526
|
startWork(request);
|
9421
9527
|
});
|
9422
9528
|
};
|
9423
|
-
exports.version = "19.2.0-canary-
|
9529
|
+
exports.version = "19.2.0-canary-c498bfce-20250426";
|
9424
9530
|
})();
|