react-dom 19.2.0-canary-4448b187-20250515 → 19.2.0-canary-c4676e72-20250520

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.
@@ -41,6 +41,14 @@
41
41
  function scriptReplacer(match, prefix, s, suffix) {
42
42
  return "" + prefix + ("s" === s ? "\\u0073" : "\\u0053") + suffix;
43
43
  }
44
+ function getIteratorFn(maybeIterable) {
45
+ if (null === maybeIterable || "object" !== typeof maybeIterable)
46
+ return null;
47
+ maybeIterable =
48
+ (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
49
+ maybeIterable["@@iterator"];
50
+ return "function" === typeof maybeIterable ? maybeIterable : null;
51
+ }
44
52
  function objectName(object) {
45
53
  return Object.prototype.toString
46
54
  .call(object)
@@ -1154,7 +1162,8 @@
1154
1162
  nameIdx: 0
1155
1163
  };
1156
1164
  }
1157
- function getSuspenseFallbackFormatContext(parentContext) {
1165
+ function getSuspenseFallbackFormatContext(resumableState, parentContext) {
1166
+ parentContext.tagScope & 32 && (resumableState.instructions |= 128);
1158
1167
  return createFormatContext(
1159
1168
  parentContext.insertionMode,
1160
1169
  parentContext.selectedValue,
@@ -1162,7 +1171,7 @@
1162
1171
  getSuspenseViewTransition(parentContext.viewTransition)
1163
1172
  );
1164
1173
  }
1165
- function getSuspenseContentFormatContext(parentContext) {
1174
+ function getSuspenseContentFormatContext(resumableState, parentContext) {
1166
1175
  return createFormatContext(
1167
1176
  parentContext.insertionMode,
1168
1177
  parentContext.selectedValue,
@@ -4585,6 +4594,7 @@
4585
4594
  null,
4586
4595
  emptyTreeContext,
4587
4596
  null,
4597
+ null,
4588
4598
  emptyContextObject,
4589
4599
  null
4590
4600
  );
@@ -4640,15 +4650,17 @@
4640
4650
  }
4641
4651
  function createSuspenseBoundary(
4642
4652
  request,
4653
+ row,
4643
4654
  fallbackAbortableTasks,
4644
4655
  contentPreamble,
4645
4656
  fallbackPreamble
4646
4657
  ) {
4647
- return {
4658
+ fallbackAbortableTasks = {
4648
4659
  status: PENDING,
4649
4660
  rootSegmentID: -1,
4650
4661
  parentFlushed: !1,
4651
4662
  pendingTasks: 0,
4663
+ row: row,
4652
4664
  completedSegments: [],
4653
4665
  byteSize: 0,
4654
4666
  fallbackAbortableTasks: fallbackAbortableTasks,
@@ -4663,6 +4675,14 @@
4663
4675
  errorStack: null,
4664
4676
  errorComponentStack: null
4665
4677
  };
4678
+ null !== row &&
4679
+ (row.pendingTasks++,
4680
+ (row = row.boundaries),
4681
+ null !== row &&
4682
+ (request.allPendingTasks++,
4683
+ fallbackAbortableTasks.pendingTasks++,
4684
+ row.push(fallbackAbortableTasks)));
4685
+ return fallbackAbortableTasks;
4666
4686
  }
4667
4687
  function createRenderTask(
4668
4688
  request,
@@ -4678,6 +4698,7 @@
4678
4698
  formatContext,
4679
4699
  context,
4680
4700
  treeContext,
4701
+ row,
4681
4702
  componentStack,
4682
4703
  legacyContext,
4683
4704
  debugTask
@@ -4686,6 +4707,7 @@
4686
4707
  null === blockedBoundary
4687
4708
  ? request.pendingRootTasks++
4688
4709
  : blockedBoundary.pendingTasks++;
4710
+ null !== row && row.pendingTasks++;
4689
4711
  var task = {
4690
4712
  replay: null,
4691
4713
  node: node,
@@ -4702,6 +4724,7 @@
4702
4724
  formatContext: formatContext,
4703
4725
  context: context,
4704
4726
  treeContext: treeContext,
4727
+ row: row,
4705
4728
  componentStack: componentStack,
4706
4729
  thenableState: thenableState
4707
4730
  };
@@ -4722,6 +4745,7 @@
4722
4745
  formatContext,
4723
4746
  context,
4724
4747
  treeContext,
4748
+ row,
4725
4749
  componentStack,
4726
4750
  legacyContext,
4727
4751
  debugTask
@@ -4730,6 +4754,7 @@
4730
4754
  null === blockedBoundary
4731
4755
  ? request.pendingRootTasks++
4732
4756
  : blockedBoundary.pendingTasks++;
4757
+ null !== row && row.pendingTasks++;
4733
4758
  replay.pendingTasks++;
4734
4759
  var task = {
4735
4760
  replay: replay,
@@ -4747,6 +4772,7 @@
4747
4772
  formatContext: formatContext,
4748
4773
  context: context,
4749
4774
  treeContext: treeContext,
4775
+ row: row,
4750
4776
  componentStack: componentStack,
4751
4777
  thenableState: thenableState
4752
4778
  };
@@ -4933,6 +4959,141 @@
4933
4959
  closeWithError(request.destination, error))
4934
4960
  : ((request.status = 13), (request.fatalError = error));
4935
4961
  }
4962
+ function finishSuspenseListRow(request, row) {
4963
+ for (row = row.next; null !== row; ) {
4964
+ var unblockedBoundaries = row.boundaries;
4965
+ if (null !== unblockedBoundaries) {
4966
+ row.boundaries = null;
4967
+ for (var i = 0; i < unblockedBoundaries.length; i++)
4968
+ finishedTask(request, unblockedBoundaries[i], null, null);
4969
+ }
4970
+ row.pendingTasks--;
4971
+ if (0 < row.pendingTasks) break;
4972
+ row = row.next;
4973
+ }
4974
+ }
4975
+ function createSuspenseListRow(previousRow) {
4976
+ var newRow = { pendingTasks: 1, boundaries: null, next: null };
4977
+ null !== previousRow &&
4978
+ 0 < previousRow.pendingTasks &&
4979
+ (newRow.pendingTasks++,
4980
+ (newRow.boundaries = []),
4981
+ (previousRow.next = newRow));
4982
+ return newRow;
4983
+ }
4984
+ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
4985
+ keyPath = task.keyPath;
4986
+ var previousComponentStack = task.componentStack;
4987
+ var previousDebugTask = task.debugTask;
4988
+ pushServerComponentStack(task, task.node.props.children._debugInfo);
4989
+ var prevTreeContext = task.treeContext,
4990
+ prevRow = task.row,
4991
+ totalChildren = rows.length,
4992
+ previousSuspenseListRow = null;
4993
+ if (null !== task.replay) {
4994
+ var resumeSlots = task.replay.slots;
4995
+ if (null !== resumeSlots && "object" === typeof resumeSlots)
4996
+ for (var n = 0; n < totalChildren; n++) {
4997
+ var i = "backwards" !== revealOrder ? n : totalChildren - 1 - n,
4998
+ node = rows[i];
4999
+ task.row = previousSuspenseListRow = createSuspenseListRow(
5000
+ previousSuspenseListRow
5001
+ );
5002
+ task.treeContext = pushTreeContext(
5003
+ prevTreeContext,
5004
+ totalChildren,
5005
+ i
5006
+ );
5007
+ var resumeSegmentID = resumeSlots[i];
5008
+ "number" === typeof resumeSegmentID
5009
+ ? (resumeNode(request, task, resumeSegmentID, node, i),
5010
+ delete resumeSlots[i])
5011
+ : renderNode(request, task, node, i);
5012
+ 0 === --previousSuspenseListRow.pendingTasks &&
5013
+ finishSuspenseListRow(request, previousSuspenseListRow);
5014
+ }
5015
+ else
5016
+ for (resumeSlots = 0; resumeSlots < totalChildren; resumeSlots++)
5017
+ (n =
5018
+ "backwards" !== revealOrder
5019
+ ? resumeSlots
5020
+ : totalChildren - 1 - resumeSlots),
5021
+ (i = rows[n]),
5022
+ warnForMissingKey(request, task, i),
5023
+ (task.row = previousSuspenseListRow =
5024
+ createSuspenseListRow(previousSuspenseListRow)),
5025
+ (task.treeContext = pushTreeContext(
5026
+ prevTreeContext,
5027
+ totalChildren,
5028
+ n
5029
+ )),
5030
+ renderNode(request, task, i, n),
5031
+ 0 === --previousSuspenseListRow.pendingTasks &&
5032
+ finishSuspenseListRow(request, previousSuspenseListRow);
5033
+ } else if ("backwards" !== revealOrder)
5034
+ for (revealOrder = 0; revealOrder < totalChildren; revealOrder++)
5035
+ (resumeSlots = rows[revealOrder]),
5036
+ warnForMissingKey(request, task, resumeSlots),
5037
+ (task.row = previousSuspenseListRow =
5038
+ createSuspenseListRow(previousSuspenseListRow)),
5039
+ (task.treeContext = pushTreeContext(
5040
+ prevTreeContext,
5041
+ totalChildren,
5042
+ revealOrder
5043
+ )),
5044
+ renderNode(request, task, resumeSlots, revealOrder),
5045
+ 0 === --previousSuspenseListRow.pendingTasks &&
5046
+ finishSuspenseListRow(request, previousSuspenseListRow);
5047
+ else {
5048
+ revealOrder = task.blockedSegment;
5049
+ resumeSlots = revealOrder.children.length;
5050
+ n = revealOrder.chunks.length;
5051
+ for (i = totalChildren - 1; 0 <= i; i--) {
5052
+ node = rows[i];
5053
+ task.row = previousSuspenseListRow = createSuspenseListRow(
5054
+ previousSuspenseListRow
5055
+ );
5056
+ task.treeContext = pushTreeContext(prevTreeContext, totalChildren, i);
5057
+ resumeSegmentID = createPendingSegment(
5058
+ request,
5059
+ n,
5060
+ null,
5061
+ task.formatContext,
5062
+ 0 === i ? revealOrder.lastPushedText : !0,
5063
+ !0
5064
+ );
5065
+ revealOrder.children.splice(resumeSlots, 0, resumeSegmentID);
5066
+ task.blockedSegment = resumeSegmentID;
5067
+ warnForMissingKey(request, task, node);
5068
+ try {
5069
+ renderNode(request, task, node, i),
5070
+ resumeSegmentID.lastPushedText &&
5071
+ resumeSegmentID.textEmbedded &&
5072
+ resumeSegmentID.chunks.push(textSeparator),
5073
+ (resumeSegmentID.status = COMPLETED),
5074
+ finishedSegment(request, task.blockedBoundary, resumeSegmentID),
5075
+ 0 === --previousSuspenseListRow.pendingTasks &&
5076
+ finishSuspenseListRow(request, previousSuspenseListRow);
5077
+ } catch (thrownValue) {
5078
+ throw (
5079
+ ((resumeSegmentID.status = 12 === request.status ? ABORTED : 4),
5080
+ thrownValue)
5081
+ );
5082
+ }
5083
+ }
5084
+ task.blockedSegment = revealOrder;
5085
+ revealOrder.lastPushedText = !1;
5086
+ }
5087
+ null !== prevRow &&
5088
+ null !== previousSuspenseListRow &&
5089
+ 0 < previousSuspenseListRow.pendingTasks &&
5090
+ (prevRow.pendingTasks++, (previousSuspenseListRow.next = prevRow));
5091
+ task.treeContext = prevTreeContext;
5092
+ task.row = prevRow;
5093
+ task.keyPath = keyPath;
5094
+ task.componentStack = previousComponentStack;
5095
+ task.debugTask = previousDebugTask;
5096
+ }
4936
5097
  function renderWithHooks(
4937
5098
  request,
4938
5099
  task,
@@ -5506,6 +5667,7 @@
5506
5667
  task.formatContext,
5507
5668
  task.context,
5508
5669
  task.treeContext,
5670
+ task.row,
5509
5671
  task.componentStack,
5510
5672
  emptyContextObject,
5511
5673
  task.debugTask
@@ -5589,10 +5751,53 @@
5589
5751
  }
5590
5752
  return;
5591
5753
  case REACT_SUSPENSE_LIST_TYPE:
5592
- var _prevKeyPath4 = task.keyPath;
5593
- task.keyPath = keyPath;
5594
- renderNodeDestructive(request, task, props.children, -1);
5595
- task.keyPath = _prevKeyPath4;
5754
+ a: {
5755
+ var children$jscomp$0 = props.children,
5756
+ revealOrder = props.revealOrder;
5757
+ if ("forwards" === revealOrder || "backwards" === revealOrder) {
5758
+ if (isArrayImpl(children$jscomp$0)) {
5759
+ renderSuspenseListRows(
5760
+ request,
5761
+ task,
5762
+ keyPath,
5763
+ children$jscomp$0,
5764
+ revealOrder
5765
+ );
5766
+ break a;
5767
+ }
5768
+ var iteratorFn = getIteratorFn(children$jscomp$0);
5769
+ if (iteratorFn) {
5770
+ var iterator = iteratorFn.call(children$jscomp$0);
5771
+ if (iterator) {
5772
+ validateIterable(
5773
+ task,
5774
+ children$jscomp$0,
5775
+ -1,
5776
+ iterator,
5777
+ iteratorFn
5778
+ );
5779
+ var step = iterator.next();
5780
+ if (!step.done) {
5781
+ var rows = [];
5782
+ do rows.push(step.value), (step = iterator.next());
5783
+ while (!step.done);
5784
+ renderSuspenseListRows(
5785
+ request,
5786
+ task,
5787
+ keyPath,
5788
+ children$jscomp$0,
5789
+ revealOrder
5790
+ );
5791
+ }
5792
+ break a;
5793
+ }
5794
+ }
5795
+ }
5796
+ var prevKeyPath$jscomp$3 = task.keyPath;
5797
+ task.keyPath = keyPath;
5798
+ renderNodeDestructive(request, task, children$jscomp$0, -1);
5799
+ task.keyPath = prevKeyPath$jscomp$3;
5800
+ }
5596
5801
  return;
5597
5802
  case REACT_VIEW_TRANSITION_TYPE:
5598
5803
  case REACT_SCOPE_TYPE:
@@ -5602,20 +5807,26 @@
5602
5807
  case REACT_SUSPENSE_TYPE:
5603
5808
  a: if (null !== task.replay) {
5604
5809
  var _prevKeyPath = task.keyPath,
5605
- _prevContext = task.formatContext;
5810
+ _prevContext = task.formatContext,
5811
+ _prevRow = task.row;
5606
5812
  task.keyPath = keyPath;
5607
- task.formatContext =
5608
- getSuspenseContentFormatContext(_prevContext);
5813
+ task.formatContext = getSuspenseContentFormatContext(
5814
+ request.resumableState,
5815
+ _prevContext
5816
+ );
5817
+ task.row = null;
5609
5818
  var _content = props.children;
5610
5819
  try {
5611
5820
  renderNode(request, task, _content, -1);
5612
5821
  } finally {
5613
5822
  (task.keyPath = _prevKeyPath),
5614
- (task.formatContext = _prevContext);
5823
+ (task.formatContext = _prevContext),
5824
+ (task.row = _prevRow);
5615
5825
  }
5616
5826
  } else {
5617
- var prevKeyPath$jscomp$3 = task.keyPath,
5827
+ var prevKeyPath$jscomp$4 = task.keyPath,
5618
5828
  prevContext$jscomp$0 = task.formatContext,
5829
+ prevRow = task.row,
5619
5830
  parentBoundary = task.blockedBoundary,
5620
5831
  parentPreamble = task.blockedPreamble,
5621
5832
  parentHoistableState = task.hoistableState,
@@ -5627,12 +5838,14 @@
5627
5838
  task.formatContext.insertionMode < HTML_MODE
5628
5839
  ? createSuspenseBoundary(
5629
5840
  request,
5841
+ task.row,
5630
5842
  fallbackAbortSet,
5631
5843
  createPreambleState(),
5632
5844
  createPreambleState()
5633
5845
  )
5634
5846
  : createSuspenseBoundary(
5635
5847
  request,
5848
+ task.row,
5636
5849
  fallbackAbortSet,
5637
5850
  null,
5638
5851
  null
@@ -5678,8 +5891,10 @@
5678
5891
  task.blockedSegment = boundarySegment;
5679
5892
  task.blockedPreamble = newBoundary.fallbackPreamble;
5680
5893
  task.keyPath = fallbackKeyPath;
5681
- task.formatContext =
5682
- getSuspenseFallbackFormatContext(prevContext$jscomp$0);
5894
+ task.formatContext = getSuspenseFallbackFormatContext(
5895
+ request.resumableState,
5896
+ prevContext$jscomp$0
5897
+ );
5683
5898
  boundarySegment.status = 6;
5684
5899
  try {
5685
5900
  renderNode(request, task, fallback, -1),
@@ -5690,13 +5905,14 @@
5690
5905
  finishedSegment(request, parentBoundary, boundarySegment);
5691
5906
  } catch (thrownValue) {
5692
5907
  throw (
5693
- ((boundarySegment.status = 12 === request.status ? 3 : 4),
5908
+ ((boundarySegment.status =
5909
+ 12 === request.status ? ABORTED : 4),
5694
5910
  thrownValue)
5695
5911
  );
5696
5912
  } finally {
5697
5913
  (task.blockedSegment = parentSegment),
5698
5914
  (task.blockedPreamble = parentPreamble),
5699
- (task.keyPath = prevKeyPath$jscomp$3),
5915
+ (task.keyPath = prevKeyPath$jscomp$4),
5700
5916
  (task.formatContext = prevContext$jscomp$0);
5701
5917
  }
5702
5918
  var suspendedPrimaryTask = createRenderTask(
@@ -5710,9 +5926,13 @@
5710
5926
  newBoundary.contentState,
5711
5927
  task.abortSet,
5712
5928
  keyPath,
5713
- getSuspenseContentFormatContext(task.formatContext),
5929
+ getSuspenseContentFormatContext(
5930
+ request.resumableState,
5931
+ task.formatContext
5932
+ ),
5714
5933
  task.context,
5715
5934
  task.treeContext,
5935
+ null,
5716
5936
  task.componentStack,
5717
5937
  emptyContextObject,
5718
5938
  task.debugTask
@@ -5725,8 +5945,11 @@
5725
5945
  task.hoistableState = newBoundary.contentState;
5726
5946
  task.blockedSegment = contentRootSegment;
5727
5947
  task.keyPath = keyPath;
5728
- task.formatContext =
5729
- getSuspenseContentFormatContext(prevContext$jscomp$0);
5948
+ task.formatContext = getSuspenseContentFormatContext(
5949
+ request.resumableState,
5950
+ prevContext$jscomp$0
5951
+ );
5952
+ task.row = null;
5730
5953
  contentRootSegment.status = 6;
5731
5954
  try {
5732
5955
  if (
@@ -5742,6 +5965,9 @@
5742
5965
  ((newBoundary.status = COMPLETED),
5743
5966
  !(500 < newBoundary.byteSize)))
5744
5967
  ) {
5968
+ null !== prevRow &&
5969
+ 0 === --prevRow.pendingTasks &&
5970
+ finishSuspenseListRow(request, prevRow);
5745
5971
  0 === request.pendingRootTasks &&
5746
5972
  task.blockedPreamble &&
5747
5973
  preparePreamble(request);
@@ -5750,7 +5976,7 @@
5750
5976
  } catch (thrownValue$2) {
5751
5977
  newBoundary.status = CLIENT_RENDERED;
5752
5978
  if (12 === request.status) {
5753
- contentRootSegment.status = 3;
5979
+ contentRootSegment.status = ABORTED;
5754
5980
  var error = request.fatalError;
5755
5981
  } else
5756
5982
  (contentRootSegment.status = 4), (error = thrownValue$2);
@@ -5774,8 +6000,9 @@
5774
6000
  (task.blockedPreamble = parentPreamble),
5775
6001
  (task.hoistableState = parentHoistableState),
5776
6002
  (task.blockedSegment = parentSegment),
5777
- (task.keyPath = prevKeyPath$jscomp$3),
5778
- (task.formatContext = prevContext$jscomp$0);
6003
+ (task.keyPath = prevKeyPath$jscomp$4),
6004
+ (task.formatContext = prevContext$jscomp$0),
6005
+ (task.row = prevRow);
5779
6006
  }
5780
6007
  var suspendedFallbackTask = createRenderTask(
5781
6008
  request,
@@ -5788,9 +6015,13 @@
5788
6015
  newBoundary.fallbackState,
5789
6016
  fallbackAbortSet,
5790
6017
  [keyPath[0], "Suspense Fallback", keyPath[2]],
5791
- getSuspenseFallbackFormatContext(task.formatContext),
6018
+ getSuspenseFallbackFormatContext(
6019
+ request.resumableState,
6020
+ task.formatContext
6021
+ ),
5792
6022
  task.context,
5793
6023
  task.treeContext,
6024
+ task.row,
5794
6025
  task.componentStack,
5795
6026
  emptyContextObject,
5796
6027
  task.debugTask
@@ -5809,7 +6040,7 @@
5809
6040
  for (var key in props)
5810
6041
  "ref" !== key && (propsWithoutRef[key] = props[key]);
5811
6042
  } else propsWithoutRef = props;
5812
- var children$jscomp$0 = renderWithHooks(
6043
+ var children$jscomp$1 = renderWithHooks(
5813
6044
  request,
5814
6045
  task,
5815
6046
  keyPath,
@@ -5821,7 +6052,7 @@
5821
6052
  request,
5822
6053
  task,
5823
6054
  keyPath,
5824
- children$jscomp$0,
6055
+ children$jscomp$1,
5825
6056
  0 !== localIdCounter,
5826
6057
  actionStateCounter,
5827
6058
  actionStateMatchingIndex
@@ -5833,9 +6064,9 @@
5833
6064
  case REACT_PROVIDER_TYPE:
5834
6065
  case REACT_CONTEXT_TYPE:
5835
6066
  var value$jscomp$0 = props.value,
5836
- children$jscomp$1 = props.children;
6067
+ children$jscomp$2 = props.children;
5837
6068
  var prevSnapshot = task.context;
5838
- var prevKeyPath$jscomp$4 = task.keyPath;
6069
+ var prevKeyPath$jscomp$5 = task.keyPath;
5839
6070
  var prevValue = type._currentValue;
5840
6071
  type._currentValue = value$jscomp$0;
5841
6072
  void 0 !== type._currentRenderer &&
@@ -5856,7 +6087,7 @@
5856
6087
  currentActiveSnapshot = newNode;
5857
6088
  task.context = newNode;
5858
6089
  task.keyPath = keyPath;
5859
- renderNodeDestructive(request, task, children$jscomp$1, -1);
6090
+ renderNodeDestructive(request, task, children$jscomp$2, -1);
5860
6091
  var prevSnapshot$jscomp$0 = currentActiveSnapshot;
5861
6092
  if (null === prevSnapshot$jscomp$0)
5862
6093
  throw Error(
@@ -5878,7 +6109,7 @@
5878
6109
  var JSCompiler_inline_result$jscomp$0 = (currentActiveSnapshot =
5879
6110
  prevSnapshot$jscomp$0.parent);
5880
6111
  task.context = JSCompiler_inline_result$jscomp$0;
5881
- task.keyPath = prevKeyPath$jscomp$4;
6112
+ task.keyPath = prevKeyPath$jscomp$5;
5882
6113
  prevSnapshot !== task.context &&
5883
6114
  console.error(
5884
6115
  "Popping the context provider did not return back to the original snapshot. This is a bug in React."
@@ -5892,10 +6123,10 @@
5892
6123
  "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."
5893
6124
  );
5894
6125
  var newChildren = render(context$jscomp$0._currentValue),
5895
- prevKeyPath$jscomp$5 = task.keyPath;
6126
+ prevKeyPath$jscomp$6 = task.keyPath;
5896
6127
  task.keyPath = keyPath;
5897
6128
  renderNodeDestructive(request, task, newChildren, -1);
5898
- task.keyPath = prevKeyPath$jscomp$5;
6129
+ task.keyPath = prevKeyPath$jscomp$6;
5899
6130
  return;
5900
6131
  case REACT_LAZY_TYPE:
5901
6132
  var Component = callLazyInitInDEV(type);
@@ -6027,6 +6258,7 @@
6027
6258
  node = null === node[4] ? null : node[4][3];
6028
6259
  var prevKeyPath = task.keyPath,
6029
6260
  prevContext = task.formatContext,
6261
+ prevRow = task.row,
6030
6262
  previousReplaySet = task.replay,
6031
6263
  parentBoundary = task.blockedBoundary,
6032
6264
  parentHoistableState = task.hoistableState,
@@ -6037,12 +6269,14 @@
6037
6269
  task.formatContext.insertionMode < HTML_MODE
6038
6270
  ? createSuspenseBoundary(
6039
6271
  request,
6272
+ task.row,
6040
6273
  fallbackAbortSet,
6041
6274
  createPreambleState(),
6042
6275
  createPreambleState()
6043
6276
  )
6044
6277
  : createSuspenseBoundary(
6045
6278
  request,
6279
+ task.row,
6046
6280
  fallbackAbortSet,
6047
6281
  null,
6048
6282
  null
@@ -6052,7 +6286,11 @@
6052
6286
  task.blockedBoundary = props;
6053
6287
  task.hoistableState = props.contentState;
6054
6288
  task.keyPath = keyPath;
6055
- task.formatContext = getSuspenseContentFormatContext(prevContext);
6289
+ task.formatContext = getSuspenseContentFormatContext(
6290
+ request.resumableState,
6291
+ prevContext
6292
+ );
6293
+ task.row = null;
6056
6294
  task.replay = { nodes: type, slots: ref, pendingTasks: 1 };
6057
6295
  try {
6058
6296
  renderNode(request, task, content, -1);
@@ -6086,7 +6324,8 @@
6086
6324
  (task.hoistableState = parentHoistableState),
6087
6325
  (task.replay = previousReplaySet),
6088
6326
  (task.keyPath = prevKeyPath),
6089
- (task.formatContext = prevContext);
6327
+ (task.formatContext = prevContext),
6328
+ (task.row = prevRow);
6090
6329
  }
6091
6330
  props = createReplayTask(
6092
6331
  request,
@@ -6098,9 +6337,13 @@
6098
6337
  props.fallbackState,
6099
6338
  fallbackAbortSet,
6100
6339
  [keyPath[0], "Suspense Fallback", keyPath[2]],
6101
- getSuspenseFallbackFormatContext(task.formatContext),
6340
+ getSuspenseFallbackFormatContext(
6341
+ request.resumableState,
6342
+ task.formatContext
6343
+ ),
6102
6344
  task.context,
6103
6345
  task.treeContext,
6346
+ task.row,
6104
6347
  task.componentStack,
6105
6348
  emptyContextObject,
6106
6349
  task.debugTask
@@ -6114,6 +6357,35 @@
6114
6357
  }
6115
6358
  }
6116
6359
  }
6360
+ function validateIterable(
6361
+ task,
6362
+ iterable,
6363
+ childIndex,
6364
+ iterator,
6365
+ iteratorFn
6366
+ ) {
6367
+ if (iterator === iterable) {
6368
+ if (
6369
+ -1 !== childIndex ||
6370
+ null === task.componentStack ||
6371
+ "function" !== typeof task.componentStack.type ||
6372
+ "[object GeneratorFunction]" !==
6373
+ Object.prototype.toString.call(task.componentStack.type) ||
6374
+ "[object Generator]" !== Object.prototype.toString.call(iterator)
6375
+ )
6376
+ didWarnAboutGenerators ||
6377
+ console.error(
6378
+ "Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."
6379
+ ),
6380
+ (didWarnAboutGenerators = !0);
6381
+ } else
6382
+ iterable.entries !== iteratorFn ||
6383
+ didWarnAboutMaps ||
6384
+ (console.error(
6385
+ "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
6386
+ ),
6387
+ (didWarnAboutMaps = !0));
6388
+ }
6117
6389
  function renderNodeDestructive(request, task, node, childIndex) {
6118
6390
  null !== task.replay && "number" === typeof task.replay.slots
6119
6391
  ? resumeNode(request, task, task.replay.slots, node, childIndex)
@@ -6190,52 +6462,27 @@
6190
6462
  "Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render."
6191
6463
  );
6192
6464
  case REACT_LAZY_TYPE:
6193
- node = callLazyInitInDEV(node);
6465
+ type = callLazyInitInDEV(node);
6194
6466
  if (12 === request.status) throw null;
6195
- renderNodeDestructive(request, task, node, childIndex);
6467
+ renderNodeDestructive(request, task, type, childIndex);
6196
6468
  return;
6197
6469
  }
6198
6470
  if (isArrayImpl(node)) {
6199
6471
  renderChildrenArray(request, task, node, childIndex);
6200
6472
  return;
6201
6473
  }
6202
- null === node || "object" !== typeof node
6203
- ? (key = null)
6204
- : ((type =
6205
- (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
6206
- node["@@iterator"]),
6207
- (key = "function" === typeof type ? type : null));
6208
- if (key && (type = key.call(node))) {
6209
- if (type === node) {
6210
- if (
6211
- -1 !== childIndex ||
6212
- null === task.componentStack ||
6213
- "function" !== typeof task.componentStack.type ||
6214
- "[object GeneratorFunction]" !==
6215
- Object.prototype.toString.call(task.componentStack.type) ||
6216
- "[object Generator]" !== Object.prototype.toString.call(type)
6217
- )
6218
- didWarnAboutGenerators ||
6219
- console.error(
6220
- "Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."
6221
- ),
6222
- (didWarnAboutGenerators = !0);
6223
- } else
6224
- node.entries !== key ||
6225
- didWarnAboutMaps ||
6226
- (console.error(
6227
- "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
6228
- ),
6229
- (didWarnAboutMaps = !0));
6230
- node = type.next();
6231
- if (!node.done) {
6232
- key = [];
6233
- do key.push(node.value), (node = type.next());
6234
- while (!node.done);
6235
- renderChildrenArray(request, task, key, childIndex);
6474
+ if ((key = getIteratorFn(node)))
6475
+ if ((type = key.call(node))) {
6476
+ validateIterable(task, node, childIndex, type, key);
6477
+ node = type.next();
6478
+ if (!node.done) {
6479
+ key = [];
6480
+ do key.push(node.value), (node = type.next());
6481
+ while (!node.done);
6482
+ renderChildrenArray(request, task, key, childIndex);
6483
+ }
6484
+ return;
6236
6485
  }
6237
- return;
6238
- }
6239
6486
  if ("function" === typeof node.then)
6240
6487
  return (
6241
6488
  (task.thenableState = null),
@@ -6294,6 +6541,69 @@
6294
6541
  ));
6295
6542
  }
6296
6543
  }
6544
+ function warnForMissingKey(request, task, child) {
6545
+ if (
6546
+ null !== child &&
6547
+ "object" === typeof child &&
6548
+ (child.$$typeof === REACT_ELEMENT_TYPE ||
6549
+ child.$$typeof === REACT_PORTAL_TYPE) &&
6550
+ child._store &&
6551
+ ((!child._store.validated && null == child.key) ||
6552
+ 2 === child._store.validated)
6553
+ ) {
6554
+ if ("object" !== typeof child._store)
6555
+ throw Error(
6556
+ "React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue."
6557
+ );
6558
+ child._store.validated = 1;
6559
+ var didWarnForKey = request.didWarnForKey;
6560
+ null == didWarnForKey &&
6561
+ (didWarnForKey = request.didWarnForKey = new WeakSet());
6562
+ request = task.componentStack;
6563
+ if (null !== request && !didWarnForKey.has(request)) {
6564
+ didWarnForKey.add(request);
6565
+ var componentName = getComponentNameFromType(child.type);
6566
+ didWarnForKey = child._owner;
6567
+ var parentOwner = request.owner;
6568
+ request = "";
6569
+ if (parentOwner && "undefined" !== typeof parentOwner.type) {
6570
+ var name = getComponentNameFromType(parentOwner.type);
6571
+ name &&
6572
+ (request = "\n\nCheck the render method of `" + name + "`.");
6573
+ }
6574
+ request ||
6575
+ (componentName &&
6576
+ (request =
6577
+ "\n\nCheck the top-level render call using <" +
6578
+ componentName +
6579
+ ">."));
6580
+ componentName = "";
6581
+ null != didWarnForKey &&
6582
+ parentOwner !== didWarnForKey &&
6583
+ ((parentOwner = null),
6584
+ "undefined" !== typeof didWarnForKey.type
6585
+ ? (parentOwner = getComponentNameFromType(didWarnForKey.type))
6586
+ : "string" === typeof didWarnForKey.name &&
6587
+ (parentOwner = didWarnForKey.name),
6588
+ parentOwner &&
6589
+ (componentName =
6590
+ " It was passed a child from " + parentOwner + "."));
6591
+ didWarnForKey = task.componentStack;
6592
+ task.componentStack = {
6593
+ parent: task.componentStack,
6594
+ type: child.type,
6595
+ owner: child._owner,
6596
+ stack: child._debugStack
6597
+ };
6598
+ console.error(
6599
+ 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
6600
+ request,
6601
+ componentName
6602
+ );
6603
+ task.componentStack = didWarnForKey;
6604
+ }
6605
+ }
6606
+ }
6297
6607
  function renderChildrenArray(request, task, children, childIndex) {
6298
6608
  var prevKeyPath = task.keyPath,
6299
6609
  previousComponentStack = task.componentStack;
@@ -6387,76 +6697,11 @@
6387
6697
  task.debugTask = previousDebugTask;
6388
6698
  return;
6389
6699
  }
6390
- for (j = 0; j < replayNodes; j++) {
6391
- childIndex = children[j];
6392
- resumeSlots = request;
6393
- node = task;
6394
- error = childIndex;
6395
- if (
6396
- null !== error &&
6397
- "object" === typeof error &&
6398
- (error.$$typeof === REACT_ELEMENT_TYPE ||
6399
- error.$$typeof === REACT_PORTAL_TYPE) &&
6400
- error._store &&
6401
- ((!error._store.validated && null == error.key) ||
6402
- 2 === error._store.validated)
6403
- ) {
6404
- if ("object" !== typeof error._store)
6405
- throw Error(
6406
- "React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue."
6407
- );
6408
- error._store.validated = 1;
6409
- thrownInfo = resumeSlots.didWarnForKey;
6410
- null == thrownInfo &&
6411
- (thrownInfo = resumeSlots.didWarnForKey = new WeakSet());
6412
- resumeSlots = node.componentStack;
6413
- if (null !== resumeSlots && !thrownInfo.has(resumeSlots)) {
6414
- thrownInfo.add(resumeSlots);
6415
- var componentName = getComponentNameFromType(error.type);
6416
- thrownInfo = error._owner;
6417
- var parentOwner = resumeSlots.owner;
6418
- resumeSlots = "";
6419
- if (parentOwner && "undefined" !== typeof parentOwner.type) {
6420
- var name = getComponentNameFromType(parentOwner.type);
6421
- name &&
6422
- (resumeSlots =
6423
- "\n\nCheck the render method of `" + name + "`.");
6424
- }
6425
- resumeSlots ||
6426
- (componentName &&
6427
- (resumeSlots =
6428
- "\n\nCheck the top-level render call using <" +
6429
- componentName +
6430
- ">."));
6431
- componentName = "";
6432
- null != thrownInfo &&
6433
- parentOwner !== thrownInfo &&
6434
- ((parentOwner = null),
6435
- "undefined" !== typeof thrownInfo.type
6436
- ? (parentOwner = getComponentNameFromType(thrownInfo.type))
6437
- : "string" === typeof thrownInfo.name &&
6438
- (parentOwner = thrownInfo.name),
6439
- parentOwner &&
6440
- (componentName =
6441
- " It was passed a child from " + parentOwner + "."));
6442
- thrownInfo = node.componentStack;
6443
- node.componentStack = {
6444
- parent: node.componentStack,
6445
- type: error.type,
6446
- owner: error._owner,
6447
- stack: error._debugStack
6448
- };
6449
- console.error(
6450
- 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
6451
- resumeSlots,
6452
- componentName
6453
- );
6454
- node.componentStack = thrownInfo;
6455
- }
6456
- }
6457
- task.treeContext = pushTreeContext(replay, replayNodes, j);
6458
- renderNode(request, task, childIndex, j);
6459
- }
6700
+ for (j = 0; j < replayNodes; j++)
6701
+ (childIndex = children[j]),
6702
+ warnForMissingKey(request, task, childIndex),
6703
+ (task.treeContext = pushTreeContext(replay, replayNodes, j)),
6704
+ renderNode(request, task, childIndex, j);
6460
6705
  task.treeContext = replay;
6461
6706
  task.keyPath = prevKeyPath;
6462
6707
  task.componentStack = previousComponentStack;
@@ -6485,6 +6730,7 @@
6485
6730
  task.formatContext,
6486
6731
  task.context,
6487
6732
  task.treeContext,
6733
+ task.row,
6488
6734
  task.componentStack,
6489
6735
  emptyContextObject,
6490
6736
  task.debugTask
@@ -6516,6 +6762,7 @@
6516
6762
  task.formatContext,
6517
6763
  task.context,
6518
6764
  task.treeContext,
6765
+ task.row,
6519
6766
  task.componentStack,
6520
6767
  emptyContextObject,
6521
6768
  task.debugTask
@@ -6630,9 +6877,11 @@
6630
6877
  throw node;
6631
6878
  }
6632
6879
  function abortTaskSoft(task) {
6633
- var boundary = task.blockedBoundary;
6634
- task = task.blockedSegment;
6635
- null !== task && ((task.status = 3), finishedTask(this, boundary, task));
6880
+ var boundary = task.blockedBoundary,
6881
+ segment = task.blockedSegment;
6882
+ null !== segment &&
6883
+ ((segment.status = ABORTED),
6884
+ finishedTask(this, boundary, task.row, segment));
6636
6885
  }
6637
6886
  function abortRemainingReplayNodes(
6638
6887
  request$jscomp$0,
@@ -6666,6 +6915,7 @@
6666
6915
  wasAborted = aborted,
6667
6916
  resumedBoundary = createSuspenseBoundary(
6668
6917
  request,
6918
+ null,
6669
6919
  new Set(),
6670
6920
  null,
6671
6921
  null
@@ -6710,8 +6960,12 @@
6710
6960
  segment = task.blockedSegment;
6711
6961
  if (null !== segment) {
6712
6962
  if (6 === segment.status) return;
6713
- segment.status = 3;
6963
+ segment.status = ABORTED;
6714
6964
  }
6965
+ segment = task.row;
6966
+ null !== segment &&
6967
+ 0 === --segment.pendingTasks &&
6968
+ finishSuspenseListRow(request, segment);
6715
6969
  segment = getThrownInfo(task.componentStack);
6716
6970
  if (null === boundary) {
6717
6971
  if (13 !== request.status && request.status !== CLOSED) {
@@ -6863,7 +7117,11 @@
6863
7117
  : (boundary.byteSize += segmentByteSize);
6864
7118
  }
6865
7119
  }
6866
- function finishedTask(request, boundary, segment) {
7120
+ function finishedTask(request, boundary, row, segment) {
7121
+ null !== row &&
7122
+ 0 === --row.pendingTasks &&
7123
+ finishSuspenseListRow(request, row);
7124
+ request.allPendingTasks--;
6867
7125
  if (null === boundary) {
6868
7126
  if (null !== segment && segment.parentFlushed) {
6869
7127
  if (null !== request.completedRootSegment)
@@ -6891,7 +7149,11 @@
6891
7149
  abortTaskSoft,
6892
7150
  request
6893
7151
  ),
6894
- boundary.fallbackAbortableTasks.clear()),
7152
+ boundary.fallbackAbortableTasks.clear(),
7153
+ (row = boundary.row),
7154
+ null !== row &&
7155
+ 0 === --row.pendingTasks &&
7156
+ finishSuspenseListRow(request, row)),
6895
7157
  0 === request.pendingRootTasks &&
6896
7158
  null === request.trackedPostpones &&
6897
7159
  null !== boundary.contentPreamble &&
@@ -6903,7 +7165,6 @@
6903
7165
  1 === boundary.completedSegments.length &&
6904
7166
  boundary.parentFlushed &&
6905
7167
  request.partialBoundaries.push(boundary)));
6906
- request.allPendingTasks--;
6907
7168
  0 === request.allPendingTasks && completeAll(request);
6908
7169
  }
6909
7170
  function performWork(request$jscomp$2) {
@@ -6956,7 +7217,12 @@
6956
7217
  );
6957
7218
  request.replay.pendingTasks--;
6958
7219
  request.abortSet.delete(request);
6959
- finishedTask(request$jscomp$0, request.blockedBoundary, null);
7220
+ finishedTask(
7221
+ request$jscomp$0,
7222
+ request.blockedBoundary,
7223
+ request.row,
7224
+ null
7225
+ );
6960
7226
  } catch (thrownValue) {
6961
7227
  resetHooksState();
6962
7228
  var x =
@@ -7039,6 +7305,7 @@
7039
7305
  finishedTask(
7040
7306
  request,
7041
7307
  errorDigest.blockedBoundary,
7308
+ errorDigest.row,
7042
7309
  request$jscomp$1
7043
7310
  );
7044
7311
  } catch (thrownValue) {
@@ -7067,7 +7334,12 @@
7067
7334
  errorDigest.abortSet.delete(errorDigest);
7068
7335
  request$jscomp$1.status = 4;
7069
7336
  var boundary$jscomp$0 = errorDigest.blockedBoundary,
7337
+ row = errorDigest.row,
7070
7338
  debugTask = errorDigest.debugTask;
7339
+ null !== row &&
7340
+ 0 === --row.pendingTasks &&
7341
+ finishSuspenseListRow(request, row);
7342
+ request.allPendingTasks--;
7071
7343
  prevTaskInDEV = logRecoverableError(
7072
7344
  request,
7073
7345
  x$jscomp$0,
@@ -7100,7 +7372,6 @@
7100
7372
  null === request.trackedPostpones &&
7101
7373
  null !== boundary$jscomp$0.contentPreamble &&
7102
7374
  preparePreamble(request)));
7103
- request.allPendingTasks--;
7104
7375
  0 === request.allPendingTasks && completeAll(request);
7105
7376
  }
7106
7377
  } finally {
@@ -7252,18 +7523,19 @@
7252
7523
  return flushSubtree(request, destination, segment, hoistableState);
7253
7524
  boundary.parentFlushed = !0;
7254
7525
  if (boundary.status === CLIENT_RENDERED) {
7255
- var errorDigest = boundary.errorDigest,
7256
- errorMessage = boundary.errorMessage,
7526
+ var row = boundary.row;
7527
+ null !== row &&
7528
+ 0 === --row.pendingTasks &&
7529
+ finishSuspenseListRow(request, row);
7530
+ row = boundary.errorDigest;
7531
+ var errorMessage = boundary.errorMessage,
7257
7532
  errorStack = boundary.errorStack;
7258
7533
  boundary = boundary.errorComponentStack;
7259
7534
  writeChunkAndReturn(destination, startClientRenderedSuspenseBoundary);
7260
7535
  writeChunk(destination, clientRenderedSuspenseBoundaryError1);
7261
- errorDigest &&
7536
+ row &&
7262
7537
  (writeChunk(destination, clientRenderedSuspenseBoundaryError1A),
7263
- writeChunk(
7264
- destination,
7265
- stringToChunk(escapeTextForBrowser(errorDigest))
7266
- ),
7538
+ writeChunk(destination, stringToChunk(escapeTextForBrowser(row))),
7267
7539
  writeChunk(
7268
7540
  destination,
7269
7541
  clientRenderedSuspenseBoundaryErrorAttrInterstitial
@@ -7339,6 +7611,11 @@
7339
7611
  hoistStylesheetDependency,
7340
7612
  hoistableState
7341
7613
  ));
7614
+ segment = boundary.row;
7615
+ null !== segment &&
7616
+ 500 < boundary.byteSize &&
7617
+ 0 === --segment.pendingTasks &&
7618
+ finishSuspenseListRow(request, segment);
7342
7619
  writeChunkAndReturn(destination, startCompletedSuspenseBoundary);
7343
7620
  segment = boundary.completedSegments;
7344
7621
  if (1 !== segment.length)
@@ -7378,6 +7655,11 @@
7378
7655
  completedSegments[i]
7379
7656
  );
7380
7657
  completedSegments.length = 0;
7658
+ completedSegments = boundary.row;
7659
+ null !== completedSegments &&
7660
+ 500 < boundary.byteSize &&
7661
+ 0 === --completedSegments.pendingTasks &&
7662
+ finishSuspenseListRow(request, completedSegments);
7381
7663
  writeHoistablesForBoundary(
7382
7664
  destination,
7383
7665
  boundary.contentState,
@@ -7408,11 +7690,11 @@
7408
7690
  completeBoundaryWithStylesScript1FullPartial
7409
7691
  ))
7410
7692
  : writeChunk(destination, completeBoundaryWithStylesScript1Partial))
