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.
- package/cjs/react-dom-client.development.js +290 -299
- package/cjs/react-dom-client.production.js +214 -242
- package/cjs/react-dom-profiling.development.js +290 -299
- package/cjs/react-dom-profiling.profiling.js +218 -251
- package/cjs/react-dom-server-legacy.browser.development.js +30 -58
- package/cjs/react-dom-server-legacy.browser.production.js +66 -89
- package/cjs/react-dom-server-legacy.node.development.js +30 -58
- package/cjs/react-dom-server-legacy.node.production.js +66 -89
- package/cjs/react-dom-server.browser.development.js +48 -73
- package/cjs/react-dom-server.browser.production.js +58 -88
- package/cjs/react-dom-server.bun.development.js +38 -74
- package/cjs/react-dom-server.bun.production.js +54 -83
- package/cjs/react-dom-server.edge.development.js +48 -73
- package/cjs/react-dom-server.edge.production.js +61 -91
- package/cjs/react-dom-server.node.development.js +48 -73
- package/cjs/react-dom-server.node.production.js +61 -91
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
@@ -8790,9 +8790,13 @@
|
|
8790
8790
|
renderLanes
|
8791
8791
|
);
|
8792
8792
|
}
|
8793
|
-
function updateOffscreenComponent(
|
8794
|
-
|
8795
|
-
|
8793
|
+
function updateOffscreenComponent(
|
8794
|
+
current,
|
8795
|
+
workInProgress,
|
8796
|
+
renderLanes,
|
8797
|
+
nextProps
|
8798
|
+
) {
|
8799
|
+
var nextChildren = nextProps.children,
|
8796
8800
|
prevState = null !== current ? current.memoizedState : null;
|
8797
8801
|
if ("hidden" === nextProps.mode) {
|
8798
8802
|
if (0 !== (workInProgress.flags & 128)) {
|
@@ -9579,144 +9583,132 @@
|
|
9579
9583
|
return current;
|
9580
9584
|
}
|
9581
9585
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
9582
|
-
var
|
9583
|
-
var
|
9586
|
+
var JSCompiler_object_inline_digest_2447;
|
9587
|
+
var JSCompiler_object_inline_stack_2448 = workInProgress.pendingProps;
|
9584
9588
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
9585
|
-
var
|
9586
|
-
|
9587
|
-
(
|
9588
|
-
(
|
9589
|
+
var showFallback = !1,
|
9590
|
+
didSuspend = 0 !== (workInProgress.flags & 128);
|
9591
|
+
(JSCompiler_object_inline_digest_2447 = didSuspend) ||
|
9592
|
+
(JSCompiler_object_inline_digest_2447 =
|
9589
9593
|
null !== current && null === current.memoizedState
|
9590
9594
|
? !1
|
9591
9595
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
9592
|
-
|
9593
|
-
((
|
9594
|
-
|
9595
|
-
JSCompiler_object_inline_digest_2446 = 0 !== (workInProgress.flags & 32);
|
9596
|
+
JSCompiler_object_inline_digest_2447 &&
|
9597
|
+
((showFallback = !0), (workInProgress.flags &= -129));
|
9598
|
+
JSCompiler_object_inline_digest_2447 = 0 !== (workInProgress.flags & 32);
|
9596
9599
|
workInProgress.flags &= -33;
|
9597
9600
|
if (null === current) {
|
9598
9601
|
if (isHydrating) {
|
9599
|
-
|
9602
|
+
showFallback
|
9600
9603
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
9601
9604
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
9602
|
-
if (
|
9603
|
-
|
9604
|
-
|
9605
|
-
|
9606
|
-
|
9607
|
-
|
9608
|
-
for (
|
9609
|
-
JSCompiler_temp = rootOrSingletonContext;
|
9610
|
-
8 !== instance.nodeType;
|
9605
|
+
if ((current = nextHydratableInstance)) {
|
9606
|
+
a: {
|
9607
|
+
JSCompiler_object_inline_digest_2447 = current;
|
9608
|
+
for (
|
9609
|
+
renderLanes = rootOrSingletonContext;
|
9610
|
+
8 !== JSCompiler_object_inline_digest_2447.nodeType;
|
9611
9611
|
|
9612
|
-
|
9613
|
-
|
9614
|
-
|
9615
|
-
|
9616
|
-
|
9617
|
-
|
9618
|
-
|
9619
|
-
|
9620
|
-
|
9621
|
-
|
9612
|
+
) {
|
9613
|
+
if (!renderLanes) {
|
9614
|
+
renderLanes = null;
|
9615
|
+
break a;
|
9616
|
+
}
|
9617
|
+
JSCompiler_object_inline_digest_2447 = getNextHydratable(
|
9618
|
+
JSCompiler_object_inline_digest_2447.nextSibling
|
9619
|
+
);
|
9620
|
+
if (null === JSCompiler_object_inline_digest_2447) {
|
9621
|
+
renderLanes = null;
|
9622
|
+
break a;
|
9622
9623
|
}
|
9623
|
-
JSCompiler_temp = instance;
|
9624
9624
|
}
|
9625
|
-
|
9626
|
-
? (warnIfNotHydrating(),
|
9627
|
-
(workInProgress.memoizedState = {
|
9628
|
-
dehydrated: JSCompiler_temp,
|
9629
|
-
treeContext:
|
9630
|
-
null !== treeContextProvider
|
9631
|
-
? { id: treeContextId, overflow: treeContextOverflow }
|
9632
|
-
: null,
|
9633
|
-
retryLane: 536870912,
|
9634
|
-
hydrationErrors: null
|
9635
|
-
}),
|
9636
|
-
(instance = createFiber(18, null, null, NoMode)),
|
9637
|
-
(instance.stateNode = JSCompiler_temp),
|
9638
|
-
(instance.return = workInProgress),
|
9639
|
-
(workInProgress.child = instance),
|
9640
|
-
(hydrationParentFiber = workInProgress),
|
9641
|
-
(nextHydratableInstance = null),
|
9642
|
-
(JSCompiler_temp = !0))
|
9643
|
-
: (JSCompiler_temp = !1);
|
9644
|
-
JSCompiler_temp = !JSCompiler_temp;
|
9625
|
+
renderLanes = JSCompiler_object_inline_digest_2447;
|
9645
9626
|
}
|
9646
|
-
|
9647
|
-
(
|
9648
|
-
|
9649
|
-
|
9650
|
-
|
9651
|
-
|
9652
|
-
|
9653
|
-
|
9654
|
-
|
9655
|
-
|
9656
|
-
|
9657
|
-
|
9658
|
-
|
9659
|
-
|
9660
|
-
|
9661
|
-
|
9662
|
-
|
9663
|
-
|
9664
|
-
|
9627
|
+
null !== renderLanes &&
|
9628
|
+
(warnIfNotHydrating(),
|
9629
|
+
(workInProgress.memoizedState = {
|
9630
|
+
dehydrated: renderLanes,
|
9631
|
+
treeContext:
|
9632
|
+
null !== treeContextProvider
|
9633
|
+
? { id: treeContextId, overflow: treeContextOverflow }
|
9634
|
+
: null,
|
9635
|
+
retryLane: 536870912,
|
9636
|
+
hydrationErrors: null
|
9637
|
+
}),
|
9638
|
+
(JSCompiler_object_inline_digest_2447 = renderLanes),
|
9639
|
+
(JSCompiler_object_inline_stack_2448 = createFiber(
|
9640
|
+
18,
|
9641
|
+
null,
|
9642
|
+
null,
|
9643
|
+
NoMode
|
9644
|
+
)),
|
9645
|
+
(JSCompiler_object_inline_stack_2448.stateNode =
|
9646
|
+
JSCompiler_object_inline_digest_2447),
|
9647
|
+
(JSCompiler_object_inline_stack_2448.return = workInProgress),
|
9648
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2448),
|
9649
|
+
(hydrationParentFiber = workInProgress),
|
9650
|
+
(nextHydratableInstance = null));
|
9651
|
+
} else renderLanes = null;
|
9652
|
+
if (null === renderLanes)
|
9653
|
+
throw (
|
9654
|
+
(warnNonHydratedInstance(workInProgress, current),
|
9655
|
+
throwOnHydrationMismatch(workInProgress))
|
9665
9656
|
);
|
9666
|
-
|
9657
|
+
isSuspenseInstanceFallback(renderLanes)
|
9658
|
+
? (workInProgress.lanes = 32)
|
9659
|
+
: (workInProgress.lanes = 536870912);
|
9660
|
+
return null;
|
9667
9661
|
}
|
9668
|
-
|
9669
|
-
|
9670
|
-
|
9671
|
-
|
9672
|
-
if (
|
9673
|
-
|
9674
|
-
|
9675
|
-
|
9676
|
-
|
9677
|
-
|
9678
|
-
|
9679
|
-
|
9680
|
-
|
9681
|
-
|
9682
|
-
|
9683
|
-
|
9684
|
-
|
9685
|
-
|
9686
|
-
|
9687
|
-
|
9688
|
-
renderLanes,
|
9689
|
-
null
|
9690
|
-
)),
|
9691
|
-
(JSCompiler_object_inline_message_2445.return = workInProgress),
|
9692
|
-
(JSCompiler_object_inline_stack_2447.return = workInProgress),
|
9693
|
-
(JSCompiler_object_inline_message_2445.sibling =
|
9694
|
-
JSCompiler_object_inline_stack_2447),
|
9695
|
-
(workInProgress.child = JSCompiler_object_inline_message_2445),
|
9696
|
-
(JSCompiler_object_inline_componentStack_2448 =
|
9697
|
-
workInProgress.child),
|
9698
|
-
(JSCompiler_object_inline_componentStack_2448.memoizedState =
|
9699
|
-
mountSuspenseOffscreenState(renderLanes)),
|
9700
|
-
(JSCompiler_object_inline_componentStack_2448.childLanes =
|
9701
|
-
getRemainingWorkInPrimaryTree(
|
9702
|
-
current,
|
9703
|
-
JSCompiler_object_inline_digest_2446,
|
9704
|
-
renderLanes
|
9705
|
-
)),
|
9706
|
-
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9707
|
-
JSCompiler_object_inline_stack_2447
|
9662
|
+
var JSCompiler_object_inline_componentStack_2449 =
|
9663
|
+
JSCompiler_object_inline_stack_2448.children;
|
9664
|
+
JSCompiler_object_inline_stack_2448 =
|
9665
|
+
JSCompiler_object_inline_stack_2448.fallback;
|
9666
|
+
if (showFallback) {
|
9667
|
+
reuseSuspenseHandlerOnStack(workInProgress);
|
9668
|
+
var mode = workInProgress.mode;
|
9669
|
+
JSCompiler_object_inline_componentStack_2449 =
|
9670
|
+
mountWorkInProgressOffscreenFiber(
|
9671
|
+
{
|
9672
|
+
mode: "hidden",
|
9673
|
+
children: JSCompiler_object_inline_componentStack_2449
|
9674
|
+
},
|
9675
|
+
mode
|
9676
|
+
);
|
9677
|
+
JSCompiler_object_inline_stack_2448 = createFiberFromFragment(
|
9678
|
+
JSCompiler_object_inline_stack_2448,
|
9679
|
+
mode,
|
9680
|
+
renderLanes,
|
9681
|
+
null
|
9708
9682
|
);
|
9683
|
+
JSCompiler_object_inline_componentStack_2449.return = workInProgress;
|
9684
|
+
JSCompiler_object_inline_stack_2448.return = workInProgress;
|
9685
|
+
JSCompiler_object_inline_componentStack_2449.sibling =
|
9686
|
+
JSCompiler_object_inline_stack_2448;
|
9687
|
+
workInProgress.child = JSCompiler_object_inline_componentStack_2449;
|
9688
|
+
JSCompiler_object_inline_componentStack_2449 = workInProgress.child;
|
9689
|
+
JSCompiler_object_inline_componentStack_2449.memoizedState =
|
9690
|
+
mountSuspenseOffscreenState(renderLanes);
|
9691
|
+
JSCompiler_object_inline_componentStack_2449.childLanes =
|
9692
|
+
getRemainingWorkInPrimaryTree(
|
9693
|
+
current,
|
9694
|
+
JSCompiler_object_inline_digest_2447,
|
9695
|
+
renderLanes
|
9696
|
+
);
|
9697
|
+
workInProgress.memoizedState = SUSPENDED_MARKER;
|
9698
|
+
return JSCompiler_object_inline_stack_2448;
|
9699
|
+
}
|
9709
9700
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9710
9701
|
return mountSuspensePrimaryChildren(
|
9711
9702
|
workInProgress,
|
9712
|
-
|
9703
|
+
JSCompiler_object_inline_componentStack_2449
|
9713
9704
|
);
|
9714
9705
|
}
|
9715
|
-
var
|
9706
|
+
var JSCompiler_object_inline_message_2446 = current.memoizedState;
|
9716
9707
|
if (
|
9717
|
-
null !==
|
9718
|
-
((
|
9719
|
-
|
9708
|
+
null !== JSCompiler_object_inline_message_2446 &&
|
9709
|
+
((JSCompiler_object_inline_componentStack_2449 =
|
9710
|
+
JSCompiler_object_inline_message_2446.dehydrated),
|
9711
|
+
null !== JSCompiler_object_inline_componentStack_2449)
|
9720
9712
|
) {
|
9721
9713
|
if (didSuspend)
|
9722
9714
|
workInProgress.flags & 256
|
@@ -9733,94 +9725,98 @@
|
|
9733
9725
|
(workInProgress.flags |= 128),
|
9734
9726
|
(workInProgress = null))
|
9735
9727
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9736
|
-
(
|
9737
|
-
|
9738
|
-
(
|
9739
|
-
(
|
9728
|
+
(JSCompiler_object_inline_componentStack_2449 =
|
9729
|
+
JSCompiler_object_inline_stack_2448.fallback),
|
9730
|
+
(mode = workInProgress.mode),
|
9731
|
+
(JSCompiler_object_inline_stack_2448 =
|
9740
9732
|
mountWorkInProgressOffscreenFiber(
|
9741
9733
|
{
|
9742
9734
|
mode: "visible",
|
9743
|
-
children:
|
9735
|
+
children: JSCompiler_object_inline_stack_2448.children
|
9744
9736
|
},
|
9745
|
-
|
9737
|
+
mode
|
9746
9738
|
)),
|
9747
|
-
(
|
9739
|
+
(JSCompiler_object_inline_componentStack_2449 =
|
9748
9740
|
createFiberFromFragment(
|
9749
|
-
|
9750
|
-
|
9741
|
+
JSCompiler_object_inline_componentStack_2449,
|
9742
|
+
mode,
|
9751
9743
|
renderLanes,
|
9752
9744
|
null
|
9753
9745
|
)),
|
9754
|
-
(
|
9755
|
-
(
|
9756
|
-
(
|
9746
|
+
(JSCompiler_object_inline_componentStack_2449.flags |= 2),
|
9747
|
+
(JSCompiler_object_inline_stack_2448.return = workInProgress),
|
9748
|
+
(JSCompiler_object_inline_componentStack_2449.return =
|
9757
9749
|
workInProgress),
|
9758
|
-
(
|
9759
|
-
|
9760
|
-
(workInProgress.child =
|
9750
|
+
(JSCompiler_object_inline_stack_2448.sibling =
|
9751
|
+
JSCompiler_object_inline_componentStack_2449),
|
9752
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2448),
|
9761
9753
|
reconcileChildFibers(
|
9762
9754
|
workInProgress,
|
9763
9755
|
current.child,
|
9764
9756
|
null,
|
9765
9757
|
renderLanes
|
9766
9758
|
),
|
9767
|
-
(
|
9768
|
-
(
|
9759
|
+
(JSCompiler_object_inline_stack_2448 = workInProgress.child),
|
9760
|
+
(JSCompiler_object_inline_stack_2448.memoizedState =
|
9769
9761
|
mountSuspenseOffscreenState(renderLanes)),
|
9770
|
-
(
|
9762
|
+
(JSCompiler_object_inline_stack_2448.childLanes =
|
9771
9763
|
getRemainingWorkInPrimaryTree(
|
9772
9764
|
current,
|
9773
|
-
|
9765
|
+
JSCompiler_object_inline_digest_2447,
|
9774
9766
|
renderLanes
|
9775
9767
|
)),
|
9776
9768
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9777
9769
|
(workInProgress =
|
9778
|
-
|
9770
|
+
JSCompiler_object_inline_componentStack_2449));
|
9779
9771
|
else if (
|
9780
9772
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9781
9773
|
isHydrating &&
|
9782
9774
|
console.error(
|
9783
9775
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
9784
9776
|
),
|
9785
|
-
isSuspenseInstanceFallback(
|
9777
|
+
isSuspenseInstanceFallback(
|
9778
|
+
JSCompiler_object_inline_componentStack_2449
|
9779
|
+
))
|
9786
9780
|
) {
|
9787
|
-
|
9788
|
-
|
9789
|
-
|
9790
|
-
if (
|
9791
|
-
|
9792
|
-
var message =
|
9793
|
-
|
9794
|
-
var componentStack =
|
9781
|
+
JSCompiler_object_inline_digest_2447 =
|
9782
|
+
JSCompiler_object_inline_componentStack_2449.nextSibling &&
|
9783
|
+
JSCompiler_object_inline_componentStack_2449.nextSibling.dataset;
|
9784
|
+
if (JSCompiler_object_inline_digest_2447) {
|
9785
|
+
mode = JSCompiler_object_inline_digest_2447.dgst;
|
9786
|
+
var message = JSCompiler_object_inline_digest_2447.msg;
|
9787
|
+
var componentStack = JSCompiler_object_inline_digest_2447.stck;
|
9788
|
+
var componentStack$jscomp$0 =
|
9789
|
+
JSCompiler_object_inline_digest_2447.cstck;
|
9795
9790
|
}
|
9796
|
-
|
9797
|
-
|
9798
|
-
|
9799
|
-
|
9800
|
-
componentStack;
|
9801
|
-
|
9802
|
-
|
9803
|
-
|
9804
|
-
|
9805
|
-
|
9806
|
-
|
9807
|
-
|
9808
|
-
|
9809
|
-
|
9810
|
-
|
9811
|
-
|
9812
|
-
|
9813
|
-
|
9814
|
-
|
9791
|
+
JSCompiler_object_inline_message_2446 = message;
|
9792
|
+
JSCompiler_object_inline_digest_2447 = mode;
|
9793
|
+
JSCompiler_object_inline_stack_2448 = componentStack;
|
9794
|
+
JSCompiler_object_inline_componentStack_2449 =
|
9795
|
+
componentStack$jscomp$0;
|
9796
|
+
mode = JSCompiler_object_inline_message_2446;
|
9797
|
+
componentStack = JSCompiler_object_inline_componentStack_2449;
|
9798
|
+
JSCompiler_object_inline_componentStack_2449 = mode
|
9799
|
+
? Error(mode)
|
9800
|
+
: Error(
|
9801
|
+
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9802
|
+
);
|
9803
|
+
JSCompiler_object_inline_componentStack_2449.stack =
|
9804
|
+
JSCompiler_object_inline_stack_2448 || "";
|
9805
|
+
JSCompiler_object_inline_componentStack_2449.digest =
|
9806
|
+
JSCompiler_object_inline_digest_2447;
|
9807
|
+
JSCompiler_object_inline_digest_2447 =
|
9808
|
+
void 0 === componentStack ? null : componentStack;
|
9809
|
+
JSCompiler_object_inline_stack_2448 = {
|
9810
|
+
value: JSCompiler_object_inline_componentStack_2449,
|
9815
9811
|
source: null,
|
9816
|
-
stack:
|
9812
|
+
stack: JSCompiler_object_inline_digest_2447
|
9817
9813
|
};
|
9818
|
-
"string" === typeof
|
9814
|
+
"string" === typeof JSCompiler_object_inline_digest_2447 &&
|
9819
9815
|
CapturedStacks.set(
|
9820
|
-
|
9821
|
-
|
9816
|
+
JSCompiler_object_inline_componentStack_2449,
|
9817
|
+
JSCompiler_object_inline_stack_2448
|
9822
9818
|
);
|
9823
|
-
queueHydrationError(
|
9819
|
+
queueHydrationError(JSCompiler_object_inline_stack_2448);
|
9824
9820
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9825
9821
|
current,
|
9826
9822
|
workInProgress,
|
@@ -9834,44 +9830,46 @@
|
|
9834
9830
|
renderLanes,
|
9835
9831
|
!1
|
9836
9832
|
),
|
9837
|
-
(
|
9833
|
+
(JSCompiler_object_inline_digest_2447 =
|
9838
9834
|
0 !== (renderLanes & current.childLanes)),
|
9839
|
-
didReceiveUpdate ||
|
9835
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2447)
|
9840
9836
|
) {
|
9841
|
-
|
9837
|
+
JSCompiler_object_inline_digest_2447 = workInProgressRoot;
|
9842
9838
|
if (
|
9843
|
-
null !==
|
9844
|
-
((
|
9845
|
-
(
|
9846
|
-
0 !== (
|
9839
|
+
null !== JSCompiler_object_inline_digest_2447 &&
|
9840
|
+
((JSCompiler_object_inline_stack_2448 = renderLanes & -renderLanes),
|
9841
|
+
(JSCompiler_object_inline_stack_2448 =
|
9842
|
+
0 !== (JSCompiler_object_inline_stack_2448 & 42)
|
9847
9843
|
? 1
|
9848
9844
|
: getBumpedLaneForHydrationByLane(
|
9849
|
-
|
9845
|
+
JSCompiler_object_inline_stack_2448
|
9850
9846
|
)),
|
9851
|
-
(
|
9847
|
+
(JSCompiler_object_inline_stack_2448 =
|
9852
9848
|
0 !==
|
9853
|
-
(
|
9854
|
-
(
|
9849
|
+
(JSCompiler_object_inline_stack_2448 &
|
9850
|
+
(JSCompiler_object_inline_digest_2447.suspendedLanes |
|
9855
9851
|
renderLanes))
|
9856
9852
|
? 0
|
9857
|
-
:
|
9858
|
-
0 !==
|
9859
|
-
|
9853
|
+
: JSCompiler_object_inline_stack_2448),
|
9854
|
+
0 !== JSCompiler_object_inline_stack_2448 &&
|
9855
|
+
JSCompiler_object_inline_stack_2448 !==
|
9856
|
+
JSCompiler_object_inline_message_2446.retryLane)
|
9860
9857
|
)
|
9861
9858
|
throw (
|
9862
|
-
((
|
9859
|
+
((JSCompiler_object_inline_message_2446.retryLane =
|
9860
|
+
JSCompiler_object_inline_stack_2448),
|
9863
9861
|
enqueueConcurrentRenderForLane(
|
9864
9862
|
current,
|
9865
|
-
|
9863
|
+
JSCompiler_object_inline_stack_2448
|
9866
9864
|
),
|
9867
9865
|
scheduleUpdateOnFiber(
|
9868
|
-
|
9866
|
+
JSCompiler_object_inline_digest_2447,
|
9869
9867
|
current,
|
9870
|
-
|
9868
|
+
JSCompiler_object_inline_stack_2448
|
9871
9869
|
),
|
9872
9870
|
SelectiveHydrationException)
|
9873
9871
|
);
|
9874
|
-
|
9872
|
+
JSCompiler_object_inline_componentStack_2449.data ===
|
9875
9873
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
9876
9874
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9877
9875
|
current,
|
@@ -9879,14 +9877,14 @@
|
|
9879
9877
|
renderLanes
|
9880
9878
|
);
|
9881
9879
|
} else
|
9882
|
-
|
9880
|
+
JSCompiler_object_inline_componentStack_2449.data ===
|
9883
9881
|
SUSPENSE_PENDING_START_DATA
|
9884
9882
|
? ((workInProgress.flags |= 192),
|
9885
9883
|
(workInProgress.child = current.child),
|
9886
9884
|
(workInProgress = null))
|
9887
|
-
: ((current =
|
9885
|
+
: ((current = JSCompiler_object_inline_message_2446.treeContext),
|
9888
9886
|
(nextHydratableInstance = getNextHydratable(
|
9889
|
-
|
9887
|
+
JSCompiler_object_inline_componentStack_2449.nextSibling
|
9890
9888
|
)),
|
9891
9889
|
(hydrationParentFiber = workInProgress),
|
9892
9890
|
(isHydrating = !0),
|
@@ -9904,95 +9902,94 @@
|
|
9904
9902
|
(treeContextProvider = workInProgress)),
|
9905
9903
|
(workInProgress = mountSuspensePrimaryChildren(
|
9906
9904
|
workInProgress,
|
9907
|
-
|
9905
|
+
JSCompiler_object_inline_stack_2448.children
|
9908
9906
|
)),
|
9909
9907
|
(workInProgress.flags |= 4096));
|
9910
9908
|
return workInProgress;
|
9911
9909
|
}
|
9912
|
-
if (
|
9910
|
+
if (showFallback)
|
9913
9911
|
return (
|
9914
9912
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9915
|
-
(
|
9916
|
-
|
9917
|
-
(
|
9918
|
-
(
|
9919
|
-
(
|
9920
|
-
(
|
9921
|
-
|
9913
|
+
(JSCompiler_object_inline_componentStack_2449 =
|
9914
|
+
JSCompiler_object_inline_stack_2448.fallback),
|
9915
|
+
(mode = workInProgress.mode),
|
9916
|
+
(componentStack = current.child),
|
9917
|
+
(componentStack$jscomp$0 = componentStack.sibling),
|
9918
|
+
(JSCompiler_object_inline_stack_2448 = createWorkInProgress(
|
9919
|
+
componentStack,
|
9922
9920
|
{
|
9923
9921
|
mode: "hidden",
|
9924
|
-
children:
|
9922
|
+
children: JSCompiler_object_inline_stack_2448.children
|
9925
9923
|
}
|
9926
9924
|
)),
|
9927
|
-
(
|
9928
|
-
|
9929
|
-
null !==
|
9930
|
-
? (
|
9925
|
+
(JSCompiler_object_inline_stack_2448.subtreeFlags =
|
9926
|
+
componentStack.subtreeFlags & 65011712),
|
9927
|
+
null !== componentStack$jscomp$0
|
9928
|
+
? (JSCompiler_object_inline_componentStack_2449 =
|
9931
9929
|
createWorkInProgress(
|
9932
|
-
|
9933
|
-
|
9930
|
+
componentStack$jscomp$0,
|
9931
|
+
JSCompiler_object_inline_componentStack_2449
|
9934
9932
|
))
|
9935
|
-
: ((
|
9933
|
+
: ((JSCompiler_object_inline_componentStack_2449 =
|
9936
9934
|
createFiberFromFragment(
|
9937
|
-
|
9938
|
-
|
9935
|
+
JSCompiler_object_inline_componentStack_2449,
|
9936
|
+
mode,
|
9939
9937
|
renderLanes,
|
9940
9938
|
null
|
9941
9939
|
)),
|
9942
|
-
(
|
9943
|
-
(
|
9940
|
+
(JSCompiler_object_inline_componentStack_2449.flags |= 2)),
|
9941
|
+
(JSCompiler_object_inline_componentStack_2449.return =
|
9944
9942
|
workInProgress),
|
9945
|
-
(
|
9946
|
-
(
|
9947
|
-
|
9948
|
-
(workInProgress.child =
|
9949
|
-
(
|
9950
|
-
|
9951
|
-
(
|
9952
|
-
(
|
9953
|
-
null ===
|
9954
|
-
? (
|
9955
|
-
|
9956
|
-
|
9957
|
-
|
9958
|
-
|
9959
|
-
|
9960
|
-
|
9961
|
-
|
9962
|
-
|
9963
|
-
|
9964
|
-
|
9965
|
-
|
9966
|
-
|
9967
|
-
|
9968
|
-
cachePool:
|
9943
|
+
(JSCompiler_object_inline_stack_2448.return = workInProgress),
|
9944
|
+
(JSCompiler_object_inline_stack_2448.sibling =
|
9945
|
+
JSCompiler_object_inline_componentStack_2449),
|
9946
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2448),
|
9947
|
+
(JSCompiler_object_inline_stack_2448 =
|
9948
|
+
JSCompiler_object_inline_componentStack_2449),
|
9949
|
+
(JSCompiler_object_inline_componentStack_2449 = workInProgress.child),
|
9950
|
+
(mode = current.child.memoizedState),
|
9951
|
+
null === mode
|
9952
|
+
? (mode = mountSuspenseOffscreenState(renderLanes))
|
9953
|
+
: ((componentStack = mode.cachePool),
|
9954
|
+
null !== componentStack
|
9955
|
+
? ((componentStack$jscomp$0 = CacheContext._currentValue),
|
9956
|
+
(componentStack =
|
9957
|
+
componentStack.parent !== componentStack$jscomp$0
|
9958
|
+
? {
|
9959
|
+
parent: componentStack$jscomp$0,
|
9960
|
+
pool: componentStack$jscomp$0
|
9961
|
+
}
|
9962
|
+
: componentStack))
|
9963
|
+
: (componentStack = getSuspendedCache()),
|
9964
|
+
(mode = {
|
9965
|
+
baseLanes: mode.baseLanes | renderLanes,
|
9966
|
+
cachePool: componentStack
|
9969
9967
|
})),
|
9970
|
-
(
|
9971
|
-
|
9972
|
-
(JSCompiler_object_inline_componentStack_2448.childLanes =
|
9968
|
+
(JSCompiler_object_inline_componentStack_2449.memoizedState = mode),
|
9969
|
+
(JSCompiler_object_inline_componentStack_2449.childLanes =
|
9973
9970
|
getRemainingWorkInPrimaryTree(
|
9974
9971
|
current,
|
9975
|
-
|
9972
|
+
JSCompiler_object_inline_digest_2447,
|
9976
9973
|
renderLanes
|
9977
9974
|
)),
|
9978
9975
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9979
|
-
|
9976
|
+
JSCompiler_object_inline_stack_2448
|
9980
9977
|
);
|
9981
9978
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9982
9979
|
renderLanes = current.child;
|
9983
9980
|
current = renderLanes.sibling;
|
9984
9981
|
renderLanes = createWorkInProgress(renderLanes, {
|
9985
9982
|
mode: "visible",
|
9986
|
-
children:
|
9983
|
+
children: JSCompiler_object_inline_stack_2448.children
|
9987
9984
|
});
|
9988
9985
|
renderLanes.return = workInProgress;
|
9989
9986
|
renderLanes.sibling = null;
|
9990
9987
|
null !== current &&
|
9991
|
-
((
|
9992
|
-
null ===
|
9988
|
+
((JSCompiler_object_inline_digest_2447 = workInProgress.deletions),
|
9989
|
+
null === JSCompiler_object_inline_digest_2447
|
9993
9990
|
? ((workInProgress.deletions = [current]),
|
9994
9991
|
(workInProgress.flags |= 16))
|
9995
|
-
:
|
9992
|
+
: JSCompiler_object_inline_digest_2447.push(current));
|
9996
9993
|
workInProgress.child = renderLanes;
|
9997
9994
|
workInProgress.memoizedState = null;
|
9998
9995
|
return renderLanes;
|
@@ -10389,10 +10386,14 @@
|
|
10389
10386
|
if (stateNode) break;
|
10390
10387
|
else return null;
|
10391
10388
|
case 22:
|
10392
|
-
case 23:
|
10393
10389
|
return (
|
10394
10390
|
(workInProgress.lanes = 0),
|
10395
|
-
updateOffscreenComponent(
|
10391
|
+
updateOffscreenComponent(
|
10392
|
+
current,
|
10393
|
+
workInProgress,
|
10394
|
+
renderLanes,
|
10395
|
+
workInProgress.pendingProps
|
10396
|
+
)
|
10396
10397
|
);
|
10397
10398
|
case 24:
|
10398
10399
|
pushProvider(
|
@@ -11026,7 +11027,12 @@
|
|
11026
11027
|
workInProgress
|
11027
11028
|
);
|
11028
11029
|
case 22:
|
11029
|
-
return updateOffscreenComponent(
|
11030
|
+
return updateOffscreenComponent(
|
11031
|
+
current,
|
11032
|
+
workInProgress,
|
11033
|
+
renderLanes,
|
11034
|
+
workInProgress.pendingProps
|
11035
|
+
);
|
11030
11036
|
case 24:
|
11031
11037
|
return (
|
11032
11038
|
prepareToReadContext(workInProgress),
|
@@ -12321,12 +12327,7 @@
|
|
12321
12327
|
commitStartTime
|
12322
12328
|
);
|
12323
12329
|
"function" === typeof onCommit &&
|
12324
|
-
onCommit(
|
12325
|
-
finishedWork.memoizedProps.id,
|
12326
|
-
current,
|
12327
|
-
effectDuration,
|
12328
|
-
commitStartTime
|
12329
|
-
);
|
12330
|
+
onCommit(id, current, effectDuration, commitStartTime);
|
12330
12331
|
}
|
12331
12332
|
function commitProfilerPostCommitImpl(
|
12332
12333
|
finishedWork,
|
@@ -19525,55 +19526,45 @@
|
|
19525
19526
|
}
|
19526
19527
|
function clearSuspenseBoundary(parentInstance, suspenseInstance) {
|
19527
19528
|
var node = suspenseInstance,
|
19528
|
-
possiblePreambleContribution = 0,
|
19529
19529
|
depth = 0;
|
19530
19530
|
do {
|
19531
19531
|
var nextNode = node.nextSibling;
|
19532
19532
|
parentInstance.removeChild(node);
|
19533
19533
|
if (nextNode && 8 === nextNode.nodeType)
|
19534
19534
|
if (((node = nextNode.data), node === SUSPENSE_END_DATA)) {
|
19535
|
-
if (
|
19536
|
-
0 < possiblePreambleContribution &&
|
19537
|
-
8 > possiblePreambleContribution
|
19538
|
-
) {
|
19539
|
-
node = possiblePreambleContribution;
|
19540
|
-
var ownerDocument = parentInstance.ownerDocument;
|
19541
|
-
node & PREAMBLE_CONTRIBUTION_HTML &&
|
19542
|
-
releaseSingletonInstance(ownerDocument.documentElement);
|
19543
|
-
node & PREAMBLE_CONTRIBUTION_BODY &&
|
19544
|
-
releaseSingletonInstance(ownerDocument.body);
|
19545
|
-
if (node & PREAMBLE_CONTRIBUTION_HEAD)
|
19546
|
-
for (
|
19547
|
-
node = ownerDocument.head,
|
19548
|
-
releaseSingletonInstance(node),
|
19549
|
-
ownerDocument = node.firstChild;
|
19550
|
-
ownerDocument;
|
19551
|
-
|
19552
|
-
) {
|
19553
|
-
var nextNode$jscomp$0 = ownerDocument.nextSibling,
|
19554
|
-
nodeName = ownerDocument.nodeName;
|
19555
|
-
ownerDocument[internalHoistableMarker] ||
|
19556
|
-
"SCRIPT" === nodeName ||
|
19557
|
-
"STYLE" === nodeName ||
|
19558
|
-
("LINK" === nodeName &&
|
19559
|
-
"stylesheet" === ownerDocument.rel.toLowerCase()) ||
|
19560
|
-
node.removeChild(ownerDocument);
|
19561
|
-
ownerDocument = nextNode$jscomp$0;
|
19562
|
-
}
|
19563
|
-
}
|
19564
19535
|
if (0 === depth) {
|
19565
19536
|
parentInstance.removeChild(nextNode);
|
19566
19537
|
retryIfBlockedOn(suspenseInstance);
|
19567
19538
|
return;
|
19568
19539
|
}
|
19569
19540
|
depth--;
|
19570
|
-
} else
|
19541
|
+
} else if (
|
19571
19542
|
node === SUSPENSE_START_DATA ||
|
19572
19543
|
node === SUSPENSE_PENDING_START_DATA ||
|
19573
19544
|
node === SUSPENSE_FALLBACK_START_DATA
|
19574
|
-
|
19575
|
-
|
19576
|
-
|
19545
|
+
)
|
19546
|
+
depth++;
|
19547
|
+
else if (node === PREAMBLE_CONTRIBUTION_HTML)
|
19548
|
+
releaseSingletonInstance(
|
19549
|
+
parentInstance.ownerDocument.documentElement
|
19550
|
+
);
|
19551
|
+
else if (node === PREAMBLE_CONTRIBUTION_HEAD) {
|
19552
|
+
node = parentInstance.ownerDocument.head;
|
19553
|
+
releaseSingletonInstance(node);
|
19554
|
+
for (var node$jscomp$0 = node.firstChild; node$jscomp$0; ) {
|
19555
|
+
var nextNode$jscomp$0 = node$jscomp$0.nextSibling,
|
19556
|
+
nodeName = node$jscomp$0.nodeName;
|
19557
|
+
node$jscomp$0[internalHoistableMarker] ||
|
19558
|
+
"SCRIPT" === nodeName ||
|
19559
|
+
"STYLE" === nodeName ||
|
19560
|
+
("LINK" === nodeName &&
|
19561
|
+
"stylesheet" === node$jscomp$0.rel.toLowerCase()) ||
|
19562
|
+
node.removeChild(node$jscomp$0);
|
19563
|
+
node$jscomp$0 = nextNode$jscomp$0;
|
19564
|
+
}
|
19565
|
+
} else
|
19566
|
+
node === PREAMBLE_CONTRIBUTION_BODY &&
|
19567
|
+
releaseSingletonInstance(parentInstance.ownerDocument.body);
|
19577
19568
|
node = nextNode;
|
19578
19569
|
} while (node);
|
19579
19570
|
retryIfBlockedOn(suspenseInstance);
|
@@ -24502,9 +24493,9 @@
|
|
24502
24493
|
SUSPENSE_END_DATA = "/$",
|
24503
24494
|
SUSPENSE_PENDING_START_DATA = "$?",
|
24504
24495
|
SUSPENSE_FALLBACK_START_DATA = "$!",
|
24505
|
-
PREAMBLE_CONTRIBUTION_HTML =
|
24506
|
-
PREAMBLE_CONTRIBUTION_BODY =
|
24507
|
-
PREAMBLE_CONTRIBUTION_HEAD =
|
24496
|
+
PREAMBLE_CONTRIBUTION_HTML = "html",
|
24497
|
+
PREAMBLE_CONTRIBUTION_BODY = "body",
|
24498
|
+
PREAMBLE_CONTRIBUTION_HEAD = "head",
|
24508
24499
|
FORM_STATE_IS_MATCHING = "F!",
|
24509
24500
|
FORM_STATE_IS_NOT_MATCHING = "F",
|
24510
24501
|
DOCUMENT_READY_STATE_COMPLETE = "complete",
|
@@ -24948,11 +24939,11 @@
|
|
24948
24939
|
};
|
24949
24940
|
(function () {
|
24950
24941
|
var isomorphicReactPackageVersion = React.version;
|
24951
|
-
if ("19.2.0-canary-
|
24942
|
+
if ("19.2.0-canary-1d6c8168-20250411" !== isomorphicReactPackageVersion)
|
24952
24943
|
throw Error(
|
24953
24944
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24954
24945
|
(isomorphicReactPackageVersion +
|
24955
|
-
"\n - react-dom: 19.2.0-canary-
|
24946
|
+
"\n - react-dom: 19.2.0-canary-1d6c8168-20250411\nLearn more: https://react.dev/warnings/version-mismatch")
|
24956
24947
|
);
|
24957
24948
|
})();
|
24958
24949
|
("function" === typeof Map &&
|
@@ -24989,10 +24980,10 @@
|
|
24989
24980
|
!(function () {
|
24990
24981
|
var internals = {
|
24991
24982
|
bundleType: 1,
|
24992
|
-
version: "19.2.0-canary-
|
24983
|
+
version: "19.2.0-canary-1d6c8168-20250411",
|
24993
24984
|
rendererPackageName: "react-dom",
|
24994
24985
|
currentDispatcherRef: ReactSharedInternals,
|
24995
|
-
reconcilerVersion: "19.2.0-canary-
|
24986
|
+
reconcilerVersion: "19.2.0-canary-1d6c8168-20250411"
|
24996
24987
|
};
|
24997
24988
|
internals.overrideHookState = overrideHookState;
|
24998
24989
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25136,7 +25127,7 @@
|
|
25136
25127
|
listenToAllSupportedEvents(container);
|
25137
25128
|
return new ReactDOMHydrationRoot(initialChildren);
|
25138
25129
|
};
|
25139
|
-
exports.version = "19.2.0-canary-
|
25130
|
+
exports.version = "19.2.0-canary-1d6c8168-20250411";
|
25140
25131
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25141
25132
|
"function" ===
|
25142
25133
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|