react-dom 19.2.0-canary-c44e4a25-20250409 → 19.2.0-canary-39cad7af-20250411

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9594,141 +9594,129 @@
9594
9594
  var JSCompiler_object_inline_digest_2452;
9595
9595
  var JSCompiler_object_inline_stack_2453 = workInProgress.pendingProps;
9596
9596
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
9597
- var JSCompiler_object_inline_componentStack_2454 = !1;
9598
- var didSuspend = 0 !== (workInProgress.flags & 128);
9597
+ var showFallback = !1,
9598
+ didSuspend = 0 !== (workInProgress.flags & 128);
9599
9599
  (JSCompiler_object_inline_digest_2452 = didSuspend) ||
9600
9600
  (JSCompiler_object_inline_digest_2452 =
9601
9601
  null !== current && null === current.memoizedState
9602
9602
  ? !1
9603
9603
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
9604
9604
  JSCompiler_object_inline_digest_2452 &&
9605
- ((JSCompiler_object_inline_componentStack_2454 = !0),
9606
- (workInProgress.flags &= -129));
9605
+ ((showFallback = !0), (workInProgress.flags &= -129));
9607
9606
  JSCompiler_object_inline_digest_2452 = 0 !== (workInProgress.flags & 32);
9608
9607
  workInProgress.flags &= -33;
9609
9608
  if (null === current) {
9610
9609
  if (isHydrating) {
9611
- JSCompiler_object_inline_componentStack_2454
9610
+ showFallback
9612
9611
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
9613
9612
  : reuseSuspenseHandlerOnStack(workInProgress);
9614
- if (isHydrating) {
9615
- var JSCompiler_object_inline_message_2451 = nextHydratableInstance;
9616
- var JSCompiler_temp;
9617
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2451)) {
9618
- c: {
9619
- var instance = JSCompiler_object_inline_message_2451;
9620
- for (
9621
- JSCompiler_temp = rootOrSingletonContext;
9622
- 8 !== instance.nodeType;
9613
+ if ((current = nextHydratableInstance)) {
9614
+ a: {
9615
+ JSCompiler_object_inline_digest_2452 = current;
9616
+ for (
9617
+ renderLanes = rootOrSingletonContext;
9618
+ 8 !== JSCompiler_object_inline_digest_2452.nodeType;
9623
9619
 
9624
- ) {
9625
- if (!JSCompiler_temp) {
9626
- JSCompiler_temp = null;
9627
- break c;
9628
- }
9629
- instance = getNextHydratable(instance.nextSibling);
9630
- if (null === instance) {
9631
- JSCompiler_temp = null;
9632
- break c;
9633
- }
9620
+ ) {
9621
+ if (!renderLanes) {
9622
+ renderLanes = null;
9623
+ break a;
9624
+ }
9625
+ JSCompiler_object_inline_digest_2452 = getNextHydratable(
9626
+ JSCompiler_object_inline_digest_2452.nextSibling
9627
+ );
9628
+ if (null === JSCompiler_object_inline_digest_2452) {
9629
+ renderLanes = null;
9630
+ break a;
9634
9631
  }
9635
- JSCompiler_temp = instance;
9636
9632
  }
9637
- null !== JSCompiler_temp
9638
- ? (warnIfNotHydrating(),
9639
- (workInProgress.memoizedState = {
9640
- dehydrated: JSCompiler_temp,
9641
- treeContext:
9642
- null !== treeContextProvider
9643
- ? { id: treeContextId, overflow: treeContextOverflow }
9644
- : null,
9645
- retryLane: 536870912,
9646
- hydrationErrors: null
9647
- }),
9648
- (instance = createFiber(18, null, null, NoMode)),
9649
- (instance.stateNode = JSCompiler_temp),
9650
- (instance.return = workInProgress),
9651
- (workInProgress.child = instance),
9652
- (hydrationParentFiber = workInProgress),
9653
- (nextHydratableInstance = null),
9654
- (JSCompiler_temp = !0))
9655
- : (JSCompiler_temp = !1);
9656
- JSCompiler_temp = !JSCompiler_temp;
9633
+ renderLanes = JSCompiler_object_inline_digest_2452;
9657
9634
  }
9658
- JSCompiler_temp &&
9659
- (warnNonHydratedInstance(
9660
- workInProgress,
9661
- JSCompiler_object_inline_message_2451
9662
- ),
9663
- throwOnHydrationMismatch(workInProgress));
9664
- }
9665
- JSCompiler_object_inline_message_2451 = workInProgress.memoizedState;
9666
- if (
9667
- null !== JSCompiler_object_inline_message_2451 &&
9668
- ((JSCompiler_object_inline_message_2451 =
9669
- JSCompiler_object_inline_message_2451.dehydrated),
9670
- null !== JSCompiler_object_inline_message_2451)
9671
- )
9672
- return (
9673
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2451)
9674
- ? (workInProgress.lanes = 32)
9675
- : (workInProgress.lanes = 536870912),
9676
- null
9635
+ null !== renderLanes &&
9636
+ (warnIfNotHydrating(),
9637
+ (workInProgress.memoizedState = {
9638
+ dehydrated: renderLanes,
9639
+ treeContext:
9640
+ null !== treeContextProvider
9641
+ ? { id: treeContextId, overflow: treeContextOverflow }
9642
+ : null,
9643
+ retryLane: 536870912,
9644
+ hydrationErrors: null
9645
+ }),
9646
+ (JSCompiler_object_inline_digest_2452 = renderLanes),
9647
+ (JSCompiler_object_inline_stack_2453 = createFiber(
9648
+ 18,
9649
+ null,
9650
+ null,
9651
+ NoMode
9652
+ )),
9653
+ (JSCompiler_object_inline_stack_2453.stateNode =
9654
+ JSCompiler_object_inline_digest_2452),
9655
+ (JSCompiler_object_inline_stack_2453.return = workInProgress),
9656
+ (workInProgress.child = JSCompiler_object_inline_stack_2453),
9657
+ (hydrationParentFiber = workInProgress),
9658
+ (nextHydratableInstance = null));
9659
+ } else renderLanes = null;
9660
+ if (null === renderLanes)
9661
+ throw (
9662
+ (warnNonHydratedInstance(workInProgress, current),
9663
+ throwOnHydrationMismatch(workInProgress))
9677
9664
  );
9678
- popSuspenseHandler(workInProgress);
9665
+ isSuspenseInstanceFallback(renderLanes)
9666
+ ? (workInProgress.lanes = 32)
9667
+ : (workInProgress.lanes = 536870912);
9668
+ return null;
9679
9669
  }
9680
- JSCompiler_object_inline_message_2451 =
9670
+ var JSCompiler_object_inline_componentStack_2454 =
9681
9671
  JSCompiler_object_inline_stack_2453.children;
9682
9672
  JSCompiler_object_inline_stack_2453 =
9683
9673
  JSCompiler_object_inline_stack_2453.fallback;
9684
- if (JSCompiler_object_inline_componentStack_2454)
9685
- return (
9686
- reuseSuspenseHandlerOnStack(workInProgress),
9687
- (JSCompiler_object_inline_componentStack_2454 =
9688
- workInProgress.mode),
9689
- (JSCompiler_object_inline_message_2451 =
9690
- mountWorkInProgressOffscreenFiber(
9691
- {
9692
- mode: "hidden",
9693
- children: JSCompiler_object_inline_message_2451
9694
- },
9695
- JSCompiler_object_inline_componentStack_2454
9696
- )),
9697
- (JSCompiler_object_inline_stack_2453 = createFiberFromFragment(
9698
- JSCompiler_object_inline_stack_2453,
9699
- JSCompiler_object_inline_componentStack_2454,
9700
- renderLanes,
9701
- null
9702
- )),
9703
- (JSCompiler_object_inline_message_2451.return = workInProgress),
9704
- (JSCompiler_object_inline_stack_2453.return = workInProgress),
9705
- (JSCompiler_object_inline_message_2451.sibling =
9706
- JSCompiler_object_inline_stack_2453),
9707
- (workInProgress.child = JSCompiler_object_inline_message_2451),
9708
- (JSCompiler_object_inline_componentStack_2454 =
9709
- workInProgress.child),
9710
- (JSCompiler_object_inline_componentStack_2454.memoizedState =
9711
- mountSuspenseOffscreenState(renderLanes)),
9712
- (JSCompiler_object_inline_componentStack_2454.childLanes =
9713
- getRemainingWorkInPrimaryTree(
9714
- current,
9715
- JSCompiler_object_inline_digest_2452,
9716
- renderLanes
9717
- )),
9718
- (workInProgress.memoizedState = SUSPENDED_MARKER),
9719
- JSCompiler_object_inline_stack_2453
9674
+ if (showFallback) {
9675
+ reuseSuspenseHandlerOnStack(workInProgress);
9676
+ var mode = workInProgress.mode;
9677
+ JSCompiler_object_inline_componentStack_2454 =
9678
+ mountWorkInProgressOffscreenFiber(
9679
+ {
9680
+ mode: "hidden",
9681
+ children: JSCompiler_object_inline_componentStack_2454
9682
+ },
9683
+ mode
9684
+ );
9685
+ JSCompiler_object_inline_stack_2453 = createFiberFromFragment(
9686
+ JSCompiler_object_inline_stack_2453,
9687
+ mode,
9688
+ renderLanes,
9689
+ null
9720
9690
  );
9691
+ JSCompiler_object_inline_componentStack_2454.return = workInProgress;
9692
+ JSCompiler_object_inline_stack_2453.return = workInProgress;
9693
+ JSCompiler_object_inline_componentStack_2454.sibling =
9694
+ JSCompiler_object_inline_stack_2453;
9695
+ workInProgress.child = JSCompiler_object_inline_componentStack_2454;
9696
+ JSCompiler_object_inline_componentStack_2454 = workInProgress.child;
9697
+ JSCompiler_object_inline_componentStack_2454.memoizedState =
9698
+ mountSuspenseOffscreenState(renderLanes);
9699
+ JSCompiler_object_inline_componentStack_2454.childLanes =
9700
+ getRemainingWorkInPrimaryTree(
9701
+ current,
9702
+ JSCompiler_object_inline_digest_2452,
9703
+ renderLanes
9704
+ );
9705
+ workInProgress.memoizedState = SUSPENDED_MARKER;
9706
+ return JSCompiler_object_inline_stack_2453;
9707
+ }
9721
9708
  pushPrimaryTreeSuspenseHandler(workInProgress);
9722
9709
  return mountSuspensePrimaryChildren(
9723
9710
  workInProgress,
9724
- JSCompiler_object_inline_message_2451
9711
+ JSCompiler_object_inline_componentStack_2454
9725
9712
  );
9726
9713
  }
9727
- var prevState = current.memoizedState;
9714
+ var JSCompiler_object_inline_message_2451 = current.memoizedState;
9728
9715
  if (
9729
- null !== prevState &&
9730
- ((JSCompiler_object_inline_message_2451 = prevState.dehydrated),
9731
- null !== JSCompiler_object_inline_message_2451)
9716
+ null !== JSCompiler_object_inline_message_2451 &&
9717
+ ((JSCompiler_object_inline_componentStack_2454 =
9718
+ JSCompiler_object_inline_message_2451.dehydrated),
9719
+ null !== JSCompiler_object_inline_componentStack_2454)
9732
9720
  ) {
9733
9721
  if (didSuspend)
9734
9722
  workInProgress.flags & 256
@@ -9747,19 +9735,19 @@
9747
9735
  : (reuseSuspenseHandlerOnStack(workInProgress),
9748
9736
  (JSCompiler_object_inline_componentStack_2454 =
9749
9737
  JSCompiler_object_inline_stack_2453.fallback),
9750
- (JSCompiler_object_inline_message_2451 = workInProgress.mode),
9738
+ (mode = workInProgress.mode),
9751
9739
  (JSCompiler_object_inline_stack_2453 =
9752
9740
  mountWorkInProgressOffscreenFiber(
9753
9741
  {
9754
9742
  mode: "visible",
9755
9743
  children: JSCompiler_object_inline_stack_2453.children
9756
9744
  },
9757
- JSCompiler_object_inline_message_2451
9745
+ mode
9758
9746
  )),
9759
9747
  (JSCompiler_object_inline_componentStack_2454 =
9760
9748
  createFiberFromFragment(
9761
9749
  JSCompiler_object_inline_componentStack_2454,
9762
- JSCompiler_object_inline_message_2451,
9750
+ mode,
9763
9751
  renderLanes,
9764
9752
  null
9765
9753
  )),
@@ -9794,34 +9782,38 @@
9794
9782
  console.error(
9795
9783
  "We should not be hydrating here. This is a bug in React. Please file a bug."
9796
9784
  ),
9797
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2451))
9785
+ isSuspenseInstanceFallback(
9786
+ JSCompiler_object_inline_componentStack_2454
9787
+ ))
9798
9788
  ) {
9799
9789
  JSCompiler_object_inline_digest_2452 =
9800
- JSCompiler_object_inline_message_2451.nextSibling &&
9801
- JSCompiler_object_inline_message_2451.nextSibling.dataset;
9790
+ JSCompiler_object_inline_componentStack_2454.nextSibling &&
9791
+ JSCompiler_object_inline_componentStack_2454.nextSibling.dataset;
9802
9792
  if (JSCompiler_object_inline_digest_2452) {
9803
- JSCompiler_temp = JSCompiler_object_inline_digest_2452.dgst;
9793
+ mode = JSCompiler_object_inline_digest_2452.dgst;
9804
9794
  var message = JSCompiler_object_inline_digest_2452.msg;
9805
- instance = JSCompiler_object_inline_digest_2452.stck;
9806
- var componentStack = JSCompiler_object_inline_digest_2452.cstck;
9795
+ var componentStack = JSCompiler_object_inline_digest_2452.stck;
9796
+ var componentStack$jscomp$0 =
9797
+ JSCompiler_object_inline_digest_2452.cstck;
9807
9798
  }
9808
9799
  JSCompiler_object_inline_message_2451 = message;
9809
- JSCompiler_object_inline_digest_2452 = JSCompiler_temp;
9810
- JSCompiler_object_inline_stack_2453 = instance;
9811
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2454 =
9812
- componentStack;
9800
+ JSCompiler_object_inline_digest_2452 = mode;
9801
+ JSCompiler_object_inline_stack_2453 = componentStack;
9813
9802
  JSCompiler_object_inline_componentStack_2454 =
9814
- JSCompiler_object_inline_message_2451
9815
- ? Error(JSCompiler_object_inline_message_2451)
9816
- : Error(
9817
- "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9818
- );
9803
+ componentStack$jscomp$0;
9804
+ mode = JSCompiler_object_inline_message_2451;
9805
+ componentStack = JSCompiler_object_inline_componentStack_2454;
9806
+ JSCompiler_object_inline_componentStack_2454 = mode
9807
+ ? Error(mode)
9808
+ : Error(
9809
+ "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9810
+ );
9819
9811
  JSCompiler_object_inline_componentStack_2454.stack =
9820
9812
  JSCompiler_object_inline_stack_2453 || "";
9821
9813
  JSCompiler_object_inline_componentStack_2454.digest =
9822
9814
  JSCompiler_object_inline_digest_2452;
9823
9815
  JSCompiler_object_inline_digest_2452 =
9824
- void 0 === JSCompiler_temp ? null : JSCompiler_temp;
9816
+ void 0 === componentStack ? null : componentStack;
9825
9817
  JSCompiler_object_inline_stack_2453 = {
9826
9818
  value: JSCompiler_object_inline_componentStack_2454,
9827
9819
  source: null,
@@ -9868,10 +9860,12 @@
9868
9860
  ? 0
9869
9861
  : JSCompiler_object_inline_stack_2453),
9870
9862
  0 !== JSCompiler_object_inline_stack_2453 &&
9871
- JSCompiler_object_inline_stack_2453 !== prevState.retryLane)
9863
+ JSCompiler_object_inline_stack_2453 !==
9864
+ JSCompiler_object_inline_message_2451.retryLane)
9872
9865
  )
