react-dom 19.2.0-canary-3820740a-20250509 → 19.2.0-canary-b94603b9-20250513

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.
@@ -2296,14 +2296,6 @@ function preloadLateStyles(styleQueue) {
2296
2296
  styleQueue.sheets.forEach(preloadLateStyle, this);
2297
2297
  styleQueue.sheets.clear();
2298
2298
  }
2299
- function writeCompletedShellIdAttribute(destination, resumableState) {
2300
- 0 === (resumableState.instructions & 32) &&
2301
- ((resumableState.instructions |= 32),
2302
- (resumableState = "\u00ab" + resumableState.idPrefix + "R\u00bb"),
2303
- writeChunk(destination, ' id="'),
2304
- writeChunk(destination, escapeTextForBrowser(resumableState)),
2305
- writeChunk(destination, '"'));
2306
- }
2307
2299
  function pushCompletedShellIdAttribute(target, resumableState) {
2308
2300
  0 === (resumableState.instructions & 32) &&
2309
2301
  ((resumableState.instructions |= 32),
@@ -5671,8 +5663,7 @@ function flushCompletedQueues(request, destination) {
5671
5663
  var completedPreambleSegments = request.completedPreambleSegments;
5672
5664
  if (null === completedPreambleSegments) return;
5673
5665
  flushedByteSize = request.byteSize;
5674
- var resumableState = request.resumableState,
5675
- renderState = request.renderState,
5666
+ var renderState = request.renderState,
5676
5667
  preamble = renderState.preamble,
5677
5668
  htmlChunks = preamble.htmlChunks,
5678
5669
  headChunks = preamble.headChunks,
@@ -5713,23 +5704,17 @@ function flushCompletedQueues(request, destination) {
5713
5704
  renderState.scripts.clear();
5714
5705
  renderState.bulkPreloads.forEach(flushResource, destination);
5715
5706
  renderState.bulkPreloads.clear();
5716
- if (htmlChunks || headChunks) {
5717
- var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
5718
- writeChunk(destination, '<link rel="expect" href="#');
5719
- writeChunk(destination, escapeTextForBrowser(shellId));
5720
- writeChunk(destination, '" blocking="render"/>');
5721
- }
5722
5707
  var hoistableChunks = renderState.hoistableChunks;
5723
5708
  for (i$jscomp$0 = 0; i$jscomp$0 < hoistableChunks.length; i$jscomp$0++)
5724
5709
  writeChunk(destination, hoistableChunks[i$jscomp$0]);
5725
5710
  for (
5726
- resumableState = hoistableChunks.length = 0;
5727
- resumableState < completedPreambleSegments.length;
5728
- resumableState++
5711
+ renderState = hoistableChunks.length = 0;
5712
+ renderState < completedPreambleSegments.length;
5713
+ renderState++
5729
5714
  ) {
5730
- var segments = completedPreambleSegments[resumableState];
5731
- for (renderState = 0; renderState < segments.length; renderState++)
5732
- flushSegment(request, destination, segments[renderState], null);
5715
+ var segments = completedPreambleSegments[renderState];
5716
+ for (preamble = 0; preamble < segments.length; preamble++)
5717
+ flushSegment(request, destination, segments[preamble], null);
5733
5718
  }
5734
5719
  var preamble$jscomp$0 = request.renderState.preamble,
5735
5720
  headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
@@ -5745,31 +5730,34 @@ function flushCompletedQueues(request, destination) {
5745
5730
  writeChunk(destination, bodyChunks[completedPreambleSegments]);
5746
5731
  flushSegment(request, destination, completedRootSegment, null);
5747
5732
  request.completedRootSegment = null;
5748
- var resumableState$jscomp$0 = request.resumableState,
5749
- renderState$jscomp$0 = request.renderState;
5750
- (0 === request.allPendingTasks &&
5751
- 0 === request.clientRenderedBoundaries.length &&
5752
- 0 === request.completedBoundaries.length &&
5753
- (null === request.trackedPostpones ||
5754
- (0 === request.trackedPostpones.rootNodes.length &&
5755
- null === request.trackedPostpones.rootSlots))) ||
5756
- 0 !== (resumableState$jscomp$0.instructions & 64) ||
5757
- ((resumableState$jscomp$0.instructions |= 64),
5758
- writeChunk(destination, renderState$jscomp$0.startInlineScript),
5759
- writeCompletedShellIdAttribute(destination, resumableState$jscomp$0),
5760
- writeChunk(destination, ">"),
5761
- writeChunk(
5762
- destination,
5763
- "requestAnimationFrame(function(){$RT=performance.now()});"
5764
- ),
5765
- destination.write("\x3c/script>"));
5766
- var preamble$jscomp$1 = renderState$jscomp$0.preamble;
5767
- (preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
5768
- 0 === (resumableState$jscomp$0.instructions & 32) &&
5769
- (writeChunk(destination, startChunkForTag("template")),
5770
- writeCompletedShellIdAttribute(destination, resumableState$jscomp$0),
5771
- writeChunk(destination, ">"),
5772
- writeChunk(destination, endChunkForTag("template")));
5733
+ var renderState$jscomp$0 = request.renderState;
5734
+ if (
5735
+ 0 !== request.allPendingTasks ||
5736
+ 0 !== request.clientRenderedBoundaries.length ||
5737
+ 0 !== request.completedBoundaries.length ||
5738
+ (null !== request.trackedPostpones &&
5739
+ (0 !== request.trackedPostpones.rootNodes.length ||
5740
+ null !== request.trackedPostpones.rootSlots))
5741
+ ) {
5742
+ var resumableState = request.resumableState;
5743
+ if (0 === (resumableState.instructions & 64)) {
5744
+ resumableState.instructions |= 64;
5745
+ writeChunk(destination, renderState$jscomp$0.startInlineScript);
5746
+ if (0 === (resumableState.instructions & 32)) {
5747
+ resumableState.instructions |= 32;
5748
+ var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
5749
+ writeChunk(destination, ' id="');
5750
+ writeChunk(destination, escapeTextForBrowser(shellId));
5751
+ writeChunk(destination, '"');
5752
+ }
5753
+ writeChunk(destination, ">");
5754
+ writeChunk(
5755
+ destination,
5756
+ "requestAnimationFrame(function(){$RT=performance.now()});"
5757
+ );
5758
+ destination.write("\x3c/script>");
5759
+ }
5760
+ }
5773
5761
  writeBootstrap(destination, renderState$jscomp$0);
5774
5762
  }
5775
5763
  var renderState$jscomp$1 = request.renderState;
@@ -5808,7 +5796,7 @@ function flushCompletedQueues(request, destination) {
5808
5796
  for (i = 0; i < clientRenderedBoundaries.length; i++) {
5809
5797
  var boundary = clientRenderedBoundaries[i];
5810
5798
  renderState$jscomp$1 = destination;
5811
- var resumableState$jscomp$1 = request.resumableState,
5799
+ var resumableState$jscomp$0 = request.resumableState,
5812
5800
  renderState$jscomp$2 = request.renderState,
5813
5801
  id = boundary.rootSegmentID,
5814
5802
  errorDigest = boundary.errorDigest;
@@ -5817,8 +5805,8 @@ function flushCompletedQueues(request, destination) {
5817
5805
  renderState$jscomp$2.startInlineScript
5818
5806
  );
5819
5807
  writeChunk(renderState$jscomp$1, ">");
5820
- 0 === (resumableState$jscomp$1.instructions & 4)
5821
- ? ((resumableState$jscomp$1.instructions |= 4),
5808
+ 0 === (resumableState$jscomp$0.instructions & 4)
5809
+ ? ((resumableState$jscomp$0.instructions |= 4),
5822
5810
  writeChunk(
5823
5811
  renderState$jscomp$1,
5824
5812
  '$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("'
@@ -5968,15 +5956,15 @@ function abort(request, reason) {
5968
5956
  logRecoverableError(request, error$55, {}), fatalError(request, error$55);
5969
5957
  }
5970
5958
  }
5971
- var isomorphicReactPackageVersion$jscomp$inline_768 = React.version;
5959
+ var isomorphicReactPackageVersion$jscomp$inline_767 = React.version;
5972
5960
  if (
5973
- "19.2.0-canary-3820740a-20250509" !==
5974
- isomorphicReactPackageVersion$jscomp$inline_768
5961
+ "19.2.0-canary-b94603b9-20250513" !==
5962
+ isomorphicReactPackageVersion$jscomp$inline_767
5975
5963
  )
5976
5964
  throw Error(
5977
5965
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
5978
- (isomorphicReactPackageVersion$jscomp$inline_768 +
5979
- "\n - react-dom: 19.2.0-canary-3820740a-20250509\nLearn more: https://react.dev/warnings/version-mismatch")
5966
+ (isomorphicReactPackageVersion$jscomp$inline_767 +
5967
+ "\n - react-dom: 19.2.0-canary-b94603b9-20250513\nLearn more: https://react.dev/warnings/version-mismatch")
5980
5968
  );
5981
5969
  exports.renderToReadableStream = function (children, options) {
5982
5970
  return new Promise(function (resolve, reject) {
@@ -6067,4 +6055,4 @@ exports.renderToReadableStream = function (children, options) {
6067
6055
  startWork(request);
6068
6056
  });
6069
6057
  };
6070
- exports.version = "19.2.0-canary-3820740a-20250509";
6058
+ exports.version = "19.2.0-canary-b94603b9-20250513";
@@ -3421,17 +3421,6 @@
3421
3421
  styleQueue.sheets.forEach(preloadLateStyle, this);
3422
3422
  styleQueue.sheets.clear();
3423
3423
  }
3424
- function writeCompletedShellIdAttribute(destination, resumableState) {
3425
- (resumableState.instructions & SentCompletedShellId) === NothingSent &&
3426
- ((resumableState.instructions |= SentCompletedShellId),
3427
- (resumableState = "\u00ab" + resumableState.idPrefix + "R\u00bb"),
3428
- writeChunk(destination, completedShellIdAttributeStart),
3429
- writeChunk(
3430
- destination,
3431
- stringToChunk(escapeTextForBrowser(resumableState))
3432
- ),
3433
- writeChunk(destination, attributeEnd));
3434
- }
3435
3424
  function pushCompletedShellIdAttribute(target, resumableState) {
3436
3425
  (resumableState.instructions & SentCompletedShellId) === NothingSent &&
3437
3426
  ((resumableState.instructions |= SentCompletedShellId),
@@ -7461,8 +7450,7 @@
7461
7450
  var completedPreambleSegments = request.completedPreambleSegments;
7462
7451
  if (null === completedPreambleSegments) return;
7463
7452
  flushedByteSize = request.byteSize;
7464
- var resumableState = request.resumableState,
7465
- renderState = request.renderState,
7453
+ var renderState = request.renderState,
7466
7454
  preamble = renderState.preamble,
7467
7455
  htmlChunks = preamble.htmlChunks,
7468
7456
  headChunks = preamble.headChunks,
@@ -7519,15 +7507,6 @@
7519
7507
  renderState.scripts.clear();
7520
7508
  renderState.bulkPreloads.forEach(flushResource, destination);
7521
7509
  renderState.bulkPreloads.clear();
7522
- if (htmlChunks || headChunks) {
7523
- var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
7524
- writeChunk(destination, blockingRenderChunkStart);
7525
- writeChunk(
7526
- destination,
7527
- stringToChunk(escapeTextForBrowser(shellId))
7528
- );
7529
- writeChunk(destination, blockingRenderChunkEnd);
7530
- }
7531
7510
  var hoistableChunks = renderState.hoistableChunks;
7532
7511
  for (
7533
7512
  i$jscomp$0 = 0;
@@ -7536,17 +7515,13 @@
7536
7515
  )
7537
7516
  writeChunk(destination, hoistableChunks[i$jscomp$0]);
7538
7517
  for (
7539
- resumableState = hoistableChunks.length = 0;
7540
- resumableState < completedPreambleSegments.length;
7541
- resumableState++
7518
+ renderState = hoistableChunks.length = 0;
7519
+ renderState < completedPreambleSegments.length;
7520
+ renderState++
7542
7521
  ) {
7543
- var segments = completedPreambleSegments[resumableState];
7544
- for (
7545
- renderState = 0;
7546
- renderState < segments.length;
7547
- renderState++
7548
- )
7549
- flushSegment(request, destination, segments[renderState], null);
7522
+ var segments = completedPreambleSegments[renderState];
7523
+ for (preamble = 0; preamble < segments.length; preamble++)
7524
+ flushSegment(request, destination, segments[preamble], null);
7550
7525
  }
7551
7526
  var preamble$jscomp$0 = request.renderState.preamble,
7552
7527
  headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
@@ -7562,36 +7537,40 @@
7562
7537
  writeChunk(destination, bodyChunks[completedPreambleSegments]);
7563
7538
  flushSegment(request, destination, completedRootSegment, null);
7564
7539
  request.completedRootSegment = null;
7565
- var resumableState$jscomp$0 = request.resumableState,
7566
- renderState$jscomp$0 = request.renderState;
7567
- (0 === request.allPendingTasks &&
7568
- 0 === request.clientRenderedBoundaries.length &&
7569
- 0 === request.completedBoundaries.length &&
7570
- (null === request.trackedPostpones ||
7571
- (0 === request.trackedPostpones.rootNodes.length &&
7572
- null === request.trackedPostpones.rootSlots))) ||
7573
- (resumableState$jscomp$0.instructions & SentMarkShellTime) !==
7574
- NothingSent ||
7575
- ((resumableState$jscomp$0.instructions |= SentMarkShellTime),
7576
- writeChunk(destination, renderState$jscomp$0.startInlineScript),
7577
- writeCompletedShellIdAttribute(
7578
- destination,
7579
- resumableState$jscomp$0
7580
- ),
7581
- writeChunk(destination, endOfStartTag),
7582
- writeChunk(destination, shellTimeRuntimeScript),
7583
- writeChunkAndReturn(destination, endInlineScript));
7584
- var preamble$jscomp$1 = renderState$jscomp$0.preamble;
7585
- (preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
7586
- (resumableState$jscomp$0.instructions & SentCompletedShellId) ===
7587
- NothingSent &&
7588
- (writeChunk(destination, startChunkForTag("template")),
7589
- writeCompletedShellIdAttribute(
7590
- destination,
7591
- resumableState$jscomp$0
7592
- ),
7593
- writeChunk(destination, endOfStartTag),
7594
- writeChunk(destination, endChunkForTag("template")));
7540
+ var renderState$jscomp$0 = request.renderState;
7541
+ if (
7542
+ 0 !== request.allPendingTasks ||
7543
+ 0 !== request.clientRenderedBoundaries.length ||
7544
+ 0 !== request.completedBoundaries.length ||
7545
+ (null !== request.trackedPostpones &&
7546
+ (0 !== request.trackedPostpones.rootNodes.length ||
7547
+ null !== request.trackedPostpones.rootSlots))
7548
+ ) {
7549
+ var resumableState = request.resumableState;
7550
+ if (
7551
+ (resumableState.instructions & SentMarkShellTime) ===
7552
+ NothingSent
7553
+ ) {
7554
+ resumableState.instructions |= SentMarkShellTime;
7555
+ writeChunk(destination, renderState$jscomp$0.startInlineScript);
7556
+ if (
7557
+ (resumableState.instructions & SentCompletedShellId) ===
7558
+ NothingSent
7559
+ ) {
7560
+ resumableState.instructions |= SentCompletedShellId;
7561
+ var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
7562
+ writeChunk(destination, completedShellIdAttributeStart);
7563
+ writeChunk(
7564
+ destination,
7565
+ stringToChunk(escapeTextForBrowser(shellId))
7566
+ );
7567
+ writeChunk(destination, attributeEnd);
7568
+ }
7569
+ writeChunk(destination, endOfStartTag);
7570
+ writeChunk(destination, shellTimeRuntimeScript);
7571
+ writeChunkAndReturn(destination, endInlineScript);
7572
+ }
7573
+ }
7595
7574
  writeBootstrap(destination, renderState$jscomp$0);
7596
7575
  }
7597
7576
  var renderState$jscomp$1 = request.renderState;
@@ -7636,7 +7615,7 @@
7636
7615
  for (i = 0; i < clientRenderedBoundaries.length; i++) {
7637
7616
  var boundary = clientRenderedBoundaries[i];
7638
7617
  renderState$jscomp$1 = destination;
7639
- var resumableState$jscomp$1 = request.resumableState,
7618
+ var resumableState$jscomp$0 = request.resumableState,
7640
7619
  renderState$jscomp$2 = request.renderState,
7641
7620
  id = boundary.rootSegmentID,
7642
7621
  errorDigest = boundary.errorDigest,
@@ -7648,10 +7627,10 @@
7648
7627
  renderState$jscomp$2.startInlineScript
7649
7628
  );
7650
7629
  writeChunk(renderState$jscomp$1, endOfStartTag);
7651
- (resumableState$jscomp$1.instructions &
7630
+ (resumableState$jscomp$0.instructions &
7652
7631
  SentClientRenderFunction) ===
7653
7632
  NothingSent
7654
- ? ((resumableState$jscomp$1.instructions |=
7633
+ ? ((resumableState$jscomp$0.instructions |=
7655
7634
  SentClientRenderFunction),
7656
7635
  writeChunk(renderState$jscomp$1, clientRenderScript1Full))
7657
7636
  : writeChunk(renderState$jscomp$1, clientRenderScript1Partial);
@@ -7892,11 +7871,11 @@
7892
7871
  }
7893
7872
  function ensureCorrectIsomorphicReactVersion() {
7894
7873
  var isomorphicReactPackageVersion = React.version;
7895
- if ("19.2.0-canary-3820740a-20250509" !== isomorphicReactPackageVersion)
7874
+ if ("19.2.0-canary-b94603b9-20250513" !== isomorphicReactPackageVersion)
7896
7875
  throw Error(
7897
7876
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7898
7877
  (isomorphicReactPackageVersion +
7899
- "\n - react-dom: 19.2.0-canary-3820740a-20250509\nLearn more: https://react.dev/warnings/version-mismatch")
7878
+ "\n - react-dom: 19.2.0-canary-b94603b9-20250513\nLearn more: https://react.dev/warnings/version-mismatch")
7900
7879
  );
7901
7880
  }
7902
7881
  var React = require("react"),
@@ -9174,14 +9153,10 @@
9174
9153
  styleTagResourceOpen2 = stringToPrecomputedChunk('" data-href="'),
9175
9154
  spaceSeparator = stringToPrecomputedChunk(" "),
9176
9155
  styleTagResourceOpen3 = stringToPrecomputedChunk('">'),
9177
- styleTagResourceClose = stringToPrecomputedChunk("</style>"),
9178
- blockingRenderChunkStart = stringToPrecomputedChunk(
9179
- '<link rel="expect" href="#'
9180
- ),
9181
- blockingRenderChunkEnd = stringToPrecomputedChunk(
9182
- '" blocking="render"/>'
9183
- ),
9184
- completedShellIdAttributeStart = stringToPrecomputedChunk(' id="'),
9156
+ styleTagResourceClose = stringToPrecomputedChunk("</style>");
9157
+ stringToPrecomputedChunk('<link rel="expect" href="#');
9158
+ stringToPrecomputedChunk('" blocking="render"/>');
9159
+ var completedShellIdAttributeStart = stringToPrecomputedChunk(' id="'),
9185
9160
  arrayFirstOpenBracket = stringToPrecomputedChunk("["),
9186
9161
  arraySubsequentOpenBracket = stringToPrecomputedChunk(",["),
9187
9162
  arrayInterstitial = stringToPrecomputedChunk(","),
@@ -9582,5 +9557,5 @@
9582
9557
  startWork(request);
9583
9558
  });
9584
9559
  };
9585
- exports.version = "19.2.0-canary-3820740a-20250509";
9560
+ exports.version = "19.2.0-canary-b94603b9-20250513";
9586
9561
  })();
@@ -2670,22 +2670,9 @@ function preloadLateStyles(styleQueue) {
2670
2670
  styleQueue.sheets.forEach(preloadLateStyle, this);
2671
2671
  styleQueue.sheets.clear();
2672
2672
  }
2673
- var blockingRenderChunkStart = stringToPrecomputedChunk(
2674
- '<link rel="expect" href="#'
2675
- ),
2676
- blockingRenderChunkEnd = stringToPrecomputedChunk('" blocking="render"/>'),
2677
- completedShellIdAttributeStart = stringToPrecomputedChunk(' id="');
2678
- function writeCompletedShellIdAttribute(destination, resumableState) {
2679
- 0 === (resumableState.instructions & 32) &&
2680
- ((resumableState.instructions |= 32),
2681
- (resumableState = "\u00ab" + resumableState.idPrefix + "R\u00bb"),
2682
- writeChunk(destination, completedShellIdAttributeStart),
2683
- writeChunk(
2684
- destination,
2685
- stringToChunk(escapeTextForBrowser(resumableState))
2686
- ),
2687
- writeChunk(destination, attributeEnd));
2688
- }
2673
+ stringToPrecomputedChunk('<link rel="expect" href="#');
2674
+ stringToPrecomputedChunk('" blocking="render"/>');
2675
+ var completedShellIdAttributeStart = stringToPrecomputedChunk(' id="');
2689
2676
  function pushCompletedShellIdAttribute(target, resumableState) {
2690
2677
  0 === (resumableState.instructions & 32) &&
2691
2678
  ((resumableState.instructions |= 32),
@@ -6109,8 +6096,7 @@ function flushCompletedQueues(request, destination) {
6109
6096
  var completedPreambleSegments = request.completedPreambleSegments;
6110
6097
  if (null === completedPreambleSegments) return;
6111
6098
  flushedByteSize = request.byteSize;
6112
- var resumableState = request.resumableState,
6113
- renderState = request.renderState,
6099
+ var renderState = request.renderState,
6114
6100
  preamble = renderState.preamble,
6115
6101
  htmlChunks = preamble.htmlChunks,
6116
6102
  headChunks = preamble.headChunks,
@@ -6151,23 +6137,17 @@ function flushCompletedQueues(request, destination) {
6151
6137
  renderState.scripts.clear();
6152
6138
  renderState.bulkPreloads.forEach(flushResource, destination);
6153
6139
  renderState.bulkPreloads.clear();
6154
- if (htmlChunks || headChunks) {
6155
- var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
6156
- writeChunk(destination, blockingRenderChunkStart);
6157
- writeChunk(destination, stringToChunk(escapeTextForBrowser(shellId)));
6158
- writeChunk(destination, blockingRenderChunkEnd);
6159
- }
6160
6140
  var hoistableChunks = renderState.hoistableChunks;
6161
6141
  for (i$jscomp$0 = 0; i$jscomp$0 < hoistableChunks.length; i$jscomp$0++)
6162
6142
  writeChunk(destination, hoistableChunks[i$jscomp$0]);
6163
6143
  for (
6164
- resumableState = hoistableChunks.length = 0;
6165
- resumableState < completedPreambleSegments.length;
6166
- resumableState++
6144
+ renderState = hoistableChunks.length = 0;
6145
+ renderState < completedPreambleSegments.length;
6146
+ renderState++
6167
6147
  ) {
6168
- var segments = completedPreambleSegments[resumableState];
6169
- for (renderState = 0; renderState < segments.length; renderState++)
6170
- flushSegment(request, destination, segments[renderState], null);
6148
+ var segments = completedPreambleSegments[renderState];
6149
+ for (preamble = 0; preamble < segments.length; preamble++)
6150
+ flushSegment(request, destination, segments[preamble], null);
6171
6151
  }
6172
6152
  var preamble$jscomp$0 = request.renderState.preamble,
6173
6153
  headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
@@ -6183,28 +6163,34 @@ function flushCompletedQueues(request, destination) {
6183
6163
  writeChunk(destination, bodyChunks[completedPreambleSegments]);
6184
6164
  flushSegment(request, destination, completedRootSegment, null);
6185
6165
  request.completedRootSegment = null;
6186
- var resumableState$jscomp$0 = request.resumableState,
6187
- renderState$jscomp$0 = request.renderState;
6188
- (0 === request.allPendingTasks &&
6189
- 0 === request.clientRenderedBoundaries.length &&
6190
- 0 === request.completedBoundaries.length &&
6191
- (null === request.trackedPostpones ||
6192
- (0 === request.trackedPostpones.rootNodes.length &&
6193
- null === request.trackedPostpones.rootSlots))) ||
6194
- 0 !== (resumableState$jscomp$0.instructions & 64) ||
6195
- ((resumableState$jscomp$0.instructions |= 64),
6196
- writeChunk(destination, renderState$jscomp$0.startInlineScript),
6197
- writeCompletedShellIdAttribute(destination, resumableState$jscomp$0),
6198
- writeChunk(destination, endOfStartTag),
6199
- writeChunk(destination, shellTimeRuntimeScript),
6200
- writeChunkAndReturn(destination, endInlineScript));
6201
- var preamble$jscomp$1 = renderState$jscomp$0.preamble;
6202
- (preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
6203
- 0 === (resumableState$jscomp$0.instructions & 32) &&
6204
- (writeChunk(destination, startChunkForTag("template")),
6205
- writeCompletedShellIdAttribute(destination, resumableState$jscomp$0),
6206
- writeChunk(destination, endOfStartTag),
6207
- writeChunk(destination, endChunkForTag("template")));
6166
+ var renderState$jscomp$0 = request.renderState;
6167
+ if (
6168
+ 0 !== request.allPendingTasks ||
6169
+ 0 !== request.clientRenderedBoundaries.length ||
6170
+ 0 !== request.completedBoundaries.length ||
6171
+ (null !== request.trackedPostpones &&
6172
+ (0 !== request.trackedPostpones.rootNodes.length ||
6173
+ null !== request.trackedPostpones.rootSlots))
6174
+ ) {
6175
+ var resumableState = request.resumableState;
6176
+ if (0 === (resumableState.instructions & 64)) {
6177
+ resumableState.instructions |= 64;
6178
+ writeChunk(destination, renderState$jscomp$0.startInlineScript);
6179
+ if (0 === (resumableState.instructions & 32)) {
6180
+ resumableState.instructions |= 32;
6181
+ var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
6182
+ writeChunk(destination, completedShellIdAttributeStart);
6183
+ writeChunk(
6184
+ destination,
6185
+ stringToChunk(escapeTextForBrowser(shellId))
6186
+ );
6187
+ writeChunk(destination, attributeEnd);
6188
+ }
6189
+ writeChunk(destination, endOfStartTag);
6190
+ writeChunk(destination, shellTimeRuntimeScript);
6191
+ writeChunkAndReturn(destination, endInlineScript);
6192
+ }
6193
+ }
6208
6194
  writeBootstrap(destination, renderState$jscomp$0);
6209
6195
  }
6210
6196
  var renderState$jscomp$1 = request.renderState;
@@ -6243,7 +6229,7 @@ function flushCompletedQueues(request, destination) {
6243
6229
  for (i = 0; i < clientRenderedBoundaries.length; i++) {
6244
6230
  var boundary = clientRenderedBoundaries[i];
6245
6231
  renderState$jscomp$1 = destination;
6246
- var resumableState$jscomp$1 = request.resumableState,
6232
+ var resumableState$jscomp$0 = request.resumableState,
6247
6233
  renderState$jscomp$2 = request.renderState,
6248
6234
  id = boundary.rootSegmentID,
6249
6235
  errorDigest = boundary.errorDigest;
@@ -6252,8 +6238,8 @@ function flushCompletedQueues(request, destination) {
6252
6238
  renderState$jscomp$2.startInlineScript
6253
6239
  );
6254
6240
  writeChunk(renderState$jscomp$1, endOfStartTag);
6255
- 0 === (resumableState$jscomp$1.instructions & 4)
6256
- ? ((resumableState$jscomp$1.instructions |= 4),
6241
+ 0 === (resumableState$jscomp$0.instructions & 4)
6242
+ ? ((resumableState$jscomp$0.instructions |= 4),
6257
6243
  writeChunk(renderState$jscomp$1, clientRenderScript1Full))
6258
6244
  : writeChunk(renderState$jscomp$1, clientRenderScript1Partial);
6259
6245
  writeChunk(renderState$jscomp$1, renderState$jscomp$2.boundaryPrefix);
@@ -6437,11 +6423,11 @@ function abort(request, reason) {
6437
6423
  }
6438
6424
  function ensureCorrectIsomorphicReactVersion() {
6439
6425
  var isomorphicReactPackageVersion = React.version;
6440
- if ("19.2.0-canary-3820740a-20250509" !== isomorphicReactPackageVersion)
6426
+ if ("19.2.0-canary-b94603b9-20250513" !== isomorphicReactPackageVersion)
6441
6427
  throw Error(
6442
6428
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
6443
6429
  (isomorphicReactPackageVersion +
6444
- "\n - react-dom: 19.2.0-canary-3820740a-20250509\nLearn more: https://react.dev/warnings/version-mismatch")
6430
+ "\n - react-dom: 19.2.0-canary-b94603b9-20250513\nLearn more: https://react.dev/warnings/version-mismatch")
6445
6431
  );
6446
6432
  }
6447
6433
  ensureCorrectIsomorphicReactVersion();
@@ -6587,4 +6573,4 @@ exports.renderToReadableStream = function (children, options) {
6587
6573
  startWork(request);
6588
6574
  });
6589
6575
  };
6590
- exports.version = "19.2.0-canary-3820740a-20250509";
6576
+ exports.version = "19.2.0-canary-b94603b9-20250513";