7411
- : (completedSegments.instructions & SentCompleteBoundaryFunction) ===
7412
- NothingSent
7413
- ? ((completedSegments.instructions |= SentCompleteBoundaryFunction),
7414
- writeChunk(destination, completeBoundaryScript1Full))
7415
- : writeChunk(destination, completeBoundaryScript1Partial);
7693
+ : ((completedSegments.instructions & SentCompleteBoundaryFunction) ===
7694
+ NothingSent &&
7695
+ ((completedSegments.instructions |= SentCompleteBoundaryFunction),
7696
+ writeChunk(destination, completeBoundaryScriptFunctionOnly)),
7697
+ writeChunk(destination, completeBoundaryScript1Partial));
7416
7698
  completedSegments = stringToChunk(i.toString(16));
7417
7699
  writeChunk(destination, request.boundaryPrefix);
7418
7700
  writeChunk(destination, completedSegments);
@@ -7892,11 +8174,11 @@
7892
8174
  }
7893
8175
  function ensureCorrectIsomorphicReactVersion() {
7894
8176
  var isomorphicReactPackageVersion = React.version;
7895
- if ("19.2.0-canary-4448b187-20250515" !== isomorphicReactPackageVersion)
8177
+ if ("19.2.0-canary-c4676e72-20250520" !== isomorphicReactPackageVersion)
7896
8178
  throw Error(
7897
8179
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7898
8180
  (isomorphicReactPackageVersion +
7899
- "\n - react-dom: 19.2.0-canary-4448b187-20250515\nLearn more: https://react.dev/warnings/version-mismatch")
8181
+ "\n - react-dom: 19.2.0-canary-c4676e72-20250520\nLearn more: https://react.dev/warnings/version-mismatch")
7900
8182
  );