9873
9866
  throw (
9874
- ((prevState.retryLane = JSCompiler_object_inline_stack_2453),
9867
+ ((JSCompiler_object_inline_message_2451.retryLane =
9868
+ JSCompiler_object_inline_stack_2453),
9875
9869
  enqueueConcurrentRenderForLane(
9876
9870
  current,
9877
9871
  JSCompiler_object_inline_stack_2453
@@ -9883,7 +9877,7 @@
9883
9877
  ),
9884
9878
  SelectiveHydrationException)
9885
9879
  );
9886
- JSCompiler_object_inline_message_2451.data ===
9880
+ JSCompiler_object_inline_componentStack_2454.data ===
9887
9881
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9888
9882
  workInProgress = retrySuspenseComponentWithoutHydrating(
9889
9883
  current,
@@ -9891,14 +9885,14 @@
9891
9885
  renderLanes
9892
9886
  );
9893
9887
  } else
9894
- JSCompiler_object_inline_message_2451.data ===
9888
+ JSCompiler_object_inline_componentStack_2454.data ===
9895
9889
  SUSPENSE_PENDING_START_DATA
9896
9890
  ? ((workInProgress.flags |= 192),
9897
9891
  (workInProgress.child = current.child),
9898
9892
  (workInProgress = null))
9899
- : ((current = prevState.treeContext),
9893
+ : ((current = JSCompiler_object_inline_message_2451.treeContext),
9900
9894
  (nextHydratableInstance = getNextHydratable(
9901
- JSCompiler_object_inline_message_2451.nextSibling
9895
+ JSCompiler_object_inline_componentStack_2454.nextSibling
9902
9896
  )),
9903
9897
  (hydrationParentFiber = workInProgress),
9904
9898
  (isHydrating = !0),
@@ -9921,33 +9915,33 @@
9921
9915
  (workInProgress.flags |= 4096));
9922
9916
  return workInProgress;
9923
9917
  }
