mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[compiler] Allow all hooks to take callbacks which access refs, but ban hooks from taking direct ref value arguments
Summary: This brings the behavior of ref mutation within hook callbacks into alignment with the behavior of global mutations--that is, we allow all hooks to take callbacks that may mutate a ref. This is potentially unsafe if the hook eagerly calls its callback, but the alternative is excessively limiting (and inconsistent with other enforcement). This also bans *directly* passing a ref.current value to a hook, which was previously allowed. ghstack-source-id:e66ce7123ePull Request resolved: https://github.com/facebook/react/pull/30917 DiffTrain build for [e78c9362c0](https://github.com/facebook/react/commit/e78c9362c014dccaed5ff193106e44d7d072dc32)
This commit is contained in:
@@ -1 +1 @@
|
||||
26855e4680dedb21f2c73a069ed691822a242db1
|
||||
e78c9362c014dccaed5ff193106e44d7d072dc32
|
||||
|
||||
@@ -1 +1 @@
|
||||
26855e4680dedb21f2c73a069ed691822a242db1
|
||||
e78c9362c014dccaed5ff193106e44d7d072dc32
|
||||
|
||||
@@ -2001,7 +2001,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-classic-e78c9362-20240916";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -1981,7 +1981,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-modern-e78c9362-20240916";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -665,4 +665,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-classic-e78c9362-20240916";
|
||||
|
||||
@@ -665,4 +665,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-modern-e78c9362-20240916";
|
||||
|
||||
@@ -669,7 +669,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-classic-e78c9362-20240916";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -669,7 +669,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-modern-e78c9362-20240916";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -17136,11 +17136,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-26855e46-20240916",
|
||||
version: "19.0.0-www-classic-e78c9362-20240916",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-classic-e78c9362-20240916"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -17174,7 +17174,7 @@ __DEV__ &&
|
||||
exports.Shape = Shape;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.0.0-www-classic-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-classic-e78c9362-20240916";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -16582,11 +16582,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-26855e46-20240916",
|
||||
version: "19.0.0-www-modern-e78c9362-20240916",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-modern-e78c9362-20240916"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -16620,7 +16620,7 @@ __DEV__ &&
|
||||
exports.Shape = Shape;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.0.0-www-modern-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-modern-e78c9362-20240916";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -10891,13 +10891,13 @@ var slice = Array.prototype.slice,
|
||||
})(React.Component);
|
||||
var internals$jscomp$inline_1424 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-classic-26855e46-20240916",
|
||||
version: "19.0.0-www-classic-e78c9362-20240916",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: function () {
|
||||
return null;
|
||||
},
|
||||
reconcilerVersion: "19.0.0-www-classic-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-classic-e78c9362-20240916"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1425 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -10923,4 +10923,4 @@ exports.RadialGradient = RadialGradient;
|
||||
exports.Shape = TYPES.SHAPE;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.0.0-www-classic-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-classic-e78c9362-20240916";
|
||||
|
||||
@@ -10405,13 +10405,13 @@ var slice = Array.prototype.slice,
|
||||
})(React.Component);
|
||||
var internals$jscomp$inline_1416 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-modern-26855e46-20240916",
|
||||
version: "19.0.0-www-modern-e78c9362-20240916",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: function () {
|
||||
return null;
|
||||
},
|
||||
reconcilerVersion: "19.0.0-www-modern-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-modern-e78c9362-20240916"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1417 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -10437,4 +10437,4 @@ exports.RadialGradient = RadialGradient;
|
||||
exports.Shape = TYPES.SHAPE;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.0.0-www-modern-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-modern-e78c9362-20240916";
|
||||
|
||||
@@ -18691,43 +18691,41 @@ __DEV__ &&
|
||||
: !1;
|
||||
}
|
||||
function getActiveElementDeep(containerInfo) {
|
||||
var $jscomp$optchain$tmpm1592247572$1, $jscomp$nullish$tmp0;
|
||||
var $jscomp$optchain$tmpm882611804$1, $jscomp$nullish$tmp0;
|
||||
containerInfo =
|
||||
null !=
|
||||
($jscomp$nullish$tmp0 =
|
||||
null == containerInfo
|
||||
? void 0
|
||||
: null ==
|
||||
($jscomp$optchain$tmpm1592247572$1 =
|
||||
containerInfo.ownerDocument)
|
||||
($jscomp$optchain$tmpm882611804$1 = containerInfo.ownerDocument)
|
||||
? void 0
|
||||
: $jscomp$optchain$tmpm1592247572$1.defaultView)
|
||||
: $jscomp$optchain$tmpm882611804$1.defaultView)
|
||||
? $jscomp$nullish$tmp0
|
||||
: window;
|
||||
for (
|
||||
$jscomp$optchain$tmpm1592247572$1 = getActiveElement(
|
||||
$jscomp$optchain$tmpm882611804$1 = getActiveElement(
|
||||
containerInfo.document
|
||||
);
|
||||
$jscomp$optchain$tmpm1592247572$1 instanceof
|
||||
$jscomp$optchain$tmpm882611804$1 instanceof
|
||||
containerInfo.HTMLIFrameElement;
|
||||
|
||||
) {
|
||||
try {
|
||||
var JSCompiler_inline_result =
|
||||
"string" ===
|
||||
typeof $jscomp$optchain$tmpm1592247572$1.contentWindow.location
|
||||
.href;
|
||||
typeof $jscomp$optchain$tmpm882611804$1.contentWindow.location.href;
|
||||
} catch (err) {
|
||||
JSCompiler_inline_result = !1;
|
||||
}
|
||||
if (JSCompiler_inline_result)
|
||||
containerInfo = $jscomp$optchain$tmpm1592247572$1.contentWindow;
|
||||
containerInfo = $jscomp$optchain$tmpm882611804$1.contentWindow;
|
||||
else break;
|
||||
$jscomp$optchain$tmpm1592247572$1 = getActiveElement(
|
||||
$jscomp$optchain$tmpm882611804$1 = getActiveElement(
|
||||
containerInfo.document
|
||||
);
|
||||
}
|
||||
return $jscomp$optchain$tmpm1592247572$1;
|
||||
return $jscomp$optchain$tmpm882611804$1;
|
||||
}
|
||||
function hasSelectionCapabilities(elem) {
|
||||
var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
|
||||
@@ -27892,11 +27890,11 @@ __DEV__ &&
|
||||
: flushSyncErrorInBuildsThatSupportLegacyMode;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-classic-26855e46-20240916" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-classic-e78c9362-20240916" !== 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.0.0-www-classic-26855e46-20240916\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-classic-e78c9362-20240916\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27940,11 +27938,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-26855e46-20240916",
|
||||
version: "19.0.0-www-classic-e78c9362-20240916",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-classic-e78c9362-20240916"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -28597,7 +28595,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-classic-e78c9362-20240916";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -18025,41 +18025,41 @@ __DEV__ &&
|
||||
: !1;
|
||||
}
|
||||
function getActiveElementDeep(containerInfo) {
|
||||
var $jscomp$optchain$tmp855222481$1, $jscomp$nullish$tmp0;
|
||||
var $jscomp$optchain$tmp2107687197$1, $jscomp$nullish$tmp0;
|
||||
containerInfo =
|
||||
null !=
|
||||
($jscomp$nullish$tmp0 =
|
||||
null == containerInfo
|
||||
? void 0
|
||||
: null ==
|
||||
($jscomp$optchain$tmp855222481$1 = containerInfo.ownerDocument)
|
||||
($jscomp$optchain$tmp2107687197$1 = containerInfo.ownerDocument)
|
||||
? void 0
|
||||
: $jscomp$optchain$tmp855222481$1.defaultView)
|
||||
: $jscomp$optchain$tmp2107687197$1.defaultView)
|
||||
? $jscomp$nullish$tmp0
|
||||
: window;
|
||||
for (
|
||||
$jscomp$optchain$tmp855222481$1 = getActiveElement(
|
||||
$jscomp$optchain$tmp2107687197$1 = getActiveElement(
|
||||
containerInfo.document
|
||||
);
|
||||
$jscomp$optchain$tmp855222481$1 instanceof
|
||||
$jscomp$optchain$tmp2107687197$1 instanceof
|
||||
containerInfo.HTMLIFrameElement;
|
||||
|
||||
) {
|
||||
try {
|
||||
var JSCompiler_inline_result =
|
||||
"string" ===
|
||||
typeof $jscomp$optchain$tmp855222481$1.contentWindow.location.href;
|
||||
typeof $jscomp$optchain$tmp2107687197$1.contentWindow.location.href;
|
||||
} catch (err) {
|
||||
JSCompiler_inline_result = !1;
|
||||
}
|
||||
if (JSCompiler_inline_result)
|
||||
containerInfo = $jscomp$optchain$tmp855222481$1.contentWindow;
|
||||
containerInfo = $jscomp$optchain$tmp2107687197$1.contentWindow;
|
||||
else break;
|
||||
$jscomp$optchain$tmp855222481$1 = getActiveElement(
|
||||
$jscomp$optchain$tmp2107687197$1 = getActiveElement(
|
||||
containerInfo.document
|
||||
);
|
||||
}
|
||||
return $jscomp$optchain$tmp855222481$1;
|
||||
return $jscomp$optchain$tmp2107687197$1;
|
||||
}
|
||||
function hasSelectionCapabilities(elem) {
|
||||
var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
|
||||
@@ -27007,11 +27007,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-modern-26855e46-20240916" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-modern-e78c9362-20240916" !== 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.0.0-www-modern-26855e46-20240916\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-modern-e78c9362-20240916\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27054,11 +27054,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-26855e46-20240916",
|
||||
version: "19.0.0-www-modern-e78c9362-20240916",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-modern-e78c9362-20240916"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27663,7 +27663,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-modern-e78c9362-20240916";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -13498,36 +13498,41 @@ function containsNode(outerNode, innerNode) {
|
||||
: !1;
|
||||
}
|
||||
function getActiveElementDeep(containerInfo) {
|
||||
var $jscomp$optchain$tmp2060349621$1, $jscomp$nullish$tmp0;
|
||||
var $jscomp$optchain$tmpm1466206823$1, $jscomp$nullish$tmp0;
|
||||
containerInfo =
|
||||
null !=
|
||||
($jscomp$nullish$tmp0 =
|
||||
null == containerInfo
|
||||
? void 0
|
||||
: null ==
|
||||
($jscomp$optchain$tmp2060349621$1 = containerInfo.ownerDocument)
|
||||
($jscomp$optchain$tmpm1466206823$1 = containerInfo.ownerDocument)
|
||||
? void 0
|
||||
: $jscomp$optchain$tmp2060349621$1.defaultView)
|
||||
: $jscomp$optchain$tmpm1466206823$1.defaultView)
|
||||
? $jscomp$nullish$tmp0
|
||||
: window;
|
||||
for (
|
||||
$jscomp$optchain$tmp2060349621$1 = getActiveElement(containerInfo.document);
|
||||
$jscomp$optchain$tmp2060349621$1 instanceof containerInfo.HTMLIFrameElement;
|
||||
$jscomp$optchain$tmpm1466206823$1 = getActiveElement(
|
||||
containerInfo.document
|
||||
);
|
||||
$jscomp$optchain$tmpm1466206823$1 instanceof
|
||||
containerInfo.HTMLIFrameElement;
|
||||
|
||||
) {
|
||||
try {
|
||||
var JSCompiler_inline_result =
|
||||
"string" ===
|
||||
typeof $jscomp$optchain$tmp2060349621$1.contentWindow.location.href;
|
||||
typeof $jscomp$optchain$tmpm1466206823$1.contentWindow.location.href;
|
||||
} catch (err) {
|
||||
JSCompiler_inline_result = !1;
|
||||
}
|
||||
if (JSCompiler_inline_result)
|
||||
containerInfo = $jscomp$optchain$tmp2060349621$1.contentWindow;
|
||||
containerInfo = $jscomp$optchain$tmpm1466206823$1.contentWindow;
|
||||
else break;
|
||||
$jscomp$optchain$tmp2060349621$1 = getActiveElement(containerInfo.document);
|
||||
$jscomp$optchain$tmpm1466206823$1 = getActiveElement(
|
||||
containerInfo.document
|
||||
);
|
||||
}
|
||||
return $jscomp$optchain$tmp2060349621$1;
|
||||
return $jscomp$optchain$tmpm1466206823$1;
|
||||
}
|
||||
function hasSelectionCapabilities(elem) {
|
||||
var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
|
||||
@@ -17452,14 +17457,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1768 = React.version;
|
||||
if (
|
||||
"19.0.0-www-classic-26855e46-20240916" !==
|
||||
"19.0.0-www-classic-e78c9362-20240916" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1768
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1768,
|
||||
"19.0.0-www-classic-26855e46-20240916"
|
||||
"19.0.0-www-classic-e78c9362-20240916"
|
||||
)
|
||||
);
|
||||
function flushSyncFromReconciler(fn) {
|
||||
@@ -17504,11 +17509,11 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2263 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-classic-26855e46-20240916",
|
||||
version: "19.0.0-www-classic-e78c9362-20240916",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-classic-e78c9362-20240916"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2264 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17964,4 +17969,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-classic-e78c9362-20240916";
|
||||
|
||||
@@ -12925,36 +12925,41 @@ function containsNode(outerNode, innerNode) {
|
||||
: !1;
|
||||
}
|
||||
function getActiveElementDeep(containerInfo) {
|
||||
var $jscomp$optchain$tmp950970106$1, $jscomp$nullish$tmp0;
|
||||
var $jscomp$optchain$tmpm2131375050$1, $jscomp$nullish$tmp0;
|
||||
containerInfo =
|
||||
null !=
|
||||
($jscomp$nullish$tmp0 =
|
||||
null == containerInfo
|
||||
? void 0
|
||||
: null ==
|
||||
($jscomp$optchain$tmp950970106$1 = containerInfo.ownerDocument)
|
||||
($jscomp$optchain$tmpm2131375050$1 = containerInfo.ownerDocument)
|
||||
? void 0
|
||||
: $jscomp$optchain$tmp950970106$1.defaultView)
|
||||
: $jscomp$optchain$tmpm2131375050$1.defaultView)
|
||||
? $jscomp$nullish$tmp0
|
||||
: window;
|
||||
for (
|
||||
$jscomp$optchain$tmp950970106$1 = getActiveElement(containerInfo.document);
|
||||
$jscomp$optchain$tmp950970106$1 instanceof containerInfo.HTMLIFrameElement;
|
||||
$jscomp$optchain$tmpm2131375050$1 = getActiveElement(
|
||||
containerInfo.document
|
||||
);
|
||||
$jscomp$optchain$tmpm2131375050$1 instanceof
|
||||
containerInfo.HTMLIFrameElement;
|
||||
|
||||
) {
|
||||
try {
|
||||
var JSCompiler_inline_result =
|
||||
"string" ===
|
||||
typeof $jscomp$optchain$tmp950970106$1.contentWindow.location.href;
|
||||
typeof $jscomp$optchain$tmpm2131375050$1.contentWindow.location.href;
|
||||
} catch (err) {
|
||||
JSCompiler_inline_result = !1;
|
||||
}
|
||||
if (JSCompiler_inline_result)
|
||||
containerInfo = $jscomp$optchain$tmp950970106$1.contentWindow;
|
||||
containerInfo = $jscomp$optchain$tmpm2131375050$1.contentWindow;
|
||||
else break;
|
||||
$jscomp$optchain$tmp950970106$1 = getActiveElement(containerInfo.document);
|
||||
$jscomp$optchain$tmpm2131375050$1 = getActiveElement(
|
||||
containerInfo.document
|
||||
);
|
||||
}
|
||||
return $jscomp$optchain$tmp950970106$1;
|
||||
return $jscomp$optchain$tmpm2131375050$1;
|
||||
}
|
||||
function hasSelectionCapabilities(elem) {
|
||||
var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
|
||||
@@ -16828,14 +16833,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1739 = React.version;
|
||||
if (
|
||||
"19.0.0-www-modern-26855e46-20240916" !==
|
||||
"19.0.0-www-modern-e78c9362-20240916" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1739
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1739,
|
||||
"19.0.0-www-modern-26855e46-20240916"
|
||||
"19.0.0-www-modern-e78c9362-20240916"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -16853,11 +16858,11 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2254 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-modern-26855e46-20240916",
|
||||
version: "19.0.0-www-modern-e78c9362-20240916",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-modern-e78c9362-20240916"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2255 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17220,4 +17225,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-modern-e78c9362-20240916";
|
||||
|
||||
@@ -14274,36 +14274,35 @@ function containsNode(outerNode, innerNode) {
|
||||
: !1;
|
||||
}
|
||||
function getActiveElementDeep(containerInfo) {
|
||||
var $jscomp$optchain$tmp1685018852$1, $jscomp$nullish$tmp0;
|
||||
var $jscomp$optchain$tmp93928784$1, $jscomp$nullish$tmp0;
|
||||
containerInfo =
|
||||
null !=
|
||||
($jscomp$nullish$tmp0 =
|
||||
null == containerInfo
|
||||
? void 0
|
||||
: null ==
|
||||
($jscomp$optchain$tmp1685018852$1 = containerInfo.ownerDocument)
|
||||
: null == ($jscomp$optchain$tmp93928784$1 = containerInfo.ownerDocument)
|
||||
? void 0
|
||||
: $jscomp$optchain$tmp1685018852$1.defaultView)
|
||||
: $jscomp$optchain$tmp93928784$1.defaultView)
|
||||
? $jscomp$nullish$tmp0
|
||||
: window;
|
||||
for (
|
||||
$jscomp$optchain$tmp1685018852$1 = getActiveElement(containerInfo.document);
|
||||
$jscomp$optchain$tmp1685018852$1 instanceof containerInfo.HTMLIFrameElement;
|
||||
$jscomp$optchain$tmp93928784$1 = getActiveElement(containerInfo.document);
|
||||
$jscomp$optchain$tmp93928784$1 instanceof containerInfo.HTMLIFrameElement;
|
||||
|
||||
) {
|
||||
try {
|
||||
var JSCompiler_inline_result =
|
||||
"string" ===
|
||||
typeof $jscomp$optchain$tmp1685018852$1.contentWindow.location.href;
|
||||
typeof $jscomp$optchain$tmp93928784$1.contentWindow.location.href;
|
||||
} catch (err) {
|
||||
JSCompiler_inline_result = !1;
|
||||
}
|
||||
if (JSCompiler_inline_result)
|
||||
containerInfo = $jscomp$optchain$tmp1685018852$1.contentWindow;
|
||||
containerInfo = $jscomp$optchain$tmp93928784$1.contentWindow;
|
||||
else break;
|
||||
$jscomp$optchain$tmp1685018852$1 = getActiveElement(containerInfo.document);
|
||||
$jscomp$optchain$tmp93928784$1 = getActiveElement(containerInfo.document);
|
||||
}
|
||||
return $jscomp$optchain$tmp1685018852$1;
|
||||
return $jscomp$optchain$tmp93928784$1;
|
||||
}
|
||||
function hasSelectionCapabilities(elem) {
|
||||
var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
|
||||
@@ -18228,14 +18227,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1867 = React.version;
|
||||
if (
|
||||
"19.0.0-www-classic-26855e46-20240916" !==
|
||||
"19.0.0-www-classic-e78c9362-20240916" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1867
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1867,
|
||||
"19.0.0-www-classic-26855e46-20240916"
|
||||
"19.0.0-www-classic-e78c9362-20240916"
|
||||
)
|
||||
);
|
||||
function flushSyncFromReconciler(fn) {
|
||||
@@ -18280,11 +18279,11 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_1874 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-classic-26855e46-20240916",
|
||||
version: "19.0.0-www-classic-e78c9362-20240916",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-classic-e78c9362-20240916"
|
||||
};
|
||||
enableSchedulingProfiler &&
|
||||
((internals$jscomp$inline_1874.getLaneLabelMap = getLaneLabelMap),
|
||||
@@ -18743,7 +18742,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-classic-e78c9362-20240916";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -13684,41 +13684,36 @@ function containsNode(outerNode, innerNode) {
|
||||
: !1;
|
||||
}
|
||||
function getActiveElementDeep(containerInfo) {
|
||||
var $jscomp$optchain$tmpm2083393295$1, $jscomp$nullish$tmp0;
|
||||
var $jscomp$optchain$tmp929493187$1, $jscomp$nullish$tmp0;
|
||||
containerInfo =
|
||||
null !=
|
||||
($jscomp$nullish$tmp0 =
|
||||
null == containerInfo
|
||||
? void 0
|
||||
: null ==
|
||||
($jscomp$optchain$tmpm2083393295$1 = containerInfo.ownerDocument)
|
||||
($jscomp$optchain$tmp929493187$1 = containerInfo.ownerDocument)
|
||||
? void 0
|
||||
: $jscomp$optchain$tmpm2083393295$1.defaultView)
|
||||
: $jscomp$optchain$tmp929493187$1.defaultView)
|
||||
? $jscomp$nullish$tmp0
|
||||
: window;
|
||||
for (
|
||||
$jscomp$optchain$tmpm2083393295$1 = getActiveElement(
|
||||
containerInfo.document
|
||||
);
|
||||
$jscomp$optchain$tmpm2083393295$1 instanceof
|
||||
containerInfo.HTMLIFrameElement;
|
||||
$jscomp$optchain$tmp929493187$1 = getActiveElement(containerInfo.document);
|
||||
$jscomp$optchain$tmp929493187$1 instanceof containerInfo.HTMLIFrameElement;
|
||||
|
||||
) {
|
||||
try {
|
||||
var JSCompiler_inline_result =
|
||||
"string" ===
|
||||
typeof $jscomp$optchain$tmpm2083393295$1.contentWindow.location.href;
|
||||
typeof $jscomp$optchain$tmp929493187$1.contentWindow.location.href;
|
||||
} catch (err) {
|
||||
JSCompiler_inline_result = !1;
|
||||
}
|
||||
if (JSCompiler_inline_result)
|
||||
containerInfo = $jscomp$optchain$tmpm2083393295$1.contentWindow;
|
||||
containerInfo = $jscomp$optchain$tmp929493187$1.contentWindow;
|
||||
else break;
|
||||
$jscomp$optchain$tmpm2083393295$1 = getActiveElement(
|
||||
containerInfo.document
|
||||
);
|
||||
$jscomp$optchain$tmp929493187$1 = getActiveElement(containerInfo.document);
|
||||
}
|
||||
return $jscomp$optchain$tmpm2083393295$1;
|
||||
return $jscomp$optchain$tmp929493187$1;
|
||||
}
|
||||
function hasSelectionCapabilities(elem) {
|
||||
var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
|
||||
@@ -17592,14 +17587,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1838 = React.version;
|
||||
if (
|
||||
"19.0.0-www-modern-26855e46-20240916" !==
|
||||
"19.0.0-www-modern-e78c9362-20240916" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1838
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1838,
|
||||
"19.0.0-www-modern-26855e46-20240916"
|
||||
"19.0.0-www-modern-e78c9362-20240916"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17617,11 +17612,11 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_1840 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-modern-26855e46-20240916",
|
||||
version: "19.0.0-www-modern-e78c9362-20240916",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-modern-e78c9362-20240916"
|
||||
};
|
||||
enableSchedulingProfiler &&
|
||||
((internals$jscomp$inline_1840.getLaneLabelMap = getLaneLabelMap),
|
||||
@@ -17987,7 +17982,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-modern-e78c9362-20240916";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -8986,5 +8986,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.0.0-www-classic-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-classic-e78c9362-20240916";
|
||||
})();
|
||||
|
||||
@@ -8804,5 +8804,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.0.0-www-modern-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-modern-e78c9362-20240916";
|
||||
})();
|
||||
|
||||
@@ -5911,4 +5911,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.0.0-www-classic-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-classic-e78c9362-20240916";
|
||||
|
||||
@@ -5823,4 +5823,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.0.0-www-modern-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-modern-e78c9362-20240916";
|
||||
|
||||
@@ -18914,41 +18914,43 @@ __DEV__ &&
|
||||
: !1;
|
||||
}
|
||||
function getActiveElementDeep(containerInfo) {
|
||||
var $jscomp$optchain$tmpm625810807$1, $jscomp$nullish$tmp0;
|
||||
var $jscomp$optchain$tmpm1036864310$1, $jscomp$nullish$tmp0;
|
||||
containerInfo =
|
||||
null !=
|
||||
($jscomp$nullish$tmp0 =
|
||||
null == containerInfo
|
||||
? void 0
|
||||
: null ==
|
||||
($jscomp$optchain$tmpm625810807$1 = containerInfo.ownerDocument)
|
||||
($jscomp$optchain$tmpm1036864310$1 =
|
||||
containerInfo.ownerDocument)
|
||||
? void 0
|
||||
: $jscomp$optchain$tmpm625810807$1.defaultView)
|
||||
: $jscomp$optchain$tmpm1036864310$1.defaultView)
|
||||
? $jscomp$nullish$tmp0
|
||||
: window;
|
||||
for (
|
||||
$jscomp$optchain$tmpm625810807$1 = getActiveElement(
|
||||
$jscomp$optchain$tmpm1036864310$1 = getActiveElement(
|
||||
containerInfo.document
|
||||
);
|
||||
$jscomp$optchain$tmpm625810807$1 instanceof
|
||||
$jscomp$optchain$tmpm1036864310$1 instanceof
|
||||
containerInfo.HTMLIFrameElement;
|
||||
|
||||
) {
|
||||
try {
|
||||
var JSCompiler_inline_result =
|
||||
"string" ===
|
||||
typeof $jscomp$optchain$tmpm625810807$1.contentWindow.location.href;
|
||||
typeof $jscomp$optchain$tmpm1036864310$1.contentWindow.location
|
||||
.href;
|
||||
} catch (err) {
|
||||
JSCompiler_inline_result = !1;
|
||||
}
|
||||
if (JSCompiler_inline_result)
|
||||
containerInfo = $jscomp$optchain$tmpm625810807$1.contentWindow;
|
||||
containerInfo = $jscomp$optchain$tmpm1036864310$1.contentWindow;
|
||||
else break;
|
||||
$jscomp$optchain$tmpm625810807$1 = getActiveElement(
|
||||
$jscomp$optchain$tmpm1036864310$1 = getActiveElement(
|
||||
containerInfo.document
|
||||
);
|
||||
}
|
||||
return $jscomp$optchain$tmpm625810807$1;
|
||||
return $jscomp$optchain$tmpm1036864310$1;
|
||||
}
|
||||
function hasSelectionCapabilities(elem) {
|
||||
var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
|
||||
@@ -28224,11 +28226,11 @@ __DEV__ &&
|
||||
: flushSyncErrorInBuildsThatSupportLegacyMode;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-classic-26855e46-20240916" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-classic-e78c9362-20240916" !== 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.0.0-www-classic-26855e46-20240916\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-classic-e78c9362-20240916\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -28272,11 +28274,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-26855e46-20240916",
|
||||
version: "19.0.0-www-classic-e78c9362-20240916",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-classic-e78c9362-20240916"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -29095,5 +29097,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-classic-e78c9362-20240916";
|
||||
})();
|
||||
|
||||
@@ -18248,41 +18248,41 @@ __DEV__ &&
|
||||
: !1;
|
||||
}
|
||||
function getActiveElementDeep(containerInfo) {
|
||||
var $jscomp$optchain$tmp2003430889$1, $jscomp$nullish$tmp0;
|
||||
var $jscomp$optchain$tmpm92038857$1, $jscomp$nullish$tmp0;
|
||||
containerInfo =
|
||||
null !=
|
||||
($jscomp$nullish$tmp0 =
|
||||
null == containerInfo
|
||||
? void 0
|
||||
: null ==
|
||||
($jscomp$optchain$tmp2003430889$1 = containerInfo.ownerDocument)
|
||||
($jscomp$optchain$tmpm92038857$1 = containerInfo.ownerDocument)
|
||||
? void 0
|
||||
: $jscomp$optchain$tmp2003430889$1.defaultView)
|
||||
: $jscomp$optchain$tmpm92038857$1.defaultView)
|
||||
? $jscomp$nullish$tmp0
|
||||
: window;
|
||||
for (
|
||||
$jscomp$optchain$tmp2003430889$1 = getActiveElement(
|
||||
$jscomp$optchain$tmpm92038857$1 = getActiveElement(
|
||||
containerInfo.document
|
||||
);
|
||||
$jscomp$optchain$tmp2003430889$1 instanceof
|
||||
$jscomp$optchain$tmpm92038857$1 instanceof
|
||||
containerInfo.HTMLIFrameElement;
|
||||
|
||||
) {
|
||||
try {
|
||||
var JSCompiler_inline_result =
|
||||
"string" ===
|
||||
typeof $jscomp$optchain$tmp2003430889$1.contentWindow.location.href;
|
||||
typeof $jscomp$optchain$tmpm92038857$1.contentWindow.location.href;
|
||||
} catch (err) {
|
||||
JSCompiler_inline_result = !1;
|
||||
}
|
||||
if (JSCompiler_inline_result)
|
||||
containerInfo = $jscomp$optchain$tmp2003430889$1.contentWindow;
|
||||
containerInfo = $jscomp$optchain$tmpm92038857$1.contentWindow;
|
||||
else break;
|
||||
$jscomp$optchain$tmp2003430889$1 = getActiveElement(
|
||||
$jscomp$optchain$tmpm92038857$1 = getActiveElement(
|
||||
containerInfo.document
|
||||
);
|
||||
}
|
||||
return $jscomp$optchain$tmp2003430889$1;
|
||||
return $jscomp$optchain$tmpm92038857$1;
|
||||
}
|
||||
function hasSelectionCapabilities(elem) {
|
||||
var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
|
||||
@@ -27341,11 +27341,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-modern-26855e46-20240916" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-modern-e78c9362-20240916" !== 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.0.0-www-modern-26855e46-20240916\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-modern-e78c9362-20240916\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27388,11 +27388,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-26855e46-20240916",
|
||||
version: "19.0.0-www-modern-e78c9362-20240916",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-modern-e78c9362-20240916"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -28163,5 +28163,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-modern-e78c9362-20240916";
|
||||
})();
|
||||
|
||||
@@ -13770,36 +13770,36 @@ function containsNode(outerNode, innerNode) {
|
||||
: !1;
|
||||
}
|
||||
function getActiveElementDeep(containerInfo) {
|
||||
var $jscomp$optchain$tmp1699421491$1, $jscomp$nullish$tmp0;
|
||||
var $jscomp$optchain$tmp1782853918$1, $jscomp$nullish$tmp0;
|
||||
containerInfo =
|
||||
null !=
|
||||
($jscomp$nullish$tmp0 =
|
||||
null == containerInfo
|
||||
? void 0
|
||||
: null ==
|
||||
($jscomp$optchain$tmp1699421491$1 = containerInfo.ownerDocument)
|
||||
($jscomp$optchain$tmp1782853918$1 = containerInfo.ownerDocument)
|
||||
? void 0
|
||||
: $jscomp$optchain$tmp1699421491$1.defaultView)
|
||||
: $jscomp$optchain$tmp1782853918$1.defaultView)
|
||||
? $jscomp$nullish$tmp0
|
||||
: window;
|
||||
for (
|
||||
$jscomp$optchain$tmp1699421491$1 = getActiveElement(containerInfo.document);
|
||||
$jscomp$optchain$tmp1699421491$1 instanceof containerInfo.HTMLIFrameElement;
|
||||
$jscomp$optchain$tmp1782853918$1 = getActiveElement(containerInfo.document);
|
||||
$jscomp$optchain$tmp1782853918$1 instanceof containerInfo.HTMLIFrameElement;
|
||||
|
||||
) {
|
||||
try {
|
||||
var JSCompiler_inline_result =
|
||||
"string" ===
|
||||
typeof $jscomp$optchain$tmp1699421491$1.contentWindow.location.href;
|
||||
typeof $jscomp$optchain$tmp1782853918$1.contentWindow.location.href;
|
||||
} catch (err) {
|
||||
JSCompiler_inline_result = !1;
|
||||
}
|
||||
if (JSCompiler_inline_result)
|
||||
containerInfo = $jscomp$optchain$tmp1699421491$1.contentWindow;
|
||||
containerInfo = $jscomp$optchain$tmp1782853918$1.contentWindow;
|
||||
else break;
|
||||
$jscomp$optchain$tmp1699421491$1 = getActiveElement(containerInfo.document);
|
||||
$jscomp$optchain$tmp1782853918$1 = getActiveElement(containerInfo.document);
|
||||
}
|
||||
return $jscomp$optchain$tmp1699421491$1;
|
||||
return $jscomp$optchain$tmp1782853918$1;
|
||||
}
|
||||
function hasSelectionCapabilities(elem) {
|
||||
var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
|
||||
@@ -17781,14 +17781,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1798 = React.version;
|
||||
if (
|
||||
"19.0.0-www-classic-26855e46-20240916" !==
|
||||
"19.0.0-www-classic-e78c9362-20240916" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1798
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1798,
|
||||
"19.0.0-www-classic-26855e46-20240916"
|
||||
"19.0.0-www-classic-e78c9362-20240916"
|
||||
)
|
||||
);
|
||||
function flushSyncFromReconciler(fn) {
|
||||
@@ -17833,11 +17833,11 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2298 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-classic-26855e46-20240916",
|
||||
version: "19.0.0-www-classic-e78c9362-20240916",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-classic-e78c9362-20240916"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2299 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -18444,4 +18444,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-classic-e78c9362-20240916";
|
||||
|
||||
@@ -13197,36 +13197,41 @@ function containsNode(outerNode, innerNode) {
|
||||
: !1;
|
||||
}
|
||||
function getActiveElementDeep(containerInfo) {
|
||||
var $jscomp$optchain$tmp680638947$1, $jscomp$nullish$tmp0;
|
||||
var $jscomp$optchain$tmpm1471981955$1, $jscomp$nullish$tmp0;
|
||||
containerInfo =
|
||||
null !=
|
||||
($jscomp$nullish$tmp0 =
|
||||
null == containerInfo
|
||||
? void 0
|
||||
: null ==
|
||||
($jscomp$optchain$tmp680638947$1 = containerInfo.ownerDocument)
|
||||
($jscomp$optchain$tmpm1471981955$1 = containerInfo.ownerDocument)
|
||||
? void 0
|
||||
: $jscomp$optchain$tmp680638947$1.defaultView)
|
||||
: $jscomp$optchain$tmpm1471981955$1.defaultView)
|
||||
? $jscomp$nullish$tmp0
|
||||
: window;
|
||||
for (
|
||||
$jscomp$optchain$tmp680638947$1 = getActiveElement(containerInfo.document);
|
||||
$jscomp$optchain$tmp680638947$1 instanceof containerInfo.HTMLIFrameElement;
|
||||
$jscomp$optchain$tmpm1471981955$1 = getActiveElement(
|
||||
containerInfo.document
|
||||
);
|
||||
$jscomp$optchain$tmpm1471981955$1 instanceof
|
||||
containerInfo.HTMLIFrameElement;
|
||||
|
||||
) {
|
||||
try {
|
||||
var JSCompiler_inline_result =
|
||||
"string" ===
|
||||
typeof $jscomp$optchain$tmp680638947$1.contentWindow.location.href;
|
||||
typeof $jscomp$optchain$tmpm1471981955$1.contentWindow.location.href;
|
||||
} catch (err) {
|
||||
JSCompiler_inline_result = !1;
|
||||
}
|
||||
if (JSCompiler_inline_result)
|
||||
containerInfo = $jscomp$optchain$tmp680638947$1.contentWindow;
|
||||
containerInfo = $jscomp$optchain$tmpm1471981955$1.contentWindow;
|
||||
else break;
|
||||
$jscomp$optchain$tmp680638947$1 = getActiveElement(containerInfo.document);
|
||||
$jscomp$optchain$tmpm1471981955$1 = getActiveElement(
|
||||
containerInfo.document
|
||||
);
|
||||
}
|
||||
return $jscomp$optchain$tmp680638947$1;
|
||||
return $jscomp$optchain$tmpm1471981955$1;
|
||||
}
|
||||
function hasSelectionCapabilities(elem) {
|
||||
var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();
|
||||
@@ -17157,14 +17162,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1769 = React.version;
|
||||
if (
|
||||
"19.0.0-www-modern-26855e46-20240916" !==
|
||||
"19.0.0-www-modern-e78c9362-20240916" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1769
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1769,
|
||||
"19.0.0-www-modern-26855e46-20240916"
|
||||
"19.0.0-www-modern-e78c9362-20240916"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17182,11 +17187,11 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2289 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-modern-26855e46-20240916",
|
||||
version: "19.0.0-www-modern-e78c9362-20240916",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-modern-e78c9362-20240916"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2290 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17700,4 +17705,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-modern-e78c9362-20240916";
|
||||
|
||||
@@ -19323,7 +19323,7 @@ __DEV__ &&
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-classic-e78c9362-20240916"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -18717,7 +18717,7 @@ __DEV__ &&
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-modern-e78c9362-20240916"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -12891,7 +12891,7 @@ module.exports = function ($$$config) {
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-classic-e78c9362-20240916"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -12384,7 +12384,7 @@ module.exports = function ($$$config) {
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-modern-e78c9362-20240916"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -15031,11 +15031,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-26855e46-20240916",
|
||||
version: "19.0.0-www-classic-e78c9362-20240916",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-classic-e78c9362-20240916"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15170,5 +15170,5 @@ __DEV__ &&
|
||||
exports.unstable_batchedUpdates = function (fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-classic-e78c9362-20240916";
|
||||
})();
|
||||
|
||||
@@ -15031,11 +15031,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-26855e46-20240916",
|
||||
version: "19.0.0-www-modern-e78c9362-20240916",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-26855e46-20240916"
|
||||
reconcilerVersion: "19.0.0-www-modern-e78c9362-20240916"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15170,5 +15170,5 @@ __DEV__ &&
|
||||
exports.unstable_batchedUpdates = function (fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-26855e46-20240916";
|
||||
exports.version = "19.0.0-www-modern-e78c9362-20240916";
|
||||
})();
|
||||
|
||||
@@ -1 +1 @@
|
||||
19.0.0-www-classic-26855e46-20240916
|
||||
19.0.0-www-classic-e78c9362-20240916
|
||||
@@ -1 +1 @@
|
||||
19.0.0-www-modern-26855e46-20240916
|
||||
19.0.0-www-modern-e78c9362-20240916
|
||||
Reference in New Issue
Block a user