react-dom 19.2.0-canary-c44e4a25-20250409 → 19.2.0-canary-1d6c8168-20250411

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.
@@ -315,12 +315,7 @@ function createResumableState(
315
315
  };
316
316
  }
317
317
  function createPreambleState() {
318
- return {
319
- htmlChunks: null,
320
- headChunks: null,
321
- bodyChunks: null,
322
- contribution: 0
323
- };
318
+ return { htmlChunks: null, headChunks: null, bodyChunks: null };
324
319
  }
325
320
  function createFormatContext(insertionMode, selectedValue, tagScope) {
326
321
  return {
@@ -1764,6 +1759,7 @@ function pushStartInstance(
1764
1759
  var preamble = preambleState || renderState.preamble;
1765
1760
  if (preamble.headChunks)
1766
1761
  throw Error("The `<head>` tag may only be rendered once.");
1762
+ null !== preambleState && target$jscomp$0.push("\x3c!--head--\x3e");
1767
1763
  preamble.headChunks = [];
1768
1764
  var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
1769
1765
  preamble.headChunks,
@@ -1782,6 +1778,7 @@ function pushStartInstance(
1782
1778
  var preamble$jscomp$0 = preambleState || renderState.preamble;
1783
1779
  if (preamble$jscomp$0.bodyChunks)
1784
1780
  throw Error("The `<body>` tag may only be rendered once.");
1781
+ null !== preambleState && target$jscomp$0.push("\x3c!--body--\x3e");
1785
1782
  preamble$jscomp$0.bodyChunks = [];
1786
1783
  var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
1787
1784
  preamble$jscomp$0.bodyChunks,
@@ -1800,6 +1797,7 @@ function pushStartInstance(
1800
1797
  var preamble$jscomp$1 = preambleState || renderState.preamble;
1801
1798
  if (preamble$jscomp$1.htmlChunks)
1802
1799
  throw Error("The `<html>` tag may only be rendered once.");
1800
+ null !== preambleState && target$jscomp$0.push("\x3c!--html--\x3e");
1803
1801
  preamble$jscomp$1.htmlChunks = [""];
1804
1802
  var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
1805
1803
  preamble$jscomp$1.htmlChunks,
@@ -1877,16 +1875,13 @@ function hoistPreambleState(renderState, preambleState) {
1877
1875
  renderState = renderState.preamble;
1878
1876
  null === renderState.htmlChunks &&
1879
1877
  preambleState.htmlChunks &&
1880
- ((renderState.htmlChunks = preambleState.htmlChunks),
1881
- (preambleState.contribution |= 1));
1878
+ (renderState.htmlChunks = preambleState.htmlChunks);
1882
1879
  null === renderState.headChunks &&
1883
1880
  preambleState.headChunks &&
1884
- ((renderState.headChunks = preambleState.headChunks),
1885
- (preambleState.contribution |= 4));
1881
+ (renderState.headChunks = preambleState.headChunks);
1886
1882
  null === renderState.bodyChunks &&
1887
1883
  preambleState.bodyChunks &&
1888
- ((renderState.bodyChunks = preambleState.bodyChunks),
1889
- (preambleState.contribution |= 2));
1884
+ (renderState.bodyChunks = preambleState.bodyChunks);
1890
1885
  }
1891
1886
  function writeBootstrap(destination, renderState) {
1892
1887
  renderState = renderState.bootstrapChunks;
@@ -1907,13 +1902,6 @@ function writeStartPendingSuspenseBoundary(destination, renderState, id) {
1907
1902
  destination.push(renderState);
1908
1903
  return destination.push('"></template>');
1909
1904
  }
1910
- function writePreambleContribution(destination, preambleState) {
1911
- preambleState = preambleState.contribution;
1912
- 0 !== preambleState &&
1913
- (destination.push("\x3c!--"),
1914
- destination.push("" + preambleState),
1915
- destination.push("--\x3e"));
1916
- }
1917
1905
  function writeStartSegment(destination, renderState, formatContext, id) {
1918
1906
  switch (formatContext.insertionMode) {
1919
1907
  case 0:
@@ -2665,17 +2653,17 @@ function createRenderState(resumableState, generateStaticMarkup) {
2665
2653
  "\x3c/script>"
2666
2654
  );
2667
2655
  bootstrapScriptContent = idPrefix + "P:";
2668
- var JSCompiler_object_inline_segmentPrefix_1567 = idPrefix + "S:";
2656
+ var JSCompiler_object_inline_segmentPrefix_1538 = idPrefix + "S:";
2669
2657
  idPrefix += "B:";
2670
- var JSCompiler_object_inline_preamble_1570 = createPreambleState(),
2671
- JSCompiler_object_inline_preconnects_1580 = new Set(),
2672
- JSCompiler_object_inline_fontPreloads_1581 = new Set(),
2673
- JSCompiler_object_inline_highImagePreloads_1582 = new Set(),
2674
- JSCompiler_object_inline_styles_1583 = new Map(),
2675
- JSCompiler_object_inline_bootstrapScripts_1584 = new Set(),
2676
- JSCompiler_object_inline_scripts_1585 = new Set(),
2677
- JSCompiler_object_inline_bulkPreloads_1586 = new Set(),
2678
- JSCompiler_object_inline_preloads_1587 = {
2658
+ var JSCompiler_object_inline_preamble_1541 = createPreambleState(),
2659
+ JSCompiler_object_inline_preconnects_1551 = new Set(),
2660
+ JSCompiler_object_inline_fontPreloads_1552 = new Set(),
2661
+ JSCompiler_object_inline_highImagePreloads_1553 = new Set(),
2662
+ JSCompiler_object_inline_styles_1554 = new Map(),
2663
+ JSCompiler_object_inline_bootstrapScripts_1555 = new Set(),
2664
+ JSCompiler_object_inline_scripts_1556 = new Set(),
2665
+ JSCompiler_object_inline_bulkPreloads_1557 = new Set(),
2666
+ JSCompiler_object_inline_preloads_1558 = {
2679
2667
  images: new Map(),
2680
2668
  stylesheets: new Map(),
2681
2669
  scripts: new Map(),
@@ -2712,7 +2700,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2712
2700
  scriptConfig.moduleScriptResources[href] = null;
2713
2701
  scriptConfig = [];
2714
2702
  pushLinkImpl(scriptConfig, props);
2715
- JSCompiler_object_inline_bootstrapScripts_1584.add(scriptConfig);
2703
+ JSCompiler_object_inline_bootstrapScripts_1555.add(scriptConfig);
2716
2704
  bootstrapChunks.push('<script src="', escapeTextForBrowser(src));
2717
2705
  "string" === typeof integrity &&
2718
2706
  bootstrapChunks.push('" integrity="', escapeTextForBrowser(integrity));
@@ -2753,7 +2741,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2753
2741
  (props.moduleScriptResources[scriptConfig] = null),
2754
2742
  (props = []),
2755
2743
  pushLinkImpl(props, integrity),
2756
- JSCompiler_object_inline_bootstrapScripts_1584.add(props),
2744
+ JSCompiler_object_inline_bootstrapScripts_1555.add(props),
2757
2745
  bootstrapChunks.push(
2758
2746
  '<script type="module" src="',
2759
2747
  escapeTextForBrowser(i)
@@ -2768,10 +2756,10 @@ function createRenderState(resumableState, generateStaticMarkup) {
2768
2756
  bootstrapChunks.push('" async="">\x3c/script>');
2769
2757
  return {
2770
2758
  placeholderPrefix: bootstrapScriptContent,
2771
- segmentPrefix: JSCompiler_object_inline_segmentPrefix_1567,
2759
+ segmentPrefix: JSCompiler_object_inline_segmentPrefix_1538,
2772
2760
  boundaryPrefix: idPrefix,
2773
2761
  startInlineScript: "<script>",
2774
- preamble: JSCompiler_object_inline_preamble_1570,
2762
+ preamble: JSCompiler_object_inline_preamble_1541,
2775
2763
  externalRuntimeScript: null,
2776
2764
  bootstrapChunks: bootstrapChunks,
2777
2765
  importMapChunks: [],
@@ -2787,14 +2775,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
2787
2775
  charsetChunks: [],
2788
2776
  viewportChunks: [],
2789
2777
  hoistableChunks: [],
2790
- preconnects: JSCompiler_object_inline_preconnects_1580,
2791
- fontPreloads: JSCompiler_object_inline_fontPreloads_1581,
2792
- highImagePreloads: JSCompiler_object_inline_highImagePreloads_1582,
2793
- styles: JSCompiler_object_inline_styles_1583,
2794
- bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1584,
2795
- scripts: JSCompiler_object_inline_scripts_1585,
2796
- bulkPreloads: JSCompiler_object_inline_bulkPreloads_1586,
2797
- preloads: JSCompiler_object_inline_preloads_1587,
2778
+ preconnects: JSCompiler_object_inline_preconnects_1551,
2779
+ fontPreloads: JSCompiler_object_inline_fontPreloads_1552,
2780
+ highImagePreloads: JSCompiler_object_inline_highImagePreloads_1553,
2781
+ styles: JSCompiler_object_inline_styles_1554,
2782
+ bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1555,
2783
+ scripts: JSCompiler_object_inline_scripts_1556,
2784
+ bulkPreloads: JSCompiler_object_inline_bulkPreloads_1557,
2785
+ preloads: JSCompiler_object_inline_preloads_1558,
2798
2786
  stylesToHoist: !1,
2799
2787
  generateStaticMarkup: generateStaticMarkup
2800
2788
  };
@@ -4133,30 +4121,23 @@ function renderElement(request, task, keyPath, type, props, ref) {
4133
4121
  return;
4134
4122
  case REACT_ACTIVITY_TYPE:
4135
4123
  type = task.blockedSegment;
4136
- if (null === type)
4137
- "hidden" !== props.mode &&
4124
+ null === type
4125
+ ? "hidden" !== props.mode &&
4138
4126
  ((type = task.keyPath),
4139
4127
  (task.keyPath = keyPath),
4140
4128
  renderNode(request, task, props.children, -1),
4141
- (task.keyPath = type));
4142
- else {
4143
- request.renderState.generateStaticMarkup ||
4144
- type.chunks.push("\x3c!--&--\x3e");
4145
- type.lastPushedText = !1;
4146
- "hidden" !== props.mode &&
4147
- ((newProps = task.keyPath),
4148
- (task.keyPath = keyPath),
4149
- renderNode(request, task, props.children, -1),
4150
- (task.keyPath = newProps));
4151
- if (!request.renderState.generateStaticMarkup) {
4152
- request = type.chunks;
4153
- if ((task = task.blockedPreamble))
4154
- (task = task.contribution),
4155
- 0 !== task && request.push("\x3c!--", "" + task, "--\x3e");
4156
- request.push("\x3c!--/&--\x3e");
4157
- }
4158
- type.lastPushedText = !1;
4159
- }
4129
+ (task.keyPath = type))
4130
+ : (request.renderState.generateStaticMarkup ||
4131
+ type.chunks.push("\x3c!--&--\x3e"),
4132
+ (type.lastPushedText = !1),
4133
+ "hidden" !== props.mode &&
4134
+ ((newProps = task.keyPath),
4135
+ (task.keyPath = keyPath),
4136
+ renderNode(request, task, props.children, -1),
4137
+ (task.keyPath = newProps)),
4138
+ request.renderState.generateStaticMarkup ||
4139
+ type.chunks.push("\x3c!--/&--\x3e"),
4140
+ (type.lastPushedText = !1));
4160
4141
  return;
4161
4142
  case REACT_SUSPENSE_LIST_TYPE:
4162
4143
  type = task.keyPath;
@@ -5471,26 +5452,24 @@ function flushSegment(request, destination, segment, hoistableState) {
5471
5452
  if (null === boundary)
5472
5453
  return flushSubtree(request, destination, segment, hoistableState);
5473
5454
  boundary.parentFlushed = !0;
5474
- if (4 === boundary.status) {
5475
- if (!request.renderState.generateStaticMarkup) {
5476
- var errorDigest = boundary.errorDigest;
5477
- destination.push("\x3c!--$!--\x3e");
5478
- destination.push("<template");
5479
- errorDigest &&
5480
- (destination.push(' data-dgst="'),
5481
- (errorDigest = escapeTextForBrowser(errorDigest)),
5482
- destination.push(errorDigest),
5483
- destination.push('"'));
5484
- destination.push("></template>");
5485
- }
5486
- flushSubtree(request, destination, segment, hoistableState);
5487
- request.renderState.generateStaticMarkup
5488
- ? (destination = !0)
5489
- : ((request = boundary.fallbackPreamble) &&
5490
- writePreambleContribution(destination, request),
5491
- (destination = destination.push("\x3c!--/$--\x3e")));
5492
- return destination;
5493
- }
5455
+ if (4 === boundary.status)
5456
+ return (
5457
+ request.renderState.generateStaticMarkup ||
5458
+ ((boundary = boundary.errorDigest),
5459
+ destination.push("\x3c!--$!--\x3e"),
5460
+ destination.push("<template"),
5461
+ boundary &&
5462
+ (destination.push(' data-dgst="'),
5463
+ (boundary = escapeTextForBrowser(boundary)),
5464
+ destination.push(boundary),
5465
+ destination.push('"')),
5466
+ destination.push("></template>")),
5467
+ flushSubtree(request, destination, segment, hoistableState),
5468
+ (request = request.renderState.generateStaticMarkup
5469
+ ? !0
5470
+ : destination.push("\x3c!--/$--\x3e")),
5471
+ request
5472
+ );
5494
5473
  if (1 !== boundary.status)
5495
5474
  return (
5496
5475
  0 === boundary.status &&
@@ -5536,12 +5515,10 @@ function flushSegment(request, destination, segment, hoistableState) {
5536
5515
  "A previously unvisited boundary must have exactly one root segment. This is a bug in React."
5537
5516
  );
5538
5517
  flushSegment(request, destination, segment[0], hoistableState);
5539
- request.renderState.generateStaticMarkup
5540
- ? (destination = !0)
5541
- : ((request = boundary.contentPreamble) &&
5542
- writePreambleContribution(destination, request),
5543
- (destination = destination.push("\x3c!--/$--\x3e")));
5544
- return destination;
5518
+ request = request.renderState.generateStaticMarkup
5519
+ ? !0
5520
+ : destination.push("\x3c!--/$--\x3e");
5521
+ return request;
5545
5522
  }
5546
5523
  function flushSegmentContainer(request, destination, segment, hoistableState) {
5547
5524
  writeStartSegment(
@@ -5989,4 +5966,4 @@ exports.renderToString = function (children, options) {
5989
5966
  'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
5990
5967
  );
5991
5968
  };
5992
- exports.version = "19.2.0-canary-c44e4a25-20250409";
5969
+ exports.version = "19.2.0-canary-1d6c8168-20250411";
@@ -1021,12 +1021,7 @@
1021
1021
  };
1022
1022
  }
1023
1023
  function createPreambleState() {
1024
- return {
1025
- htmlChunks: null,
1026
- headChunks: null,
1027
- bodyChunks: null,
1028
- contribution: NoContribution
1029
- };
1024
+ return { htmlChunks: null, headChunks: null, bodyChunks: null };
1030
1025
  }
1031
1026
  function createFormatContext(insertionMode, selectedValue, tagScope) {
1032
1027
  return {
@@ -3005,6 +3000,8 @@
3005
3000
  var preamble = preambleState || renderState.preamble;
3006
3001
  if (preamble.headChunks)
3007
3002
  throw Error("The `<head>` tag may only be rendered once.");
3003
+ null !== preambleState &&
3004
+ target$jscomp$0.push(headPreambleContributionChunk);
3008
3005
  preamble.headChunks = [];
3009
3006
  var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
3010
3007
  preamble.headChunks,
@@ -3023,6 +3020,8 @@
3023
3020
  var preamble$jscomp$0 = preambleState || renderState.preamble;
3024
3021
  if (preamble$jscomp$0.bodyChunks)
3025
3022
  throw Error("The `<body>` tag may only be rendered once.");
3023
+ null !== preambleState &&
3024
+ target$jscomp$0.push(bodyPreambleContributionChunk);
3026
3025
  preamble$jscomp$0.bodyChunks = [];
3027
3026
  var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
3028
3027
  preamble$jscomp$0.bodyChunks,
@@ -3041,6 +3040,8 @@
3041
3040
  var preamble$jscomp$1 = preambleState || renderState.preamble;
3042
3041
  if (preamble$jscomp$1.htmlChunks)
3043
3042
  throw Error("The `<html>` tag may only be rendered once.");
3043
+ null !== preambleState &&
3044
+ target$jscomp$0.push(htmlPreambleContributionChunk);
3044
3045
  preamble$jscomp$1.htmlChunks = [doctypeChunk];
3045
3046
  var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
3046
3047
  preamble$jscomp$1.htmlChunks,
@@ -3127,16 +3128,13 @@
3127
3128
  renderState = renderState.preamble;
3128
3129
  null === renderState.htmlChunks &&
3129
3130
  preambleState.htmlChunks &&
3130
- ((renderState.htmlChunks = preambleState.htmlChunks),
3131
- (preambleState.contribution |= 1));
3131
+ (renderState.htmlChunks = preambleState.htmlChunks);
3132
3132
  null === renderState.headChunks &&
3133
3133
  preambleState.headChunks &&
3134
- ((renderState.headChunks = preambleState.headChunks),
3135
- (preambleState.contribution |= 4));
3134
+ (renderState.headChunks = preambleState.headChunks);
3136
3135
  null === renderState.bodyChunks &&
3137
3136
  preambleState.bodyChunks &&
3138
- ((renderState.bodyChunks = preambleState.bodyChunks),
3139
- (preambleState.contribution |= 2));
3137
+ (renderState.bodyChunks = preambleState.bodyChunks);
3140
3138
  }
3141
3139
  function writeBootstrap(destination, renderState) {
3142
3140
  renderState = renderState.bootstrapChunks;
@@ -3158,13 +3156,6 @@
3158
3156
  writeChunk(destination, stringToChunk(id.toString(16)));
3159
3157
  return writeChunkAndReturn(destination, startPendingSuspenseBoundary2);
3160
3158
  }
3161
- function writePreambleContribution(destination, preambleState) {
3162
- preambleState = preambleState.contribution;
3163
- preambleState !== NoContribution &&
3164
- (writeChunk(destination, boundaryPreambleContributionChunkStart),
3165
- writeChunk(destination, stringToChunk("" + preambleState)),
3166
- writeChunk(destination, boundaryPreambleContributionChunkEnd));
3167
- }
3168
3159
  function writeStartSegment(destination, renderState, formatContext, id) {
3169
3160
  switch (formatContext.insertionMode) {
3170
3161
  case ROOT_HTML_MODE:
@@ -5520,18 +5511,7 @@
5520
5511
  renderNode(request, task, props.children, -1);
5521
5512
  task.keyPath = _prevKeyPath3;
5522
5513
  }
5523
- var target$jscomp$0 = segment$jscomp$0.chunks,
5524
- preambleState = task.blockedPreamble;
5525
- if (preambleState) {
5526
- var contribution = preambleState.contribution;
5527
- contribution !== NoContribution &&
5528
- target$jscomp$0.push(
5529
- boundaryPreambleContributionChunkStart,
5530
- stringToChunk("" + contribution),
5531
- boundaryPreambleContributionChunkEnd
5532
- );
5533
- }
5534
- target$jscomp$0.push(endActivityBoundary);
5514
+ segment$jscomp$0.chunks.push(endActivityBoundary);
5535
5515
  segment$jscomp$0.lastPushedText = !1;
5536
5516
  }
5537
5517
  return;
@@ -7172,8 +7152,8 @@
7172
7152
  if (boundary.status === CLIENT_RENDERED) {
7173
7153
  var errorDigest = boundary.errorDigest,
7174
7154
  errorMessage = boundary.errorMessage,
7175
- errorStack = boundary.errorStack,
7176
- errorComponentStack = boundary.errorComponentStack;
7155
+ errorStack = boundary.errorStack;
7156
+ boundary = boundary.errorComponentStack;
7177
7157
  writeChunkAndReturn(destination, startClientRenderedSuspenseBoundary);
7178
7158
  writeChunk(destination, clientRenderedSuspenseBoundaryError1);
7179
7159
  errorDigest &&
@@ -7206,11 +7186,11 @@
7206
7186
  destination,
7207
7187
  clientRenderedSuspenseBoundaryErrorAttrInterstitial
7208
7188
  ));
7209
- errorComponentStack &&
7189
+ boundary &&
7210
7190
  (writeChunk(destination, clientRenderedSuspenseBoundaryError1D),
7211
7191
  writeChunk(
7212
7192
  destination,
7213
- stringToChunk(escapeTextForBrowser(errorComponentStack))
7193
+ stringToChunk(escapeTextForBrowser(boundary))
7214
7194
  ),
7215
7195
  writeChunk(
7216
7196
  destination,
@@ -7218,14 +7198,9 @@
7218
7198
  ));
7219
7199
  writeChunkAndReturn(destination, clientRenderedSuspenseBoundaryError2);
7220
7200
  flushSubtree(request, destination, segment, hoistableState);
7221
- (request = boundary.fallbackPreamble) &&
7222
- writePreambleContribution(destination, request);
7223
- return writeChunkAndReturn(destination, endSuspenseBoundary);
7224
- }
7225
- if (boundary.status !== COMPLETED)
7226
- return (
7227
- boundary.status === PENDING &&
7228
- (boundary.rootSegmentID = request.nextSegmentId++),
7201
+ } else if (boundary.status !== COMPLETED)
7202
+ boundary.status === PENDING &&
7203
+ (boundary.rootSegmentID = request.nextSegmentId++),
7229
7204
  0 < boundary.completedSegments.length &&
7230
7205
  request.partialBoundaries.push(boundary),
7231
7206
  writeStartPendingSuspenseBoundary(
@@ -7240,34 +7215,32 @@
7240
7215
  hoistStylesheetDependency,
7241
7216
  hoistableState
7242
7217
  )),
7243
- flushSubtree(request, destination, segment, hoistableState),
7244
- writeChunkAndReturn(destination, endSuspenseBoundary)
7245
- );
7246
- if (boundary.byteSize > request.progressiveChunkSize)
7247
- return (
7248
- (boundary.rootSegmentID = request.nextSegmentId++),
7218
+ flushSubtree(request, destination, segment, hoistableState);
7219
+ else if (boundary.byteSize > request.progressiveChunkSize)
7220
+ (boundary.rootSegmentID = request.nextSegmentId++),
7249
7221
  request.completedBoundaries.push(boundary),
7250
7222
  writeStartPendingSuspenseBoundary(
7251
7223
  destination,
7252
7224
  request.renderState,
7253
7225
  boundary.rootSegmentID
7254
7226
  ),
7255
- flushSubtree(request, destination, segment, hoistableState),
7256
- writeChunkAndReturn(destination, endSuspenseBoundary)
7257
- );
7258
- hoistableState &&
7259
- ((segment = boundary.contentState),
7260
- segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
7261
- segment.stylesheets.forEach(hoistStylesheetDependency, hoistableState));
7262
- writeChunkAndReturn(destination, startCompletedSuspenseBoundary);
7263
- segment = boundary.completedSegments;
7264
- if (1 !== segment.length)
7265
- throw Error(
7266
- "A previously unvisited boundary must have exactly one root segment. This is a bug in React."
7267
- );
7268
- flushSegment(request, destination, segment[0], hoistableState);
7269
- (request = boundary.contentPreamble) &&
7270
- writePreambleContribution(destination, request);
7227
+ flushSubtree(request, destination, segment, hoistableState);
7228
+ else {
7229
+ hoistableState &&
7230
+ ((segment = boundary.contentState),
7231
+ segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
7232
+ segment.stylesheets.forEach(
7233
+ hoistStylesheetDependency,
7234
+ hoistableState
7235
+ ));
7236
+ writeChunkAndReturn(destination, startCompletedSuspenseBoundary);
7237
+ segment = boundary.completedSegments;
7238
+ if (1 !== segment.length)
7239
+ throw Error(
7240
+ "A previously unvisited boundary must have exactly one root segment. This is a bug in React."
7241
+ );
7242
+ flushSegment(request, destination, segment[0], hoistableState);
7243
+ }
7271
7244
  return writeChunkAndReturn(destination, endSuspenseBoundary);
7272
7245
  }
7273
7246
  function flushSegmentContainer(
@@ -7771,11 +7744,11 @@
7771
7744
  }
7772
7745
  function ensureCorrectIsomorphicReactVersion() {
7773
7746
  var isomorphicReactPackageVersion = React.version;
7774
- if ("19.2.0-canary-c44e4a25-20250409" !== isomorphicReactPackageVersion)
7747
+ if ("19.2.0-canary-1d6c8168-20250411" !== isomorphicReactPackageVersion)
7775
7748
  throw Error(
7776
7749
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7777
7750
  (isomorphicReactPackageVersion +
7778
- "\n - react-dom: 19.2.0-canary-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
7751
+ "\n - react-dom: 19.2.0-canary-1d6c8168-20250411\nLearn more: https://react.dev/warnings/version-mismatch")
7779
7752
  );
7780
7753
  }
7781
7754
  var React = require("react"),
@@ -8882,8 +8855,7 @@
8882
8855
  ),
8883
8856
  importMapScriptEnd = stringToPrecomputedChunk("\x3c/script>");
8884
8857
  var didWarnForNewBooleanPropsWithEmptyValue = {};
8885
- var NoContribution = 0,
8886
- ROOT_HTML_MODE = 0,
8858
+ var ROOT_HTML_MODE = 0,
8887
8859
  HTML_HTML_MODE = 1,
8888
8860
  HTML_MODE = 2,
8889
8861
  HTML_HEAD_MODE = 3,
@@ -8928,6 +8900,12 @@
8928
8900
  formStateMarkerIsMatching = stringToPrecomputedChunk("\x3c!--F!--\x3e"),
8929
8901
  formStateMarkerIsNotMatching = stringToPrecomputedChunk("\x3c!--F--\x3e"),
8930
8902
  styleRegex = /(<\/|<)(s)(tyle)/gi,
8903
+ headPreambleContributionChunk =
8904
+ stringToPrecomputedChunk("\x3c!--head--\x3e"),
8905
+ bodyPreambleContributionChunk =
8906
+ stringToPrecomputedChunk("\x3c!--body--\x3e"),
8907
+ htmlPreambleContributionChunk =
8908
+ stringToPrecomputedChunk("\x3c!--html--\x3e"),
8931
8909
  leadingNewline = stringToPrecomputedChunk("\n"),
8932
8910
  VALID_TAG_REGEX = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,
8933
8911
  validatedTagCache = new Map(),
@@ -8960,9 +8938,6 @@
8960
8938
  stringToPrecomputedChunk(' data-cstck="'),
8961
8939
  clientRenderedSuspenseBoundaryError2 =
8962
8940
  stringToPrecomputedChunk("></template>"),
8963
- boundaryPreambleContributionChunkStart =
8964
- stringToPrecomputedChunk("\x3c!--"),
8965
- boundaryPreambleContributionChunkEnd = stringToPrecomputedChunk("--\x3e"),
8966
8941
  startSegmentHTML = stringToPrecomputedChunk('<div hidden id="'),
8967
8942
  startSegmentHTML2 = stringToPrecomputedChunk('">'),
8968
8943
  endSegmentHTML = stringToPrecomputedChunk("</div>"),
@@ -9447,5 +9422,5 @@
9447
9422
  startWork(request);
9448
9423
  });
9449
9424
  };
9450
- exports.version = "19.2.0-canary-c44e4a25-20250409";
9425
+ exports.version = "19.2.0-canary-1d6c8168-20250411";
9451
9426
  })();