9924
- if (JSCompiler_object_inline_componentStack_2454)
9918
+ if (showFallback)
9925
9919
  return (
9926
9920
  reuseSuspenseHandlerOnStack(workInProgress),
9927
9921
  (JSCompiler_object_inline_componentStack_2454 =
9928
9922
  JSCompiler_object_inline_stack_2453.fallback),
9929
- (JSCompiler_object_inline_message_2451 = workInProgress.mode),
9930
- (JSCompiler_temp = current.child),
9931
- (instance = JSCompiler_temp.sibling),
9923
+ (mode = workInProgress.mode),
9924
+ (componentStack = current.child),
9925
+ (componentStack$jscomp$0 = componentStack.sibling),
9932
9926
  (JSCompiler_object_inline_stack_2453 = createWorkInProgress(
9933
- JSCompiler_temp,
9927
+ componentStack,
9934
9928
  {
9935
9929
  mode: "hidden",
9936
9930
  children: JSCompiler_object_inline_stack_2453.children
9937
9931
  }
9938
9932
  )),
9939
9933
  (JSCompiler_object_inline_stack_2453.subtreeFlags =
9940
- JSCompiler_temp.subtreeFlags & 65011712),
9941
- null !== instance
9934
+ componentStack.subtreeFlags & 65011712),
9935
+ null !== componentStack$jscomp$0
9942
9936
  ? (JSCompiler_object_inline_componentStack_2454 =
9943
9937
  createWorkInProgress(
9944
- instance,
9938
+ componentStack$jscomp$0,
9945
9939
  JSCompiler_object_inline_componentStack_2454
9946
9940
  ))
