mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Ensure function arity is preserved after build (#31808)
Co-authored-by: eps1lon <sebastian.silbermann@vercel.com>
DiffTrain build for [2bd1c756c6](https://github.com/facebook/react/commit/2bd1c756c6fffefb00cdb2986218fa2701ece82e)
This commit is contained in:
@@ -1 +1 @@
|
||||
6a4b46cd70d2672bc4be59dcb5b8dede22ed0cef
|
||||
2bd1c756c6fffefb00cdb2986218fa2701ece82e
|
||||
|
||||
@@ -1 +1 @@
|
||||
6a4b46cd70d2672bc4be59dcb5b8dede22ed0cef
|
||||
2bd1c756c6fffefb00cdb2986218fa2701ece82e
|
||||
|
||||
@@ -1942,7 +1942,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-classic-2bd1c756-20241218";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -1942,7 +1942,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-modern-2bd1c756-20241218";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -630,4 +630,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-classic-2bd1c756-20241218";
|
||||
|
||||
@@ -630,4 +630,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-modern-2bd1c756-20241218";
|
||||
|
||||
@@ -634,7 +634,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-classic-2bd1c756-20241218";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -634,7 +634,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-modern-2bd1c756-20241218";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -4598,19 +4598,15 @@ __DEV__ &&
|
||||
provider = provider.return;
|
||||
}
|
||||
}
|
||||
function dispatchReducerAction(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p0 &&
|
||||
function dispatchReducerAction(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber);
|
||||
action = {
|
||||
lane: JSCompiler_OptimizeArgumentsArray_p0,
|
||||
args = requestUpdateLane(fiber);
|
||||
var update = {
|
||||
lane: args,
|
||||
revertLane: 0,
|
||||
action: action,
|
||||
hasEagerState: !1,
|
||||
@@ -4618,46 +4614,22 @@ __DEV__ &&
|
||||
next: null
|
||||
};
|
||||
isRenderPhaseUpdate(fiber)
|
||||
? enqueueRenderPhaseUpdate(queue, action)
|
||||
: ((action = enqueueConcurrentHookUpdate(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)),
|
||||
null !== action &&
|
||||
(scheduleUpdateOnFiber(
|
||||
action,
|
||||
fiber,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
),
|
||||
entangleTransitionUpdate(
|
||||
action,
|
||||
queue,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)));
|
||||
enableSchedulingProfiler &&
|
||||
markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p0);
|
||||
? enqueueRenderPhaseUpdate(queue, update)
|
||||
: ((update = enqueueConcurrentHookUpdate(fiber, queue, update, args)),
|
||||
null !== update &&
|
||||
(scheduleUpdateOnFiber(update, fiber, args),
|
||||
entangleTransitionUpdate(update, queue, args)));
|
||||
enableSchedulingProfiler && markStateUpdateScheduled(fiber, args);
|
||||
}
|
||||
function dispatchSetState(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p1 &&
|
||||
function dispatchSetState(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p1 = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
);
|
||||
enableSchedulingProfiler &&
|
||||
markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p1);
|
||||
args = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(fiber, queue, action, args);
|
||||
enableSchedulingProfiler && markStateUpdateScheduled(fiber, args);
|
||||
}
|
||||
function dispatchSetStateInternal(fiber, queue, action, lane) {
|
||||
var update = {
|
||||
@@ -16898,10 +16870,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-classic-6a4b46cd-20241217",
|
||||
version: "19.1.0-www-classic-2bd1c756-20241218",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-classic-2bd1c756-20241218"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -16935,7 +16907,7 @@ __DEV__ &&
|
||||
exports.Shape = Shape;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.1.0-www-classic-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-classic-2bd1c756-20241218";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -4490,19 +4490,15 @@ __DEV__ &&
|
||||
provider = provider.return;
|
||||
}
|
||||
}
|
||||
function dispatchReducerAction(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p0 &&
|
||||
function dispatchReducerAction(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber);
|
||||
action = {
|
||||
lane: JSCompiler_OptimizeArgumentsArray_p0,
|
||||
args = requestUpdateLane(fiber);
|
||||
var update = {
|
||||
lane: args,
|
||||
revertLane: 0,
|
||||
action: action,
|
||||
hasEagerState: !1,
|
||||
@@ -4510,46 +4506,22 @@ __DEV__ &&
|
||||
next: null
|
||||
};
|
||||
isRenderPhaseUpdate(fiber)
|
||||
? enqueueRenderPhaseUpdate(queue, action)
|
||||
: ((action = enqueueConcurrentHookUpdate(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)),
|
||||
null !== action &&
|
||||
(scheduleUpdateOnFiber(
|
||||
action,
|
||||
fiber,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
),
|
||||
entangleTransitionUpdate(
|
||||
action,
|
||||
queue,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)));
|
||||
enableSchedulingProfiler &&
|
||||
markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p0);
|
||||
? enqueueRenderPhaseUpdate(queue, update)
|
||||
: ((update = enqueueConcurrentHookUpdate(fiber, queue, update, args)),
|
||||
null !== update &&
|
||||
(scheduleUpdateOnFiber(update, fiber, args),
|
||||
entangleTransitionUpdate(update, queue, args)));
|
||||
enableSchedulingProfiler && markStateUpdateScheduled(fiber, args);
|
||||
}
|
||||
function dispatchSetState(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p1 &&
|
||||
function dispatchSetState(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p1 = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
);
|
||||
enableSchedulingProfiler &&
|
||||
markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p1);
|
||||
args = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(fiber, queue, action, args);
|
||||
enableSchedulingProfiler && markStateUpdateScheduled(fiber, args);
|
||||
}
|
||||
function dispatchSetStateInternal(fiber, queue, action, lane) {
|
||||
var update = {
|
||||
@@ -16661,10 +16633,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-modern-6a4b46cd-20241217",
|
||||
version: "19.1.0-www-modern-2bd1c756-20241218",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-modern-2bd1c756-20241218"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -16698,7 +16670,7 @@ __DEV__ &&
|
||||
exports.Shape = Shape;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.1.0-www-modern-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-modern-2bd1c756-20241218";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -10757,10 +10757,10 @@ var slice = Array.prototype.slice,
|
||||
})(React.Component);
|
||||
var internals$jscomp$inline_1495 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-classic-6a4b46cd-20241217",
|
||||
version: "19.1.0-www-classic-2bd1c756-20241218",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-classic-2bd1c756-20241218"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1496 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -10786,4 +10786,4 @@ exports.RadialGradient = RadialGradient;
|
||||
exports.Shape = TYPES.SHAPE;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.1.0-www-classic-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-classic-2bd1c756-20241218";
|
||||
|
||||
@@ -10473,10 +10473,10 @@ var slice = Array.prototype.slice,
|
||||
})(React.Component);
|
||||
var internals$jscomp$inline_1474 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-modern-6a4b46cd-20241217",
|
||||
version: "19.1.0-www-modern-2bd1c756-20241218",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-modern-2bd1c756-20241218"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1475 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -10502,4 +10502,4 @@ exports.RadialGradient = RadialGradient;
|
||||
exports.Shape = TYPES.SHAPE;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.1.0-www-modern-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-modern-2bd1c756-20241218";
|
||||
|
||||
@@ -6556,19 +6556,15 @@ __DEV__ &&
|
||||
provider = provider.return;
|
||||
}
|
||||
}
|
||||
function dispatchReducerAction(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p0 &&
|
||||
function dispatchReducerAction(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber);
|
||||
action = {
|
||||
lane: JSCompiler_OptimizeArgumentsArray_p0,
|
||||
args = requestUpdateLane(fiber);
|
||||
var update = {
|
||||
lane: args,
|
||||
revertLane: 0,
|
||||
action: action,
|
||||
hasEagerState: !1,
|
||||
@@ -6576,46 +6572,22 @@ __DEV__ &&
|
||||
next: null
|
||||
};
|
||||
isRenderPhaseUpdate(fiber)
|
||||
? enqueueRenderPhaseUpdate(queue, action)
|
||||
: ((action = enqueueConcurrentHookUpdate(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)),
|
||||
null !== action &&
|
||||
(scheduleUpdateOnFiber(
|
||||
action,
|
||||
fiber,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
),
|
||||
entangleTransitionUpdate(
|
||||
action,
|
||||
queue,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)));
|
||||
enableSchedulingProfiler &&
|
||||
markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p0);
|
||||
? enqueueRenderPhaseUpdate(queue, update)
|
||||
: ((update = enqueueConcurrentHookUpdate(fiber, queue, update, args)),
|
||||
null !== update &&
|
||||
(scheduleUpdateOnFiber(update, fiber, args),
|
||||
entangleTransitionUpdate(update, queue, args)));
|
||||
enableSchedulingProfiler && markStateUpdateScheduled(fiber, args);
|
||||
}
|
||||
function dispatchSetState(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p1 &&
|
||||
function dispatchSetState(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p1 = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
);
|
||||
enableSchedulingProfiler &&
|
||||
markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p1);
|
||||
args = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(fiber, queue, action, args);
|
||||
enableSchedulingProfiler && markStateUpdateScheduled(fiber, args);
|
||||
}
|
||||
function dispatchSetStateInternal(fiber, queue, action, lane) {
|
||||
var update = {
|
||||
@@ -27373,11 +27345,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.1.0-www-classic-6a4b46cd-20241217" !== isomorphicReactPackageVersion)
|
||||
if ("19.1.0-www-classic-2bd1c756-20241218" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.1.0-www-classic-6a4b46cd-20241217\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.1.0-www-classic-2bd1c756-20241218\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27420,10 +27392,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-classic-6a4b46cd-20241217",
|
||||
version: "19.1.0-www-classic-2bd1c756-20241218",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-classic-2bd1c756-20241218"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27460,52 +27432,43 @@ __DEV__ &&
|
||||
);
|
||||
}
|
||||
ReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render =
|
||||
function (children, JSCompiler_OptimizeArgumentsArray_p2) {
|
||||
function (children) {
|
||||
var root = this._internalRoot;
|
||||
if (null === root) throw Error("Cannot update an unmounted root.");
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p2
|
||||
var args = arguments;
|
||||
"function" === typeof args[1]
|
||||
? error$jscomp$0(
|
||||
"does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."
|
||||
)
|
||||
: isValidContainer(JSCompiler_OptimizeArgumentsArray_p2)
|
||||
: isValidContainer(args[1])
|
||||
? error$jscomp$0(
|
||||
"You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."
|
||||
)
|
||||
: "undefined" !== typeof JSCompiler_OptimizeArgumentsArray_p2 &&
|
||||
: "undefined" !== typeof args[1] &&
|
||||
error$jscomp$0(
|
||||
"You passed a second argument to root.render(...) but it only accepts one argument."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p2 = root.current;
|
||||
var lane = requestUpdateLane(JSCompiler_OptimizeArgumentsArray_p2);
|
||||
updateContainerImpl(
|
||||
JSCompiler_OptimizeArgumentsArray_p2,
|
||||
lane,
|
||||
children,
|
||||
root,
|
||||
null,
|
||||
null
|
||||
);
|
||||
args = children;
|
||||
var current = root.current,
|
||||
lane = requestUpdateLane(current);
|
||||
updateContainerImpl(current, lane, args, root, null, null);
|
||||
};
|
||||
ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount =
|
||||
function (JSCompiler_OptimizeArgumentsArray_p3) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p3 &&
|
||||
function () {
|
||||
var args = arguments;
|
||||
"function" === typeof args[0] &&
|
||||
error$jscomp$0(
|
||||
"does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p3 = this._internalRoot;
|
||||
if (null !== JSCompiler_OptimizeArgumentsArray_p3) {
|
||||
args = this._internalRoot;
|
||||
if (null !== args) {
|
||||
this._internalRoot = null;
|
||||
var container = JSCompiler_OptimizeArgumentsArray_p3.containerInfo;
|
||||
var container = args.containerInfo;
|
||||
(executionContext & (RenderContext | CommitContext)) !== NoContext &&
|
||||
error$jscomp$0(
|
||||
"Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."
|
||||
);
|
||||
updateContainerSync(
|
||||
null,
|
||||
JSCompiler_OptimizeArgumentsArray_p3,
|
||||
null,
|
||||
null
|
||||
);
|
||||
updateContainerSync(null, args, null, null);
|
||||
flushSyncWork$1();
|
||||
container[internalContainerInstanceKey] = null;
|
||||
}
|
||||
@@ -28030,7 +27993,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-classic-2bd1c756-20241218";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -6443,19 +6443,15 @@ __DEV__ &&
|
||||
provider = provider.return;
|
||||
}
|
||||
}
|
||||
function dispatchReducerAction(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p0 &&
|
||||
function dispatchReducerAction(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber);
|
||||
action = {
|
||||
lane: JSCompiler_OptimizeArgumentsArray_p0,
|
||||
args = requestUpdateLane(fiber);
|
||||
var update = {
|
||||
lane: args,
|
||||
revertLane: 0,
|
||||
action: action,
|
||||
hasEagerState: !1,
|
||||
@@ -6463,46 +6459,22 @@ __DEV__ &&
|
||||
next: null
|
||||
};
|
||||
isRenderPhaseUpdate(fiber)
|
||||
? enqueueRenderPhaseUpdate(queue, action)
|
||||
: ((action = enqueueConcurrentHookUpdate(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)),
|
||||
null !== action &&
|
||||
(scheduleUpdateOnFiber(
|
||||
action,
|
||||
fiber,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
),
|
||||
entangleTransitionUpdate(
|
||||
action,
|
||||
queue,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)));
|
||||
enableSchedulingProfiler &&
|
||||
markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p0);
|
||||
? enqueueRenderPhaseUpdate(queue, update)
|
||||
: ((update = enqueueConcurrentHookUpdate(fiber, queue, update, args)),
|
||||
null !== update &&
|
||||
(scheduleUpdateOnFiber(update, fiber, args),
|
||||
entangleTransitionUpdate(update, queue, args)));
|
||||
enableSchedulingProfiler && markStateUpdateScheduled(fiber, args);
|
||||
}
|
||||
function dispatchSetState(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p1 &&
|
||||
function dispatchSetState(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p1 = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
);
|
||||
enableSchedulingProfiler &&
|
||||
markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p1);
|
||||
args = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(fiber, queue, action, args);
|
||||
enableSchedulingProfiler && markStateUpdateScheduled(fiber, args);
|
||||
}
|
||||
function dispatchSetStateInternal(fiber, queue, action, lane) {
|
||||
var update = {
|
||||
@@ -27152,11 +27124,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.1.0-www-modern-6a4b46cd-20241217" !== isomorphicReactPackageVersion)
|
||||
if ("19.1.0-www-modern-2bd1c756-20241218" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.1.0-www-modern-6a4b46cd-20241217\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.1.0-www-modern-2bd1c756-20241218\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27199,10 +27171,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-modern-6a4b46cd-20241217",
|
||||
version: "19.1.0-www-modern-2bd1c756-20241218",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-modern-2bd1c756-20241218"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27239,52 +27211,43 @@ __DEV__ &&
|
||||
);
|
||||
}
|
||||
ReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render =
|
||||
function (children, JSCompiler_OptimizeArgumentsArray_p2) {
|
||||
function (children) {
|
||||
var root = this._internalRoot;
|
||||
if (null === root) throw Error("Cannot update an unmounted root.");
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p2
|
||||
var args = arguments;
|
||||
"function" === typeof args[1]
|
||||
? error$jscomp$0(
|
||||
"does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."
|
||||
)
|
||||
: isValidContainer(JSCompiler_OptimizeArgumentsArray_p2)
|
||||
: isValidContainer(args[1])
|
||||
? error$jscomp$0(
|
||||
"You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."
|
||||
)
|
||||
: "undefined" !== typeof JSCompiler_OptimizeArgumentsArray_p2 &&
|
||||
: "undefined" !== typeof args[1] &&
|
||||
error$jscomp$0(
|
||||
"You passed a second argument to root.render(...) but it only accepts one argument."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p2 = root.current;
|
||||
var lane = requestUpdateLane(JSCompiler_OptimizeArgumentsArray_p2);
|
||||
updateContainerImpl(
|
||||
JSCompiler_OptimizeArgumentsArray_p2,
|
||||
lane,
|
||||
children,
|
||||
root,
|
||||
null,
|
||||
null
|
||||
);
|
||||
args = children;
|
||||
var current = root.current,
|
||||
lane = requestUpdateLane(current);
|
||||
updateContainerImpl(current, lane, args, root, null, null);
|
||||
};
|
||||
ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount =
|
||||
function (JSCompiler_OptimizeArgumentsArray_p3) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p3 &&
|
||||
function () {
|
||||
var args = arguments;
|
||||
"function" === typeof args[0] &&
|
||||
error$jscomp$0(
|
||||
"does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p3 = this._internalRoot;
|
||||
if (null !== JSCompiler_OptimizeArgumentsArray_p3) {
|
||||
args = this._internalRoot;
|
||||
if (null !== args) {
|
||||
this._internalRoot = null;
|
||||
var container = JSCompiler_OptimizeArgumentsArray_p3.containerInfo;
|
||||
var container = args.containerInfo;
|
||||
(executionContext & (RenderContext | CommitContext)) !== NoContext &&
|
||||
error$jscomp$0(
|
||||
"Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."
|
||||
);
|
||||
updateContainerSync(
|
||||
null,
|
||||
JSCompiler_OptimizeArgumentsArray_p3,
|
||||
null,
|
||||
null
|
||||
);
|
||||
updateContainerSync(null, args, null, null);
|
||||
flushSyncWork$1();
|
||||
container[internalContainerInstanceKey] = null;
|
||||
}
|
||||
@@ -27809,7 +27772,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-modern-2bd1c756-20241218";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -17221,14 +17221,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1767 = React.version;
|
||||
if (
|
||||
"19.1.0-www-classic-6a4b46cd-20241217" !==
|
||||
"19.1.0-www-classic-2bd1c756-20241218" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1767
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1767,
|
||||
"19.1.0-www-classic-6a4b46cd-20241217"
|
||||
"19.1.0-www-classic-2bd1c756-20241218"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17246,10 +17246,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2301 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-classic-6a4b46cd-20241217",
|
||||
version: "19.1.0-www-classic-2bd1c756-20241218",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-classic-2bd1c756-20241218"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2302 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17614,4 +17614,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-classic-2bd1c756-20241218";
|
||||
|
||||
@@ -16952,14 +16952,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1757 = React.version;
|
||||
if (
|
||||
"19.1.0-www-modern-6a4b46cd-20241217" !==
|
||||
"19.1.0-www-modern-2bd1c756-20241218" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1757
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1757,
|
||||
"19.1.0-www-modern-6a4b46cd-20241217"
|
||||
"19.1.0-www-modern-2bd1c756-20241218"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -16977,10 +16977,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2283 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-modern-6a4b46cd-20241217",
|
||||
version: "19.1.0-www-modern-2bd1c756-20241218",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-modern-2bd1c756-20241218"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2284 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17345,4 +17345,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-modern-2bd1c756-20241218";
|
||||
|
||||
@@ -17910,14 +17910,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1860 = React.version;
|
||||
if (
|
||||
"19.1.0-www-classic-6a4b46cd-20241217" !==
|
||||
"19.1.0-www-classic-2bd1c756-20241218" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1860
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1860,
|
||||
"19.1.0-www-classic-6a4b46cd-20241217"
|
||||
"19.1.0-www-classic-2bd1c756-20241218"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17935,10 +17935,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_1862 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-classic-6a4b46cd-20241217",
|
||||
version: "19.1.0-www-classic-2bd1c756-20241218",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-classic-2bd1c756-20241218"
|
||||
};
|
||||
enableSchedulingProfiler &&
|
||||
((internals$jscomp$inline_1862.getLaneLabelMap = getLaneLabelMap),
|
||||
@@ -18306,7 +18306,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-classic-2bd1c756-20241218";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -17640,14 +17640,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1850 = React.version;
|
||||
if (
|
||||
"19.1.0-www-modern-6a4b46cd-20241217" !==
|
||||
"19.1.0-www-modern-2bd1c756-20241218" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1850
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1850,
|
||||
"19.1.0-www-modern-6a4b46cd-20241217"
|
||||
"19.1.0-www-modern-2bd1c756-20241218"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17665,10 +17665,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_1852 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-modern-6a4b46cd-20241217",
|
||||
version: "19.1.0-www-modern-2bd1c756-20241218",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-modern-2bd1c756-20241218"
|
||||
};
|
||||
enableSchedulingProfiler &&
|
||||
((internals$jscomp$inline_1852.getLaneLabelMap = getLaneLabelMap),
|
||||
@@ -18036,7 +18036,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-modern-2bd1c756-20241218";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -9150,5 +9150,5 @@ __DEV__ &&
|
||||
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-classic-2bd1c756-20241218";
|
||||
})();
|
||||
|
||||
@@ -8976,5 +8976,5 @@ __DEV__ &&
|
||||
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-modern-2bd1c756-20241218";
|
||||
})();
|
||||
|
||||
@@ -5898,4 +5898,4 @@ exports.renderToString = function (children, options) {
|
||||
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-classic-2bd1c756-20241218";
|
||||
|
||||
@@ -5810,4 +5810,4 @@ exports.renderToString = function (children, options) {
|
||||
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-modern-2bd1c756-20241218";
|
||||
|
||||
@@ -6597,19 +6597,15 @@ __DEV__ &&
|
||||
provider = provider.return;
|
||||
}
|
||||
}
|
||||
function dispatchReducerAction(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p0 &&
|
||||
function dispatchReducerAction(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber);
|
||||
action = {
|
||||
lane: JSCompiler_OptimizeArgumentsArray_p0,
|
||||
args = requestUpdateLane(fiber);
|
||||
var update = {
|
||||
lane: args,
|
||||
revertLane: 0,
|
||||
action: action,
|
||||
hasEagerState: !1,
|
||||
@@ -6617,46 +6613,22 @@ __DEV__ &&
|
||||
next: null
|
||||
};
|
||||
isRenderPhaseUpdate(fiber)
|
||||
? enqueueRenderPhaseUpdate(queue, action)
|
||||
: ((action = enqueueConcurrentHookUpdate(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)),
|
||||
null !== action &&
|
||||
(scheduleUpdateOnFiber(
|
||||
action,
|
||||
fiber,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
),
|
||||
entangleTransitionUpdate(
|
||||
action,
|
||||
queue,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)));
|
||||
enableSchedulingProfiler &&
|
||||
markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p0);
|
||||
? enqueueRenderPhaseUpdate(queue, update)
|
||||
: ((update = enqueueConcurrentHookUpdate(fiber, queue, update, args)),
|
||||
null !== update &&
|
||||
(scheduleUpdateOnFiber(update, fiber, args),
|
||||
entangleTransitionUpdate(update, queue, args)));
|
||||
enableSchedulingProfiler && markStateUpdateScheduled(fiber, args);
|
||||
}
|
||||
function dispatchSetState(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p1 &&
|
||||
function dispatchSetState(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p1 = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
);
|
||||
enableSchedulingProfiler &&
|
||||
markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p1);
|
||||
args = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(fiber, queue, action, args);
|
||||
enableSchedulingProfiler && markStateUpdateScheduled(fiber, args);
|
||||
}
|
||||
function dispatchSetStateInternal(fiber, queue, action, lane) {
|
||||
var update = {
|
||||
@@ -27707,11 +27679,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.1.0-www-classic-6a4b46cd-20241217" !== isomorphicReactPackageVersion)
|
||||
if ("19.1.0-www-classic-2bd1c756-20241218" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.1.0-www-classic-6a4b46cd-20241217\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.1.0-www-classic-2bd1c756-20241218\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27754,10 +27726,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-classic-6a4b46cd-20241217",
|
||||
version: "19.1.0-www-classic-2bd1c756-20241218",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-classic-2bd1c756-20241218"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27794,52 +27766,43 @@ __DEV__ &&
|
||||
);
|
||||
}
|
||||
ReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render =
|
||||
function (children, JSCompiler_OptimizeArgumentsArray_p2) {
|
||||
function (children) {
|
||||
var root = this._internalRoot;
|
||||
if (null === root) throw Error("Cannot update an unmounted root.");
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p2
|
||||
var args = arguments;
|
||||
"function" === typeof args[1]
|
||||
? error$jscomp$0(
|
||||
"does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."
|
||||
)
|
||||
: isValidContainer(JSCompiler_OptimizeArgumentsArray_p2)
|
||||
: isValidContainer(args[1])
|
||||
? error$jscomp$0(
|
||||
"You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."
|
||||
)
|
||||
: "undefined" !== typeof JSCompiler_OptimizeArgumentsArray_p2 &&
|
||||
: "undefined" !== typeof args[1] &&
|
||||
error$jscomp$0(
|
||||
"You passed a second argument to root.render(...) but it only accepts one argument."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p2 = root.current;
|
||||
var lane = requestUpdateLane(JSCompiler_OptimizeArgumentsArray_p2);
|
||||
updateContainerImpl(
|
||||
JSCompiler_OptimizeArgumentsArray_p2,
|
||||
lane,
|
||||
children,
|
||||
root,
|
||||
null,
|
||||
null
|
||||
);
|
||||
args = children;
|
||||
var current = root.current,
|
||||
lane = requestUpdateLane(current);
|
||||
updateContainerImpl(current, lane, args, root, null, null);
|
||||
};
|
||||
ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount =
|
||||
function (JSCompiler_OptimizeArgumentsArray_p3) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p3 &&
|
||||
function () {
|
||||
var args = arguments;
|
||||
"function" === typeof args[0] &&
|
||||
error$jscomp$0(
|
||||
"does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p3 = this._internalRoot;
|
||||
if (null !== JSCompiler_OptimizeArgumentsArray_p3) {
|
||||
args = this._internalRoot;
|
||||
if (null !== args) {
|
||||
this._internalRoot = null;
|
||||
var container = JSCompiler_OptimizeArgumentsArray_p3.containerInfo;
|
||||
var container = args.containerInfo;
|
||||
(executionContext & (RenderContext | CommitContext)) !== NoContext &&
|
||||
error$jscomp$0(
|
||||
"Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."
|
||||
);
|
||||
updateContainerSync(
|
||||
null,
|
||||
JSCompiler_OptimizeArgumentsArray_p3,
|
||||
null,
|
||||
null
|
||||
);
|
||||
updateContainerSync(null, args, null, null);
|
||||
flushSyncWork$1();
|
||||
container[internalContainerInstanceKey] = null;
|
||||
}
|
||||
@@ -28530,5 +28493,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-classic-2bd1c756-20241218";
|
||||
})();
|
||||
|
||||
@@ -6484,19 +6484,15 @@ __DEV__ &&
|
||||
provider = provider.return;
|
||||
}
|
||||
}
|
||||
function dispatchReducerAction(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p0 &&
|
||||
function dispatchReducerAction(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber);
|
||||
action = {
|
||||
lane: JSCompiler_OptimizeArgumentsArray_p0,
|
||||
args = requestUpdateLane(fiber);
|
||||
var update = {
|
||||
lane: args,
|
||||
revertLane: 0,
|
||||
action: action,
|
||||
hasEagerState: !1,
|
||||
@@ -6504,46 +6500,22 @@ __DEV__ &&
|
||||
next: null
|
||||
};
|
||||
isRenderPhaseUpdate(fiber)
|
||||
? enqueueRenderPhaseUpdate(queue, action)
|
||||
: ((action = enqueueConcurrentHookUpdate(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)),
|
||||
null !== action &&
|
||||
(scheduleUpdateOnFiber(
|
||||
action,
|
||||
fiber,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
),
|
||||
entangleTransitionUpdate(
|
||||
action,
|
||||
queue,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)));
|
||||
enableSchedulingProfiler &&
|
||||
markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p0);
|
||||
? enqueueRenderPhaseUpdate(queue, update)
|
||||
: ((update = enqueueConcurrentHookUpdate(fiber, queue, update, args)),
|
||||
null !== update &&
|
||||
(scheduleUpdateOnFiber(update, fiber, args),
|
||||
entangleTransitionUpdate(update, queue, args)));
|
||||
enableSchedulingProfiler && markStateUpdateScheduled(fiber, args);
|
||||
}
|
||||
function dispatchSetState(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p1 &&
|
||||
function dispatchSetState(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p1 = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
);
|
||||
enableSchedulingProfiler &&
|
||||
markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p1);
|
||||
args = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(fiber, queue, action, args);
|
||||
enableSchedulingProfiler && markStateUpdateScheduled(fiber, args);
|
||||
}
|
||||
function dispatchSetStateInternal(fiber, queue, action, lane) {
|
||||
var update = {
|
||||
@@ -27486,11 +27458,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.1.0-www-modern-6a4b46cd-20241217" !== isomorphicReactPackageVersion)
|
||||
if ("19.1.0-www-modern-2bd1c756-20241218" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.1.0-www-modern-6a4b46cd-20241217\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.1.0-www-modern-2bd1c756-20241218\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27533,10 +27505,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-modern-6a4b46cd-20241217",
|
||||
version: "19.1.0-www-modern-2bd1c756-20241218",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-modern-2bd1c756-20241218"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27573,52 +27545,43 @@ __DEV__ &&
|
||||
);
|
||||
}
|
||||
ReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render =
|
||||
function (children, JSCompiler_OptimizeArgumentsArray_p2) {
|
||||
function (children) {
|
||||
var root = this._internalRoot;
|
||||
if (null === root) throw Error("Cannot update an unmounted root.");
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p2
|
||||
var args = arguments;
|
||||
"function" === typeof args[1]
|
||||
? error$jscomp$0(
|
||||
"does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."
|
||||
)
|
||||
: isValidContainer(JSCompiler_OptimizeArgumentsArray_p2)
|
||||
: isValidContainer(args[1])
|
||||
? error$jscomp$0(
|
||||
"You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."
|
||||
)
|
||||
: "undefined" !== typeof JSCompiler_OptimizeArgumentsArray_p2 &&
|
||||
: "undefined" !== typeof args[1] &&
|
||||
error$jscomp$0(
|
||||
"You passed a second argument to root.render(...) but it only accepts one argument."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p2 = root.current;
|
||||
var lane = requestUpdateLane(JSCompiler_OptimizeArgumentsArray_p2);
|
||||
updateContainerImpl(
|
||||
JSCompiler_OptimizeArgumentsArray_p2,
|
||||
lane,
|
||||
children,
|
||||
root,
|
||||
null,
|
||||
null
|
||||
);
|
||||
args = children;
|
||||
var current = root.current,
|
||||
lane = requestUpdateLane(current);
|
||||
updateContainerImpl(current, lane, args, root, null, null);
|
||||
};
|
||||
ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount =
|
||||
function (JSCompiler_OptimizeArgumentsArray_p3) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p3 &&
|
||||
function () {
|
||||
var args = arguments;
|
||||
"function" === typeof args[0] &&
|
||||
error$jscomp$0(
|
||||
"does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p3 = this._internalRoot;
|
||||
if (null !== JSCompiler_OptimizeArgumentsArray_p3) {
|
||||
args = this._internalRoot;
|
||||
if (null !== args) {
|
||||
this._internalRoot = null;
|
||||
var container = JSCompiler_OptimizeArgumentsArray_p3.containerInfo;
|
||||
var container = args.containerInfo;
|
||||
(executionContext & (RenderContext | CommitContext)) !== NoContext &&
|
||||
error$jscomp$0(
|
||||
"Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."
|
||||
);
|
||||
updateContainerSync(
|
||||
null,
|
||||
JSCompiler_OptimizeArgumentsArray_p3,
|
||||
null,
|
||||
null
|
||||
);
|
||||
updateContainerSync(null, args, null, null);
|
||||
flushSyncWork$1();
|
||||
container[internalContainerInstanceKey] = null;
|
||||
}
|
||||
@@ -28309,5 +28272,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-modern-2bd1c756-20241218";
|
||||
})();
|
||||
|
||||
@@ -17550,14 +17550,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1796 = React.version;
|
||||
if (
|
||||
"19.1.0-www-classic-6a4b46cd-20241217" !==
|
||||
"19.1.0-www-classic-2bd1c756-20241218" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1796
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1796,
|
||||
"19.1.0-www-classic-6a4b46cd-20241217"
|
||||
"19.1.0-www-classic-2bd1c756-20241218"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17575,10 +17575,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2335 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-classic-6a4b46cd-20241217",
|
||||
version: "19.1.0-www-classic-2bd1c756-20241218",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-classic-2bd1c756-20241218"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2336 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -18094,4 +18094,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-classic-2bd1c756-20241218";
|
||||
|
||||
@@ -17281,14 +17281,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1786 = React.version;
|
||||
if (
|
||||
"19.1.0-www-modern-6a4b46cd-20241217" !==
|
||||
"19.1.0-www-modern-2bd1c756-20241218" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1786
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1786,
|
||||
"19.1.0-www-modern-6a4b46cd-20241217"
|
||||
"19.1.0-www-modern-2bd1c756-20241218"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17306,10 +17306,10 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2317 = {
|
||||
bundleType: 0,
|
||||
version: "19.1.0-www-modern-6a4b46cd-20241217",
|
||||
version: "19.1.0-www-modern-2bd1c756-20241218",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-modern-2bd1c756-20241218"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2318 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17825,4 +17825,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-modern-2bd1c756-20241218";
|
||||
|
||||
@@ -4896,19 +4896,15 @@ __DEV__ &&
|
||||
provider = provider.return;
|
||||
}
|
||||
}
|
||||
function dispatchReducerAction(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p0 &&
|
||||
function dispatchReducerAction(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber);
|
||||
action = {
|
||||
lane: JSCompiler_OptimizeArgumentsArray_p0,
|
||||
args = requestUpdateLane(fiber);
|
||||
var update = {
|
||||
lane: args,
|
||||
revertLane: 0,
|
||||
action: action,
|
||||
hasEagerState: !1,
|
||||
@@ -4916,46 +4912,22 @@ __DEV__ &&
|
||||
next: null
|
||||
};
|
||||
isRenderPhaseUpdate(fiber)
|
||||
? enqueueRenderPhaseUpdate(queue, action)
|
||||
: ((action = enqueueConcurrentHookUpdate(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)),
|
||||
null !== action &&
|
||||
(scheduleUpdateOnFiber(
|
||||
action,
|
||||
fiber,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
),
|
||||
entangleTransitionUpdate(
|
||||
action,
|
||||
queue,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)));
|
||||
enableSchedulingProfiler &&
|
||||
markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p0);
|
||||
? enqueueRenderPhaseUpdate(queue, update)
|
||||
: ((update = enqueueConcurrentHookUpdate(fiber, queue, update, args)),
|
||||
null !== update &&
|
||||
(scheduleUpdateOnFiber(update, fiber, args),
|
||||
entangleTransitionUpdate(update, queue, args)));
|
||||
enableSchedulingProfiler && markStateUpdateScheduled(fiber, args);
|
||||
}
|
||||
function dispatchSetState(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p1 &&
|
||||
function dispatchSetState(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p1 = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
);
|
||||
enableSchedulingProfiler &&
|
||||
markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p1);
|
||||
args = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(fiber, queue, action, args);
|
||||
enableSchedulingProfiler && markStateUpdateScheduled(fiber, args);
|
||||
}
|
||||
function dispatchSetStateInternal(fiber, queue, action, lane) {
|
||||
var update = {
|
||||
@@ -19054,7 +19026,7 @@ __DEV__ &&
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-classic-2bd1c756-20241218"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -4802,19 +4802,15 @@ __DEV__ &&
|
||||
provider = provider.return;
|
||||
}
|
||||
}
|
||||
function dispatchReducerAction(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p0 &&
|
||||
function dispatchReducerAction(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber);
|
||||
action = {
|
||||
lane: JSCompiler_OptimizeArgumentsArray_p0,
|
||||
args = requestUpdateLane(fiber);
|
||||
var update = {
|
||||
lane: args,
|
||||
revertLane: 0,
|
||||
action: action,
|
||||
hasEagerState: !1,
|
||||
@@ -4822,46 +4818,22 @@ __DEV__ &&
|
||||
next: null
|
||||
};
|
||||
isRenderPhaseUpdate(fiber)
|
||||
? enqueueRenderPhaseUpdate(queue, action)
|
||||
: ((action = enqueueConcurrentHookUpdate(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)),
|
||||
null !== action &&
|
||||
(scheduleUpdateOnFiber(
|
||||
action,
|
||||
fiber,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
),
|
||||
entangleTransitionUpdate(
|
||||
action,
|
||||
queue,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)));
|
||||
enableSchedulingProfiler &&
|
||||
markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p0);
|
||||
? enqueueRenderPhaseUpdate(queue, update)
|
||||
: ((update = enqueueConcurrentHookUpdate(fiber, queue, update, args)),
|
||||
null !== update &&
|
||||
(scheduleUpdateOnFiber(update, fiber, args),
|
||||
entangleTransitionUpdate(update, queue, args)));
|
||||
enableSchedulingProfiler && markStateUpdateScheduled(fiber, args);
|
||||
}
|
||||
function dispatchSetState(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p1 &&
|
||||
function dispatchSetState(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p1 = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
);
|
||||
enableSchedulingProfiler &&
|
||||
markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p1);
|
||||
args = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(fiber, queue, action, args);
|
||||
enableSchedulingProfiler && markStateUpdateScheduled(fiber, args);
|
||||
}
|
||||
function dispatchSetStateInternal(fiber, queue, action, lane) {
|
||||
var update = {
|
||||
@@ -18828,7 +18800,7 @@ __DEV__ &&
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-modern-2bd1c756-20241218"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -12782,7 +12782,7 @@ module.exports = function ($$$config) {
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-classic-2bd1c756-20241218"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -12501,7 +12501,7 @@ module.exports = function ($$$config) {
|
||||
version: rendererVersion,
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-modern-2bd1c756-20241218"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -4049,19 +4049,15 @@ __DEV__ &&
|
||||
provider = provider.return;
|
||||
}
|
||||
}
|
||||
function dispatchReducerAction(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p0 &&
|
||||
function dispatchReducerAction(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber);
|
||||
action = {
|
||||
lane: JSCompiler_OptimizeArgumentsArray_p0,
|
||||
args = requestUpdateLane(fiber);
|
||||
var update = {
|
||||
lane: args,
|
||||
revertLane: 0,
|
||||
action: action,
|
||||
hasEagerState: !1,
|
||||
@@ -4069,42 +4065,20 @@ __DEV__ &&
|
||||
next: null
|
||||
};
|
||||
isRenderPhaseUpdate(fiber)
|
||||
? enqueueRenderPhaseUpdate(queue, action)
|
||||
: ((action = enqueueConcurrentHookUpdate(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)),
|
||||
null !== action &&
|
||||
(scheduleUpdateOnFiber(
|
||||
action,
|
||||
fiber,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
),
|
||||
entangleTransitionUpdate(
|
||||
action,
|
||||
queue,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)));
|
||||
? enqueueRenderPhaseUpdate(queue, update)
|
||||
: ((update = enqueueConcurrentHookUpdate(fiber, queue, update, args)),
|
||||
null !== update &&
|
||||
(scheduleUpdateOnFiber(update, fiber, args),
|
||||
entangleTransitionUpdate(update, queue, args)));
|
||||
}
|
||||
function dispatchSetState(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p1 &&
|
||||
function dispatchSetState(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p1 = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
);
|
||||
args = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(fiber, queue, action, args);
|
||||
}
|
||||
function dispatchSetStateInternal(fiber, queue, action, lane) {
|
||||
var update = {
|
||||
@@ -14917,10 +14891,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-classic-6a4b46cd-20241217",
|
||||
version: "19.1.0-www-classic-2bd1c756-20241218",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-classic-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-classic-2bd1c756-20241218"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15055,5 +15029,5 @@ __DEV__ &&
|
||||
exports.unstable_batchedUpdates = function (fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.version = "19.1.0-www-classic-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-classic-2bd1c756-20241218";
|
||||
})();
|
||||
|
||||
@@ -4049,19 +4049,15 @@ __DEV__ &&
|
||||
provider = provider.return;
|
||||
}
|
||||
}
|
||||
function dispatchReducerAction(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p0 &&
|
||||
function dispatchReducerAction(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber);
|
||||
action = {
|
||||
lane: JSCompiler_OptimizeArgumentsArray_p0,
|
||||
args = requestUpdateLane(fiber);
|
||||
var update = {
|
||||
lane: args,
|
||||
revertLane: 0,
|
||||
action: action,
|
||||
hasEagerState: !1,
|
||||
@@ -4069,42 +4065,20 @@ __DEV__ &&
|
||||
next: null
|
||||
};
|
||||
isRenderPhaseUpdate(fiber)
|
||||
? enqueueRenderPhaseUpdate(queue, action)
|
||||
: ((action = enqueueConcurrentHookUpdate(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)),
|
||||
null !== action &&
|
||||
(scheduleUpdateOnFiber(
|
||||
action,
|
||||
fiber,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
),
|
||||
entangleTransitionUpdate(
|
||||
action,
|
||||
queue,
|
||||
JSCompiler_OptimizeArgumentsArray_p0
|
||||
)));
|
||||
? enqueueRenderPhaseUpdate(queue, update)
|
||||
: ((update = enqueueConcurrentHookUpdate(fiber, queue, update, args)),
|
||||
null !== update &&
|
||||
(scheduleUpdateOnFiber(update, fiber, args),
|
||||
entangleTransitionUpdate(update, queue, args)));
|
||||
}
|
||||
function dispatchSetState(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
) {
|
||||
"function" === typeof JSCompiler_OptimizeArgumentsArray_p1 &&
|
||||
function dispatchSetState(fiber, queue, action) {
|
||||
var args = arguments;
|
||||
"function" === typeof args[3] &&
|
||||
error$jscomp$0(
|
||||
"State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
|
||||
);
|
||||
JSCompiler_OptimizeArgumentsArray_p1 = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(
|
||||
fiber,
|
||||
queue,
|
||||
action,
|
||||
JSCompiler_OptimizeArgumentsArray_p1
|
||||
);
|
||||
args = requestUpdateLane(fiber);
|
||||
dispatchSetStateInternal(fiber, queue, action, args);
|
||||
}
|
||||
function dispatchSetStateInternal(fiber, queue, action, lane) {
|
||||
var update = {
|
||||
@@ -14917,10 +14891,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.1.0-www-modern-6a4b46cd-20241217",
|
||||
version: "19.1.0-www-modern-2bd1c756-20241218",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.1.0-www-modern-6a4b46cd-20241217"
|
||||
reconcilerVersion: "19.1.0-www-modern-2bd1c756-20241218"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15055,5 +15029,5 @@ __DEV__ &&
|
||||
exports.unstable_batchedUpdates = function (fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.version = "19.1.0-www-modern-6a4b46cd-20241217";
|
||||
exports.version = "19.1.0-www-modern-2bd1c756-20241218";
|
||||
})();
|
||||
|
||||
@@ -1 +1 @@
|
||||
19.1.0-www-classic-6a4b46cd-20241217
|
||||
19.1.0-www-classic-2bd1c756-20241218
|
||||
@@ -1 +1 @@
|
||||
19.1.0-www-modern-6a4b46cd-20241217
|
||||
19.1.0-www-modern-2bd1c756-20241218
|
||||
Reference in New Issue
Block a user