react-dom 19.2.0-canary-b94603b9-20250513 → 19.2.0-canary-d85f86cf-20250514
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 +196 -144
- package/cjs/react-dom-client.production.js +114 -70
- package/cjs/react-dom-profiling.development.js +196 -144
- package/cjs/react-dom-profiling.profiling.js +114 -70
- package/cjs/react-dom-server-legacy.browser.development.js +1 -1
- package/cjs/react-dom-server-legacy.browser.production.js +1 -1
- package/cjs/react-dom-server-legacy.node.development.js +1 -1
- package/cjs/react-dom-server-legacy.node.production.js +1 -1
- package/cjs/react-dom-server.browser.development.js +3 -3
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +3 -3
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +3 -3
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +3 -3
- package/cjs/react-dom-server.node.production.js +3 -3
- 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
@@ -9685,24 +9685,24 @@
|
|
9685
9685
|
return current;
|
9686
9686
|
}
|
9687
9687
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
9688
|
-
var
|
9689
|
-
var
|
9688
|
+
var JSCompiler_object_inline_digest_2545;
|
9689
|
+
var JSCompiler_object_inline_stack_2546 = workInProgress.pendingProps;
|
9690
9690
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
9691
|
-
var
|
9691
|
+
var JSCompiler_object_inline_message_2544 = !1;
|
9692
9692
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
9693
|
-
(
|
9694
|
-
(
|
9693
|
+
(JSCompiler_object_inline_digest_2545 = didSuspend) ||
|
9694
|
+
(JSCompiler_object_inline_digest_2545 =
|
9695
9695
|
null !== current && null === current.memoizedState
|
9696
9696
|
? !1
|
9697
9697
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
9698
|
-
|
9699
|
-
((
|
9698
|
+
JSCompiler_object_inline_digest_2545 &&
|
9699
|
+
((JSCompiler_object_inline_message_2544 = !0),
|
9700
9700
|
(workInProgress.flags &= -129));
|
9701
|
-
|
9701
|
+
JSCompiler_object_inline_digest_2545 = 0 !== (workInProgress.flags & 32);
|
9702
9702
|
workInProgress.flags &= -33;
|
9703
9703
|
if (null === current) {
|
9704
9704
|
if (isHydrating) {
|
9705
|
-
|
9705
|
+
JSCompiler_object_inline_message_2544
|
9706
9706
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
9707
9707
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
9708
9708
|
(current = nextHydratableInstance)
|
@@ -9715,18 +9715,18 @@
|
|
9715
9715
|
? renderLanes
|
9716
9716
|
: null),
|
9717
9717
|
null !== renderLanes &&
|
9718
|
-
((
|
9718
|
+
((JSCompiler_object_inline_digest_2545 = {
|
9719
9719
|
dehydrated: renderLanes,
|
9720
9720
|
treeContext: getSuspendedTreeContext(),
|
9721
9721
|
retryLane: 536870912,
|
9722
9722
|
hydrationErrors: null
|
9723
9723
|
}),
|
9724
9724
|
(workInProgress.memoizedState =
|
9725
|
-
|
9726
|
-
(
|
9725
|
+
JSCompiler_object_inline_digest_2545),
|
9726
|
+
(JSCompiler_object_inline_digest_2545 =
|
9727
9727
|
createFiberFromDehydratedFragment(renderLanes)),
|
9728
|
-
(
|
9729
|
-
(workInProgress.child =
|
9728
|
+
(JSCompiler_object_inline_digest_2545.return = workInProgress),
|
9729
|
+
(workInProgress.child = JSCompiler_object_inline_digest_2545),
|
9730
9730
|
(hydrationParentFiber = workInProgress),
|
9731
9731
|
(nextHydratableInstance = null)))
|
9732
9732
|
: (renderLanes = null);
|
@@ -9740,36 +9740,36 @@
|
|
9740
9740
|
: (workInProgress.lanes = 536870912);
|
9741
9741
|
return null;
|
9742
9742
|
}
|
9743
|
-
var nextPrimaryChildren =
|
9744
|
-
|
9745
|
-
|
9746
|
-
if (
|
9743
|
+
var nextPrimaryChildren = JSCompiler_object_inline_stack_2546.children;
|
9744
|
+
JSCompiler_object_inline_stack_2546 =
|
9745
|
+
JSCompiler_object_inline_stack_2546.fallback;
|
9746
|
+
if (JSCompiler_object_inline_message_2544) {
|
9747
9747
|
reuseSuspenseHandlerOnStack(workInProgress);
|
9748
9748
|
var mode = workInProgress.mode;
|
9749
9749
|
nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
|
9750
9750
|
{ mode: "hidden", children: nextPrimaryChildren },
|
9751
9751
|
mode
|
9752
9752
|
);
|
9753
|
-
|
9754
|
-
|
9753
|
+
JSCompiler_object_inline_stack_2546 = createFiberFromFragment(
|
9754
|
+
JSCompiler_object_inline_stack_2546,
|
9755
9755
|
mode,
|
9756
9756
|
renderLanes,
|
9757
9757
|
null
|
9758
9758
|
);
|
9759
9759
|
nextPrimaryChildren.return = workInProgress;
|
9760
|
-
|
9761
|
-
nextPrimaryChildren.sibling =
|
9760
|
+
JSCompiler_object_inline_stack_2546.return = workInProgress;
|
9761
|
+
nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2546;
|
9762
9762
|
workInProgress.child = nextPrimaryChildren;
|
9763
9763
|
nextPrimaryChildren = workInProgress.child;
|
9764
9764
|
nextPrimaryChildren.memoizedState =
|
9765
9765
|
mountSuspenseOffscreenState(renderLanes);
|
9766
9766
|
nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
9767
9767
|
current,
|
9768
|
-
|
9768
|
+
JSCompiler_object_inline_digest_2545,
|
9769
9769
|
renderLanes
|
9770
9770
|
);
|
9771
9771
|
workInProgress.memoizedState = SUSPENDED_MARKER;
|
9772
|
-
return
|
9772
|
+
return JSCompiler_object_inline_stack_2546;
|
9773
9773
|
}
|
9774
9774
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9775
9775
|
return mountSuspensePrimaryChildren(
|
@@ -9779,8 +9779,8 @@
|
|
9779
9779
|
}
|
9780
9780
|
var prevState = current.memoizedState;
|
9781
9781
|
if (null !== prevState) {
|
9782
|
-
var
|
9783
|
-
if (null !==
|
9782
|
+
var JSCompiler_object_inline_componentStack_2547 = prevState.dehydrated;
|
9783
|
+
if (null !== JSCompiler_object_inline_componentStack_2547) {
|
9784
9784
|
if (didSuspend)
|
9785
9785
|
workInProgress.flags & 256
|
9786
9786
|
? (pushPrimaryTreeSuspenseHandler(workInProgress),
|
@@ -9797,13 +9797,13 @@
|
|
9797
9797
|
(workInProgress = null))
|
9798
9798
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9799
9799
|
(nextPrimaryChildren =
|
9800
|
-
|
9800
|
+
JSCompiler_object_inline_stack_2546.fallback),
|
9801
9801
|
(mode = workInProgress.mode),
|
9802
|
-
(
|
9802
|
+
(JSCompiler_object_inline_stack_2546 =
|
9803
9803
|
mountWorkInProgressOffscreenFiber(
|
9804
9804
|
{
|
9805
9805
|
mode: "visible",
|
9806
|
-
children:
|
9806
|
+
children: JSCompiler_object_inline_stack_2546.children
|
9807
9807
|
},
|
9808
9808
|
mode
|
9809
9809
|
)),
|
@@ -9814,24 +9814,24 @@
|
|
9814
9814
|
null
|
9815
9815
|
)),
|
9816
9816
|
(nextPrimaryChildren.flags |= 2),
|
9817
|
-
(
|
9817
|
+
(JSCompiler_object_inline_stack_2546.return = workInProgress),
|
9818
9818
|
(nextPrimaryChildren.return = workInProgress),
|
9819
|
-
(
|
9819
|
+
(JSCompiler_object_inline_stack_2546.sibling =
|
9820
9820
|
nextPrimaryChildren),
|
9821
|
-
(workInProgress.child =
|
9821
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2546),
|
9822
9822
|
reconcileChildFibers(
|
9823
9823
|
workInProgress,
|
9824
9824
|
current.child,
|
9825
9825
|
null,
|
9826
9826
|
renderLanes
|
9827
9827
|
),
|
9828
|
-
(
|
9829
|
-
(
|
9828
|
+
(JSCompiler_object_inline_stack_2546 = workInProgress.child),
|
9829
|
+
(JSCompiler_object_inline_stack_2546.memoizedState =
|
9830
9830
|
mountSuspenseOffscreenState(renderLanes)),
|
9831
|
-
(
|
9831
|
+
(JSCompiler_object_inline_stack_2546.childLanes =
|
9832
9832
|
getRemainingWorkInPrimaryTree(
|
9833
9833
|
current,
|
9834
|
-
|
9834
|
+
JSCompiler_object_inline_digest_2545,
|
9835
9835
|
renderLanes
|
9836
9836
|
)),
|
9837
9837
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
@@ -9840,45 +9840,45 @@
|
|
9840
9840
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9841
9841
|
warnIfHydrating(),
|
9842
9842
|
isSuspenseInstanceFallback(
|
9843
|
-
|
9843
|
+
JSCompiler_object_inline_componentStack_2547
|
9844
9844
|
))
|
9845
9845
|
) {
|
9846
|
-
|
9847
|
-
|
9848
|
-
|
9849
|
-
if (
|
9850
|
-
nextPrimaryChildren =
|
9851
|
-
var message =
|
9852
|
-
mode =
|
9853
|
-
var componentStack =
|
9846
|
+
JSCompiler_object_inline_digest_2545 =
|
9847
|
+
JSCompiler_object_inline_componentStack_2547.nextSibling &&
|
9848
|
+
JSCompiler_object_inline_componentStack_2547.nextSibling.dataset;
|
9849
|
+
if (JSCompiler_object_inline_digest_2545) {
|
9850
|
+
nextPrimaryChildren = JSCompiler_object_inline_digest_2545.dgst;
|
9851
|
+
var message = JSCompiler_object_inline_digest_2545.msg;
|
9852
|
+
mode = JSCompiler_object_inline_digest_2545.stck;
|
9853
|
+
var componentStack = JSCompiler_object_inline_digest_2545.cstck;
|
9854
9854
|
}
|
9855
|
-
|
9856
|
-
|
9857
|
-
|
9858
|
-
|
9859
|
-
nextPrimaryChildren =
|
9860
|
-
mode =
|
9855
|
+
JSCompiler_object_inline_message_2544 = message;
|
9856
|
+
JSCompiler_object_inline_digest_2545 = nextPrimaryChildren;
|
9857
|
+
JSCompiler_object_inline_stack_2546 = mode;
|
9858
|
+
JSCompiler_object_inline_componentStack_2547 = componentStack;
|
9859
|
+
nextPrimaryChildren = JSCompiler_object_inline_message_2544;
|
9860
|
+
mode = JSCompiler_object_inline_componentStack_2547;
|
9861
9861
|
nextPrimaryChildren = nextPrimaryChildren
|
9862
9862
|
? Error(nextPrimaryChildren)
|
9863
9863
|
: Error(
|
9864
9864
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9865
9865
|
);
|
9866
9866
|
nextPrimaryChildren.stack =
|
9867
|
-
|
9868
|
-
nextPrimaryChildren.digest =
|
9869
|
-
|
9867
|
+
JSCompiler_object_inline_stack_2546 || "";
|
9868
|
+
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2545;
|
9869
|
+
JSCompiler_object_inline_digest_2545 =
|
9870
9870
|
void 0 === mode ? null : mode;
|
9871
|
-
|
9871
|
+
JSCompiler_object_inline_stack_2546 = {
|
9872
9872
|
value: nextPrimaryChildren,
|
9873
9873
|
source: null,
|
9874
|
-
stack:
|
9874
|
+
stack: JSCompiler_object_inline_digest_2545
|
9875
9875
|
};
|
9876
|
-
"string" === typeof
|
9876
|
+
"string" === typeof JSCompiler_object_inline_digest_2545 &&
|
9877
9877
|
CapturedStacks.set(
|
9878
9878
|
nextPrimaryChildren,
|
9879
|
-
|
9879
|
+
JSCompiler_object_inline_stack_2546
|
9880
9880
|
);
|
9881
|
-
queueHydrationError(
|
9881
|
+
queueHydrationError(JSCompiler_object_inline_stack_2546);
|
9882
9882
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9883
9883
|
current,
|
9884
9884
|
workInProgress,
|
@@ -9892,35 +9892,35 @@
|
|
9892
9892
|
renderLanes,
|
9893
9893
|
!1
|
9894
9894
|
),
|
9895
|
-
(
|
9895
|
+
(JSCompiler_object_inline_digest_2545 =
|
9896
9896
|
0 !== (renderLanes & current.childLanes)),
|
9897
|
-
didReceiveUpdate ||
|
9897
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2545)
|
9898
9898
|
) {
|
9899
|
-
|
9899
|
+
JSCompiler_object_inline_digest_2545 = workInProgressRoot;
|
9900
9900
|
if (
|
9901
|
-
null !==
|
9902
|
-
((
|
9903
|
-
|
9901
|
+
null !== JSCompiler_object_inline_digest_2545 &&
|
9902
|
+
((JSCompiler_object_inline_stack_2546 = getBumpedLaneForHydration(
|
9903
|
+
JSCompiler_object_inline_digest_2545,
|
9904
9904
|
renderLanes
|
9905
9905
|
)),
|
9906
|
-
0 !==
|
9907
|
-
|
9906
|
+
0 !== JSCompiler_object_inline_stack_2546 &&
|
9907
|
+
JSCompiler_object_inline_stack_2546 !== prevState.retryLane)
|
9908
9908
|
)
|
9909
9909
|
throw (
|
9910
|
-
((prevState.retryLane =
|
9910
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2546),
|
9911
9911
|
enqueueConcurrentRenderForLane(
|
9912
9912
|
current,
|
9913
|
-
|
9913
|
+
JSCompiler_object_inline_stack_2546
|
9914
9914
|
),
|
9915
9915
|
scheduleUpdateOnFiber(
|
9916
|
-
|
9916
|
+
JSCompiler_object_inline_digest_2545,
|
9917
9917
|
current,
|
9918
|
-
|
9918
|
+
JSCompiler_object_inline_stack_2546
|
9919
9919
|
),
|
9920
9920
|
SelectiveHydrationException)
|
9921
9921
|
);
|
9922
9922
|
isSuspenseInstancePending(
|
9923
|
-
|
9923
|
+
JSCompiler_object_inline_componentStack_2547
|
9924
9924
|
) || renderDidSuspendDelayIfPossible();
|
9925
9925
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9926
9926
|
current,
|
@@ -9929,14 +9929,14 @@
|
|
9929
9929
|
);
|
9930
9930
|
} else
|
9931
9931
|
isSuspenseInstancePending(
|
9932
|
-
|
9932
|
+
JSCompiler_object_inline_componentStack_2547
|
9933
9933
|
)
|
9934
9934
|
? ((workInProgress.flags |= 192),
|
9935
9935
|
(workInProgress.child = current.child),
|
9936
9936
|
(workInProgress = null))
|
9937
9937
|
: ((current = prevState.treeContext),
|
9938
9938
|
(nextHydratableInstance = getNextHydratable(
|
9939
|
-
|
9939
|
+
JSCompiler_object_inline_componentStack_2547.nextSibling
|
9940
9940
|
)),
|
9941
9941
|
(hydrationParentFiber = workInProgress),
|
9942
9942
|
(isHydrating = !0),
|
@@ -9948,32 +9948,32 @@
|
|
9948
9948
|
restoreSuspendedTreeContext(workInProgress, current),
|
9949
9949
|
(workInProgress = mountSuspensePrimaryChildren(
|
9950
9950
|
workInProgress,
|
9951
|
-
|
9951
|
+
JSCompiler_object_inline_stack_2546.children
|
9952
9952
|
)),
|
9953
9953
|
(workInProgress.flags |= 4096));
|
9954
9954
|
return workInProgress;
|
9955
9955
|
}
|
9956
9956
|
}
|
9957
|
-
if (
|
9957
|
+
if (JSCompiler_object_inline_message_2544)
|
9958
9958
|
return (
|
9959
9959
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9960
|
-
(nextPrimaryChildren =
|
9960
|
+
(nextPrimaryChildren = JSCompiler_object_inline_stack_2546.fallback),
|
9961
9961
|
(mode = workInProgress.mode),
|
9962
9962
|
(componentStack = current.child),
|
9963
|
-
(
|
9963
|
+
(JSCompiler_object_inline_componentStack_2547 =
|
9964
9964
|
componentStack.sibling),
|
9965
|
-
(
|
9965
|
+
(JSCompiler_object_inline_stack_2546 = createWorkInProgress(
|
9966
9966
|
componentStack,
|
9967
9967
|
{
|
9968
9968
|
mode: "hidden",
|
9969
|
-
children:
|
9969
|
+
children: JSCompiler_object_inline_stack_2546.children
|
9970
9970
|
}
|
9971
9971
|
)),
|
9972
|
-
(
|
9972
|
+
(JSCompiler_object_inline_stack_2546.subtreeFlags =
|
9973
9973
|
componentStack.subtreeFlags & 65011712),
|
9974
|
-
null !==
|
9974
|
+
null !== JSCompiler_object_inline_componentStack_2547
|
9975
9975
|
? (nextPrimaryChildren = createWorkInProgress(
|
9976
|
-
|
9976
|
+
JSCompiler_object_inline_componentStack_2547,
|
9977
9977
|
nextPrimaryChildren
|
9978
9978
|
))
|
9979
9979
|
: ((nextPrimaryChildren = createFiberFromFragment(
|
@@ -9984,24 +9984,24 @@
|
|
9984
9984
|
)),
|
9985
9985
|
(nextPrimaryChildren.flags |= 2)),
|
9986
9986
|
(nextPrimaryChildren.return = workInProgress),
|
9987
|
-
(
|
9988
|
-
(
|
9989
|
-
(workInProgress.child =
|
9990
|
-
(
|
9987
|
+
(JSCompiler_object_inline_stack_2546.return = workInProgress),
|
9988
|
+
(JSCompiler_object_inline_stack_2546.sibling = nextPrimaryChildren),
|
9989
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2546),
|
9990
|
+
(JSCompiler_object_inline_stack_2546 = nextPrimaryChildren),
|
9991
9991
|
(nextPrimaryChildren = workInProgress.child),
|
9992
9992
|
(mode = current.child.memoizedState),
|
9993
9993
|
null === mode
|
9994
9994
|
? (mode = mountSuspenseOffscreenState(renderLanes))
|
9995
9995
|
: ((componentStack = mode.cachePool),
|
9996
9996
|
null !== componentStack
|
9997
|
-
? ((
|
9997
|
+
? ((JSCompiler_object_inline_componentStack_2547 =
|
9998
9998
|
CacheContext._currentValue),
|
9999
9999
|
(componentStack =
|
10000
10000
|
componentStack.parent !==
|
10001
|
-
|
10001
|
+
JSCompiler_object_inline_componentStack_2547
|
10002
10002
|
? {
|
10003
|
-
parent:
|
10004
|
-
pool:
|
10003
|
+
parent: JSCompiler_object_inline_componentStack_2547,
|
10004
|
+
pool: JSCompiler_object_inline_componentStack_2547
|
10005
10005
|
}
|
10006
10006
|
: componentStack))
|
10007
10007
|
: (componentStack = getSuspendedCache()),
|
@@ -10012,27 +10012,27 @@
|
|
10012
10012
|
(nextPrimaryChildren.memoizedState = mode),
|
10013
10013
|
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
10014
10014
|
current,
|
10015
|
-
|
10015
|
+
JSCompiler_object_inline_digest_2545,
|
10016
10016
|
renderLanes
|
10017
10017
|
)),
|
10018
10018
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
10019
|
-
|
10019
|
+
JSCompiler_object_inline_stack_2546
|
10020
10020
|
);
|
10021
10021
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
10022
10022
|
renderLanes = current.child;
|
10023
10023
|
current = renderLanes.sibling;
|
10024
10024
|
renderLanes = createWorkInProgress(renderLanes, {
|
10025
10025
|
mode: "visible",
|
10026
|
-
children:
|
10026
|
+
children: JSCompiler_object_inline_stack_2546.children
|
10027
10027
|
});
|
10028
10028
|
renderLanes.return = workInProgress;
|
10029
10029
|
renderLanes.sibling = null;
|
10030
10030
|
null !== current &&
|
10031
|
-
((
|
10032
|
-
null ===
|
10031
|
+
((JSCompiler_object_inline_digest_2545 = workInProgress.deletions),
|
10032
|
+
null === JSCompiler_object_inline_digest_2545
|
10033
10033
|
? ((workInProgress.deletions = [current]),
|
10034
10034
|
(workInProgress.flags |= 16))
|
10035
|
-
:
|
10035
|
+
: JSCompiler_object_inline_digest_2545.push(current));
|
10036
10036
|
workInProgress.child = renderLanes;
|
10037
10037
|
workInProgress.memoizedState = null;
|
10038
10038
|
return renderLanes;
|
@@ -14778,8 +14778,7 @@
|
|
14778
14778
|
return null !== transition
|
14779
14779
|
? (transition._updatedFibers || (transition._updatedFibers = new Set()),
|
14780
14780
|
transition._updatedFibers.add(fiber),
|
14781
|
-
(
|
14782
|
-
0 !== fiber ? fiber : requestTransitionLane())
|
14781
|
+
requestTransitionLane())
|
14783
14782
|
: resolveUpdatePriority();
|
14784
14783
|
}
|
14785
14784
|
function requestDeferredLane() {
|
@@ -16017,9 +16016,9 @@
|
|
16017
16016
|
if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) {
|
16018
16017
|
rootHasLayoutEffect = ReactSharedInternals.T;
|
16019
16018
|
ReactSharedInternals.T = null;
|
16020
|
-
var
|
16019
|
+
var _previousPriority = ReactDOMSharedInternals.p;
|
16021
16020
|
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
16022
|
-
var
|
16021
|
+
var _prevExecutionContext = executionContext;
|
16023
16022
|
executionContext |= CommitContext;
|
16024
16023
|
try {
|
16025
16024
|
null !== injectedProfilingHooks &&
|
@@ -16040,8 +16039,8 @@
|
|
16040
16039
|
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
16041
16040
|
injectedProfilingHooks.markLayoutEffectsStopped();
|
16042
16041
|
} finally {
|
16043
|
-
(executionContext =
|
16044
|
-
(ReactDOMSharedInternals.p =
|
16042
|
+
(executionContext = _prevExecutionContext),
|
16043
|
+
(ReactDOMSharedInternals.p = _previousPriority),
|
16045
16044
|
(ReactSharedInternals.T = rootHasLayoutEffect);
|
16046
16045
|
}
|
16047
16046
|
}
|
@@ -16571,9 +16570,8 @@
|
|
16571
16570
|
!1;
|
16572
16571
|
var syncTransitionLanes = 0;
|
16573
16572
|
0 !== currentEventTransitionLane &&
|
16574
|
-
|
16575
|
-
|
16576
|
-
(currentEventTransitionLane = 0));
|
16573
|
+
shouldAttemptEagerTransition() &&
|
16574
|
+
(syncTransitionLanes = currentEventTransitionLane);
|
16577
16575
|
for (
|
16578
16576
|
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
|
16579
16577
|
null !== root;
|
@@ -16594,6 +16592,7 @@
|
|
16594
16592
|
(pendingEffectsStatus !== NO_PENDING_EFFECTS &&
|
16595
16593
|
pendingEffectsStatus !== PENDING_PASSIVE_PHASE) ||
|
16596
16594
|
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
|
16595
|
+
0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);
|
16597
16596
|
}
|
16598
16597
|
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
16599
16598
|
for (
|
@@ -16731,8 +16730,11 @@
|
|
16731
16730
|
});
|
16732
16731
|
}
|
16733
16732
|
function requestTransitionLane() {
|
16734
|
-
0 === currentEventTransitionLane
|
16735
|
-
|
16733
|
+
if (0 === currentEventTransitionLane) {
|
16734
|
+
var actionScopeLane = currentEntangledLane;
|
16735
|
+
currentEventTransitionLane =
|
16736
|
+
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
|
16737
|
+
}
|
16736
16738
|
return currentEventTransitionLane;
|
16737
16739
|
}
|
16738
16740
|
function coerceFormActionProp(actionProp) {
|
@@ -21765,7 +21767,57 @@
|
|
21765
21767
|
}
|
21766
21768
|
}
|
21767
21769
|
function defaultOnDefaultTransitionIndicator() {
|
21768
|
-
|
21770
|
+
function handleNavigate(event) {
|
21771
|
+
event.canIntercept &&
|
21772
|
+
"react-transition" === event.info &&
|
21773
|
+
event.intercept({
|
21774
|
+
handler: function () {
|
21775
|
+
return new Promise(function (resolve) {
|
21776
|
+
return (pendingResolve = resolve);
|
21777
|
+
});
|
21778
|
+
},
|
21779
|
+
focusReset: "manual",
|
21780
|
+
scroll: "manual"
|
21781
|
+
});
|
21782
|
+
}
|
21783
|
+
function handleNavigateComplete() {
|
21784
|
+
null !== pendingResolve && (pendingResolve(), (pendingResolve = null));
|
21785
|
+
isCancelled || startFakeNavigation();
|
21786
|
+
}
|
21787
|
+
function startFakeNavigation() {
|
21788
|
+
if (!isCancelled && !navigation.transition) {
|
21789
|
+
var currentEntry = navigation.currentEntry;
|
21790
|
+
currentEntry &&
|
21791
|
+
null != currentEntry.url &&
|
21792
|
+
navigation.navigate(currentEntry.url, {
|
21793
|
+
state: currentEntry.getState(),
|
21794
|
+
info: "react-transition",
|
21795
|
+
history: "replace"
|
21796
|
+
});
|
21797
|
+
}
|
21798
|
+
}
|
21799
|
+
if ("object" === typeof navigation) {
|
21800
|
+
var isCancelled = !1,
|
21801
|
+
pendingResolve = null;
|
21802
|
+
navigation.addEventListener("navigate", handleNavigate);
|
21803
|
+
navigation.addEventListener("navigatesuccess", handleNavigateComplete);
|
21804
|
+
navigation.addEventListener("navigateerror", handleNavigateComplete);
|
21805
|
+
setTimeout(startFakeNavigation, 100);
|
21806
|
+
return function () {
|
21807
|
+
isCancelled = !0;
|
21808
|
+
navigation.removeEventListener("navigate", handleNavigate);
|
21809
|
+
navigation.removeEventListener(
|
21810
|
+
"navigatesuccess",
|
21811
|
+
handleNavigateComplete
|
21812
|
+
);
|
21813
|
+
navigation.removeEventListener(
|
21814
|
+
"navigateerror",
|
21815
|
+
handleNavigateComplete
|
21816
|
+
);
|
21817
|
+
null !== pendingResolve &&
|
21818
|
+
(pendingResolve(), (pendingResolve = null));
|
21819
|
+
};
|
21820
|
+
}
|
21769
21821
|
}
|
21770
21822
|
function ReactDOMRoot(internalRoot) {
|
21771
21823
|
this._internalRoot = internalRoot;
|
@@ -23080,7 +23132,36 @@
|
|
23080
23132
|
return localDate.now();
|
23081
23133
|
};
|
23082
23134
|
}
|
23083
|
-
var
|
23135
|
+
var reportGlobalError =
|
23136
|
+
"function" === typeof reportError
|
23137
|
+
? reportError
|
23138
|
+
: function (error) {
|
23139
|
+
if (
|
23140
|
+
"object" === typeof window &&
|
23141
|
+
"function" === typeof window.ErrorEvent
|
23142
|
+
) {
|
23143
|
+
var event = new window.ErrorEvent("error", {
|
23144
|
+
bubbles: !0,
|
23145
|
+
cancelable: !0,
|
23146
|
+
message:
|
23147
|
+
"object" === typeof error &&
|
23148
|
+
null !== error &&
|
23149
|
+
"string" === typeof error.message
|
23150
|
+
? String(error.message)
|
23151
|
+
: String(error),
|
23152
|
+
error: error
|
23153
|
+
});
|
23154
|
+
if (!window.dispatchEvent(event)) return;
|
23155
|
+
} else if (
|
23156
|
+
"object" === typeof process &&
|
23157
|
+
"function" === typeof process.emit
|
23158
|
+
) {
|
23159
|
+
process.emit("uncaughtException", error);
|
23160
|
+
return;
|
23161
|
+
}
|
23162
|
+
console.error(error);
|
23163
|
+
},
|
23164
|
+
OffscreenVisible = 1,
|
23084
23165
|
OffscreenPassiveEffectsConnected = 2,
|
23085
23166
|
concurrentQueues = [],
|
23086
23167
|
concurrentQueuesIndex = 0,
|
@@ -24683,35 +24764,6 @@
|
|
24683
24764
|
injectedProfilingHooks.markForceUpdateScheduled(inst, lane);
|
24684
24765
|
}
|
24685
24766
|
},
|
24686
|
-
reportGlobalError =
|
24687
|
-
"function" === typeof reportError
|
24688
|
-
? reportError
|
24689
|
-
: function (error) {
|
24690
|
-
if (
|
24691
|
-
"object" === typeof window &&
|
24692
|
-
"function" === typeof window.ErrorEvent
|
24693
|
-
) {
|
24694
|
-
var event = new window.ErrorEvent("error", {
|
24695
|
-
bubbles: !0,
|
24696
|
-
cancelable: !0,
|
24697
|
-
message:
|
24698
|
-
"object" === typeof error &&
|
24699
|
-
null !== error &&
|
24700
|
-
"string" === typeof error.message
|
24701
|
-
? String(error.message)
|
24702
|
-
: String(error),
|
24703
|
-
error: error
|
24704
|
-
});
|
24705
|
-
if (!window.dispatchEvent(event)) return;
|
24706
|
-
} else if (
|
24707
|
-
"object" === typeof process &&
|
24708
|
-
"function" === typeof process.emit
|
24709
|
-
) {
|
24710
|
-
process.emit("uncaughtException", error);
|
24711
|
-
return;
|
24712
|
-
}
|
24713
|
-
console.error(error);
|
24714
|
-
},
|
24715
24767
|
componentName = null,
|
24716
24768
|
errorBoundaryName = null,
|
24717
24769
|
SelectiveHydrationException = Error(
|
@@ -25380,11 +25432,11 @@
|
|
25380
25432
|
};
|
25381
25433
|
(function () {
|
25382
25434
|
var isomorphicReactPackageVersion = React.version;
|
25383
|
-
if ("19.2.0-canary-
|
25435
|
+
if ("19.2.0-canary-d85f86cf-20250514" !== isomorphicReactPackageVersion)
|
25384
25436
|
throw Error(
|
25385
25437
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
25386
25438
|
(isomorphicReactPackageVersion +
|
25387
|
-
"\n - react-dom: 19.2.0-canary-
|
25439
|
+
"\n - react-dom: 19.2.0-canary-d85f86cf-20250514\nLearn more: https://react.dev/warnings/version-mismatch")
|
25388
25440
|
);
|
25389
25441
|
})();
|
25390
25442
|
("function" === typeof Map &&
|
@@ -25421,10 +25473,10 @@
|
|
25421
25473
|
!(function () {
|
25422
25474
|
var internals = {
|
25423
25475
|
bundleType: 1,
|
25424
|
-
version: "19.2.0-canary-
|
25476
|
+
version: "19.2.0-canary-d85f86cf-20250514",
|
25425
25477
|
rendererPackageName: "react-dom",
|
25426
25478
|
currentDispatcherRef: ReactSharedInternals,
|
25427
|
-
reconcilerVersion: "19.2.0-canary-
|
25479
|
+
reconcilerVersion: "19.2.0-canary-d85f86cf-20250514"
|
25428
25480
|
};
|
25429
25481
|
internals.overrideHookState = overrideHookState;
|
25430
25482
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25562,7 +25614,7 @@
|
|
25562
25614
|
listenToAllSupportedEvents(container);
|
25563
25615
|
return new ReactDOMHydrationRoot(initialChildren);
|
25564
25616
|
};
|
25565
|
-
exports.version = "19.2.0-canary-
|
25617
|
+
exports.version = "19.2.0-canary-d85f86cf-20250514";
|
25566
25618
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25567
25619
|
"function" ===
|
25568
25620
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|