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.
@@ -2542,10 +2542,10 @@ var completeSegmentScript1Full = stringToPrecomputedChunk(
2542
2542
  stringToPrecomputedChunk('<template data-rsi="" data-sid="');
2543
2543
  stringToPrecomputedChunk('" data-pid="');
2544
2544
  var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
2545
- '$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())};'
2545
+ '$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))};'
2546
2546
  );
2547
- stringToPrecomputedChunk(
2548
- '$RV=function(w,f){function h(a,d){var k=a.getAttribute(d);k&&(d=a.style,l.push(a,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(a=a.getAttribute("vt-name"))||(a="_T_"+F++ +"_"),d.viewTransitionName=a,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 b=g[c];m.set(b.getAttribute("vt-name"),b)}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){b=y;for(e=0;b;){if(8===b.nodeType){var p=b.data;if("/$"===p)if(0===e)break;else e--;else"$"!==p&&"$?"!==p&&"$~"!==p&&"$!"!==p||e++}else if(1===b.nodeType){c=b;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))}}b=b.nextSibling}for(var q=f[g+1].firstElementChild;q;)null!==m.get(q.getAttribute("vt-name"))&&h(q,"vt-enter"),q=q.nextElementSibling;b=t;do for(var n=b.firstElementChild;n;){var E=n.getAttribute("vt-update");E&&"none"!==E&&!l.includes(n)&&h(n,"vt-update");n=n.nextElementSibling}while((b=b.parentNode)&&1===b.nodeType&&"none"!==b.getAttribute("vt-update"))}}}if(x){var v=document.__reactViewTransition=document.startViewTransition({update:function(){w(f,\ndocument.documentElement.clientHeight);return Promise.race([document.fonts.ready,new Promise(function(a){return setTimeout(a,500)})])},types:[]});v.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var d=l[a],k=d.style;k.viewTransitionName=l[a+1];k.viewTransitionClass=l[a+1];""===d.getAttribute("style")&&d.removeAttribute("style")}});v.finished.finally(function(){document.__reactViewTransition===v&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}w(f)}.bind(null,$RV);'
2547
+ stringToChunk(
2548
+ '$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);'
2549
2549
  );
2550
2550
  var completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
2551
2551
  completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
@@ -5860,7 +5860,10 @@ function queueCompletedSegment(boundary, segment) {
5860
5860
  var childSegment = segment.children[0];
5861
5861
  childSegment.id = segment.id;
5862
5862
  childSegment.parentFlushed = !0;
5863
- 1 === childSegment.status && queueCompletedSegment(boundary, childSegment);
5863
+ (1 !== childSegment.status &&
5864
+ 3 !== childSegment.status &&
5865
+ 4 !== childSegment.status) ||
5866
+ queueCompletedSegment(boundary, childSegment);
5864
5867
  } else boundary.completedSegments.push(segment);
5865
5868
  }