9947
9941
  : ((JSCompiler_object_inline_componentStack_2454 =
9948
9942
  createFiberFromFragment(
9949
9943
  JSCompiler_object_inline_componentStack_2454,
9950
- JSCompiler_object_inline_message_2451,
9944
+ mode,
9951
9945
  renderLanes,
9952
9946
  null
9953
9947
  )),
@@ -9961,26 +9955,25 @@
9961
9955
  (JSCompiler_object_inline_stack_2453 =
9962
9956
  JSCompiler_object_inline_componentStack_2454),
9963
9957
  (JSCompiler_object_inline_componentStack_2454 = workInProgress.child),
9964
- (JSCompiler_object_inline_message_2451 = current.child.memoizedState),
9965
- null === JSCompiler_object_inline_message_2451
9966
- ? (JSCompiler_object_inline_message_2451 =
9967
- mountSuspenseOffscreenState(renderLanes))
9968
- : ((JSCompiler_temp =
9969
- JSCompiler_object_inline_message_2451.cachePool),
9970
- null !== JSCompiler_temp
9971
- ? ((instance = CacheContext._currentValue),
9972
- (JSCompiler_temp =
9973
- JSCompiler_temp.parent !== instance
9974
- ? { parent: instance, pool: instance }
9975
- : JSCompiler_temp))
9976
- : (JSCompiler_temp = getSuspendedCache()),
9977
- (JSCompiler_object_inline_message_2451 = {
9978
- baseLanes:
9979
- JSCompiler_object_inline_message_2451.baseLanes | renderLanes,
9980
- cachePool: JSCompiler_temp
9958
+ (mode = current.child.memoizedState),
9959
+ null === mode
9960
+ ? (mode = mountSuspenseOffscreenState(renderLanes))
9961
+ : ((componentStack = mode.cachePool),
9962
+ null !== componentStack
9963
+ ? ((componentStack$jscomp$0 = CacheContext._currentValue),
9964
+ (componentStack =
9965
+ componentStack.parent !== componentStack$jscomp$0
9966
+ ? {
9967
+ parent: componentStack$jscomp$0,
9968
+ pool: componentStack$jscomp$0
9969
+ }
9970
+ : componentStack))
9971
+ : (componentStack = getSuspendedCache()),
9972
+ (mode = {
9973
+ baseLanes: mode.baseLanes | renderLanes,
9974
+ cachePool: componentStack
9981
9975
  })),
9982
- (JSCompiler_object_inline_componentStack_2454.memoizedState =
9983
- JSCompiler_object_inline_message_2451),
9976
+ (JSCompiler_object_inline_componentStack_2454.memoizedState = mode),
9984
9977
  (JSCompiler_object_inline_componentStack_2454.childLanes =
9985
9978
  getRemainingWorkInPrimaryTree(
9986
9979
  current,
@@ -19545,55 +19538,45 @@
19545
19538
  }
19546
19539
  function clearSuspenseBoundary(parentInstance, suspenseInstance) {
19547
19540
  var node = suspenseInstance,
19548
- possiblePreambleContribution = 0,
19549
19541
  depth = 0;
19550
19542
  do {
19551
19543
  var nextNode = node.nextSibling;
19552
19544
  parentInstance.removeChild(node);
19553
19545
  if (nextNode && 8 === nextNode.nodeType)
19554
19546
  if (((node = nextNode.data), node === SUSPENSE_END_DATA)) {
19555
- if (
19556
- 0 < possiblePreambleContribution &&
19557
- 8 > possiblePreambleContribution
19558
- ) {
19559
- node = possiblePreambleContribution;
19560
- var ownerDocument = parentInstance.ownerDocument;
19561
- node & PREAMBLE_CONTRIBUTION_HTML &&
19562
- releaseSingletonInstance(ownerDocument.documentElement);
19563
- node & PREAMBLE_CONTRIBUTION_BODY &&
19564
- releaseSingletonInstance(ownerDocument.body);
19565
- if (node & PREAMBLE_CONTRIBUTION_HEAD)
19566
- for (
19567
- node = ownerDocument.head,
19568
- releaseSingletonInstance(node),
19569
- ownerDocument = node.firstChild;
19570
- ownerDocument;
19571
-
19572
- ) {
19573
- var nextNode$jscomp$0 = ownerDocument.nextSibling,
19574
- nodeName = ownerDocument.nodeName;
19575
- ownerDocument[internalHoistableMarker] ||
19576
- "SCRIPT" === nodeName ||
19577
- "STYLE" === nodeName ||
19578
- ("LINK" === nodeName &&
19579
- "stylesheet" === ownerDocument.rel.toLowerCase()) ||
19580
- node.removeChild(ownerDocument);
19581
- ownerDocument = nextNode$jscomp$0;
19582
- }
19583
- }
19584
19547
  if (0 === depth) {
19585
19548
  parentInstance.removeChild(nextNode);
19586
19549
  retryIfBlockedOn(suspenseInstance);
19587
19550
  return;
19588
19551
  }
19589
19552
  depth--;
19590
- } else
19553
+ } else if (
19591
19554
  node === SUSPENSE_START_DATA ||
19592
19555
  node === SUSPENSE_PENDING_START_DATA ||
19593
19556
  node === SUSPENSE_FALLBACK_START_DATA
19594
- ? depth++
19595
- : (possiblePreambleContribution = node.charCodeAt(0) - 48);
19596
- else possiblePreambleContribution = 0;
19557
+ )
19558
+ depth++;
19559
+ else if (node === PREAMBLE_CONTRIBUTION_HTML)
19560
+ releaseSingletonInstance(
19561
+ parentInstance.ownerDocument.documentElement
19562
+ );
19563
+ else if (node === PREAMBLE_CONTRIBUTION_HEAD) {
19564
+ node = parentInstance.ownerDocument.head;
19565
+ releaseSingletonInstance(node);
19566
+ for (var node$jscomp$0 = node.firstChild; node$jscomp$0; ) {
19567
+ var nextNode$jscomp$0 = node$jscomp$0.nextSibling,
19568
+ nodeName = node$jscomp$0.nodeName;
19569
+ node$jscomp$0[internalHoistableMarker] ||
19570
+ "SCRIPT" === nodeName ||
19571
+ "STYLE" === nodeName ||
19572
+ ("LINK" === nodeName &&
19573
+ "stylesheet" === node$jscomp$0.rel.toLowerCase()) ||
19574
+ node.removeChild(node$jscomp$0);
19575
+ node$jscomp$0 = nextNode$jscomp$0;
19576
+ }
19577
+ } else
19578
+ node === PREAMBLE_CONTRIBUTION_BODY &&
19579
+ releaseSingletonInstance(parentInstance.ownerDocument.body);
19597
19580
  node = nextNode;
19598
19581
  } while (node);
19599
19582
  retryIfBlockedOn(suspenseInstance);
@@ -24567,9 +24550,9 @@
24567
24550
  SUSPENSE_END_DATA = "/$",
24568
24551
  SUSPENSE_PENDING_START_DATA = "$?",
24569
24552
  SUSPENSE_FALLBACK_START_DATA = "$!",
24570
- PREAMBLE_CONTRIBUTION_HTML = 1,
24571
- PREAMBLE_CONTRIBUTION_BODY = 2,
24572
- PREAMBLE_CONTRIBUTION_HEAD = 4,
24553
+ PREAMBLE_CONTRIBUTION_HTML = "html",
24554
+ PREAMBLE_CONTRIBUTION_BODY = "body",
24555
+ PREAMBLE_CONTRIBUTION_HEAD = "head",
24573
24556
  FORM_STATE_IS_MATCHING = "F!",
24574
24557
  FORM_STATE_IS_NOT_MATCHING = "F",
24575
24558
  DOCUMENT_READY_STATE_COMPLETE = "complete",
@@ -25013,11 +24996,11 @@
25013
24996
  };
25014
24997
  (function () {
25015
24998
  var isomorphicReactPackageVersion = React.version;
25016
- if ("19.2.0-canary-c44e4a25-20250409" !== isomorphicReactPackageVersion)
24999
+ if ("19.2.0-canary-39cad7af-20250411" !== isomorphicReactPackageVersion)
25017
25000
  throw Error(
25018
25001
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
25019
25002
  (isomorphicReactPackageVersion +
25020
- "\n - react-dom: 19.2.0-canary-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
25003
+ "\n - react-dom: 19.2.0-canary-39cad7af-20250411\nLearn more: https://react.dev/warnings/version-mismatch")
25021
25004
  );
25022
25005
  })();
25023
25006
  ("function" === typeof Map &&
@@ -25054,10 +25037,10 @@
25054
25037
  !(function () {
25055
25038
  var internals = {
25056
25039
  bundleType: 1,
25057
- version: "19.2.0-canary-c44e4a25-20250409",
25040
+ version: "19.2.0-canary-39cad7af-20250411",
25058
25041
  rendererPackageName: "react-dom",
25059
25042
  currentDispatcherRef: ReactSharedInternals,
25060
- reconcilerVersion: "19.2.0-canary-c44e4a25-20250409"
25043
+ reconcilerVersion: "19.2.0-canary-39cad7af-20250411"
25061
25044
  };
25062
25045
  internals.overrideHookState = overrideHookState;
25063
25046
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25531,7 +25514,7 @@
25531
25514
  exports.useFormStatus = function () {
25532
25515
  return resolveDispatcher().useHostTransitionStatus();
25533
25516
  };
25534
- exports.version = "19.2.0-canary-c44e4a25-20250409";
25517
+ exports.version = "19.2.0-canary-39cad7af-20250411";
25535
25518
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25536
25519
  "function" ===
25537
25520
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&