react-dom 19.2.0-canary-b9cfa0d3-20250505 → 19.2.0-canary-7a2c7045-20250506

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.
@@ -1584,14 +1584,11 @@
1584
1584
  ("checkbox" === type || "radio" === type)
1585
1585
  );
1586
1586
  }
1587
- function trackValueOnNode(node) {
1588
- var valueField = isCheckable(node) ? "checked" : "value",
1589
- descriptor = Object.getOwnPropertyDescriptor(
1590
- node.constructor.prototype,
1591
- valueField
1592
- );
1593
- checkFormFieldValueStringCoercion(node[valueField]);
1594
- var currentValue = "" + node[valueField];
1587
+ function trackValueOnNode(node, valueField, currentValue) {
1588
+ var descriptor = Object.getOwnPropertyDescriptor(
1589
+ node.constructor.prototype,
1590
+ valueField
1591
+ );
1595
1592
  if (
1596
1593
  !node.hasOwnProperty(valueField) &&
1597
1594
  "undefined" !== typeof descriptor &&
@@ -1630,7 +1627,14 @@
1630
1627
  }
1631
1628
  }
1632
1629
  function track(node) {
1633
- node._valueTracker || (node._valueTracker = trackValueOnNode(node));
1630
+ if (!node._valueTracker) {
1631
+ var valueField = isCheckable(node) ? "checked" : "value";
1632
+ node._valueTracker = trackValueOnNode(
1633
+ node,
1634
+ valueField,
1635
+ "" + node[valueField]
1636
+ );
1637
+ }
1634
1638
  }
1635
1639
  function updateValueIfChanged(node) {
1636
1640
  if (!node) return !1;
@@ -1753,8 +1757,10 @@
1753
1757
  ("submit" !== type && "reset" !== type) ||
1754
1758
  (void 0 !== value && null !== value)
1755
1759
  )
1756
- )
1760
+ ) {
1761
+ track(element);
1757
1762
  return;
1763
+ }
1758
1764
  defaultValue =
1759
1765
  null != defaultValue ? "" + getToStringValue(defaultValue) : "";
1760
1766
  value = null != value ? "" + getToStringValue(value) : defaultValue;
@@ -1773,6 +1779,7 @@
1773
1779
  "symbol" !== typeof name &&
1774
1780
  "boolean" !== typeof name &&
1775
1781
  (checkAttributeStringCoercion(name, "name"), (element.name = name));
1782
+ track(element);
1776
1783
  }
1777
1784
  function setDefaultValue(node, type, value) {
1778
1785
  ("number" === type && getActiveElement(node.ownerDocument) === node) ||
@@ -1916,6 +1923,7 @@
1916
1923
  "" !== children &&
1917
1924
  null !== children &&
1918
1925
  (element.value = children);
1926
+ track(element);
1919
1927
  }
1920
1928
  function findNotableNode(node, indent) {
1921
1929
  return void 0 === node.serverProps &&
@@ -3793,24 +3801,6 @@
3793
3801
  topLevelEventsToReactNames.set(domEventName, reactName);
3794
3802
  registerTwoPhaseEvent(reactName, [domEventName]);
3795
3803
  }
3796
- function createCapturedValueAtFiber(value, source) {
3797
- if ("object" === typeof value && null !== value) {
3798
- var existing = CapturedStacks.get(value);
3799
- if (void 0 !== existing) return existing;
3800
- source = {
3801
- value: value,
3802
- source: source,
3803
- stack: getStackByFiberInDevAndProd(source)
3804
- };
3805
- CapturedStacks.set(value, source);
3806
- return source;
3807
- }
3808
- return {
3809
- value: value,
3810
- source: source,
3811
- stack: getStackByFiberInDevAndProd(source)
3812
- };
3813
- }
3814
3804
  function finishQueueingConcurrentUpdates() {
3815
3805
  for (
3816
3806
  var endIndex = concurrentQueuesIndex,
@@ -4344,6 +4334,24 @@
4344
4334
  };
4345
4335
  return mode;
4346
4336
  }