5866
5869
  function finishedSegment(request, boundary, segment) {
@@ -5893,7 +5896,7 @@ function finishedTask(request$jscomp$0, boundary, row, segment) {
5893
5896
  (0 === boundary.status && (boundary.status = 1),
5894
5897
  null !== segment &&
5895
5898
  segment.parentFlushed &&
5896
- 1 === segment.status &&
5899
+ (1 === segment.status || 3 === segment.status) &&
5897
5900
  queueCompletedSegment(boundary, segment),
5898
5901
  boundary.parentFlushed &&
5899
5902
  request$jscomp$0.completedBoundaries.push(boundary),
@@ -5970,9 +5973,9 @@ function finishedTask(request$jscomp$0, boundary, row, segment) {
5970
5973
  }
5971
5974
  }
5972
5975
  else
5973
- null !== segment &&
5974
- segment.parentFlushed &&
5975
- 1 === segment.status &&
5976
+ null === segment ||
5977
+ !segment.parentFlushed ||
5978
+ (1 !== segment.status && 3 !== segment.status) ||
5976
5979
  (queueCompletedSegment(boundary, segment),
5977
5980
  1 === boundary.completedSegments.length &&
5978
5981
  boundary.parentFlushed &&
@@ -6284,6 +6287,8 @@ function flushSubtree(request, destination, segment, hoistableState) {
6284
6287
  chunkIdx < chunks.length &&
6285
6288
  (r = writeChunkAndReturn(destination, chunks[chunkIdx]));
6286
6289
  return r;
6290
+ case 3:
6291
+ return !0;
6287
6292
  default:
6288
6293
  throw Error(formatProdErrorMessage(390));
6289
6294
  }
@@ -6465,7 +6470,8 @@ function flushCompletedQueues(request, destination) {
6465
6470
  var completedPreambleSegments = request.completedPreambleSegments;
6466
6471
  if (null === completedPreambleSegments) return;
6467
6472
  flushedByteSize = request.byteSize;
6468
- var renderState = request.renderState,
6473
+ var resumableState = request.resumableState,
6474
+ renderState = request.renderState,
6469
6475
  preamble = renderState.preamble,
6470
6476
  htmlChunks = preamble.htmlChunks,
6471
6477
  headChunks = preamble.headChunks,
@@ -6508,17 +6514,18 @@ function flushCompletedQueues(request, destination) {
6508
6514
  renderState.scripts.clear();
6509
6515
  renderState.bulkPreloads.forEach(flushResource, destination);
6510
6516
  renderState.bulkPreloads.clear();
6517
+ htmlChunks || headChunks || (resumableState.instructions |= 32);
6511
6518
  var hoistableChunks = renderState.hoistableChunks;
6512
6519
  for (i$jscomp$0 = 0; i$jscomp$0 < hoistableChunks.length; i$jscomp$0++)
6513
6520
  writeChunk(destination, hoistableChunks[i$jscomp$0]);
6514
6521
  for (
6515
- renderState = hoistableChunks.length = 0;
6516
- renderState < completedPreambleSegments.length;
6517
- renderState++
6522
+ resumableState = hoistableChunks.length = 0;
6523
+ resumableState < completedPreambleSegments.length;
6524
+ resumableState++
6518
6525
  ) {
6519
- var segments = completedPreambleSegments[renderState];
6520
- for (preamble = 0; preamble < segments.length; preamble++)
6521
- flushSegment(request, destination, segments[preamble], null);
6526
+ var segments = completedPreambleSegments[resumableState];
6527
+ for (renderState = 0; renderState < segments.length; renderState++)
6528
+ flushSegment(request, destination, segments[renderState], null);
6522
6529
  }
6523
6530
  var preamble$jscomp$0 = request.renderState.preamble,
6524
6531
  headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
@@ -6543,13 +6550,13 @@ function flushCompletedQueues(request, destination) {
6543
6550
  (0 !== request.trackedPostpones.rootNodes.length ||
6544
6551
  null !== request.trackedPostpones.rootSlots))
6545
6552
  ) {
6546
- var resumableState = request.resumableState;
6547
- if (0 === (resumableState.instructions & 64)) {
6548
- resumableState.instructions |= 64;
6553
+ var resumableState$jscomp$0 = request.resumableState;
6554
+ if (0 === (resumableState$jscomp$0.instructions & 64)) {
6555
+ resumableState$jscomp$0.instructions |= 64;
6549
6556
  writeChunk(destination, renderState$jscomp$0.startInlineScript);
6550
- if (0 === (resumableState.instructions & 32)) {
6551
- resumableState.instructions |= 32;
6552
- var shellId = "_" + resumableState.idPrefix + "R_";
6557
+ if (0 === (resumableState$jscomp$0.instructions & 32)) {
6558
+ resumableState$jscomp$0.instructions |= 32;
6559
+ var shellId = "_" + resumableState$jscomp$0.idPrefix + "R_";
6553
6560
  writeChunk(destination, completedShellIdAttributeStart);
6554
6561
  writeChunk(
6555
6562
  destination,
@@ -6600,7 +6607,7 @@ function flushCompletedQueues(request, destination) {
6600
6607
  for (i = 0; i < clientRenderedBoundaries.length; i++) {
6601
6608
  var boundary = clientRenderedBoundaries[i];
6602
6609
  renderState$jscomp$1 = destination;
6603
- var resumableState$jscomp$0 = request.resumableState,
6610
+ var resumableState$jscomp$1 = request.resumableState,
6604
6611
  renderState$jscomp$2 = request.renderState,
6605
6612
  id = boundary.rootSegmentID,
6606
6613
  errorDigest = boundary.errorDigest;
@@ -6609,8 +6616,8 @@ function flushCompletedQueues(request, destination) {
6609
6616
  renderState$jscomp$2.startInlineScript
6610
6617
  );
6611
6618
  writeChunk(renderState$jscomp$1, endOfStartTag);
6612
- 0 === (resumableState$jscomp$0.instructions & 4)
6613
- ? ((resumableState$jscomp$0.instructions |= 4),
6619
+ 0 === (resumableState$jscomp$1.instructions & 4)
6620
+ ? ((resumableState$jscomp$1.instructions |= 4),
6614
6621
  writeChunk(renderState$jscomp$1, clientRenderScript1Full))
6615
6622
  : writeChunk(renderState$jscomp$1, clientRenderScript1Partial);
6616
6623
  writeChunk(renderState$jscomp$1, renderState$jscomp$2.boundaryPrefix);
@@ -6804,12 +6811,12 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
6804
6811
  }
6805
6812
  function ensureCorrectIsomorphicReactVersion() {
6806
6813
  var isomorphicReactPackageVersion = React.version;
6807
- if ("19.2.0-canary-b4477d38-20250605" !== isomorphicReactPackageVersion)
6814
+ if ("19.2.0-canary-280ff6fe-20250606" !== isomorphicReactPackageVersion)
6808
6815
  throw Error(
6809
6816
  formatProdErrorMessage(
6810
6817
  527,
6811
6818
  isomorphicReactPackageVersion,
6812
- "19.2.0-canary-b4477d38-20250605"
6819
+ "19.2.0-canary-280ff6fe-20250606"
6813
6820
  )
6814
6821
  );
6815
6822
  }
@@ -6956,4 +6963,4 @@ exports.renderToReadableStream = function (children, options) {
6956
6963
  startWork(request);
6957
6964
  });
6958
6965
  };
6959
- exports.version = "19.2.0-canary-b4477d38-20250605";
6966
+ exports.version = "19.2.0-canary-280ff6fe-20250606";
@@ -3909,7 +3909,7 @@ var completeSegmentScript1Full =
3909
3909
  completeSegmentScript2 = '","',
3910
3910
  completeSegmentScriptEnd = '")\x3c/script>',
3911
3911
  completeBoundaryScriptFunctionOnly =
3912
- '$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())};',
3912
+ '$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))};',
3913
3913
  completeBoundaryScript1Partial = '$RC("',
3914
3914
  completeBoundaryWithStylesScript1FullPartial =
3915
3915
  '$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("',
@@ -5622,6 +5622,7 @@ var CLIENT_RENDERED = 4,
5622
5622
  COMPLETED = 1,
5623
5623
  FLUSHED = 2,
5624
5624
  ABORTED = 3,
5625
+ ERRORED = 4,
5625
5626
  POSTPONED = 5,
5626
5627
  CLOSED = 14;
5627
5628
  function defaultErrorHandler(error) {
@@ -6240,7 +6241,7 @@ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
6240
6241
  finishSuspenseListRow(request, previousSuspenseListRow);
6241
6242
  } catch (thrownValue) {
6242
6243
  throw (
6243
- ((resumeSegmentID.status = 12 === request.status ? ABORTED : 4),
6244
+ ((resumeSegmentID.status = 12 === request.status ? ABORTED : ERRORED),
6244
6245
  thrownValue)
6245
6246
  );
6246
6247
  }
@@ -7048,7 +7049,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
7048
7049
  finishedSegment(request, parentBoundary, boundarySegment);
7049
7050
  } catch (thrownValue) {
7050
7051
  throw (
7051
- ((boundarySegment.status = 12 === request.status ? ABORTED : 4),
7052
+ ((boundarySegment.status =
7053
+ 12 === request.status ? ABORTED : ERRORED),
7052
7054
  thrownValue)
7053
7055
  );
7054
7056
  } finally {
@@ -7129,7 +7131,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
7129
7131
  if (12 === request.status) {
7130
7132
  contentRootSegment.status = ABORTED;
7131
7133
  var error = request.fatalError;
7132
- } else (contentRootSegment.status = 4), (error = thrownValue$2);
7134
+ } else
7135
+ (contentRootSegment.status = ERRORED), (error = thrownValue$2);
7133
7136
  var thrownInfo = getThrownInfo(task.componentStack);
7134
7137
  var errorDigest = logRecoverableError(
7135
7138
  request,
@@ -8218,7 +8221,9 @@ function queueCompletedSegment(boundary, segment) {
8218
8221
  var childSegment = segment.children[0];
8219
8222
  childSegment.id = segment.id;
8220
8223
  childSegment.parentFlushed = !0;
8221
- childSegment.status === COMPLETED &&
8224
+ (childSegment.status !== COMPLETED &&
8225
+ childSegment.status !== ABORTED &&
8226
+ childSegment.status !== ERRORED) ||
8222
8227
  queueCompletedSegment(boundary, childSegment);
8223
8228
  } else boundary.completedSegments.push(segment);
8224
8229
  }
@@ -8258,7 +8263,7 @@ function finishedTask(request$jscomp$0, boundary$jscomp$0, row, segment) {
8258
8263
  (boundary$jscomp$0.status = COMPLETED),
8259
8264
  null !== segment &&
8260
8265
  segment.parentFlushed &&
8261
- segment.status === COMPLETED &&
8266
+ (segment.status === COMPLETED || segment.status === ABORTED) &&
8262
8267
  queueCompletedSegment(boundary$jscomp$0, segment),
8263
8268
  boundary$jscomp$0.parentFlushed &&
8264
8269
  request$jscomp$0.completedBoundaries.push(boundary$jscomp$0),
@@ -8333,9 +8338,9 @@ function finishedTask(request$jscomp$0, boundary$jscomp$0, row, segment) {
8333
8338
  }
8334
8339
  }
8335
8340
  else
8336
- null !== segment &&
8337
- segment.parentFlushed &&
8338
- segment.status === COMPLETED &&
8341
+ null === segment ||
8342
+ !segment.parentFlushed ||
8343
+ (segment.status !== COMPLETED && segment.status !== ABORTED) ||
8339
8344
  (queueCompletedSegment(boundary$jscomp$0, segment),
8340
8345
  1 === boundary$jscomp$0.completedSegments.length &&
8341
8346
  boundary$jscomp$0.parentFlushed &&
@@ -8511,7 +8516,7 @@ function performWork(request$jscomp$2) {
8511
8516
  errorDigest.componentStack
8512
8517
  );
8513
8518
  errorDigest.abortSet.delete(errorDigest);
8514
- request$jscomp$1.status = 4;
8519
+ request$jscomp$1.status = ERRORED;
8515
8520
  var boundary$jscomp$0 = errorDigest.blockedBoundary,
8516
8521
  row = errorDigest.row,
8517
8522
  debugTask = errorDigest.debugTask;
@@ -8686,6 +8691,8 @@ function flushSubtree(request, destination, segment, hoistableState) {
8686
8691
  writeChunk(destination, chunks[chunkIdx]);
8687
8692
  chunkIdx < chunks.length && (r = !!destination.write(chunks[chunkIdx]));
8688
8693
  return r;
8694
+ case ABORTED:
8695
+ return !0;
8689
8696
  default:
8690
8697
  throw Error(
8691
8698
  "Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React."
@@ -8901,7 +8908,8 @@ function flushCompletedQueues(request, destination) {
8901
8908
  var completedPreambleSegments = request.completedPreambleSegments;
8902
8909
  if (null === completedPreambleSegments) return;
8903
8910
  flushedByteSize = request.byteSize;
8904
- var renderState = request.renderState,
8911
+ var resumableState = request.resumableState,
8912
+ renderState = request.renderState,
8905
8913
  preamble = renderState.preamble,
8906
8914
  htmlChunks = preamble.htmlChunks,
8907
8915
  headChunks = preamble.headChunks,
@@ -8944,17 +8952,20 @@ function flushCompletedQueues(request, destination) {
8944
8952
  renderState.scripts.clear();
8945
8953
  renderState.bulkPreloads.forEach(flushResource, destination);
8946
8954
  renderState.bulkPreloads.clear();
8955
+ htmlChunks ||
8956
+ headChunks ||
8957
+ (resumableState.instructions |= SentCompletedShellId);
8947
8958
  var hoistableChunks = renderState.hoistableChunks;
8948
8959
  for (i$jscomp$0 = 0; i$jscomp$0 < hoistableChunks.length; i$jscomp$0++)
8949
8960
  writeChunk(destination, hoistableChunks[i$jscomp$0]);
8950
8961
  for (
8951
- renderState = hoistableChunks.length = 0;
8952
- renderState < completedPreambleSegments.length;
8953
- renderState++
8962
+ resumableState = hoistableChunks.length = 0;
8963
+ resumableState < completedPreambleSegments.length;
8964
+ resumableState++
8954
8965
  ) {
8955
- var segments = completedPreambleSegments[renderState];
8956
- for (preamble = 0; preamble < segments.length; preamble++)
8957
- flushSegment(request, destination, segments[preamble], null);
8966
+ var segments = completedPreambleSegments[resumableState];
8967
+ for (renderState = 0; renderState < segments.length; renderState++)
8968
+ flushSegment(request, destination, segments[renderState], null);
8958
8969
  }
8959
8970
  var preamble$jscomp$0 = request.renderState.preamble,
8960
8971
  headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
@@ -8979,19 +8990,19 @@ function flushCompletedQueues(request, destination) {
8979
8990
  (0 !== request.trackedPostpones.rootNodes.length ||
8980
8991
  null !== request.trackedPostpones.rootSlots))
8981
8992
  ) {
8982
- var resumableState = request.resumableState;
8993
+ var resumableState$jscomp$0 = request.resumableState;
8983
8994
  if (
8984
- (resumableState.instructions & SentMarkShellTime) ===
8995
+ (resumableState$jscomp$0.instructions & SentMarkShellTime) ===
8985
8996
  NothingSent
8986
8997
  ) {
8987
- resumableState.instructions |= SentMarkShellTime;
8998
+ resumableState$jscomp$0.instructions |= SentMarkShellTime;
8988
8999
  writeChunk(destination, renderState$jscomp$0.startInlineScript);
8989
9000
  if (
8990
- (resumableState.instructions & SentCompletedShellId) ===
9001
+ (resumableState$jscomp$0.instructions & SentCompletedShellId) ===
8991
9002
  NothingSent
8992
9003
  ) {
8993
- resumableState.instructions |= SentCompletedShellId;
8994
- var shellId = "_" + resumableState.idPrefix + "R_";
9004
+ resumableState$jscomp$0.instructions |= SentCompletedShellId;
9005
+ var shellId = "_" + resumableState$jscomp$0.idPrefix + "R_";
8995
9006
  writeChunk(destination, completedShellIdAttributeStart);
8996
9007
  writeChunk(destination, escapeTextForBrowser(shellId));
8997
9008
  writeChunk(destination, attributeEnd);
@@ -9039,7 +9050,7 @@ function flushCompletedQueues(request, destination) {
9039
9050
  for (i = 0; i < clientRenderedBoundaries.length; i++) {
9040
9051
  var boundary = clientRenderedBoundaries[i];
9041
9052
  renderState$jscomp$1 = destination;
9042
- var resumableState$jscomp$0 = request.resumableState,
9053
+ var resumableState$jscomp$1 = request.resumableState,
9043
9054
  renderState$jscomp$2 = request.renderState,
9044
9055
  id = boundary.rootSegmentID,
9045
9056
  errorDigest = boundary.errorDigest,
@@ -9051,9 +9062,9 @@ function flushCompletedQueues(request, destination) {
9051
9062
  renderState$jscomp$2.startInlineScript
9052
9063
  );
9053
9064
  writeChunk(renderState$jscomp$1, endOfStartTag);
9054
- (resumableState$jscomp$0.instructions & SentClientRenderFunction) ===
9065
+ (resumableState$jscomp$1.instructions & SentClientRenderFunction) ===
9055
9066
  NothingSent
9056
- ? ((resumableState$jscomp$0.instructions |= SentClientRenderFunction),
9067
+ ? ((resumableState$jscomp$1.instructions |= SentClientRenderFunction),
9057
9068
  writeChunk(renderState$jscomp$1, clientRenderScript1Full))
9058
9069
  : writeChunk(renderState$jscomp$1, clientRenderScript1Partial);
9059
9070
  writeChunk(renderState$jscomp$1, renderState$jscomp$2.boundaryPrefix);
@@ -9269,15 +9280,15 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
9269
9280
  parentNode[2].push(node);
9270
9281
  }
9271
9282
  }
9272
- var isomorphicReactPackageVersion$jscomp$inline_760 = React.version;
9283
+ var isomorphicReactPackageVersion$jscomp$inline_761 = React.version;
9273
9284
  if (
9274
- "19.2.0-canary-b4477d38-20250605" !==
9275
- isomorphicReactPackageVersion$jscomp$inline_760
9285
+ "19.2.0-canary-280ff6fe-20250606" !==
9286
+ isomorphicReactPackageVersion$jscomp$inline_761
9276
9287
  )
9277
9288
  throw Error(
9278
9289
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
9279
- (isomorphicReactPackageVersion$jscomp$inline_760 +
9280
- "\n - react-dom: 19.2.0-canary-b4477d38-20250605\nLearn more: https://react.dev/warnings/version-mismatch")
9290
+ (isomorphicReactPackageVersion$jscomp$inline_761 +
9291
+ "\n - react-dom: 19.2.0-canary-280ff6fe-20250606\nLearn more: https://react.dev/warnings/version-mismatch")
9281
9292
  );
9282
9293
  exports.renderToReadableStream = function (children, options) {
9283
9294
  return new Promise(function (resolve, reject) {
@@ -9370,4 +9381,4 @@ exports.renderToReadableStream = function (children, options) {
9370
9381
  startWork(request$jscomp$0);
9371
9382
  });
9372
9383
  };
9373
- exports.version = "19.2.0-canary-b4477d38-20250605";
9384
+ exports.version = "19.2.0-canary-280ff6fe-20250606";
@@ -5495,7 +5495,10 @@ function queueCompletedSegment(boundary, segment) {
5495
5495
  var childSegment = segment.children[0];
5496
5496
  childSegment.id = segment.id;
5497
5497
  childSegment.parentFlushed = !0;
5498
- 1 === childSegment.status && queueCompletedSegment(boundary, childSegment);
5498
+ (1 !== childSegment.status &&
5499
+ 3 !== childSegment.status &&
5500
+ 4 !== childSegment.status) ||
5501
+ queueCompletedSegment(boundary, childSegment);
5499
5502
  } else boundary.completedSegments.push(segment);
5500
5503
  }
5501
5504
  function finishedSegment(request, boundary, segment) {
@@ -5530,7 +5533,7 @@ function finishedTask(request$jscomp$0, boundary, row, segment) {
5530
5533
  (0 === boundary.status && (boundary.status = 1),
5531
5534
  null !== segment &&
5532
5535
  segment.parentFlushed &&
5533
- 1 === segment.status &&
5536
+ (1 === segment.status || 3 === segment.status) &&
5534
5537
  queueCompletedSegment(boundary, segment),
5535
5538
  boundary.parentFlushed &&
5536
5539
  request$jscomp$0.completedBoundaries.push(boundary),
@@ -5610,9 +5613,9 @@ function finishedTask(request$jscomp$0, boundary, row, segment) {
5610
5613
  }
5611
5614
  }
5612
5615
  else
5613
- null !== segment &&
5614
- segment.parentFlushed &&
5615
- 1 === segment.status &&
5616
+ null === segment ||
5617
+ !segment.parentFlushed ||
5618
+ (1 !== segment.status && 3 !== segment.status) ||
5616
5619
  (queueCompletedSegment(boundary, segment),
5617
5620
  1 === boundary.completedSegments.length &&
5618
5621
  boundary.parentFlushed &&
@@ -5931,6 +5934,8 @@ function flushSubtree(request, destination, segment, hoistableState) {
5931
5934
  writeChunk(destination, chunks[chunkIdx]);
5932
5935
  chunkIdx < chunks.length && (r = !!destination.write(chunks[chunkIdx]));
5933
5936
  return r;
5937
+ case 3:
5938
+ return !0;
5934
5939
  default:
5935
5940
  throw Error(
5936
5941
  "Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React."
@@ -6051,7 +6056,7 @@ function flushCompletedBoundary(request, destination, boundary) {
6051
6056
  ((completedSegments.instructions |= 2),
6052
6057
  writeChunk(
6053
6058
  destination,
6054
- '$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())};'
6059
+ '$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))};'
6055
6060
  )),
6056
6061
  0 === (completedSegments.instructions & 8)
6057
6062
  ? ((completedSegments.instructions |= 8),
@@ -6064,7 +6069,7 @@ function flushCompletedBoundary(request, destination, boundary) {
6064
6069
  ((completedSegments.instructions |= 2),
6065
6070
  writeChunk(
6066
6071
  destination,
6067
- '$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())};'
6072
+ '$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))};'
6068
6073
  )),
6069
6074
  writeChunk(destination, '$RC("'));
6070
6075
  completedSegments = i.toString(16);
@@ -6129,7 +6134,8 @@ function flushCompletedQueues(request, destination) {
6129
6134
  var completedPreambleSegments = request.completedPreambleSegments;
6130
6135
  if (null === completedPreambleSegments) return;
6131
6136
  flushedByteSize = request.byteSize;
6132
- var renderState = request.renderState,
6137
+ var resumableState = request.resumableState,
6138
+ renderState = request.renderState,
6133
6139
  preamble = renderState.preamble,
6134
6140
  htmlChunks = preamble.htmlChunks,
6135
6141
  headChunks = preamble.headChunks,
@@ -6172,17 +6178,18 @@ function flushCompletedQueues(request, destination) {
6172
6178
  renderState.scripts.clear();
6173
6179
  renderState.bulkPreloads.forEach(flushResource, destination);
6174
6180
  renderState.bulkPreloads.clear();
6181
+ htmlChunks || headChunks || (resumableState.instructions |= 32);
6175
6182
  var hoistableChunks = renderState.hoistableChunks;
6176
6183
  for (i$jscomp$0 = 0; i$jscomp$0 < hoistableChunks.length; i$jscomp$0++)
6177
6184
  writeChunk(destination, hoistableChunks[i$jscomp$0]);
6178
6185
  for (
6179
- renderState = hoistableChunks.length = 0;
6180
- renderState < completedPreambleSegments.length;
6181
- renderState++
6186
+ resumableState = hoistableChunks.length = 0;
6187
+ resumableState < completedPreambleSegments.length;
6188
+ resumableState++
6182
6189
  ) {
6183
- var segments = completedPreambleSegments[renderState];
6184
- for (preamble = 0; preamble < segments.length; preamble++)
6185
- flushSegment(request, destination, segments[preamble], null);
6190
+ var segments = completedPreambleSegments[resumableState];
6191
+ for (renderState = 0; renderState < segments.length; renderState++)
6192
+ flushSegment(request, destination, segments[renderState], null);
6186
6193
  }
6187
6194
  var preamble$jscomp$0 = request.renderState.preamble,
6188
6195
  headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
@@ -6207,13 +6214,13 @@ function flushCompletedQueues(request, destination) {
6207
6214
  (0 !== request.trackedPostpones.rootNodes.length ||
6208
6215
  null !== request.trackedPostpones.rootSlots))
6209
6216
  ) {
6210
- var resumableState = request.resumableState;
6211
- if (0 === (resumableState.instructions & 64)) {
6212
- resumableState.instructions |= 64;
6217
+ var resumableState$jscomp$0 = request.resumableState;
6218
+ if (0 === (resumableState$jscomp$0.instructions & 64)) {
6219
+ resumableState$jscomp$0.instructions |= 64;
6213
6220
  writeChunk(destination, renderState$jscomp$0.startInlineScript);
6214
- if (0 === (resumableState.instructions & 32)) {
6215
- resumableState.instructions |= 32;
6216
- var shellId = "_" + resumableState.idPrefix + "R_";
6221
+ if (0 === (resumableState$jscomp$0.instructions & 32)) {
6222
+ resumableState$jscomp$0.instructions |= 32;
6223
+ var shellId = "_" + resumableState$jscomp$0.idPrefix + "R_";
6217
6224
  writeChunk(destination, ' id="');
6218
6225
  writeChunk(destination, escapeTextForBrowser(shellId));
6219
6226
  writeChunk(destination, '"');
@@ -6264,7 +6271,7 @@ function flushCompletedQueues(request, destination) {
6264
6271
  for (i = 0; i < clientRenderedBoundaries.length; i++) {
6265
6272
  var boundary = clientRenderedBoundaries[i];
6266
6273
  renderState$jscomp$1 = destination;
6267
- var resumableState$jscomp$0 = request.resumableState,
6274
+ var resumableState$jscomp$1 = request.resumableState,
6268
6275
  renderState$jscomp$2 = request.renderState,
6269
6276
  id = boundary.rootSegmentID,
6270
6277
  errorDigest = boundary.errorDigest;
@@ -6273,8 +6280,8 @@ function flushCompletedQueues(request, destination) {
6273
6280
  renderState$jscomp$2.startInlineScript
6274
6281
  );
6275
6282
  writeChunk(renderState$jscomp$1, ">");
6276
- 0 === (resumableState$jscomp$0.instructions & 4)
6277
- ? ((resumableState$jscomp$0.instructions |= 4),
6283
+ 0 === (resumableState$jscomp$1.instructions & 4)
6284
+ ? ((resumableState$jscomp$1.instructions |= 4),
6278
6285
  writeChunk(
6279
6286
  renderState$jscomp$1,
6280
6287
  '$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("'
@@ -6447,15 +6454,15 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
6447
6454
  parentNode[2].push(node);
6448
6455
  }
6449
6456
  }
6450
- var isomorphicReactPackageVersion$jscomp$inline_812 = React.version;
6457
+ var isomorphicReactPackageVersion$jscomp$inline_813 = React.version;
6451
6458
  if (
6452
- "19.2.0-canary-b4477d38-20250605" !==
6453
- isomorphicReactPackageVersion$jscomp$inline_812
6459
+ "19.2.0-canary-280ff6fe-20250606" !==
6460
+ isomorphicReactPackageVersion$jscomp$inline_813
6454
6461
  )
6455
6462
  throw Error(
6456
6463
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
6457
- (isomorphicReactPackageVersion$jscomp$inline_812 +
6458
- "\n - react-dom: 19.2.0-canary-b4477d38-20250605\nLearn more: https://react.dev/warnings/version-mismatch")
6464
+ (isomorphicReactPackageVersion$jscomp$inline_813 +
6465
+ "\n - react-dom: 19.2.0-canary-280ff6fe-20250606\nLearn more: https://react.dev/warnings/version-mismatch")
6459
6466
  );
6460
6467
  exports.renderToReadableStream = function (children, options) {
6461
6468
  return new Promise(function (resolve, reject) {
@@ -6546,4 +6553,4 @@ exports.renderToReadableStream = function (children, options) {
6546
6553
  startWork(request);
6547
6554
  });
6548
6555
  };
6549
- exports.version = "19.2.0-canary-b4477d38-20250605";
6556
+ exports.version = "19.2.0-canary-280ff6fe-20250606";