mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Hide/unhide the content of dehydrated suspense boundaries if they resuspend (#32900)
Found this bug while working on Activity. There's a weird edge case when
a dehydrated Suspense boundary is a direct child of another Suspense
boundary which is hydrated but then it resuspends without forcing the
inner one to hydrate/delete.
It used to just leave that in place because hiding/unhiding didn't deal
with dehydrated fragments.
Not sure this is really worth fixing.
DiffTrain build for [ebf7318e87](https://github.com/facebook/react/commit/ebf7318e87cf2e10b6bd9a6bb0ad8bf6f6186f80)
This commit is contained in:
@@ -1 +1 @@
|
||||
19.2.0-native-fb-b04254fd-20250415
|
||||
19.2.0-native-fb-ebf7318e-20250422
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<fd12866fb2da2348897605e7db4ee211>>
|
||||
* @generated SignedSource<<f016df1eb6a478012d80365da91fa0e3>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -404,5 +404,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-b04254fd-20250415";
|
||||
exports.version = "19.2.0-native-fb-ebf7318e-20250422";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<0cee692fd0e4e197fb462a88b80f6799>>
|
||||
* @generated SignedSource<<7062b5550796a072c5b99b383e56e4ff>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-b04254fd-20250415";
|
||||
exports.version = "19.2.0-native-fb-ebf7318e-20250422";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<0cee692fd0e4e197fb462a88b80f6799>>
|
||||
* @generated SignedSource<<7062b5550796a072c5b99b383e56e4ff>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-b04254fd-20250415";
|
||||
exports.version = "19.2.0-native-fb-ebf7318e-20250422";
|
||||
|
||||
Vendored
+303
-238
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<36b8800ad277bcf7877dc1204fe0275a>>
|
||||
* @generated SignedSource<<aa8dfbdb06b2baa6988e90c1bc85006b>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -9906,19 +9906,19 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2415;
|
||||
var JSCompiler_object_inline_stack_2416 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2421;
|
||||
var JSCompiler_object_inline_stack_2422 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var showFallback = !1,
|
||||
didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2415 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2415 =
|
||||
(JSCompiler_object_inline_digest_2421 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2421 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2415 &&
|
||||
JSCompiler_object_inline_digest_2421 &&
|
||||
((showFallback = !0), (workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2415 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2421 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
@@ -9927,25 +9927,25 @@ __DEV__ &&
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
if ((renderLanes = nextHydratableInstance)) {
|
||||
a: {
|
||||
JSCompiler_object_inline_digest_2415 = renderLanes;
|
||||
JSCompiler_object_inline_digest_2421 = renderLanes;
|
||||
for (
|
||||
current = rootOrSingletonContext;
|
||||
8 !== JSCompiler_object_inline_digest_2415.nodeType;
|
||||
8 !== JSCompiler_object_inline_digest_2421.nodeType;
|
||||
|
||||
) {
|
||||
if (!current) {
|
||||
current = null;
|
||||
break a;
|
||||
}
|
||||
JSCompiler_object_inline_digest_2415 = getNextHydratable(
|
||||
JSCompiler_object_inline_digest_2415.nextSibling
|
||||
JSCompiler_object_inline_digest_2421 = getNextHydratable(
|
||||
JSCompiler_object_inline_digest_2421.nextSibling
|
||||
);
|
||||
if (null === JSCompiler_object_inline_digest_2415) {
|
||||
if (null === JSCompiler_object_inline_digest_2421) {
|
||||
current = null;
|
||||
break a;
|
||||
}
|
||||
}
|
||||
current = JSCompiler_object_inline_digest_2415;
|
||||
current = JSCompiler_object_inline_digest_2421;
|
||||
}
|
||||
null !== current &&
|
||||
(warnIfNotHydrating(),
|
||||
@@ -9958,17 +9958,17 @@ __DEV__ &&
|
||||
retryLane: 536870912,
|
||||
hydrationErrors: null
|
||||
}),
|
||||
(JSCompiler_object_inline_digest_2415 = current),
|
||||
(JSCompiler_object_inline_stack_2416 = createFiber(
|
||||
(JSCompiler_object_inline_digest_2421 = current),
|
||||
(JSCompiler_object_inline_stack_2422 = createFiber(
|
||||
18,
|
||||
null,
|
||||
null,
|
||||
NoMode
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2416.stateNode =
|
||||
JSCompiler_object_inline_digest_2415),
|
||||
(JSCompiler_object_inline_stack_2416.return = workInProgress),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2416),
|
||||
(JSCompiler_object_inline_stack_2422.stateNode =
|
||||
JSCompiler_object_inline_digest_2421),
|
||||
(JSCompiler_object_inline_stack_2422.return = workInProgress),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2422),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(nextHydratableInstance = null));
|
||||
} else current = null;
|
||||
@@ -9982,71 +9982,71 @@ __DEV__ &&
|
||||
: (workInProgress.lanes = 536870912);
|
||||
return null;
|
||||
}
|
||||
var JSCompiler_object_inline_componentStack_2417 =
|
||||
JSCompiler_object_inline_stack_2416.children;
|
||||
var nextFallbackChildren = JSCompiler_object_inline_stack_2416.fallback;
|
||||
var JSCompiler_object_inline_componentStack_2423 =
|
||||
JSCompiler_object_inline_stack_2422.children;
|
||||
var nextFallbackChildren = JSCompiler_object_inline_stack_2422.fallback;
|
||||
if (showFallback)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2416 =
|
||||
(JSCompiler_object_inline_stack_2422 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_componentStack_2417,
|
||||
JSCompiler_object_inline_componentStack_2423,
|
||||
nextFallbackChildren,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2417 =
|
||||
(JSCompiler_object_inline_componentStack_2423 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2417.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2423.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2417.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2423.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2415,
|
||||
JSCompiler_object_inline_digest_2421,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2416
|
||||
JSCompiler_object_inline_stack_2422
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2416.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2422.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2416 =
|
||||
(JSCompiler_object_inline_stack_2422 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_componentStack_2417,
|
||||
JSCompiler_object_inline_componentStack_2423,
|
||||
nextFallbackChildren,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2417 =
|
||||
(JSCompiler_object_inline_componentStack_2423 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2417.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2423.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2417.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2423.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2415,
|
||||
JSCompiler_object_inline_digest_2421,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
JSCompiler_object_inline_stack_2416
|
||||
JSCompiler_object_inline_stack_2422
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_componentStack_2417
|
||||
JSCompiler_object_inline_componentStack_2423
|
||||
);
|
||||
}
|
||||
var JSCompiler_object_inline_message_2414 = current.memoizedState;
|
||||
var JSCompiler_object_inline_message_2420 = current.memoizedState;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_message_2414 &&
|
||||
((JSCompiler_object_inline_componentStack_2417 =
|
||||
JSCompiler_object_inline_message_2414.dehydrated),
|
||||
null !== JSCompiler_object_inline_componentStack_2417)
|
||||
null !== JSCompiler_object_inline_message_2420 &&
|
||||
((JSCompiler_object_inline_componentStack_2423 =
|
||||
JSCompiler_object_inline_message_2420.dehydrated),
|
||||
null !== JSCompiler_object_inline_componentStack_2423)
|
||||
) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
@@ -10063,31 +10063,31 @@ __DEV__ &&
|
||||
(workInProgress.flags |= 128),
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2417 =
|
||||
JSCompiler_object_inline_stack_2416.fallback),
|
||||
(JSCompiler_object_inline_componentStack_2423 =
|
||||
JSCompiler_object_inline_stack_2422.fallback),
|
||||
(nextFallbackChildren = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2416 =
|
||||
(JSCompiler_object_inline_stack_2422 =
|
||||
mountWorkInProgressOffscreenFiber(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2416.children
|
||||
children: JSCompiler_object_inline_stack_2422.children
|
||||
},
|
||||
nextFallbackChildren
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2417 =
|
||||
(JSCompiler_object_inline_componentStack_2423 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2417,
|
||||
JSCompiler_object_inline_componentStack_2423,
|
||||
nextFallbackChildren,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2417.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2416.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2417.return =
|
||||
(JSCompiler_object_inline_componentStack_2423.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2422.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2423.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2416.sibling =
|
||||
JSCompiler_object_inline_componentStack_2417),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2416),
|
||||
(JSCompiler_object_inline_stack_2422.sibling =
|
||||
JSCompiler_object_inline_componentStack_2423),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2422),
|
||||
(workInProgress.mode & ConcurrentMode) !== NoMode &&
|
||||
reconcileChildFibers(
|
||||
workInProgress,
|
||||
@@ -10095,18 +10095,18 @@ __DEV__ &&
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2416 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2416.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2422 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2422.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2416.childLanes =
|
||||
(JSCompiler_object_inline_stack_2422.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2415,
|
||||
JSCompiler_object_inline_digest_2421,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress =
|
||||
JSCompiler_object_inline_componentStack_2417));
|
||||
JSCompiler_object_inline_componentStack_2423));
|
||||
else if (
|
||||
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
isHydrating &&
|
||||
@@ -10114,48 +10114,48 @@ __DEV__ &&
|
||||
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
||||
),
|
||||
isSuspenseInstanceFallback(
|
||||
JSCompiler_object_inline_componentStack_2417
|
||||
JSCompiler_object_inline_componentStack_2423
|
||||
))
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2415 =
|
||||
JSCompiler_object_inline_componentStack_2417.nextSibling &&
|
||||
JSCompiler_object_inline_componentStack_2417.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2415) {
|
||||
nextFallbackChildren = JSCompiler_object_inline_digest_2415.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2415.msg;
|
||||
var componentStack = JSCompiler_object_inline_digest_2415.stck;
|
||||
JSCompiler_object_inline_digest_2421 =
|
||||
JSCompiler_object_inline_componentStack_2423.nextSibling &&
|
||||
JSCompiler_object_inline_componentStack_2423.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2421) {
|
||||
nextFallbackChildren = JSCompiler_object_inline_digest_2421.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2421.msg;
|
||||
var componentStack = JSCompiler_object_inline_digest_2421.stck;
|
||||
var componentStack$jscomp$0 =
|
||||
JSCompiler_object_inline_digest_2415.cstck;
|
||||
JSCompiler_object_inline_digest_2421.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2414 = message;
|
||||
JSCompiler_object_inline_digest_2415 = nextFallbackChildren;
|
||||
JSCompiler_object_inline_stack_2416 = componentStack;
|
||||
JSCompiler_object_inline_componentStack_2417 =
|
||||
JSCompiler_object_inline_message_2420 = message;
|
||||
JSCompiler_object_inline_digest_2421 = nextFallbackChildren;
|
||||
JSCompiler_object_inline_stack_2422 = componentStack;
|
||||
JSCompiler_object_inline_componentStack_2423 =
|
||||
componentStack$jscomp$0;
|
||||
nextFallbackChildren = JSCompiler_object_inline_message_2414;
|
||||
componentStack = JSCompiler_object_inline_componentStack_2417;
|
||||
JSCompiler_object_inline_componentStack_2417 = nextFallbackChildren
|
||||
nextFallbackChildren = JSCompiler_object_inline_message_2420;
|
||||
componentStack = JSCompiler_object_inline_componentStack_2423;
|
||||
JSCompiler_object_inline_componentStack_2423 = nextFallbackChildren
|
||||
? Error(nextFallbackChildren)
|
||||
: Error(
|
||||
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
||||
);
|
||||
JSCompiler_object_inline_componentStack_2417.stack =
|
||||
JSCompiler_object_inline_stack_2416 || "";
|
||||
JSCompiler_object_inline_componentStack_2417.digest =
|
||||
JSCompiler_object_inline_digest_2415;
|
||||
JSCompiler_object_inline_digest_2415 =
|
||||
JSCompiler_object_inline_componentStack_2423.stack =
|
||||
JSCompiler_object_inline_stack_2422 || "";
|
||||
JSCompiler_object_inline_componentStack_2423.digest =
|
||||
JSCompiler_object_inline_digest_2421;
|
||||
JSCompiler_object_inline_digest_2421 =
|
||||
void 0 === componentStack ? null : componentStack;
|
||||
JSCompiler_object_inline_stack_2416 = {
|
||||
value: JSCompiler_object_inline_componentStack_2417,
|
||||
JSCompiler_object_inline_stack_2422 = {
|
||||
value: JSCompiler_object_inline_componentStack_2423,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2415
|
||||
stack: JSCompiler_object_inline_digest_2421
|
||||
};
|
||||
"string" === typeof JSCompiler_object_inline_digest_2415 &&
|
||||
"string" === typeof JSCompiler_object_inline_digest_2421 &&
|
||||
CapturedStacks.set(
|
||||
JSCompiler_object_inline_componentStack_2417,
|
||||
JSCompiler_object_inline_stack_2416
|
||||
JSCompiler_object_inline_componentStack_2423,
|
||||
JSCompiler_object_inline_stack_2422
|
||||
);
|
||||
queueHydrationError(JSCompiler_object_inline_stack_2416);
|
||||
queueHydrationError(JSCompiler_object_inline_stack_2422);
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -10169,46 +10169,46 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2415 =
|
||||
(JSCompiler_object_inline_digest_2421 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2415)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2421)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2415 = workInProgressRoot;
|
||||
JSCompiler_object_inline_digest_2421 = workInProgressRoot;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_digest_2415 &&
|
||||
((JSCompiler_object_inline_stack_2416 = renderLanes & -renderLanes),
|
||||
(JSCompiler_object_inline_stack_2416 =
|
||||
0 !== (JSCompiler_object_inline_stack_2416 & 42)
|
||||
null !== JSCompiler_object_inline_digest_2421 &&
|
||||
((JSCompiler_object_inline_stack_2422 = renderLanes & -renderLanes),
|
||||
(JSCompiler_object_inline_stack_2422 =
|
||||
0 !== (JSCompiler_object_inline_stack_2422 & 42)
|
||||
? 1
|
||||
: getBumpedLaneForHydrationByLane(
|
||||
JSCompiler_object_inline_stack_2416
|
||||
JSCompiler_object_inline_stack_2422
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2416 =
|
||||
(JSCompiler_object_inline_stack_2422 =
|
||||
0 !==
|
||||
(JSCompiler_object_inline_stack_2416 &
|
||||
(JSCompiler_object_inline_digest_2415.suspendedLanes |
|
||||
(JSCompiler_object_inline_stack_2422 &
|
||||
(JSCompiler_object_inline_digest_2421.suspendedLanes |
|
||||
renderLanes))
|
||||
? 0
|
||||
: JSCompiler_object_inline_stack_2416),
|
||||
0 !== JSCompiler_object_inline_stack_2416 &&
|
||||
JSCompiler_object_inline_stack_2416 !==
|
||||
JSCompiler_object_inline_message_2414.retryLane)
|
||||
: JSCompiler_object_inline_stack_2422),
|
||||
0 !== JSCompiler_object_inline_stack_2422 &&
|
||||
JSCompiler_object_inline_stack_2422 !==
|
||||
JSCompiler_object_inline_message_2420.retryLane)
|
||||
)
|
||||
throw (
|
||||
((JSCompiler_object_inline_message_2414.retryLane =
|
||||
JSCompiler_object_inline_stack_2416),
|
||||
((JSCompiler_object_inline_message_2420.retryLane =
|
||||
JSCompiler_object_inline_stack_2422),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2416
|
||||
JSCompiler_object_inline_stack_2422
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2415,
|
||||
JSCompiler_object_inline_digest_2421,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2416
|
||||
JSCompiler_object_inline_stack_2422
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
JSCompiler_object_inline_componentStack_2417.data ===
|
||||
JSCompiler_object_inline_componentStack_2423.data ===
|
||||
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -10216,15 +10216,15 @@ __DEV__ &&
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
JSCompiler_object_inline_componentStack_2417.data ===
|
||||
JSCompiler_object_inline_componentStack_2423.data ===
|
||||
SUSPENSE_PENDING_START_DATA
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
(workInProgress = null))
|
||||
: ((renderLanes =
|
||||
JSCompiler_object_inline_message_2414.treeContext),
|
||||
JSCompiler_object_inline_message_2420.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_componentStack_2417.nextSibling
|
||||
JSCompiler_object_inline_componentStack_2423.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -10242,7 +10242,7 @@ __DEV__ &&
|
||||
(treeContextProvider = workInProgress)),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2416.children
|
||||
JSCompiler_object_inline_stack_2422.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
@@ -10250,58 +10250,58 @@ __DEV__ &&
|
||||
if (showFallback)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2417 =
|
||||
JSCompiler_object_inline_stack_2416.fallback),
|
||||
(JSCompiler_object_inline_componentStack_2423 =
|
||||
JSCompiler_object_inline_stack_2422.fallback),
|
||||
(nextFallbackChildren = workInProgress.mode),
|
||||
(componentStack = current.child),
|
||||
(componentStack$jscomp$0 = componentStack.sibling),
|
||||
(JSCompiler_object_inline_message_2414 = {
|
||||
(JSCompiler_object_inline_message_2420 = {
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2416.children
|
||||
children: JSCompiler_object_inline_stack_2422.children
|
||||
}),
|
||||
(nextFallbackChildren & ConcurrentMode) === NoMode &&
|
||||
workInProgress.child !== componentStack
|
||||
? ((JSCompiler_object_inline_stack_2416 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2416.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2416.pendingProps =
|
||||
JSCompiler_object_inline_message_2414),
|
||||
? ((JSCompiler_object_inline_stack_2422 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2422.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2422.pendingProps =
|
||||
JSCompiler_object_inline_message_2420),
|
||||
workInProgress.mode & ProfileMode &&
|
||||
((JSCompiler_object_inline_stack_2416.actualDuration = -0),
|
||||
(JSCompiler_object_inline_stack_2416.actualStartTime = -1.1),
|
||||
(JSCompiler_object_inline_stack_2416.selfBaseDuration =
|
||||
((JSCompiler_object_inline_stack_2422.actualDuration = -0),
|
||||
(JSCompiler_object_inline_stack_2422.actualStartTime = -1.1),
|
||||
(JSCompiler_object_inline_stack_2422.selfBaseDuration =
|
||||
componentStack.selfBaseDuration),
|
||||
(JSCompiler_object_inline_stack_2416.treeBaseDuration =
|
||||
(JSCompiler_object_inline_stack_2422.treeBaseDuration =
|
||||
componentStack.treeBaseDuration)),
|
||||
(workInProgress.deletions = null))
|
||||
: ((JSCompiler_object_inline_stack_2416 = createWorkInProgress(
|
||||
: ((JSCompiler_object_inline_stack_2422 = createWorkInProgress(
|
||||
componentStack,
|
||||
JSCompiler_object_inline_message_2414
|
||||
JSCompiler_object_inline_message_2420
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2416.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2422.subtreeFlags =
|
||||
componentStack.subtreeFlags & 65011712)),
|
||||
null !== componentStack$jscomp$0
|
||||
? (JSCompiler_object_inline_componentStack_2417 =
|
||||
? (JSCompiler_object_inline_componentStack_2423 =
|
||||
createWorkInProgress(
|
||||
componentStack$jscomp$0,
|
||||
JSCompiler_object_inline_componentStack_2417
|
||||
JSCompiler_object_inline_componentStack_2423
|
||||
))
|
||||
: ((JSCompiler_object_inline_componentStack_2417 =
|
||||
: ((JSCompiler_object_inline_componentStack_2423 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2417,
|
||||
JSCompiler_object_inline_componentStack_2423,
|
||||
nextFallbackChildren,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2417.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2417.return =
|
||||
(JSCompiler_object_inline_componentStack_2423.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2423.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2416.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2416.sibling =
|
||||
JSCompiler_object_inline_componentStack_2417),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2416),
|
||||
(JSCompiler_object_inline_stack_2416 =
|
||||
JSCompiler_object_inline_componentStack_2417),
|
||||
(JSCompiler_object_inline_componentStack_2417 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2422.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2422.sibling =
|
||||
JSCompiler_object_inline_componentStack_2423),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2422),
|
||||
(JSCompiler_object_inline_stack_2422 =
|
||||
JSCompiler_object_inline_componentStack_2423),
|
||||
(JSCompiler_object_inline_componentStack_2423 = workInProgress.child),
|
||||
(nextFallbackChildren = current.child.memoizedState),
|
||||
null === nextFallbackChildren
|
||||
? (nextFallbackChildren = mountSuspenseOffscreenState(renderLanes))
|
||||
@@ -10320,40 +10320,40 @@ __DEV__ &&
|
||||
baseLanes: nextFallbackChildren.baseLanes | renderLanes,
|
||||
cachePool: componentStack
|
||||
})),
|
||||
(JSCompiler_object_inline_componentStack_2417.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2423.memoizedState =
|
||||
nextFallbackChildren),
|
||||
(JSCompiler_object_inline_componentStack_2417.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2423.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2415,
|
||||
JSCompiler_object_inline_digest_2421,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2416
|
||||
JSCompiler_object_inline_stack_2422
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
JSCompiler_object_inline_digest_2415 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2415.sibling;
|
||||
JSCompiler_object_inline_digest_2415 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2415,
|
||||
JSCompiler_object_inline_digest_2421 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2421.sibling;
|
||||
JSCompiler_object_inline_digest_2421 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2421,
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2416.children
|
||||
children: JSCompiler_object_inline_stack_2422.children
|
||||
}
|
||||
);
|
||||
(workInProgress.mode & ConcurrentMode) === NoMode &&
|
||||
(JSCompiler_object_inline_digest_2415.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2415.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2415.sibling = null;
|
||||
(JSCompiler_object_inline_digest_2421.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2421.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2421.sibling = null;
|
||||
null !== current &&
|
||||
((renderLanes = workInProgress.deletions),
|
||||
null === renderLanes
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: renderLanes.push(current));
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2415;
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2421;
|
||||
workInProgress.memoizedState = null;
|
||||
return JSCompiler_object_inline_digest_2415;
|
||||
return JSCompiler_object_inline_digest_2421;
|
||||
}
|
||||
function mountSuspensePrimaryChildren(workInProgress, primaryChildren) {
|
||||
primaryChildren = mountWorkInProgressOffscreenFiber(
|
||||
@@ -13803,112 +13803,114 @@ __DEV__ &&
|
||||
(offscreenSubtreeWasHidden ||
|
||||
null === current ||
|
||||
safelyDetachRef(current, current.return));
|
||||
if (flags & 4)
|
||||
if (
|
||||
((root = null !== current ? current.memoizedState : null),
|
||||
(flags = finishedWork.memoizedState),
|
||||
null === current)
|
||||
)
|
||||
if (flags & 4) {
|
||||
var currentResource =
|
||||
null !== current ? current.memoizedState : null;
|
||||
flags = finishedWork.memoizedState;
|
||||
if (null === current)
|
||||
if (null === flags)
|
||||
if (null === finishedWork.stateNode) {
|
||||
a: {
|
||||
flags = finishedWork.type;
|
||||
current = finishedWork.memoizedProps;
|
||||
root = hoistableRoot.ownerDocument || hoistableRoot;
|
||||
hoistableRoot =
|
||||
hoistableRoot.ownerDocument || hoistableRoot;
|
||||
b: switch (flags) {
|
||||
case "title":
|
||||
hoistableRoot = root.getElementsByTagName("title")[0];
|
||||
currentResource =
|
||||
hoistableRoot.getElementsByTagName("title")[0];
|
||||
if (
|
||||
!hoistableRoot ||
|
||||
hoistableRoot[internalHoistableMarker] ||
|
||||
hoistableRoot[internalInstanceKey] ||
|
||||
hoistableRoot.namespaceURI === SVG_NAMESPACE ||
|
||||
hoistableRoot.hasAttribute("itemprop")
|
||||
!currentResource ||
|
||||
currentResource[internalHoistableMarker] ||
|
||||
currentResource[internalInstanceKey] ||
|
||||
currentResource.namespaceURI === SVG_NAMESPACE ||
|
||||
currentResource.hasAttribute("itemprop")
|
||||
)
|
||||
(hoistableRoot = root.createElement(flags)),
|
||||
root.head.insertBefore(
|
||||
hoistableRoot,
|
||||
root.querySelector("head > title")
|
||||
(currentResource =
|
||||
hoistableRoot.createElement(flags)),
|
||||
hoistableRoot.head.insertBefore(
|
||||
currentResource,
|
||||
hoistableRoot.querySelector("head > title")
|
||||
);
|
||||
setInitialProperties(hoistableRoot, flags, current);
|
||||
hoistableRoot[internalInstanceKey] = finishedWork;
|
||||
markNodeAsHoistable(hoistableRoot);
|
||||
flags = hoistableRoot;
|
||||
setInitialProperties(currentResource, flags, current);
|
||||
currentResource[internalInstanceKey] = finishedWork;
|
||||
markNodeAsHoistable(currentResource);
|
||||
flags = currentResource;
|
||||
break a;
|
||||
case "link":
|
||||
var maybeNodes = getHydratableHoistableCache(
|
||||
"link",
|
||||
"href",
|
||||
root
|
||||
hoistableRoot
|
||||
).get(flags + (current.href || ""));
|
||||
if (maybeNodes)
|
||||
for (var i = 0; i < maybeNodes.length; i++)
|
||||
for (root = 0; root < maybeNodes.length; root++)
|
||||
if (
|
||||
((hoistableRoot = maybeNodes[i]),
|
||||
hoistableRoot.getAttribute("href") ===
|
||||
((currentResource = maybeNodes[root]),
|
||||
currentResource.getAttribute("href") ===
|
||||
(null == current.href || "" === current.href
|
||||
? null
|
||||
: current.href) &&
|
||||
hoistableRoot.getAttribute("rel") ===
|
||||
currentResource.getAttribute("rel") ===
|
||||
(null == current.rel ? null : current.rel) &&
|
||||
hoistableRoot.getAttribute("title") ===
|
||||
currentResource.getAttribute("title") ===
|
||||
(null == current.title
|
||||
? null
|
||||
: current.title) &&
|
||||
hoistableRoot.getAttribute("crossorigin") ===
|
||||
currentResource.getAttribute("crossorigin") ===
|
||||
(null == current.crossOrigin
|
||||
? null
|
||||
: current.crossOrigin))
|
||||
) {
|
||||
maybeNodes.splice(i, 1);
|
||||
maybeNodes.splice(root, 1);
|
||||
break b;
|
||||
}
|
||||
hoistableRoot = root.createElement(flags);
|
||||
setInitialProperties(hoistableRoot, flags, current);
|
||||
root.head.appendChild(hoistableRoot);
|
||||
currentResource = hoistableRoot.createElement(flags);
|
||||
setInitialProperties(currentResource, flags, current);
|
||||
hoistableRoot.head.appendChild(currentResource);
|
||||
break;
|
||||
case "meta":
|
||||
if (
|
||||
(maybeNodes = getHydratableHoistableCache(
|
||||
"meta",
|
||||
"content",
|
||||
root
|
||||
hoistableRoot
|
||||
).get(flags + (current.content || "")))
|
||||
)
|
||||
for (i = 0; i < maybeNodes.length; i++)
|
||||
for (root = 0; root < maybeNodes.length; root++)
|
||||
if (
|
||||
((hoistableRoot = maybeNodes[i]),
|
||||
((currentResource = maybeNodes[root]),
|
||||
checkAttributeStringCoercion(
|
||||
current.content,
|
||||
"content"
|
||||
),
|
||||
hoistableRoot.getAttribute("content") ===
|
||||
currentResource.getAttribute("content") ===
|
||||
(null == current.content
|
||||
? null
|
||||
: "" + current.content) &&
|
||||
hoistableRoot.getAttribute("name") ===
|
||||
currentResource.getAttribute("name") ===
|
||||
(null == current.name
|
||||
? null
|
||||
: current.name) &&
|
||||
hoistableRoot.getAttribute("property") ===
|
||||
currentResource.getAttribute("property") ===
|
||||
(null == current.property
|
||||
? null
|
||||
: current.property) &&
|
||||
hoistableRoot.getAttribute("http-equiv") ===
|
||||
currentResource.getAttribute("http-equiv") ===
|
||||
(null == current.httpEquiv
|
||||
? null
|
||||
: current.httpEquiv) &&
|
||||
hoistableRoot.getAttribute("charset") ===
|
||||
currentResource.getAttribute("charset") ===
|
||||
(null == current.charSet
|
||||
? null
|
||||
: current.charSet))
|
||||
) {
|
||||
maybeNodes.splice(i, 1);
|
||||
maybeNodes.splice(root, 1);
|
||||
break b;
|
||||
}
|
||||
hoistableRoot = root.createElement(flags);
|
||||
setInitialProperties(hoistableRoot, flags, current);
|
||||
root.head.appendChild(hoistableRoot);
|
||||
currentResource = hoistableRoot.createElement(flags);
|
||||
setInitialProperties(currentResource, flags, current);
|
||||
hoistableRoot.head.appendChild(currentResource);
|
||||
break;
|
||||
default:
|
||||
throw Error(
|
||||
@@ -13917,9 +13919,9 @@ __DEV__ &&
|
||||
'". This is a bug in React.'
|
||||
);
|
||||
}
|
||||
hoistableRoot[internalInstanceKey] = finishedWork;
|
||||
markNodeAsHoistable(hoistableRoot);
|
||||
flags = hoistableRoot;
|
||||
currentResource[internalInstanceKey] = finishedWork;
|
||||
markNodeAsHoistable(currentResource);
|
||||
flags = currentResource;
|
||||
}
|
||||
finishedWork.stateNode = flags;
|
||||
} else
|
||||
@@ -13935,12 +13937,12 @@ __DEV__ &&
|
||||
finishedWork.memoizedProps
|
||||
);
|
||||
else
|
||||
root !== flags
|
||||
? (null === root
|
||||
currentResource !== flags
|
||||
? (null === currentResource
|
||||
? null !== current.stateNode &&
|
||||
((current = current.stateNode),
|
||||
current.parentNode.removeChild(current))
|
||||
: root.count--,
|
||||
: currentResource.count--,
|
||||
null === flags
|
||||
? mountHoistable(
|
||||
hoistableRoot,
|
||||
@@ -13959,6 +13961,7 @@ __DEV__ &&
|
||||
finishedWork.memoizedProps,
|
||||
current.memoizedProps
|
||||
);
|
||||
}
|
||||
break;
|
||||
case 27:
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
@@ -13983,20 +13986,20 @@ __DEV__ &&
|
||||
null === current ||
|
||||
safelyDetachRef(current, current.return));
|
||||
if (finishedWork.flags & 32) {
|
||||
root = finishedWork.stateNode;
|
||||
hoistableRoot = finishedWork.stateNode;
|
||||
try {
|
||||
runWithFiberInDEV(finishedWork, resetTextContent, root);
|
||||
runWithFiberInDEV(finishedWork, resetTextContent, hoistableRoot);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
}
|
||||
}
|
||||
flags & 4 &&
|
||||
null != finishedWork.stateNode &&
|
||||
((root = finishedWork.memoizedProps),
|
||||
((hoistableRoot = finishedWork.memoizedProps),
|
||||
commitHostUpdate(
|
||||
finishedWork,
|
||||
root,
|
||||
null !== current ? current.memoizedProps : root
|
||||
hoistableRoot,
|
||||
null !== current ? current.memoizedProps : hoistableRoot
|
||||
));
|
||||
flags & 1024 &&
|
||||
((needsFormReset = !0),
|
||||
@@ -14015,12 +14018,12 @@ __DEV__ &&
|
||||
);
|
||||
flags = finishedWork.memoizedProps;
|
||||
current = null !== current ? current.memoizedProps : flags;
|
||||
root = finishedWork.stateNode;
|
||||
hoistableRoot = finishedWork.stateNode;
|
||||
try {
|
||||
runWithFiberInDEV(
|
||||
finishedWork,
|
||||
commitTextUpdate,
|
||||
root,
|
||||
hoistableRoot,
|
||||
current,
|
||||
flags
|
||||
);
|
||||
@@ -14032,10 +14035,10 @@ __DEV__ &&
|
||||
case 3:
|
||||
hoistableRoot = pushNestedEffectDurations();
|
||||
tagCaches = null;
|
||||
maybeNodes = currentHoistableRoot;
|
||||
currentResource = currentHoistableRoot;
|
||||
currentHoistableRoot = getHoistableRoot(root.containerInfo);
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
currentHoistableRoot = maybeNodes;
|
||||
currentHoistableRoot = currentResource;
|
||||
commitReconciliationEffects(finishedWork);
|
||||
if (
|
||||
flags & 4 &&
|
||||
@@ -14075,23 +14078,26 @@ __DEV__ &&
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
commitReconciliationEffects(finishedWork);
|
||||
finishedWork.child.flags & 8192 &&
|
||||
((root = null !== finishedWork.memoizedState),
|
||||
((hoistableRoot = null !== finishedWork.memoizedState),
|
||||
(current = null !== current && null !== current.memoizedState),
|
||||
alwaysThrottleRetries
|
||||
? root !== current && (globalMostRecentFallbackTime = now$1())
|
||||
: root && !current && (globalMostRecentFallbackTime = now$1()));
|
||||
? hoistableRoot !== current &&
|
||||
(globalMostRecentFallbackTime = now$1())
|
||||
: hoistableRoot &&
|
||||
!current &&
|
||||
(globalMostRecentFallbackTime = now$1()));
|
||||
if (flags & 4) {
|
||||
try {
|
||||
if (null !== finishedWork.memoizedState)
|
||||
if (
|
||||
((i = finishedWork.memoizedProps.suspenseCallback),
|
||||
"function" === typeof i)
|
||||
) {
|
||||
if (null !== finishedWork.memoizedState) {
|
||||
var suspenseCallback =
|
||||
finishedWork.memoizedProps.suspenseCallback;
|
||||
if ("function" === typeof suspenseCallback) {
|
||||
var retryQueue = finishedWork.updateQueue;
|
||||
null !== retryQueue && i(new Set(retryQueue));
|
||||
null !== retryQueue && suspenseCallback(new Set(retryQueue));
|
||||
} else
|
||||
void 0 !== i &&
|
||||
void 0 !== suspenseCallback &&
|
||||
console.error("Unexpected type for suspenseCallback.");
|
||||
}
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
}
|
||||
@@ -14102,12 +14108,13 @@ __DEV__ &&
|
||||
}
|
||||
break;
|
||||
case 22:
|
||||
i = null !== finishedWork.memoizedState;
|
||||
suspenseCallback = null !== finishedWork.memoizedState;
|
||||
retryQueue = null !== current && null !== current.memoizedState;
|
||||
if (finishedWork.mode & ConcurrentMode) {
|
||||
var prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden,
|
||||
prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
|
||||
offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden || i;
|
||||
offscreenSubtreeIsHidden =
|
||||
prevOffscreenSubtreeIsHidden || suspenseCallback;
|
||||
offscreenSubtreeWasHidden =
|
||||
prevOffscreenSubtreeWasHidden || retryQueue;
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
@@ -14118,10 +14125,10 @@ __DEV__ &&
|
||||
if (flags & 8192)
|
||||
a: for (
|
||||
root = finishedWork.stateNode,
|
||||
root._visibility = i
|
||||
root._visibility = suspenseCallback
|
||||
? root._visibility & ~OffscreenVisible
|
||||
: root._visibility | OffscreenVisible,
|
||||
i &&
|
||||
suspenseCallback &&
|
||||
(null === current ||
|
||||
retryQueue ||
|
||||
offscreenSubtreeIsHidden ||
|
||||
@@ -14138,7 +14145,7 @@ __DEV__ &&
|
||||
retryQueue = current = root;
|
||||
try {
|
||||
(hoistableRoot = retryQueue.stateNode),
|
||||
i
|
||||
suspenseCallback
|
||||
? runWithFiberInDEV(
|
||||
retryQueue,
|
||||
hideInstance,
|
||||
@@ -14162,17 +14169,17 @@ __DEV__ &&
|
||||
if (null === current) {
|
||||
retryQueue = root;
|
||||
try {
|
||||
(maybeNodes = retryQueue.stateNode),
|
||||
i
|
||||
(currentResource = retryQueue.stateNode),
|
||||
suspenseCallback
|
||||
? runWithFiberInDEV(
|
||||
retryQueue,
|
||||
hideTextInstance,
|
||||
maybeNodes
|
||||
currentResource
|
||||
)
|
||||
: runWithFiberInDEV(
|
||||
retryQueue,
|
||||
unhideTextInstance,
|
||||
maybeNodes,
|
||||
currentResource,
|
||||
retryQueue.memoizedProps
|
||||
);
|
||||
} catch (error) {
|
||||
@@ -14183,6 +14190,30 @@ __DEV__ &&
|
||||
);
|
||||
}
|
||||
}
|
||||
} else if (18 === root.tag) {
|
||||
if (null === current) {
|
||||
retryQueue = root;
|
||||
try {
|
||||
(maybeNodes = retryQueue.stateNode),
|
||||
suspenseCallback
|
||||
? runWithFiberInDEV(
|
||||
retryQueue,
|
||||
hideSuspenseBoundary,
|
||||
maybeNodes
|
||||
)
|
||||
: runWithFiberInDEV(
|
||||
retryQueue,
|
||||
unhideSuspenseBoundary,
|
||||
retryQueue.stateNode
|
||||
);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(
|
||||
retryQueue,
|
||||
retryQueue.return,
|
||||
error
|
||||
);
|
||||
}
|
||||
}
|
||||
} else if (
|
||||
((22 !== root.tag && 23 !== root.tag) ||
|
||||
null === root.memoizedState ||
|
||||
@@ -20380,6 +20411,37 @@ __DEV__ &&
|
||||
} while (node);
|
||||
retryIfBlockedOn(suspenseInstance);
|
||||
}
|
||||
function hideOrUnhideSuspenseBoundary(suspenseInstance, isHidden) {
|
||||
var node = suspenseInstance;
|
||||
suspenseInstance = 0;
|
||||
do {
|
||||
var nextNode = node.nextSibling;
|
||||
1 === node.nodeType
|
||||
? isHidden
|
||||
? ((node._stashedDisplay = node.style.display),
|
||||
(node.style.display = "none"))
|
||||
: ((node.style.display = node._stashedDisplay || ""),
|
||||
"" === node.getAttribute("style") &&
|
||||
node.removeAttribute("style"))
|
||||
: 3 === node.nodeType &&
|
||||
(isHidden
|
||||
? ((node._stashedText = node.nodeValue), (node.nodeValue = ""))
|
||||
: (node.nodeValue = node._stashedText || ""));
|
||||
if (nextNode && 8 === nextNode.nodeType)
|
||||
if (((node = nextNode.data), node === SUSPENSE_END_DATA))
|
||||
if (0 === suspenseInstance) break;
|
||||
else suspenseInstance--;
|
||||
else
|
||||
(node !== SUSPENSE_START_DATA &&
|
||||
node !== SUSPENSE_PENDING_START_DATA &&
|
||||
node !== SUSPENSE_FALLBACK_START_DATA) ||
|
||||
suspenseInstance++;
|
||||
node = nextNode;
|
||||
} while (node);
|
||||
}
|
||||
function hideSuspenseBoundary(suspenseInstance) {
|
||||
hideOrUnhideSuspenseBoundary(suspenseInstance, !0);
|
||||
}
|
||||
function hideInstance(instance) {
|
||||
instance = instance.style;
|
||||
"function" === typeof instance.setProperty
|
||||
@@ -20389,6 +20451,9 @@ __DEV__ &&
|
||||
function hideTextInstance(textInstance) {
|
||||
textInstance.nodeValue = "";
|
||||
}
|
||||
function unhideSuspenseBoundary(suspenseInstance) {
|
||||
hideOrUnhideSuspenseBoundary(suspenseInstance, !1);
|
||||
}
|
||||
function unhideInstance(instance, props) {
|
||||
props = props[STYLE];
|
||||
props =
|
||||
@@ -25829,11 +25894,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-b04254fd-20250415" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-ebf7318e-20250422" !== 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.2.0-native-fb-b04254fd-20250415\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-ebf7318e-20250422\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -25870,10 +25935,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-b04254fd-20250415",
|
||||
version: "19.2.0-native-fb-ebf7318e-20250422",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-b04254fd-20250415"
|
||||
reconcilerVersion: "19.2.0-native-fb-ebf7318e-20250422"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -26017,5 +26082,5 @@ __DEV__ &&
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-b04254fd-20250415";
|
||||
exports.version = "19.2.0-native-fb-ebf7318e-20250422";
|
||||
})();
|
||||
|
||||
compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js
Vendored
+49
-13
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<6bd4e8ce8017671956165315afaa7ceb>>
|
||||
* @generated SignedSource<<27c6fd481162e9971cf8888fbd80f7bf>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -10039,6 +10039,18 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
captureCommitPhaseError(retryQueue, retryQueue.return, error);
|
||||
}
|
||||
}
|
||||
} else if (18 === root.tag) {
|
||||
if (null === current) {
|
||||
retryQueue = root;
|
||||
try {
|
||||
var instance = retryQueue.stateNode;
|
||||
suspenseCallback
|
||||
? hideOrUnhideSuspenseBoundary(instance, !0)
|
||||
: hideOrUnhideSuspenseBoundary(retryQueue.stateNode, !1);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(retryQueue, retryQueue.return, error);
|
||||
}
|
||||
}
|
||||
} else if (
|
||||
((22 !== root.tag && 23 !== root.tag) ||
|
||||
null === root.memoizedState ||
|
||||
@@ -14329,6 +14341,30 @@ function clearSuspenseBoundary(parentInstance, suspenseInstance) {
|
||||
} while (node);
|
||||
retryIfBlockedOn(suspenseInstance);
|
||||
}
|
||||
function hideOrUnhideSuspenseBoundary(suspenseInstance, isHidden) {
|
||||
var node = suspenseInstance;
|
||||
suspenseInstance = 0;
|
||||
do {
|
||||
var nextNode = node.nextSibling;
|
||||
1 === node.nodeType
|
||||
? isHidden
|
||||
? ((node._stashedDisplay = node.style.display),
|
||||
(node.style.display = "none"))
|
||||
: ((node.style.display = node._stashedDisplay || ""),
|
||||
"" === node.getAttribute("style") && node.removeAttribute("style"))
|
||||
: 3 === node.nodeType &&
|
||||
(isHidden
|
||||
? ((node._stashedText = node.nodeValue), (node.nodeValue = ""))
|
||||
: (node.nodeValue = node._stashedText || ""));
|
||||
if (nextNode && 8 === nextNode.nodeType)
|
||||
if (((node = nextNode.data), "/$" === node))
|
||||
if (0 === suspenseInstance) break;
|
||||
else suspenseInstance--;
|
||||
else
|
||||
("$" !== node && "$?" !== node && "$!" !== node) || suspenseInstance++;
|
||||
node = nextNode;
|
||||
} while (node);
|
||||
}
|
||||
function clearContainerSparingly(container) {
|
||||
var nextNode = container.firstChild;
|
||||
nextNode && 10 === nextNode.nodeType && (nextNode = nextNode.nextSibling);
|
||||
@@ -16032,14 +16068,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1805 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-b04254fd-20250415" !==
|
||||
"19.2.0-native-fb-ebf7318e-20250422" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1805
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1805,
|
||||
"19.2.0-native-fb-b04254fd-20250415"
|
||||
"19.2.0-native-fb-ebf7318e-20250422"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -16059,24 +16095,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
null === componentOrElement ? null : componentOrElement.stateNode;
|
||||
return componentOrElement;
|
||||
};
|
||||
var internals$jscomp$inline_2261 = {
|
||||
var internals$jscomp$inline_2267 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-b04254fd-20250415",
|
||||
version: "19.2.0-native-fb-ebf7318e-20250422",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-b04254fd-20250415"
|
||||
reconcilerVersion: "19.2.0-native-fb-ebf7318e-20250422"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2262 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2268 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2262.isDisabled &&
|
||||
hook$jscomp$inline_2262.supportsFiber
|
||||
!hook$jscomp$inline_2268.isDisabled &&
|
||||
hook$jscomp$inline_2268.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2262.inject(
|
||||
internals$jscomp$inline_2261
|
||||
(rendererID = hook$jscomp$inline_2268.inject(
|
||||
internals$jscomp$inline_2267
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2262);
|
||||
(injectedHook = hook$jscomp$inline_2268);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createRoot = function (container, options) {
|
||||
@@ -16168,4 +16204,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-b04254fd-20250415";
|
||||
exports.version = "19.2.0-native-fb-ebf7318e-20250422";
|
||||
|
||||
+121
-80
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<b444ccc017848b4a09aa98b7f899f1ad>>
|
||||
* @generated SignedSource<<d7020526701f9de6b4a8d0b07a73b7bf>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -10194,58 +10194,57 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
(offscreenSubtreeWasHidden ||
|
||||
null === current ||
|
||||
safelyDetachRef(current, current.return));
|
||||
if (flags & 4)
|
||||
if (
|
||||
((root = null !== current ? current.memoizedState : null),
|
||||
(flags = finishedWork.memoizedState),
|
||||
null === current)
|
||||
)
|
||||
if (flags & 4) {
|
||||
var currentResource = null !== current ? current.memoizedState : null;
|
||||
flags = finishedWork.memoizedState;
|
||||
if (null === current)
|
||||
if (null === flags)
|
||||
if (null === finishedWork.stateNode) {
|
||||
a: {
|
||||
flags = finishedWork.type;
|
||||
current = finishedWork.memoizedProps;
|
||||
root = hoistableRoot.ownerDocument || hoistableRoot;
|
||||
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
|
||||
b: switch (flags) {
|
||||
case "title":
|
||||
hoistableRoot = root.getElementsByTagName("title")[0];
|
||||
currentResource =
|
||||
hoistableRoot.getElementsByTagName("title")[0];
|
||||
if (
|
||||
!hoistableRoot ||
|
||||
hoistableRoot[internalHoistableMarker] ||
|
||||
hoistableRoot[internalInstanceKey] ||
|
||||
!currentResource ||
|
||||
currentResource[internalHoistableMarker] ||
|
||||
currentResource[internalInstanceKey] ||
|
||||
"http://www.w3.org/2000/svg" ===
|
||||
hoistableRoot.namespaceURI ||
|
||||
hoistableRoot.hasAttribute("itemprop")
|
||||
currentResource.namespaceURI ||
|
||||
currentResource.hasAttribute("itemprop")
|
||||
)
|
||||
(hoistableRoot = root.createElement(flags)),
|
||||
root.head.insertBefore(
|
||||
hoistableRoot,
|
||||
root.querySelector("head > title")
|
||||
(currentResource = hoistableRoot.createElement(flags)),
|
||||
hoistableRoot.head.insertBefore(
|
||||
currentResource,
|
||||
hoistableRoot.querySelector("head > title")
|
||||
);
|
||||
setInitialProperties(hoistableRoot, flags, current);
|
||||
hoistableRoot[internalInstanceKey] = finishedWork;
|
||||
markNodeAsHoistable(hoistableRoot);
|
||||
flags = hoistableRoot;
|
||||
setInitialProperties(currentResource, flags, current);
|
||||
currentResource[internalInstanceKey] = finishedWork;
|
||||
markNodeAsHoistable(currentResource);
|
||||
flags = currentResource;
|
||||
break a;
|
||||
case "link":
|
||||
var maybeNodes = getHydratableHoistableCache(
|
||||
"link",
|
||||
"href",
|
||||
root
|
||||
hoistableRoot
|
||||
).get(flags + (current.href || ""));
|
||||
if (maybeNodes)
|
||||
for (var i = 0; i < maybeNodes.length; i++)
|
||||
if (
|
||||
((hoistableRoot = maybeNodes[i]),
|
||||
hoistableRoot.getAttribute("href") ===
|
||||
((currentResource = maybeNodes[i]),
|
||||
currentResource.getAttribute("href") ===
|
||||
(null == current.href || "" === current.href
|
||||
? null
|
||||
: current.href) &&
|
||||
hoistableRoot.getAttribute("rel") ===
|
||||
currentResource.getAttribute("rel") ===
|
||||
(null == current.rel ? null : current.rel) &&
|
||||
hoistableRoot.getAttribute("title") ===
|
||||
currentResource.getAttribute("title") ===
|
||||
(null == current.title ? null : current.title) &&
|
||||
hoistableRoot.getAttribute("crossorigin") ===
|
||||
currentResource.getAttribute("crossorigin") ===
|
||||
(null == current.crossOrigin
|
||||
? null
|
||||
: current.crossOrigin))
|
||||
@@ -10253,36 +10252,36 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
maybeNodes.splice(i, 1);
|
||||
break b;
|
||||
}
|
||||
hoistableRoot = root.createElement(flags);
|
||||
setInitialProperties(hoistableRoot, flags, current);
|
||||
root.head.appendChild(hoistableRoot);
|
||||
currentResource = hoistableRoot.createElement(flags);
|
||||
setInitialProperties(currentResource, flags, current);
|
||||
hoistableRoot.head.appendChild(currentResource);
|
||||
break;
|
||||
case "meta":
|
||||
if (
|
||||
(maybeNodes = getHydratableHoistableCache(
|
||||
"meta",
|
||||
"content",
|
||||
root
|
||||
hoistableRoot
|
||||
).get(flags + (current.content || "")))
|
||||
)
|
||||
for (i = 0; i < maybeNodes.length; i++)
|
||||
if (
|
||||
((hoistableRoot = maybeNodes[i]),
|
||||
hoistableRoot.getAttribute("content") ===
|
||||
((currentResource = maybeNodes[i]),
|
||||
currentResource.getAttribute("content") ===
|
||||
(null == current.content
|
||||
? null
|
||||
: "" + current.content) &&
|
||||
hoistableRoot.getAttribute("name") ===
|
||||
currentResource.getAttribute("name") ===
|
||||
(null == current.name ? null : current.name) &&
|
||||
hoistableRoot.getAttribute("property") ===
|
||||
currentResource.getAttribute("property") ===
|
||||
(null == current.property
|
||||
? null
|
||||
: current.property) &&
|
||||
hoistableRoot.getAttribute("http-equiv") ===
|
||||
currentResource.getAttribute("http-equiv") ===
|
||||
(null == current.httpEquiv
|
||||
? null
|
||||
: current.httpEquiv) &&
|
||||
hoistableRoot.getAttribute("charset") ===
|
||||
currentResource.getAttribute("charset") ===
|
||||
(null == current.charSet
|
||||
? null
|
||||
: current.charSet))
|
||||
@@ -10290,16 +10289,16 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
maybeNodes.splice(i, 1);
|
||||
break b;
|
||||
}
|
||||
hoistableRoot = root.createElement(flags);
|
||||
setInitialProperties(hoistableRoot, flags, current);
|
||||
root.head.appendChild(hoistableRoot);
|
||||
currentResource = hoistableRoot.createElement(flags);
|
||||
setInitialProperties(currentResource, flags, current);
|
||||
hoistableRoot.head.appendChild(currentResource);
|
||||
break;
|
||||
default:
|
||||
throw Error(formatProdErrorMessage(468, flags));
|
||||
}
|
||||
hoistableRoot[internalInstanceKey] = finishedWork;
|
||||
markNodeAsHoistable(hoistableRoot);
|
||||
flags = hoistableRoot;
|
||||
currentResource[internalInstanceKey] = finishedWork;
|
||||
markNodeAsHoistable(currentResource);
|
||||
flags = currentResource;
|
||||
}
|
||||
finishedWork.stateNode = flags;
|
||||
} else
|
||||
@@ -10315,12 +10314,12 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
finishedWork.memoizedProps
|
||||
);
|
||||
else
|
||||
root !== flags
|
||||
? (null === root
|
||||
currentResource !== flags
|
||||
? (null === currentResource
|
||||
? null !== current.stateNode &&
|
||||
((current = current.stateNode),
|
||||
current.parentNode.removeChild(current))
|
||||
: root.count--,
|
||||
: currentResource.count--,
|
||||
null === flags
|
||||
? mountHoistable(
|
||||
hoistableRoot,
|
||||
@@ -10339,6 +10338,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
finishedWork.memoizedProps,
|
||||
current.memoizedProps
|
||||
);
|
||||
}
|
||||
break;
|
||||
case 27:
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
@@ -10363,20 +10363,20 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
null === current ||
|
||||
safelyDetachRef(current, current.return));
|
||||
if (finishedWork.flags & 32) {
|
||||
root = finishedWork.stateNode;
|
||||
hoistableRoot = finishedWork.stateNode;
|
||||
try {
|
||||
setTextContent(root, "");
|
||||
setTextContent(hoistableRoot, "");
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
}
|
||||
}
|
||||
flags & 4 &&
|
||||
null != finishedWork.stateNode &&
|
||||
((root = finishedWork.memoizedProps),
|
||||
((hoistableRoot = finishedWork.memoizedProps),
|
||||
commitHostUpdate(
|
||||
finishedWork,
|
||||
root,
|
||||
null !== current ? current.memoizedProps : root
|
||||
hoistableRoot,
|
||||
null !== current ? current.memoizedProps : hoistableRoot
|
||||
));
|
||||
flags & 1024 && (needsFormReset = !0);
|
||||
break;
|
||||
@@ -10398,10 +10398,10 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
case 3:
|
||||
hoistableRoot = pushNestedEffectDurations();
|
||||
tagCaches = null;
|
||||
maybeNodes = currentHoistableRoot;
|
||||
currentResource = currentHoistableRoot;
|
||||
currentHoistableRoot = getHoistableRoot(root.containerInfo);
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
currentHoistableRoot = maybeNodes;
|
||||
currentHoistableRoot = currentResource;
|
||||
commitReconciliationEffects(finishedWork);
|
||||
if (flags & 4 && null !== current && current.memoizedState.isDehydrated)
|
||||
try {
|
||||
@@ -10433,11 +10433,14 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
commitReconciliationEffects(finishedWork);
|
||||
finishedWork.child.flags & 8192 &&
|
||||
((root = null !== finishedWork.memoizedState),
|
||||
((hoistableRoot = null !== finishedWork.memoizedState),
|
||||
(current = null !== current && null !== current.memoizedState),
|
||||
alwaysThrottleRetries
|
||||
? root !== current && (globalMostRecentFallbackTime = now$1())
|
||||
: root && !current && (globalMostRecentFallbackTime = now$1()));
|
||||
? hoistableRoot !== current &&
|
||||
(globalMostRecentFallbackTime = now$1())
|
||||
: hoistableRoot &&
|
||||
!current &&
|
||||
(globalMostRecentFallbackTime = now$1()));
|
||||
if (flags & 4) {
|
||||
try {
|
||||
if (null !== finishedWork.memoizedState) {
|
||||
@@ -10493,20 +10496,22 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
retryQueue = current = root;
|
||||
try {
|
||||
if (((hoistableRoot = retryQueue.stateNode), suspenseCallback))
|
||||
(maybeNodes = hoistableRoot.style),
|
||||
"function" === typeof maybeNodes.setProperty
|
||||
? maybeNodes.setProperty("display", "none", "important")
|
||||
: (maybeNodes.display = "none");
|
||||
(currentResource = hoistableRoot.style),
|
||||
"function" === typeof currentResource.setProperty
|
||||
? currentResource.setProperty(
|
||||
"display",
|
||||
"none",
|
||||
"important"
|
||||
)
|
||||
: (currentResource.display = "none");
|
||||
else {
|
||||
i = retryQueue.stateNode;
|
||||
var styleProp = retryQueue.memoizedProps.style,
|
||||
display =
|
||||
void 0 !== styleProp &&
|
||||
null !== styleProp &&
|
||||
styleProp.hasOwnProperty("display")
|
||||
? styleProp.display
|
||||
: null;
|
||||
i.style.display =
|
||||
maybeNodes = retryQueue.stateNode;
|
||||
i = retryQueue.memoizedProps.style;
|
||||
var display =
|
||||
void 0 !== i && null !== i && i.hasOwnProperty("display")
|
||||
? i.display
|
||||
: null;
|
||||
maybeNodes.style.display =
|
||||
null == display || "boolean" === typeof display
|
||||
? ""
|
||||
: ("" + display).trim();
|
||||
@@ -10526,6 +10531,18 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
captureCommitPhaseError(retryQueue, retryQueue.return, error);
|
||||
}
|
||||
}
|
||||
} else if (18 === root.tag) {
|
||||
if (null === current) {
|
||||
retryQueue = root;
|
||||
try {
|
||||
var instance = retryQueue.stateNode;
|
||||
suspenseCallback
|
||||
? hideOrUnhideSuspenseBoundary(instance, !0)
|
||||
: hideOrUnhideSuspenseBoundary(retryQueue.stateNode, !1);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(retryQueue, retryQueue.return, error);
|
||||
}
|
||||
}
|
||||
} else if (
|
||||
((22 !== root.tag && 23 !== root.tag) ||
|
||||
null === root.memoizedState ||
|
||||
@@ -15006,6 +15023,30 @@ function clearSuspenseBoundary(parentInstance, suspenseInstance) {
|
||||
} while (node);
|
||||
retryIfBlockedOn(suspenseInstance);
|
||||
}
|
||||
function hideOrUnhideSuspenseBoundary(suspenseInstance, isHidden) {
|
||||
var node = suspenseInstance;
|
||||
suspenseInstance = 0;
|
||||
do {
|
||||
var nextNode = node.nextSibling;
|
||||
1 === node.nodeType
|
||||
? isHidden
|
||||
? ((node._stashedDisplay = node.style.display),
|
||||
(node.style.display = "none"))
|
||||
: ((node.style.display = node._stashedDisplay || ""),
|
||||
"" === node.getAttribute("style") && node.removeAttribute("style"))
|
||||
: 3 === node.nodeType &&
|
||||
(isHidden
|
||||
? ((node._stashedText = node.nodeValue), (node.nodeValue = ""))
|
||||
: (node.nodeValue = node._stashedText || ""));
|
||||
if (nextNode && 8 === nextNode.nodeType)
|
||||
if (((node = nextNode.data), "/$" === node))
|
||||
if (0 === suspenseInstance) break;
|
||||
else suspenseInstance--;
|
||||
else
|
||||
("$" !== node && "$?" !== node && "$!" !== node) || suspenseInstance++;
|
||||
node = nextNode;
|
||||
} while (node);
|
||||
}
|
||||
function clearContainerSparingly(container) {
|
||||
var nextNode = container.firstChild;
|
||||
nextNode && 10 === nextNode.nodeType && (nextNode = nextNode.nextSibling);
|
||||
@@ -16717,14 +16758,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1902 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-b04254fd-20250415" !==
|
||||
"19.2.0-native-fb-ebf7318e-20250422" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1902
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1902,
|
||||
"19.2.0-native-fb-b04254fd-20250415"
|
||||
"19.2.0-native-fb-ebf7318e-20250422"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -16746,10 +16787,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_1909 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-b04254fd-20250415",
|
||||
version: "19.2.0-native-fb-ebf7318e-20250422",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-b04254fd-20250415",
|
||||
reconcilerVersion: "19.2.0-native-fb-ebf7318e-20250422",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$297 = 0;
|
||||
@@ -16767,16 +16808,16 @@ var internals$jscomp$inline_1909 = {
|
||||
}
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2323 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2329 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2323.isDisabled &&
|
||||
hook$jscomp$inline_2323.supportsFiber
|
||||
!hook$jscomp$inline_2329.isDisabled &&
|
||||
hook$jscomp$inline_2329.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2323.inject(
|
||||
(rendererID = hook$jscomp$inline_2329.inject(
|
||||
internals$jscomp$inline_1909
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2323);
|
||||
(injectedHook = hook$jscomp$inline_2329);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createRoot = function (container, options) {
|
||||
@@ -16868,4 +16909,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-b04254fd-20250415";
|
||||
exports.version = "19.2.0-native-fb-ebf7318e-20250422";
|
||||
|
||||
+303
-238
File diff suppressed because it is too large
Load Diff
+49
-13
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<68c81e4fb928a3f466375784e887ebfa>>
|
||||
* @generated SignedSource<<acdde4a372fd1e9a0a62374e97dc9590>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -10039,6 +10039,18 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
captureCommitPhaseError(retryQueue, retryQueue.return, error);
|
||||
}
|
||||
}
|
||||
} else if (18 === root.tag) {
|
||||
if (null === current) {
|
||||
retryQueue = root;
|
||||
try {
|
||||
var instance = retryQueue.stateNode;
|
||||
suspenseCallback
|
||||
? hideOrUnhideSuspenseBoundary(instance, !0)
|
||||
: hideOrUnhideSuspenseBoundary(retryQueue.stateNode, !1);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(retryQueue, retryQueue.return, error);
|
||||
}
|
||||
}
|
||||
} else if (
|
||||
((22 !== root.tag && 23 !== root.tag) ||
|
||||
null === root.memoizedState ||
|
||||
@@ -14329,6 +14341,30 @@ function clearSuspenseBoundary(parentInstance, suspenseInstance) {
|
||||
} while (node);
|
||||
retryIfBlockedOn(suspenseInstance);
|
||||
}
|
||||
function hideOrUnhideSuspenseBoundary(suspenseInstance, isHidden) {
|
||||
var node = suspenseInstance;
|
||||
suspenseInstance = 0;
|
||||
do {
|
||||
var nextNode = node.nextSibling;
|
||||
1 === node.nodeType
|
||||
? isHidden
|
||||
? ((node._stashedDisplay = node.style.display),
|
||||
(node.style.display = "none"))
|
||||
: ((node.style.display = node._stashedDisplay || ""),
|
||||
"" === node.getAttribute("style") && node.removeAttribute("style"))
|
||||
: 3 === node.nodeType &&
|
||||
(isHidden
|
||||
? ((node._stashedText = node.nodeValue), (node.nodeValue = ""))
|
||||
: (node.nodeValue = node._stashedText || ""));
|
||||
if (nextNode && 8 === nextNode.nodeType)
|
||||
if (((node = nextNode.data), "/$" === node))
|
||||
if (0 === suspenseInstance) break;
|
||||
else suspenseInstance--;
|
||||
else
|
||||
("$" !== node && "$?" !== node && "$!" !== node) || suspenseInstance++;
|
||||
node = nextNode;
|
||||
} while (node);
|
||||
}
|
||||
function clearContainerSparingly(container) {
|
||||
var nextNode = container.firstChild;
|
||||
nextNode && 10 === nextNode.nodeType && (nextNode = nextNode.nextSibling);
|
||||
@@ -16043,14 +16079,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1806 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-b04254fd-20250415" !==
|
||||
"19.2.0-native-fb-ebf7318e-20250422" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1806
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1806,
|
||||
"19.2.0-native-fb-b04254fd-20250415"
|
||||
"19.2.0-native-fb-ebf7318e-20250422"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -16070,24 +16106,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
null === componentOrElement ? null : componentOrElement.stateNode;
|
||||
return componentOrElement;
|
||||
};
|
||||
var internals$jscomp$inline_2264 = {
|
||||
var internals$jscomp$inline_2270 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-b04254fd-20250415",
|
||||
version: "19.2.0-native-fb-ebf7318e-20250422",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-b04254fd-20250415"
|
||||
reconcilerVersion: "19.2.0-native-fb-ebf7318e-20250422"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2265 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2271 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2265.isDisabled &&
|
||||
hook$jscomp$inline_2265.supportsFiber
|
||||
!hook$jscomp$inline_2271.isDisabled &&
|
||||
hook$jscomp$inline_2271.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2265.inject(
|
||||
internals$jscomp$inline_2264
|
||||
(rendererID = hook$jscomp$inline_2271.inject(
|
||||
internals$jscomp$inline_2270
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2265);
|
||||
(injectedHook = hook$jscomp$inline_2271);
|
||||
} catch (err) {}
|
||||
}
|
||||
function noop() {}
|
||||
@@ -16333,4 +16369,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-b04254fd-20250415";
|
||||
exports.version = "19.2.0-native-fb-ebf7318e-20250422";
|
||||
|
||||
+121
-80
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<e8183574b6c2d38792f7c30636c8527c>>
|
||||
* @generated SignedSource<<556894fc1f93981c5aff1ab2f4b64474>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -10198,58 +10198,57 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
(offscreenSubtreeWasHidden ||
|
||||
null === current ||
|
||||
safelyDetachRef(current, current.return));
|
||||
if (flags & 4)
|
||||
if (
|
||||
((root = null !== current ? current.memoizedState : null),
|
||||
(flags = finishedWork.memoizedState),
|
||||
null === current)
|
||||
)
|
||||
if (flags & 4) {
|
||||
var currentResource = null !== current ? current.memoizedState : null;
|
||||
flags = finishedWork.memoizedState;
|
||||
if (null === current)
|
||||
if (null === flags)
|
||||
if (null === finishedWork.stateNode) {
|
||||
a: {
|
||||
flags = finishedWork.type;
|
||||
current = finishedWork.memoizedProps;
|
||||
root = hoistableRoot.ownerDocument || hoistableRoot;
|
||||
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
|
||||
b: switch (flags) {
|
||||
case "title":
|
||||
hoistableRoot = root.getElementsByTagName("title")[0];
|
||||
currentResource =
|
||||
hoistableRoot.getElementsByTagName("title")[0];
|
||||
if (
|
||||
!hoistableRoot ||
|
||||
hoistableRoot[internalHoistableMarker] ||
|
||||
hoistableRoot[internalInstanceKey] ||
|
||||
!currentResource ||
|
||||
currentResource[internalHoistableMarker] ||
|
||||
currentResource[internalInstanceKey] ||
|
||||
"http://www.w3.org/2000/svg" ===
|
||||
hoistableRoot.namespaceURI ||
|
||||
hoistableRoot.hasAttribute("itemprop")
|
||||
currentResource.namespaceURI ||
|
||||
currentResource.hasAttribute("itemprop")
|
||||
)
|
||||
(hoistableRoot = root.createElement(flags)),
|
||||
root.head.insertBefore(
|
||||
hoistableRoot,
|
||||
root.querySelector("head > title")
|
||||
(currentResource = hoistableRoot.createElement(flags)),
|
||||
hoistableRoot.head.insertBefore(
|
||||
currentResource,
|
||||
hoistableRoot.querySelector("head > title")
|
||||
);
|
||||
setInitialProperties(hoistableRoot, flags, current);
|
||||
hoistableRoot[internalInstanceKey] = finishedWork;
|
||||
markNodeAsHoistable(hoistableRoot);
|
||||
flags = hoistableRoot;
|
||||
setInitialProperties(currentResource, flags, current);
|
||||
currentResource[internalInstanceKey] = finishedWork;
|
||||
markNodeAsHoistable(currentResource);
|
||||
flags = currentResource;
|
||||
break a;
|
||||
case "link":
|
||||
var maybeNodes = getHydratableHoistableCache(
|
||||
"link",
|
||||
"href",
|
||||
root
|
||||
hoistableRoot
|
||||
).get(flags + (current.href || ""));
|
||||
if (maybeNodes)
|
||||
for (var i = 0; i < maybeNodes.length; i++)
|
||||
if (
|
||||
((hoistableRoot = maybeNodes[i]),
|
||||
hoistableRoot.getAttribute("href") ===
|
||||
((currentResource = maybeNodes[i]),
|
||||
currentResource.getAttribute("href") ===
|
||||
(null == current.href || "" === current.href
|
||||
? null
|
||||
: current.href) &&
|
||||
hoistableRoot.getAttribute("rel") ===
|
||||
currentResource.getAttribute("rel") ===
|
||||
(null == current.rel ? null : current.rel) &&
|
||||
hoistableRoot.getAttribute("title") ===
|
||||
currentResource.getAttribute("title") ===
|
||||
(null == current.title ? null : current.title) &&
|
||||
hoistableRoot.getAttribute("crossorigin") ===
|
||||
currentResource.getAttribute("crossorigin") ===
|
||||
(null == current.crossOrigin
|
||||
? null
|
||||
: current.crossOrigin))
|
||||
@@ -10257,36 +10256,36 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
maybeNodes.splice(i, 1);
|
||||
break b;
|
||||
}
|
||||
hoistableRoot = root.createElement(flags);
|
||||
setInitialProperties(hoistableRoot, flags, current);
|
||||
root.head.appendChild(hoistableRoot);
|
||||
currentResource = hoistableRoot.createElement(flags);
|
||||
setInitialProperties(currentResource, flags, current);
|
||||
hoistableRoot.head.appendChild(currentResource);
|
||||
break;
|
||||
case "meta":
|
||||
if (
|
||||
(maybeNodes = getHydratableHoistableCache(
|
||||
"meta",
|
||||
"content",
|
||||
root
|
||||
hoistableRoot
|
||||
).get(flags + (current.content || "")))
|
||||
)
|
||||
for (i = 0; i < maybeNodes.length; i++)
|
||||
if (
|
||||
((hoistableRoot = maybeNodes[i]),
|
||||
hoistableRoot.getAttribute("content") ===
|
||||
((currentResource = maybeNodes[i]),
|
||||
currentResource.getAttribute("content") ===
|
||||
(null == current.content
|
||||
? null
|
||||
: "" + current.content) &&
|
||||
hoistableRoot.getAttribute("name") ===
|
||||
currentResource.getAttribute("name") ===
|
||||
(null == current.name ? null : current.name) &&
|
||||
hoistableRoot.getAttribute("property") ===
|
||||
currentResource.getAttribute("property") ===
|
||||
(null == current.property
|
||||
? null
|
||||
: current.property) &&
|
||||
hoistableRoot.getAttribute("http-equiv") ===
|
||||
currentResource.getAttribute("http-equiv") ===
|
||||
(null == current.httpEquiv
|
||||
? null
|
||||
: current.httpEquiv) &&
|
||||
hoistableRoot.getAttribute("charset") ===
|
||||
currentResource.getAttribute("charset") ===
|
||||
(null == current.charSet
|
||||
? null
|
||||
: current.charSet))
|
||||
@@ -10294,16 +10293,16 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
maybeNodes.splice(i, 1);
|
||||
break b;
|
||||
}
|
||||
hoistableRoot = root.createElement(flags);
|
||||
setInitialProperties(hoistableRoot, flags, current);
|
||||
root.head.appendChild(hoistableRoot);
|
||||
currentResource = hoistableRoot.createElement(flags);
|
||||
setInitialProperties(currentResource, flags, current);
|
||||
hoistableRoot.head.appendChild(currentResource);
|
||||
break;
|
||||
default:
|
||||
throw Error(formatProdErrorMessage(468, flags));
|
||||
}
|
||||
hoistableRoot[internalInstanceKey] = finishedWork;
|
||||
markNodeAsHoistable(hoistableRoot);
|
||||
flags = hoistableRoot;
|
||||
currentResource[internalInstanceKey] = finishedWork;
|
||||
markNodeAsHoistable(currentResource);
|
||||
flags = currentResource;
|
||||
}
|
||||
finishedWork.stateNode = flags;
|
||||
} else
|
||||
@@ -10319,12 +10318,12 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
finishedWork.memoizedProps
|
||||
);
|
||||
else
|
||||
root !== flags
|
||||
? (null === root
|
||||
currentResource !== flags
|
||||
? (null === currentResource
|
||||
? null !== current.stateNode &&
|
||||
((current = current.stateNode),
|
||||
current.parentNode.removeChild(current))
|
||||
: root.count--,
|
||||
: currentResource.count--,
|
||||
null === flags
|
||||
? mountHoistable(
|
||||
hoistableRoot,
|
||||
@@ -10343,6 +10342,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
finishedWork.memoizedProps,
|
||||
current.memoizedProps
|
||||
);
|
||||
}
|
||||
break;
|
||||
case 27:
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
@@ -10367,20 +10367,20 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
null === current ||
|
||||
safelyDetachRef(current, current.return));
|
||||
if (finishedWork.flags & 32) {
|
||||
root = finishedWork.stateNode;
|
||||
hoistableRoot = finishedWork.stateNode;
|
||||
try {
|
||||
setTextContent(root, "");
|
||||
setTextContent(hoistableRoot, "");
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
}
|
||||
}
|
||||
flags & 4 &&
|
||||
null != finishedWork.stateNode &&
|
||||
((root = finishedWork.memoizedProps),
|
||||
((hoistableRoot = finishedWork.memoizedProps),
|
||||
commitHostUpdate(
|
||||
finishedWork,
|
||||
root,
|
||||
null !== current ? current.memoizedProps : root
|
||||
hoistableRoot,
|
||||
null !== current ? current.memoizedProps : hoistableRoot
|
||||
));
|
||||
flags & 1024 && (needsFormReset = !0);
|
||||
break;
|
||||
@@ -10402,10 +10402,10 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
case 3:
|
||||
hoistableRoot = pushNestedEffectDurations();
|
||||
tagCaches = null;
|
||||
maybeNodes = currentHoistableRoot;
|
||||
currentResource = currentHoistableRoot;
|
||||
currentHoistableRoot = getHoistableRoot(root.containerInfo);
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
currentHoistableRoot = maybeNodes;
|
||||
currentHoistableRoot = currentResource;
|
||||
commitReconciliationEffects(finishedWork);
|
||||
if (flags & 4 && null !== current && current.memoizedState.isDehydrated)
|
||||
try {
|
||||
@@ -10437,11 +10437,14 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
commitReconciliationEffects(finishedWork);
|
||||
finishedWork.child.flags & 8192 &&
|
||||
((root = null !== finishedWork.memoizedState),
|
||||
((hoistableRoot = null !== finishedWork.memoizedState),
|
||||
(current = null !== current && null !== current.memoizedState),
|
||||
alwaysThrottleRetries
|
||||
? root !== current && (globalMostRecentFallbackTime = now$1())
|
||||
: root && !current && (globalMostRecentFallbackTime = now$1()));
|
||||
? hoistableRoot !== current &&
|
||||
(globalMostRecentFallbackTime = now$1())
|
||||
: hoistableRoot &&
|
||||
!current &&
|
||||
(globalMostRecentFallbackTime = now$1()));
|
||||
if (flags & 4) {
|
||||
try {
|
||||
if (null !== finishedWork.memoizedState) {
|
||||
@@ -10497,20 +10500,22 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
retryQueue = current = root;
|
||||
try {
|
||||
if (((hoistableRoot = retryQueue.stateNode), suspenseCallback))
|
||||
(maybeNodes = hoistableRoot.style),
|
||||
"function" === typeof maybeNodes.setProperty
|
||||
? maybeNodes.setProperty("display", "none", "important")
|
||||
: (maybeNodes.display = "none");
|
||||
(currentResource = hoistableRoot.style),
|
||||
"function" === typeof currentResource.setProperty
|
||||
? currentResource.setProperty(
|
||||
"display",
|
||||
"none",
|
||||
"important"
|
||||
)
|
||||
: (currentResource.display = "none");
|
||||
else {
|
||||
i = retryQueue.stateNode;
|
||||
var styleProp = retryQueue.memoizedProps.style,
|
||||
display =
|
||||
void 0 !== styleProp &&
|
||||
null !== styleProp &&
|
||||
styleProp.hasOwnProperty("display")
|
||||
? styleProp.display
|
||||
: null;
|
||||
i.style.display =
|
||||
maybeNodes = retryQueue.stateNode;
|
||||
i = retryQueue.memoizedProps.style;
|
||||
var display =
|
||||
void 0 !== i && null !== i && i.hasOwnProperty("display")
|
||||
? i.display
|
||||
: null;
|
||||
maybeNodes.style.display =
|
||||
null == display || "boolean" === typeof display
|
||||
? ""
|
||||
: ("" + display).trim();
|
||||
@@ -10530,6 +10535,18 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
captureCommitPhaseError(retryQueue, retryQueue.return, error);
|
||||
}
|
||||
}
|
||||
} else if (18 === root.tag) {
|
||||
if (null === current) {
|
||||
retryQueue = root;
|
||||
try {
|
||||
var instance = retryQueue.stateNode;
|
||||
suspenseCallback
|
||||
? hideOrUnhideSuspenseBoundary(instance, !0)
|
||||
: hideOrUnhideSuspenseBoundary(retryQueue.stateNode, !1);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(retryQueue, retryQueue.return, error);
|
||||
}
|
||||
}
|
||||
} else if (
|
||||
((22 !== root.tag && 23 !== root.tag) ||
|
||||
null === root.memoizedState ||
|
||||
@@ -15010,6 +15027,30 @@ function clearSuspenseBoundary(parentInstance, suspenseInstance) {
|
||||
} while (node);
|
||||
retryIfBlockedOn(suspenseInstance);
|
||||
}
|
||||
function hideOrUnhideSuspenseBoundary(suspenseInstance, isHidden) {
|
||||
var node = suspenseInstance;
|
||||
suspenseInstance = 0;
|
||||
do {
|
||||
var nextNode = node.nextSibling;
|
||||
1 === node.nodeType
|
||||
? isHidden
|
||||
? ((node._stashedDisplay = node.style.display),
|
||||
(node.style.display = "none"))
|
||||
: ((node.style.display = node._stashedDisplay || ""),
|
||||
"" === node.getAttribute("style") && node.removeAttribute("style"))
|
||||
: 3 === node.nodeType &&
|
||||
(isHidden
|
||||
? ((node._stashedText = node.nodeValue), (node.nodeValue = ""))
|
||||
: (node.nodeValue = node._stashedText || ""));
|
||||
if (nextNode && 8 === nextNode.nodeType)
|
||||
if (((node = nextNode.data), "/$" === node))
|
||||
if (0 === suspenseInstance) break;
|
||||
else suspenseInstance--;
|
||||
else
|
||||
("$" !== node && "$?" !== node && "$!" !== node) || suspenseInstance++;
|
||||
node = nextNode;
|
||||
} while (node);
|
||||
}
|
||||
function clearContainerSparingly(container) {
|
||||
var nextNode = container.firstChild;
|
||||
nextNode && 10 === nextNode.nodeType && (nextNode = nextNode.nextSibling);
|
||||
@@ -16732,14 +16773,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1903 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-b04254fd-20250415" !==
|
||||
"19.2.0-native-fb-ebf7318e-20250422" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1903
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1903,
|
||||
"19.2.0-native-fb-b04254fd-20250415"
|
||||
"19.2.0-native-fb-ebf7318e-20250422"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -16761,10 +16802,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_1910 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-b04254fd-20250415",
|
||||
version: "19.2.0-native-fb-ebf7318e-20250422",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-b04254fd-20250415",
|
||||
reconcilerVersion: "19.2.0-native-fb-ebf7318e-20250422",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$297 = 0;
|
||||
@@ -16782,16 +16823,16 @@ var internals$jscomp$inline_1910 = {
|
||||
}
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2326 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2332 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2326.isDisabled &&
|
||||
hook$jscomp$inline_2326.supportsFiber
|
||||
!hook$jscomp$inline_2332.isDisabled &&
|
||||
hook$jscomp$inline_2332.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2326.inject(
|
||||
(rendererID = hook$jscomp$inline_2332.inject(
|
||||
internals$jscomp$inline_1910
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2326);
|
||||
(injectedHook = hook$jscomp$inline_2332);
|
||||
} catch (err) {}
|
||||
}
|
||||
function noop() {}
|
||||
@@ -17037,7 +17078,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-b04254fd-20250415";
|
||||
exports.version = "19.2.0-native-fb-ebf7318e-20250422";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+26
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<afaf39b3888b49a7bdefd30c3649bdea>>
|
||||
* @generated SignedSource<<e70c276d08c28c80a31aaa8e1f1972b5>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -10133,6 +10133,26 @@ __DEV__ &&
|
||||
captureCommitPhaseError(wasHidden, wasHidden.return, error);
|
||||
}
|
||||
}
|
||||
} else if (18 === root.tag) {
|
||||
if (null === current) {
|
||||
wasHidden = root;
|
||||
try {
|
||||
var instance$jscomp$0 = wasHidden.stateNode;
|
||||
existingHiddenCallbacks
|
||||
? runWithFiberInDEV(
|
||||
wasHidden,
|
||||
hideSuspenseBoundary,
|
||||
instance$jscomp$0
|
||||
)
|
||||
: runWithFiberInDEV(
|
||||
wasHidden,
|
||||
unhideSuspenseBoundary,
|
||||
wasHidden.stateNode
|
||||
);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(wasHidden, wasHidden.return, error);
|
||||
}
|
||||
}
|
||||
} else if (
|
||||
((22 !== root.tag && 23 !== root.tag) ||
|
||||
null === root.memoizedState ||
|
||||
@@ -13473,6 +13493,8 @@ __DEV__ &&
|
||||
registerSuspenseInstanceRetry = shim$1,
|
||||
clearSuspenseBoundary = shim$1,
|
||||
clearSuspenseBoundaryFromContainer = shim$1,
|
||||
hideSuspenseBoundary = shim$1,
|
||||
unhideSuspenseBoundary = shim$1,
|
||||
preloadResource = shim,
|
||||
suspendResource = shim,
|
||||
NO_CONTEXT = {},
|
||||
@@ -15421,10 +15443,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-b04254fd-20250415",
|
||||
version: "19.2.0-native-fb-ebf7318e-20250422",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-b04254fd-20250415"
|
||||
reconcilerVersion: "19.2.0-native-fb-ebf7318e-20250422"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15569,5 +15591,5 @@ __DEV__ &&
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-b04254fd-20250415";
|
||||
exports.version = "19.2.0-native-fb-ebf7318e-20250422";
|
||||
})();
|
||||
|
||||
+23
-11
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<cc1023ecfab9061f4e71037d823be3dc>>
|
||||
* @generated SignedSource<<1feb9271652b8172725ce33cc8d8b1dd>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -7195,6 +7195,18 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
captureCommitPhaseError(wasHidden, wasHidden.return, error);
|
||||
}
|
||||
}
|
||||
} else if (18 === root.tag) {
|
||||
if (null === current) {
|
||||
wasHidden = root;
|
||||
try {
|
||||
var instance$jscomp$0 = wasHidden.stateNode;
|
||||
instance
|
||||
? shim$1(instance$jscomp$0)
|
||||
: shim$1(wasHidden.stateNode);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(wasHidden, wasHidden.return, error);
|
||||
}
|
||||
}
|
||||
} else if (
|
||||
((22 !== root.tag && 23 !== root.tag) ||
|
||||
null === root.memoizedState ||
|
||||
@@ -9715,24 +9727,24 @@ function wrapFiber(fiber) {
|
||||
fiberToWrapper.set(fiber, wrapper));
|
||||
return wrapper;
|
||||
}
|
||||
var internals$jscomp$inline_1416 = {
|
||||
var internals$jscomp$inline_1422 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-b04254fd-20250415",
|
||||
version: "19.2.0-native-fb-ebf7318e-20250422",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-b04254fd-20250415"
|
||||
reconcilerVersion: "19.2.0-native-fb-ebf7318e-20250422"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1417 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1423 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1417.isDisabled &&
|
||||
hook$jscomp$inline_1417.supportsFiber
|
||||
!hook$jscomp$inline_1423.isDisabled &&
|
||||
hook$jscomp$inline_1423.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1417.inject(
|
||||
internals$jscomp$inline_1416
|
||||
(rendererID = hook$jscomp$inline_1423.inject(
|
||||
internals$jscomp$inline_1422
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1417);
|
||||
(injectedHook = hook$jscomp$inline_1423);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports._Scheduler = Scheduler;
|
||||
@@ -9856,4 +9868,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-b04254fd-20250415";
|
||||
exports.version = "19.2.0-native-fb-ebf7318e-20250422";
|
||||
|
||||
+21
-9
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<d36342229196f791f2a65da16515ff91>>
|
||||
* @generated SignedSource<<b4c7e868aa7726c6f7a881db3e803555>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -7628,6 +7628,18 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
captureCommitPhaseError(wasHidden, wasHidden.return, error);
|
||||
}
|
||||
}
|
||||
} else if (18 === current.tag) {
|
||||
if (null === root) {
|
||||
wasHidden = current;
|
||||
try {
|
||||
var instance$jscomp$0 = wasHidden.stateNode;
|
||||
instance
|
||||
? shim$1(instance$jscomp$0)
|
||||
: shim$1(wasHidden.stateNode);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(wasHidden, wasHidden.return, error);
|
||||
}
|
||||
}
|
||||
} else if (
|
||||
((22 !== current.tag && 23 !== current.tag) ||
|
||||
null === current.memoizedState ||
|
||||
@@ -10325,10 +10337,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1229 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-b04254fd-20250415",
|
||||
version: "19.2.0-native-fb-ebf7318e-20250422",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-b04254fd-20250415",
|
||||
reconcilerVersion: "19.2.0-native-fb-ebf7318e-20250422",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$148 = 0;
|
||||
@@ -10346,16 +10358,16 @@ var internals$jscomp$inline_1229 = {
|
||||
}
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1476 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1482 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1476.isDisabled &&
|
||||
hook$jscomp$inline_1476.supportsFiber
|
||||
!hook$jscomp$inline_1482.isDisabled &&
|
||||
hook$jscomp$inline_1482.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1476.inject(
|
||||
(rendererID = hook$jscomp$inline_1482.inject(
|
||||
internals$jscomp$inline_1229
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1476);
|
||||
(injectedHook = hook$jscomp$inline_1482);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports._Scheduler = Scheduler;
|
||||
@@ -10479,4 +10491,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-b04254fd-20250415";
|
||||
exports.version = "19.2.0-native-fb-ebf7318e-20250422";
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4a3f8c565c4626105ffbcf63a406c6a1>>
|
||||
* @generated SignedSource<<90488b02444e8fbb55822e2132c88fc7>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1412,7 +1412,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-b04254fd-20250415";
|
||||
exports.version = "19.2.0-native-fb-ebf7318e-20250422";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<13c708e0a0f13ace40c161320575b94c>>
|
||||
* @generated SignedSource<<3998ba9ee94a1c42a9ed1fe9e73283e2>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -587,4 +587,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-b04254fd-20250415";
|
||||
exports.version = "19.2.0-native-fb-ebf7318e-20250422";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<4a717f7dc9f5faf8c612f040c192f8c8>>
|
||||
* @generated SignedSource<<3d0b7c188ac20a613fe888f924c66510>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -591,7 +591,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-b04254fd-20250415";
|
||||
exports.version = "19.2.0-native-fb-ebf7318e-20250422";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
b04254fdcee30871760301f34236ee0dfadf86ab
|
||||
ebf7318e87cf2e10b6bd9a6bb0ad8bf6f6186f80
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<7463a7944db60d0011f918875877c316>>
|
||||
* @generated SignedSource<<21daa8ecaad7c5edbf710dd39dbda75f>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -17160,10 +17160,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-b04254fd-20250415",
|
||||
version: "19.2.0-native-fb-ebf7318e-20250422",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-b04254fd-20250415"
|
||||
reconcilerVersion: "19.2.0-native-fb-ebf7318e-20250422"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<72b53fb44edd48928b71bd3879f84d83>>
|
||||
* @generated SignedSource<<cea7abf92ef1152ba617622dfabfc213>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -10939,10 +10939,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1223 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-b04254fd-20250415",
|
||||
version: "19.2.0-native-fb-ebf7318e-20250422",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-b04254fd-20250415"
|
||||
reconcilerVersion: "19.2.0-native-fb-ebf7318e-20250422"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1223.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<6d73418dc811f76c9517bfb4764e8074>>
|
||||
* @generated SignedSource<<dc4f6eb9dcaec6654fe77b6b76b2105a>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11631,10 +11631,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1318 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-b04254fd-20250415",
|
||||
version: "19.2.0-native-fb-ebf7318e-20250422",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-b04254fd-20250415"
|
||||
reconcilerVersion: "19.2.0-native-fb-ebf7318e-20250422"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1318.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+83
-37
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<2384872a2240a79f09a5d3d000b519f6>>
|
||||
* @generated SignedSource<<dc7bd96f495789abc601302fd6b9c066>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -11014,15 +11014,19 @@ __DEV__ &&
|
||||
(offscreenSubtreeWasHidden ||
|
||||
null === current ||
|
||||
safelyDetachRef(current, current.return));
|
||||
flags & 64 &&
|
||||
if (
|
||||
flags & 64 &&
|
||||
offscreenSubtreeIsHidden &&
|
||||
((finishedWork = finishedWork.updateQueue),
|
||||
null !== finishedWork &&
|
||||
((flags = finishedWork.callbacks),
|
||||
null !== flags &&
|
||||
((current = finishedWork.shared.hiddenCallbacks),
|
||||
(finishedWork.shared.hiddenCallbacks =
|
||||
null === current ? flags : current.concat(flags)))));
|
||||
((flags = finishedWork.callbacks), null !== flags))
|
||||
) {
|
||||
var existingHiddenCallbacks = finishedWork.shared.hiddenCallbacks;
|
||||
finishedWork.shared.hiddenCallbacks =
|
||||
null === existingHiddenCallbacks
|
||||
? flags
|
||||
: existingHiddenCallbacks.concat(flags);
|
||||
}
|
||||
break;
|
||||
case 26:
|
||||
case 27:
|
||||
@@ -11034,24 +11038,31 @@ __DEV__ &&
|
||||
null === current ||
|
||||
safelyDetachRef(current, current.return));
|
||||
if (finishedWork.flags & 32) {
|
||||
var instance = finishedWork.stateNode;
|
||||
existingHiddenCallbacks = finishedWork.stateNode;
|
||||
try {
|
||||
runWithFiberInDEV(finishedWork, resetTextContent, instance);
|
||||
runWithFiberInDEV(
|
||||
finishedWork,
|
||||
resetTextContent,
|
||||
existingHiddenCallbacks
|
||||
);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
}
|
||||
}
|
||||
if (flags & 4 && null != finishedWork.stateNode) {
|
||||
instance = finishedWork.memoizedProps;
|
||||
current = null !== current ? current.memoizedProps : instance;
|
||||
existingHiddenCallbacks = finishedWork.memoizedProps;
|
||||
var _oldProps =
|
||||
null !== current
|
||||
? current.memoizedProps
|
||||
: existingHiddenCallbacks;
|
||||
try {
|
||||
runWithFiberInDEV(
|
||||
finishedWork,
|
||||
commitUpdate,
|
||||
finishedWork.stateNode,
|
||||
finishedWork.type,
|
||||
current,
|
||||
instance,
|
||||
_oldProps,
|
||||
existingHiddenCallbacks,
|
||||
finishedWork
|
||||
);
|
||||
} catch (error) {
|
||||
@@ -11073,14 +11084,15 @@ __DEV__ &&
|
||||
"This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue."
|
||||
);
|
||||
flags = finishedWork.memoizedProps;
|
||||
current = null !== current ? current.memoizedProps : flags;
|
||||
instance = finishedWork.stateNode;
|
||||
existingHiddenCallbacks =
|
||||
null !== current ? current.memoizedProps : flags;
|
||||
_oldProps = finishedWork.stateNode;
|
||||
try {
|
||||
runWithFiberInDEV(
|
||||
finishedWork,
|
||||
commitTextUpdate,
|
||||
instance,
|
||||
current,
|
||||
_oldProps,
|
||||
existingHiddenCallbacks,
|
||||
flags
|
||||
);
|
||||
} catch (error) {
|
||||
@@ -11109,12 +11121,13 @@ __DEV__ &&
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
commitReconciliationEffects(finishedWork);
|
||||
finishedWork.child.flags & 8192 &&
|
||||
((instance = null !== finishedWork.memoizedState),
|
||||
(current = null !== current && null !== current.memoizedState),
|
||||
((existingHiddenCallbacks = null !== finishedWork.memoizedState),
|
||||
(_oldProps = null !== current && null !== current.memoizedState),
|
||||
alwaysThrottleRetries
|
||||
? instance !== current && (globalMostRecentFallbackTime = now$1())
|
||||
: instance &&
|
||||
!current &&
|
||||
? existingHiddenCallbacks !== _oldProps &&
|
||||
(globalMostRecentFallbackTime = now$1())
|
||||
: existingHiddenCallbacks &&
|
||||
!_oldProps &&
|
||||
(globalMostRecentFallbackTime = now$1()));
|
||||
if (flags & 4) {
|
||||
try {
|
||||
@@ -11174,9 +11187,13 @@ __DEV__ &&
|
||||
if (null === current) {
|
||||
retryQueue = current = root;
|
||||
try {
|
||||
(instance = retryQueue.stateNode),
|
||||
(existingHiddenCallbacks = retryQueue.stateNode),
|
||||
suspenseCallback
|
||||
? runWithFiberInDEV(retryQueue, hideInstance, instance)
|
||||
? runWithFiberInDEV(
|
||||
retryQueue,
|
||||
hideInstance,
|
||||
existingHiddenCallbacks
|
||||
)
|
||||
: runWithFiberInDEV(
|
||||
retryQueue,
|
||||
unhideInstance,
|
||||
@@ -11195,18 +11212,42 @@ __DEV__ &&
|
||||
if (null === current) {
|
||||
retryQueue = root;
|
||||
try {
|
||||
var instance$jscomp$0 = retryQueue.stateNode;
|
||||
(_oldProps = retryQueue.stateNode),
|
||||
suspenseCallback
|
||||
? runWithFiberInDEV(
|
||||
retryQueue,
|
||||
hideTextInstance,
|
||||
_oldProps
|
||||
)
|
||||
: runWithFiberInDEV(
|
||||
retryQueue,
|
||||
unhideTextInstance,
|
||||
_oldProps,
|
||||
retryQueue.memoizedProps
|
||||
);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(
|
||||
retryQueue,
|
||||
retryQueue.return,
|
||||
error
|
||||
);
|
||||
}
|
||||
}
|
||||
} else if (18 === root.tag) {
|
||||
if (null === current) {
|
||||
retryQueue = root;
|
||||
try {
|
||||
var instance = retryQueue.stateNode;
|
||||
suspenseCallback
|
||||
? runWithFiberInDEV(
|
||||
retryQueue,
|
||||
hideTextInstance,
|
||||
instance$jscomp$0
|
||||
hideSuspenseBoundary,
|
||||
instance
|
||||
)
|
||||
: runWithFiberInDEV(
|
||||
retryQueue,
|
||||
unhideTextInstance,
|
||||
instance$jscomp$0,
|
||||
retryQueue.memoizedProps
|
||||
unhideSuspenseBoundary,
|
||||
retryQueue.stateNode
|
||||
);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(
|
||||
@@ -11240,10 +11281,13 @@ __DEV__ &&
|
||||
flags & 4 &&
|
||||
((flags = finishedWork.updateQueue),
|
||||
null !== flags &&
|
||||
((current = flags.retryQueue),
|
||||
null !== current &&
|
||||
((existingHiddenCallbacks = flags.retryQueue),
|
||||
null !== existingHiddenCallbacks &&
|
||||
((flags.retryQueue = null),
|
||||
attachSuspenseRetryListeners(finishedWork, current))));
|
||||
attachSuspenseRetryListeners(
|
||||
finishedWork,
|
||||
existingHiddenCallbacks
|
||||
))));
|
||||
break;
|
||||
case 19:
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
@@ -15426,6 +15470,8 @@ __DEV__ &&
|
||||
registerSuspenseInstanceRetry = shim$1,
|
||||
clearSuspenseBoundary = shim$1,
|
||||
clearSuspenseBoundaryFromContainer = shim$1,
|
||||
hideSuspenseBoundary = shim$1,
|
||||
unhideSuspenseBoundary = shim$1,
|
||||
preloadResource = shim,
|
||||
suspendResource = shim,
|
||||
extraDevToolsConfig = {
|
||||
@@ -17331,11 +17377,11 @@ __DEV__ &&
|
||||
shouldSuspendImpl = newShouldSuspendImpl;
|
||||
};
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-b04254fd-20250415" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-ebf7318e-20250422" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-b04254fd-20250415\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-ebf7318e-20250422\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -17361,10 +17407,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-b04254fd-20250415",
|
||||
version: "19.2.0-native-fb-ebf7318e-20250422",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-b04254fd-20250415"
|
||||
reconcilerVersion: "19.2.0-native-fb-ebf7318e-20250422"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+22
-10
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<dea36fce334b99a1221f083fb8c9664f>>
|
||||
* @generated SignedSource<<c69b8abc7efe7211a7ea1fb8f71f8265>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -8760,6 +8760,18 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
captureCommitPhaseError(viewConfig, viewConfig.return, error);
|
||||
}
|
||||
}
|
||||
} else if (18 === root.tag) {
|
||||
if (null === current) {
|
||||
viewConfig = root;
|
||||
try {
|
||||
var instance$jscomp$1 = viewConfig.stateNode;
|
||||
instance
|
||||
? shim$1(instance$jscomp$1)
|
||||
: shim$1(viewConfig.stateNode);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(viewConfig, viewConfig.return, error);
|
||||
}
|
||||
}
|
||||
} else if (
|
||||
((22 !== root.tag && 23 !== root.tag) ||
|
||||
null === root.memoizedState ||
|
||||
@@ -11029,11 +11041,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-b04254fd-20250415" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-ebf7318e-20250422" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-b04254fd-20250415\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-ebf7318e-20250422\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11082,24 +11094,24 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1286 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-b04254fd-20250415",
|
||||
version: "19.2.0-native-fb-ebf7318e-20250422",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-b04254fd-20250415"
|
||||
reconcilerVersion: "19.2.0-native-fb-ebf7318e-20250422"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1286.rendererConfig = extraDevToolsConfig);
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1621 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1627 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1621.isDisabled &&
|
||||
hook$jscomp$inline_1621.supportsFiber
|
||||
!hook$jscomp$inline_1627.isDisabled &&
|
||||
hook$jscomp$inline_1627.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1621.inject(
|
||||
(rendererID = hook$jscomp$inline_1627.inject(
|
||||
internals$jscomp$inline_1286
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1621);
|
||||
(injectedHook = hook$jscomp$inline_1627);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createPortal = function (children, containerTag) {
|
||||
|
||||
+22
-10
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<490f62323b4736e9c3be4a6fce61e09b>>
|
||||
* @generated SignedSource<<13574f21eb3367061178647a0cd5d092>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -9239,6 +9239,18 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
captureCommitPhaseError(viewConfig, viewConfig.return, error);
|
||||
}
|
||||
}
|
||||
} else if (18 === root.tag) {
|
||||
if (null === current) {
|
||||
viewConfig = root;
|
||||
try {
|
||||
var instance$jscomp$1 = viewConfig.stateNode;
|
||||
instance
|
||||
? shim$1(instance$jscomp$1)
|
||||
: shim$1(viewConfig.stateNode);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(viewConfig, viewConfig.return, error);
|
||||
}
|
||||
}
|
||||
} else if (
|
||||
((22 !== root.tag && 23 !== root.tag) ||
|
||||
null === root.memoizedState ||
|
||||
@@ -11719,11 +11731,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-b04254fd-20250415" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-ebf7318e-20250422" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-b04254fd-20250415\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-ebf7318e-20250422\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11772,10 +11784,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1381 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-b04254fd-20250415",
|
||||
version: "19.2.0-native-fb-ebf7318e-20250422",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-b04254fd-20250415"
|
||||
reconcilerVersion: "19.2.0-native-fb-ebf7318e-20250422"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1381.rendererConfig = extraDevToolsConfig);
|
||||
@@ -11795,16 +11807,16 @@ internals$jscomp$inline_1381.injectProfilingHooks = function (profilingHooks) {
|
||||
injectedProfilingHooks = profilingHooks;
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1682 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1688 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1682.isDisabled &&
|
||||
hook$jscomp$inline_1682.supportsFiber
|
||||
!hook$jscomp$inline_1688.isDisabled &&
|
||||
hook$jscomp$inline_1688.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1682.inject(
|
||||
(rendererID = hook$jscomp$inline_1688.inject(
|
||||
internals$jscomp$inline_1381
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1682);
|
||||
(injectedHook = hook$jscomp$inline_1688);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createPortal = function (children, containerTag) {
|
||||
|
||||
Reference in New Issue
Block a user