4337
+ function createCapturedValueAtFiber(value, source) {
4338
+ if ("object" === typeof value && null !== value) {
4339
+ var existing = CapturedStacks.get(value);
4340
+ if (void 0 !== existing) return existing;
4341
+ source = {
4342
+ value: value,
4343
+ source: source,
4344
+ stack: getStackByFiberInDevAndProd(source)
4345
+ };
4346
+ CapturedStacks.set(value, source);
4347
+ return source;
4348
+ }
4349
+ return {
4350
+ value: value,
4351
+ source: source,
4352
+ stack: getStackByFiberInDevAndProd(source)
4353
+ };
4354
+ }
4347
4355
  function pushTreeFork(workInProgress, totalChildren) {
4348
4356
  warnIfNotHydrating();
4349
4357
  forkStack[forkStackIndex++] = treeForkCount;
@@ -4545,7 +4553,6 @@
4545
4553
  props.name,
4546
4554
  !0
4547
4555
  );
4548
- track(didHydrate);
4549
4556
  break;
4550
4557
  case "option":
4551
4558
  validateOptionProps(didHydrate, props);
@@ -4564,8 +4571,7 @@
4564
4571
  props.value,
4565
4572
  props.defaultValue,
4566
4573
  props.children
4567
- ),
4568
- track(didHydrate);
4574
+ );
4569
4575
  }
4570
4576
  type = props.children;
4571
4577
  ("string" !== typeof type &&
@@ -9687,24 +9693,24 @@
9687
9693
  return current;
9688
9694
  }
9689
9695
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
9690
- var JSCompiler_object_inline_digest_2532;
9691
- var JSCompiler_object_inline_stack_2533 = workInProgress.pendingProps;
9696
+ var JSCompiler_object_inline_digest_2544;
9697
+ var JSCompiler_object_inline_stack_2545 = workInProgress.pendingProps;
9692
9698
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
9693
- var JSCompiler_object_inline_message_2531 = !1;
9699
+ var JSCompiler_object_inline_message_2543 = !1;
9694
9700
  var didSuspend = 0 !== (workInProgress.flags & 128);
