react-dom 19.2.0-canary-3fbfb9ba-20250409 → 19.2.0-canary-1d6c8168-20250411

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8798,9 +8798,13 @@
8798
8798
  renderLanes
8799
8799
  );
8800
8800
  }
8801
- function updateOffscreenComponent(current, workInProgress, renderLanes) {
8802
- var nextProps = workInProgress.pendingProps,
8803
- nextChildren = nextProps.children,
8801
+ function updateOffscreenComponent(
8802
+ current,
8803
+ workInProgress,
8804
+ renderLanes,
8805
+ nextProps
8806
+ ) {
8807
+ var nextChildren = nextProps.children,
8804
8808
  prevState = null !== current ? current.memoizedState : null;
8805
8809
  if ("hidden" === nextProps.mode) {
8806
8810
  if (0 !== (workInProgress.flags & 128)) {
@@ -9587,144 +9591,132 @@
9587
9591
  return current;
9588
9592
  }
9589
9593
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
9590
- var JSCompiler_object_inline_digest_2451;
9591
- var JSCompiler_object_inline_stack_2452 = workInProgress.pendingProps;
9594
+ var JSCompiler_object_inline_digest_2452;
9595
+ var JSCompiler_object_inline_stack_2453 = workInProgress.pendingProps;
9592
9596
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
9593
- var JSCompiler_object_inline_componentStack_2453 = !1;
9594
- var didSuspend = 0 !== (workInProgress.flags & 128);
9595
- (JSCompiler_object_inline_digest_2451 = didSuspend) ||
9596
- (JSCompiler_object_inline_digest_2451 =
9597
+ var showFallback = !1,
9598
+ didSuspend = 0 !== (workInProgress.flags & 128);
9599
+ (JSCompiler_object_inline_digest_2452 = didSuspend) ||
9600
+ (JSCompiler_object_inline_digest_2452 =
9597
9601
  null !== current && null === current.memoizedState
9598
9602
  ? !1
9599
9603
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
9600
- JSCompiler_object_inline_digest_2451 &&
9601
- ((JSCompiler_object_inline_componentStack_2453 = !0),
9602
- (workInProgress.flags &= -129));
9603
- JSCompiler_object_inline_digest_2451 = 0 !== (workInProgress.flags & 32);
9604
+ JSCompiler_object_inline_digest_2452 &&
9605
+ ((showFallback = !0), (workInProgress.flags &= -129));
9606
+ JSCompiler_object_inline_digest_2452 = 0 !== (workInProgress.flags & 32);
9604
9607
  workInProgress.flags &= -33;
9605
9608
  if (null === current) {
9606
9609
  if (isHydrating) {
9607
- JSCompiler_object_inline_componentStack_2453
9610
+ showFallback
9608
9611
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
9609
9612
  : reuseSuspenseHandlerOnStack(workInProgress);
9610
- if (isHydrating) {
9611
- var JSCompiler_object_inline_message_2450 = nextHydratableInstance;
9612
- var JSCompiler_temp;
9613
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2450)) {
9614
- c: {
9615
- var instance = JSCompiler_object_inline_message_2450;
9616
- for (
9617
- JSCompiler_temp = rootOrSingletonContext;
9618
- 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;
9619
9619
 
9620
- ) {
9621
- if (!JSCompiler_temp) {
9622
- JSCompiler_temp = null;
9623
- break c;
9624
- }
9625
- instance = getNextHydratable(instance.nextSibling);
9626
- if (null === instance) {
9627
- JSCompiler_temp = null;
9628
- break c;
9629
- }
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;
9630
9631
  }
9631
- JSCompiler_temp = instance;
9632
9632
  }
9633
- null !== JSCompiler_temp
9634
- ? (warnIfNotHydrating(),
9635
- (workInProgress.memoizedState = {
9636
- dehydrated: JSCompiler_temp,
9637
- treeContext:
9638
- null !== treeContextProvider
9639
- ? { id: treeContextId, overflow: treeContextOverflow }
9640
- : null,
9641
- retryLane: 536870912,
9642
- hydrationErrors: null
9643
- }),
9644
- (instance = createFiber(18, null, null, NoMode)),
9645
- (instance.stateNode = JSCompiler_temp),
9646
- (instance.return = workInProgress),
9647
- (workInProgress.child = instance),
9648
- (hydrationParentFiber = workInProgress),
9649
- (nextHydratableInstance = null),
9650
- (JSCompiler_temp = !0))
9651
- : (JSCompiler_temp = !1);
9652
- JSCompiler_temp = !JSCompiler_temp;
9633
+ renderLanes = JSCompiler_object_inline_digest_2452;
9653
9634
  }
9654
- JSCompiler_temp &&
9655
- (warnNonHydratedInstance(
9656
- workInProgress,
9657
- JSCompiler_object_inline_message_2450
9658
- ),
9659
- throwOnHydrationMismatch(workInProgress));
9660
- }
9661
- JSCompiler_object_inline_message_2450 = workInProgress.memoizedState;
9662
- if (
9663
- null !== JSCompiler_object_inline_message_2450 &&
9664
- ((JSCompiler_object_inline_message_2450 =
9665
- JSCompiler_object_inline_message_2450.dehydrated),
9666
- null !== JSCompiler_object_inline_message_2450)
9667
- )
9668
- return (
9669
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2450)
9670
- ? (workInProgress.lanes = 32)
9671
- : (workInProgress.lanes = 536870912),
9672
- 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))
9673
9664
  );
9674
- popSuspenseHandler(workInProgress);
9665
+ isSuspenseInstanceFallback(renderLanes)
9666
+ ? (workInProgress.lanes = 32)
9667
+ : (workInProgress.lanes = 536870912);
9668
+ return null;
9675
9669
  }
9676
- JSCompiler_object_inline_message_2450 =
9677
- JSCompiler_object_inline_stack_2452.children;
9678
- JSCompiler_object_inline_stack_2452 =
9679
- JSCompiler_object_inline_stack_2452.fallback;
9680
- if (JSCompiler_object_inline_componentStack_2453)
9681
- return (
9682
- reuseSuspenseHandlerOnStack(workInProgress),
9683
- (JSCompiler_object_inline_componentStack_2453 =
9684
- workInProgress.mode),
9685
- (JSCompiler_object_inline_message_2450 =
9686
- mountWorkInProgressOffscreenFiber(
9687
- {
9688
- mode: "hidden",
9689
- children: JSCompiler_object_inline_message_2450
9690
- },
9691
- JSCompiler_object_inline_componentStack_2453
9692
- )),
9693
- (JSCompiler_object_inline_stack_2452 = createFiberFromFragment(
9694
- JSCompiler_object_inline_stack_2452,
9695
- JSCompiler_object_inline_componentStack_2453,
9696
- renderLanes,
9697
- null
9698
- )),
9699
- (JSCompiler_object_inline_message_2450.return = workInProgress),
9700
- (JSCompiler_object_inline_stack_2452.return = workInProgress),
9701
- (JSCompiler_object_inline_message_2450.sibling =
9702
- JSCompiler_object_inline_stack_2452),
9703
- (workInProgress.child = JSCompiler_object_inline_message_2450),
9704
- (JSCompiler_object_inline_componentStack_2453 =
9705
- workInProgress.child),
9706
- (JSCompiler_object_inline_componentStack_2453.memoizedState =
9707
- mountSuspenseOffscreenState(renderLanes)),
9708
- (JSCompiler_object_inline_componentStack_2453.childLanes =
9709
- getRemainingWorkInPrimaryTree(
9710
- current,
9711
- JSCompiler_object_inline_digest_2451,
9712
- renderLanes
9713
- )),
9714
- (workInProgress.memoizedState = SUSPENDED_MARKER),
9715
- JSCompiler_object_inline_stack_2452
9670
+ var JSCompiler_object_inline_componentStack_2454 =
9671
+ JSCompiler_object_inline_stack_2453.children;
9672
+ JSCompiler_object_inline_stack_2453 =
9673
+ JSCompiler_object_inline_stack_2453.fallback;
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
9716
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
+ }
9717
9708
  pushPrimaryTreeSuspenseHandler(workInProgress);
9718
9709
  return mountSuspensePrimaryChildren(
9719
9710
  workInProgress,
9720
- JSCompiler_object_inline_message_2450
9711
+ JSCompiler_object_inline_componentStack_2454
9721
9712
  );
9722
9713
  }
