react-dom 19.2.0-canary-197d6a04-20250424 → 19.2.0-canary-c498bfce-20250426

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -191,6 +191,9 @@ function stringToChunk(content) {
191
191
  function stringToPrecomputedChunk(content) {
192
192
  return textEncoder.encode(content);
193
193
  }
194
+ function byteLengthOfChunk(chunk) {
195
+ return chunk.byteLength;
196
+ }
194
197
  function closeWithError(destination, error) {
195
198
  "function" === typeof destination.error
196
199
  ? destination.error(error)
@@ -372,14 +375,14 @@ ReactDOMSharedInternals.d = {
372
375
  };
373
376
  var PRELOAD_NO_CREDS = [];
374
377
  stringToPrecomputedChunk('"></template>');
375
- var startInlineScript = stringToPrecomputedChunk("<script>"),
378
+ var startInlineScript = stringToPrecomputedChunk("<script"),
376
379
  endInlineScript = stringToPrecomputedChunk("\x3c/script>"),
377
380
  startScriptSrc = stringToPrecomputedChunk('<script src="'),
378
381
  startModuleSrc = stringToPrecomputedChunk('<script type="module" src="'),
379
- scriptNonce = stringToPrecomputedChunk('" nonce="'),
380
- scriptIntegirty = stringToPrecomputedChunk('" integrity="'),
381
- scriptCrossOrigin = stringToPrecomputedChunk('" crossorigin="'),
382
- endAsyncScript = stringToPrecomputedChunk('" async="">\x3c/script>'),
382
+ scriptNonce = stringToPrecomputedChunk(' nonce="'),
383
+ scriptIntegirty = stringToPrecomputedChunk(' integrity="'),
384
+ scriptCrossOrigin = stringToPrecomputedChunk(' crossorigin="'),
385
+ endAsyncScript = stringToPrecomputedChunk(' async="">\x3c/script>'),
383
386
  scriptRegex = /(<\/|<)(s)(cript)/gi;
384
387
  function scriptReplacer(match, prefix, s, suffix) {
385
388
  return "" + prefix + ("s" === s ? "\\u0073" : "\\u0053") + suffix;
@@ -400,7 +403,7 @@ function createRenderState(
400
403
  void 0 === nonce
401
404
  ? startInlineScript
402
405
  : stringToPrecomputedChunk(
403
- '<script nonce="' + escapeTextForBrowser(nonce) + '">'
406
+ '<script nonce="' + escapeTextForBrowser(nonce) + '"'
404
407
  ),
405
408
  idPrefix = resumableState.idPrefix;
406
409
  externalRuntimeConfig = [];
@@ -408,13 +411,15 @@ function createRenderState(
408
411
  bootstrapScripts = resumableState.bootstrapScripts,
409
412
  bootstrapModules = resumableState.bootstrapModules;
410
413
  void 0 !== bootstrapScriptContent &&
414
+ (externalRuntimeConfig.push(inlineScriptWithNonce),
415
+ pushCompletedShellIdAttribute(externalRuntimeConfig, resumableState),
411
416
  externalRuntimeConfig.push(
412
- inlineScriptWithNonce,
417
+ endOfStartTag,
413
418
  stringToChunk(
414
419
  ("" + bootstrapScriptContent).replace(scriptRegex, scriptReplacer)
415
420
  ),
416
421
  endInlineScript
417
- );
422
+ ));
418
423
  bootstrapScriptContent = [];
419
424
  void 0 !== importMap &&
420
425
  (bootstrapScriptContent.push(importMapScriptStart),
@@ -503,23 +508,28 @@ function createRenderState(
503
508
  onHeaders.bootstrapScripts.add(scriptConfig);
504
509
  externalRuntimeConfig.push(
505
510
  startScriptSrc,
506
- stringToChunk(escapeTextForBrowser(maxHeadersLength))
511
+ stringToChunk(escapeTextForBrowser(maxHeadersLength)),
512
+ attributeEnd
507
513
  );
508
514
  nonce &&
509
515
  externalRuntimeConfig.push(
510
516
  scriptNonce,
511
- stringToChunk(escapeTextForBrowser(nonce))
517
+ stringToChunk(escapeTextForBrowser(nonce)),
518
+ attributeEnd
512
519
  );
513
520
  "string" === typeof idPrefix &&
514
521
  externalRuntimeConfig.push(
515
522
  scriptIntegirty,
516
- stringToChunk(escapeTextForBrowser(idPrefix))
523
+ stringToChunk(escapeTextForBrowser(idPrefix)),
524
+ attributeEnd
517
525
  );
518
526
  "string" === typeof inlineScriptWithNonce &&
519
527
  externalRuntimeConfig.push(
520
528
  scriptCrossOrigin,
521
- stringToChunk(escapeTextForBrowser(inlineScriptWithNonce))
529
+ stringToChunk(escapeTextForBrowser(inlineScriptWithNonce)),
530
+ attributeEnd
522
531
  );
532
+ pushCompletedShellIdAttribute(externalRuntimeConfig, resumableState);
523
533
  externalRuntimeConfig.push(endAsyncScript);
524
534
  }
525
535
  if (void 0 !== bootstrapModules)
@@ -558,23 +568,28 @@ function createRenderState(
558
568
  onHeaders.bootstrapScripts.add(bootstrapScriptContent),
559
569
  externalRuntimeConfig.push(
560
570
  startModuleSrc,
561
- stringToChunk(escapeTextForBrowser(importMap))
571
+ stringToChunk(escapeTextForBrowser(importMap)),
572
+ attributeEnd
562
573
  ),
563
574
  nonce &&
564
575
  externalRuntimeConfig.push(
565
576
  scriptNonce,
566
- stringToChunk(escapeTextForBrowser(nonce))
577
+ stringToChunk(escapeTextForBrowser(nonce)),
578
+ attributeEnd
567
579
  ),
568
580
  "string" === typeof inlineScriptWithNonce &&
569
581
  externalRuntimeConfig.push(
570
582
  scriptIntegirty,
571
- stringToChunk(escapeTextForBrowser(inlineScriptWithNonce))
583
+ stringToChunk(escapeTextForBrowser(inlineScriptWithNonce)),
584
+ attributeEnd
572
585
  ),
573
586
  "string" === typeof maxHeadersLength &&
574
587
  externalRuntimeConfig.push(
575
588
  scriptCrossOrigin,
576
- stringToChunk(escapeTextForBrowser(maxHeadersLength))
589
+ stringToChunk(escapeTextForBrowser(maxHeadersLength)),
590
+ attributeEnd
577
591
  ),
592
+ pushCompletedShellIdAttribute(externalRuntimeConfig, resumableState),
578
593
  externalRuntimeConfig.push(endAsyncScript);
579
594
  return onHeaders;
580
595
  }
@@ -1062,13 +1077,25 @@ var selectedMarkerAttribute = stringToPrecomputedChunk(' selected=""'),
1062
1077
  'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});'
1063
1078
  );
1064
1079
  function injectFormReplayingRuntime(resumableState, renderState) {
1065
- 0 === (resumableState.instructions & 16) &&
1066
- ((resumableState.instructions |= 16),
1067
- renderState.bootstrapChunks.unshift(
1068
- renderState.startInlineScript,
1069
- formReplayingRuntimeScript,
1070
- endInlineScript
1071
- ));
1080
+ if (0 === (resumableState.instructions & 16)) {
1081
+ resumableState.instructions |= 16;
1082
+ var preamble = renderState.preamble,
1083
+ bootstrapChunks = renderState.bootstrapChunks;
1084
+ (preamble.htmlChunks || preamble.headChunks) && 0 === bootstrapChunks.length
1085
+ ? (bootstrapChunks.push(renderState.startInlineScript),
1086
+ pushCompletedShellIdAttribute(bootstrapChunks, resumableState),
1087
+ bootstrapChunks.push(
1088
+ endOfStartTag,
1089
+ formReplayingRuntimeScript,
1090
+ endInlineScript
1091
+ ))
1092
+ : bootstrapChunks.unshift(
1093
+ renderState.startInlineScript,
1094
+ endOfStartTag,
1095
+ formReplayingRuntimeScript,
1096
+ endInlineScript
1097
+ );
1098
+ }
1072
1099
  }
1073
1100
  var formStateMarkerIsMatching = stringToPrecomputedChunk("\x3c!--F!--\x3e"),
1074
1101
  formStateMarkerIsNotMatching = stringToPrecomputedChunk("\x3c!--F--\x3e");
@@ -2630,6 +2657,22 @@ function preloadLateStyles(styleQueue) {
2630
2657
  styleQueue.sheets.forEach(preloadLateStyle, this);
2631
2658
  styleQueue.sheets.clear();
2632
2659
  }
2660
+ var blockingRenderChunkStart = stringToPrecomputedChunk(
2661
+ '<link rel="expect" href="#'
2662
+ ),
2663
+ blockingRenderChunkEnd = stringToPrecomputedChunk('" blocking="render"/>'),
2664
+ completedShellIdAttributeStart = stringToPrecomputedChunk(' id="');
2665
+ function pushCompletedShellIdAttribute(target, resumableState) {
2666
+ 0 === (resumableState.instructions & 32) &&
2667
+ ((resumableState.instructions |= 32),
2668
+ target.push(
2669
+ completedShellIdAttributeStart,
2670
+ stringToChunk(
2671
+ escapeTextForBrowser("\u00ab" + resumableState.idPrefix + "R\u00bb")
2672
+ ),
2673
+ attributeEnd
2674
+ ));
2675
+ }
2633
2676
  var arrayFirstOpenBracket = stringToPrecomputedChunk("["),
2634
2677
  arraySubsequentOpenBracket = stringToPrecomputedChunk(",["),
2635
2678
  arrayInterstitial = stringToPrecomputedChunk(","),
@@ -3910,6 +3953,7 @@ function RequestInstance(
3910
3953
  this.fatalError = null;
3911
3954
  this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
3912
3955
  this.completedPreambleSegments = this.completedRootSegment = null;
3956
+ this.byteSize = 0;
3913
3957
  this.abortableTasks = abortSet;
3914
3958
  this.pingedTasks = [];
3915
3959
  this.clientRenderedBoundaries = [];
@@ -4524,11 +4568,11 @@ function renderElement(request, task, keyPath, type, props, ref) {
4524
4568
  }
4525
4569
  } else {
4526
4570
  type = task.keyPath;
4527
- var parentBoundary = task.blockedBoundary;
4528
- ref = task.blockedPreamble;
4571
+ ref = task.blockedBoundary;
4572
+ propName$33 = task.blockedPreamble;
4529
4573
  var parentHoistableState = task.hoistableState;
4530
- propName$33 = task.blockedSegment;
4531
- propName = props.fallback;
4574
+ propName = task.blockedSegment;
4575
+ var fallback = props.fallback;
4532
4576
  props = props.children;
4533
4577
  var fallbackAbortSet = new Set();
4534
4578
  var newBoundary =
@@ -4544,14 +4588,14 @@ function renderElement(request, task, keyPath, type, props, ref) {
4544
4588
  (newBoundary.trackedContentKeyPath = keyPath);
4545
4589
  var boundarySegment = createPendingSegment(
4546
4590
  request,
4547
- propName$33.chunks.length,
4591
+ propName.chunks.length,
4548
4592
  newBoundary,
4549
4593
  task.formatContext,
4550
4594
  !1,
4551
4595
  !1
4552
4596
  );
4553
- propName$33.children.push(boundarySegment);
4554
- propName$33.lastPushedText = !1;
4597
+ propName.children.push(boundarySegment);
4598
+ propName.lastPushedText = !1;
4555
4599
  var contentRootSegment = createPendingSegment(
4556
4600
  request,
4557
4601
  0,
@@ -4571,19 +4615,20 @@ function renderElement(request, task, keyPath, type, props, ref) {
4571
4615
  task.keyPath = newProps;
4572
4616
  boundarySegment.status = 6;
4573
4617
  try {
4574
- renderNode(request, task, propName, -1),
4618
+ renderNode(request, task, fallback, -1),
4575
4619
  boundarySegment.lastPushedText &&
4576
4620
  boundarySegment.textEmbedded &&
4577
4621
  boundarySegment.chunks.push(textSeparator),
4578
- (boundarySegment.status = 1);
4622
+ (boundarySegment.status = 1),
4623
+ finishedSegment(request, ref, boundarySegment);
4579
4624
  } catch (thrownValue) {
4580
4625
  throw (
4581
4626
  ((boundarySegment.status = 12 === request.status ? 3 : 4),
4582
4627
  thrownValue)
4583
4628
  );
4584
4629
  } finally {
4585
- (task.blockedSegment = propName$33),
4586
- (task.blockedPreamble = ref),
4630
+ (task.blockedSegment = propName),
4631
+ (task.blockedPreamble = propName$33),
4587
4632
  (task.keyPath = type);
4588
4633
  }
4589
4634
  task = createRenderTask(
@@ -4619,10 +4664,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
4619
4664
  contentRootSegment.textEmbedded &&
4620
4665
  contentRootSegment.chunks.push(textSeparator),
4621
4666
  (contentRootSegment.status = 1),
4667
+ finishedSegment(request, newBoundary, contentRootSegment),
4622
4668
  queueCompletedSegment(newBoundary, contentRootSegment),
4623
- 0 === newBoundary.pendingTasks && 0 === newBoundary.status)
4669
+ 0 === newBoundary.pendingTasks &&
4670
+ 0 === newBoundary.status &&
4671
+ ((newBoundary.status = 1),
4672
+ !(newBoundary.byteSize > request.progressiveChunkSize)))
4624
4673
  ) {
4625
- newBoundary.status = 1;
4626
4674
  0 === request.pendingRootTasks &&
4627
4675
  task.blockedPreamble &&
4628
4676
  preparePreamble(request);
@@ -4644,18 +4692,18 @@ function renderElement(request, task, keyPath, type, props, ref) {
4644
4692
  (newBoundary.errorDigest = initialState),
4645
4693
  untrackBoundary(request, newBoundary);
4646
4694
  } finally {
4647
- (task.blockedBoundary = parentBoundary),
4648
- (task.blockedPreamble = ref),
4695
+ (task.blockedBoundary = ref),
4696
+ (task.blockedPreamble = propName$33),
4649
4697
  (task.hoistableState = parentHoistableState),
4650
- (task.blockedSegment = propName$33),
4698
+ (task.blockedSegment = propName),
4651
4699
  (task.keyPath = type);
4652
4700
  }
4653
4701
  task = createRenderTask(
4654
4702
  request,
4655
4703
  null,
4656
- propName,
4704
+ fallback,
4657
4705
  -1,
4658
- parentBoundary,
4706
+ ref,
4659
4707
  boundarySegment,
4660
4708
  newBoundary.fallbackPreamble,
4661
4709
  newBoundary.fallbackState,
@@ -4677,9 +4725,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
4677
4725
  switch (type.$$typeof) {
4678
4726
  case REACT_FORWARD_REF_TYPE:
4679
4727
  if ("ref" in props)
4680
- for (newBoundary in ((newProps = {}), props))
4681
- "ref" !== newBoundary &&
4682
- (newProps[newBoundary] = props[newBoundary]);
4728
+ for (fallback in ((newProps = {}), props))
4729
+ "ref" !== fallback && (newProps[fallback] = props[fallback]);
4683
4730
  else newProps = props;
4684
4731
  type = renderWithHooks(
4685
4732
  request,
@@ -4765,6 +4812,7 @@ function resumeNode(request, task, segmentId, node, childIndex) {
4765
4812
  (task.blockedSegment = resumedSegment),
4766
4813
  renderNode(request, task, node, childIndex),
4767
4814
  (resumedSegment.status = 1),
4815
+ finishedSegment(request, blockedBoundary, resumedSegment),
4768
4816
  null === blockedBoundary
4769
4817
  ? (request.completedRootSegment = resumedSegment)
4770
4818
  : (queueCompletedSegment(blockedBoundary, resumedSegment),
@@ -5457,6 +5505,16 @@ function queueCompletedSegment(boundary, segment) {
5457
5505
  1 === childSegment.status && queueCompletedSegment(boundary, childSegment);
5458
5506
  } else boundary.completedSegments.push(segment);
5459
5507
  }
5508
+ function finishedSegment(request, boundary, segment) {
5509
+ if (null !== byteLengthOfChunk) {
5510
+ segment = segment.chunks;
5511
+ for (var segmentByteSize = 0, i = 0; i < segment.length; i++)
5512
+ segmentByteSize += segment[i].byteLength;
5513
+ null === boundary
5514
+ ? (request.byteSize += segmentByteSize)
5515
+ : (boundary.byteSize += segmentByteSize);
5516
+ }
5517
+ }
5460
5518
  function finishedTask(request, boundary, segment) {
5461
5519
  if (null === boundary) {
5462
5520
  if (null !== segment && segment.parentFlushed) {
@@ -5478,8 +5536,12 @@ function finishedTask(request, boundary, segment) {
5478
5536
  boundary.parentFlushed &&
5479
5537
  request.completedBoundaries.push(boundary),
5480
5538
  1 === boundary.status &&
5481
- (boundary.fallbackAbortableTasks.forEach(abortTaskSoft, request),
5482
- boundary.fallbackAbortableTasks.clear(),
5539
+ (boundary.byteSize > request.progressiveChunkSize ||
5540
+ (boundary.fallbackAbortableTasks.forEach(
5541
+ abortTaskSoft,
5542
+ request
5543
+ ),
5544
+ boundary.fallbackAbortableTasks.clear()),
5483
5545
  0 === request.pendingRootTasks &&
5484
5546
  null === request.trackedPostpones &&
5485
5547
  null !== boundary.contentPreamble &&
@@ -5600,6 +5662,7 @@ function performWork(request$jscomp$2) {
5600
5662
  request$jscomp$1.chunks.push(textSeparator),
5601
5663
  task.abortSet.delete(task),
5602
5664
  (request$jscomp$1.status = 1),
5665
+ finishedSegment(request, task.blockedBoundary, request$jscomp$1),
5603
5666
  finishedTask(request, task.blockedBoundary, request$jscomp$1);
5604
5667
  } catch (thrownValue) {
5605
5668
  resetHooksState();
@@ -5869,6 +5932,7 @@ function flushCompletedBoundary(request, destination, boundary) {
5869
5932
  var requiresStyleInsertion = request.stylesToHoist;
5870
5933
  request.stylesToHoist = !1;
5871
5934
  writeChunk(destination, request.startInlineScript);
5935
+ writeChunk(destination, endOfStartTag);
5872
5936
  requiresStyleInsertion
5873
5937
  ? 0 === (completedSegments.instructions & 2)
5874
5938
  ? ((completedSegments.instructions |= 10),
@@ -5914,6 +5978,7 @@ function flushPartiallyCompletedSegment(
5914
5978
  boundary = request.resumableState;
5915
5979
  request = request.renderState;
5916
5980
  writeChunk(destination, request.startInlineScript);
5981
+ writeChunk(destination, endOfStartTag);
5917
5982
  0 === (boundary.instructions & 1)
5918
5983
  ? ((boundary.instructions |= 1),
5919
5984
  writeChunk(destination, completeSegmentScript1Full))
@@ -5938,7 +6003,8 @@ function flushCompletedQueues(request, destination) {
5938
6003
  if (5 === completedRootSegment.status) return;
5939
6004
  var completedPreambleSegments = request.completedPreambleSegments;
5940
6005
  if (null === completedPreambleSegments) return;
5941
- var renderState = request.renderState,
6006
+ var resumableState = request.resumableState,
6007
+ renderState = request.renderState,
5942
6008
  preamble = renderState.preamble,
5943
6009
  htmlChunks = preamble.htmlChunks,
5944
6010
  headChunks = preamble.headChunks,
@@ -5979,17 +6045,23 @@ function flushCompletedQueues(request, destination) {
5979
6045
  renderState.scripts.clear();
5980
6046
  renderState.bulkPreloads.forEach(flushResource, destination);
5981
6047
  renderState.bulkPreloads.clear();
6048
+ if (htmlChunks || headChunks) {
6049
+ var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
6050
+ writeChunk(destination, blockingRenderChunkStart);
6051
+ writeChunk(destination, stringToChunk(escapeTextForBrowser(shellId)));
6052
+ writeChunk(destination, blockingRenderChunkEnd);
6053
+ }
5982
6054
  var hoistableChunks = renderState.hoistableChunks;
5983
6055
  for (i$jscomp$0 = 0; i$jscomp$0 < hoistableChunks.length; i$jscomp$0++)
5984
6056
  writeChunk(destination, hoistableChunks[i$jscomp$0]);
5985
6057
  for (
5986
- renderState = hoistableChunks.length = 0;
5987
- renderState < completedPreambleSegments.length;
5988
- renderState++
6058
+ resumableState = hoistableChunks.length = 0;
6059
+ resumableState < completedPreambleSegments.length;
6060
+ resumableState++
5989
6061
  ) {
5990
- var segments = completedPreambleSegments[renderState];
5991
- for (preamble = 0; preamble < segments.length; preamble++)
5992
- flushSegment(request, destination, segments[preamble], null);
6062
+ var segments = completedPreambleSegments[resumableState];
6063
+ for (renderState = 0; renderState < segments.length; renderState++)
6064
+ flushSegment(request, destination, segments[renderState], null);
5993
6065
  }
5994
6066
  var preamble$jscomp$0 = request.renderState.preamble,
5995
6067
  headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
@@ -6005,11 +6077,26 @@ function flushCompletedQueues(request, destination) {
6005
6077
  writeChunk(destination, bodyChunks[completedPreambleSegments]);
6006
6078
  flushSegment(request, destination, completedRootSegment, null);
6007
6079
  request.completedRootSegment = null;
6008
- writeBootstrap(destination, request.renderState);
6080
+ var resumableState$jscomp$0 = request.resumableState,
6081
+ renderState$jscomp$0 = request.renderState,
6082
+ preamble$jscomp$1 = renderState$jscomp$0.preamble;
6083
+ if (
6084
+ (preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
6085
+ 0 === (resumableState$jscomp$0.instructions & 32)
6086
+ ) {
6087
+ var bootstrapChunks = renderState$jscomp$0.bootstrapChunks;
6088
+ bootstrapChunks.push(startChunkForTag("template"));
6089
+ pushCompletedShellIdAttribute(
6090
+ bootstrapChunks,
6091
+ resumableState$jscomp$0
6092
+ );
6093
+ bootstrapChunks.push(endOfStartTag, endChunkForTag("template"));
6094
+ }
6095
+ writeBootstrap(destination, renderState$jscomp$0);
6009
6096
  }
6010
- var renderState$jscomp$0 = request.renderState;
6097
+ var renderState$jscomp$1 = request.renderState;
6011
6098
  completedRootSegment = 0;
6012
- var viewportChunks$jscomp$0 = renderState$jscomp$0.viewportChunks;
6099
+ var viewportChunks$jscomp$0 = renderState$jscomp$1.viewportChunks;
6013
6100
  for (
6014
6101
  completedRootSegment = 0;
6015
6102
  completedRootSegment < viewportChunks$jscomp$0.length;
@@ -6017,21 +6104,21 @@ function flushCompletedQueues(request, destination) {
6017
6104
  )
6018
6105
  writeChunk(destination, viewportChunks$jscomp$0[completedRootSegment]);
6019
6106
  viewportChunks$jscomp$0.length = 0;
6020
- renderState$jscomp$0.preconnects.forEach(flushResource, destination);
6021
- renderState$jscomp$0.preconnects.clear();
6022
- renderState$jscomp$0.fontPreloads.forEach(flushResource, destination);
6023
- renderState$jscomp$0.fontPreloads.clear();
6024
- renderState$jscomp$0.highImagePreloads.forEach(
6107
+ renderState$jscomp$1.preconnects.forEach(flushResource, destination);
6108
+ renderState$jscomp$1.preconnects.clear();
6109
+ renderState$jscomp$1.fontPreloads.forEach(flushResource, destination);
6110
+ renderState$jscomp$1.fontPreloads.clear();
6111
+ renderState$jscomp$1.highImagePreloads.forEach(
6025
6112
  flushResource,
6026
6113
  destination
6027
6114
  );
6028
- renderState$jscomp$0.highImagePreloads.clear();
6029
- renderState$jscomp$0.styles.forEach(preloadLateStyles, destination);
6030
- renderState$jscomp$0.scripts.forEach(flushResource, destination);
6031
- renderState$jscomp$0.scripts.clear();
6032
- renderState$jscomp$0.bulkPreloads.forEach(flushResource, destination);
6033
- renderState$jscomp$0.bulkPreloads.clear();
6034
- var hoistableChunks$jscomp$0 = renderState$jscomp$0.hoistableChunks;
6115
+ renderState$jscomp$1.highImagePreloads.clear();
6116
+ renderState$jscomp$1.styles.forEach(preloadLateStyles, destination);
6117
+ renderState$jscomp$1.scripts.forEach(flushResource, destination);
6118
+ renderState$jscomp$1.scripts.clear();
6119
+ renderState$jscomp$1.bulkPreloads.forEach(flushResource, destination);
6120
+ renderState$jscomp$1.bulkPreloads.clear();
6121
+ var hoistableChunks$jscomp$0 = renderState$jscomp$1.hoistableChunks;
6035
6122
  for (
6036
6123
  completedRootSegment = 0;
6037
6124
  completedRootSegment < hoistableChunks$jscomp$0.length;
@@ -6042,35 +6129,36 @@ function flushCompletedQueues(request, destination) {
6042
6129
  var clientRenderedBoundaries = request.clientRenderedBoundaries;
6043
6130
  for (i = 0; i < clientRenderedBoundaries.length; i++) {
6044
6131
  var boundary = clientRenderedBoundaries[i];
6045
- renderState$jscomp$0 = destination;
6046
- var resumableState = request.resumableState,
6047
- renderState$jscomp$1 = request.renderState,
6132
+ renderState$jscomp$1 = destination;
6133
+ var resumableState$jscomp$1 = request.resumableState,
6134
+ renderState$jscomp$2 = request.renderState,
6048
6135
  id = boundary.rootSegmentID,
6049
6136
  errorDigest = boundary.errorDigest;
6050
6137
  writeChunk(
6051
- renderState$jscomp$0,
6052
- renderState$jscomp$1.startInlineScript
6138
+ renderState$jscomp$1,
6139
+ renderState$jscomp$2.startInlineScript
6053
6140
  );
6054
- 0 === (resumableState.instructions & 4)
6055
- ? ((resumableState.instructions |= 4),
6056
- writeChunk(renderState$jscomp$0, clientRenderScript1Full))
6057
- : writeChunk(renderState$jscomp$0, clientRenderScript1Partial);
6058
- writeChunk(renderState$jscomp$0, renderState$jscomp$1.boundaryPrefix);
6059
- writeChunk(renderState$jscomp$0, stringToChunk(id.toString(16)));
6060
- writeChunk(renderState$jscomp$0, clientRenderScript1A);
6141
+ writeChunk(renderState$jscomp$1, endOfStartTag);
6142
+ 0 === (resumableState$jscomp$1.instructions & 4)
6143
+ ? ((resumableState$jscomp$1.instructions |= 4),
6144
+ writeChunk(renderState$jscomp$1, clientRenderScript1Full))
6145
+ : writeChunk(renderState$jscomp$1, clientRenderScript1Partial);
6146
+ writeChunk(renderState$jscomp$1, renderState$jscomp$2.boundaryPrefix);
6147
+ writeChunk(renderState$jscomp$1, stringToChunk(id.toString(16)));
6148
+ writeChunk(renderState$jscomp$1, clientRenderScript1A);
6061
6149
  errorDigest &&
6062
6150
  (writeChunk(
6063
- renderState$jscomp$0,
6151
+ renderState$jscomp$1,
6064
6152
  clientRenderErrorScriptArgInterstitial
6065
6153
  ),
6066
6154
  writeChunk(
6067
- renderState$jscomp$0,
6155
+ renderState$jscomp$1,
6068
6156
  stringToChunk(
6069
6157
  escapeJSStringsForInstructionScripts(errorDigest || "")
6070
6158
  )
6071
6159
  ));
6072
6160
  var JSCompiler_inline_result = writeChunkAndReturn(
6073
- renderState$jscomp$0,
6161
+ renderState$jscomp$1,
6074
6162
  clientRenderScriptEnd
6075
6163
  );
6076
6164
  if (!JSCompiler_inline_result) {
@@ -6223,12 +6311,12 @@ function abort(request, reason) {
6223
6311
  }
6224
6312
  function ensureCorrectIsomorphicReactVersion() {
6225
6313
  var isomorphicReactPackageVersion = React.version;
6226
- if ("19.2.0-canary-197d6a04-20250424" !== isomorphicReactPackageVersion)
6314
+ if ("19.2.0-canary-c498bfce-20250426" !== isomorphicReactPackageVersion)
6227
6315
  throw Error(
6228
6316
  formatProdErrorMessage(
6229
6317
  527,
6230
6318
  isomorphicReactPackageVersion,
6231
- "19.2.0-canary-197d6a04-20250424"
6319
+ "19.2.0-canary-c498bfce-20250426"
6232
6320
  )
6233
6321
  );
6234
6322
  }
@@ -6375,4 +6463,4 @@ exports.renderToReadableStream = function (children, options) {
6375
6463
  startWork(request);
6376
6464
  });
6377
6465
  };
6378
- exports.version = "19.2.0-canary-197d6a04-20250424";
6466
+ exports.version = "19.2.0-canary-c498bfce-20250426";