9695
- (JSCompiler_object_inline_digest_2532 = didSuspend) ||
9696
- (JSCompiler_object_inline_digest_2532 =
9701
+ (JSCompiler_object_inline_digest_2544 = didSuspend) ||
9702
+ (JSCompiler_object_inline_digest_2544 =
9697
9703
  null !== current && null === current.memoizedState
9698
9704
  ? !1
9699
9705
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
9700
- JSCompiler_object_inline_digest_2532 &&
9701
- ((JSCompiler_object_inline_message_2531 = !0),
9706
+ JSCompiler_object_inline_digest_2544 &&
9707
+ ((JSCompiler_object_inline_message_2543 = !0),
9702
9708
  (workInProgress.flags &= -129));
9703
- JSCompiler_object_inline_digest_2532 = 0 !== (workInProgress.flags & 32);
9709
+ JSCompiler_object_inline_digest_2544 = 0 !== (workInProgress.flags & 32);
9704
9710
  workInProgress.flags &= -33;
9705
9711
  if (null === current) {
9706
9712
  if (isHydrating) {
9707
- JSCompiler_object_inline_message_2531
9713
+ JSCompiler_object_inline_message_2543
9708
9714
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
9709
9715
  : reuseSuspenseHandlerOnStack(workInProgress);
9710
9716
  (current = nextHydratableInstance)
@@ -9717,18 +9723,18 @@
9717
9723
  ? renderLanes
9718
9724
  : null),
9719
9725
  null !== renderLanes &&
9720
- ((JSCompiler_object_inline_digest_2532 = {
9726
+ ((JSCompiler_object_inline_digest_2544 = {
9721
9727
  dehydrated: renderLanes,
9722
9728
  treeContext: getSuspendedTreeContext(),
9723
9729
  retryLane: 536870912,
9724
9730
  hydrationErrors: null
9725
9731
  }),
9726
9732
  (workInProgress.memoizedState =
9727
- JSCompiler_object_inline_digest_2532),
9728
- (JSCompiler_object_inline_digest_2532 =
9733
+ JSCompiler_object_inline_digest_2544),
9734
+ (JSCompiler_object_inline_digest_2544 =
9729
9735
  createFiberFromDehydratedFragment(renderLanes)),
9730
- (JSCompiler_object_inline_digest_2532.return = workInProgress),
9731
- (workInProgress.child = JSCompiler_object_inline_digest_2532),
9736
+ (JSCompiler_object_inline_digest_2544.return = workInProgress),
9737
+ (workInProgress.child = JSCompiler_object_inline_digest_2544),
9732
9738
  (hydrationParentFiber = workInProgress),
9733
9739
  (nextHydratableInstance = null)))
9734
9740
  : (renderLanes = null);
@@ -9742,36 +9748,36 @@
9742
9748
  : (workInProgress.lanes = 536870912);
9743
9749
  return null;
9744
9750
  }
9745
- var nextPrimaryChildren = JSCompiler_object_inline_stack_2533.children;
9746
- JSCompiler_object_inline_stack_2533 =
9747
- JSCompiler_object_inline_stack_2533.fallback;
9748
- if (JSCompiler_object_inline_message_2531) {
9751
+ var nextPrimaryChildren = JSCompiler_object_inline_stack_2545.children;
9752
+ JSCompiler_object_inline_stack_2545 =
9753
+ JSCompiler_object_inline_stack_2545.fallback;
9754
+ if (JSCompiler_object_inline_message_2543) {
9749
9755
  reuseSuspenseHandlerOnStack(workInProgress);
9750
9756
  var mode = workInProgress.mode;
9751
9757
  nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
9752
9758
  { mode: "hidden", children: nextPrimaryChildren },
9753
9759
  mode
9754
9760
  );
9755
- JSCompiler_object_inline_stack_2533 = createFiberFromFragment(
9756
- JSCompiler_object_inline_stack_2533,
9761
+ JSCompiler_object_inline_stack_2545 = createFiberFromFragment(
9762
+ JSCompiler_object_inline_stack_2545,
9757
9763
  mode,
9758
9764
  renderLanes,
9759
9765
  null
9760
9766
  );
9761
9767
  nextPrimaryChildren.return = workInProgress;
9762
- JSCompiler_object_inline_stack_2533.return = workInProgress;
9763
- nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2533;
9768
+ JSCompiler_object_inline_stack_2545.return = workInProgress;
9769
+ nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2545;
9764
9770
  workInProgress.child = nextPrimaryChildren;
9765
9771
  nextPrimaryChildren = workInProgress.child;
9766
9772
  nextPrimaryChildren.memoizedState =
9767
9773
  mountSuspenseOffscreenState(renderLanes);
9768
9774
  nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
9769
9775
  current,
9770
- JSCompiler_object_inline_digest_2532,
9776
+ JSCompiler_object_inline_digest_2544,
9771
9777
  renderLanes
9772
9778
  );
9773
9779
  workInProgress.memoizedState = SUSPENDED_MARKER;
9774
- return JSCompiler_object_inline_stack_2533;
9780
+ return JSCompiler_object_inline_stack_2545;
9775
9781
  }
9776
9782
  pushPrimaryTreeSuspenseHandler(workInProgress);
9777
9783
  return mountSuspensePrimaryChildren(
@@ -9781,8 +9787,8 @@
9781
9787
  }
9782
9788
  var prevState = current.memoizedState;
9783
9789
  if (null !== prevState) {
9784
- var JSCompiler_object_inline_componentStack_2534 = prevState.dehydrated;
9785
- if (null !== JSCompiler_object_inline_componentStack_2534) {
9790
+ var JSCompiler_object_inline_componentStack_2546 = prevState.dehydrated;
9791
+ if (null !== JSCompiler_object_inline_componentStack_2546) {
9786
9792
  if (didSuspend)
9787
9793
  workInProgress.flags & 256
9788
9794
  ? (pushPrimaryTreeSuspenseHandler(workInProgress),
@@ -9799,13 +9805,13 @@
9799
9805
  (workInProgress = null))
9800
9806
  : (reuseSuspenseHandlerOnStack(workInProgress),
9801
9807
  (nextPrimaryChildren =
9802
- JSCompiler_object_inline_stack_2533.fallback),
9808
+ JSCompiler_object_inline_stack_2545.fallback),
9803
9809
  (mode = workInProgress.mode),
9804
- (JSCompiler_object_inline_stack_2533 =
9810
+ (JSCompiler_object_inline_stack_2545 =
9805
9811
  mountWorkInProgressOffscreenFiber(
9806
9812
  {
9807
9813
  mode: "visible",
9808
- children: JSCompiler_object_inline_stack_2533.children
9814
+ children: JSCompiler_object_inline_stack_2545.children
9809
9815
  },
9810
9816
  mode
9811
9817
  )),
@@ -9816,24 +9822,24 @@
9816
9822
  null
9817
9823
  )),
9818
9824
  (nextPrimaryChildren.flags |= 2),
9819
- (JSCompiler_object_inline_stack_2533.return = workInProgress),
9825
+ (JSCompiler_object_inline_stack_2545.return = workInProgress),
9820
9826
  (nextPrimaryChildren.return = workInProgress),
9821
- (JSCompiler_object_inline_stack_2533.sibling =
9827
+ (JSCompiler_object_inline_stack_2545.sibling =
9822
9828
  nextPrimaryChildren),
9823
- (workInProgress.child = JSCompiler_object_inline_stack_2533),
9829
+ (workInProgress.child = JSCompiler_object_inline_stack_2545),
9824
9830
  reconcileChildFibers(
9825
9831
  workInProgress,
9826
9832
  current.child,
9827
9833
  null,
9828
9834
  renderLanes
9829
9835
  ),
9830
- (JSCompiler_object_inline_stack_2533 = workInProgress.child),
9831
- (JSCompiler_object_inline_stack_2533.memoizedState =
9836
+ (JSCompiler_object_inline_stack_2545 = workInProgress.child),
9837
+ (JSCompiler_object_inline_stack_2545.memoizedState =
9832
9838
  mountSuspenseOffscreenState(renderLanes)),
9833
- (JSCompiler_object_inline_stack_2533.childLanes =
9839
+ (JSCompiler_object_inline_stack_2545.childLanes =
9834
9840
  getRemainingWorkInPrimaryTree(
9835
9841
  current,
9836
- JSCompiler_object_inline_digest_2532,
9842
+ JSCompiler_object_inline_digest_2544,
9837
9843
  renderLanes
9838
9844
  )),
9839
9845
  (workInProgress.memoizedState = SUSPENDED_MARKER),
@@ -9842,45 +9848,45 @@
9842
9848
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9843
9849
  warnIfHydrating(),
9844
9850
  isSuspenseInstanceFallback(
9845
- JSCompiler_object_inline_componentStack_2534
9851
+ JSCompiler_object_inline_componentStack_2546
9846
9852
  ))
9847
9853
  ) {
9848
- JSCompiler_object_inline_digest_2532 =
9849
- JSCompiler_object_inline_componentStack_2534.nextSibling &&
9850
- JSCompiler_object_inline_componentStack_2534.nextSibling.dataset;
9851
- if (JSCompiler_object_inline_digest_2532) {
9852
- nextPrimaryChildren = JSCompiler_object_inline_digest_2532.dgst;
9853
- var message = JSCompiler_object_inline_digest_2532.msg;
9854
- mode = JSCompiler_object_inline_digest_2532.stck;
9855
- var componentStack = JSCompiler_object_inline_digest_2532.cstck;
9854
+ JSCompiler_object_inline_digest_2544 =
9855
+ JSCompiler_object_inline_componentStack_2546.nextSibling &&
9856
+ JSCompiler_object_inline_componentStack_2546.nextSibling.dataset;
9857
+ if (JSCompiler_object_inline_digest_2544) {
9858
+ nextPrimaryChildren = JSCompiler_object_inline_digest_2544.dgst;
9859
+ var message = JSCompiler_object_inline_digest_2544.msg;
9860
+ mode = JSCompiler_object_inline_digest_2544.stck;
9861
+ var componentStack = JSCompiler_object_inline_digest_2544.cstck;
9856
9862
  }
9857
- JSCompiler_object_inline_message_2531 = message;
9858
- JSCompiler_object_inline_digest_2532 = nextPrimaryChildren;
9859
- JSCompiler_object_inline_stack_2533 = mode;
9860
- JSCompiler_object_inline_componentStack_2534 = componentStack;
9861
- nextPrimaryChildren = JSCompiler_object_inline_message_2531;
9862
- mode = JSCompiler_object_inline_componentStack_2534;
9863
+ JSCompiler_object_inline_message_2543 = message;
9864
+ JSCompiler_object_inline_digest_2544 = nextPrimaryChildren;
9865
+ JSCompiler_object_inline_stack_2545 = mode;
9866
+ JSCompiler_object_inline_componentStack_2546 = componentStack;
9867
+ nextPrimaryChildren = JSCompiler_object_inline_message_2543;
9868
+ mode = JSCompiler_object_inline_componentStack_2546;
9863
9869
  nextPrimaryChildren = nextPrimaryChildren
9864
9870
  ? Error(nextPrimaryChildren)
9865
9871
  : Error(
9866
9872
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9867
9873
  );
9868
9874
  nextPrimaryChildren.stack =
9869
- JSCompiler_object_inline_stack_2533 || "";
9870
- nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2532;
9871
- JSCompiler_object_inline_digest_2532 =
9875
+ JSCompiler_object_inline_stack_2545 || "";
9876
+ nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2544;
9877
+ JSCompiler_object_inline_digest_2544 =
9872
9878
  void 0 === mode ? null : mode;
9873
- JSCompiler_object_inline_stack_2533 = {
9879
+ JSCompiler_object_inline_stack_2545 = {
9874
9880
  value: nextPrimaryChildren,
9875
9881
  source: null,
9876
- stack: JSCompiler_object_inline_digest_2532
9882
+ stack: JSCompiler_object_inline_digest_2544
9877
9883
  };
9878
- "string" === typeof JSCompiler_object_inline_digest_2532 &&
9884
+ "string" === typeof JSCompiler_object_inline_digest_2544 &&
9879
9885
  CapturedStacks.set(
9880
9886
  nextPrimaryChildren,
9881
- JSCompiler_object_inline_stack_2533
9887
+ JSCompiler_object_inline_stack_2545
9882
9888
  );
9883
- queueHydrationError(JSCompiler_object_inline_stack_2533);
9889
+ queueHydrationError(JSCompiler_object_inline_stack_2545);
9884
9890
  workInProgress = retrySuspenseComponentWithoutHydrating(
9885
9891
  current,
9886
9892
  workInProgress,
@@ -9894,35 +9900,35 @@
9894
9900
  renderLanes,
9895
9901
  !1
9896
9902
  ),
9897
- (JSCompiler_object_inline_digest_2532 =
9903
+ (JSCompiler_object_inline_digest_2544 =
9898
9904
  0 !== (renderLanes & current.childLanes)),
9899
- didReceiveUpdate || JSCompiler_object_inline_digest_2532)
9905
+ didReceiveUpdate || JSCompiler_object_inline_digest_2544)
9900
9906
  ) {
9901
- JSCompiler_object_inline_digest_2532 = workInProgressRoot;
9907
+ JSCompiler_object_inline_digest_2544 = workInProgressRoot;
9902
9908
  if (
9903
- null !== JSCompiler_object_inline_digest_2532 &&
9904
- ((JSCompiler_object_inline_stack_2533 = getBumpedLaneForHydration(
9905
- JSCompiler_object_inline_digest_2532,
9909
+ null !== JSCompiler_object_inline_digest_2544 &&
9910
+ ((JSCompiler_object_inline_stack_2545 = getBumpedLaneForHydration(
9911
+ JSCompiler_object_inline_digest_2544,
9906
9912
  renderLanes
9907
9913
  )),
9908
- 0 !== JSCompiler_object_inline_stack_2533 &&
9909
- JSCompiler_object_inline_stack_2533 !== prevState.retryLane)
9914
+ 0 !== JSCompiler_object_inline_stack_2545 &&
9915
+ JSCompiler_object_inline_stack_2545 !== prevState.retryLane)
9910
9916
  )
9911
9917
  throw (
9912
- ((prevState.retryLane = JSCompiler_object_inline_stack_2533),
9918
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2545),
9913
9919
  enqueueConcurrentRenderForLane(
9914
9920
  current,
9915
- JSCompiler_object_inline_stack_2533
9921
+ JSCompiler_object_inline_stack_2545
9916
9922
  ),
9917
9923
  scheduleUpdateOnFiber(
9918
- JSCompiler_object_inline_digest_2532,
9924
+ JSCompiler_object_inline_digest_2544,
9919
9925
  current,
9920
- JSCompiler_object_inline_stack_2533
9926
+ JSCompiler_object_inline_stack_2545
9921
9927
  ),
9922
9928
  SelectiveHydrationException)
9923
9929
  );
9924
9930
  isSuspenseInstancePending(
9925
- JSCompiler_object_inline_componentStack_2534
9931
+ JSCompiler_object_inline_componentStack_2546
9926
9932
  ) || renderDidSuspendDelayIfPossible();
9927
9933
  workInProgress = retrySuspenseComponentWithoutHydrating(
9928
9934
  current,
@@ -9931,14 +9937,14 @@
9931
9937
  );
9932
9938
  } else
9933
9939
  isSuspenseInstancePending(
9934
- JSCompiler_object_inline_componentStack_2534
9940
+ JSCompiler_object_inline_componentStack_2546
9935
9941
  )
9936
9942
  ? ((workInProgress.flags |= 192),
9937
9943
  (workInProgress.child = current.child),
9938
9944
  (workInProgress = null))
9939
9945
  : ((current = prevState.treeContext),
9940
9946
  (nextHydratableInstance = getNextHydratable(
9941
- JSCompiler_object_inline_componentStack_2534.nextSibling
9947
+ JSCompiler_object_inline_componentStack_2546.nextSibling
9942
9948
  )),
9943
9949
  (hydrationParentFiber = workInProgress),
9944
9950
  (isHydrating = !0),
@@ -9950,32 +9956,32 @@
9950
9956
  restoreSuspendedTreeContext(workInProgress, current),
9951
9957
  (workInProgress = mountSuspensePrimaryChildren(
9952
9958
  workInProgress,
9953
- JSCompiler_object_inline_stack_2533.children
9959
+ JSCompiler_object_inline_stack_2545.children
9954
9960
  )),
9955
9961
  (workInProgress.flags |= 4096));
9956
9962
  return workInProgress;
9957
9963
  }
9958
9964
  }
9959
- if (JSCompiler_object_inline_message_2531)
9965
+ if (JSCompiler_object_inline_message_2543)
9960
9966
  return (
9961
9967
  reuseSuspenseHandlerOnStack(workInProgress),
9962
- (nextPrimaryChildren = JSCompiler_object_inline_stack_2533.fallback),
9968
+ (nextPrimaryChildren = JSCompiler_object_inline_stack_2545.fallback),
9963
9969
  (mode = workInProgress.mode),
9964
9970
  (componentStack = current.child),
9965
- (JSCompiler_object_inline_componentStack_2534 =
9971
+ (JSCompiler_object_inline_componentStack_2546 =
9966
9972
  componentStack.sibling),
9967
- (JSCompiler_object_inline_stack_2533 = createWorkInProgress(
9973
+ (JSCompiler_object_inline_stack_2545 = createWorkInProgress(
9968
9974
  componentStack,
9969
9975
  {
9970
9976
  mode: "hidden",
9971
- children: JSCompiler_object_inline_stack_2533.children
9977
+ children: JSCompiler_object_inline_stack_2545.children
9972
9978
  }
9973
9979
  )),
9974
- (JSCompiler_object_inline_stack_2533.subtreeFlags =
9980
+ (JSCompiler_object_inline_stack_2545.subtreeFlags =
9975
9981
  componentStack.subtreeFlags & 65011712),
9976
- null !== JSCompiler_object_inline_componentStack_2534
9982
+ null !== JSCompiler_object_inline_componentStack_2546
9977
9983
  ? (nextPrimaryChildren = createWorkInProgress(
9978
- JSCompiler_object_inline_componentStack_2534,
9984
+ JSCompiler_object_inline_componentStack_2546,
9979
9985
  nextPrimaryChildren
9980
9986
  ))
9981
9987
  : ((nextPrimaryChildren = createFiberFromFragment(
@@ -9986,24 +9992,24 @@
9986
9992
  )),
9987
9993
  (nextPrimaryChildren.flags |= 2)),
9988
9994
  (nextPrimaryChildren.return = workInProgress),
9989
- (JSCompiler_object_inline_stack_2533.return = workInProgress),
9990
- (JSCompiler_object_inline_stack_2533.sibling = nextPrimaryChildren),
9991
- (workInProgress.child = JSCompiler_object_inline_stack_2533),
9992
- (JSCompiler_object_inline_stack_2533 = nextPrimaryChildren),
9995
+ (JSCompiler_object_inline_stack_2545.return = workInProgress),
9996
+ (JSCompiler_object_inline_stack_2545.sibling = nextPrimaryChildren),
9997
+ (workInProgress.child = JSCompiler_object_inline_stack_2545),
9998
+ (JSCompiler_object_inline_stack_2545 = nextPrimaryChildren),
9993
9999
  (nextPrimaryChildren = workInProgress.child),
9994
10000
  (mode = current.child.memoizedState),
9995
10001
  null === mode
9996
10002
  ? (mode = mountSuspenseOffscreenState(renderLanes))
9997
10003
  : ((componentStack = mode.cachePool),
9998
10004
  null !== componentStack
9999
- ? ((JSCompiler_object_inline_componentStack_2534 =
10005
+ ? ((JSCompiler_object_inline_componentStack_2546 =
10000
10006
  CacheContext._currentValue),
10001
10007
  (componentStack =
10002
10008
  componentStack.parent !==
10003
- JSCompiler_object_inline_componentStack_2534
10009
+ JSCompiler_object_inline_componentStack_2546
10004
10010
  ? {
10005
- parent: JSCompiler_object_inline_componentStack_2534,
10006
- pool: JSCompiler_object_inline_componentStack_2534
10011
+ parent: JSCompiler_object_inline_componentStack_2546,
10012
+ pool: JSCompiler_object_inline_componentStack_2546
10007
10013
  }
10008
10014
  : componentStack))
10009
10015
  : (componentStack = getSuspendedCache()),
@@ -10014,27 +10020,27 @@
10014
10020
  (nextPrimaryChildren.memoizedState = mode),
10015
10021
  (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
10016
10022
  current,
10017
- JSCompiler_object_inline_digest_2532,
10023
+ JSCompiler_object_inline_digest_2544,
10018
10024
  renderLanes
10019
10025
  )),
10020
10026
  (workInProgress.memoizedState = SUSPENDED_MARKER),
10021
- JSCompiler_object_inline_stack_2533
10027
+ JSCompiler_object_inline_stack_2545
10022
10028
  );
10023
10029
  pushPrimaryTreeSuspenseHandler(workInProgress);
10024
10030
  renderLanes = current.child;
10025
10031
  current = renderLanes.sibling;
10026
10032
  renderLanes = createWorkInProgress(renderLanes, {
10027
10033
  mode: "visible",
10028
- children: JSCompiler_object_inline_stack_2533.children
10034
+ children: JSCompiler_object_inline_stack_2545.children
10029
10035
  });
10030
10036
  renderLanes.return = workInProgress;
10031
10037
  renderLanes.sibling = null;
10032
10038
  null !== current &&
10033
- ((JSCompiler_object_inline_digest_2532 = workInProgress.deletions),
10034
- null === JSCompiler_object_inline_digest_2532
10039
+ ((JSCompiler_object_inline_digest_2544 = workInProgress.deletions),
10040
+ null === JSCompiler_object_inline_digest_2544
10035
10041
  ? ((workInProgress.deletions = [current]),
10036
10042
  (workInProgress.flags |= 16))
10037
- : JSCompiler_object_inline_digest_2532.push(current));
10043
+ : JSCompiler_object_inline_digest_2544.push(current));
10038
10044
  workInProgress.child = renderLanes;
10039
10045
  workInProgress.memoizedState = null;
10040
10046
  return renderLanes;
@@ -13039,7 +13045,29 @@
13039
13045
  case 26:
13040
13046
  case 5:
13041
13047
  recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
13042
- null === current && flags & 4 && commitHostMount(finishedWork);
13048
+ if (null === current)
13049
+ if (flags & 4) commitHostMount(finishedWork);
13050
+ else if (flags & 64) {
13051
+ finishedRoot = finishedWork.type;
13052
+ current = finishedWork.memoizedProps;
13053
+ prevProps = finishedWork.stateNode;
13054
+ try {
13055
+ runWithFiberInDEV(
13056
+ finishedWork,
13057
+ commitHydratedInstance,
13058
+ prevProps,
13059
+ finishedRoot,
13060
+ current,
13061
+ finishedWork
13062
+ );
13063
+ } catch (error) {
13064
+ captureCommitPhaseError(
13065
+ finishedWork,
13066
+ finishedWork.return,
13067
+ error
13068
+ );
13069
+ }
13070
+ }
13043
13071
  flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);
13044
13072
  break;
13045
13073
  case 12:
@@ -18292,7 +18320,6 @@
18292
18320
  hasSrcSet,
18293
18321
  !1
18294
18322
  );
18295
- track(domElement);
18296
18323
  return;
18297
18324
  case "select":
18298
18325
  checkControlledValueProps("select", props);
@@ -18367,7 +18394,6 @@
18367
18394
  }
18368
18395
  validateTextareaProps(domElement, props);
18369
18396
  initTextarea(domElement, hasSrc, hasSrcSet, propKey);
18370
- track(domElement);
18371
18397
  return;
18372
18398
  case "option":
18373
18399
  validateOptionProps(domElement, props);
@@ -19802,6 +19828,7 @@
19802
19828
  : newProps.srcSet && (domElement.srcset = newProps.srcSet);
19803
19829
  }
19804
19830
  }
19831
+ function commitHydratedInstance() {}
19805
19832
  function commitUpdate(domElement, type, oldProps, newProps) {
19806
19833
  updateProperties(domElement, type, oldProps, newProps);
19807
19834
  domElement[internalPropsKey] = newProps;
@@ -23085,8 +23112,22 @@
23085
23112
  " "
23086
23113
  );
23087
23114
  simpleEventPluginEvents.push("scrollEnd");
23088
- var CapturedStacks = new WeakMap(),
23089
- OffscreenVisible = 1,
23115
+ var lastResetTime = 0;
23116
+ if (
23117
+ "object" === typeof performance &&
23118
+ "function" === typeof performance.now
23119
+ ) {
23120
+ var localPerformance = performance;
23121
+ var getCurrentTime = function () {
23122
+ return localPerformance.now();
23123
+ };
23124
+ } else {
23125
+ var localDate = Date;
23126
+ getCurrentTime = function () {
23127
+ return localDate.now();
23128
+ };
23129
+ }
23130
+ var OffscreenVisible = 1,
23090
23131
  OffscreenPassiveEffectsConnected = 2,
23091
23132
  concurrentQueues = [],
23092
23133
  concurrentQueuesIndex = 0,
@@ -23110,7 +23151,8 @@
23110
23151
  } catch (e$3) {
23111
23152
  hasBadMapPolyfill = !0;
23112
23153
  }
23113
- var forkStack = [],
23154
+ var CapturedStacks = new WeakMap(),
23155
+ forkStack = [],
23114
23156
  forkStackIndex = 0,
23115
23157
  treeForkProvider = null,
23116
23158
  treeForkCount = 0,
@@ -23129,22 +23171,7 @@
23129
23171
  HydrationMismatchException = Error(
23130
23172
  "Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
23131
23173
  ),
23132
- lastResetTime = 0;
23133
- if (
23134
- "object" === typeof performance &&
23135
- "function" === typeof performance.now
23136
- ) {
23137
- var localPerformance = performance;
23138
- var getCurrentTime = function () {
23139
- return localPerformance.now();
23140
- };
23141
- } else {
23142
- var localDate = Date;
23143
- getCurrentTime = function () {
23144
- return localDate.now();
23145
- };
23146
- }
23147
- var valueCursor = createCursor(null);
23174
+ valueCursor = createCursor(null);
23148
23175
  var rendererCursorDEV = createCursor(null);
23149
23176
  var rendererSigil = {};
23150
23177
  var currentlyRenderingFiber$1 = null,
@@ -25400,11 +25427,11 @@
25400
25427
  };
25401
25428
  (function () {
25402
25429
  var isomorphicReactPackageVersion = React.version;
25403
- if ("19.2.0-canary-b9cfa0d3-20250505" !== isomorphicReactPackageVersion)
25430
+ if ("19.2.0-canary-7a2c7045-20250506" !== isomorphicReactPackageVersion)
25404
25431
  throw Error(
25405
25432
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
25406
25433
  (isomorphicReactPackageVersion +
25407
- "\n - react-dom: 19.2.0-canary-b9cfa0d3-20250505\nLearn more: https://react.dev/warnings/version-mismatch")
25434
+ "\n - react-dom: 19.2.0-canary-7a2c7045-20250506\nLearn more: https://react.dev/warnings/version-mismatch")
25408
25435
  );
25409
25436
  })();
25410
25437
  ("function" === typeof Map &&
@@ -25441,10 +25468,10 @@
25441
25468
  !(function () {
25442
25469
  var internals = {
25443
25470
  bundleType: 1,
25444
- version: "19.2.0-canary-b9cfa0d3-20250505",
25471
+ version: "19.2.0-canary-7a2c7045-20250506",
25445
25472
  rendererPackageName: "react-dom",
25446
25473
  currentDispatcherRef: ReactSharedInternals,
25447
- reconcilerVersion: "19.2.0-canary-b9cfa0d3-20250505"
25474
+ reconcilerVersion: "19.2.0-canary-7a2c7045-20250506"
25448
25475
  };
25449
25476
  internals.overrideHookState = overrideHookState;
25450
25477
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25918,7 +25945,7 @@
25918
25945
  exports.useFormStatus = function () {
25919
25946
  return resolveDispatcher().useHostTransitionStatus();
25920
25947
  };
25921
- exports.version = "19.2.0-canary-b9cfa0d3-20250505";
25948
+ exports.version = "19.2.0-canary-7a2c7045-20250506";
25922
25949
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25923
25950
  "function" ===
25924
25951
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&