9723
- var prevState = current.memoizedState;
9714
+ var JSCompiler_object_inline_message_2451 = current.memoizedState;
9724
9715
  if (
9725
- null !== prevState &&
9726
- ((JSCompiler_object_inline_message_2450 = prevState.dehydrated),
9727
- null !== JSCompiler_object_inline_message_2450)
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)
9728
9720
  ) {
9729
9721
  if (didSuspend)
9730
9722
  workInProgress.flags & 256
@@ -9741,94 +9733,98 @@
9741
9733
  (workInProgress.flags |= 128),
9742
9734
  (workInProgress = null))
9743
9735
  : (reuseSuspenseHandlerOnStack(workInProgress),
9744
- (JSCompiler_object_inline_componentStack_2453 =
9745
- JSCompiler_object_inline_stack_2452.fallback),
9746
- (JSCompiler_object_inline_message_2450 = workInProgress.mode),
9747
- (JSCompiler_object_inline_stack_2452 =
9736
+ (JSCompiler_object_inline_componentStack_2454 =
9737
+ JSCompiler_object_inline_stack_2453.fallback),
9738
+ (mode = workInProgress.mode),
9739
+ (JSCompiler_object_inline_stack_2453 =
9748
9740
  mountWorkInProgressOffscreenFiber(
9749
9741
  {
9750
9742
  mode: "visible",
9751
- children: JSCompiler_object_inline_stack_2452.children
9743
+ children: JSCompiler_object_inline_stack_2453.children
9752
9744
  },
9753
- JSCompiler_object_inline_message_2450
9745
+ mode
9754
9746
  )),
9755
- (JSCompiler_object_inline_componentStack_2453 =
9747
+ (JSCompiler_object_inline_componentStack_2454 =
9756
9748
  createFiberFromFragment(
9757
- JSCompiler_object_inline_componentStack_2453,
9758
- JSCompiler_object_inline_message_2450,
9749
+ JSCompiler_object_inline_componentStack_2454,
9750
+ mode,
9759
9751
  renderLanes,
9760
9752
  null
9761
9753
  )),
9762
- (JSCompiler_object_inline_componentStack_2453.flags |= 2),
9763
- (JSCompiler_object_inline_stack_2452.return = workInProgress),
9764
- (JSCompiler_object_inline_componentStack_2453.return =
9754
+ (JSCompiler_object_inline_componentStack_2454.flags |= 2),
9755
+ (JSCompiler_object_inline_stack_2453.return = workInProgress),
9756
+ (JSCompiler_object_inline_componentStack_2454.return =
9765
9757
  workInProgress),
9766
- (JSCompiler_object_inline_stack_2452.sibling =
9767
- JSCompiler_object_inline_componentStack_2453),
9768
- (workInProgress.child = JSCompiler_object_inline_stack_2452),
9758
+ (JSCompiler_object_inline_stack_2453.sibling =
9759
+ JSCompiler_object_inline_componentStack_2454),
9760
+ (workInProgress.child = JSCompiler_object_inline_stack_2453),
9769
9761
  reconcileChildFibers(
9770
9762
  workInProgress,
9771
9763
  current.child,
9772
9764
  null,
9773
9765
  renderLanes
9774
9766
  ),
9775
- (JSCompiler_object_inline_stack_2452 = workInProgress.child),
9776
- (JSCompiler_object_inline_stack_2452.memoizedState =
9767
+ (JSCompiler_object_inline_stack_2453 = workInProgress.child),
9768
+ (JSCompiler_object_inline_stack_2453.memoizedState =
9777
9769
  mountSuspenseOffscreenState(renderLanes)),
9778
- (JSCompiler_object_inline_stack_2452.childLanes =
9770
+ (JSCompiler_object_inline_stack_2453.childLanes =
9779
9771
  getRemainingWorkInPrimaryTree(
9780
9772
  current,
9781
- JSCompiler_object_inline_digest_2451,
9773
+ JSCompiler_object_inline_digest_2452,
9782
9774
  renderLanes
9783
9775
  )),
9784
9776
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9785
9777
  (workInProgress =
9786
- JSCompiler_object_inline_componentStack_2453));
9778
+ JSCompiler_object_inline_componentStack_2454));
9787
9779
  else if (
9788
9780
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9789
9781
  isHydrating &&
9790
9782
  console.error(
9791
9783
  "We should not be hydrating here. This is a bug in React. Please file a bug."
9792
9784
  ),
9793
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2450))
9785
+ isSuspenseInstanceFallback(
9786
+ JSCompiler_object_inline_componentStack_2454
9787
+ ))
9794
9788
  ) {
9795
- JSCompiler_object_inline_digest_2451 =
9796
- JSCompiler_object_inline_message_2450.nextSibling &&
9797
- JSCompiler_object_inline_message_2450.nextSibling.dataset;
9798
- if (JSCompiler_object_inline_digest_2451) {
9799
- JSCompiler_temp = JSCompiler_object_inline_digest_2451.dgst;
9800
- var message = JSCompiler_object_inline_digest_2451.msg;
9801
- instance = JSCompiler_object_inline_digest_2451.stck;
9802
- var componentStack = JSCompiler_object_inline_digest_2451.cstck;
9789
+ JSCompiler_object_inline_digest_2452 =
9790
+ JSCompiler_object_inline_componentStack_2454.nextSibling &&
9791
+ JSCompiler_object_inline_componentStack_2454.nextSibling.dataset;
9792
+ if (JSCompiler_object_inline_digest_2452) {
9793
+ mode = JSCompiler_object_inline_digest_2452.dgst;
9794
+ var message = JSCompiler_object_inline_digest_2452.msg;
9795
+ var componentStack = JSCompiler_object_inline_digest_2452.stck;
9796
+ var componentStack$jscomp$0 =
9797
+ JSCompiler_object_inline_digest_2452.cstck;
9803
9798
  }
9804
- JSCompiler_object_inline_message_2450 = message;
9805
- JSCompiler_object_inline_digest_2451 = JSCompiler_temp;
9806
- JSCompiler_object_inline_stack_2452 = instance;
9807
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2453 =
9808
- componentStack;
9809
- JSCompiler_object_inline_componentStack_2453 =
9810
- JSCompiler_object_inline_message_2450
9811
- ? Error(JSCompiler_object_inline_message_2450)
9812
- : Error(
9813
- "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9814
- );
9815
- JSCompiler_object_inline_componentStack_2453.stack =
9816
- JSCompiler_object_inline_stack_2452 || "";
9817
- JSCompiler_object_inline_componentStack_2453.digest =
9818
- JSCompiler_object_inline_digest_2451;
9819
- JSCompiler_object_inline_digest_2451 =
9820
- void 0 === JSCompiler_temp ? null : JSCompiler_temp;
9821
- JSCompiler_object_inline_stack_2452 = {
9822
- value: JSCompiler_object_inline_componentStack_2453,
9799
+ JSCompiler_object_inline_message_2451 = message;
9800
+ JSCompiler_object_inline_digest_2452 = mode;
9801
+ JSCompiler_object_inline_stack_2453 = componentStack;
9802
+ JSCompiler_object_inline_componentStack_2454 =
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
+ );
9811
+ JSCompiler_object_inline_componentStack_2454.stack =
9812
+ JSCompiler_object_inline_stack_2453 || "";
9813
+ JSCompiler_object_inline_componentStack_2454.digest =
9814
+ JSCompiler_object_inline_digest_2452;
9815
+ JSCompiler_object_inline_digest_2452 =
9816
+ void 0 === componentStack ? null : componentStack;
9817
+ JSCompiler_object_inline_stack_2453 = {
9818
+ value: JSCompiler_object_inline_componentStack_2454,
9823
9819
  source: null,
9824
- stack: JSCompiler_object_inline_digest_2451
9820
+ stack: JSCompiler_object_inline_digest_2452
9825
9821
  };
9826
- "string" === typeof JSCompiler_object_inline_digest_2451 &&
9822
+ "string" === typeof JSCompiler_object_inline_digest_2452 &&
9827
9823
  CapturedStacks.set(
9828
- JSCompiler_object_inline_componentStack_2453,
9829
- JSCompiler_object_inline_stack_2452
9824
+ JSCompiler_object_inline_componentStack_2454,
9825
+ JSCompiler_object_inline_stack_2453
9830
9826
  );
9831
- queueHydrationError(JSCompiler_object_inline_stack_2452);
9827
+ queueHydrationError(JSCompiler_object_inline_stack_2453);
9832
9828
  workInProgress = retrySuspenseComponentWithoutHydrating(
9833
9829
  current,
9834
9830
  workInProgress,
@@ -9842,44 +9838,46 @@
9842
9838
  renderLanes,
9843
9839
  !1
9844
9840
  ),
9845
- (JSCompiler_object_inline_digest_2451 =
9841
+ (JSCompiler_object_inline_digest_2452 =
9846
9842
  0 !== (renderLanes & current.childLanes)),
9847
- didReceiveUpdate || JSCompiler_object_inline_digest_2451)
9843
+ didReceiveUpdate || JSCompiler_object_inline_digest_2452)
9848
9844
  ) {
9849
- JSCompiler_object_inline_digest_2451 = workInProgressRoot;
9845
+ JSCompiler_object_inline_digest_2452 = workInProgressRoot;
9850
9846
  if (
9851
- null !== JSCompiler_object_inline_digest_2451 &&
9852
- ((JSCompiler_object_inline_stack_2452 = renderLanes & -renderLanes),
9853
- (JSCompiler_object_inline_stack_2452 =
9854
- 0 !== (JSCompiler_object_inline_stack_2452 & 42)
9847
+ null !== JSCompiler_object_inline_digest_2452 &&
9848
+ ((JSCompiler_object_inline_stack_2453 = renderLanes & -renderLanes),
9849
+ (JSCompiler_object_inline_stack_2453 =
9850
+ 0 !== (JSCompiler_object_inline_stack_2453 & 42)
9855
9851
  ? 1
9856
9852
  : getBumpedLaneForHydrationByLane(
9857
- JSCompiler_object_inline_stack_2452
9853
+ JSCompiler_object_inline_stack_2453
9858
9854
  )),
9859
- (JSCompiler_object_inline_stack_2452 =
9855
+ (JSCompiler_object_inline_stack_2453 =
9860
9856
  0 !==
9861
- (JSCompiler_object_inline_stack_2452 &
9862
- (JSCompiler_object_inline_digest_2451.suspendedLanes |
9857
+ (JSCompiler_object_inline_stack_2453 &
9858
+ (JSCompiler_object_inline_digest_2452.suspendedLanes |
9863
9859
  renderLanes))
9864
9860
  ? 0
9865
- : JSCompiler_object_inline_stack_2452),
9866
- 0 !== JSCompiler_object_inline_stack_2452 &&
9867
- JSCompiler_object_inline_stack_2452 !== prevState.retryLane)
9861
+ : JSCompiler_object_inline_stack_2453),
9862
+ 0 !== JSCompiler_object_inline_stack_2453 &&
9863
+ JSCompiler_object_inline_stack_2453 !==
9864
+ JSCompiler_object_inline_message_2451.retryLane)
9868
9865
  )
9869
9866
  throw (
9870
- ((prevState.retryLane = JSCompiler_object_inline_stack_2452),
9867
+ ((JSCompiler_object_inline_message_2451.retryLane =
9868
+ JSCompiler_object_inline_stack_2453),
9871
9869
  enqueueConcurrentRenderForLane(
9872
9870
  current,
9873
- JSCompiler_object_inline_stack_2452
9871
+ JSCompiler_object_inline_stack_2453
9874
9872
  ),
9875
9873
  scheduleUpdateOnFiber(
9876
- JSCompiler_object_inline_digest_2451,
9874
+ JSCompiler_object_inline_digest_2452,
9877
9875
  current,
9878
- JSCompiler_object_inline_stack_2452
9876
+ JSCompiler_object_inline_stack_2453
9879
9877
  ),
9880
9878
  SelectiveHydrationException)
9881
9879
  );
9882
- JSCompiler_object_inline_message_2450.data ===
9880
+ JSCompiler_object_inline_componentStack_2454.data ===
9883
9881
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9884
9882
  workInProgress = retrySuspenseComponentWithoutHydrating(
9885
9883
  current,
@@ -9887,14 +9885,14 @@
9887
9885
  renderLanes
9888
9886
  );
9889
9887
  } else
9890
- JSCompiler_object_inline_message_2450.data ===
9888
+ JSCompiler_object_inline_componentStack_2454.data ===
9891
9889
  SUSPENSE_PENDING_START_DATA
9892
9890
  ? ((workInProgress.flags |= 192),
9893
9891
  (workInProgress.child = current.child),
9894
9892
  (workInProgress = null))
9895
- : ((current = prevState.treeContext),
9893
+ : ((current = JSCompiler_object_inline_message_2451.treeContext),
9896
9894
  (nextHydratableInstance = getNextHydratable(
9897
- JSCompiler_object_inline_message_2450.nextSibling
9895
+ JSCompiler_object_inline_componentStack_2454.nextSibling
9898
9896
  )),
9899
9897
  (hydrationParentFiber = workInProgress),
9900
9898
  (isHydrating = !0),
@@ -9912,95 +9910,94 @@
9912
9910
  (treeContextProvider = workInProgress)),
9913
9911
  (workInProgress = mountSuspensePrimaryChildren(
9914
9912
  workInProgress,
9915
- JSCompiler_object_inline_stack_2452.children
9913
+ JSCompiler_object_inline_stack_2453.children
9916
9914
  )),
9917
9915
  (workInProgress.flags |= 4096));
9918
9916
  return workInProgress;
9919
9917
  }
9920
- if (JSCompiler_object_inline_componentStack_2453)
9918
+ if (showFallback)
9921
9919
  return (
9922
9920
  reuseSuspenseHandlerOnStack(workInProgress),
9923
- (JSCompiler_object_inline_componentStack_2453 =
9924
- JSCompiler_object_inline_stack_2452.fallback),
9925
- (JSCompiler_object_inline_message_2450 = workInProgress.mode),
9926
- (JSCompiler_temp = current.child),
9927
- (instance = JSCompiler_temp.sibling),
9928
- (JSCompiler_object_inline_stack_2452 = createWorkInProgress(
9929
- JSCompiler_temp,
9921
+ (JSCompiler_object_inline_componentStack_2454 =
9922
+ JSCompiler_object_inline_stack_2453.fallback),
9923
+ (mode = workInProgress.mode),
9924
+ (componentStack = current.child),
9925
+ (componentStack$jscomp$0 = componentStack.sibling),
9926
+ (JSCompiler_object_inline_stack_2453 = createWorkInProgress(
9927
+ componentStack,
9930
9928
  {
9931
9929
  mode: "hidden",
9932
- children: JSCompiler_object_inline_stack_2452.children
9930
+ children: JSCompiler_object_inline_stack_2453.children
9933
9931
  }
9934
9932
  )),
9935
- (JSCompiler_object_inline_stack_2452.subtreeFlags =
9936
- JSCompiler_temp.subtreeFlags & 65011712),
9937
- null !== instance
9938
- ? (JSCompiler_object_inline_componentStack_2453 =
9933
+ (JSCompiler_object_inline_stack_2453.subtreeFlags =
9934
+ componentStack.subtreeFlags & 65011712),
9935
+ null !== componentStack$jscomp$0
9936
+ ? (JSCompiler_object_inline_componentStack_2454 =
9939
9937
  createWorkInProgress(
9940
- instance,
9941
- JSCompiler_object_inline_componentStack_2453
9938
+ componentStack$jscomp$0,
9939
+ JSCompiler_object_inline_componentStack_2454
9942
9940
  ))
9943
- : ((JSCompiler_object_inline_componentStack_2453 =
9941
+ : ((JSCompiler_object_inline_componentStack_2454 =
9944
9942
  createFiberFromFragment(
9945
- JSCompiler_object_inline_componentStack_2453,
9946
- JSCompiler_object_inline_message_2450,
9943
+ JSCompiler_object_inline_componentStack_2454,
9944
+ mode,
9947
9945
  renderLanes,
9948
9946
  null
9949
9947
  )),
9950
- (JSCompiler_object_inline_componentStack_2453.flags |= 2)),
9951
- (JSCompiler_object_inline_componentStack_2453.return =
9948
+ (JSCompiler_object_inline_componentStack_2454.flags |= 2)),
9949
+ (JSCompiler_object_inline_componentStack_2454.return =
9952
9950
  workInProgress),
9953
- (JSCompiler_object_inline_stack_2452.return = workInProgress),
9954
- (JSCompiler_object_inline_stack_2452.sibling =
9955
- JSCompiler_object_inline_componentStack_2453),
9956
- (workInProgress.child = JSCompiler_object_inline_stack_2452),
9957
- (JSCompiler_object_inline_stack_2452 =
9958
- JSCompiler_object_inline_componentStack_2453),
9959
- (JSCompiler_object_inline_componentStack_2453 = workInProgress.child),
9960
- (JSCompiler_object_inline_message_2450 = current.child.memoizedState),
9961
- null === JSCompiler_object_inline_message_2450
9962
- ? (JSCompiler_object_inline_message_2450 =
9963
- mountSuspenseOffscreenState(renderLanes))
9964
- : ((JSCompiler_temp =
9965
- JSCompiler_object_inline_message_2450.cachePool),
9966
- null !== JSCompiler_temp
9967
- ? ((instance = CacheContext._currentValue),
9968
- (JSCompiler_temp =
9969
- JSCompiler_temp.parent !== instance
9970
- ? { parent: instance, pool: instance }
9971
- : JSCompiler_temp))
9972
- : (JSCompiler_temp = getSuspendedCache()),
9973
- (JSCompiler_object_inline_message_2450 = {
9974
- baseLanes:
9975
- JSCompiler_object_inline_message_2450.baseLanes | renderLanes,
9976
- cachePool: JSCompiler_temp
9951
+ (JSCompiler_object_inline_stack_2453.return = workInProgress),
9952
+ (JSCompiler_object_inline_stack_2453.sibling =
9953
+ JSCompiler_object_inline_componentStack_2454),
9954
+ (workInProgress.child = JSCompiler_object_inline_stack_2453),
9955
+ (JSCompiler_object_inline_stack_2453 =
9956
+ JSCompiler_object_inline_componentStack_2454),
9957
+ (JSCompiler_object_inline_componentStack_2454 = workInProgress.child),
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
9977
9975
  })),
9978
- (JSCompiler_object_inline_componentStack_2453.memoizedState =
9979
- JSCompiler_object_inline_message_2450),
9980
- (JSCompiler_object_inline_componentStack_2453.childLanes =
9976
+ (JSCompiler_object_inline_componentStack_2454.memoizedState = mode),
9977
+ (JSCompiler_object_inline_componentStack_2454.childLanes =
9981
9978
  getRemainingWorkInPrimaryTree(
9982
9979
  current,
9983
- JSCompiler_object_inline_digest_2451,
9980
+ JSCompiler_object_inline_digest_2452,
9984
9981
  renderLanes
9985
9982
  )),
9986
9983
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9987
- JSCompiler_object_inline_stack_2452
9984
+ JSCompiler_object_inline_stack_2453
9988
9985
  );
9989
9986
  pushPrimaryTreeSuspenseHandler(workInProgress);
9990
9987
  renderLanes = current.child;
9991
9988
  current = renderLanes.sibling;
9992
9989
  renderLanes = createWorkInProgress(renderLanes, {
9993
9990
  mode: "visible",
9994
- children: JSCompiler_object_inline_stack_2452.children
9991
+ children: JSCompiler_object_inline_stack_2453.children
9995
9992
  });
9996
9993
  renderLanes.return = workInProgress;
9997
9994
  renderLanes.sibling = null;
9998
9995
  null !== current &&
9999
- ((JSCompiler_object_inline_digest_2451 = workInProgress.deletions),
10000
- null === JSCompiler_object_inline_digest_2451
9996
+ ((JSCompiler_object_inline_digest_2452 = workInProgress.deletions),
9997
+ null === JSCompiler_object_inline_digest_2452
10001
9998
  ? ((workInProgress.deletions = [current]),
10002
9999
  (workInProgress.flags |= 16))
10003
- : JSCompiler_object_inline_digest_2451.push(current));
10000
+ : JSCompiler_object_inline_digest_2452.push(current));
10004
10001
  workInProgress.child = renderLanes;
10005
10002
  workInProgress.memoizedState = null;
10006
10003
  return renderLanes;
@@ -10397,10 +10394,14 @@
10397
10394
  if (stateNode) break;
10398
10395
  else return null;
10399
10396
  case 22:
10400
- case 23:
10401
10397
  return (
10402
10398
  (workInProgress.lanes = 0),
10403
- updateOffscreenComponent(current, workInProgress, renderLanes)
10399
+ updateOffscreenComponent(
10400
+ current,
10401
+ workInProgress,
10402
+ renderLanes,
10403
+ workInProgress.pendingProps
10404
+ )
10404
10405
  );
10405
10406
  case 24:
10406
10407
  pushProvider(
@@ -11034,7 +11035,12 @@
11034
11035
  workInProgress
11035
11036
  );
11036
11037
  case 22:
11037
- return updateOffscreenComponent(current, workInProgress, renderLanes);
11038
+ return updateOffscreenComponent(
11039
+ current,
11040
+ workInProgress,
11041
+ renderLanes,
11042
+ workInProgress.pendingProps
11043
+ );
11038
11044
  case 24:
11039
11045
  return (
11040
11046
  prepareToReadContext(workInProgress),
@@ -12329,12 +12335,7 @@
12329
12335
  commitStartTime
12330
12336
  );
12331
12337
  "function" === typeof onCommit &&
12332
- onCommit(
12333
- finishedWork.memoizedProps.id,
12334
- current,
12335
- effectDuration,
12336
- commitStartTime
12337
- );
12338
+ onCommit(id, current, effectDuration, commitStartTime);
12338
12339
  }
12339
12340
  function commitProfilerPostCommitImpl(
12340
12341
  finishedWork,
@@ -19537,55 +19538,45 @@
19537
19538
  }
19538
19539
  function clearSuspenseBoundary(parentInstance, suspenseInstance) {
19539
19540
  var node = suspenseInstance,
19540
- possiblePreambleContribution = 0,
19541
19541
  depth = 0;
19542
19542
  do {
19543
19543
  var nextNode = node.nextSibling;
19544
19544
  parentInstance.removeChild(node);
19545
19545
  if (nextNode && 8 === nextNode.nodeType)
19546
19546
  if (((node = nextNode.data), node === SUSPENSE_END_DATA)) {
19547
- if (
19548
- 0 < possiblePreambleContribution &&
19549
- 8 > possiblePreambleContribution
19550
- ) {
19551
- node = possiblePreambleContribution;
19552
- var ownerDocument = parentInstance.ownerDocument;
19553
- node & PREAMBLE_CONTRIBUTION_HTML &&
19554
- releaseSingletonInstance(ownerDocument.documentElement);
19555
- node & PREAMBLE_CONTRIBUTION_BODY &&
19556
- releaseSingletonInstance(ownerDocument.body);
19557
- if (node & PREAMBLE_CONTRIBUTION_HEAD)
19558
- for (
19559
- node = ownerDocument.head,
19560
- releaseSingletonInstance(node),
19561
- ownerDocument = node.firstChild;
19562
- ownerDocument;
19563
-
19564
- ) {
19565
- var nextNode$jscomp$0 = ownerDocument.nextSibling,
19566
- nodeName = ownerDocument.nodeName;
19567
- ownerDocument[internalHoistableMarker] ||
19568
- "SCRIPT" === nodeName ||
19569
- "STYLE" === nodeName ||
19570
- ("LINK" === nodeName &&
19571
- "stylesheet" === ownerDocument.rel.toLowerCase()) ||
19572
- node.removeChild(ownerDocument);
19573
- ownerDocument = nextNode$jscomp$0;
19574
- }
19575
- }
19576
19547
  if (0 === depth) {
19577
19548
  parentInstance.removeChild(nextNode);
19578
19549
  retryIfBlockedOn(suspenseInstance);
19579
19550
  return;
19580
19551
  }
19581
19552
  depth--;
19582
- } else
19553
+ } else if (
19583
19554
  node === SUSPENSE_START_DATA ||
19584
19555
  node === SUSPENSE_PENDING_START_DATA ||
19585
19556
  node === SUSPENSE_FALLBACK_START_DATA
19586
- ? depth++
19587
- : (possiblePreambleContribution = node.charCodeAt(0) - 48);
19588
- 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);
19589
19580
  node = nextNode;
19590
19581
  } while (node);
19591
19582
  retryIfBlockedOn(suspenseInstance);
@@ -24559,9 +24550,9 @@
24559
24550
  SUSPENSE_END_DATA = "/$",
24560
24551
  SUSPENSE_PENDING_START_DATA = "$?",
24561
24552
  SUSPENSE_FALLBACK_START_DATA = "$!",
24562
- PREAMBLE_CONTRIBUTION_HTML = 1,
24563
- PREAMBLE_CONTRIBUTION_BODY = 2,
24564
- PREAMBLE_CONTRIBUTION_HEAD = 4,
24553
+ PREAMBLE_CONTRIBUTION_HTML = "html",
24554
+ PREAMBLE_CONTRIBUTION_BODY = "body",
24555
+ PREAMBLE_CONTRIBUTION_HEAD = "head",
24565
24556
  FORM_STATE_IS_MATCHING = "F!",
24566
24557
  FORM_STATE_IS_NOT_MATCHING = "F",
24567
24558
  DOCUMENT_READY_STATE_COMPLETE = "complete",
@@ -25005,11 +24996,11 @@
25005
24996
  };
25006
24997
  (function () {
25007
24998
  var isomorphicReactPackageVersion = React.version;
25008
- if ("19.2.0-canary-3fbfb9ba-20250409" !== isomorphicReactPackageVersion)
24999
+ if ("19.2.0-canary-1d6c8168-20250411" !== isomorphicReactPackageVersion)
25009
25000
  throw Error(
25010
25001
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
25011
25002
  (isomorphicReactPackageVersion +
25012
- "\n - react-dom: 19.2.0-canary-3fbfb9ba-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
25003
+ "\n - react-dom: 19.2.0-canary-1d6c8168-20250411\nLearn more: https://react.dev/warnings/version-mismatch")
25013
25004
  );
25014
25005
  })();
25015
25006
  ("function" === typeof Map &&
@@ -25046,10 +25037,10 @@
25046
25037
  !(function () {
25047
25038
  var internals = {
25048
25039
  bundleType: 1,
25049
- version: "19.2.0-canary-3fbfb9ba-20250409",
25040
+ version: "19.2.0-canary-1d6c8168-20250411",
25050
25041
  rendererPackageName: "react-dom",
25051
25042
  currentDispatcherRef: ReactSharedInternals,
25052
- reconcilerVersion: "19.2.0-canary-3fbfb9ba-20250409"
25043
+ reconcilerVersion: "19.2.0-canary-1d6c8168-20250411"
25053
25044
  };
25054
25045
  internals.overrideHookState = overrideHookState;
25055
25046
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25523,7 +25514,7 @@
25523
25514
  exports.useFormStatus = function () {
25524
25515
  return resolveDispatcher().useHostTransitionStatus();
25525
25516
  };
25526
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
25517
+ exports.version = "19.2.0-canary-1d6c8168-20250411";
25527
25518
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25528
25519
  "function" ===
25529
25520
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&