react-dom 19.2.0-canary-b4477d38-20250605 → 19.2.0-canary-280ff6fe-20250606
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 +41 -27
- package/cjs/react-dom-server-legacy.browser.production.js +51 -44
- package/cjs/react-dom-server-legacy.node.development.js +41 -27
- package/cjs/react-dom-server-legacy.node.production.js +51 -44
- package/cjs/react-dom-server.browser.development.js +47 -31
- package/cjs/react-dom-server.browser.production.js +34 -27
- package/cjs/react-dom-server.bun.development.js +43 -32
- package/cjs/react-dom-server.bun.production.js +36 -29
- package/cjs/react-dom-server.edge.development.js +47 -31
- package/cjs/react-dom-server.edge.production.js +34 -27
- package/cjs/react-dom-server.node.development.js +47 -34
- package/cjs/react-dom-server.node.production.js +34 -30
- 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
- package/server.node.js +1 -7
- package/static.node.js +1 -5
- package/cjs/react-dom-server.node-webstreams.development.js +0 -10008
- package/cjs/react-dom-server.node-webstreams.production.js +0 -6955
@@ -4958,7 +4958,8 @@
|
|
4958
4958
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
4959
4959
|
} catch (thrownValue) {
|
4960
4960
|
throw (
|
4961
|
-
((resumeSegmentID.status =
|
4961
|
+
((resumeSegmentID.status =
|
4962
|
+
12 === request.status ? ABORTED : ERRORED),
|
4962
4963
|
thrownValue)
|
4963
4964
|
);
|
4964
4965
|
}
|
@@ -5804,7 +5805,7 @@
|
|
5804
5805
|
} catch (thrownValue) {
|
5805
5806
|
throw (
|
5806
5807
|
((boundarySegment.status =
|
5807
|
-
12 === request.status ? ABORTED :
|
5808
|
+
12 === request.status ? ABORTED : ERRORED),
|
5808
5809
|
thrownValue)
|
5809
5810
|
);
|
5810
5811
|
} finally {
|
@@ -5885,7 +5886,8 @@
|
|
5885
5886
|
contentRootSegment.status = ABORTED;
|
5886
5887
|
var error = request.fatalError;
|
5887
5888
|
} else
|
5888
|
-
(contentRootSegment.status =
|
5889
|
+
(contentRootSegment.status = ERRORED),
|
5890
|
+
(error = thrownValue$2);
|
5889
5891
|
var thrownInfo = getThrownInfo(task.componentStack);
|
5890
5892
|
var errorDigest = logRecoverableError(
|
5891
5893
|
request,
|
@@ -7008,7 +7010,9 @@
|
|
7008
7010
|
var childSegment = segment.children[0];
|
7009
7011
|
childSegment.id = segment.id;
|
7010
7012
|
childSegment.parentFlushed = !0;
|
7011
|
-
childSegment.status
|
7013
|
+
(childSegment.status !== COMPLETED &&
|
7014
|
+
childSegment.status !== ABORTED &&
|
7015
|
+
childSegment.status !== ERRORED) ||
|
7012
7016
|
queueCompletedSegment(boundary, childSegment);
|
7013
7017
|
} else boundary.completedSegments.push(segment);
|
7014
7018
|
}
|
@@ -7039,7 +7043,7 @@
|
|
7039
7043
|
(boundary$jscomp$0.status = COMPLETED),
|
7040
7044
|
null !== segment &&
|
7041
7045
|
segment.parentFlushed &&
|
7042
|
-
segment.status === COMPLETED &&
|
7046
|
+
(segment.status === COMPLETED || segment.status === ABORTED) &&
|
7043
7047
|
queueCompletedSegment(boundary$jscomp$0, segment),
|
7044
7048
|
boundary$jscomp$0.parentFlushed &&
|
7045
7049
|
request$jscomp$0.completedBoundaries.push(boundary$jscomp$0),
|
@@ -7123,9 +7127,9 @@
|
|
7123
7127
|
}
|
7124
7128
|
}
|
7125
7129
|
else
|
7126
|
-
null
|
7127
|
-
segment.parentFlushed
|
7128
|
-
segment.status
|
7130
|
+
null === segment ||
|
7131
|
+
!segment.parentFlushed ||
|
7132
|
+
(segment.status !== COMPLETED && segment.status !== ABORTED) ||
|
7129
7133
|
(queueCompletedSegment(boundary$jscomp$0, segment),
|
7130
7134
|
1 === boundary$jscomp$0.completedSegments.length &&
|
7131
7135
|
boundary$jscomp$0.parentFlushed &&
|
@@ -7299,7 +7303,7 @@
|
|
7299
7303
|
errorDigest.componentStack
|
7300
7304
|
);
|
7301
7305
|
errorDigest.abortSet.delete(errorDigest);
|
7302
|
-
request$jscomp$1.status =
|
7306
|
+
request$jscomp$1.status = ERRORED;
|
7303
7307
|
var boundary$jscomp$0 = errorDigest.blockedBoundary,
|
7304
7308
|
row = errorDigest.row,
|
7305
7309
|
debugTask = errorDigest.debugTask;
|
@@ -7482,6 +7486,8 @@
|
|
7482
7486
|
destination.push(chunks[chunkIdx]);
|
7483
7487
|
chunkIdx < chunks.length && (r = destination.push(chunks[chunkIdx]));
|
7484
7488
|
return r;
|
7489
|
+
case ABORTED:
|
7490
|
+
return !0;
|
7485
7491
|
default:
|
7486
7492
|
throw Error(
|
7487
7493
|
"Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React."
|
@@ -7727,7 +7733,8 @@
|
|
7727
7733
|
var completedPreambleSegments = request.completedPreambleSegments;
|
7728
7734
|
if (null === completedPreambleSegments) return;
|
7729
7735
|
flushedByteSize = request.byteSize;
|
7730
|
-
var
|
7736
|
+
var resumableState = request.resumableState,
|
7737
|
+
renderState = request.renderState,
|
7731
7738
|
preamble = renderState.preamble,
|
7732
7739
|
htmlChunks = preamble.htmlChunks,
|
7733
7740
|
headChunks = preamble.headChunks,
|
@@ -7788,6 +7795,7 @@
|
|
7788
7795
|
renderState.scripts.clear();
|
7789
7796
|
renderState.bulkPreloads.forEach(flushResource, destination);
|
7790
7797
|
renderState.bulkPreloads.clear();
|
7798
|
+
resumableState.instructions |= SentCompletedShellId;
|
7791
7799
|
var hoistableChunks = renderState.hoistableChunks;
|
7792
7800
|
for (
|
7793
7801
|
i$jscomp$0 = 0;
|
@@ -7796,13 +7804,17 @@
|
|
7796
7804
|
)
|
7797
7805
|
destination.push(hoistableChunks[i$jscomp$0]);
|
7798
7806
|
for (
|
7799
|
-
|
7800
|
-
|
7801
|
-
|
7807
|
+
resumableState = hoistableChunks.length = 0;
|
7808
|
+
resumableState < completedPreambleSegments.length;
|
7809
|
+
resumableState++
|
7802
7810
|
) {
|
7803
|
-
var segments = completedPreambleSegments[
|
7804
|
-
for (
|
7805
|
-
|
7811
|
+
var segments = completedPreambleSegments[resumableState];
|
7812
|
+
for (
|
7813
|
+
renderState = 0;
|
7814
|
+
renderState < segments.length;
|
7815
|
+
renderState++
|
7816
|
+
)
|
7817
|
+
flushSegment(request, destination, segments[renderState], null);
|
7806
7818
|
}
|
7807
7819
|
var preamble$jscomp$0 = request.renderState.preamble,
|
7808
7820
|
headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
|
@@ -7829,19 +7841,20 @@
|
|
7829
7841
|
(0 !== request.trackedPostpones.rootNodes.length ||
|
7830
7842
|
null !== request.trackedPostpones.rootSlots))
|
7831
7843
|
) {
|
7832
|
-
var resumableState = request.resumableState;
|
7844
|
+
var resumableState$jscomp$0 = request.resumableState;
|
7833
7845
|
if (
|
7834
|
-
(resumableState.instructions & SentMarkShellTime) ===
|
7846
|
+
(resumableState$jscomp$0.instructions & SentMarkShellTime) ===
|
7835
7847
|
NothingSent
|
7836
7848
|
) {
|
7837
|
-
resumableState.instructions |= SentMarkShellTime;
|
7849
|
+
resumableState$jscomp$0.instructions |= SentMarkShellTime;
|
7838
7850
|
destination.push(renderState$jscomp$0.startInlineScript);
|
7839
7851
|
if (
|
7840
|
-
(resumableState.instructions &
|
7852
|
+
(resumableState$jscomp$0.instructions &
|
7853
|
+
SentCompletedShellId) ===
|
7841
7854
|
NothingSent
|
7842
7855
|
) {
|
7843
|
-
resumableState.instructions |= SentCompletedShellId;
|
7844
|
-
var shellId = "_" + resumableState.idPrefix + "R_";
|
7856
|
+
resumableState$jscomp$0.instructions |= SentCompletedShellId;
|
7857
|
+
var shellId = "_" + resumableState$jscomp$0.idPrefix + "R_";
|
7845
7858
|
destination.push(completedShellIdAttributeStart);
|
7846
7859
|
var chunk$jscomp$1 = escapeTextForBrowser(shellId);
|
7847
7860
|
destination.push(chunk$jscomp$1);
|
@@ -7890,7 +7903,7 @@
|
|
7890
7903
|
for (i = 0; i < clientRenderedBoundaries.length; i++) {
|
7891
7904
|
var boundary = clientRenderedBoundaries[i];
|
7892
7905
|
renderState$jscomp$1 = destination;
|
7893
|
-
var resumableState$jscomp$
|
7906
|
+
var resumableState$jscomp$1 = request.resumableState,
|
7894
7907
|
renderState$jscomp$2 = request.renderState,
|
7895
7908
|
id = boundary.rootSegmentID,
|
7896
7909
|
errorDigest = boundary.errorDigest,
|
@@ -7899,10 +7912,10 @@
|
|
7899
7912
|
errorComponentStack = boundary.errorComponentStack;
|
7900
7913
|
renderState$jscomp$1.push(renderState$jscomp$2.startInlineScript);
|
7901
7914
|
renderState$jscomp$1.push(endOfStartTag);
|
7902
|
-
(resumableState$jscomp$
|
7915
|
+
(resumableState$jscomp$1.instructions &
|
7903
7916
|
SentClientRenderFunction) ===
|
7904
7917
|
NothingSent
|
7905
|
-
? ((resumableState$jscomp$
|
7918
|
+
? ((resumableState$jscomp$1.instructions |=
|
7906
7919
|
SentClientRenderFunction),
|
7907
7920
|
renderState$jscomp$1.push(clientRenderScript1Full))
|
7908
7921
|
: renderState$jscomp$1.push(clientRenderScript1Partial);
|
@@ -9343,7 +9356,7 @@
|
|
9343
9356
|
completeSegmentScript2 = '","',
|
9344
9357
|
completeSegmentScriptEnd = '")\x3c/script>',
|
9345
9358
|
completeBoundaryScriptFunctionOnly =
|
9346
|
-
'$RB=[];$RV=function(
|
9359
|
+
'$RB=[];$RV=function(b){$RT=performance.now();for(var a=0;a<b.length;a+=2){var c=b[a],h=b[a+1],e=c.parentNode;if(e){var f=c.previousSibling,g=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===g)break;else g--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||g++}d=c.nextSibling;e.removeChild(c);c=d}while(c);for(;h.firstChild;)e.insertBefore(h.firstChild,c);f.data="$";f._reactRetry&&f._reactRetry()}}b.length=0};$RC=function(b,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),b=document.getElementById(b))b.previousSibling.data="$~",$RB.push(b,a),2===$RB.length&&(b="number"!==typeof $RT?0:$RT,a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:b+300-a))};',
|
9347
9360
|
completeBoundaryScript1Partial = '$RC("',
|
9348
9361
|
completeBoundaryWithStylesScript1FullPartial =
|
9349
9362
|
'$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("',
|
@@ -9621,6 +9634,7 @@
|
|
9621
9634
|
COMPLETED = 1,
|
9622
9635
|
FLUSHED = 2,
|
9623
9636
|
ABORTED = 3,
|
9637
|
+
ERRORED = 4,
|
9624
9638
|
POSTPONED = 5,
|
9625
9639
|
CLOSED = 14,
|
9626
9640
|
currentRequest = null,
|
@@ -9648,5 +9662,5 @@
|
|
9648
9662
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
9649
9663
|
);
|
9650
9664
|
};
|
9651
|
-
exports.version = "19.2.0-canary-
|
9665
|
+
exports.version = "19.2.0-canary-280ff6fe-20250606";
|
9652
9666
|
})();
|
@@ -2744,16 +2744,16 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2744
2744
|
"\x3c/script>"
|
2745
2745
|
));
|
2746
2746
|
bootstrapScriptContent = idPrefix + "P:";
|
2747
|
-
var
|
2747
|
+
var JSCompiler_object_inline_segmentPrefix_1667 = idPrefix + "S:";
|
2748
2748
|
idPrefix += "B:";
|
2749
|
-
var
|
2750
|
-
|
2751
|
-
|
2752
|
-
|
2753
|
-
|
2754
|
-
|
2755
|
-
|
2756
|
-
|
2749
|
+
var JSCompiler_object_inline_preconnects_1681 = new Set(),
|
2750
|
+
JSCompiler_object_inline_fontPreloads_1682 = new Set(),
|
2751
|
+
JSCompiler_object_inline_highImagePreloads_1683 = new Set(),
|
2752
|
+
JSCompiler_object_inline_styles_1684 = new Map(),
|
2753
|
+
JSCompiler_object_inline_bootstrapScripts_1685 = new Set(),
|
2754
|
+
JSCompiler_object_inline_scripts_1686 = new Set(),
|
2755
|
+
JSCompiler_object_inline_bulkPreloads_1687 = new Set(),
|
2756
|
+
JSCompiler_object_inline_preloads_1688 = {
|
2757
2757
|
images: new Map(),
|
2758
2758
|
stylesheets: new Map(),
|
2759
2759
|
scripts: new Map(),
|
@@ -2790,7 +2790,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2790
2790
|
scriptConfig.moduleScriptResources[href] = null;
|
2791
2791
|
scriptConfig = [];
|
2792
2792
|
pushLinkImpl(scriptConfig, props);
|
2793
|
-
|
2793
|
+
JSCompiler_object_inline_bootstrapScripts_1685.add(scriptConfig);
|
2794
2794
|
bootstrapChunks.push('<script src="', escapeTextForBrowser(src), '"');
|
2795
2795
|
"string" === typeof integrity &&
|
2796
2796
|
bootstrapChunks.push(
|
@@ -2837,7 +2837,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2837
2837
|
(props.moduleScriptResources[scriptConfig] = null),
|
2838
2838
|
(props = []),
|
2839
2839
|
pushLinkImpl(props, integrity),
|
2840
|
-
|
2840
|
+
JSCompiler_object_inline_bootstrapScripts_1685.add(props),
|
2841
2841
|
bootstrapChunks.push(
|
2842
2842
|
'<script type="module" src="',
|
2843
2843
|
escapeTextForBrowser(i),
|
@@ -2859,7 +2859,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2859
2859
|
bootstrapChunks.push(' async="">\x3c/script>');
|
2860
2860
|
return {
|
2861
2861
|
placeholderPrefix: bootstrapScriptContent,
|
2862
|
-
segmentPrefix:
|
2862
|
+
segmentPrefix: JSCompiler_object_inline_segmentPrefix_1667,
|
2863
2863
|
boundaryPrefix: idPrefix,
|
2864
2864
|
startInlineScript: "<script",
|
2865
2865
|
startInlineStyle: "<style",
|
@@ -2879,14 +2879,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
|
|
2879
2879
|
charsetChunks: [],
|
2880
2880
|
viewportChunks: [],
|
2881
2881
|
hoistableChunks: [],
|
2882
|
-
preconnects:
|
2883
|
-
fontPreloads:
|
2884
|
-
highImagePreloads:
|
2885
|
-
styles:
|
2886
|
-
bootstrapScripts:
|
2887
|
-
scripts:
|
2888
|
-
bulkPreloads:
|
2889
|
-
preloads:
|
2882
|
+
preconnects: JSCompiler_object_inline_preconnects_1681,
|
2883
|
+
fontPreloads: JSCompiler_object_inline_fontPreloads_1682,
|
2884
|
+
highImagePreloads: JSCompiler_object_inline_highImagePreloads_1683,
|
2885
|
+
styles: JSCompiler_object_inline_styles_1684,
|
2886
|
+
bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1685,
|
2887
|
+
scripts: JSCompiler_object_inline_scripts_1686,
|
2888
|
+
bulkPreloads: JSCompiler_object_inline_bulkPreloads_1687,
|
2889
|
+
preloads: JSCompiler_object_inline_preloads_1688,
|
2890
2890
|
nonce: { script: void 0, style: void 0 },
|
2891
2891
|
stylesToHoist: !1,
|
2892
2892
|
generateStaticMarkup: generateStaticMarkup
|
@@ -5479,7 +5479,10 @@ function queueCompletedSegment(boundary, segment) {
|
|
5479
5479
|
var childSegment = segment.children[0];
|
5480
5480
|
childSegment.id = segment.id;
|
5481
5481
|
childSegment.parentFlushed = !0;
|
5482
|
-
1
|
5482
|
+
(1 !== childSegment.status &&
|
5483
|
+
3 !== childSegment.status &&
|
5484
|
+
4 !== childSegment.status) ||
|
5485
|
+
queueCompletedSegment(boundary, childSegment);
|
5483
5486
|
} else boundary.completedSegments.push(segment);
|
5484
5487
|
}
|
5485
5488
|
function finishedTask(request$jscomp$0, boundary, row, segment) {
|
@@ -5504,7 +5507,7 @@ function finishedTask(request$jscomp$0, boundary, row, segment) {
|
|
5504
5507
|
(0 === boundary.status && (boundary.status = 1),
|
5505
5508
|
null !== segment &&
|
5506
5509
|
segment.parentFlushed &&
|
5507
|
-
1 === segment.status &&
|
5510
|
+
(1 === segment.status || 3 === segment.status) &&
|
5508
5511
|
queueCompletedSegment(boundary, segment),
|
5509
5512
|
boundary.parentFlushed &&
|
5510
5513
|
request$jscomp$0.completedBoundaries.push(boundary),
|
@@ -5584,9 +5587,9 @@ function finishedTask(request$jscomp$0, boundary, row, segment) {
|
|
5584
5587
|
}
|
5585
5588
|
}
|
5586
5589
|
else
|
5587
|
-
null
|
5588
|
-
segment.parentFlushed
|
5589
|
-
1
|
5590
|
+
null === segment ||
|
5591
|
+
!segment.parentFlushed ||
|
5592
|
+
(1 !== segment.status && 3 !== segment.status) ||
|
5590
5593
|
(queueCompletedSegment(boundary, segment),
|
5591
5594
|
1 === boundary.completedSegments.length &&
|
5592
5595
|
boundary.parentFlushed &&
|
@@ -5904,6 +5907,8 @@ function flushSubtree(request, destination, segment, hoistableState) {
|
|
5904
5907
|
destination.push(chunks[chunkIdx]);
|
5905
5908
|
chunkIdx < chunks.length && (r = destination.push(chunks[chunkIdx]));
|
5906
5909
|
return r;
|
5910
|
+
case 3:
|
5911
|
+
return !0;
|
5907
5912
|
default:
|
5908
5913
|
throw Error(
|
5909
5914
|
"Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React."
|
@@ -6038,7 +6043,7 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
6038
6043
|
0 === (completedSegments.instructions & 2) &&
|
6039
6044
|
((completedSegments.instructions |= 2),
|
6040
6045
|
destination.push(
|
6041
|
-
'$RB=[];$RV=function(
|
6046
|
+
'$RB=[];$RV=function(b){$RT=performance.now();for(var a=0;a<b.length;a+=2){var c=b[a],h=b[a+1],e=c.parentNode;if(e){var f=c.previousSibling,g=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===g)break;else g--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||g++}d=c.nextSibling;e.removeChild(c);c=d}while(c);for(;h.firstChild;)e.insertBefore(h.firstChild,c);f.data="$";f._reactRetry&&f._reactRetry()}}b.length=0};$RC=function(b,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),b=document.getElementById(b))b.previousSibling.data="$~",$RB.push(b,a),2===$RB.length&&(b="number"!==typeof $RT?0:$RT,a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:b+300-a))};'
|
6042
6047
|
)),
|
6043
6048
|
0 === (completedSegments.instructions & 8)
|
6044
6049
|
? ((completedSegments.instructions |= 8),
|
@@ -6049,7 +6054,7 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
6049
6054
|
: (0 === (completedSegments.instructions & 2) &&
|
6050
6055
|
((completedSegments.instructions |= 2),
|
6051
6056
|
destination.push(
|
6052
|
-
'$RB=[];$RV=function(
|
6057
|
+
'$RB=[];$RV=function(b){$RT=performance.now();for(var a=0;a<b.length;a+=2){var c=b[a],h=b[a+1],e=c.parentNode;if(e){var f=c.previousSibling,g=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===g)break;else g--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||g++}d=c.nextSibling;e.removeChild(c);c=d}while(c);for(;h.firstChild;)e.insertBefore(h.firstChild,c);f.data="$";f._reactRetry&&f._reactRetry()}}b.length=0};$RC=function(b,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),b=document.getElementById(b))b.previousSibling.data="$~",$RB.push(b,a),2===$RB.length&&(b="number"!==typeof $RT?0:$RT,a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:b+300-a))};'
|
6053
6058
|
)),
|
6054
6059
|
destination.push('$RC("'));
|
6055
6060
|
completedSegments = i.toString(16);
|
@@ -6113,7 +6118,8 @@ function flushCompletedQueues(request, destination) {
|
|
6113
6118
|
var completedPreambleSegments = request.completedPreambleSegments;
|
6114
6119
|
if (null === completedPreambleSegments) return;
|
6115
6120
|
flushedByteSize = request.byteSize;
|
6116
|
-
var
|
6121
|
+
var resumableState = request.resumableState,
|
6122
|
+
renderState = request.renderState,
|
6117
6123
|
preamble = renderState.preamble,
|
6118
6124
|
htmlChunks = preamble.htmlChunks,
|
6119
6125
|
headChunks = preamble.headChunks,
|
@@ -6158,17 +6164,18 @@ function flushCompletedQueues(request, destination) {
|
|
6158
6164
|
renderState.scripts.clear();
|
6159
6165
|
renderState.bulkPreloads.forEach(flushResource, destination);
|
6160
6166
|
renderState.bulkPreloads.clear();
|
6167
|
+
resumableState.instructions |= 32;
|
6161
6168
|
var hoistableChunks = renderState.hoistableChunks;
|
6162
6169
|
for (i$jscomp$0 = 0; i$jscomp$0 < hoistableChunks.length; i$jscomp$0++)
|
6163
6170
|
destination.push(hoistableChunks[i$jscomp$0]);
|
6164
6171
|
for (
|
6165
|
-
|
6166
|
-
|
6167
|
-
|
6172
|
+
resumableState = hoistableChunks.length = 0;
|
6173
|
+
resumableState < completedPreambleSegments.length;
|
6174
|
+
resumableState++
|
6168
6175
|
) {
|
6169
|
-
var segments = completedPreambleSegments[
|
6170
|
-
for (
|
6171
|
-
flushSegment(request, destination, segments[
|
6176
|
+
var segments = completedPreambleSegments[resumableState];
|
6177
|
+
for (renderState = 0; renderState < segments.length; renderState++)
|
6178
|
+
flushSegment(request, destination, segments[renderState], null);
|
6172
6179
|
}
|
6173
6180
|
var preamble$jscomp$0 = request.renderState.preamble,
|
6174
6181
|
headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
|
@@ -6195,13 +6202,13 @@ function flushCompletedQueues(request, destination) {
|
|
6195
6202
|
(0 !== request.trackedPostpones.rootNodes.length ||
|
6196
6203
|
null !== request.trackedPostpones.rootSlots))
|
6197
6204
|
) {
|
6198
|
-
var resumableState = request.resumableState;
|
6199
|
-
if (0 === (resumableState.instructions & 64)) {
|
6200
|
-
resumableState.instructions |= 64;
|
6205
|
+
var resumableState$jscomp$0 = request.resumableState;
|
6206
|
+
if (0 === (resumableState$jscomp$0.instructions & 64)) {
|
6207
|
+
resumableState$jscomp$0.instructions |= 64;
|
6201
6208
|
destination.push(renderState$jscomp$0.startInlineScript);
|
6202
|
-
if (0 === (resumableState.instructions & 32)) {
|
6203
|
-
resumableState.instructions |= 32;
|
6204
|
-
var shellId = "_" + resumableState.idPrefix + "R_";
|
6209
|
+
if (0 === (resumableState$jscomp$0.instructions & 32)) {
|
6210
|
+
resumableState$jscomp$0.instructions |= 32;
|
6211
|
+
var shellId = "_" + resumableState$jscomp$0.idPrefix + "R_";
|
6205
6212
|
destination.push(' id="');
|
6206
6213
|
var chunk$jscomp$1 = escapeTextForBrowser(shellId);
|
6207
6214
|
destination.push(chunk$jscomp$1);
|
@@ -6252,14 +6259,14 @@ function flushCompletedQueues(request, destination) {
|
|
6252
6259
|
for (i = 0; i < clientRenderedBoundaries.length; i++) {
|
6253
6260
|
var boundary = clientRenderedBoundaries[i];
|
6254
6261
|
renderState$jscomp$1 = destination;
|
6255
|
-
var resumableState$jscomp$
|
6262
|
+
var resumableState$jscomp$1 = request.resumableState,
|
6256
6263
|
renderState$jscomp$2 = request.renderState,
|
6257
6264
|
id = boundary.rootSegmentID,
|
6258
6265
|
errorDigest = boundary.errorDigest;
|
6259
6266
|
renderState$jscomp$1.push(renderState$jscomp$2.startInlineScript);
|
6260
6267
|
renderState$jscomp$1.push(">");
|
6261
|
-
0 === (resumableState$jscomp$
|
6262
|
-
? ((resumableState$jscomp$
|
6268
|
+
0 === (resumableState$jscomp$1.instructions & 4)
|
6269
|
+
? ((resumableState$jscomp$1.instructions |= 4),
|
6263
6270
|
renderState$jscomp$1.push(
|
6264
6271
|
'$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'
|
6265
6272
|
))
|
@@ -6501,4 +6508,4 @@ exports.renderToString = function (children, options) {
|
|
6501
6508
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
6502
6509
|
);
|
6503
6510
|
};
|
6504
|
-
exports.version = "19.2.0-canary-
|
6511
|
+
exports.version = "19.2.0-canary-280ff6fe-20250606";
|
@@ -5160,7 +5160,8 @@
|
|
5160
5160
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
5161
5161
|
} catch (thrownValue) {
|
5162
5162
|
throw (
|
5163
|
-
((resumeSegmentID.status =
|
5163
|
+
((resumeSegmentID.status =
|
5164
|
+
12 === request.status ? ABORTED : ERRORED),
|
5164
5165
|
thrownValue)
|
5165
5166
|
);
|
5166
5167
|
}
|
@@ -6011,7 +6012,7 @@
|
|
6011
6012
|
} catch (thrownValue) {
|
6012
6013
|
throw (
|
6013
6014
|
((boundarySegment.status =
|
6014
|
-
12 === request.status ? ABORTED :
|
6015
|
+
12 === request.status ? ABORTED : ERRORED),
|
6015
6016
|
thrownValue)
|
6016
6017
|
);
|
6017
6018
|
} finally {
|
@@ -6090,7 +6091,8 @@
|
|
6090
6091
|
contentRootSegment.status = ABORTED;
|
6091
6092
|
var error = request.fatalError;
|
6092
6093
|
} else
|
6093
|
-
(contentRootSegment.status =
|
6094
|
+
(contentRootSegment.status = ERRORED),
|
6095
|
+
(error = thrownValue$2);
|
6094
6096
|
var thrownInfo = getThrownInfo(task.componentStack);
|
6095
6097
|
var errorDigest = logRecoverableError(
|
6096
6098
|
request,
|
@@ -7223,7 +7225,9 @@
|
|
7223
7225
|
var childSegment = segment.children[0];
|
7224
7226
|
childSegment.id = segment.id;
|
7225
7227
|
childSegment.parentFlushed = !0;
|
7226
|
-
childSegment.status
|
7228
|
+
(childSegment.status !== COMPLETED &&
|
7229
|
+
childSegment.status !== ABORTED &&
|
7230
|
+
childSegment.status !== ERRORED) ||
|
7227
7231
|
queueCompletedSegment(boundary, childSegment);
|
7228
7232
|
} else boundary.completedSegments.push(segment);
|
7229
7233
|
}
|
@@ -7264,7 +7268,7 @@
|
|
7264
7268
|
(boundary$jscomp$0.status = COMPLETED),
|
7265
7269
|
null !== segment &&
|
7266
7270
|
segment.parentFlushed &&
|
7267
|
-
segment.status === COMPLETED &&
|
7271
|
+
(segment.status === COMPLETED || segment.status === ABORTED) &&
|
7268
7272
|
queueCompletedSegment(boundary$jscomp$0, segment),
|
7269
7273
|
boundary$jscomp$0.parentFlushed &&
|
7270
7274
|
request$jscomp$0.completedBoundaries.push(boundary$jscomp$0),
|
@@ -7348,9 +7352,9 @@
|
|
7348
7352
|
}
|
7349
7353
|
}
|
7350
7354
|
else
|
7351
|
-
null
|
7352
|
-
segment.parentFlushed
|
7353
|
-
segment.status
|
7355
|
+
null === segment ||
|
7356
|
+
!segment.parentFlushed ||
|
7357
|
+
(segment.status !== COMPLETED && segment.status !== ABORTED) ||
|
7354
7358
|
(queueCompletedSegment(boundary$jscomp$0, segment),
|
7355
7359
|
1 === boundary$jscomp$0.completedSegments.length &&
|
7356
7360
|
boundary$jscomp$0.parentFlushed &&
|
@@ -7526,7 +7530,7 @@
|
|
7526
7530
|
errorDigest.componentStack
|
7527
7531
|
);
|
7528
7532
|
errorDigest.abortSet.delete(errorDigest);
|
7529
|
-
request$jscomp$1.status =
|
7533
|
+
request$jscomp$1.status = ERRORED;
|
7530
7534
|
var boundary$jscomp$0 = errorDigest.blockedBoundary,
|
7531
7535
|
row = errorDigest.row,
|
7532
7536
|
debugTask = errorDigest.debugTask;
|
@@ -7710,6 +7714,8 @@
|
|
7710
7714
|
chunkIdx < chunks.length &&
|
7711
7715
|
(r = writeChunkAndReturn(destination, chunks[chunkIdx]));
|
7712
7716
|
return r;
|
7717
|
+
case ABORTED:
|
7718
|
+
return !0;
|
7713
7719
|
default:
|
7714
7720
|
throw Error(
|
7715
7721
|
"Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React."
|
@@ -7955,7 +7961,8 @@
|
|
7955
7961
|
var completedPreambleSegments = request.completedPreambleSegments;
|
7956
7962
|
if (null === completedPreambleSegments) return;
|
7957
7963
|
flushedByteSize = request.byteSize;
|
7958
|
-
var
|
7964
|
+
var resumableState = request.resumableState,
|
7965
|
+
renderState = request.renderState,
|
7959
7966
|
preamble = renderState.preamble,
|
7960
7967
|
htmlChunks = preamble.htmlChunks,
|
7961
7968
|
headChunks = preamble.headChunks,
|
@@ -8014,6 +8021,9 @@
|
|
8014
8021
|
renderState.scripts.clear();
|
8015
8022
|
renderState.bulkPreloads.forEach(flushResource, destination);
|
8016
8023
|
renderState.bulkPreloads.clear();
|
8024
|
+
htmlChunks ||
|
8025
|
+
headChunks ||
|
8026
|
+
(resumableState.instructions |= SentCompletedShellId);
|
8017
8027
|
var hoistableChunks = renderState.hoistableChunks;
|
8018
8028
|
for (
|
8019
8029
|
i$jscomp$0 = 0;
|
@@ -8022,13 +8032,17 @@
|
|
8022
8032
|
)
|
8023
8033
|
writeChunk(destination, hoistableChunks[i$jscomp$0]);
|
8024
8034
|
for (
|
8025
|
-
|
8026
|
-
|
8027
|
-
|
8035
|
+
resumableState = hoistableChunks.length = 0;
|
8036
|
+
resumableState < completedPreambleSegments.length;
|
8037
|
+
resumableState++
|
8028
8038
|
) {
|
8029
|
-
var segments = completedPreambleSegments[
|
8030
|
-
for (
|
8031
|
-
|
8039
|
+
var segments = completedPreambleSegments[resumableState];
|
8040
|
+
for (
|
8041
|
+
renderState = 0;
|
8042
|
+
renderState < segments.length;
|
8043
|
+
renderState++
|
8044
|
+
)
|
8045
|
+
flushSegment(request, destination, segments[renderState], null);
|
8032
8046
|
}
|
8033
8047
|
var preamble$jscomp$0 = request.renderState.preamble,
|
8034
8048
|
headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
|
@@ -8053,19 +8067,20 @@
|
|
8053
8067
|
(0 !== request.trackedPostpones.rootNodes.length ||
|
8054
8068
|
null !== request.trackedPostpones.rootSlots))
|
8055
8069
|
) {
|
8056
|
-
var resumableState = request.resumableState;
|
8070
|
+
var resumableState$jscomp$0 = request.resumableState;
|
8057
8071
|
if (
|
8058
|
-
(resumableState.instructions & SentMarkShellTime) ===
|
8072
|
+
(resumableState$jscomp$0.instructions & SentMarkShellTime) ===
|
8059
8073
|
NothingSent
|
8060
8074
|
) {
|
8061
|
-
resumableState.instructions |= SentMarkShellTime;
|
8075
|
+
resumableState$jscomp$0.instructions |= SentMarkShellTime;
|
8062
8076
|
writeChunk(destination, renderState$jscomp$0.startInlineScript);
|
8063
8077
|
if (
|
8064
|
-
(resumableState.instructions &
|
8078
|
+
(resumableState$jscomp$0.instructions &
|
8079
|
+
SentCompletedShellId) ===
|
8065
8080
|
NothingSent
|
8066
8081
|
) {
|
8067
|
-
resumableState.instructions |= SentCompletedShellId;
|
8068
|
-
var shellId = "_" + resumableState.idPrefix + "R_";
|
8082
|
+
resumableState$jscomp$0.instructions |= SentCompletedShellId;
|
8083
|
+
var shellId = "_" + resumableState$jscomp$0.idPrefix + "R_";
|
8069
8084
|
writeChunk(destination, completedShellIdAttributeStart);
|
8070
8085
|
writeChunk(
|
8071
8086
|
destination,
|
@@ -8122,7 +8137,7 @@
|
|
8122
8137
|
for (i = 0; i < clientRenderedBoundaries.length; i++) {
|
8123
8138
|
var boundary = clientRenderedBoundaries[i];
|
8124
8139
|
renderState$jscomp$1 = destination;
|
8125
|
-
var resumableState$jscomp$
|
8140
|
+
var resumableState$jscomp$1 = request.resumableState,
|
8126
8141
|
renderState$jscomp$2 = request.renderState,
|
8127
8142
|
id = boundary.rootSegmentID,
|
8128
8143
|
errorDigest = boundary.errorDigest,
|
@@ -8134,10 +8149,10 @@
|
|
8134
8149
|
renderState$jscomp$2.startInlineScript
|
8135
8150
|
);
|
8136
8151
|
writeChunk(renderState$jscomp$1, endOfStartTag);
|
8137
|
-
(resumableState$jscomp$
|
8152
|
+
(resumableState$jscomp$1.instructions &
|
8138
8153
|
SentClientRenderFunction) ===
|
8139
8154
|
NothingSent
|
8140
|
-
? ((resumableState$jscomp$
|
8155
|
+
? ((resumableState$jscomp$1.instructions |=
|
8141
8156
|
SentClientRenderFunction),
|
8142
8157
|
writeChunk(renderState$jscomp$1, clientRenderScript1Full))
|
8143
8158
|
: writeChunk(renderState$jscomp$1, clientRenderScript1Partial);
|
@@ -8398,11 +8413,11 @@
|
|
8398
8413
|
}
|
8399
8414
|
function ensureCorrectIsomorphicReactVersion() {
|
8400
8415
|
var isomorphicReactPackageVersion = React.version;
|
8401
|
-
if ("19.2.0-canary-
|
8416
|
+
if ("19.2.0-canary-280ff6fe-20250606" !== isomorphicReactPackageVersion)
|
8402
8417
|
throw Error(
|
8403
8418
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
8404
8419
|
(isomorphicReactPackageVersion +
|
8405
|
-
"\n - react-dom: 19.2.0-canary-
|
8420
|
+
"\n - react-dom: 19.2.0-canary-280ff6fe-20250606\nLearn more: https://react.dev/warnings/version-mismatch")
|
8406
8421
|
);
|
8407
8422
|
}
|
8408
8423
|
var React = require("react"),
|
@@ -9637,10 +9652,10 @@
|
|
9637
9652
|
stringToPrecomputedChunk('<template data-rsi="" data-sid="');
|
9638
9653
|
stringToPrecomputedChunk('" data-pid="');
|
9639
9654
|
var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
|
9640
|
-
'$RB=[];$RV=function(
|
9655
|
+
'$RB=[];$RV=function(b){$RT=performance.now();for(var a=0;a<b.length;a+=2){var c=b[a],h=b[a+1],e=c.parentNode;if(e){var f=c.previousSibling,g=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d||"/&"===d)if(0===g)break;else g--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||g++}d=c.nextSibling;e.removeChild(c);c=d}while(c);for(;h.firstChild;)e.insertBefore(h.firstChild,c);f.data="$";f._reactRetry&&f._reactRetry()}}b.length=0};$RC=function(b,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),b=document.getElementById(b))b.previousSibling.data="$~",$RB.push(b,a),2===$RB.length&&(b="number"!==typeof $RT?0:$RT,a=performance.now(),setTimeout($RV.bind(null,$RB),2300>a&&2E3<a?2300-a:b+300-a))};'
|
9641
9656
|
);
|
9642
|
-
|
9643
|
-
'$RV=function(
|
9657
|
+
stringToChunk(
|
9658
|
+
'$RV=function(A,g){function k(a,b){var e=a.getAttribute(b);e&&(b=a.style,l.push(a,b.viewTransitionName,b.viewTransitionClass),"auto"!==e&&(b.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+K++ +"_"),b.viewTransitionName=a,B=!0)}var B=!1,K=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var h=g[f].querySelectorAll("[vt-share]"),d=0;d<h.length;d++){var c=h[d];m.set(c.getAttribute("vt-name"),c)}var u=[];for(h=0;h<g.length;h+=2){var C=g[h],x=C.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){c=C;for(f=0;c;){if(8===c.nodeType){var r=c.data;if("/$"===r)if(0===f)break;else f--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||f++}else if(1===c.nodeType){d=c;var D=d.getAttribute("vt-name"),y=m.get(D);k(d,y?"vt-share":"vt-exit");y&&(k(y,"vt-share"),m.set(D,null));var E=d.querySelectorAll("[vt-share]");for(d=0;d<E.length;d++){var F=E[d],G=F.getAttribute("vt-name"),\nH=m.get(G);H&&(k(F,"vt-share"),k(H,"vt-share"),m.set(G,null))}}c=c.nextSibling}for(var I=g[h+1],t=I.firstElementChild;t;)null!==m.get(t.getAttribute("vt-name"))&&k(t,"vt-enter"),t=t.nextElementSibling;c=x;do for(var n=c.firstElementChild;n;){var J=n.getAttribute("vt-update");J&&"none"!==J&&!l.includes(n)&&k(n,"vt-update");n=n.nextElementSibling}while((c=c.parentNode)&&1===c.nodeType&&"none"!==c.getAttribute("vt-update"));u.push.apply(u,I.querySelectorAll(\'img[src]:not([loading="lazy"])\'))}}}if(B){var z=\ndocument.__reactViewTransition=document.startViewTransition({update:function(){A(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],b={},e=0;e<u.length;b={g:b.g},e++)if(b.g=u[e],!b.g.complete){var p=b.g.getBoundingClientRect();0<p.bottom&&0<p.right&&p.top<window.innerHeight&&p.left<window.innerWidth&&(p=new Promise(function(w){return function(q){w.g.addEventListener("load",q);w.g.addEventListener("error",q)}}(b)),a.push(p))}return Promise.race([Promise.all(a),new Promise(function(w){var q=\nperformance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var b=l[a],e=b.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===b.getAttribute("style")&&b.removeAttribute("style")}});z.finished.finally(function(){document.__reactViewTransition===z&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}A(g)}.bind(null,$RV);'
|
9644
9659
|
);
|
9645
9660
|
var completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
|
9646
9661
|
completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
|
@@ -9935,6 +9950,7 @@
|
|
9935
9950
|
COMPLETED = 1,
|
9936
9951
|
FLUSHED = 2,
|
9937
9952
|
ABORTED = 3,
|
9953
|
+
ERRORED = 4,
|
9938
9954
|
POSTPONED = 5,
|
9939
9955
|
CLOSED = 14,
|
9940
9956
|
currentRequest = null,
|
@@ -10089,5 +10105,5 @@
|
|
10089
10105
|
startWork(request);
|
10090
10106
|
});
|
10091
10107
|
};
|
10092
|
-
exports.version = "19.2.0-canary-
|
10108
|
+
exports.version = "19.2.0-canary-280ff6fe-20250606";
|
10093
10109
|
})();
|