react-markup 0.0.0-experimental-d85f86cf-20250514 → 0.0.0-experimental-4a45ba92-20250515

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.
@@ -534,52 +534,122 @@ function createResumableState(
534
534
  function createPreambleState() {
535
535
  return { htmlChunks: null, headChunks: null, bodyChunks: null };
536
536
  }
537
- function createFormatContext(insertionMode, selectedValue, tagScope) {
537
+ function createFormatContext(
538
+ insertionMode,
539
+ selectedValue,
540
+ tagScope,
541
+ viewTransition
542
+ ) {
538
543
  return {
539
544
  insertionMode: insertionMode,
540
545
  selectedValue: selectedValue,
541
- tagScope: tagScope
546
+ tagScope: tagScope,
547
+ viewTransition: viewTransition
542
548
  };
543
549
  }
544
550
  function getChildFormatContext(parentContext, type, props) {
551
+ var subtreeScope = parentContext.tagScope & -25;
545
552
  switch (type) {
546
553
  case "noscript":
547
- return createFormatContext(2, null, parentContext.tagScope | 1);
554
+ return createFormatContext(2, null, subtreeScope | 1, null);
548
555
  case "select":
549
556
  return createFormatContext(
550
557
  2,
551
558
  null != props.value ? props.value : props.defaultValue,
552
- parentContext.tagScope
559
+ subtreeScope,
560
+ null
553
561
  );
554
562
  case "svg":
555
- return createFormatContext(4, null, parentContext.tagScope);
563
+ return createFormatContext(4, null, subtreeScope, null);
556
564
  case "picture":
557
- return createFormatContext(2, null, parentContext.tagScope | 2);
565
+ return createFormatContext(2, null, subtreeScope | 2, null);
558
566
  case "math":
559
- return createFormatContext(5, null, parentContext.tagScope);
567
+ return createFormatContext(5, null, subtreeScope, null);
560
568
  case "foreignObject":
561
- return createFormatContext(2, null, parentContext.tagScope);
569
+ return createFormatContext(2, null, subtreeScope, null);
562
570
  case "table":
563
- return createFormatContext(6, null, parentContext.tagScope);
571
+ return createFormatContext(6, null, subtreeScope, null);
564
572
  case "thead":
565
573
  case "tbody":
566
574
  case "tfoot":
567
- return createFormatContext(7, null, parentContext.tagScope);
575
+ return createFormatContext(7, null, subtreeScope, null);
568
576
  case "colgroup":
569
- return createFormatContext(9, null, parentContext.tagScope);
577
+ return createFormatContext(9, null, subtreeScope, null);
570
578
  case "tr":
571
- return createFormatContext(8, null, parentContext.tagScope);
579
+ return createFormatContext(8, null, subtreeScope, null);
572
580
  case "head":
573
581
  if (2 > parentContext.insertionMode)
574
- return createFormatContext(3, null, parentContext.tagScope);
582
+ return createFormatContext(3, null, subtreeScope, null);
575
583
  break;
576
584
  case "html":
577
585
  if (0 === parentContext.insertionMode)
578
- return createFormatContext(1, null, parentContext.tagScope);
586
+ return createFormatContext(1, null, subtreeScope, null);
579
587
  }
580
588
  return 6 <= parentContext.insertionMode || 2 > parentContext.insertionMode
581
- ? createFormatContext(2, null, parentContext.tagScope)
582
- : parentContext;
589
+ ? createFormatContext(2, null, subtreeScope, null)
590
+ : null !== parentContext.viewTransition ||
591
+ parentContext.tagScope !== subtreeScope
592
+ ? createFormatContext(
593
+ parentContext.insertionMode,
594
+ parentContext.selectedValue,
595
+ subtreeScope,
596
+ null
597
+ )
598
+ : parentContext;
599
+ }
600
+ function getSuspenseViewTransition(parentViewTransition) {
601
+ return null === parentViewTransition
602
+ ? null
603
+ : {
604
+ update: parentViewTransition.update,
605
+ enter: null,
606
+ exit: null,
607
+ share: parentViewTransition.update,
608
+ name: parentViewTransition.autoName,
609
+ autoName: parentViewTransition.autoName,
610
+ nameIdx: 0
611
+ };
612
+ }
613
+ function getSuspenseFallbackFormatContext(parentContext) {
614
+ return createFormatContext(
615
+ parentContext.insertionMode,
616
+ parentContext.selectedValue,
617
+ parentContext.tagScope | 12,
618
+ getSuspenseViewTransition(parentContext.viewTransition)
619
+ );
620
+ }
621
+ function getSuspenseContentFormatContext(parentContext) {
622
+ return createFormatContext(
623
+ parentContext.insertionMode,
624
+ parentContext.selectedValue,
625
+ parentContext.tagScope | 16,
626
+ getSuspenseViewTransition(parentContext.viewTransition)
627
+ );
628
+ }
629
+ function makeId(resumableState, treeId, localId) {
630
+ resumableState = "\u00ab" + resumableState.idPrefix + "R" + treeId;
631
+ 0 < localId && (resumableState += "H" + localId.toString(32));
632
+ return resumableState + "\u00bb";
633
+ }
634
+ function pushViewTransitionAttributes(target, formatContext) {
635
+ formatContext = formatContext.viewTransition;
636
+ null !== formatContext &&
637
+ ("auto" !== formatContext.name &&
638
+ (pushStringAttribute(
639
+ target,
640
+ "vt-name",
641
+ 0 === formatContext.nameIdx
642
+ ? formatContext.name
643
+ : formatContext.name + "_" + formatContext.nameIdx
644
+ ),
645
+ formatContext.nameIdx++),
646
+ pushStringAttribute(target, "vt-update", formatContext.update),
647
+ null !== formatContext.enter &&
648
+ pushStringAttribute(target, "vt-enter", formatContext.enter),
649
+ null !== formatContext.exit &&
650
+ pushStringAttribute(target, "vt-exit", formatContext.exit),
651
+ null !== formatContext.share &&
652
+ pushStringAttribute(target, "vt-share", formatContext.share));
583
653
  }
584
654
  var styleNameCache = new Map();
585
655
  function pushStyleAttribute(target, style) {
@@ -967,7 +1037,7 @@ var styleRegex = /(<\/|<)(s)(tyle)/gi;
967
1037
  function styleReplacer(match, prefix, s, suffix) {
968
1038
  return "" + prefix + ("s" === s ? "\\73 " : "\\53 ") + suffix;
969
1039
  }
970
- function pushSelfClosing(target, props, tag) {
1040
+ function pushSelfClosing(target, props, tag, formatContext) {
971
1041
  target.push(startChunkForTag(tag));
972
1042
  for (var propKey in props)
973
1043
  if (hasOwnProperty.call(props, propKey)) {
@@ -984,6 +1054,7 @@ function pushSelfClosing(target, props, tag) {
984
1054
  pushAttribute(target, propKey, propValue);
985
1055
  }
986
1056
  }
1057
+ pushViewTransitionAttributes(target, formatContext);
987
1058
  target.push("/>");
988
1059
  return null;
989
1060
  }
@@ -1049,7 +1120,7 @@ function pushScriptImpl(target, props) {
1049
1120
  target.push(endChunkForTag("script"));
1050
1121
  return null;
1051
1122
  }
1052
- function pushStartSingletonElement(target, props, tag) {
1123
+ function pushStartSingletonElement(target, props, tag, formatContext) {
1053
1124
  target.push(startChunkForTag(tag));
1054
1125
  var innerHTML = (tag = null),
1055
1126
  propKey;
@@ -1068,11 +1139,12 @@ function pushStartSingletonElement(target, props, tag) {
1068
1139
  pushAttribute(target, propKey, propValue);
1069
1140
  }
1070
1141
  }
1142
+ pushViewTransitionAttributes(target, formatContext);
1071
1143
  target.push(">");
1072
1144
  pushInnerHTML(target, innerHTML, tag);
1073
1145
  return tag;
1074
1146
  }
1075
- function pushStartGenericElement(target, props, tag) {
1147
+ function pushStartGenericElement(target, props, tag, formatContext) {
1076
1148
  target.push(startChunkForTag(tag));
1077
1149
  var innerHTML = (tag = null),
1078
1150
  propKey;
@@ -1091,6 +1163,7 @@ function pushStartGenericElement(target, props, tag) {
1091
1163
  pushAttribute(target, propKey, propValue);
1092
1164
  }
1093
1165
  }
1166
+ pushViewTransitionAttributes(target, formatContext);
1094
1167
  target.push(">");
1095
1168
  pushInnerHTML(target, innerHTML, tag);
1096
1169
  return "string" === typeof tag
@@ -1117,8 +1190,7 @@ function pushStartInstance$1(
1117
1190
  preambleState,
1118
1191
  hoistableState,
1119
1192
  formatContext,
1120
- textEmbedded,
1121
- isFallback
1193
+ textEmbedded
1122
1194
  ) {
1123
1195
  switch (type) {
1124
1196
  case "div":
@@ -1151,6 +1223,7 @@ function pushStartInstance$1(
1151
1223
  pushAttribute(target$jscomp$0, propKey, propValue);
1152
1224
  }
1153
1225
  }
1226
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1154
1227
  target$jscomp$0.push(">");
1155
1228
  pushInnerHTML(target$jscomp$0, innerHTML, children);
1156
1229
  if ("string" === typeof children) {
@@ -1189,6 +1262,7 @@ function pushStartInstance$1(
1189
1262
  );
1190
1263
  }
1191
1264
  }
1265
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1192
1266
  target$jscomp$0.push(">");
1193
1267
  pushInnerHTML(target$jscomp$0, innerHTML$jscomp$0, children$jscomp$0);
1194
1268
  return children$jscomp$0;
@@ -1278,6 +1352,7 @@ function pushStartInstance$1(
1278
1352
  null === value$jscomp$0 &&
1279
1353
  null !== defaultValue &&
1280
1354
  (value$jscomp$0 = defaultValue);
1355
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1281
1356
  target$jscomp$0.push(">");
1282
1357
  if (null != children$jscomp$2) {
1283
1358
  if (null != value$jscomp$0)
@@ -1372,6 +1447,7 @@ function pushStartInstance$1(
1372
1447
  ? pushAttribute(target$jscomp$0, "value", value$jscomp$1)
1373
1448
  : null !== defaultValue$jscomp$0 &&
1374
1449
  pushAttribute(target$jscomp$0, "value", defaultValue$jscomp$0);
1450
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1375
1451
  target$jscomp$0.push("/>");
1376
1452
  null != formData &&
1377
1453
  formData.forEach(pushAdditionalFormField, target$jscomp$0);
@@ -1430,6 +1506,7 @@ function pushStartInstance$1(
1430
1506
  formTarget$jscomp$0,
1431
1507
  name$jscomp$0
1432
1508
  );
1509
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1433
1510
  target$jscomp$0.push(">");
1434
1511
  null != formData$jscomp$0 &&
1435
1512
  formData$jscomp$0.forEach(pushAdditionalFormField, target$jscomp$0);
@@ -1515,6 +1592,7 @@ function pushStartInstance$1(
1515
1592
  pushAttribute(target$jscomp$0, "method", formMethod$jscomp$1);
1516
1593
  null != formTarget$jscomp$1 &&
1517
1594
  pushAttribute(target$jscomp$0, "target", formTarget$jscomp$1);
1595
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1518
1596
  target$jscomp$0.push(">");
1519
1597
  null !== formActionName &&
1520
1598
  (target$jscomp$0.push('<input type="hidden"'),
@@ -1548,6 +1626,7 @@ function pushStartInstance$1(
1548
1626
  );
1549
1627
  }
1550
1628
  }
1629
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1551
1630
  target$jscomp$0.push(">");
1552
1631
  return null;
1553
1632
  case "object":
@@ -1585,6 +1664,7 @@ function pushStartInstance$1(
1585
1664
  );
1586
1665
  }
1587
1666
  }
1667
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1588
1668
  target$jscomp$0.push(">");
1589
1669
  pushInnerHTML(target$jscomp$0, innerHTML$jscomp$4, children$jscomp$5);
1590
1670
  if ("string" === typeof children$jscomp$5) {
@@ -1593,9 +1673,11 @@ function pushStartInstance$1(
1593
1673
  } else JSCompiler_inline_result$jscomp$2 = children$jscomp$5;
1594
1674
  return JSCompiler_inline_result$jscomp$2;
1595
1675
  case "title":
1676
+ var noscriptTagInScope = formatContext.tagScope & 1,
1677
+ isFallback = formatContext.tagScope & 4;
1596
1678
  if (
1597
1679
  4 === formatContext.insertionMode ||
1598
- formatContext.tagScope & 1 ||
1680
+ noscriptTagInScope ||
1599
1681
  null != props.itemProp
1600
1682
  )
1601
1683
  var JSCompiler_inline_result$jscomp$3 = pushTitleImpl(
@@ -1609,12 +1691,14 @@ function pushStartInstance$1(
1609
1691
  (JSCompiler_inline_result$jscomp$3 = void 0));
1610
1692
  return JSCompiler_inline_result$jscomp$3;
1611
1693
  case "link":
1612
- var rel = props.rel,
1694
+ var noscriptTagInScope$jscomp$0 = formatContext.tagScope & 1,
1695
+ isFallback$jscomp$0 = formatContext.tagScope & 4,
1696
+ rel = props.rel,
1613
1697
  href = props.href,
1614
1698
  precedence = props.precedence;
1615
1699
  if (
1616
1700
  4 === formatContext.insertionMode ||
1617
- formatContext.tagScope & 1 ||
1701
+ noscriptTagInScope$jscomp$0 ||
1618
1702
  null != props.itemProp ||
1619
1703
  "string" !== typeof rel ||
1620
1704
  "string" !== typeof href ||
@@ -1681,12 +1765,13 @@ function pushStartInstance$1(
1681
1765
  props
1682
1766
  ))
1683
1767
  : (textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e"),
1684
- (JSCompiler_inline_result$jscomp$4 = isFallback
1768
+ (JSCompiler_inline_result$jscomp$4 = isFallback$jscomp$0
1685
1769
  ? null
1686
1770
  : pushLinkImpl(renderState.hoistableChunks, props)));
1687
1771
  return JSCompiler_inline_result$jscomp$4;
1688
1772
  case "script":
1689
- var asyncProp = props.async;
1773
+ var noscriptTagInScope$jscomp$1 = formatContext.tagScope & 1,
1774
+ asyncProp = props.async;
1690
1775
  if (
1691
1776
  "string" !== typeof props.src ||
1692
1777
  !props.src ||
@@ -1696,7 +1781,7 @@ function pushStartInstance$1(
1696
1781
  props.onLoad ||
1697
1782
  props.onError ||
1698
1783
  4 === formatContext.insertionMode ||
1699
- formatContext.tagScope & 1 ||
1784
+ noscriptTagInScope$jscomp$1 ||
1700
1785
  null != props.itemProp
1701
1786
  )
1702
1787
  var JSCompiler_inline_result$jscomp$5 = pushScriptImpl(
@@ -1733,11 +1818,12 @@ function pushStartInstance$1(
1733
1818
  }
1734
1819
  return JSCompiler_inline_result$jscomp$5;
1735
1820
  case "style":
1736
- var precedence$jscomp$0 = props.precedence,
1821
+ var noscriptTagInScope$jscomp$2 = formatContext.tagScope & 1,
1822
+ precedence$jscomp$0 = props.precedence,
1737
1823
  href$jscomp$0 = props.href;
1738
1824
  if (
1739
1825
  4 === formatContext.insertionMode ||
1740
- formatContext.tagScope & 1 ||
1826
+ noscriptTagInScope$jscomp$2 ||
1741
1827
  null != props.itemProp ||
1742
1828
  "string" !== typeof precedence$jscomp$0 ||
1743
1829
  "string" !== typeof href$jscomp$0 ||
@@ -1838,25 +1924,43 @@ function pushStartInstance$1(
1838
1924
  }
1839
1925
  return JSCompiler_inline_result$jscomp$6;
1840
1926
  case "meta":
1927
+ var noscriptTagInScope$jscomp$3 = formatContext.tagScope & 1,
1928
+ isFallback$jscomp$1 = formatContext.tagScope & 4;
1841
1929
  if (
1842
1930
  4 === formatContext.insertionMode ||
1843
- formatContext.tagScope & 1 ||
1931
+ noscriptTagInScope$jscomp$3 ||
1844
1932
  null != props.itemProp
1845
1933
  )
1846
1934
  var JSCompiler_inline_result$jscomp$7 = pushSelfClosing(
1847
1935
  target$jscomp$0,
1848
1936
  props,
1849
- "meta"
1937
+ "meta",
1938
+ formatContext
1850
1939
  );
1851
1940
  else
1852
1941
  textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e"),
1853
- (JSCompiler_inline_result$jscomp$7 = isFallback
1942
+ (JSCompiler_inline_result$jscomp$7 = isFallback$jscomp$1
1854
1943
  ? null
1855
1944
  : "string" === typeof props.charSet
1856
- ? pushSelfClosing(renderState.charsetChunks, props, "meta")
1945
+ ? pushSelfClosing(
1946
+ renderState.charsetChunks,
1947
+ props,
1948
+ "meta",
1949
+ formatContext
1950
+ )
1857
1951
  : "viewport" === props.name
1858
- ? pushSelfClosing(renderState.viewportChunks, props, "meta")
1859
- : pushSelfClosing(renderState.hoistableChunks, props, "meta"));
1952
+ ? pushSelfClosing(
1953
+ renderState.viewportChunks,
1954
+ props,
1955
+ "meta",
1956
+ formatContext
1957
+ )
1958
+ : pushSelfClosing(
1959
+ renderState.hoistableChunks,
1960
+ props,
1961
+ "meta",
1962
+ formatContext
1963
+ ));
1860
1964
  return JSCompiler_inline_result$jscomp$7;
1861
1965
  case "listing":
1862
1966
  case "pre":
@@ -1883,6 +1987,7 @@ function pushStartInstance$1(
1883
1987
  );
1884
1988
  }
1885
1989
  }
1990
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1886
1991
  target$jscomp$0.push(">");
1887
1992
  if (null != innerHTML$jscomp$7) {
1888
1993
  if (null != children$jscomp$8)
@@ -1908,17 +2013,18 @@ function pushStartInstance$1(
1908
2013
  target$jscomp$0.push("\n");
1909
2014
  return children$jscomp$8;
1910
2015
  case "img":
1911
- var src = props.src,
2016
+ var pictureOrNoScriptTagInScope = formatContext.tagScope & 3,
2017
+ src = props.src,
1912
2018
  srcSet = props.srcSet;
1913
2019
  if (
1914
2020
  !(
1915
2021
  "lazy" === props.loading ||
1916
2022
  (!src && !srcSet) ||
1917
2023
  ("string" !== typeof src && null != src) ||
1918
- ("string" !== typeof srcSet && null != srcSet)
2024
+ ("string" !== typeof srcSet && null != srcSet) ||
2025
+ "low" === props.fetchPriority ||
2026
+ pictureOrNoScriptTagInScope
1919
2027
  ) &&
1920
- "low" !== props.fetchPriority &&
1921
- !1 === !!(formatContext.tagScope & 3) &&
1922
2028
  ("string" !== typeof src ||
1923
2029
  ":" !== src[4] ||
1924
2030
  ("d" !== src[0] && "D" !== src[0]) ||
@@ -1995,7 +2101,7 @@ function pushStartInstance$1(
1995
2101
  promotablePreloads.set(key$jscomp$0, resource$jscomp$1)));
1996
2102
  }
1997
2103
  }
1998
- return pushSelfClosing(target$jscomp$0, props, "img");
2104
+ return pushSelfClosing(target$jscomp$0, props, "img", formatContext);
1999
2105
  case "base":
2000
2106
  case "area":
2001
2107
  case "br":
@@ -2007,7 +2113,7 @@ function pushStartInstance$1(
2007
2113
  case "source":
2008
2114
  case "track":
2009
2115
  case "wbr":
2010
- return pushSelfClosing(target$jscomp$0, props, type);
2116
+ return pushSelfClosing(target$jscomp$0, props, type, formatContext);
2011
2117
  case "annotation-xml":
2012
2118
  case "color-profile":
2013
2119
  case "font-face":
@@ -2027,13 +2133,15 @@ function pushStartInstance$1(
2027
2133
  var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
2028
2134
  preamble.headChunks,
2029
2135
  props,
2030
- "head"
2136
+ "head",
2137
+ formatContext
2031
2138
  );
2032
2139
  } else
2033
2140
  JSCompiler_inline_result$jscomp$9 = pushStartGenericElement(
2034
2141
  target$jscomp$0,
2035
2142
  props,
2036
- "head"
2143
+ "head",
2144
+ formatContext
2037
2145
  );
2038
2146
  return JSCompiler_inline_result$jscomp$9;
2039
2147
  case "body":
@@ -2046,13 +2154,15 @@ function pushStartInstance$1(
2046
2154
  var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
2047
2155
  preamble$jscomp$0.bodyChunks,
2048
2156
  props,
2049
- "body"
2157
+ "body",
2158
+ formatContext
2050
2159
  );
2051
2160
  } else
2052
2161
  JSCompiler_inline_result$jscomp$10 = pushStartGenericElement(
2053
2162
  target$jscomp$0,
2054
2163
  props,
2055
- "body"
2164
+ "body",
2165
+ formatContext
2056
2166
  );
2057
2167
  return JSCompiler_inline_result$jscomp$10;
2058
2168
  case "html":
@@ -2065,13 +2175,15 @@ function pushStartInstance$1(
2065
2175
  var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
2066
2176
  preamble$jscomp$1.htmlChunks,
2067
2177
  props,
2068
- "html"
2178
+ "html",
2179
+ formatContext
2069
2180
  );
2070
2181
  } else
2071
2182
  JSCompiler_inline_result$jscomp$11 = pushStartGenericElement(
2072
2183
  target$jscomp$0,
2073
2184
  props,
2074
- "html"
2185
+ "html",
2186
+ formatContext
2075
2187
  );
2076
2188
  return JSCompiler_inline_result$jscomp$11;
2077
2189
  default:
@@ -2121,12 +2233,13 @@ function pushStartInstance$1(
2121
2233
  }
2122
2234
  }
2123
2235
  }
2236
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
2124
2237
  target$jscomp$0.push(">");
2125
2238
  pushInnerHTML(target$jscomp$0, innerHTML$jscomp$8, children$jscomp$9);
2126
2239
  return children$jscomp$9;
2127
2240
  }
2128
2241
  }
2129
- return pushStartGenericElement(target$jscomp$0, props, type);
2242
+ return pushStartGenericElement(target$jscomp$0, props, type, formatContext);
2130
2243
  }
2131
2244
  var endTagCache = new Map();
2132
2245
  function endChunkForTag(tag) {
@@ -2810,6 +2923,11 @@ var classComponentUpdater = {
2810
2923
  enqueueForceUpdate: function () {}
2811
2924
  },
2812
2925
  emptyTreeContext = { id: 1, overflow: "" };
2926
+ function getTreeId(context) {
2927
+ var overflow = context.overflow;
2928
+ context = context.id;
2929
+ return (context & ~(1 << (32 - clz32(context) - 1))).toString(32) + overflow;
2930
+ }
2813
2931
  function pushTreeContext(baseContext, totalChildren, index) {
2814
2932
  var baseIdWithLeadingBit = baseContext.id;
2815
2933
  baseContext = baseContext.overflow;
@@ -3103,24 +3221,14 @@ var HooksDispatcher = {
3103
3221
  useTransition: clientHookNotSupported,
3104
3222
  useSyncExternalStore: clientHookNotSupported,
3105
3223
  useId: function () {
3106
- var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
3107
- var overflow = JSCompiler_inline_result.overflow;
3108
- JSCompiler_inline_result = JSCompiler_inline_result.id;
3109
- JSCompiler_inline_result =
3110
- (
3111
- JSCompiler_inline_result &
3112
- ~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
3113
- ).toString(32) + overflow;
3114
- var resumableState = currentResumableState;
3224
+ var treeId = getTreeId(currentlyRenderingTask.treeContext),
3225
+ resumableState = currentResumableState;
3115
3226
  if (null === resumableState)
3116
3227
  throw Error(
3117
3228
  "Invalid hook call. Hooks can only be called inside of the body of a function component."
3118
3229
  );
3119
- overflow = localIdCounter++;
3120
- JSCompiler_inline_result =
3121
- "\u00ab" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
3122
- 0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
3123
- return JSCompiler_inline_result + "\u00bb";
3230
+ var localId = localIdCounter++;
3231
+ return makeId(resumableState, treeId, localId);
3124
3232
  },
3125
3233
  useHostTransitionStatus: function () {
3126
3234
  resolveCurrentlyRenderingComponent();
@@ -3460,8 +3568,7 @@ function createRequest(
3460
3568
  rootFormatContext,
3461
3569
  null,
3462
3570
  emptyTreeContext,
3463
- null,
3464
- !1
3571
+ null
3465
3572
  );
3466
3573
  pushComponentStack(children);
3467
3574
  resumableState.pingedTasks.push(children);
@@ -3510,8 +3617,7 @@ function createRenderTask(
3510
3617
  formatContext,
3511
3618
  context,
3512
3619
  treeContext,
3513
- componentStack,
3514
- isFallback
3620
+ componentStack
3515
3621
  ) {
3516
3622
  request.allPendingTasks++;
3517
3623
  null === blockedBoundary
@@ -3534,8 +3640,7 @@ function createRenderTask(
3534
3640
  context: context,
3535
3641
  treeContext: treeContext,
3536
3642
  componentStack: componentStack,
3537
- thenableState: thenableState,
3538
- isFallback: isFallback
3643
+ thenableState: thenableState
3539
3644
  };
3540
3645
  abortSet.add(task);
3541
3646
  return task;
@@ -3553,8 +3658,7 @@ function createReplayTask(
3553
3658
  formatContext,
3554
3659
  context,
3555
3660
  treeContext,
3556
- componentStack,
3557
- isFallback
3661
+ componentStack
3558
3662
  ) {
3559
3663
  request.allPendingTasks++;
3560
3664
  null === blockedBoundary
@@ -3578,8 +3682,7 @@ function createReplayTask(
3578
3682
  context: context,
3579
3683
  treeContext: treeContext,
3580
3684
  componentStack: componentStack,
3581
- thenableState: thenableState,
3582
- isFallback: isFallback
3685
+ thenableState: thenableState
3583
3686
  };
3584
3687
  abortSet.add(task);
3585
3688
  return task;
@@ -3726,190 +3829,219 @@ function renderElement(request, task, keyPath, type, props, ref) {
3726
3829
  var defaultProps = type.defaultProps;
3727
3830
  if (defaultProps) {
3728
3831
  newProps === props && (newProps = assign({}, newProps, props));
3729
- for (var propName$23 in defaultProps)
3730
- void 0 === newProps[propName$23] &&
3731
- (newProps[propName$23] = defaultProps[propName$23]);
3832
+ for (var propName$24 in defaultProps)
3833
+ void 0 === newProps[propName$24] &&
3834
+ (newProps[propName$24] = defaultProps[propName$24]);
3732
3835
  }
3733
- props = newProps;
3734
- newProps = emptyContextObject;
3735
- defaultProps = type.contextType;
3736
- "object" === typeof defaultProps &&
3737
- null !== defaultProps &&
3738
- (newProps = defaultProps._currentValue2);
3739
- newProps = new type(props, newProps);
3740
- var initialState = void 0 !== newProps.state ? newProps.state : null;
3741
- newProps.updater = classComponentUpdater;
3742
- newProps.props = props;
3743
- newProps.state = initialState;
3744
- defaultProps = { queue: [], replace: !1 };
3745
- newProps._reactInternals = defaultProps;
3746
- var contextType = type.contextType;
3747
- newProps.context =
3748
- "object" === typeof contextType && null !== contextType
3749
- ? contextType._currentValue2
3836
+ var JSCompiler_inline_result = newProps;
3837
+ var context = emptyContextObject,
3838
+ contextType = type.contextType;
3839
+ "object" === typeof contextType &&
3840
+ null !== contextType &&
3841
+ (context = contextType._currentValue2);
3842
+ var JSCompiler_inline_result$jscomp$0 = new type(
3843
+ JSCompiler_inline_result,
3844
+ context
3845
+ );
3846
+ var initialState =
3847
+ void 0 !== JSCompiler_inline_result$jscomp$0.state
3848
+ ? JSCompiler_inline_result$jscomp$0.state
3849
+ : null;
3850
+ JSCompiler_inline_result$jscomp$0.updater = classComponentUpdater;
3851
+ JSCompiler_inline_result$jscomp$0.props = JSCompiler_inline_result;
3852
+ JSCompiler_inline_result$jscomp$0.state = initialState;
3853
+ var internalInstance = { queue: [], replace: !1 };
3854
+ JSCompiler_inline_result$jscomp$0._reactInternals = internalInstance;
3855
+ var contextType$jscomp$0 = type.contextType;
3856
+ JSCompiler_inline_result$jscomp$0.context =
3857
+ "object" === typeof contextType$jscomp$0 &&
3858
+ null !== contextType$jscomp$0
3859
+ ? contextType$jscomp$0._currentValue2
3750
3860
  : emptyContextObject;
3751
- contextType = type.getDerivedStateFromProps;
3752
- "function" === typeof contextType &&
3753
- ((contextType = contextType(props, initialState)),
3754
- (initialState =
3755
- null === contextType || void 0 === contextType
3861
+ var getDerivedStateFromProps = type.getDerivedStateFromProps;
3862
+ if ("function" === typeof getDerivedStateFromProps) {
3863
+ var partialState = getDerivedStateFromProps(
3864
+ JSCompiler_inline_result,
3865
+ initialState
3866
+ );
3867
+ var JSCompiler_inline_result$jscomp$1 =
3868
+ null === partialState || void 0 === partialState
3756
3869
  ? initialState
3757
- : assign({}, initialState, contextType)),
3758
- (newProps.state = initialState));
3870
+ : assign({}, initialState, partialState);
3871
+ JSCompiler_inline_result$jscomp$0.state =
3872
+ JSCompiler_inline_result$jscomp$1;
3873
+ }
3759
3874
  if (
3760
3875
  "function" !== typeof type.getDerivedStateFromProps &&
3761
- "function" !== typeof newProps.getSnapshotBeforeUpdate &&
3762
- ("function" === typeof newProps.UNSAFE_componentWillMount ||
3763
- "function" === typeof newProps.componentWillMount)
3764
- )
3876
+ "function" !==
3877
+ typeof JSCompiler_inline_result$jscomp$0.getSnapshotBeforeUpdate &&
3878
+ ("function" ===
3879
+ typeof JSCompiler_inline_result$jscomp$0.UNSAFE_componentWillMount ||
3880
+ "function" ===
3881
+ typeof JSCompiler_inline_result$jscomp$0.componentWillMount)
3882
+ ) {
3883
+ var oldState = JSCompiler_inline_result$jscomp$0.state;
3884
+ "function" ===
3885
+ typeof JSCompiler_inline_result$jscomp$0.componentWillMount &&
3886
+ JSCompiler_inline_result$jscomp$0.componentWillMount();
3887
+ "function" ===
3888
+ typeof JSCompiler_inline_result$jscomp$0.UNSAFE_componentWillMount &&
3889
+ JSCompiler_inline_result$jscomp$0.UNSAFE_componentWillMount();
3890
+ oldState !== JSCompiler_inline_result$jscomp$0.state &&
3891
+ classComponentUpdater.enqueueReplaceState(
3892
+ JSCompiler_inline_result$jscomp$0,
3893
+ JSCompiler_inline_result$jscomp$0.state,
3894
+ null
3895
+ );
3765
3896
  if (
3766
- ((type = newProps.state),
3767
- "function" === typeof newProps.componentWillMount &&
3768
- newProps.componentWillMount(),
3769
- "function" === typeof newProps.UNSAFE_componentWillMount &&
3770
- newProps.UNSAFE_componentWillMount(),
3771
- type !== newProps.state &&
3772
- classComponentUpdater.enqueueReplaceState(
3773
- newProps,
3774
- newProps.state,
3775
- null
3776
- ),
3777
- null !== defaultProps.queue && 0 < defaultProps.queue.length)
3778
- )
3779
- if (
3780
- ((type = defaultProps.queue),
3781
- (contextType = defaultProps.replace),
3782
- (defaultProps.queue = null),
3783
- (defaultProps.replace = !1),
3784
- contextType && 1 === type.length)
3785
- )
3786
- newProps.state = type[0];
3897
+ null !== internalInstance.queue &&
3898
+ 0 < internalInstance.queue.length
3899
+ ) {
3900
+ var oldQueue = internalInstance.queue,
3901
+ oldReplace = internalInstance.replace;
3902
+ internalInstance.queue = null;
3903
+ internalInstance.replace = !1;
3904
+ if (oldReplace && 1 === oldQueue.length)
3905
+ JSCompiler_inline_result$jscomp$0.state = oldQueue[0];
3787
3906
  else {
3788
- defaultProps = contextType ? type[0] : newProps.state;
3789
- initialState = !0;
3790
3907
  for (
3791
- contextType = contextType ? 1 : 0;
3792
- contextType < type.length;
3793
- contextType++
3794
- )
3795
- (ref = type[contextType]),
3796
- (ref =
3797
- "function" === typeof ref
3798
- ? ref.call(newProps, defaultProps, props, void 0)
3799
- : ref),
3800
- null != ref &&
3801
- (initialState
3802
- ? ((initialState = !1),
3803
- (defaultProps = assign({}, defaultProps, ref)))
3804
- : assign(defaultProps, ref));
3805
- newProps.state = defaultProps;
3908
+ var nextState = oldReplace
3909
+ ? oldQueue[0]
3910
+ : JSCompiler_inline_result$jscomp$0.state,
3911
+ dontMutate = !0,
3912
+ i = oldReplace ? 1 : 0;
3913
+ i < oldQueue.length;
3914
+ i++
3915
+ ) {
3916
+ var partial = oldQueue[i],
3917
+ partialState$jscomp$0 =
3918
+ "function" === typeof partial
3919
+ ? partial.call(
3920
+ JSCompiler_inline_result$jscomp$0,
3921
+ nextState,
3922
+ JSCompiler_inline_result,
3923
+ void 0
3924
+ )
3925
+ : partial;
3926
+ null != partialState$jscomp$0 &&
3927
+ (dontMutate
3928
+ ? ((dontMutate = !1),
3929
+ (nextState = assign({}, nextState, partialState$jscomp$0)))
3930
+ : assign(nextState, partialState$jscomp$0));
3931
+ }
3932
+ JSCompiler_inline_result$jscomp$0.state = nextState;
3806
3933
  }
3807
- else defaultProps.queue = null;
3808
- type = newProps.render();
3934
+ } else internalInstance.queue = null;
3935
+ }
3936
+ var nextChildren = JSCompiler_inline_result$jscomp$0.render();
3809
3937
  if (12 === request.status) throw null;
3810
- props = task.keyPath;
3938
+ var prevKeyPath = task.keyPath;
3811
3939
  task.keyPath = keyPath;
3812
- renderNodeDestructive(request, task, type, -1);
3813
- task.keyPath = props;
3940
+ renderNodeDestructive(request, task, nextChildren, -1);
3941
+ task.keyPath = prevKeyPath;
3814
3942
  } else {
3815
- type = renderWithHooks(request, task, keyPath, type, props, void 0);
3943
+ var value = renderWithHooks(request, task, keyPath, type, props, void 0);
3816
3944
  if (12 === request.status) throw null;
3817
3945
  finishFunctionComponent(
3818
3946
  request,
3819
3947
  task,
3820
3948
  keyPath,
3821
- type,
3949
+ value,
3822
3950
  0 !== localIdCounter,
3823
3951
  actionStateCounter,
3824
3952
  actionStateMatchingIndex
3825
3953
  );
3826
3954
  }
3827
- else if ("string" === typeof type)
3828
- if (((newProps = task.blockedSegment), null === newProps))
3829
- (newProps = props.children),
3830
- (defaultProps = task.formatContext),
3831
- (initialState = task.keyPath),
3832
- (task.formatContext = getChildFormatContext(defaultProps, type, props)),
3833
- (task.keyPath = keyPath),
3834
- renderNode(request, task, newProps, -1),
3835
- (task.formatContext = defaultProps),
3836
- (task.keyPath = initialState);
3837
- else {
3838
- defaultProps = newProps.chunks;
3839
- initialState = request.resumableState;
3840
- ref = request.renderState;
3841
- propName$23 = task.blockedPreamble;
3842
- propName = task.hoistableState;
3843
- var formatContext = task.formatContext,
3844
- textEmbedded = newProps.lastPushedText,
3845
- isFallback = task.isFallback;
3846
- for (contextType in props)
3847
- if (hasOwnProperty.call(props, contextType)) {
3848
- var propValue = props[contextType];
3849
- if ("ref" === contextType && null != propValue)
3955
+ else if ("string" === typeof type) {
3956
+ var segment = task.blockedSegment;
3957
+ if (null === segment) {
3958
+ var children = props.children,
3959
+ prevContext = task.formatContext,
3960
+ prevKeyPath$jscomp$0 = task.keyPath;
3961
+ task.formatContext = getChildFormatContext(prevContext, type, props);
3962
+ task.keyPath = keyPath;
3963
+ renderNode(request, task, children, -1);
3964
+ task.formatContext = prevContext;
3965
+ task.keyPath = prevKeyPath$jscomp$0;
3966
+ } else {
3967
+ var target = segment.chunks,
3968
+ resumableState = request.resumableState,
3969
+ renderState = request.renderState,
3970
+ preambleState = task.blockedPreamble,
3971
+ hoistableState = task.hoistableState,
3972
+ formatContext = task.formatContext,
3973
+ textEmbedded = segment.lastPushedText,
3974
+ propKey;
3975
+ for (propKey in props)
3976
+ if (hasOwnProperty.call(props, propKey)) {
3977
+ var propValue = props[propKey];
3978
+ if ("ref" === propKey && null != propValue)
3850
3979
  throw Error(
3851
3980
  "Cannot pass ref in renderToHTML because they will never be hydrated."
3852
3981
  );
3853
3982
  if ("function" === typeof propValue)
3854
3983
  throw Error(
3855
3984
  "Cannot pass event handlers (" +
3856
- contextType +
3985
+ propKey +
3857
3986
  ") in renderToHTML because the HTML will never be hydrated so they can never get called."
3858
3987
  );
3859
3988
  }
3860
- contextType = pushStartInstance$1(
3861
- defaultProps,
3989
+ var JSCompiler_inline_result$jscomp$2 = pushStartInstance$1(
3990
+ target,
3862
3991
  type,
3863
3992
  props,
3864
- initialState,
3865
- ref,
3866
- propName$23,
3867
- propName,
3993
+ resumableState,
3994
+ renderState,
3995
+ preambleState,
3996
+ hoistableState,
3868
3997
  formatContext,
3869
- textEmbedded,
3870
- isFallback
3998
+ textEmbedded
3871
3999
  );
3872
- newProps.lastPushedText = !1;
3873
- defaultProps = task.formatContext;
3874
- initialState = task.keyPath;
4000
+ segment.lastPushedText = !1;
4001
+ var prevContext$22 = task.formatContext,
4002
+ prevKeyPath$23 = task.keyPath;
3875
4003
  task.keyPath = keyPath;
3876
- 3 ===
3877
- (task.formatContext = getChildFormatContext(defaultProps, type, props))
3878
- .insertionMode
3879
- ? ((keyPath = createPendingSegment(
3880
- request,
3881
- 0,
3882
- null,
3883
- task.formatContext,
3884
- !1,
3885
- !1
3886
- )),
3887
- newProps.preambleChildren.push(keyPath),
3888
- (keyPath = createRenderTask(
3889
- request,
3890
- null,
3891
- contextType,
3892
- -1,
3893
- task.blockedBoundary,
3894
- keyPath,
3895
- task.blockedPreamble,
3896
- task.hoistableState,
3897
- request.abortableTasks,
3898
- task.keyPath,
3899
- task.formatContext,
3900
- task.context,
3901
- task.treeContext,
3902
- task.componentStack,
3903
- task.isFallback
3904
- )),
3905
- pushComponentStack(keyPath),
3906
- request.pingedTasks.push(keyPath))
3907
- : renderNode(request, task, contextType, -1);
3908
- task.formatContext = defaultProps;
3909
- task.keyPath = initialState;
4004
+ if (
4005
+ 3 ===
4006
+ (task.formatContext = getChildFormatContext(
4007
+ prevContext$22,
4008
+ type,
4009
+ props
4010
+ )).insertionMode
4011
+ ) {
4012
+ var preambleSegment = createPendingSegment(
4013
+ request,
4014
+ 0,
4015
+ null,
4016
+ task.formatContext,
4017
+ !1,
4018
+ !1
4019
+ );
4020
+ segment.preambleChildren.push(preambleSegment);
4021
+ var preambleTask = createRenderTask(
4022
+ request,
4023
+ null,
4024
+ JSCompiler_inline_result$jscomp$2,
4025
+ -1,
4026
+ task.blockedBoundary,
4027
+ preambleSegment,
4028
+ task.blockedPreamble,
4029
+ task.hoistableState,
4030
+ request.abortableTasks,
4031
+ task.keyPath,
4032
+ task.formatContext,
4033
+ task.context,
4034
+ task.treeContext,
4035
+ task.componentStack
4036
+ );
4037
+ pushComponentStack(preambleTask);
4038
+ request.pingedTasks.push(preambleTask);
4039
+ } else renderNode(request, task, JSCompiler_inline_result$jscomp$2, -1);
4040
+ task.formatContext = prevContext$22;
4041
+ task.keyPath = prevKeyPath$23;
3910
4042
  a: {
3911
- task = newProps.chunks;
3912
- request = request.resumableState;
4043
+ var target$jscomp$0 = segment.chunks,
4044
+ resumableState$jscomp$0 = request.resumableState;
3913
4045
  switch (type) {
3914
4046
  case "title":
3915
4047
  case "style":
@@ -3931,85 +4063,106 @@ function renderElement(request, task, keyPath, type, props, ref) {
3931
4063
  case "wbr":
3932
4064
  break a;
3933
4065
  case "body":
3934
- if (1 >= defaultProps.insertionMode) {
3935
- request.hasBody = !0;
4066
+ if (1 >= prevContext$22.insertionMode) {
4067
+ resumableState$jscomp$0.hasBody = !0;
3936
4068
  break a;
3937
4069
  }
3938
4070
  break;
3939
4071
  case "html":
3940
- if (0 === defaultProps.insertionMode) {
3941
- request.hasHtml = !0;
4072
+ if (0 === prevContext$22.insertionMode) {
4073
+ resumableState$jscomp$0.hasHtml = !0;
3942
4074
  break a;
3943
4075
  }
3944
4076
  break;
3945
4077
  case "head":
3946
- if (1 >= defaultProps.insertionMode) break a;
4078
+ if (1 >= prevContext$22.insertionMode) break a;
3947
4079
  }
3948
- task.push(endChunkForTag(type));
4080
+ target$jscomp$0.push(endChunkForTag(type));
3949
4081
  }
3950
- newProps.lastPushedText = !1;
4082
+ segment.lastPushedText = !1;
3951
4083
  }
3952
- else {
4084
+ } else {
3953
4085
  switch (type) {
3954
4086
  case REACT_LEGACY_HIDDEN_TYPE:
3955
4087
  case REACT_STRICT_MODE_TYPE:
3956
4088
  case REACT_PROFILER_TYPE:
3957
4089
  case REACT_FRAGMENT_TYPE:
3958
- type = task.keyPath;
4090
+ var prevKeyPath$jscomp$1 = task.keyPath;
3959
4091
  task.keyPath = keyPath;
3960
4092
  renderNodeDestructive(request, task, props.children, -1);
3961
- task.keyPath = type;
4093
+ task.keyPath = prevKeyPath$jscomp$1;
3962
4094
  return;
3963
4095
  case REACT_ACTIVITY_TYPE:
3964
- type = task.blockedSegment;
3965
- null === type
3966
- ? "hidden" !== props.mode &&
3967
- ((type = task.keyPath),
3968
- (task.keyPath = keyPath),
3969
- renderNode(request, task, props.children, -1),
3970
- (task.keyPath = type))
3971
- : "hidden" !== props.mode &&
3972
- ((type.lastPushedText = !1),
3973
- (newProps = task.keyPath),
3974
- (task.keyPath = keyPath),
3975
- renderNode(request, task, props.children, -1),
3976
- (task.keyPath = newProps),
3977
- (type.lastPushedText = !1));
4096
+ var segment$jscomp$0 = task.blockedSegment;
4097
+ if (null === segment$jscomp$0) {
4098
+ if ("hidden" !== props.mode) {
4099
+ var prevKeyPath$jscomp$2 = task.keyPath;
4100
+ task.keyPath = keyPath;
4101
+ renderNode(request, task, props.children, -1);
4102
+ task.keyPath = prevKeyPath$jscomp$2;
4103
+ }
4104
+ } else if ("hidden" !== props.mode) {
4105
+ segment$jscomp$0.lastPushedText = !1;
4106
+ var prevKeyPath$26 = task.keyPath;
4107
+ task.keyPath = keyPath;
4108
+ renderNode(request, task, props.children, -1);
4109
+ task.keyPath = prevKeyPath$26;
4110
+ segment$jscomp$0.lastPushedText = !1;
4111
+ }
3978
4112
  return;
3979
4113
  case REACT_SUSPENSE_LIST_TYPE:
3980
- type = task.keyPath;
4114
+ var prevKeyPath$27 = task.keyPath;
3981
4115
  task.keyPath = keyPath;
3982
4116
  renderNodeDestructive(request, task, props.children, -1);
3983
- task.keyPath = type;
4117
+ task.keyPath = prevKeyPath$27;
3984
4118
  return;
3985
4119
  case REACT_VIEW_TRANSITION_TYPE:
3986
- type = task.keyPath;
4120
+ var prevContext$jscomp$0 = task.formatContext,
4121
+ prevKeyPath$jscomp$3 = task.keyPath;
4122
+ var resumableState$jscomp$1 = request.resumableState;
4123
+ if (null == props.name || "auto" === props.name) {
4124
+ var treeId = getTreeId(task.treeContext);
4125
+ makeId(resumableState$jscomp$1, treeId, 0);
4126
+ }
4127
+ task.formatContext = prevContext$jscomp$0;
3987
4128
  task.keyPath = keyPath;
3988
- renderNodeDestructive(request, task, props.children, -1);
3989
- task.keyPath = type;
4129
+ if (null != props.name && "auto" !== props.name)
4130
+ renderNodeDestructive(request, task, props.children, -1);
4131
+ else {
4132
+ var prevTreeContext = task.treeContext;
4133
+ task.treeContext = pushTreeContext(prevTreeContext, 1, 0);
4134
+ renderNode(request, task, props.children, -1);
4135
+ task.treeContext = prevTreeContext;
4136
+ }
4137
+ task.formatContext = prevContext$jscomp$0;
4138
+ task.keyPath = prevKeyPath$jscomp$3;
3990
4139
  return;
3991
4140
  case REACT_SCOPE_TYPE:
3992
4141
  throw Error("ReactDOMServer does not yet support scope components.");
3993
4142
  case REACT_SUSPENSE_TYPE:
3994
4143
  a: if (null !== task.replay) {
3995
- type = task.keyPath;
4144
+ var prevKeyPath$16 = task.keyPath,
4145
+ prevContext$17 = task.formatContext;
3996
4146
  task.keyPath = keyPath;
3997
- keyPath = props.children;
4147
+ task.formatContext = getSuspenseContentFormatContext(prevContext$17);
4148
+ var content$18 = props.children;
3998
4149
  try {
3999
- renderNode(request, task, keyPath, -1);
4150
+ renderNode(request, task, content$18, -1);
4000
4151
  } finally {
4001
- task.keyPath = type;
4152
+ (task.keyPath = prevKeyPath$16),
4153
+ (task.formatContext = prevContext$17);
4002
4154
  }
4003
4155
  } else {
4004
- type = task.keyPath;
4005
- isFallback = task.blockedBoundary;
4006
- contextType = task.blockedPreamble;
4007
- propValue = task.hoistableState;
4008
- ref = task.blockedSegment;
4009
- propName$23 = props.fallback;
4010
- props = props.children;
4011
- var fallbackAbortSet = new Set();
4012
- propName =
4156
+ var prevKeyPath$jscomp$4 = task.keyPath,
4157
+ prevContext$jscomp$1 = task.formatContext,
4158
+ parentBoundary = task.blockedBoundary,
4159
+ parentPreamble = task.blockedPreamble,
4160
+ parentHoistableState = task.hoistableState,
4161
+ parentSegment = task.blockedSegment,
4162
+ fallback = props.fallback,
4163
+ content = props.children,
4164
+ fallbackAbortSet = new Set();
4165
+ var newBoundary =
4013
4166
  2 > task.formatContext.insertionMode
4014
4167
  ? createSuspenseBoundary(
4015
4168
  request,
@@ -4019,18 +4172,18 @@ function renderElement(request, task, keyPath, type, props, ref) {
4019
4172
  )
4020
4173
  : createSuspenseBoundary(request, fallbackAbortSet, null, null);
4021
4174
  null !== request.trackedPostpones &&
4022
- (propName.trackedContentKeyPath = keyPath);
4023
- formatContext = createPendingSegment(
4175
+ (newBoundary.trackedContentKeyPath = keyPath);
4176
+ var boundarySegment = createPendingSegment(
4024
4177
  request,
4025
- ref.chunks.length,
4026
- propName,
4178
+ parentSegment.chunks.length,
4179
+ newBoundary,
4027
4180
  task.formatContext,
4028
4181
  !1,
4029
4182
  !1
4030
4183
  );
4031
- ref.children.push(formatContext);
4032
- ref.lastPushedText = !1;
4033
- textEmbedded = createPendingSegment(
4184
+ parentSegment.children.push(boundarySegment);
4185
+ parentSegment.lastPushedText = !1;
4186
+ var contentRootSegment = createPendingSegment(
4034
4187
  request,
4035
4188
  0,
4036
4189
  null,
@@ -4038,113 +4191,125 @@ function renderElement(request, task, keyPath, type, props, ref) {
4038
4191
  !1,
4039
4192
  !1
4040
4193
  );
4041
- textEmbedded.parentFlushed = !0;
4194
+ contentRootSegment.parentFlushed = !0;
4042
4195
  if (null !== request.trackedPostpones) {
4043
- newProps = [keyPath[0], "Suspense Fallback", keyPath[2]];
4044
- defaultProps = [newProps[1], newProps[2], [], null];
4045
- request.trackedPostpones.workingMap.set(newProps, defaultProps);
4046
- propName.trackedFallbackNode = defaultProps;
4047
- task.blockedSegment = formatContext;
4048
- task.blockedPreamble = propName.fallbackPreamble;
4049
- task.keyPath = newProps;
4050
- formatContext.status = 6;
4196
+ var fallbackKeyPath = [keyPath[0], "Suspense Fallback", keyPath[2]],
4197
+ fallbackReplayNode = [
4198
+ fallbackKeyPath[1],
4199
+ fallbackKeyPath[2],
4200
+ [],
4201
+ null
4202
+ ];
4203
+ request.trackedPostpones.workingMap.set(
4204
+ fallbackKeyPath,
4205
+ fallbackReplayNode
4206
+ );
4207
+ newBoundary.trackedFallbackNode = fallbackReplayNode;
4208
+ task.blockedSegment = boundarySegment;
4209
+ task.blockedPreamble = newBoundary.fallbackPreamble;
4210
+ task.keyPath = fallbackKeyPath;
4211
+ task.formatContext =
4212
+ getSuspenseFallbackFormatContext(prevContext$jscomp$1);
4213
+ boundarySegment.status = 6;
4051
4214
  try {
4052
- renderNode(request, task, propName$23, -1),
4053
- (formatContext.status = 1);
4215
+ renderNode(request, task, fallback, -1),
4216
+ (boundarySegment.status = 1);
4054
4217
  } catch (thrownValue) {
4055
4218
  throw (
4056
- ((formatContext.status = 12 === request.status ? 3 : 4),
4219
+ ((boundarySegment.status = 12 === request.status ? 3 : 4),
4057
4220
  thrownValue)
4058
4221
  );
4059
4222
  } finally {
4060
- (task.blockedSegment = ref),
4061
- (task.blockedPreamble = contextType),
4062
- (task.keyPath = type);
4223
+ (task.blockedSegment = parentSegment),
4224
+ (task.blockedPreamble = parentPreamble),
4225
+ (task.keyPath = prevKeyPath$jscomp$4),
4226
+ (task.formatContext = prevContext$jscomp$1);
4063
4227
  }
4064
- task = createRenderTask(
4228
+ var suspendedPrimaryTask = createRenderTask(
4065
4229
  request,
4066
4230
  null,
4067
- props,
4231
+ content,
4068
4232
  -1,
4069
- propName,
4070
- textEmbedded,
4071
- propName.contentPreamble,
4072
- propName.contentState,
4233
+ newBoundary,
4234
+ contentRootSegment,
4235
+ newBoundary.contentPreamble,
4236
+ newBoundary.contentState,
4073
4237
  task.abortSet,
4074
4238
  keyPath,
4075
- task.formatContext,
4239
+ getSuspenseContentFormatContext(task.formatContext),
4076
4240
  task.context,
4077
4241
  task.treeContext,
4078
- task.componentStack,
4079
- task.isFallback
4242
+ task.componentStack
4080
4243
  );
4081
- pushComponentStack(task);
4082
- request.pingedTasks.push(task);
4244
+ pushComponentStack(suspendedPrimaryTask);
4245
+ request.pingedTasks.push(suspendedPrimaryTask);
4083
4246
  } else {
4084
- task.blockedBoundary = propName;
4085
- task.blockedPreamble = propName.contentPreamble;
4086
- task.hoistableState = propName.contentState;
4087
- task.blockedSegment = textEmbedded;
4247
+ task.blockedBoundary = newBoundary;
4248
+ task.blockedPreamble = newBoundary.contentPreamble;
4249
+ task.hoistableState = newBoundary.contentState;
4250
+ task.blockedSegment = contentRootSegment;
4088
4251
  task.keyPath = keyPath;
4089
- textEmbedded.status = 6;
4252
+ task.formatContext =
4253
+ getSuspenseContentFormatContext(prevContext$jscomp$1);
4254
+ contentRootSegment.status = 6;
4090
4255
  try {
4091
4256
  if (
4092
- (renderNode(request, task, props, -1),
4093
- (textEmbedded.status = 1),
4094
- queueCompletedSegment(propName, textEmbedded),
4095
- 0 === propName.pendingTasks &&
4096
- 0 === propName.status &&
4097
- ((propName.status = 1), !(500 < propName.byteSize)))
4257
+ (renderNode(request, task, content, -1),
4258
+ (contentRootSegment.status = 1),
4259
+ queueCompletedSegment(newBoundary, contentRootSegment),
4260
+ 0 === newBoundary.pendingTasks &&
4261
+ 0 === newBoundary.status &&
4262
+ ((newBoundary.status = 1), !(500 < newBoundary.byteSize)))
4098
4263
  ) {
4099
4264
  0 === request.pendingRootTasks &&
4100
4265
  task.blockedPreamble &&
4101
4266
  preparePreamble(request);
4102
4267
  break a;
4103
4268
  }
4104
- } catch (thrownValue$18) {
4105
- (propName.status = 4),
4106
- 12 === request.status
4107
- ? ((textEmbedded.status = 3), (newProps = request.fatalError))
4108
- : ((textEmbedded.status = 4), (newProps = thrownValue$18)),
4109
- (defaultProps = getThrownInfo(task.componentStack)),
4110
- "object" === typeof newProps &&
4111
- null !== newProps &&
4112
- newProps.$$typeof === REACT_POSTPONE_TYPE
4113
- ? (logPostpone(request, newProps.message, defaultProps),
4114
- (initialState = "POSTPONE"))
4115
- : (initialState = logRecoverableError(
4116
- request,
4117
- newProps,
4118
- defaultProps
4119
- )),
4120
- (propName.errorDigest = initialState),
4121
- untrackBoundary(request, propName);
4269
+ } catch (thrownValue$19) {
4270
+ newBoundary.status = 4;
4271
+ if (12 === request.status) {
4272
+ contentRootSegment.status = 3;
4273
+ var error = request.fatalError;
4274
+ } else (contentRootSegment.status = 4), (error = thrownValue$19);
4275
+ var thrownInfo = getThrownInfo(task.componentStack);
4276
+ if (
4277
+ "object" === typeof error &&
4278
+ null !== error &&
4279
+ error.$$typeof === REACT_POSTPONE_TYPE
4280
+ ) {
4281
+ logPostpone(request, error.message, thrownInfo);
4282
+ var errorDigest = "POSTPONE";
4283
+ } else
4284
+ errorDigest = logRecoverableError(request, error, thrownInfo);
4285
+ newBoundary.errorDigest = errorDigest;
4286
+ untrackBoundary(request, newBoundary);
4122
4287
  } finally {
4123
- (task.blockedBoundary = isFallback),
4124
- (task.blockedPreamble = contextType),
4125
- (task.hoistableState = propValue),
4126
- (task.blockedSegment = ref),
4127
- (task.keyPath = type);
4288
+ (task.blockedBoundary = parentBoundary),
4289
+ (task.blockedPreamble = parentPreamble),
4290
+ (task.hoistableState = parentHoistableState),
4291
+ (task.blockedSegment = parentSegment),
4292
+ (task.keyPath = prevKeyPath$jscomp$4),
4293
+ (task.formatContext = prevContext$jscomp$1);
4128
4294
  }
4129
- task = createRenderTask(
4295
+ var suspendedFallbackTask = createRenderTask(
4130
4296
  request,
4131
4297
  null,
4132
- propName$23,
4298
+ fallback,
4133
4299
  -1,
4134
- isFallback,
4135
- formatContext,
4136
- propName.fallbackPreamble,
4137
- propName.fallbackState,
4300
+ parentBoundary,
4301
+ boundarySegment,
4302
+ newBoundary.fallbackPreamble,
4303
+ newBoundary.fallbackState,
4138
4304
  fallbackAbortSet,
4139
4305
  [keyPath[0], "Suspense Fallback", keyPath[2]],
4140
- task.formatContext,
4306
+ getSuspenseFallbackFormatContext(task.formatContext),
4141
4307
  task.context,
4142
4308
  task.treeContext,
4143
- task.componentStack,
4144
- !0
4309
+ task.componentStack
4145
4310
  );
4146
- pushComponentStack(task);
4147
- request.pingedTasks.push(task);
4311
+ pushComponentStack(suspendedFallbackTask);
4312
+ request.pingedTasks.push(suspendedFallbackTask);
4148
4313
  }
4149
4314
  }
4150
4315
  return;
@@ -4152,24 +4317,24 @@ function renderElement(request, task, keyPath, type, props, ref) {
4152
4317
  if ("object" === typeof type && null !== type)
4153
4318
  switch (type.$$typeof) {
4154
4319
  case REACT_FORWARD_REF_TYPE:
4155
- if ("ref" in props)
4156
- for (formatContext in ((newProps = {}), props))
4157
- "ref" !== formatContext &&
4158
- (newProps[formatContext] = props[formatContext]);
4159
- else newProps = props;
4160
- type = renderWithHooks(
4320
+ if ("ref" in props) {
4321
+ var propsWithoutRef = {};
4322
+ for (var key in props)
4323
+ "ref" !== key && (propsWithoutRef[key] = props[key]);
4324
+ } else propsWithoutRef = props;
4325
+ var children$jscomp$0 = renderWithHooks(
4161
4326
  request,
4162
4327
  task,
4163
4328
  keyPath,
4164
4329
  type.render,
4165
- newProps,
4330
+ propsWithoutRef,
4166
4331
  ref
4167
4332
  );
4168
4333
  finishFunctionComponent(
4169
4334
  request,
4170
4335
  task,
4171
4336
  keyPath,
4172
- type,
4337
+ children$jscomp$0,
4173
4338
  0 !== localIdCounter,
4174
4339
  actionStateCounter,
4175
4340
  actionStateMatchingIndex
@@ -4180,45 +4345,47 @@ function renderElement(request, task, keyPath, type, props, ref) {
4180
4345
  return;
4181
4346
  case REACT_PROVIDER_TYPE:
4182
4347
  case REACT_CONTEXT_TYPE:
4183
- defaultProps = props.children;
4184
- newProps = task.keyPath;
4185
- props = props.value;
4186
- initialState = type._currentValue2;
4187
- type._currentValue2 = props;
4188
- contextType = currentActiveSnapshot;
4189
- currentActiveSnapshot = type = {
4190
- parent: contextType,
4191
- depth: null === contextType ? 0 : contextType.depth + 1,
4192
- context: type,
4193
- parentValue: initialState,
4194
- value: props
4195
- };
4196
- task.context = type;
4348
+ var children$jscomp$1 = props.children,
4349
+ prevKeyPath$jscomp$5 = task.keyPath,
4350
+ nextValue = props.value;
4351
+ var prevValue = type._currentValue2;
4352
+ type._currentValue2 = nextValue;
4353
+ var prevNode = currentActiveSnapshot,
4354
+ newNode = {
4355
+ parent: prevNode,
4356
+ depth: null === prevNode ? 0 : prevNode.depth + 1,
4357
+ context: type,
4358
+ parentValue: prevValue,
4359
+ value: nextValue
4360
+ };
4361
+ currentActiveSnapshot = newNode;
4362
+ task.context = newNode;
4197
4363
  task.keyPath = keyPath;
4198
- renderNodeDestructive(request, task, defaultProps, -1);
4199
- request = currentActiveSnapshot;
4200
- if (null === request)
4364
+ renderNodeDestructive(request, task, children$jscomp$1, -1);
4365
+ var prevSnapshot = currentActiveSnapshot;
4366
+ if (null === prevSnapshot)
4201
4367
  throw Error(
4202
4368
  "Tried to pop a Context at the root of the app. This is a bug in React."
4203
4369
  );
4204
- request.context._currentValue2 = request.parentValue;
4205
- request = currentActiveSnapshot = request.parent;
4206
- task.context = request;
4207
- task.keyPath = newProps;
4370
+ prevSnapshot.context._currentValue2 = prevSnapshot.parentValue;
4371
+ var JSCompiler_inline_result$jscomp$3 = (currentActiveSnapshot =
4372
+ prevSnapshot.parent);
4373
+ task.context = JSCompiler_inline_result$jscomp$3;
4374
+ task.keyPath = prevKeyPath$jscomp$5;
4208
4375
  return;
4209
4376
  case REACT_CONSUMER_TYPE:
4210
- props = props.children;
4211
- type = props(type._context._currentValue2);
4212
- props = task.keyPath;
4377
+ var render = props.children,
4378
+ newChildren = render(type._context._currentValue2),
4379
+ prevKeyPath$jscomp$6 = task.keyPath;
4213
4380
  task.keyPath = keyPath;
4214
- renderNodeDestructive(request, task, type, -1);
4215
- task.keyPath = props;
4381
+ renderNodeDestructive(request, task, newChildren, -1);
4382
+ task.keyPath = prevKeyPath$jscomp$6;
4216
4383
  return;
4217
4384
  case REACT_LAZY_TYPE:
4218
- newProps = type._init;
4219
- type = newProps(type._payload);
4385
+ var init = type._init;
4386
+ var Component = init(type._payload);
4220
4387
  if (12 === request.status) throw null;
4221
- renderElement(request, task, keyPath, type, props, ref);
4388
+ renderElement(request, task, keyPath, Component, props, ref);
4222
4389
  return;
4223
4390
  }
4224
4391
  throw Error(
@@ -4354,6 +4521,7 @@ function retryNode(request, task) {
4354
4521
  node$jscomp$0 =
4355
4522
  null === node$jscomp$0[4] ? null : node$jscomp$0[4][3];
4356
4523
  var prevKeyPath = task.keyPath,
4524
+ prevContext = task.formatContext,
4357
4525
  previousReplaySet = task.replay,
4358
4526
  parentBoundary = task.blockedBoundary,
4359
4527
  parentHoistableState = task.hoistableState,
@@ -4379,6 +4547,8 @@ function retryNode(request, task) {
4379
4547
  task.blockedBoundary = props;
4380
4548
  task.hoistableState = props.contentState;
4381
4549
  task.keyPath = key;
4550
+ task.formatContext =
4551
+ getSuspenseContentFormatContext(prevContext);
4382
4552
  task.replay = {
4383
4553
  nodes: replay,
4384
4554
  slots: name,
@@ -4419,7 +4589,8 @@ function retryNode(request, task) {
4419
4589
  (task.blockedBoundary = parentBoundary),
4420
4590
  (task.hoistableState = parentHoistableState),
4421
4591
  (task.replay = previousReplaySet),
4422
- (task.keyPath = prevKeyPath);
4592
+ (task.keyPath = prevKeyPath),
4593
+ (task.formatContext = prevContext);
4423
4594
  }
4424
4595
  task = createReplayTask(
4425
4596
  request,
@@ -4435,11 +4606,10 @@ function retryNode(request, task) {
4435
4606
  props.fallbackState,
4436
4607
  fallbackAbortSet,
4437
4608
  [key[0], "Suspense Fallback", key[2]],
4438
- task.formatContext,
4609
+ getSuspenseFallbackFormatContext(task.formatContext),
4439
4610
  task.context,
4440
4611
  task.treeContext,
4441
- task.componentStack,
4442
- !0
4612
+ task.componentStack
4443
4613
  );
4444
4614
  pushComponentStack(task);
4445
4615
  request.pingedTasks.push(task);
@@ -4654,9 +4824,9 @@ function trackPostpone(request, trackedPostpones, task, segment) {
4654
4824
  addToReplayParent(segment, boundaryKeyPath[0], trackedPostpones);
4655
4825
  return;
4656
4826
  }
4657
- var boundaryNode$35 = trackedPostpones.workingMap.get(boundaryKeyPath);
4658
- void 0 === boundaryNode$35
4659
- ? ((boundaryNode$35 = [
4827
+ var boundaryNode$36 = trackedPostpones.workingMap.get(boundaryKeyPath);
4828
+ void 0 === boundaryNode$36
4829
+ ? ((boundaryNode$36 = [
4660
4830
  boundaryKeyPath[1],
4661
4831
  boundaryKeyPath[2],
4662
4832
  children,
@@ -4664,13 +4834,13 @@ function trackPostpone(request, trackedPostpones, task, segment) {
4664
4834
  fallbackReplayNode,
4665
4835
  boundary.rootSegmentID
4666
4836
  ]),
4667
- trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$35),
4837
+ trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$36),
4668
4838
  addToReplayParent(
4669
- boundaryNode$35,
4839
+ boundaryNode$36,
4670
4840
  boundaryKeyPath[0],
4671
4841
  trackedPostpones
4672
4842
  ))
4673
- : ((boundaryKeyPath = boundaryNode$35),
4843
+ : ((boundaryKeyPath = boundaryNode$36),
4674
4844
  (boundaryKeyPath[4] = fallbackReplayNode),
4675
4845
  (boundaryKeyPath[5] = boundary.rootSegmentID));
4676
4846
  }
@@ -4739,8 +4909,7 @@ function spawnNewSuspendedReplayTask(request, task, thenableState) {
4739
4909
  task.formatContext,
4740
4910
  task.context,
4741
4911
  task.treeContext,
4742
- task.componentStack,
4743
- task.isFallback
4912
+ task.componentStack
4744
4913
  );
4745
4914
  }
4746
4915
  function spawnNewSuspendedRenderTask(request, task, thenableState) {
@@ -4769,8 +4938,7 @@ function spawnNewSuspendedRenderTask(request, task, thenableState) {
4769
4938
  task.formatContext,
4770
4939
  task.context,
4771
4940
  task.treeContext,
4772
- task.componentStack,
4773
- task.isFallback
4941
+ task.componentStack
4774
4942
  );
4775
4943
  }
4776
4944
  function renderNode(request, task, node, childIndex) {
@@ -4824,15 +4992,15 @@ function renderNode(request, task, node, childIndex) {
4824
4992
  chunkLength = segment.chunks.length;
4825
4993
  try {
4826
4994
  return renderNodeDestructive(request, task, node, childIndex);
4827
- } catch (thrownValue$47) {
4995
+ } catch (thrownValue$48) {
4828
4996
  if (
4829
4997
  (resetHooksState(),
4830
4998
  (segment.children.length = childrenLength),
4831
4999
  (segment.chunks.length = chunkLength),
4832
5000
  (childIndex =
4833
- thrownValue$47 === SuspenseException
5001
+ thrownValue$48 === SuspenseException
4834
5002
  ? getSuspendedThenable()
4835
- : thrownValue$47),
5003
+ : thrownValue$48),
4836
5004
  "object" === typeof childIndex && null !== childIndex)
4837
5005
  ) {
4838
5006
  if ("function" === typeof childIndex.then) {
@@ -5033,16 +5201,16 @@ function abortTask(task, request, error) {
5033
5201
  }
5034
5202
  } else {
5035
5203
  boundary.pendingTasks--;
5036
- var trackedPostpones$50 = request.trackedPostpones;
5204
+ var trackedPostpones$51 = request.trackedPostpones;
5037
5205
  if (4 !== boundary.status) {
5038
- if (null !== trackedPostpones$50 && null !== segment)
5206
+ if (null !== trackedPostpones$51 && null !== segment)
5039
5207
  return (
5040
5208
  "object" === typeof error &&
5041
5209
  null !== error &&
5042
5210
  error.$$typeof === REACT_POSTPONE_TYPE
5043
5211
  ? logPostpone(request, error.message, errorInfo)
5044
5212
  : logRecoverableError(request, error, errorInfo),
5045
- trackPostpone(request, trackedPostpones$50, task, segment),
5213
+ trackPostpone(request, trackedPostpones$51, task, segment),
5046
5214
  boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
5047
5215
  return abortTask(fallbackTask, request, error);
5048
5216
  }),
@@ -5350,13 +5518,13 @@ function performWork(request$jscomp$1) {
5350
5518
  null !== request.trackedPostpones &&
5351
5519
  x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
5352
5520
  ) {
5353
- var trackedPostpones$54 = request.trackedPostpones;
5521
+ var trackedPostpones$55 = request.trackedPostpones;
5354
5522
  task.abortSet.delete(task);
5355
5523
  var postponeInfo = getThrownInfo(task.componentStack);
5356
5524
  logPostpone(request, x$jscomp$0.message, postponeInfo);
5357
5525
  trackPostpone(
5358
5526
  request,
5359
- trackedPostpones$54,
5527
+ trackedPostpones$55,
5360
5528
  task,
5361
5529
  segment$jscomp$0
5362
5530
  );
@@ -5910,12 +6078,12 @@ function flushCompletedQueues(request, destination) {
5910
6078
  completedBoundaries.splice(0, i);
5911
6079
  var partialBoundaries = request.partialBoundaries;
5912
6080
  for (i = 0; i < partialBoundaries.length; i++) {
5913
- var boundary$57 = partialBoundaries[i];
6081
+ var boundary$58 = partialBoundaries[i];
5914
6082
  a: {
5915
6083
  clientRenderedBoundaries = request;
5916
6084
  boundary = destination;
5917
- flushedByteSize = boundary$57.byteSize;
5918
- var completedSegments = boundary$57.completedSegments;
6085
+ flushedByteSize = boundary$58.byteSize;
6086
+ var completedSegments = boundary$58.completedSegments;
5919
6087
  for (
5920
6088
  JSCompiler_inline_result = 0;
5921
6089
  JSCompiler_inline_result < completedSegments.length;
@@ -5925,7 +6093,7 @@ function flushCompletedQueues(request, destination) {
5925
6093
  !flushPartiallyCompletedSegment(
5926
6094
  clientRenderedBoundaries,
5927
6095
  boundary,
5928
- boundary$57,
6096
+ boundary$58,
5929
6097
  completedSegments[JSCompiler_inline_result]
5930
6098
  )
5931
6099
  ) {
@@ -5937,7 +6105,7 @@ function flushCompletedQueues(request, destination) {
5937
6105
  completedSegments.splice(0, JSCompiler_inline_result);
5938
6106
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
5939
6107
  boundary,
5940
- boundary$57.contentState,
6108
+ boundary$58.contentState,
5941
6109
  clientRenderedBoundaries.renderState
5942
6110
  );
5943
6111
  }
@@ -6008,8 +6176,8 @@ function abort(request, reason) {
6008
6176
  }
6009
6177
  null !== request.destination &&
6010
6178
  flushCompletedQueues(request, request.destination);
6011
- } catch (error$59) {
6012
- logRecoverableError(request, error$59, {}), fatalError(request, error$59);
6179
+ } catch (error$60) {
6180
+ logRecoverableError(request, error$60, {}), fatalError(request, error$60);
6013
6181
  }
6014
6182
  }
6015
6183
  function addToReplayParent(node, parentKeyPath, trackedPostpones) {
@@ -6042,7 +6210,7 @@ exports.experimental_renderToHTML = function (children, options) {
6042
6210
  void 0,
6043
6211
  void 0
6044
6212
  ),
6045
- createFormatContext(0, null, 0),
6213
+ createFormatContext(0, null, 0, null),
6046
6214
  Infinity,
6047
6215
  function (error, errorInfo) {
6048
6216
  reject(error);
@@ -6083,4 +6251,4 @@ exports.experimental_renderToHTML = function (children, options) {
6083
6251
  });
6084
6252
  });
6085
6253
  };
6086
- exports.version = "19.2.0-experimental-d85f86cf-20250514";
6254
+ exports.version = "19.2.0-experimental-4a45ba92-20250515";