react-dom 19.2.0-canary-ea05b750-20250408 → 19.2.0-canary-c44e4a25-20250409
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 +406 -343
- package/cjs/react-dom-client.production.js +244 -182
- package/cjs/react-dom-profiling.development.js +406 -343
- package/cjs/react-dom-profiling.profiling.js +251 -195
- package/cjs/react-dom-server-legacy.browser.development.js +36 -8
- package/cjs/react-dom-server-legacy.browser.production.js +57 -37
- package/cjs/react-dom-server-legacy.node.development.js +36 -8
- package/cjs/react-dom-server-legacy.node.production.js +57 -37
- package/cjs/react-dom-server.browser.development.js +37 -10
- package/cjs/react-dom-server.browser.production.js +41 -17
- package/cjs/react-dom-server.bun.development.js +38 -13
- package/cjs/react-dom-server.bun.production.js +37 -20
- package/cjs/react-dom-server.edge.development.js +37 -10
- package/cjs/react-dom-server.edge.production.js +41 -17
- package/cjs/react-dom-server.node.development.js +37 -10
- package/cjs/react-dom-server.node.production.js +41 -17
- 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
@@ -8798,9 +8798,13 @@
|
|
8798
8798
|
renderLanes
|
8799
8799
|
);
|
8800
8800
|
}
|
8801
|
-
function updateOffscreenComponent(
|
8802
|
-
|
8803
|
-
|
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,32 +9591,32 @@
|
|
9587
9591
|
return current;
|
9588
9592
|
}
|
9589
9593
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
9590
|
-
var
|
9591
|
-
var
|
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
|
9597
|
+
var JSCompiler_object_inline_componentStack_2454 = !1;
|
9594
9598
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
9595
|
-
(
|
9596
|
-
(
|
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
|
-
|
9601
|
-
((
|
9604
|
+
JSCompiler_object_inline_digest_2452 &&
|
9605
|
+
((JSCompiler_object_inline_componentStack_2454 = !0),
|
9602
9606
|
(workInProgress.flags &= -129));
|
9603
|
-
|
9607
|
+
JSCompiler_object_inline_digest_2452 = 0 !== (workInProgress.flags & 32);
|
9604
9608
|
workInProgress.flags &= -33;
|
9605
9609
|
if (null === current) {
|
9606
9610
|
if (isHydrating) {
|
9607
|
-
|
9611
|
+
JSCompiler_object_inline_componentStack_2454
|
9608
9612
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
9609
9613
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
9610
9614
|
if (isHydrating) {
|
9611
|
-
var
|
9615
|
+
var JSCompiler_object_inline_message_2451 = nextHydratableInstance;
|
9612
9616
|
var JSCompiler_temp;
|
9613
|
-
if (!(JSCompiler_temp = !
|
9617
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2451)) {
|
9614
9618
|
c: {
|
9615
|
-
var instance =
|
9619
|
+
var instance = JSCompiler_object_inline_message_2451;
|
9616
9620
|
for (
|
9617
9621
|
JSCompiler_temp = rootOrSingletonContext;
|
9618
9622
|
8 !== instance.nodeType;
|
@@ -9654,77 +9658,77 @@
|
|
9654
9658
|
JSCompiler_temp &&
|
9655
9659
|
(warnNonHydratedInstance(
|
9656
9660
|
workInProgress,
|
9657
|
-
|
9661
|
+
JSCompiler_object_inline_message_2451
|
9658
9662
|
),
|
9659
9663
|
throwOnHydrationMismatch(workInProgress));
|
9660
9664
|
}
|
9661
|
-
|
9665
|
+
JSCompiler_object_inline_message_2451 = workInProgress.memoizedState;
|
9662
9666
|
if (
|
9663
|
-
null !==
|
9664
|
-
((
|
9665
|
-
|
9666
|
-
null !==
|
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)
|
9667
9671
|
)
|
9668
9672
|
return (
|
9669
|
-
isSuspenseInstanceFallback(
|
9673
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2451)
|
9670
9674
|
? (workInProgress.lanes = 32)
|
9671
9675
|
: (workInProgress.lanes = 536870912),
|
9672
9676
|
null
|
9673
9677
|
);
|
9674
9678
|
popSuspenseHandler(workInProgress);
|
9675
9679
|
}
|
9676
|
-
|
9677
|
-
|
9678
|
-
|
9679
|
-
|
9680
|
-
if (
|
9680
|
+
JSCompiler_object_inline_message_2451 =
|
9681
|
+
JSCompiler_object_inline_stack_2453.children;
|
9682
|
+
JSCompiler_object_inline_stack_2453 =
|
9683
|
+
JSCompiler_object_inline_stack_2453.fallback;
|
9684
|
+
if (JSCompiler_object_inline_componentStack_2454)
|
9681
9685
|
return (
|
9682
9686
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9683
|
-
(
|
9687
|
+
(JSCompiler_object_inline_componentStack_2454 =
|
9684
9688
|
workInProgress.mode),
|
9685
|
-
(
|
9689
|
+
(JSCompiler_object_inline_message_2451 =
|
9686
9690
|
mountWorkInProgressOffscreenFiber(
|
9687
9691
|
{
|
9688
9692
|
mode: "hidden",
|
9689
|
-
children:
|
9693
|
+
children: JSCompiler_object_inline_message_2451
|
9690
9694
|
},
|
9691
|
-
|
9695
|
+
JSCompiler_object_inline_componentStack_2454
|
9692
9696
|
)),
|
9693
|
-
(
|
9694
|
-
|
9695
|
-
|
9697
|
+
(JSCompiler_object_inline_stack_2453 = createFiberFromFragment(
|
9698
|
+
JSCompiler_object_inline_stack_2453,
|
9699
|
+
JSCompiler_object_inline_componentStack_2454,
|
9696
9700
|
renderLanes,
|
9697
9701
|
null
|
9698
9702
|
)),
|
9699
|
-
(
|
9700
|
-
(
|
9701
|
-
(
|
9702
|
-
|
9703
|
-
(workInProgress.child =
|
9704
|
-
(
|
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 =
|
9705
9709
|
workInProgress.child),
|
9706
|
-
(
|
9710
|
+
(JSCompiler_object_inline_componentStack_2454.memoizedState =
|
9707
9711
|
mountSuspenseOffscreenState(renderLanes)),
|
9708
|
-
(
|
9712
|
+
(JSCompiler_object_inline_componentStack_2454.childLanes =
|
9709
9713
|
getRemainingWorkInPrimaryTree(
|
9710
9714
|
current,
|
9711
|
-
|
9715
|
+
JSCompiler_object_inline_digest_2452,
|
9712
9716
|
renderLanes
|
9713
9717
|
)),
|
9714
9718
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9715
|
-
|
9719
|
+
JSCompiler_object_inline_stack_2453
|
9716
9720
|
);
|
9717
9721
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9718
9722
|
return mountSuspensePrimaryChildren(
|
9719
9723
|
workInProgress,
|
9720
|
-
|
9724
|
+
JSCompiler_object_inline_message_2451
|
9721
9725
|
);
|
9722
9726
|
}
|
9723
9727
|
var prevState = current.memoizedState;
|
9724
9728
|
if (
|
9725
9729
|
null !== prevState &&
|
9726
|
-
((
|
9727
|
-
null !==
|
9730
|
+
((JSCompiler_object_inline_message_2451 = prevState.dehydrated),
|
9731
|
+
null !== JSCompiler_object_inline_message_2451)
|
9728
9732
|
) {
|
9729
9733
|
if (didSuspend)
|
9730
9734
|
workInProgress.flags & 256
|
@@ -9741,94 +9745,94 @@
|
|
9741
9745
|
(workInProgress.flags |= 128),
|
9742
9746
|
(workInProgress = null))
|
9743
9747
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9744
|
-
(
|
9745
|
-
|
9746
|
-
(
|
9747
|
-
(
|
9748
|
+
(JSCompiler_object_inline_componentStack_2454 =
|
9749
|
+
JSCompiler_object_inline_stack_2453.fallback),
|
9750
|
+
(JSCompiler_object_inline_message_2451 = workInProgress.mode),
|
9751
|
+
(JSCompiler_object_inline_stack_2453 =
|
9748
9752
|
mountWorkInProgressOffscreenFiber(
|
9749
9753
|
{
|
9750
9754
|
mode: "visible",
|
9751
|
-
children:
|
9755
|
+
children: JSCompiler_object_inline_stack_2453.children
|
9752
9756
|
},
|
9753
|
-
|
9757
|
+
JSCompiler_object_inline_message_2451
|
9754
9758
|
)),
|
9755
|
-
(
|
9759
|
+
(JSCompiler_object_inline_componentStack_2454 =
|
9756
9760
|
createFiberFromFragment(
|
9757
|
-
|
9758
|
-
|
9761
|
+
JSCompiler_object_inline_componentStack_2454,
|
9762
|
+
JSCompiler_object_inline_message_2451,
|
9759
9763
|
renderLanes,
|
9760
9764
|
null
|
9761
9765
|
)),
|
9762
|
-
(
|
9763
|
-
(
|
9764
|
-
(
|
9766
|
+
(JSCompiler_object_inline_componentStack_2454.flags |= 2),
|
9767
|
+
(JSCompiler_object_inline_stack_2453.return = workInProgress),
|
9768
|
+
(JSCompiler_object_inline_componentStack_2454.return =
|
9765
9769
|
workInProgress),
|
9766
|
-
(
|
9767
|
-
|
9768
|
-
(workInProgress.child =
|
9770
|
+
(JSCompiler_object_inline_stack_2453.sibling =
|
9771
|
+
JSCompiler_object_inline_componentStack_2454),
|
9772
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2453),
|
9769
9773
|
reconcileChildFibers(
|
9770
9774
|
workInProgress,
|
9771
9775
|
current.child,
|
9772
9776
|
null,
|
9773
9777
|
renderLanes
|
9774
9778
|
),
|
9775
|
-
(
|
9776
|
-
(
|
9779
|
+
(JSCompiler_object_inline_stack_2453 = workInProgress.child),
|
9780
|
+
(JSCompiler_object_inline_stack_2453.memoizedState =
|
9777
9781
|
mountSuspenseOffscreenState(renderLanes)),
|
9778
|
-
(
|
9782
|
+
(JSCompiler_object_inline_stack_2453.childLanes =
|
9779
9783
|
getRemainingWorkInPrimaryTree(
|
9780
9784
|
current,
|
9781
|
-
|
9785
|
+
JSCompiler_object_inline_digest_2452,
|
9782
9786
|
renderLanes
|
9783
9787
|
)),
|
9784
9788
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9785
9789
|
(workInProgress =
|
9786
|
-
|
9790
|
+
JSCompiler_object_inline_componentStack_2454));
|
9787
9791
|
else if (
|
9788
9792
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9789
9793
|
isHydrating &&
|
9790
9794
|
console.error(
|
9791
9795
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
9792
9796
|
),
|
9793
|
-
isSuspenseInstanceFallback(
|
9797
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2451))
|
9794
9798
|
) {
|
9795
|
-
|
9796
|
-
|
9797
|
-
|
9798
|
-
if (
|
9799
|
-
JSCompiler_temp =
|
9800
|
-
var message =
|
9801
|
-
instance =
|
9802
|
-
var componentStack =
|
9799
|
+
JSCompiler_object_inline_digest_2452 =
|
9800
|
+
JSCompiler_object_inline_message_2451.nextSibling &&
|
9801
|
+
JSCompiler_object_inline_message_2451.nextSibling.dataset;
|
9802
|
+
if (JSCompiler_object_inline_digest_2452) {
|
9803
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2452.dgst;
|
9804
|
+
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;
|
9803
9807
|
}
|
9804
|
-
|
9805
|
-
|
9806
|
-
|
9807
|
-
JSCompiler_temp =
|
9808
|
+
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 =
|
9808
9812
|
componentStack;
|
9809
|
-
|
9810
|
-
|
9811
|
-
? Error(
|
9813
|
+
JSCompiler_object_inline_componentStack_2454 =
|
9814
|
+
JSCompiler_object_inline_message_2451
|
9815
|
+
? Error(JSCompiler_object_inline_message_2451)
|
9812
9816
|
: Error(
|
9813
9817
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9814
9818
|
);
|
9815
|
-
|
9816
|
-
|
9817
|
-
|
9818
|
-
|
9819
|
-
|
9819
|
+
JSCompiler_object_inline_componentStack_2454.stack =
|
9820
|
+
JSCompiler_object_inline_stack_2453 || "";
|
9821
|
+
JSCompiler_object_inline_componentStack_2454.digest =
|
9822
|
+
JSCompiler_object_inline_digest_2452;
|
9823
|
+
JSCompiler_object_inline_digest_2452 =
|
9820
9824
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
9821
|
-
|
9822
|
-
value:
|
9825
|
+
JSCompiler_object_inline_stack_2453 = {
|
9826
|
+
value: JSCompiler_object_inline_componentStack_2454,
|
9823
9827
|
source: null,
|
9824
|
-
stack:
|
9828
|
+
stack: JSCompiler_object_inline_digest_2452
|
9825
9829
|
};
|
9826
|
-
"string" === typeof
|
9830
|
+
"string" === typeof JSCompiler_object_inline_digest_2452 &&
|
9827
9831
|
CapturedStacks.set(
|
9828
|
-
|
9829
|
-
|
9832
|
+
JSCompiler_object_inline_componentStack_2454,
|
9833
|
+
JSCompiler_object_inline_stack_2453
|
9830
9834
|
);
|
9831
|
-
queueHydrationError(
|
9835
|
+
queueHydrationError(JSCompiler_object_inline_stack_2453);
|
9832
9836
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9833
9837
|
current,
|
9834
9838
|
workInProgress,
|
@@ -9842,44 +9846,44 @@
|
|
9842
9846
|
renderLanes,
|
9843
9847
|
!1
|
9844
9848
|
),
|
9845
|
-
(
|
9849
|
+
(JSCompiler_object_inline_digest_2452 =
|
9846
9850
|
0 !== (renderLanes & current.childLanes)),
|
9847
|
-
didReceiveUpdate ||
|
9851
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2452)
|
9848
9852
|
) {
|
9849
|
-
|
9853
|
+
JSCompiler_object_inline_digest_2452 = workInProgressRoot;
|
9850
9854
|
if (
|
9851
|
-
null !==
|
9852
|
-
((
|
9853
|
-
(
|
9854
|
-
0 !== (
|
9855
|
+
null !== JSCompiler_object_inline_digest_2452 &&
|
9856
|
+
((JSCompiler_object_inline_stack_2453 = renderLanes & -renderLanes),
|
9857
|
+
(JSCompiler_object_inline_stack_2453 =
|
9858
|
+
0 !== (JSCompiler_object_inline_stack_2453 & 42)
|
9855
9859
|
? 1
|
9856
9860
|
: getBumpedLaneForHydrationByLane(
|
9857
|
-
|
9861
|
+
JSCompiler_object_inline_stack_2453
|
9858
9862
|
)),
|
9859
|
-
(
|
9863
|
+
(JSCompiler_object_inline_stack_2453 =
|
9860
9864
|
0 !==
|
9861
|
-
(
|
9862
|
-
(
|
9865
|
+
(JSCompiler_object_inline_stack_2453 &
|
9866
|
+
(JSCompiler_object_inline_digest_2452.suspendedLanes |
|
9863
9867
|
renderLanes))
|
9864
9868
|
? 0
|
9865
|
-
:
|
9866
|
-
0 !==
|
9867
|
-
|
9869
|
+
: JSCompiler_object_inline_stack_2453),
|
9870
|
+
0 !== JSCompiler_object_inline_stack_2453 &&
|
9871
|
+
JSCompiler_object_inline_stack_2453 !== prevState.retryLane)
|
9868
9872
|
)
|
9869
9873
|
throw (
|
9870
|
-
((prevState.retryLane =
|
9874
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2453),
|
9871
9875
|
enqueueConcurrentRenderForLane(
|
9872
9876
|
current,
|
9873
|
-
|
9877
|
+
JSCompiler_object_inline_stack_2453
|
9874
9878
|
),
|
9875
9879
|
scheduleUpdateOnFiber(
|
9876
|
-
|
9880
|
+
JSCompiler_object_inline_digest_2452,
|
9877
9881
|
current,
|
9878
|
-
|
9882
|
+
JSCompiler_object_inline_stack_2453
|
9879
9883
|
),
|
9880
9884
|
SelectiveHydrationException)
|
9881
9885
|
);
|
9882
|
-
|
9886
|
+
JSCompiler_object_inline_message_2451.data ===
|
9883
9887
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
9884
9888
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9885
9889
|
current,
|
@@ -9887,14 +9891,14 @@
|
|
9887
9891
|
renderLanes
|
9888
9892
|
);
|
9889
9893
|
} else
|
9890
|
-
|
9894
|
+
JSCompiler_object_inline_message_2451.data ===
|
9891
9895
|
SUSPENSE_PENDING_START_DATA
|
9892
9896
|
? ((workInProgress.flags |= 192),
|
9893
9897
|
(workInProgress.child = current.child),
|
9894
9898
|
(workInProgress = null))
|
9895
9899
|
: ((current = prevState.treeContext),
|
9896
9900
|
(nextHydratableInstance = getNextHydratable(
|
9897
|
-
|
9901
|
+
JSCompiler_object_inline_message_2451.nextSibling
|
9898
9902
|
)),
|
9899
9903
|
(hydrationParentFiber = workInProgress),
|
9900
9904
|
(isHydrating = !0),
|
@@ -9912,57 +9916,57 @@
|
|
9912
9916
|
(treeContextProvider = workInProgress)),
|
9913
9917
|
(workInProgress = mountSuspensePrimaryChildren(
|
9914
9918
|
workInProgress,
|
9915
|
-
|
9919
|
+
JSCompiler_object_inline_stack_2453.children
|
9916
9920
|
)),
|
9917
9921
|
(workInProgress.flags |= 4096));
|
9918
9922
|
return workInProgress;
|
9919
9923
|
}
|
9920
|
-
if (
|
9924
|
+
if (JSCompiler_object_inline_componentStack_2454)
|
9921
9925
|
return (
|
9922
9926
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9923
|
-
(
|
9924
|
-
|
9925
|
-
(
|
9927
|
+
(JSCompiler_object_inline_componentStack_2454 =
|
9928
|
+
JSCompiler_object_inline_stack_2453.fallback),
|
9929
|
+
(JSCompiler_object_inline_message_2451 = workInProgress.mode),
|
9926
9930
|
(JSCompiler_temp = current.child),
|
9927
9931
|
(instance = JSCompiler_temp.sibling),
|
9928
|
-
(
|
9932
|
+
(JSCompiler_object_inline_stack_2453 = createWorkInProgress(
|
9929
9933
|
JSCompiler_temp,
|
9930
9934
|
{
|
9931
9935
|
mode: "hidden",
|
9932
|
-
children:
|
9936
|
+
children: JSCompiler_object_inline_stack_2453.children
|
9933
9937
|
}
|
9934
9938
|
)),
|
9935
|
-
(
|
9939
|
+
(JSCompiler_object_inline_stack_2453.subtreeFlags =
|
9936
9940
|
JSCompiler_temp.subtreeFlags & 65011712),
|
9937
9941
|
null !== instance
|
9938
|
-
? (
|
9942
|
+
? (JSCompiler_object_inline_componentStack_2454 =
|
9939
9943
|
createWorkInProgress(
|
9940
9944
|
instance,
|
9941
|
-
|
9945
|
+
JSCompiler_object_inline_componentStack_2454
|
9942
9946
|
))
|
9943
|
-
: ((
|
9947
|
+
: ((JSCompiler_object_inline_componentStack_2454 =
|
9944
9948
|
createFiberFromFragment(
|
9945
|
-
|
9946
|
-
|
9949
|
+
JSCompiler_object_inline_componentStack_2454,
|
9950
|
+
JSCompiler_object_inline_message_2451,
|
9947
9951
|
renderLanes,
|
9948
9952
|
null
|
9949
9953
|
)),
|
9950
|
-
(
|
9951
|
-
(
|
9954
|
+
(JSCompiler_object_inline_componentStack_2454.flags |= 2)),
|
9955
|
+
(JSCompiler_object_inline_componentStack_2454.return =
|
9952
9956
|
workInProgress),
|
9953
|
-
(
|
9954
|
-
(
|
9955
|
-
|
9956
|
-
(workInProgress.child =
|
9957
|
-
(
|
9958
|
-
|
9959
|
-
(
|
9960
|
-
(
|
9961
|
-
null ===
|
9962
|
-
? (
|
9957
|
+
(JSCompiler_object_inline_stack_2453.return = workInProgress),
|
9958
|
+
(JSCompiler_object_inline_stack_2453.sibling =
|
9959
|
+
JSCompiler_object_inline_componentStack_2454),
|
9960
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2453),
|
9961
|
+
(JSCompiler_object_inline_stack_2453 =
|
9962
|
+
JSCompiler_object_inline_componentStack_2454),
|
9963
|
+
(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 =
|
9963
9967
|
mountSuspenseOffscreenState(renderLanes))
|
9964
9968
|
: ((JSCompiler_temp =
|
9965
|
-
|
9969
|
+
JSCompiler_object_inline_message_2451.cachePool),
|
9966
9970
|
null !== JSCompiler_temp
|
9967
9971
|
? ((instance = CacheContext._currentValue),
|
9968
9972
|
(JSCompiler_temp =
|
@@ -9970,37 +9974,37 @@
|
|
9970
9974
|
? { parent: instance, pool: instance }
|
9971
9975
|
: JSCompiler_temp))
|
9972
9976
|
: (JSCompiler_temp = getSuspendedCache()),
|
9973
|
-
(
|
9977
|
+
(JSCompiler_object_inline_message_2451 = {
|
9974
9978
|
baseLanes:
|
9975
|
-
|
9979
|
+
JSCompiler_object_inline_message_2451.baseLanes | renderLanes,
|
9976
9980
|
cachePool: JSCompiler_temp
|
9977
9981
|
})),
|
9978
|
-
(
|
9979
|
-
|
9980
|
-
(
|
9982
|
+
(JSCompiler_object_inline_componentStack_2454.memoizedState =
|
9983
|
+
JSCompiler_object_inline_message_2451),
|
9984
|
+
(JSCompiler_object_inline_componentStack_2454.childLanes =
|
9981
9985
|
getRemainingWorkInPrimaryTree(
|
9982
9986
|
current,
|
9983
|
-
|
9987
|
+
JSCompiler_object_inline_digest_2452,
|
9984
9988
|
renderLanes
|
9985
9989
|
)),
|
9986
9990
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9987
|
-
|
9991
|
+
JSCompiler_object_inline_stack_2453
|
9988
9992
|
);
|
9989
9993
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9990
9994
|
renderLanes = current.child;
|
9991
9995
|
current = renderLanes.sibling;
|
9992
9996
|
renderLanes = createWorkInProgress(renderLanes, {
|
9993
9997
|
mode: "visible",
|
9994
|
-
children:
|
9998
|
+
children: JSCompiler_object_inline_stack_2453.children
|
9995
9999
|
});
|
9996
10000
|
renderLanes.return = workInProgress;
|
9997
10001
|
renderLanes.sibling = null;
|
9998
10002
|
null !== current &&
|
9999
|
-
((
|
10000
|
-
null ===
|
10003
|
+
((JSCompiler_object_inline_digest_2452 = workInProgress.deletions),
|
10004
|
+
null === JSCompiler_object_inline_digest_2452
|
10001
10005
|
? ((workInProgress.deletions = [current]),
|
10002
10006
|
(workInProgress.flags |= 16))
|
10003
|
-
:
|
10007
|
+
: JSCompiler_object_inline_digest_2452.push(current));
|
10004
10008
|
workInProgress.child = renderLanes;
|
10005
10009
|
workInProgress.memoizedState = null;
|
10006
10010
|
return renderLanes;
|
@@ -10397,10 +10401,14 @@
|
|
10397
10401
|
if (stateNode) break;
|
10398
10402
|
else return null;
|
10399
10403
|
case 22:
|
10400
|
-
case 23:
|
10401
10404
|
return (
|
10402
10405
|
(workInProgress.lanes = 0),
|
10403
|
-
updateOffscreenComponent(
|
10406
|
+
updateOffscreenComponent(
|
10407
|
+
current,
|
10408
|
+
workInProgress,
|
10409
|
+
renderLanes,
|
10410
|
+
workInProgress.pendingProps
|
10411
|
+
)
|
10404
10412
|
);
|
10405
10413
|
case 24:
|
10406
10414
|
pushProvider(
|
@@ -11034,7 +11042,12 @@
|
|
11034
11042
|
workInProgress
|
11035
11043
|
);
|
11036
11044
|
case 22:
|
11037
|
-
return updateOffscreenComponent(
|
11045
|
+
return updateOffscreenComponent(
|
11046
|
+
current,
|
11047
|
+
workInProgress,
|
11048
|
+
renderLanes,
|
11049
|
+
workInProgress.pendingProps
|
11050
|
+
);
|
11038
11051
|
case 24:
|
11039
11052
|
return (
|
11040
11053
|
prepareToReadContext(workInProgress),
|
@@ -11101,32 +11114,42 @@
|
|
11101
11114
|
function markUpdate(workInProgress) {
|
11102
11115
|
workInProgress.flags |= 4;
|
11103
11116
|
}
|
11117
|
+
function preloadInstanceAndSuspendIfNeeded(
|
11118
|
+
workInProgress,
|
11119
|
+
type,
|
11120
|
+
oldProps,
|
11121
|
+
newProps,
|
11122
|
+
renderLanes
|
11123
|
+
) {
|
11124
|
+
if ((type = (workInProgress.mode & SuspenseyImagesMode) !== NoMode))
|
11125
|
+
type = !1;
|
11126
|
+
if (type) {
|
11127
|
+
if (
|
11128
|
+
((workInProgress.flags |= 16777216),
|
11129
|
+
(renderLanes & 335544128) === renderLanes)
|
11130
|
+
)
|
11131
|
+
if (workInProgress.stateNode.complete) workInProgress.flags |= 8192;
|
11132
|
+
else if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
|
11133
|
+
else
|
11134
|
+
throw (
|
11135
|
+
((suspendedThenable = noopSuspenseyCommitThenable),
|
11136
|
+
SuspenseyCommitException)
|
11137
|
+
);
|
11138
|
+
} else workInProgress.flags &= -16777217;
|
11139
|
+
}
|
11104
11140
|
function preloadResourceAndSuspendIfNeeded(workInProgress, resource) {
|
11105
11141
|
if (
|
11106
11142
|
"stylesheet" !== resource.type ||
|
11107
11143
|
(resource.state.loading & Inserted) !== NotLoaded
|
11108
11144
|
)
|
11109
11145
|
workInProgress.flags &= -16777217;
|
11110
|
-
else if (
|
11111
|
-
((workInProgress.flags |=
|
11112
|
-
|
11113
|
-
resource = suspenseHandlerStackCursor.current;
|
11114
|
-
if (
|
11115
|
-
null !== resource &&
|
11116
|
-
((workInProgressRootRenderLanes & 4194048) ===
|
11117
|
-
workInProgressRootRenderLanes
|
11118
|
-
? null !== shellBoundary
|
11119
|
-
: ((workInProgressRootRenderLanes & 62914560) !==
|
11120
|
-
workInProgressRootRenderLanes &&
|
11121
|
-
0 === (workInProgressRootRenderLanes & 536870912)) ||
|
11122
|
-
resource !== shellBoundary)
|
11123
|
-
)
|
11146
|
+
else if (((workInProgress.flags |= 16777216), !preloadResource(resource)))
|
11147
|
+
if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
|
11148
|
+
else
|
11124
11149
|
throw (
|
11125
11150
|
((suspendedThenable = noopSuspenseyCommitThenable),
|
11126
11151
|
SuspenseyCommitException)
|
11127
11152
|
);
|
11128
|
-
workInProgress.flags |= 8192;
|
11129
|
-
}
|
11130
11153
|
}
|
11131
11154
|
function scheduleRetryEffect(workInProgress, retryQueue) {
|
11132
11155
|
null !== retryQueue && (workInProgress.flags |= 4);
|
@@ -11260,38 +11283,49 @@
|
|
11260
11283
|
bubbleProperties(workInProgress);
|
11261
11284
|
return null;
|
11262
11285
|
case 26:
|
11263
|
-
|
11264
|
-
|
11265
|
-
|
11266
|
-
|
11267
|
-
|
11268
|
-
|
11269
|
-
|
11270
|
-
|
11271
|
-
|
11272
|
-
|
11273
|
-
|
11274
|
-
|
11275
|
-
|
11276
|
-
|
11277
|
-
|
11278
|
-
|
11279
|
-
|
11280
|
-
|
11281
|
-
|
11282
|
-
|
11283
|
-
|
11284
|
-
(workInProgress.flags &= -16777217))
|
11285
|
-
: (current.memoizedProps !== newProps &&
|
11286
|
-
markUpdate(workInProgress),
|
11286
|
+
var type = workInProgress.type,
|
11287
|
+
nextResource = workInProgress.memoizedState;
|
11288
|
+
null === current
|
11289
|
+
? (markUpdate(workInProgress),
|
11290
|
+
null !== nextResource
|
11291
|
+
? (bubbleProperties(workInProgress),
|
11292
|
+
preloadResourceAndSuspendIfNeeded(
|
11293
|
+
workInProgress,
|
11294
|
+
nextResource
|
11295
|
+
))
|
11296
|
+
: (bubbleProperties(workInProgress),
|
11297
|
+
preloadInstanceAndSuspendIfNeeded(
|
11298
|
+
workInProgress,
|
11299
|
+
type,
|
11300
|
+
null,
|
11301
|
+
newProps,
|
11302
|
+
renderLanes
|
11303
|
+
)))
|
11304
|
+
: nextResource
|
11305
|
+
? nextResource !== current.memoizedState
|
11306
|
+
? (markUpdate(workInProgress),
|
11287
11307
|
bubbleProperties(workInProgress),
|
11288
|
-
(
|
11289
|
-
|
11290
|
-
|
11308
|
+
preloadResourceAndSuspendIfNeeded(
|
11309
|
+
workInProgress,
|
11310
|
+
nextResource
|
11311
|
+
))
|
11312
|
+
: (bubbleProperties(workInProgress),
|
11313
|
+
(workInProgress.flags &= -16777217))
|
11314
|
+
: ((current = current.memoizedProps),
|
11315
|
+
current !== newProps && markUpdate(workInProgress),
|
11316
|
+
bubbleProperties(workInProgress),
|
11317
|
+
preloadInstanceAndSuspendIfNeeded(
|
11318
|
+
workInProgress,
|
11319
|
+
type,
|
11320
|
+
current,
|
11321
|
+
newProps,
|
11322
|
+
renderLanes
|
11323
|
+
));
|
11324
|
+
return null;
|
11291
11325
|
case 27:
|
11292
11326
|
popHostContext(workInProgress);
|
11293
11327
|
renderLanes = requiredContext(rootInstanceStackCursor.current);
|
11294
|
-
|
11328
|
+
type = workInProgress.type;
|
11295
11329
|
if (null !== current && null != workInProgress.stateNode)
|
11296
11330
|
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
11297
11331
|
else {
|
@@ -11307,7 +11341,7 @@
|
|
11307
11341
|
popHydrationState(workInProgress)
|
11308
11342
|
? prepareToHydrateHostInstance(workInProgress, current)
|
11309
11343
|
: ((current = resolveSingletonInstance(
|
11310
|
-
|
11344
|
+
type,
|
11311
11345
|
newProps,
|
11312
11346
|
renderLanes,
|
11313
11347
|
current,
|
@@ -11320,7 +11354,7 @@
|
|
11320
11354
|
return null;
|
11321
11355
|
case 5:
|
11322
11356
|
popHostContext(workInProgress);
|
11323
|
-
|
11357
|
+
type = workInProgress.type;
|
11324
11358
|
if (null !== current && null != workInProgress.stateNode)
|
11325
11359
|
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
11326
11360
|
else {
|
@@ -11332,123 +11366,142 @@
|
|
11332
11366
|
bubbleProperties(workInProgress);
|
11333
11367
|
return null;
|
11334
11368
|
}
|
11335
|
-
|
11369
|
+
var _currentHostContext = getHostContext();
|
11336
11370
|
if (popHydrationState(workInProgress))
|
11337
|
-
prepareToHydrateHostInstance(workInProgress,
|
11371
|
+
prepareToHydrateHostInstance(workInProgress, _currentHostContext);
|
11338
11372
|
else {
|
11339
|
-
|
11340
|
-
validateDOMNesting(
|
11341
|
-
|
11342
|
-
|
11343
|
-
switch (
|
11373
|
+
nextResource = requiredContext(rootInstanceStackCursor.current);
|
11374
|
+
validateDOMNesting(type, _currentHostContext.ancestorInfo);
|
11375
|
+
_currentHostContext = _currentHostContext.context;
|
11376
|
+
nextResource = getOwnerDocumentFromRootContainer(nextResource);
|
11377
|
+
switch (_currentHostContext) {
|
11344
11378
|
case HostContextNamespaceSvg:
|
11345
|
-
|
11379
|
+
nextResource = nextResource.createElementNS(
|
11380
|
+
SVG_NAMESPACE,
|
11381
|
+
type
|
11382
|
+
);
|
11346
11383
|
break;
|
11347
11384
|
case HostContextNamespaceMath:
|
11348
|
-
|
11385
|
+
nextResource = nextResource.createElementNS(
|
11349
11386
|
MATH_NAMESPACE,
|
11350
|
-
|
11387
|
+
type
|
11351
11388
|
);
|
11352
11389
|
break;
|
11353
11390
|
default:
|
11354
|
-
switch (
|
11391
|
+
switch (type) {
|
11355
11392
|
case "svg":
|
11356
|
-
|
11393
|
+
nextResource = nextResource.createElementNS(
|
11357
11394
|
SVG_NAMESPACE,
|
11358
|
-
|
11395
|
+
type
|
11359
11396
|
);
|
11360
11397
|
break;
|
11361
11398
|
case "math":
|
11362
|
-
|
11399
|
+
nextResource = nextResource.createElementNS(
|
11363
11400
|
MATH_NAMESPACE,
|
11364
|
-
|
11401
|
+
type
|
11365
11402
|
);
|
11366
11403
|
break;
|
11367
11404
|
case "script":
|
11368
|
-
|
11369
|
-
|
11370
|
-
|
11405
|
+
nextResource = nextResource.createElement("div");
|
11406
|
+
nextResource.innerHTML = "<script>\x3c/script>";
|
11407
|
+
nextResource = nextResource.removeChild(
|
11408
|
+
nextResource.firstChild
|
11409
|
+
);
|
11371
11410
|
break;
|
11372
11411
|
case "select":
|
11373
|
-
|
11412
|
+
nextResource =
|
11374
11413
|
"string" === typeof newProps.is
|
11375
|
-
?
|
11376
|
-
|
11414
|
+
? nextResource.createElement("select", {
|
11415
|
+
is: newProps.is
|
11416
|
+
})
|
11417
|
+
: nextResource.createElement("select");
|
11377
11418
|
newProps.multiple
|
11378
|
-
? (
|
11379
|
-
: newProps.size && (
|
11419
|
+
? (nextResource.multiple = !0)
|
11420
|
+
: newProps.size && (nextResource.size = newProps.size);
|
11380
11421
|
break;
|
11381
11422
|
default:
|
11382
|
-
(
|
11423
|
+
(nextResource =
|
11383
11424
|
"string" === typeof newProps.is
|
11384
|
-
?
|
11425
|
+
? nextResource.createElement(type, {
|
11385
11426
|
is: newProps.is
|
11386
11427
|
})
|
11387
|
-
:
|
11388
|
-
-1 ===
|
11389
|
-
(
|
11428
|
+
: nextResource.createElement(type)),
|
11429
|
+
-1 === type.indexOf("-") &&
|
11430
|
+
(type !== type.toLowerCase() &&
|
11390
11431
|
console.error(
|
11391
11432
|
"<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",
|
11392
|
-
|
11433
|
+
type
|
11393
11434
|
),
|
11394
11435
|
"[object HTMLUnknownElement]" !==
|
11395
|
-
Object.prototype.toString.call(
|
11396
|
-
hasOwnProperty.call(
|
11397
|
-
|
11398
|
-
renderLanes
|
11399
|
-
) ||
|
11400
|
-
((warnedUnknownTags[renderLanes] = !0),
|
11436
|
+
Object.prototype.toString.call(nextResource) ||
|
11437
|
+
hasOwnProperty.call(warnedUnknownTags, type) ||
|
11438
|
+
((warnedUnknownTags[type] = !0),
|
11401
11439
|
console.error(
|
11402
11440
|
"The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",
|
11403
|
-
|
11441
|
+
type
|
11404
11442
|
)));
|
11405
11443
|
}
|
11406
11444
|
}
|
11407
|
-
|
11408
|
-
|
11409
|
-
a: for (
|
11410
|
-
|
11411
|
-
|
11445
|
+
nextResource[internalInstanceKey] = workInProgress;
|
11446
|
+
nextResource[internalPropsKey] = newProps;
|
11447
|
+
a: for (
|
11448
|
+
_currentHostContext = workInProgress.child;
|
11449
|
+
null !== _currentHostContext;
|
11450
|
+
|
11451
|
+
) {
|
11452
|
+
if (
|
11453
|
+
5 === _currentHostContext.tag ||
|
11454
|
+
6 === _currentHostContext.tag
|
11455
|
+
)
|
11456
|
+
nextResource.appendChild(_currentHostContext.stateNode);
|
11412
11457
|
else if (
|
11413
|
-
4 !==
|
11414
|
-
27 !==
|
11415
|
-
null !==
|
11458
|
+
4 !== _currentHostContext.tag &&
|
11459
|
+
27 !== _currentHostContext.tag &&
|
11460
|
+
null !== _currentHostContext.child
|
11416
11461
|
) {
|
11417
|
-
|
11418
|
-
|
11462
|
+
_currentHostContext.child.return = _currentHostContext;
|
11463
|
+
_currentHostContext = _currentHostContext.child;
|
11419
11464
|
continue;
|
11420
11465
|
}
|
11421
|
-
if (
|
11422
|
-
for (; null ===
|
11423
|
-
if (
|
11466
|
+
if (_currentHostContext === workInProgress) break a;
|
11467
|
+
for (; null === _currentHostContext.sibling; ) {
|
11468
|
+
if (
|
11469
|
+
null === _currentHostContext.return ||
|
11470
|
+
_currentHostContext.return === workInProgress
|
11471
|
+
)
|
11424
11472
|
break a;
|
11425
|
-
|
11473
|
+
_currentHostContext = _currentHostContext.return;
|
11426
11474
|
}
|
11427
|
-
|
11428
|
-
|
11475
|
+
_currentHostContext.sibling.return = _currentHostContext.return;
|
11476
|
+
_currentHostContext = _currentHostContext.sibling;
|
11429
11477
|
}
|
11430
|
-
workInProgress.stateNode =
|
11478
|
+
workInProgress.stateNode = nextResource;
|
11431
11479
|
a: switch (
|
11432
|
-
(setInitialProperties(
|
11433
|
-
renderLanes)
|
11480
|
+
(setInitialProperties(nextResource, type, newProps), type)
|
11434
11481
|
) {
|
11435
11482
|
case "button":
|
11436
11483
|
case "input":
|
11437
11484
|
case "select":
|
11438
11485
|
case "textarea":
|
11439
|
-
|
11486
|
+
newProps = !!newProps.autoFocus;
|
11440
11487
|
break a;
|
11441
11488
|
case "img":
|
11442
|
-
|
11489
|
+
newProps = !0;
|
11443
11490
|
break a;
|
11444
11491
|
default:
|
11445
|
-
|
11492
|
+
newProps = !1;
|
11446
11493
|
}
|
11447
|
-
|
11494
|
+
newProps && markUpdate(workInProgress);
|
11448
11495
|
}
|
11449
11496
|
}
|
11450
11497
|
bubbleProperties(workInProgress);
|
11451
|
-
|
11498
|
+
preloadInstanceAndSuspendIfNeeded(
|
11499
|
+
workInProgress,
|
11500
|
+
workInProgress.type,
|
11501
|
+
null === current ? null : current.memoizedProps,
|
11502
|
+
workInProgress.pendingProps,
|
11503
|
+
renderLanes
|
11504
|
+
);
|
11452
11505
|
return null;
|
11453
11506
|
case 6:
|
11454
11507
|
if (current && null != workInProgress.stateNode)
|
@@ -11466,36 +11519,36 @@
|
|
11466
11519
|
if (popHydrationState(workInProgress)) {
|
11467
11520
|
current = workInProgress.stateNode;
|
11468
11521
|
renderLanes = workInProgress.memoizedProps;
|
11469
|
-
|
11522
|
+
type = !didSuspendOrErrorDEV;
|
11470
11523
|
newProps = null;
|
11471
|
-
|
11472
|
-
if (null !==
|
11473
|
-
switch (
|
11524
|
+
nextResource = hydrationParentFiber;
|
11525
|
+
if (null !== nextResource)
|
11526
|
+
switch (nextResource.tag) {
|
11474
11527
|
case 3:
|
11475
|
-
|
11476
|
-
((
|
11528
|
+
type &&
|
11529
|
+
((type = diffHydratedTextForDevWarnings(
|
11477
11530
|
current,
|
11478
11531
|
renderLanes,
|
11479
11532
|
newProps
|
11480
11533
|
)),
|
11481
|
-
null !==
|
11534
|
+
null !== type &&
|
11482
11535
|
(buildHydrationDiffNode(workInProgress, 0).serverProps =
|
11483
|
-
|
11536
|
+
type));
|
11484
11537
|
break;
|
11485
11538
|
case 27:
|
11486
11539
|
case 5:
|
11487
|
-
(newProps =
|
11488
|
-
|
11489
|
-
((
|
11540
|
+
(newProps = nextResource.memoizedProps),
|
11541
|
+
type &&
|
11542
|
+
((type = diffHydratedTextForDevWarnings(
|
11490
11543
|
current,
|
11491
11544
|
renderLanes,
|
11492
11545
|
newProps
|
11493
11546
|
)),
|
11494
|
-
null !==
|
11547
|
+
null !== type &&
|
11495
11548
|
(buildHydrationDiffNode(
|
11496
11549
|
workInProgress,
|
11497
11550
|
0
|
11498
|
-
).serverProps =
|
11551
|
+
).serverProps = type));
|
11499
11552
|
}
|
11500
11553
|
current[internalInstanceKey] = workInProgress;
|
11501
11554
|
current =
|
@@ -11507,11 +11560,11 @@
|
|
11507
11560
|
: !1;
|
11508
11561
|
current || throwOnHydrationMismatch(workInProgress, !0);
|
11509
11562
|
} else
|
11510
|
-
(
|
11511
|
-
null !=
|
11563
|
+
(type = renderLanes.ancestorInfo.current),
|
11564
|
+
null != type &&
|
11512
11565
|
validateTextNesting(
|
11513
11566
|
newProps,
|
11514
|
-
|
11567
|
+
type.tag,
|
11515
11568
|
renderLanes.ancestorInfo.implicitRootScope
|
11516
11569
|
),
|
11517
11570
|
(current =
|
@@ -11530,27 +11583,26 @@
|
|
11530
11583
|
(null !== current.memoizedState &&
|
11531
11584
|
null !== current.memoizedState.dehydrated)
|
11532
11585
|
) {
|
11533
|
-
|
11586
|
+
type = popHydrationState(workInProgress);
|
11534
11587
|
if (null !== newProps && null !== newProps.dehydrated) {
|
11535
11588
|
if (null === current) {
|
11536
|
-
if (!
|
11589
|
+
if (!type)
|
11537
11590
|
throw Error(
|
11538
11591
|
"A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React."
|
11539
11592
|
);
|
11540
|
-
|
11541
|
-
|
11542
|
-
if (!
|
11593
|
+
type = workInProgress.memoizedState;
|
11594
|
+
type = null !== type ? type.dehydrated : null;
|
11595
|
+
if (!type)
|
11543
11596
|
throw Error(
|
11544
11597
|
"Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue."
|
11545
11598
|
);
|
11546
|
-
|
11599
|
+
type[internalInstanceKey] = workInProgress;
|
11547
11600
|
bubbleProperties(workInProgress);
|
11548
11601
|
(workInProgress.mode & ProfileMode) !== NoMode &&
|
11549
11602
|
null !== newProps &&
|
11550
|
-
((
|
11551
|
-
null !==
|
11552
|
-
(workInProgress.treeBaseDuration -=
|
11553
|
-
_type.treeBaseDuration));
|
11603
|
+
((type = workInProgress.child),
|
11604
|
+
null !== type &&
|
11605
|
+
(workInProgress.treeBaseDuration -= type.treeBaseDuration));
|
11554
11606
|
} else
|
11555
11607
|
emitPendingHydrationWarnings(),
|
11556
11608
|
resetHydrationState(),
|
@@ -11560,18 +11612,18 @@
|
|
11560
11612
|
bubbleProperties(workInProgress),
|
11561
11613
|
(workInProgress.mode & ProfileMode) !== NoMode &&
|
11562
11614
|
null !== newProps &&
|
11563
|
-
((
|
11564
|
-
null !==
|
11615
|
+
((type = workInProgress.child),
|
11616
|
+
null !== type &&
|
11565
11617
|
(workInProgress.treeBaseDuration -=
|
11566
|
-
|
11567
|
-
|
11618
|
+
type.treeBaseDuration));
|
11619
|
+
type = !1;
|
11568
11620
|
} else
|
11569
|
-
(
|
11621
|
+
(type = upgradeHydrationErrorsToRecoverable()),
|
11570
11622
|
null !== current &&
|
11571
11623
|
null !== current.memoizedState &&
|
11572
|
-
(current.memoizedState.hydrationErrors =
|
11573
|
-
(
|
11574
|
-
if (!
|
11624
|
+
(current.memoizedState.hydrationErrors = type),
|
11625
|
+
(type = !0);
|
11626
|
+
if (!type) {
|
11575
11627
|
if (workInProgress.flags & 256)
|
11576
11628
|
return popSuspenseHandler(workInProgress), workInProgress;
|
11577
11629
|
popSuspenseHandler(workInProgress);
|
@@ -11590,16 +11642,16 @@
|
|
11590
11642
|
current = null !== current && null !== current.memoizedState;
|
11591
11643
|
renderLanes &&
|
11592
11644
|
((newProps = workInProgress.child),
|
11593
|
-
(
|
11645
|
+
(type = null),
|
11594
11646
|
null !== newProps.alternate &&
|
11595
11647
|
null !== newProps.alternate.memoizedState &&
|
11596
11648
|
null !== newProps.alternate.memoizedState.cachePool &&
|
11597
|
-
(
|
11598
|
-
(
|
11649
|
+
(type = newProps.alternate.memoizedState.cachePool.pool),
|
11650
|
+
(nextResource = null),
|
11599
11651
|
null !== newProps.memoizedState &&
|
11600
11652
|
null !== newProps.memoizedState.cachePool &&
|
11601
|
-
(
|
11602
|
-
|
11653
|
+
(nextResource = newProps.memoizedState.cachePool.pool),
|
11654
|
+
nextResource !== type && (newProps.flags |= 2048));
|
11603
11655
|
renderLanes !== current &&
|
11604
11656
|
renderLanes &&
|
11605
11657
|
(workInProgress.child.flags |= 8192);
|
@@ -11629,23 +11681,23 @@
|
|
11629
11681
|
);
|
11630
11682
|
case 19:
|
11631
11683
|
pop(suspenseStackCursor, workInProgress);
|
11632
|
-
|
11633
|
-
if (null ===
|
11684
|
+
type = workInProgress.memoizedState;
|
11685
|
+
if (null === type) return bubbleProperties(workInProgress), null;
|
11634
11686
|
newProps = 0 !== (workInProgress.flags & 128);
|
11635
|
-
|
11636
|
-
if (null ===
|
11637
|
-
if (newProps) cutOffTailIfNeeded(
|
11687
|
+
nextResource = type.rendering;
|
11688
|
+
if (null === nextResource)
|
11689
|
+
if (newProps) cutOffTailIfNeeded(type, !1);
|
11638
11690
|
else {
|
11639
11691
|
if (
|
11640
11692
|
workInProgressRootExitStatus !== RootInProgress ||
|
11641
11693
|
(null !== current && 0 !== (current.flags & 128))
|
11642
11694
|
)
|
11643
11695
|
for (current = workInProgress.child; null !== current; ) {
|
11644
|
-
|
11645
|
-
if (null !==
|
11696
|
+
nextResource = findFirstSuspended(current);
|
11697
|
+
if (null !== nextResource) {
|
11646
11698
|
workInProgress.flags |= 128;
|
11647
|
-
cutOffTailIfNeeded(
|
11648
|
-
current =
|
11699
|
+
cutOffTailIfNeeded(type, !1);
|
11700
|
+
current = nextResource.updateQueue;
|
11649
11701
|
workInProgress.updateQueue = current;
|
11650
11702
|
scheduleRetryEffect(workInProgress, current);
|
11651
11703
|
workInProgress.subtreeFlags = 0;
|
@@ -11668,17 +11720,17 @@
|
|
11668
11720
|
}
|
11669
11721
|
current = current.sibling;
|
11670
11722
|
}
|
11671
|
-
null !==
|
11723
|
+
null !== type.tail &&
|
11672
11724
|
now$1() > workInProgressRootRenderTargetTime &&
|
11673
11725
|
((workInProgress.flags |= 128),
|
11674
11726
|
(newProps = !0),
|
11675
|
-
cutOffTailIfNeeded(
|
11727
|
+
cutOffTailIfNeeded(type, !1),
|
11676
11728
|
(workInProgress.lanes = 4194304));
|
11677
11729
|
}
|
11678
11730
|
else {
|
11679
11731
|
if (!newProps)
|
11680
11732
|
if (
|
11681
|
-
((current = findFirstSuspended(
|
11733
|
+
((current = findFirstSuspended(nextResource)), null !== current)
|
11682
11734
|
) {
|
11683
11735
|
if (
|
11684
11736
|
((workInProgress.flags |= 128),
|
@@ -11686,36 +11738,36 @@
|
|
11686
11738
|
(current = current.updateQueue),
|
11687
11739
|
(workInProgress.updateQueue = current),
|
11688
11740
|
scheduleRetryEffect(workInProgress, current),
|
11689
|
-
cutOffTailIfNeeded(
|
11690
|
-
null ===
|
11691
|
-
"hidden" ===
|
11692
|
-
!
|
11741
|
+
cutOffTailIfNeeded(type, !0),
|
11742
|
+
null === type.tail &&
|
11743
|
+
"hidden" === type.tailMode &&
|
11744
|
+
!nextResource.alternate &&
|
11693
11745
|
!isHydrating)
|
11694
11746
|
)
|
11695
11747
|
return bubbleProperties(workInProgress), null;
|
11696
11748
|
} else
|
11697
|
-
2 * now$1() -
|
11749
|
+
2 * now$1() - type.renderingStartTime >
|
11698
11750
|
workInProgressRootRenderTargetTime &&
|
11699
11751
|
536870912 !== renderLanes &&
|
11700
11752
|
((workInProgress.flags |= 128),
|
11701
11753
|
(newProps = !0),
|
11702
|
-
cutOffTailIfNeeded(
|
11754
|
+
cutOffTailIfNeeded(type, !1),
|
11703
11755
|
(workInProgress.lanes = 4194304));
|
11704
|
-
|
11705
|
-
? ((
|
11706
|
-
(workInProgress.child =
|
11707
|
-
: ((current =
|
11756
|
+
type.isBackwards
|
11757
|
+
? ((nextResource.sibling = workInProgress.child),
|
11758
|
+
(workInProgress.child = nextResource))
|
11759
|
+
: ((current = type.last),
|
11708
11760
|
null !== current
|
11709
|
-
? (current.sibling =
|
11710
|
-
: (workInProgress.child =
|
11711
|
-
(
|
11761
|
+
? (current.sibling = nextResource)
|
11762
|
+
: (workInProgress.child = nextResource),
|
11763
|
+
(type.last = nextResource));
|
11712
11764
|
}
|
11713
|
-
if (null !==
|
11765
|
+
if (null !== type.tail)
|
11714
11766
|
return (
|
11715
|
-
(current =
|
11716
|
-
(
|
11717
|
-
(
|
11718
|
-
(
|
11767
|
+
(current = type.tail),
|
11768
|
+
(type.rendering = current),
|
11769
|
+
(type.tail = current.sibling),
|
11770
|
+
(type.renderingStartTime = now$1()),
|
11719
11771
|
(current.sibling = null),
|
11720
11772
|
(renderLanes = suspenseStackCursor.current),
|
11721
11773
|
(renderLanes = newProps
|
@@ -12290,12 +12342,7 @@
|
|
12290
12342
|
commitStartTime
|
12291
12343
|
);
|
12292
12344
|
"function" === typeof onCommit &&
|
12293
|
-
onCommit(
|
12294
|
-
finishedWork.memoizedProps.id,
|
12295
|
-
current,
|
12296
|
-
effectDuration,
|
12297
|
-
commitStartTime
|
12298
|
-
);
|
12345
|
+
onCommit(id, current, effectDuration, commitStartTime);
|
12299
12346
|
}
|
12300
12347
|
function commitProfilerPostCommitImpl(
|
12301
12348
|
finishedWork,
|
@@ -14926,6 +14973,21 @@
|
|
14926
14973
|
);
|
14927
14974
|
}
|
14928
14975
|
}
|
14976
|
+
function shouldRemainOnPreviousScreen() {
|
14977
|
+
var handler = suspenseHandlerStackCursor.current;
|
14978
|
+
return null === handler
|
14979
|
+
? !0
|
14980
|
+
: (workInProgressRootRenderLanes & 4194048) ===
|
14981
|
+
workInProgressRootRenderLanes
|
14982
|
+
? null === shellBoundary
|
14983
|
+
? !0
|
14984
|
+
: !1
|
14985
|
+
: (workInProgressRootRenderLanes & 62914560) ===
|
14986
|
+
workInProgressRootRenderLanes ||
|
14987
|
+
0 !== (workInProgressRootRenderLanes & 536870912)
|
14988
|
+
? handler === shellBoundary
|
14989
|
+
: !1;
|
14990
|
+
}
|
14929
14991
|
function pushDispatcher() {
|
14930
14992
|
var prevDispatcher = ReactSharedInternals.H;
|
14931
14993
|
ReactSharedInternals.H = ContextOnlyDispatcher;
|
@@ -22654,7 +22716,8 @@
|
|
22654
22716
|
ProfileMode = 2,
|
22655
22717
|
StrictLegacyMode = 8,
|
22656
22718
|
StrictEffectsMode = 16,
|
22657
|
-
NoStrictPassiveEffectsMode = 64
|
22719
|
+
NoStrictPassiveEffectsMode = 64,
|
22720
|
+
SuspenseyImagesMode = 32;
|
22658
22721
|
var hasBadMapPolyfill = !1;
|
22659
22722
|
try {
|
22660
22723
|
var nonExtensibleObject = Object.preventExtensions({});
|
@@ -24950,11 +25013,11 @@
|
|
24950
25013
|
};
|
24951
25014
|
(function () {
|
24952
25015
|
var isomorphicReactPackageVersion = React.version;
|
24953
|
-
if ("19.2.0-canary-
|
25016
|
+
if ("19.2.0-canary-c44e4a25-20250409" !== isomorphicReactPackageVersion)
|
24954
25017
|
throw Error(
|
24955
25018
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24956
25019
|
(isomorphicReactPackageVersion +
|
24957
|
-
"\n - react-dom: 19.2.0-canary-
|
25020
|
+
"\n - react-dom: 19.2.0-canary-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
|
24958
25021
|
);
|
24959
25022
|
})();
|
24960
25023
|
("function" === typeof Map &&
|
@@ -24991,10 +25054,10 @@
|
|
24991
25054
|
!(function () {
|
24992
25055
|
var internals = {
|
24993
25056
|
bundleType: 1,
|
24994
|
-
version: "19.2.0-canary-
|
25057
|
+
version: "19.2.0-canary-c44e4a25-20250409",
|
24995
25058
|
rendererPackageName: "react-dom",
|
24996
25059
|
currentDispatcherRef: ReactSharedInternals,
|
24997
|
-
reconcilerVersion: "19.2.0-canary-
|
25060
|
+
reconcilerVersion: "19.2.0-canary-c44e4a25-20250409"
|
24998
25061
|
};
|
24999
25062
|
internals.overrideHookState = overrideHookState;
|
25000
25063
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25468,7 +25531,7 @@
|
|
25468
25531
|
exports.useFormStatus = function () {
|
25469
25532
|
return resolveDispatcher().useHostTransitionStatus();
|
25470
25533
|
};
|
25471
|
-
exports.version = "19.2.0-canary-
|
25534
|
+
exports.version = "19.2.0-canary-c44e4a25-20250409";
|
25472
25535
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25473
25536
|
"function" ===
|
25474
25537
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|