react-dom 19.2.0-canary-23884812-20250520 → 19.2.0-canary-99efc627-20250523

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.
@@ -709,8 +709,8 @@ function getSuspenseViewTransition(parentViewTransition) {
709
709
  ? null
710
710
  : {
711
711
  update: parentViewTransition.update,
712
- enter: null,
713
- exit: null,
712
+ enter: "none",
713
+ exit: "none",
714
714
  share: parentViewTransition.update,
715
715
  name: parentViewTransition.autoName,
716
716
  autoName: parentViewTransition.autoName,
@@ -2530,10 +2530,10 @@ var completeSegmentScript1Full = stringToPrecomputedChunk(
2530
2530
  stringToPrecomputedChunk('<template data-rsi="" data-sid="');
2531
2531
  stringToPrecomputedChunk('" data-pid="');
2532
2532
  var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
2533
- '$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
2533
+ '$RB=[];$RV=function(c){$RT=performance.now();for(var a=0;a<c.length;a+=2){var b=c[a],h=c[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var d=b.data;if("/$"===d||"/&"===d)if(0===g)break;else g--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||g++}d=b.nextSibling;e.removeChild(b);b=d}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}c.length=0};$RC=function(c,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),c=document.getElementById(c))c.previousSibling.data="$~",$RB.push(c,a),2===$RB.length&&setTimeout($RV.bind(null,$RB),("number"!==typeof $RT?0:$RT)+300-performance.now())};'
2534
2534
  );
2535
2535
  stringToPrecomputedChunk(
2536
- "$RV=function(a){try{var b=document.__reactViewTransition;if(b){b.finished.then($RV,$RV);return}if(window._useVT){var c=document.__reactViewTransition=document.startViewTransition({update:a,types:[]});c.finished.finally(function(){document.__reactViewTransition===c&&(document.__reactViewTransition=null)});return}}catch(d){}a()}.bind(null,$RV);"
2536
+ '$RV=function(w,f){function h(b,d){var k=b.getAttribute(d);k&&(d=b.style,l.push(b,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(b=b.getAttribute("vt-name"))||(b="\\u00abT"+F++ +"\\u00bb"),d.viewTransitionName=b,x=!0)}var x=!1,F=0,l=[];try{var e=document.__reactViewTransition;if(e){e.finished.finally($RV.bind(null,f));return}var m=new Map;for(e=1;e<f.length;e+=2)for(var g=f[e].querySelectorAll("[vt-share]"),c=0;c<g.length;c++){var a=g[c];m.set(a.getAttribute("vt-name"),a)}for(g=0;g<f.length;g+=2){var y=f[g],t=y.parentNode;if(t){var r=t.getBoundingClientRect();if(r.left||r.top||r.width||r.height){a=y;for(e=0;a;){if(8===a.nodeType){var p=a.data;if("/$"===p)if(0===e)break;else e--;else"$"!==p&&"$?"!==p&&"$~"!==p&&"$!"!==p||e++}else if(1===a.nodeType){c=a;var z=c.getAttribute("vt-name"),u=m.get(z);h(c,u?"vt-share":"vt-exit");u&&(h(u,"vt-share"),m.set(z,null));var A=c.querySelectorAll("[vt-share]");for(c=0;c<A.length;c++){var B=A[c],C=B.getAttribute("vt-name"),D=m.get(C);\nD&&(h(B,"vt-share"),h(D,"vt-share"),m.set(C,null))}}a=a.nextSibling}for(var q=f[g+1].firstElementChild;q;)null!==m.get(q.getAttribute("vt-name"))&&h(q,"vt-enter"),q=q.nextElementSibling;a=t;do for(var n=a.firstElementChild;n;){var E=n.getAttribute("vt-update");E&&"none"!==E&&!l.includes(n)&&h(n,"vt-update");n=n.nextElementSibling}while((a=a.parentNode)&&1===a.nodeType&&"none"!==a.getAttribute("vt-update"))}}}if(x){var v=document.__reactViewTransition=document.startViewTransition({update:w.bind(null,\nf),types:[]});v.ready.finally(function(){for(var b=l.length-3;0<=b;b-=3){var d=l[b],k=d.style;k.viewTransitionName=l[b+1];k.viewTransitionClass=l[b+1];""===d.getAttribute("style")&&d.removeAttribute("style")}});v.finished.finally(function(){document.__reactViewTransition===v&&(document.__reactViewTransition=null)});$RB=[];return}}catch(b){}w(f)}.bind(null,$RV);'
2537
2537
  );
2538
2538
  var completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
2539
2539
  completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
@@ -5590,15 +5590,15 @@ function renderNode(request, task, node, childIndex) {
5590
5590
  chunkLength = segment.chunks.length;
5591
5591
  try {
5592
5592
  return renderNodeDestructive(request, task, node, childIndex);
5593
- } catch (thrownValue$59) {
5593
+ } catch (thrownValue$60) {
5594
5594
  if (
5595
5595
  (resetHooksState(),
5596
5596
  (segment.children.length = childrenLength),
5597
5597
  (segment.chunks.length = chunkLength),
5598
5598
  (node =
5599
- thrownValue$59 === SuspenseException
5599
+ thrownValue$60 === SuspenseException
5600
5600
  ? getSuspendedThenable()
5601
- : thrownValue$59),
5601
+ : thrownValue$60),
5602
5602
  "object" === typeof node && null !== node)
5603
5603
  ) {
5604
5604
  if ("function" === typeof node.then) {
@@ -5849,60 +5849,115 @@ function finishedSegment(request, boundary, segment) {
5849
5849
  : (boundary.byteSize += segmentByteSize);
5850
5850
  }
5851
5851
  }
5852
- function finishedTask(request, boundary, row, segment) {
5852
+ function finishedTask(request$jscomp$0, boundary, row, segment) {
5853
5853
  null !== row &&
5854
5854
  (0 === --row.pendingTasks
5855
- ? finishSuspenseListRow(request, row)
5856
- : row.together && tryToResolveTogetherRow(request, row));
5857
- request.allPendingTasks--;
5855
+ ? finishSuspenseListRow(request$jscomp$0, row)
5856
+ : row.together && tryToResolveTogetherRow(request$jscomp$0, row));
5857
+ request$jscomp$0.allPendingTasks--;
5858
5858
  if (null === boundary) {
5859
5859
  if (null !== segment && segment.parentFlushed) {
5860
- if (null !== request.completedRootSegment)
5860
+ if (null !== request$jscomp$0.completedRootSegment)
5861
5861
  throw Error(formatProdErrorMessage(389));
5862
- request.completedRootSegment = segment;
5862
+ request$jscomp$0.completedRootSegment = segment;
5863
5863
  }
5864
- request.pendingRootTasks--;
5865
- 0 === request.pendingRootTasks && completeShell(request);
5866
- } else
5867
- boundary.pendingTasks--,
5868
- 4 !== boundary.status &&
5869
- (0 === boundary.pendingTasks
5870
- ? (0 === boundary.status && (boundary.status = 1),
5871
- null !== segment &&
5872
- segment.parentFlushed &&
5873
- 1 === segment.status &&
5874
- queueCompletedSegment(boundary, segment),
5875
- boundary.parentFlushed &&
5876
- request.completedBoundaries.push(boundary),
5877
- 1 === boundary.status &&
5878
- ((row = boundary.row),
5879
- null !== row &&
5880
- hoistHoistables(row.hoistables, boundary.contentState),
5881
- 500 < boundary.byteSize ||
5882
- (boundary.fallbackAbortableTasks.forEach(
5883
- abortTaskSoft,
5884
- request
5885
- ),
5886
- boundary.fallbackAbortableTasks.clear(),
5887
- null !== row &&
5888
- 0 === --row.pendingTasks &&
5889
- finishSuspenseListRow(request, row)),
5890
- 0 === request.pendingRootTasks &&
5891
- null === request.trackedPostpones &&
5892
- null !== boundary.contentPreamble &&
5893
- preparePreamble(request)))
5894
- : (null !== segment &&
5895
- segment.parentFlushed &&
5896
- 1 === segment.status &&
5897
- (queueCompletedSegment(boundary, segment),
5898
- 1 === boundary.completedSegments.length &&
5899
- boundary.parentFlushed &&
5900
- request.partialBoundaries.push(boundary)),
5901
- (boundary = boundary.row),
5902
- null !== boundary &&
5903
- boundary.together &&
5904
- tryToResolveTogetherRow(request, boundary)));
5905
- 0 === request.allPendingTasks && completeAll(request);
5864
+ request$jscomp$0.pendingRootTasks--;
5865
+ 0 === request$jscomp$0.pendingRootTasks && completeShell(request$jscomp$0);
5866
+ } else if ((boundary.pendingTasks--, 4 !== boundary.status))
5867
+ if (0 === boundary.pendingTasks)
5868
+ if (
5869
+ (0 === boundary.status && (boundary.status = 1),
5870
+ null !== segment &&
5871
+ segment.parentFlushed &&
5872
+ 1 === segment.status &&
5873
+ queueCompletedSegment(boundary, segment),
5874
+ boundary.parentFlushed &&
5875
+ request$jscomp$0.completedBoundaries.push(boundary),
5876
+ 1 === boundary.status)
5877
+ )
5878
+ (row = boundary.row),
5879
+ null !== row &&
5880
+ hoistHoistables(row.hoistables, boundary.contentState),
5881
+ 500 < boundary.byteSize ||
5882
+ (boundary.fallbackAbortableTasks.forEach(
5883
+ abortTaskSoft,
5884
+ request$jscomp$0
5885
+ ),
5886
+ boundary.fallbackAbortableTasks.clear(),
5887
+ null !== row &&
5888
+ 0 === --row.pendingTasks &&
5889
+ finishSuspenseListRow(request$jscomp$0, row)),
5890
+ 0 === request$jscomp$0.pendingRootTasks &&
5891
+ null === request$jscomp$0.trackedPostpones &&
5892
+ null !== boundary.contentPreamble &&
5893
+ preparePreamble(request$jscomp$0);
5894
+ else {
5895
+ if (
5896
+ 5 === boundary.status &&
5897
+ ((boundary = boundary.row), null !== boundary)
5898
+ ) {
5899
+ if (null !== request$jscomp$0.trackedPostpones) {
5900
+ row = request$jscomp$0.trackedPostpones;
5901
+ var postponedRow = boundary.next;
5902
+ if (
5903
+ null !== postponedRow &&
5904
+ ((segment = postponedRow.boundaries), null !== segment)
5905
+ )
5906
+ for (
5907
+ postponedRow.boundaries = null, postponedRow = 0;
5908
+ postponedRow < segment.length;
5909
+ postponedRow++
5910
+ ) {
5911
+ var postponedBoundary = segment[postponedRow];
5912
+ var request = request$jscomp$0,
5913
+ trackedPostpones = row;
5914
+ postponedBoundary.status = 5;
5915
+ postponedBoundary.rootSegmentID = request.nextSegmentId++;
5916
+ request = postponedBoundary.trackedContentKeyPath;
5917
+ if (null === request) throw Error(formatProdErrorMessage(486));
5918
+ var fallbackReplayNode = postponedBoundary.trackedFallbackNode,
5919
+ children = [],
5920
+ boundaryNode = trackedPostpones.workingMap.get(request);
5921
+ void 0 === boundaryNode
5922
+ ? ((fallbackReplayNode = [
5923
+ request[1],
5924
+ request[2],
5925
+ children,
5926
+ null,
5927
+ fallbackReplayNode,
5928
+ postponedBoundary.rootSegmentID
5929
+ ]),
5930
+ trackedPostpones.workingMap.set(
5931
+ request,
5932
+ fallbackReplayNode
5933
+ ),
5934
+ addToReplayParent(
5935
+ fallbackReplayNode,
5936
+ request[0],
5937
+ trackedPostpones
5938
+ ))
5939
+ : ((boundaryNode[4] = fallbackReplayNode),
5940
+ (boundaryNode[5] = postponedBoundary.rootSegmentID));
5941
+ finishedTask(request$jscomp$0, postponedBoundary, null, null);
5942
+ }
5943
+ }
5944
+ 0 === --boundary.pendingTasks &&
5945
+ finishSuspenseListRow(request$jscomp$0, boundary);
5946
+ }
5947
+ }
5948
+ else
5949
+ null !== segment &&
5950
+ segment.parentFlushed &&
5951
+ 1 === segment.status &&
5952
+ (queueCompletedSegment(boundary, segment),
5953
+ 1 === boundary.completedSegments.length &&
5954
+ boundary.parentFlushed &&
5955
+ request$jscomp$0.partialBoundaries.push(boundary)),
5956
+ (boundary = boundary.row),
5957
+ null !== boundary &&
5958
+ boundary.together &&
5959
+ tryToResolveTogetherRow(request$jscomp$0, boundary);
5960
+ 0 === request$jscomp$0.allPendingTasks && completeAll(request$jscomp$0);
5906
5961
  }
5907
5962
  function performWork(request$jscomp$2) {
5908
5963
  if (14 !== request$jscomp$2.status && 13 !== request$jscomp$2.status) {
@@ -6574,12 +6629,12 @@ function flushCompletedQueues(request, destination) {
6574
6629
  writtenBytes = 0;
6575
6630
  var partialBoundaries = request.partialBoundaries;
6576
6631
  for (i = 0; i < partialBoundaries.length; i++) {
6577
- var boundary$64 = partialBoundaries[i];
6632
+ var boundary$66 = partialBoundaries[i];
6578
6633
  a: {
6579
6634
  clientRenderedBoundaries = request;
6580
6635
  boundary = destination;
6581
- flushedByteSize = boundary$64.byteSize;
6582
- var completedSegments = boundary$64.completedSegments;
6636
+ flushedByteSize = boundary$66.byteSize;
6637
+ var completedSegments = boundary$66.completedSegments;
6583
6638
  for (
6584
6639
  JSCompiler_inline_result = 0;
6585
6640
  JSCompiler_inline_result < completedSegments.length;
@@ -6589,7 +6644,7 @@ function flushCompletedQueues(request, destination) {
6589
6644
  !flushPartiallyCompletedSegment(
6590
6645
  clientRenderedBoundaries,
6591
6646
  boundary,
6592
- boundary$64,
6647
+ boundary$66,
6593
6648
  completedSegments[JSCompiler_inline_result]
6594
6649
  )
6595
6650
  ) {
@@ -6599,10 +6654,10 @@ function flushCompletedQueues(request, destination) {
6599
6654
  break a;
6600
6655
  }
6601
6656
  completedSegments.splice(0, JSCompiler_inline_result);
6602
- var row = boundary$64.row;
6657
+ var row = boundary$66.row;
6603
6658
  null !== row &&
6604
6659
  row.together &&
6605
- 1 === boundary$64.pendingTasks &&
6660
+ 1 === boundary$66.pendingTasks &&
6606
6661
  (1 === row.pendingTasks
6607
6662
  ? unblockSuspenseListRow(
6608
6663
  clientRenderedBoundaries,
@@ -6612,7 +6667,7 @@ function flushCompletedQueues(request, destination) {
6612
6667
  : row.pendingTasks--);
6613
6668
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
6614
6669
  boundary,
6615
- boundary$64.contentState,
6670
+ boundary$66.contentState,
6616
6671
  clientRenderedBoundaries.renderState
6617
6672
  );
6618
6673
  }
@@ -6705,18 +6760,30 @@ function abort(request, reason) {
6705
6760
  }
6706
6761
  null !== request.destination &&
6707
6762
  flushCompletedQueues(request, request.destination);
6708
- } catch (error$66) {
6709
- logRecoverableError(request, error$66, {}), fatalError(request, error$66);
6763
+ } catch (error$68) {
6764
+ logRecoverableError(request, error$68, {}), fatalError(request, error$68);
6765
+ }
6766
+ }
6767
+ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
6768
+ if (null === parentKeyPath) trackedPostpones.rootNodes.push(node);
6769
+ else {
6770
+ var workingMap = trackedPostpones.workingMap,
6771
+ parentNode = workingMap.get(parentKeyPath);
6772
+ void 0 === parentNode &&
6773
+ ((parentNode = [parentKeyPath[1], parentKeyPath[2], [], null]),
6774
+ workingMap.set(parentKeyPath, parentNode),
6775
+ addToReplayParent(parentNode, parentKeyPath[0], trackedPostpones));
6776
+ parentNode[2].push(node);
6710
6777
  }
6711
6778
  }
6712
6779
  function ensureCorrectIsomorphicReactVersion() {
6713
6780
  var isomorphicReactPackageVersion = React.version;
6714
- if ("19.2.0-canary-23884812-20250520" !== isomorphicReactPackageVersion)
6781
+ if ("19.2.0-canary-99efc627-20250523" !== isomorphicReactPackageVersion)
6715
6782
  throw Error(
6716
6783
  formatProdErrorMessage(
6717
6784
  527,
6718
6785
  isomorphicReactPackageVersion,
6719
- "19.2.0-canary-23884812-20250520"
6786
+ "19.2.0-canary-99efc627-20250523"
6720
6787
  )
6721
6788
  );
6722
6789
  }
@@ -6863,4 +6930,4 @@ exports.renderToReadableStream = function (children, options) {
6863
6930
  startWork(request);
6864
6931
  });
6865
6932
  };
6866
- exports.version = "19.2.0-canary-23884812-20250520";
6933
+ exports.version = "19.2.0-canary-99efc627-20250523";
@@ -1723,8 +1723,8 @@ function getSuspenseViewTransition(parentViewTransition) {
1723
1723
  ? null
1724
1724
  : {
1725
1725
  update: parentViewTransition.update,
1726
- enter: null,
1727
- exit: null,
1726
+ enter: "none",
1727
+ exit: "none",
1728
1728
  share: parentViewTransition.update,
1729
1729
  name: parentViewTransition.autoName,
1730
1730
  autoName: parentViewTransition.autoName,
@@ -3888,7 +3888,7 @@ var completeSegmentScript1Full =
3888
3888
  completeSegmentScript2 = '","',
3889
3889
  completeSegmentScriptEnd = '")\x3c/script>',
3890
3890
  completeBoundaryScriptFunctionOnly =
3891
- '$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};',
3891
+ '$RB=[];$RV=function(c){$RT=performance.now();for(var a=0;a<c.length;a+=2){var b=c[a],h=c[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var d=b.data;if("/$"===d||"/&"===d)if(0===g)break;else g--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||g++}d=b.nextSibling;e.removeChild(b);b=d}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}c.length=0};$RC=function(c,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),c=document.getElementById(c))c.previousSibling.data="$~",$RB.push(c,a),2===$RB.length&&setTimeout($RV.bind(null,$RB),("number"!==typeof $RT?0:$RT)+300-performance.now())};',
3892
3892
  completeBoundaryScript1Partial = '$RC("',
3893
3893
  completeBoundaryWithStylesScript1FullPartial =
3894
3894
  '$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("',
@@ -8195,62 +8195,119 @@ function finishedSegment(request, boundary, segment) {
8195
8195
  : (boundary.byteSize += segmentByteSize);
8196
8196
  }
8197
8197
  }
8198
- function finishedTask(request, boundary, row, segment) {
8198
+ function finishedTask(request$jscomp$0, boundary$jscomp$0, row, segment) {
8199
8199
  null !== row &&
8200
8200
  (0 === --row.pendingTasks
8201
- ? finishSuspenseListRow(request, row)
8202
- : row.together && tryToResolveTogetherRow(request, row));
8203
- request.allPendingTasks--;
8204
- if (null === boundary) {
8201
+ ? finishSuspenseListRow(request$jscomp$0, row)
8202
+ : row.together && tryToResolveTogetherRow(request$jscomp$0, row));
8203
+ request$jscomp$0.allPendingTasks--;
8204
+ if (null === boundary$jscomp$0) {
8205
8205
  if (null !== segment && segment.parentFlushed) {
8206
- if (null !== request.completedRootSegment)
8206
+ if (null !== request$jscomp$0.completedRootSegment)
8207
8207
  throw Error(
8208
8208
  "There can only be one root segment. This is a bug in React."
8209
8209
  );
8210
- request.completedRootSegment = segment;
8210
+ request$jscomp$0.completedRootSegment = segment;
8211
8211
  }
8212
- request.pendingRootTasks--;
8213
- 0 === request.pendingRootTasks && completeShell(request);
8214
- } else
8215
- boundary.pendingTasks--,
8216
- boundary.status !== CLIENT_RENDERED &&
8217
- (0 === boundary.pendingTasks
8218
- ? (boundary.status === PENDING && (boundary.status = COMPLETED),
8219
- null !== segment &&
8220
- segment.parentFlushed &&
8221
- segment.status === COMPLETED &&
8222
- queueCompletedSegment(boundary, segment),
8223
- boundary.parentFlushed &&
8224
- request.completedBoundaries.push(boundary),
8225
- boundary.status === COMPLETED &&
8226
- ((row = boundary.row),
8227
- null !== row &&
8228
- hoistHoistables(row.hoistables, boundary.contentState),
8229
- 500 < boundary.byteSize ||
8230
- (boundary.fallbackAbortableTasks.forEach(
8231
- abortTaskSoft,
8232
- request
8233
- ),
8234
- boundary.fallbackAbortableTasks.clear(),
8235
- null !== row &&
8236
- 0 === --row.pendingTasks &&
8237
- finishSuspenseListRow(request, row)),
8238
- 0 === request.pendingRootTasks &&
8239
- null === request.trackedPostpones &&
8240
- null !== boundary.contentPreamble &&
8241
- preparePreamble(request)))
8242
- : (null !== segment &&
8243
- segment.parentFlushed &&
8244
- segment.status === COMPLETED &&
8245
- (queueCompletedSegment(boundary, segment),
8246
- 1 === boundary.completedSegments.length &&
8247
- boundary.parentFlushed &&
8248
- request.partialBoundaries.push(boundary)),
8249
- (boundary = boundary.row),
8250
- null !== boundary &&
8251
- boundary.together &&
8252
- tryToResolveTogetherRow(request, boundary)));
8253
- 0 === request.allPendingTasks && completeAll(request);
8212
+ request$jscomp$0.pendingRootTasks--;
8213
+ 0 === request$jscomp$0.pendingRootTasks && completeShell(request$jscomp$0);
8214
+ } else if (
8215
+ (boundary$jscomp$0.pendingTasks--,
8216
+ boundary$jscomp$0.status !== CLIENT_RENDERED)
8217
+ )
8218
+ if (0 === boundary$jscomp$0.pendingTasks)
8219
+ if (
8220
+ (boundary$jscomp$0.status === PENDING &&
8221
+ (boundary$jscomp$0.status = COMPLETED),
8222
+ null !== segment &&
8223
+ segment.parentFlushed &&
8224
+ segment.status === COMPLETED &&
8225
+ queueCompletedSegment(boundary$jscomp$0, segment),
8226
+ boundary$jscomp$0.parentFlushed &&
8227
+ request$jscomp$0.completedBoundaries.push(boundary$jscomp$0),
8228
+ boundary$jscomp$0.status === COMPLETED)
8229
+ )
8230
+ (row = boundary$jscomp$0.row),
8231
+ null !== row &&
8232
+ hoistHoistables(row.hoistables, boundary$jscomp$0.contentState),
8233
+ 500 < boundary$jscomp$0.byteSize ||
8234
+ (boundary$jscomp$0.fallbackAbortableTasks.forEach(
8235
+ abortTaskSoft,
8236
+ request$jscomp$0
8237
+ ),
8238
+ boundary$jscomp$0.fallbackAbortableTasks.clear(),
8239
+ null !== row &&
8240
+ 0 === --row.pendingTasks &&
8241
+ finishSuspenseListRow(request$jscomp$0, row)),
8242
+ 0 === request$jscomp$0.pendingRootTasks &&
8243
+ null === request$jscomp$0.trackedPostpones &&
8244
+ null !== boundary$jscomp$0.contentPreamble &&
8245
+ preparePreamble(request$jscomp$0);
8246
+ else {
8247
+ if (
8248
+ boundary$jscomp$0.status === POSTPONED &&
8249
+ ((boundary$jscomp$0 = boundary$jscomp$0.row),
8250
+ null !== boundary$jscomp$0)
8251
+ ) {
8252
+ if (null !== request$jscomp$0.trackedPostpones) {
8253
+ row = request$jscomp$0.trackedPostpones;
8254
+ var postponedRow = boundary$jscomp$0.next;
8255
+ if (
8256
+ null !== postponedRow &&
8257
+ ((segment = postponedRow.boundaries), null !== segment)
8258
+ )
8259
+ for (
8260
+ postponedRow.boundaries = null, postponedRow = 0;
8261
+ postponedRow < segment.length;
8262
+ postponedRow++
8263
+ ) {
8264
+ var postponedBoundary = segment[postponedRow];
8265
+ var request = request$jscomp$0,
8266
+ trackedPostpones = row,
8267
+ boundary = postponedBoundary;
8268
+ boundary.status = POSTPONED;
8269
+ boundary.rootSegmentID = request.nextSegmentId++;
8270
+ request = boundary.trackedContentKeyPath;
8271
+ if (null === request)
8272
+ throw Error(
8273
+ "It should not be possible to postpone at the root. This is a bug in React."
8274
+ );
8275
+ var fallbackReplayNode = boundary.trackedFallbackNode,
8276
+ children = [],
8277
+ boundaryNode = trackedPostpones.workingMap.get(request);
8278
+ void 0 === boundaryNode
8279
+ ? ((boundary = [
8280
+ request[1],
8281
+ request[2],
8282
+ children,
8283
+ null,
8284
+ fallbackReplayNode,
8285
+ boundary.rootSegmentID
8286
+ ]),
8287
+ trackedPostpones.workingMap.set(request, boundary),
8288
+ addToReplayParent(boundary, request[0], trackedPostpones))
8289
+ : ((boundaryNode[4] = fallbackReplayNode),
8290
+ (boundaryNode[5] = boundary.rootSegmentID));
8291
+ finishedTask(request$jscomp$0, postponedBoundary, null, null);
8292
+ }
8293
+ }
8294
+ 0 === --boundary$jscomp$0.pendingTasks &&
8295
+ finishSuspenseListRow(request$jscomp$0, boundary$jscomp$0);
8296
+ }
8297
+ }
8298
+ else
8299
+ null !== segment &&
8300
+ segment.parentFlushed &&
8301
+ segment.status === COMPLETED &&
8302
+ (queueCompletedSegment(boundary$jscomp$0, segment),
8303
+ 1 === boundary$jscomp$0.completedSegments.length &&
8304
+ boundary$jscomp$0.parentFlushed &&
8305
+ request$jscomp$0.partialBoundaries.push(boundary$jscomp$0)),
8306
+ (boundary$jscomp$0 = boundary$jscomp$0.row),
8307
+ null !== boundary$jscomp$0 &&
8308
+ boundary$jscomp$0.together &&
8309
+ tryToResolveTogetherRow(request$jscomp$0, boundary$jscomp$0);
8310
+ 0 === request$jscomp$0.allPendingTasks && completeAll(request$jscomp$0);
8254
8311
  }
8255
8312
  function performWork(request$jscomp$2) {
8256
8313
  if (request$jscomp$2.status !== CLOSED && 13 !== request$jscomp$2.status) {
@@ -9152,15 +9209,27 @@ function abort(request, reason) {
9152
9209
  fatalError(request, error$4, reason, null);
9153
9210
  }
9154
9211
  }
9155
- var isomorphicReactPackageVersion$jscomp$inline_752 = React.version;
9212
+ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
9213
+ if (null === parentKeyPath) trackedPostpones.rootNodes.push(node);
9214
+ else {
9215
+ var workingMap = trackedPostpones.workingMap,
9216
+ parentNode = workingMap.get(parentKeyPath);
9217
+ void 0 === parentNode &&
9218
+ ((parentNode = [parentKeyPath[1], parentKeyPath[2], [], null]),
9219
+ workingMap.set(parentKeyPath, parentNode),
9220
+ addToReplayParent(parentNode, parentKeyPath[0], trackedPostpones));
9221
+ parentNode[2].push(node);
9222
+ }
9223
+ }
9224
+ var isomorphicReactPackageVersion$jscomp$inline_759 = React.version;
9156
9225
  if (
9157
- "19.2.0-canary-23884812-20250520" !==
9158
- isomorphicReactPackageVersion$jscomp$inline_752
9226
+ "19.2.0-canary-99efc627-20250523" !==
9227
+ isomorphicReactPackageVersion$jscomp$inline_759
9159
9228
  )
9160
9229
  throw Error(
9161
9230
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
9162
- (isomorphicReactPackageVersion$jscomp$inline_752 +
9163
- "\n - react-dom: 19.2.0-canary-23884812-20250520\nLearn more: https://react.dev/warnings/version-mismatch")
9231
+ (isomorphicReactPackageVersion$jscomp$inline_759 +
9232
+ "\n - react-dom: 19.2.0-canary-99efc627-20250523\nLearn more: https://react.dev/warnings/version-mismatch")
9164
9233
  );
9165
9234
  exports.renderToReadableStream = function (children, options) {
9166
9235
  return new Promise(function (resolve, reject) {
@@ -9253,4 +9322,4 @@ exports.renderToReadableStream = function (children, options) {
9253
9322
  startWork(request$jscomp$0);
9254
9323
  });
9255
9324
  };
9256
- exports.version = "19.2.0-canary-23884812-20250520";
9325
+ exports.version = "19.2.0-canary-99efc627-20250523";