7901
8183
  }
7902
8184
  var React = require("react"),
@@ -9129,12 +9411,12 @@
9129
9411
  stringToPrecomputedChunk('<template data-rsi="" data-sid="');
9130
9412
  stringToPrecomputedChunk('" data-pid="');
9131
9413
  var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
9132
- '$RB=[];$RC=function(d,c){function m(){$RT=performance.now();var f=$RB;$RB=[];for(var e=0;e<f.length;e+=2){var a=f[e],l=f[e+1],g=a.parentNode;if(g){var h=a.previousSibling,k=0;do{if(a&&8===a.nodeType){var b=a.data;if("/$"===b||"/&"===b)if(0===k)break;else k--;else"$"!==b&&"$?"!==b&&"$~"!==b&&"$!"!==b&&"&"!==b||k++}b=a.nextSibling;g.removeChild(a);a=b}while(a);for(;l.firstChild;)g.insertBefore(l.firstChild,a);h.data="$";h._reactRetry&&h._reactRetry()}}}if(c=document.getElementById(c))if(c.parentNode.removeChild(c),d=\ndocument.getElementById(d))d.previousSibling.data="$~",$RB.push(d,c),2===$RB.length&&setTimeout(m,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
9133
- ),
9134
- completeBoundaryScript1Full = stringToPrecomputedChunk(
9135
- '$RB=[];$RC=function(d,c){function m(){$RT=performance.now();var f=$RB;$RB=[];for(var e=0;e<f.length;e+=2){var a=f[e],l=f[e+1],g=a.parentNode;if(g){var h=a.previousSibling,k=0;do{if(a&&8===a.nodeType){var b=a.data;if("/$"===b||"/&"===b)if(0===k)break;else k--;else"$"!==b&&"$?"!==b&&"$~"!==b&&"$!"!==b&&"&"!==b||k++}b=a.nextSibling;g.removeChild(a);a=b}while(a);for(;l.firstChild;)g.insertBefore(l.firstChild,a);h.data="$";h._reactRetry&&h._reactRetry()}}}if(c=document.getElementById(c))if(c.parentNode.removeChild(c),d=\ndocument.getElementById(d))d.previousSibling.data="$~",$RB.push(d,c),2===$RB.length&&setTimeout(m,("number"!==typeof $RT?0:$RT)+300-performance.now())};$RC("'
9136
- ),
9137
- completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
9414
+ '$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
9415
+ );
9416
+ stringToPrecomputedChunk(
9417
+ "$RV=function(a){try{var b=document.__reactViewTransition;if(b){b.finished.then($RV,$RV);return}if(window._useVT){var c=document.__reactViewTransition=document.startViewTransition({update:a,types:[]});c.finished.finally(function(){document.__reactViewTransition===c&&(document.__reactViewTransition=null)});return}}catch(d){}a()}.bind(null,$RV);"
9418
+ );
9419
+ var completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
9138
9420
  completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
9139
9421
  '$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'
9140
9422
  ),
@@ -9428,6 +9710,7 @@
9428
9710
  PENDING = 0,
9429
9711
  COMPLETED = 1,
9430
9712
  FLUSHED = 2,
9713
+ ABORTED = 3,
9431
9714
  POSTPONED = 5,
9432
9715
  CLOSED = 14,
9433
9716
  currentRequest = null,
@@ -9582,5 +9865,5 @@
9582
9865
  startWork(request);
9583
9866
  });
9584
9867
  };
9585
- exports.version = "19.2.0-canary-4448b187-20250515";
9868
+ exports.version = "19.2.0-canary-c4676e72-20250520";
9586
9869
  })();