react-dom 19.2.0-canary-0ff1d13b-20250507 → 19.2.0-canary-21fdf308-20250508
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 +125 -124
- package/cjs/react-dom-client.production.js +34 -37
- package/cjs/react-dom-profiling.development.js +132 -136
- package/cjs/react-dom-profiling.profiling.js +45 -49
- package/cjs/react-dom-server-legacy.browser.development.js +9 -12
- package/cjs/react-dom-server-legacy.browser.production.js +9 -11
- package/cjs/react-dom-server-legacy.node.development.js +9 -12
- package/cjs/react-dom-server-legacy.node.production.js +9 -11
- package/cjs/react-dom-server.browser.development.js +11 -14
- package/cjs/react-dom-server.browser.production.js +11 -13
- package/cjs/react-dom-server.bun.development.js +11 -13
- package/cjs/react-dom-server.bun.production.js +11 -13
- package/cjs/react-dom-server.edge.development.js +11 -14
- package/cjs/react-dom-server.edge.production.js +11 -13
- package/cjs/react-dom-server.node.development.js +11 -14
- package/cjs/react-dom-server.node.production.js +11 -13
- 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
@@ -83,7 +83,7 @@
|
|
83
83
|
"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."
|
84
84
|
);
|
85
85
|
}
|
86
|
-
function noop
|
86
|
+
function noop() {}
|
87
87
|
function warnForMissingKey() {}
|
88
88
|
function setToSortedString(set) {
|
89
89
|
var array = [];
|
@@ -3215,6 +3215,7 @@
|
|
3215
3215
|
? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')"
|
3216
3216
|
: url;
|
3217
3217
|
}
|
3218
|
+
function noop$1() {}
|
3218
3219
|
function getEventTarget(nativeEvent) {
|
3219
3220
|
nativeEvent = nativeEvent.target || nativeEvent.srcElement || window;
|
3220
3221
|
nativeEvent.correspondingUseElement &&
|
@@ -4587,7 +4588,7 @@
|
|
4587
4588
|
listenToNonDelegatedEvent("scroll", didHydrate),
|
4588
4589
|
null != props.onScrollEnd &&
|
4589
4590
|
listenToNonDelegatedEvent("scrollend", didHydrate),
|
4590
|
-
null != props.onClick && (didHydrate.onclick = noop$
|
4591
|
+
null != props.onClick && (didHydrate.onclick = noop$1),
|
4591
4592
|
(didHydrate = !0))
|
4592
4593
|
: (didHydrate = !1);
|
4593
4594
|
didHydrate || throwOnHydrationMismatch(fiber, !0);
|
@@ -5075,7 +5076,6 @@
|
|
5075
5076
|
thenable = thenable.status;
|
5076
5077
|
return "fulfilled" === thenable || "rejected" === thenable;
|
5077
5078
|
}
|
5078
|
-
function noop$4() {}
|
5079
5079
|
function trackUsedThenable(thenableState, thenable, index) {
|
5080
5080
|
null !== ReactSharedInternals.actQueue &&
|
5081
5081
|
(ReactSharedInternals.didUsePromise = !0);
|
@@ -5089,7 +5089,7 @@
|
|
5089
5089
|
console.error(
|
5090
5090
|
"A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework."
|
5091
5091
|
)),
|
5092
|
-
thenable.then(noop$
|
5092
|
+
thenable.then(noop$1, noop$1),
|
5093
5093
|
(thenable = index));
|
5094
5094
|
switch (thenable.status) {
|
5095
5095
|
case "fulfilled":
|
@@ -5102,7 +5102,7 @@
|
|
5102
5102
|
);
|
5103
5103
|
default:
|
5104
5104
|
if ("string" === typeof thenable.status)
|
5105
|
-
thenable.then(noop$
|
5105
|
+
thenable.then(noop$1, noop$1);
|
5106
5106
|
else {
|
5107
5107
|
thenableState = workInProgressRoot;
|
5108
5108
|
if (
|
@@ -7978,7 +7978,7 @@
|
|
7978
7978
|
pendingState,
|
7979
7979
|
NotPendingTransition,
|
7980
7980
|
null === action
|
7981
|
-
? noop
|
7981
|
+
? noop
|
7982
7982
|
: function () {
|
7983
7983
|
requestFormReset$2(formFiber);
|
7984
7984
|
return action(formData);
|
@@ -9693,24 +9693,24 @@
|
|
9693
9693
|
return current;
|
9694
9694
|
}
|
9695
9695
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
9696
|
-
var
|
9697
|
-
var
|
9696
|
+
var JSCompiler_object_inline_digest_2548;
|
9697
|
+
var JSCompiler_object_inline_stack_2549 = workInProgress.pendingProps;
|
9698
9698
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
9699
|
-
var
|
9699
|
+
var JSCompiler_object_inline_message_2547 = !1;
|
9700
9700
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
9701
|
-
(
|
9702
|
-
(
|
9701
|
+
(JSCompiler_object_inline_digest_2548 = didSuspend) ||
|
9702
|
+
(JSCompiler_object_inline_digest_2548 =
|
9703
9703
|
null !== current && null === current.memoizedState
|
9704
9704
|
? !1
|
9705
9705
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
9706
|
-
|
9707
|
-
((
|
9706
|
+
JSCompiler_object_inline_digest_2548 &&
|
9707
|
+
((JSCompiler_object_inline_message_2547 = !0),
|
9708
9708
|
(workInProgress.flags &= -129));
|
9709
|
-
|
9709
|
+
JSCompiler_object_inline_digest_2548 = 0 !== (workInProgress.flags & 32);
|
9710
9710
|
workInProgress.flags &= -33;
|
9711
9711
|
if (null === current) {
|
9712
9712
|
if (isHydrating) {
|
9713
|
-
|
9713
|
+
JSCompiler_object_inline_message_2547
|
9714
9714
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
9715
9715
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
9716
9716
|
(current = nextHydratableInstance)
|
@@ -9723,18 +9723,18 @@
|
|
9723
9723
|
? renderLanes
|
9724
9724
|
: null),
|
9725
9725
|
null !== renderLanes &&
|
9726
|
-
((
|
9726
|
+
((JSCompiler_object_inline_digest_2548 = {
|
9727
9727
|
dehydrated: renderLanes,
|
9728
9728
|
treeContext: getSuspendedTreeContext(),
|
9729
9729
|
retryLane: 536870912,
|
9730
9730
|
hydrationErrors: null
|
9731
9731
|
}),
|
9732
9732
|
(workInProgress.memoizedState =
|
9733
|
-
|
9734
|
-
(
|
9733
|
+
JSCompiler_object_inline_digest_2548),
|
9734
|
+
(JSCompiler_object_inline_digest_2548 =
|
9735
9735
|
createFiberFromDehydratedFragment(renderLanes)),
|
9736
|
-
(
|
9737
|
-
(workInProgress.child =
|
9736
|
+
(JSCompiler_object_inline_digest_2548.return = workInProgress),
|
9737
|
+
(workInProgress.child = JSCompiler_object_inline_digest_2548),
|
9738
9738
|
(hydrationParentFiber = workInProgress),
|
9739
9739
|
(nextHydratableInstance = null)))
|
9740
9740
|
: (renderLanes = null);
|
@@ -9748,36 +9748,36 @@
|
|
9748
9748
|
: (workInProgress.lanes = 536870912);
|
9749
9749
|
return null;
|
9750
9750
|
}
|
9751
|
-
var nextPrimaryChildren =
|
9752
|
-
|
9753
|
-
|
9754
|
-
if (
|
9751
|
+
var nextPrimaryChildren = JSCompiler_object_inline_stack_2549.children;
|
9752
|
+
JSCompiler_object_inline_stack_2549 =
|
9753
|
+
JSCompiler_object_inline_stack_2549.fallback;
|
9754
|
+
if (JSCompiler_object_inline_message_2547) {
|
9755
9755
|
reuseSuspenseHandlerOnStack(workInProgress);
|
9756
9756
|
var mode = workInProgress.mode;
|
9757
9757
|
nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
|
9758
9758
|
{ mode: "hidden", children: nextPrimaryChildren },
|
9759
9759
|
mode
|
9760
9760
|
);
|
9761
|
-
|
9762
|
-
|
9761
|
+
JSCompiler_object_inline_stack_2549 = createFiberFromFragment(
|
9762
|
+
JSCompiler_object_inline_stack_2549,
|
9763
9763
|
mode,
|
9764
9764
|
renderLanes,
|
9765
9765
|
null
|
9766
9766
|
);
|
9767
9767
|
nextPrimaryChildren.return = workInProgress;
|
9768
|
-
|
9769
|
-
nextPrimaryChildren.sibling =
|
9768
|
+
JSCompiler_object_inline_stack_2549.return = workInProgress;
|
9769
|
+
nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2549;
|
9770
9770
|
workInProgress.child = nextPrimaryChildren;
|
9771
9771
|
nextPrimaryChildren = workInProgress.child;
|
9772
9772
|
nextPrimaryChildren.memoizedState =
|
9773
9773
|
mountSuspenseOffscreenState(renderLanes);
|
9774
9774
|
nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
9775
9775
|
current,
|
9776
|
-
|
9776
|
+
JSCompiler_object_inline_digest_2548,
|
9777
9777
|
renderLanes
|
9778
9778
|
);
|
9779
9779
|
workInProgress.memoizedState = SUSPENDED_MARKER;
|
9780
|
-
return
|
9780
|
+
return JSCompiler_object_inline_stack_2549;
|
9781
9781
|
}
|
9782
9782
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9783
9783
|
return mountSuspensePrimaryChildren(
|
@@ -9787,8 +9787,8 @@
|
|
9787
9787
|
}
|
9788
9788
|
var prevState = current.memoizedState;
|
9789
9789
|
if (null !== prevState) {
|
9790
|
-
var
|
9791
|
-
if (null !==
|
9790
|
+
var JSCompiler_object_inline_componentStack_2550 = prevState.dehydrated;
|
9791
|
+
if (null !== JSCompiler_object_inline_componentStack_2550) {
|
9792
9792
|
if (didSuspend)
|
9793
9793
|
workInProgress.flags & 256
|
9794
9794
|
? (pushPrimaryTreeSuspenseHandler(workInProgress),
|
@@ -9805,13 +9805,13 @@
|
|
9805
9805
|
(workInProgress = null))
|
9806
9806
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9807
9807
|
(nextPrimaryChildren =
|
9808
|
-
|
9808
|
+
JSCompiler_object_inline_stack_2549.fallback),
|
9809
9809
|
(mode = workInProgress.mode),
|
9810
|
-
(
|
9810
|
+
(JSCompiler_object_inline_stack_2549 =
|
9811
9811
|
mountWorkInProgressOffscreenFiber(
|
9812
9812
|
{
|
9813
9813
|
mode: "visible",
|
9814
|
-
children:
|
9814
|
+
children: JSCompiler_object_inline_stack_2549.children
|
9815
9815
|
},
|
9816
9816
|
mode
|
9817
9817
|
)),
|
@@ -9822,24 +9822,24 @@
|
|
9822
9822
|
null
|
9823
9823
|
)),
|
9824
9824
|
(nextPrimaryChildren.flags |= 2),
|
9825
|
-
(
|
9825
|
+
(JSCompiler_object_inline_stack_2549.return = workInProgress),
|
9826
9826
|
(nextPrimaryChildren.return = workInProgress),
|
9827
|
-
(
|
9827
|
+
(JSCompiler_object_inline_stack_2549.sibling =
|
9828
9828
|
nextPrimaryChildren),
|
9829
|
-
(workInProgress.child =
|
9829
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2549),
|
9830
9830
|
reconcileChildFibers(
|
9831
9831
|
workInProgress,
|
9832
9832
|
current.child,
|
9833
9833
|
null,
|
9834
9834
|
renderLanes
|
9835
9835
|
),
|
9836
|
-
(
|
9837
|
-
(
|
9836
|
+
(JSCompiler_object_inline_stack_2549 = workInProgress.child),
|
9837
|
+
(JSCompiler_object_inline_stack_2549.memoizedState =
|
9838
9838
|
mountSuspenseOffscreenState(renderLanes)),
|
9839
|
-
(
|
9839
|
+
(JSCompiler_object_inline_stack_2549.childLanes =
|
9840
9840
|
getRemainingWorkInPrimaryTree(
|
9841
9841
|
current,
|
9842
|
-
|
9842
|
+
JSCompiler_object_inline_digest_2548,
|
9843
9843
|
renderLanes
|
9844
9844
|
)),
|
9845
9845
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
@@ -9848,45 +9848,45 @@
|
|
9848
9848
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9849
9849
|
warnIfHydrating(),
|
9850
9850
|
isSuspenseInstanceFallback(
|
9851
|
-
|
9851
|
+
JSCompiler_object_inline_componentStack_2550
|
9852
9852
|
))
|
9853
9853
|
) {
|
9854
|
-
|
9855
|
-
|
9856
|
-
|
9857
|
-
if (
|
9858
|
-
nextPrimaryChildren =
|
9859
|
-
var message =
|
9860
|
-
mode =
|
9861
|
-
var componentStack =
|
9854
|
+
JSCompiler_object_inline_digest_2548 =
|
9855
|
+
JSCompiler_object_inline_componentStack_2550.nextSibling &&
|
9856
|
+
JSCompiler_object_inline_componentStack_2550.nextSibling.dataset;
|
9857
|
+
if (JSCompiler_object_inline_digest_2548) {
|
9858
|
+
nextPrimaryChildren = JSCompiler_object_inline_digest_2548.dgst;
|
9859
|
+
var message = JSCompiler_object_inline_digest_2548.msg;
|
9860
|
+
mode = JSCompiler_object_inline_digest_2548.stck;
|
9861
|
+
var componentStack = JSCompiler_object_inline_digest_2548.cstck;
|
9862
9862
|
}
|
9863
|
-
|
9864
|
-
|
9865
|
-
|
9866
|
-
|
9867
|
-
nextPrimaryChildren =
|
9868
|
-
mode =
|
9863
|
+
JSCompiler_object_inline_message_2547 = message;
|
9864
|
+
JSCompiler_object_inline_digest_2548 = nextPrimaryChildren;
|
9865
|
+
JSCompiler_object_inline_stack_2549 = mode;
|
9866
|
+
JSCompiler_object_inline_componentStack_2550 = componentStack;
|
9867
|
+
nextPrimaryChildren = JSCompiler_object_inline_message_2547;
|
9868
|
+
mode = JSCompiler_object_inline_componentStack_2550;
|
9869
9869
|
nextPrimaryChildren = nextPrimaryChildren
|
9870
9870
|
? Error(nextPrimaryChildren)
|
9871
9871
|
: Error(
|
9872
9872
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9873
9873
|
);
|
9874
9874
|
nextPrimaryChildren.stack =
|
9875
|
-
|
9876
|
-
nextPrimaryChildren.digest =
|
9877
|
-
|
9875
|
+
JSCompiler_object_inline_stack_2549 || "";
|
9876
|
+
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2548;
|
9877
|
+
JSCompiler_object_inline_digest_2548 =
|
9878
9878
|
void 0 === mode ? null : mode;
|
9879
|
-
|
9879
|
+
JSCompiler_object_inline_stack_2549 = {
|
9880
9880
|
value: nextPrimaryChildren,
|
9881
9881
|
source: null,
|
9882
|
-
stack:
|
9882
|
+
stack: JSCompiler_object_inline_digest_2548
|
9883
9883
|
};
|
9884
|
-
"string" === typeof
|
9884
|
+
"string" === typeof JSCompiler_object_inline_digest_2548 &&
|
9885
9885
|
CapturedStacks.set(
|
9886
9886
|
nextPrimaryChildren,
|
9887
|
-
|
9887
|
+
JSCompiler_object_inline_stack_2549
|
9888
9888
|
);
|
9889
|
-
queueHydrationError(
|
9889
|
+
queueHydrationError(JSCompiler_object_inline_stack_2549);
|
9890
9890
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9891
9891
|
current,
|
9892
9892
|
workInProgress,
|
@@ -9900,35 +9900,35 @@
|
|
9900
9900
|
renderLanes,
|
9901
9901
|
!1
|
9902
9902
|
),
|
9903
|
-
(
|
9903
|
+
(JSCompiler_object_inline_digest_2548 =
|
9904
9904
|
0 !== (renderLanes & current.childLanes)),
|
9905
|
-
didReceiveUpdate ||
|
9905
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2548)
|
9906
9906
|
) {
|
9907
|
-
|
9907
|
+
JSCompiler_object_inline_digest_2548 = workInProgressRoot;
|
9908
9908
|
if (
|
9909
|
-
null !==
|
9910
|
-
((
|
9911
|
-
|
9909
|
+
null !== JSCompiler_object_inline_digest_2548 &&
|
9910
|
+
((JSCompiler_object_inline_stack_2549 = getBumpedLaneForHydration(
|
9911
|
+
JSCompiler_object_inline_digest_2548,
|
9912
9912
|
renderLanes
|
9913
9913
|
)),
|
9914
|
-
0 !==
|
9915
|
-
|
9914
|
+
0 !== JSCompiler_object_inline_stack_2549 &&
|
9915
|
+
JSCompiler_object_inline_stack_2549 !== prevState.retryLane)
|
9916
9916
|
)
|
9917
9917
|
throw (
|
9918
|
-
((prevState.retryLane =
|
9918
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2549),
|
9919
9919
|
enqueueConcurrentRenderForLane(
|
9920
9920
|
current,
|
9921
|
-
|
9921
|
+
JSCompiler_object_inline_stack_2549
|
9922
9922
|
),
|
9923
9923
|
scheduleUpdateOnFiber(
|
9924
|
-
|
9924
|
+
JSCompiler_object_inline_digest_2548,
|
9925
9925
|
current,
|
9926
|
-
|
9926
|
+
JSCompiler_object_inline_stack_2549
|
9927
9927
|
),
|
9928
9928
|
SelectiveHydrationException)
|
9929
9929
|
);
|
9930
9930
|
isSuspenseInstancePending(
|
9931
|
-
|
9931
|
+
JSCompiler_object_inline_componentStack_2550
|
9932
9932
|
) || renderDidSuspendDelayIfPossible();
|
9933
9933
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9934
9934
|
current,
|
@@ -9937,14 +9937,14 @@
|
|
9937
9937
|
);
|
9938
9938
|
} else
|
9939
9939
|
isSuspenseInstancePending(
|
9940
|
-
|
9940
|
+
JSCompiler_object_inline_componentStack_2550
|
9941
9941
|
)
|
9942
9942
|
? ((workInProgress.flags |= 192),
|
9943
9943
|
(workInProgress.child = current.child),
|
9944
9944
|
(workInProgress = null))
|
9945
9945
|
: ((current = prevState.treeContext),
|
9946
9946
|
(nextHydratableInstance = getNextHydratable(
|
9947
|
-
|
9947
|
+
JSCompiler_object_inline_componentStack_2550.nextSibling
|
9948
9948
|
)),
|
9949
9949
|
(hydrationParentFiber = workInProgress),
|
9950
9950
|
(isHydrating = !0),
|
@@ -9956,32 +9956,32 @@
|
|
9956
9956
|
restoreSuspendedTreeContext(workInProgress, current),
|
9957
9957
|
(workInProgress = mountSuspensePrimaryChildren(
|
9958
9958
|
workInProgress,
|
9959
|
-
|
9959
|
+
JSCompiler_object_inline_stack_2549.children
|
9960
9960
|
)),
|
9961
9961
|
(workInProgress.flags |= 4096));
|
9962
9962
|
return workInProgress;
|
9963
9963
|
}
|
9964
9964
|
}
|
9965
|
-
if (
|
9965
|
+
if (JSCompiler_object_inline_message_2547)
|
9966
9966
|
return (
|
9967
9967
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9968
|
-
(nextPrimaryChildren =
|
9968
|
+
(nextPrimaryChildren = JSCompiler_object_inline_stack_2549.fallback),
|
9969
9969
|
(mode = workInProgress.mode),
|
9970
9970
|
(componentStack = current.child),
|
9971
|
-
(
|
9971
|
+
(JSCompiler_object_inline_componentStack_2550 =
|
9972
9972
|
componentStack.sibling),
|
9973
|
-
(
|
9973
|
+
(JSCompiler_object_inline_stack_2549 = createWorkInProgress(
|
9974
9974
|
componentStack,
|
9975
9975
|
{
|
9976
9976
|
mode: "hidden",
|
9977
|
-
children:
|
9977
|
+
children: JSCompiler_object_inline_stack_2549.children
|
9978
9978
|
}
|
9979
9979
|
)),
|
9980
|
-
(
|
9980
|
+
(JSCompiler_object_inline_stack_2549.subtreeFlags =
|
9981
9981
|
componentStack.subtreeFlags & 65011712),
|
9982
|
-
null !==
|
9982
|
+
null !== JSCompiler_object_inline_componentStack_2550
|
9983
9983
|
? (nextPrimaryChildren = createWorkInProgress(
|
9984
|
-
|
9984
|
+
JSCompiler_object_inline_componentStack_2550,
|
9985
9985
|
nextPrimaryChildren
|
9986
9986
|
))
|
9987
9987
|
: ((nextPrimaryChildren = createFiberFromFragment(
|
@@ -9992,24 +9992,24 @@
|
|
9992
9992
|
)),
|
9993
9993
|
(nextPrimaryChildren.flags |= 2)),
|
9994
9994
|
(nextPrimaryChildren.return = workInProgress),
|
9995
|
-
(
|
9996
|
-
(
|
9997
|
-
(workInProgress.child =
|
9998
|
-
(
|
9995
|
+
(JSCompiler_object_inline_stack_2549.return = workInProgress),
|
9996
|
+
(JSCompiler_object_inline_stack_2549.sibling = nextPrimaryChildren),
|
9997
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2549),
|
9998
|
+
(JSCompiler_object_inline_stack_2549 = nextPrimaryChildren),
|
9999
9999
|
(nextPrimaryChildren = workInProgress.child),
|
10000
10000
|
(mode = current.child.memoizedState),
|
10001
10001
|
null === mode
|
10002
10002
|
? (mode = mountSuspenseOffscreenState(renderLanes))
|
10003
10003
|
: ((componentStack = mode.cachePool),
|
10004
10004
|
null !== componentStack
|
10005
|
-
? ((
|
10005
|
+
? ((JSCompiler_object_inline_componentStack_2550 =
|
10006
10006
|
CacheContext._currentValue),
|
10007
10007
|
(componentStack =
|
10008
10008
|
componentStack.parent !==
|
10009
|
-
|
10009
|
+
JSCompiler_object_inline_componentStack_2550
|
10010
10010
|
? {
|
10011
|
-
parent:
|
10012
|
-
pool:
|
10011
|
+
parent: JSCompiler_object_inline_componentStack_2550,
|
10012
|
+
pool: JSCompiler_object_inline_componentStack_2550
|
10013
10013
|
}
|
10014
10014
|
: componentStack))
|
10015
10015
|
: (componentStack = getSuspendedCache()),
|
@@ -10020,27 +10020,27 @@
|
|
10020
10020
|
(nextPrimaryChildren.memoizedState = mode),
|
10021
10021
|
(nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
|
10022
10022
|
current,
|
10023
|
-
|
10023
|
+
JSCompiler_object_inline_digest_2548,
|
10024
10024
|
renderLanes
|
10025
10025
|
)),
|
10026
10026
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
10027
|
-
|
10027
|
+
JSCompiler_object_inline_stack_2549
|
10028
10028
|
);
|
10029
10029
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
10030
10030
|
renderLanes = current.child;
|
10031
10031
|
current = renderLanes.sibling;
|
10032
10032
|
renderLanes = createWorkInProgress(renderLanes, {
|
10033
10033
|
mode: "visible",
|
10034
|
-
children:
|
10034
|
+
children: JSCompiler_object_inline_stack_2549.children
|
10035
10035
|
});
|
10036
10036
|
renderLanes.return = workInProgress;
|
10037
10037
|
renderLanes.sibling = null;
|
10038
10038
|
null !== current &&
|
10039
|
-
((
|
10040
|
-
null ===
|
10039
|
+
((JSCompiler_object_inline_digest_2548 = workInProgress.deletions),
|
10040
|
+
null === JSCompiler_object_inline_digest_2548
|
10041
10041
|
? ((workInProgress.deletions = [current]),
|
10042
10042
|
(workInProgress.flags |= 16))
|
10043
|
-
:
|
10043
|
+
: JSCompiler_object_inline_digest_2548.push(current));
|
10044
10044
|
workInProgress.child = renderLanes;
|
10045
10045
|
workInProgress.memoizedState = null;
|
10046
10046
|
return renderLanes;
|
@@ -12676,7 +12676,7 @@
|
|
12676
12676
|
(parent = parent._reactRootContainer),
|
12677
12677
|
(null !== parent && void 0 !== parent) ||
|
12678
12678
|
null !== before.onclick ||
|
12679
|
-
(before.onclick = noop$
|
12679
|
+
(before.onclick = noop$1));
|
12680
12680
|
else if (
|
12681
12681
|
4 !== tag &&
|
12682
12682
|
(27 === tag &&
|
@@ -17679,7 +17679,6 @@
|
|
17679
17679
|
? !0
|
17680
17680
|
: !1;
|
17681
17681
|
}
|
17682
|
-
function noop$2() {}
|
17683
17682
|
function setProp(domElement, tag, key, value, props, prevValue) {
|
17684
17683
|
switch (key) {
|
17685
17684
|
case "children":
|
@@ -17880,7 +17879,7 @@
|
|
17880
17879
|
null != value &&
|
17881
17880
|
("function" !== typeof value &&
|
17882
17881
|
warnForInvalidEventListener(key, value),
|
17883
|
-
(domElement.onclick = noop$
|
17882
|
+
(domElement.onclick = noop$1));
|
17884
17883
|
break;
|
17885
17884
|
case "onScroll":
|
17886
17885
|
null != value &&
|
@@ -18183,7 +18182,7 @@
|
|
18183
18182
|
null != value &&
|
18184
18183
|
("function" !== typeof value &&
|
18185
18184
|
warnForInvalidEventListener(key, value),
|
18186
|
-
(domElement.onclick = noop$
|
18185
|
+
(domElement.onclick = noop$1));
|
18187
18186
|
break;
|
18188
18187
|
case "suppressContentEditableWarning":
|
18189
18188
|
case "suppressHydrationWarning":
|
@@ -20870,7 +20869,6 @@
|
|
20870
20869
|
? !1
|
20871
20870
|
: !0;
|
20872
20871
|
}
|
20873
|
-
function noop$1() {}
|
20874
20872
|
function suspendResource(hoistableRoot, resource, props) {
|
20875
20873
|
if (null === suspendedState)
|
20876
20874
|
throw Error(
|
@@ -21021,6 +21019,7 @@
|
|
21021
21019
|
onUncaughtError,
|
21022
21020
|
onCaughtError,
|
21023
21021
|
onRecoverableError,
|
21022
|
+
onDefaultTransitionIndicator,
|
21024
21023
|
formState
|
21025
21024
|
) {
|
21026
21025
|
this.tag = 1;
|
@@ -21068,11 +21067,11 @@
|
|
21068
21067
|
hydrationCallbacks,
|
21069
21068
|
isStrictMode,
|
21070
21069
|
identifierPrefix,
|
21070
|
+
formState,
|
21071
21071
|
onUncaughtError,
|
21072
21072
|
onCaughtError,
|
21073
21073
|
onRecoverableError,
|
21074
|
-
|
21075
|
-
formState
|
21074
|
+
onDefaultTransitionIndicator
|
21076
21075
|
) {
|
21077
21076
|
containerInfo = new FiberRootNode(
|
21078
21077
|
containerInfo,
|
@@ -21082,6 +21081,7 @@
|
|
21082
21081
|
onUncaughtError,
|
21083
21082
|
onCaughtError,
|
21084
21083
|
onRecoverableError,
|
21084
|
+
onDefaultTransitionIndicator,
|
21085
21085
|
formState
|
21086
21086
|
);
|
21087
21087
|
tag = ConcurrentMode;
|
@@ -21789,6 +21789,9 @@
|
|
21789
21789
|
}
|
21790
21790
|
}
|
21791
21791
|
}
|
21792
|
+
function defaultOnDefaultTransitionIndicator() {
|
21793
|
+
return function () {};
|
21794
|
+
}
|
21792
21795
|
function ReactDOMRoot(internalRoot) {
|
21793
21796
|
this._internalRoot = internalRoot;
|
21794
21797
|
}
|
@@ -21805,7 +21808,6 @@
|
|
21805
21808
|
"You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."
|
21806
21809
|
));
|
21807
21810
|
}
|
21808
|
-
function noop() {}
|
21809
21811
|
function getCrossOriginStringAs(as, input) {
|
21810
21812
|
if ("font" === as) return "";
|
21811
21813
|
if ("string" === typeof input)
|
@@ -25430,11 +25432,11 @@
|
|
25430
25432
|
};
|
25431
25433
|
(function () {
|
25432
25434
|
var isomorphicReactPackageVersion = React.version;
|
25433
|
-
if ("19.2.0-canary-
|
25435
|
+
if ("19.2.0-canary-21fdf308-20250508" !== isomorphicReactPackageVersion)
|
25434
25436
|
throw Error(
|
25435
25437
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
25436
25438
|
(isomorphicReactPackageVersion +
|
25437
|
-
"\n - react-dom: 19.2.0-canary-
|
25439
|
+
"\n - react-dom: 19.2.0-canary-21fdf308-20250508\nLearn more: https://react.dev/warnings/version-mismatch")
|
25438
25440
|
);
|
25439
25441
|
})();
|
25440
25442
|
("function" === typeof Map &&
|
@@ -25471,10 +25473,10 @@
|
|
25471
25473
|
!(function () {
|
25472
25474
|
var internals = {
|
25473
25475
|
bundleType: 1,
|
25474
|
-
version: "19.2.0-canary-
|
25476
|
+
version: "19.2.0-canary-21fdf308-20250508",
|
25475
25477
|
rendererPackageName: "react-dom",
|
25476
25478
|
currentDispatcherRef: ReactSharedInternals,
|
25477
|
-
reconcilerVersion: "19.2.0-canary-
|
25479
|
+
reconcilerVersion: "19.2.0-canary-21fdf308-20250508"
|
25478
25480
|
};
|
25479
25481
|
internals.overrideHookState = overrideHookState;
|
25480
25482
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25511,19 +25513,19 @@
|
|
25511
25513
|
}
|
25512
25514
|
var Internals = {
|
25513
25515
|
d: {
|
25514
|
-
f: noop,
|
25516
|
+
f: noop$1,
|
25515
25517
|
r: function () {
|
25516
25518
|
throw Error(
|
25517
25519
|
"Invalid form element. requestFormReset must be passed a form that was rendered by React."
|
25518
25520
|
);
|
25519
25521
|
},
|
25520
|
-
D: noop,
|
25521
|
-
C: noop,
|
25522
|
-
L: noop,
|
25523
|
-
m: noop,
|
25524
|
-
X: noop,
|
25525
|
-
S: noop,
|
25526
|
-
M: noop
|
25522
|
+
D: noop$1,
|
25523
|
+
C: noop$1,
|
25524
|
+
L: noop$1,
|
25525
|
+
m: noop$1,
|
25526
|
+
X: noop$1,
|
25527
|
+
S: noop$1,
|
25528
|
+
M: noop$1
|
25527
25529
|
},
|
25528
25530
|
p: 0,
|
25529
25531
|
findDOMNode: null
|
@@ -25555,8 +25557,7 @@
|
|
25555
25557
|
identifierPrefix = "",
|
25556
25558
|
onUncaughtError = defaultOnUncaughtError,
|
25557
25559
|
onCaughtError = defaultOnCaughtError,
|
25558
|
-
onRecoverableError = defaultOnRecoverableError
|
25559
|
-
transitionCallbacks = null;
|
25560
|
+
onRecoverableError = defaultOnRecoverableError;
|
25560
25561
|
null !== options &&
|
25561
25562
|
void 0 !== options &&
|
25562
25563
|
(options.hydrate
|
@@ -25577,9 +25578,7 @@
|
|
25577
25578
|
void 0 !== options.onCaughtError &&
|
25578
25579
|
(onCaughtError = options.onCaughtError),
|
25579
25580
|
void 0 !== options.onRecoverableError &&
|
25580
|
-
(onRecoverableError = options.onRecoverableError)
|
25581
|
-
void 0 !== options.unstable_transitionCallbacks &&
|
25582
|
-
(transitionCallbacks = options.unstable_transitionCallbacks));
|
25581
|
+
(onRecoverableError = options.onRecoverableError));
|
25583
25582
|
options = createFiberRoot(
|
25584
25583
|
container,
|
25585
25584
|
1,
|
@@ -25588,11 +25587,11 @@
|
|
25588
25587
|
null,
|
25589
25588
|
isStrictMode,
|
25590
25589
|
identifierPrefix,
|
25590
|
+
null,
|
25591
25591
|
onUncaughtError,
|
25592
25592
|
onCaughtError,
|
25593
25593
|
onRecoverableError,
|
25594
|
-
|
25595
|
-
null
|
25594
|
+
defaultOnDefaultTransitionIndicator
|
25596
25595
|
);
|
25597
25596
|
container[internalContainerInstanceKey] = options.current;
|
25598
25597
|
listenToAllSupportedEvents(container);
|
@@ -25630,7 +25629,6 @@
|
|
25630
25629
|
onUncaughtError = defaultOnUncaughtError,
|
25631
25630
|
onCaughtError = defaultOnCaughtError,
|
25632
25631
|
onRecoverableError = defaultOnRecoverableError,
|
25633
|
-
transitionCallbacks = null,
|
25634
25632
|
formState = null;
|
25635
25633
|
null !== options &&
|
25636
25634
|
void 0 !== options &&
|
@@ -25643,8 +25641,6 @@
|
|
25643
25641
|
(onCaughtError = options.onCaughtError),
|
25644
25642
|
void 0 !== options.onRecoverableError &&
|
25645
25643
|
(onRecoverableError = options.onRecoverableError),
|
25646
|
-
void 0 !== options.unstable_transitionCallbacks &&
|
25647
|
-
(transitionCallbacks = options.unstable_transitionCallbacks),
|
25648
25644
|
void 0 !== options.formState && (formState = options.formState));
|
25649
25645
|
initialChildren = createFiberRoot(
|
25650
25646
|
container,
|
@@ -25654,11 +25650,11 @@
|
|
25654
25650
|
null != options ? options : null,
|
25655
25651
|
isStrictMode,
|
25656
25652
|
identifierPrefix,
|
25653
|
+
formState,
|
25657
25654
|
onUncaughtError,
|
25658
25655
|
onCaughtError,
|
25659
25656
|
onRecoverableError,
|
25660
|
-
|
25661
|
-
formState
|
25657
|
+
defaultOnDefaultTransitionIndicator
|
25662
25658
|
);
|
25663
25659
|
initialChildren.context = getContextForSubtree(null);
|
25664
25660
|
options = initialChildren.current;
|
@@ -25948,7 +25944,7 @@
|
|
25948
25944
|
exports.useFormStatus = function () {
|
25949
25945
|
return resolveDispatcher().useHostTransitionStatus();
|
25950
25946
|
};
|
25951
|
-
exports.version = "19.2.0-canary-
|
25947
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
25952
25948
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25953
25949
|
"function" ===
|
25954
25950
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|