mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Register Suspense retry handlers in commit phase (#31667)
To avoid GC pressure and accidentally hanging onto old trees Suspense
boundary retries are now implemented in the commit phase. I used the
Callback flag which was previously only used to schedule callbacks for
Class components. This isn't quite semantically equivalent but it's
unused and seemingly compatible.
DiffTrain build for [de68d2f4a2](https://github.com/facebook/react/commit/de68d2f4a2403ad1ef46a3036ddc1f9080640588)
This commit is contained in:
@@ -1 +1 @@
|
||||
19.0.0-native-fb-16d2bbbd-20241203
|
||||
19.0.0-native-fb-de68d2f4-20241204
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<cbb4fb73c9e1ccc01854e808c548f830>>
|
||||
* @generated SignedSource<<160a11128267704309b6ab8a4178e177>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -420,5 +420,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-16d2bbbd-20241203";
|
||||
exports.version = "19.0.0-native-fb-de68d2f4-20241204";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<239a11226e90f84bbe038aeaaca66638>>
|
||||
* @generated SignedSource<<4ab67f1597a97138a25ba4aa51a83988>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-16d2bbbd-20241203";
|
||||
exports.version = "19.0.0-native-fb-de68d2f4-20241204";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<239a11226e90f84bbe038aeaaca66638>>
|
||||
* @generated SignedSource<<4ab67f1597a97138a25ba4aa51a83988>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-16d2bbbd-20241203";
|
||||
exports.version = "19.0.0-native-fb-de68d2f4-20241204";
|
||||
|
||||
Vendored
+197
-191
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<3457ec330ccd38a6ce5c9561cb60bf76>>
|
||||
* @generated SignedSource<<cd64d01e66b344949b063ad934308ad1>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -9134,32 +9134,32 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2380;
|
||||
var JSCompiler_object_inline_stack_2381 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2379;
|
||||
var JSCompiler_object_inline_stack_2380 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_componentStack_2382 = !1;
|
||||
var JSCompiler_object_inline_componentStack_2381 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2380 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2380 =
|
||||
(JSCompiler_object_inline_digest_2379 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2379 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2380 &&
|
||||
((JSCompiler_object_inline_componentStack_2382 = !0),
|
||||
JSCompiler_object_inline_digest_2379 &&
|
||||
((JSCompiler_object_inline_componentStack_2381 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2380 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2379 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_componentStack_2382
|
||||
JSCompiler_object_inline_componentStack_2381
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
if (isHydrating) {
|
||||
var JSCompiler_object_inline_message_2379 = nextHydratableInstance;
|
||||
var JSCompiler_object_inline_message_2378 = nextHydratableInstance;
|
||||
var JSCompiler_temp;
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2379)) {
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2378)) {
|
||||
c: {
|
||||
var instance = JSCompiler_object_inline_message_2379;
|
||||
var instance = JSCompiler_object_inline_message_2378;
|
||||
for (
|
||||
JSCompiler_temp = rootOrSingletonContext;
|
||||
8 !== instance.nodeType;
|
||||
@@ -9200,89 +9200,89 @@ __DEV__ &&
|
||||
JSCompiler_temp &&
|
||||
(warnNonHydratedInstance(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2379
|
||||
JSCompiler_object_inline_message_2378
|
||||
),
|
||||
throwOnHydrationMismatch(workInProgress));
|
||||
}
|
||||
JSCompiler_object_inline_message_2379 = workInProgress.memoizedState;
|
||||
JSCompiler_object_inline_message_2378 = workInProgress.memoizedState;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_message_2379 &&
|
||||
((JSCompiler_object_inline_message_2379 =
|
||||
JSCompiler_object_inline_message_2379.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2379)
|
||||
null !== JSCompiler_object_inline_message_2378 &&
|
||||
((JSCompiler_object_inline_message_2378 =
|
||||
JSCompiler_object_inline_message_2378.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2378)
|
||||
)
|
||||
return (
|
||||
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2379)
|
||||
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2378)
|
||||
? (workInProgress.lanes = 16)
|
||||
: (workInProgress.lanes = 536870912),
|
||||
null
|
||||
);
|
||||
popSuspenseHandler(workInProgress);
|
||||
}
|
||||
JSCompiler_object_inline_message_2379 =
|
||||
JSCompiler_object_inline_stack_2381.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2381.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2382)
|
||||
JSCompiler_object_inline_message_2378 =
|
||||
JSCompiler_object_inline_stack_2380.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2380.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2381)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2381 =
|
||||
(JSCompiler_object_inline_stack_2380 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2379,
|
||||
JSCompiler_object_inline_message_2378,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2382 =
|
||||
(JSCompiler_object_inline_componentStack_2381 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2382.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2381.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2382.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2381.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2380,
|
||||
JSCompiler_object_inline_digest_2379,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2381
|
||||
JSCompiler_object_inline_stack_2380
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2381.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2380.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2381 =
|
||||
(JSCompiler_object_inline_stack_2380 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2379,
|
||||
JSCompiler_object_inline_message_2378,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2382 =
|
||||
(JSCompiler_object_inline_componentStack_2381 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2382.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2381.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2382.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2381.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2380,
|
||||
JSCompiler_object_inline_digest_2379,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
JSCompiler_object_inline_stack_2381
|
||||
JSCompiler_object_inline_stack_2380
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2379
|
||||
JSCompiler_object_inline_message_2378
|
||||
);
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (
|
||||
null !== prevState &&
|
||||
((JSCompiler_object_inline_message_2379 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2379)
|
||||
((JSCompiler_object_inline_message_2378 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2378)
|
||||
) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
@@ -9299,32 +9299,32 @@ __DEV__ &&
|
||||
(workInProgress.flags |= 128),
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2382 =
|
||||
JSCompiler_object_inline_stack_2381.fallback),
|
||||
(JSCompiler_object_inline_message_2379 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2381 = createFiberFromOffscreen(
|
||||
(JSCompiler_object_inline_componentStack_2381 =
|
||||
JSCompiler_object_inline_stack_2380.fallback),
|
||||
(JSCompiler_object_inline_message_2378 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2380 = createFiberFromOffscreen(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2381.children
|
||||
children: JSCompiler_object_inline_stack_2380.children
|
||||
},
|
||||
JSCompiler_object_inline_message_2379,
|
||||
JSCompiler_object_inline_message_2378,
|
||||
0,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2382 =
|
||||
(JSCompiler_object_inline_componentStack_2381 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2382,
|
||||
JSCompiler_object_inline_message_2379,
|
||||
JSCompiler_object_inline_componentStack_2381,
|
||||
JSCompiler_object_inline_message_2378,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2382.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2381.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2382.return =
|
||||
(JSCompiler_object_inline_componentStack_2381.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2380.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2381.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2381.sibling =
|
||||
JSCompiler_object_inline_componentStack_2382),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2381),
|
||||
(JSCompiler_object_inline_stack_2380.sibling =
|
||||
JSCompiler_object_inline_componentStack_2381),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2380),
|
||||
(workInProgress.mode & ConcurrentMode) !== NoMode &&
|
||||
reconcileChildFibers(
|
||||
workInProgress,
|
||||
@@ -9332,63 +9332,63 @@ __DEV__ &&
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2381 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2381.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2380 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2380.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2381.childLanes =
|
||||
(JSCompiler_object_inline_stack_2380.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2380,
|
||||
JSCompiler_object_inline_digest_2379,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress =
|
||||
JSCompiler_object_inline_componentStack_2382));
|
||||
JSCompiler_object_inline_componentStack_2381));
|
||||
else if (
|
||||
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
isHydrating &&
|
||||
error$jscomp$0(
|
||||
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
||||
),
|
||||
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2379))
|
||||
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2378))
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2380 =
|
||||
JSCompiler_object_inline_message_2379.nextSibling &&
|
||||
JSCompiler_object_inline_message_2379.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2380) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2380.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2380.msg;
|
||||
instance = JSCompiler_object_inline_digest_2380.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2380.cstck;
|
||||
JSCompiler_object_inline_digest_2379 =
|
||||
JSCompiler_object_inline_message_2378.nextSibling &&
|
||||
JSCompiler_object_inline_message_2378.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2379) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2379.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2379.msg;
|
||||
instance = JSCompiler_object_inline_digest_2379.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2379.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2379 = message;
|
||||
JSCompiler_object_inline_digest_2380 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2381 = instance;
|
||||
JSCompiler_temp = JSCompiler_object_inline_componentStack_2382 =
|
||||
JSCompiler_object_inline_message_2378 = message;
|
||||
JSCompiler_object_inline_digest_2379 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2380 = instance;
|
||||
JSCompiler_temp = JSCompiler_object_inline_componentStack_2381 =
|
||||
componentStack;
|
||||
JSCompiler_object_inline_componentStack_2382 =
|
||||
JSCompiler_object_inline_message_2379
|
||||
? Error(JSCompiler_object_inline_message_2379)
|
||||
JSCompiler_object_inline_componentStack_2381 =
|
||||
JSCompiler_object_inline_message_2378
|
||||
? Error(JSCompiler_object_inline_message_2378)
|
||||
: 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_2382.stack =
|
||||
JSCompiler_object_inline_stack_2381 || "";
|
||||
JSCompiler_object_inline_componentStack_2382.digest =
|
||||
JSCompiler_object_inline_digest_2380;
|
||||
JSCompiler_object_inline_digest_2380 =
|
||||
JSCompiler_object_inline_componentStack_2381.stack =
|
||||
JSCompiler_object_inline_stack_2380 || "";
|
||||
JSCompiler_object_inline_componentStack_2381.digest =
|
||||
JSCompiler_object_inline_digest_2379;
|
||||
JSCompiler_object_inline_digest_2379 =
|
||||
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2381 = {
|
||||
value: JSCompiler_object_inline_componentStack_2382,
|
||||
JSCompiler_object_inline_stack_2380 = {
|
||||
value: JSCompiler_object_inline_componentStack_2381,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2380
|
||||
stack: JSCompiler_object_inline_digest_2379
|
||||
};
|
||||
"string" === typeof JSCompiler_object_inline_digest_2380 &&
|
||||
"string" === typeof JSCompiler_object_inline_digest_2379 &&
|
||||
CapturedStacks.set(
|
||||
JSCompiler_object_inline_componentStack_2382,
|
||||
JSCompiler_object_inline_stack_2381
|
||||
JSCompiler_object_inline_componentStack_2381,
|
||||
JSCompiler_object_inline_stack_2380
|
||||
);
|
||||
queueHydrationError(JSCompiler_object_inline_stack_2381);
|
||||
queueHydrationError(JSCompiler_object_inline_stack_2380);
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -9402,25 +9402,25 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2380 =
|
||||
(JSCompiler_object_inline_digest_2379 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2380)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2379)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2380 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2380) {
|
||||
JSCompiler_object_inline_stack_2381 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2381 & 42))
|
||||
JSCompiler_object_inline_stack_2381 = 1;
|
||||
JSCompiler_object_inline_digest_2379 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2379) {
|
||||
JSCompiler_object_inline_stack_2380 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2380 & 42))
|
||||
JSCompiler_object_inline_stack_2380 = 1;
|
||||
else
|
||||
switch (JSCompiler_object_inline_stack_2381) {
|
||||
switch (JSCompiler_object_inline_stack_2380) {
|
||||
case 2:
|
||||
JSCompiler_object_inline_stack_2381 = 1;
|
||||
JSCompiler_object_inline_stack_2380 = 1;
|
||||
break;
|
||||
case 8:
|
||||
JSCompiler_object_inline_stack_2381 = 4;
|
||||
JSCompiler_object_inline_stack_2380 = 4;
|
||||
break;
|
||||
case 32:
|
||||
JSCompiler_object_inline_stack_2381 = 16;
|
||||
JSCompiler_object_inline_stack_2380 = 16;
|
||||
break;
|
||||
case 128:
|
||||
case 256:
|
||||
@@ -9441,40 +9441,40 @@ __DEV__ &&
|
||||
case 8388608:
|
||||
case 16777216:
|
||||
case 33554432:
|
||||
JSCompiler_object_inline_stack_2381 = 64;
|
||||
JSCompiler_object_inline_stack_2380 = 64;
|
||||
break;
|
||||
case 268435456:
|
||||
JSCompiler_object_inline_stack_2381 = 134217728;
|
||||
JSCompiler_object_inline_stack_2380 = 134217728;
|
||||
break;
|
||||
default:
|
||||
JSCompiler_object_inline_stack_2381 = 0;
|
||||
JSCompiler_object_inline_stack_2380 = 0;
|
||||
}
|
||||
JSCompiler_object_inline_stack_2381 =
|
||||
JSCompiler_object_inline_stack_2380 =
|
||||
0 !==
|
||||
(JSCompiler_object_inline_stack_2381 &
|
||||
(JSCompiler_object_inline_digest_2380.suspendedLanes |
|
||||
(JSCompiler_object_inline_stack_2380 &
|
||||
(JSCompiler_object_inline_digest_2379.suspendedLanes |
|
||||
renderLanes))
|
||||
? 0
|
||||
: JSCompiler_object_inline_stack_2381;
|
||||
: JSCompiler_object_inline_stack_2380;
|
||||
if (
|
||||
0 !== JSCompiler_object_inline_stack_2381 &&
|
||||
JSCompiler_object_inline_stack_2381 !== prevState.retryLane
|
||||
0 !== JSCompiler_object_inline_stack_2380 &&
|
||||
JSCompiler_object_inline_stack_2380 !== prevState.retryLane
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2381),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2380),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2381
|
||||
JSCompiler_object_inline_stack_2380
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2380,
|
||||
JSCompiler_object_inline_digest_2379,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2381
|
||||
JSCompiler_object_inline_stack_2380
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
}
|
||||
JSCompiler_object_inline_message_2379.data ===
|
||||
JSCompiler_object_inline_message_2378.data ===
|
||||
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9482,22 +9482,14 @@ __DEV__ &&
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
JSCompiler_object_inline_message_2379.data ===
|
||||
JSCompiler_object_inline_message_2378.data ===
|
||||
SUSPENSE_PENDING_START_DATA
|
||||
? ((workInProgress.flags |= 128),
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
(workInProgress = retryDehydratedSuspenseBoundary.bind(
|
||||
null,
|
||||
current
|
||||
)),
|
||||
registerSuspenseInstanceRetry(
|
||||
JSCompiler_object_inline_message_2379,
|
||||
workInProgress
|
||||
),
|
||||
(workInProgress = null))
|
||||
: ((renderLanes = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_message_2379.nextSibling
|
||||
JSCompiler_object_inline_message_2378.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -9515,72 +9507,72 @@ __DEV__ &&
|
||||
(treeContextProvider = workInProgress)),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2381.children
|
||||
JSCompiler_object_inline_stack_2380.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
if (JSCompiler_object_inline_componentStack_2382)
|
||||
if (JSCompiler_object_inline_componentStack_2381)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2382 =
|
||||
JSCompiler_object_inline_stack_2381.fallback),
|
||||
(JSCompiler_object_inline_message_2379 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_componentStack_2381 =
|
||||
JSCompiler_object_inline_stack_2380.fallback),
|
||||
(JSCompiler_object_inline_message_2378 = workInProgress.mode),
|
||||
(JSCompiler_temp = current.child),
|
||||
(instance = JSCompiler_temp.sibling),
|
||||
(componentStack = {
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2381.children
|
||||
children: JSCompiler_object_inline_stack_2380.children
|
||||
}),
|
||||
(JSCompiler_object_inline_message_2379 & ConcurrentMode) === NoMode &&
|
||||
(JSCompiler_object_inline_message_2378 & ConcurrentMode) === NoMode &&
|
||||
workInProgress.child !== JSCompiler_temp
|
||||
? ((JSCompiler_object_inline_stack_2381 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2381.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2381.pendingProps =
|
||||
? ((JSCompiler_object_inline_stack_2380 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2380.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2380.pendingProps =
|
||||
componentStack),
|
||||
workInProgress.mode & ProfileMode &&
|
||||
((JSCompiler_object_inline_stack_2381.actualDuration = -0),
|
||||
(JSCompiler_object_inline_stack_2381.actualStartTime = -1.1),
|
||||
(JSCompiler_object_inline_stack_2381.selfBaseDuration =
|
||||
((JSCompiler_object_inline_stack_2380.actualDuration = -0),
|
||||
(JSCompiler_object_inline_stack_2380.actualStartTime = -1.1),
|
||||
(JSCompiler_object_inline_stack_2380.selfBaseDuration =
|
||||
JSCompiler_temp.selfBaseDuration),
|
||||
(JSCompiler_object_inline_stack_2381.treeBaseDuration =
|
||||
(JSCompiler_object_inline_stack_2380.treeBaseDuration =
|
||||
JSCompiler_temp.treeBaseDuration)),
|
||||
(workInProgress.deletions = null))
|
||||
: ((JSCompiler_object_inline_stack_2381 = createWorkInProgress(
|
||||
: ((JSCompiler_object_inline_stack_2380 = createWorkInProgress(
|
||||
JSCompiler_temp,
|
||||
componentStack
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2381.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2380.subtreeFlags =
|
||||
JSCompiler_temp.subtreeFlags & 31457280)),
|
||||
null !== instance
|
||||
? (JSCompiler_object_inline_componentStack_2382 =
|
||||
? (JSCompiler_object_inline_componentStack_2381 =
|
||||
createWorkInProgress(
|
||||
instance,
|
||||
JSCompiler_object_inline_componentStack_2382
|
||||
JSCompiler_object_inline_componentStack_2381
|
||||
))
|
||||
: ((JSCompiler_object_inline_componentStack_2382 =
|
||||
: ((JSCompiler_object_inline_componentStack_2381 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2382,
|
||||
JSCompiler_object_inline_message_2379,
|
||||
JSCompiler_object_inline_componentStack_2381,
|
||||
JSCompiler_object_inline_message_2378,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2382.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2382.return =
|
||||
(JSCompiler_object_inline_componentStack_2381.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2381.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2381.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2381.sibling =
|
||||
JSCompiler_object_inline_componentStack_2382),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2381),
|
||||
(JSCompiler_object_inline_stack_2381 =
|
||||
JSCompiler_object_inline_componentStack_2382),
|
||||
(JSCompiler_object_inline_componentStack_2382 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2379 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2379
|
||||
? (JSCompiler_object_inline_message_2379 =
|
||||
(JSCompiler_object_inline_stack_2380.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2380.sibling =
|
||||
JSCompiler_object_inline_componentStack_2381),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2380),
|
||||
(JSCompiler_object_inline_stack_2380 =
|
||||
JSCompiler_object_inline_componentStack_2381),
|
||||
(JSCompiler_object_inline_componentStack_2381 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2378 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2378
|
||||
? (JSCompiler_object_inline_message_2378 =
|
||||
mountSuspenseOffscreenState(renderLanes))
|
||||
: ((JSCompiler_temp =
|
||||
JSCompiler_object_inline_message_2379.cachePool),
|
||||
JSCompiler_object_inline_message_2378.cachePool),
|
||||
null !== JSCompiler_temp
|
||||
? ((instance = CacheContext._currentValue),
|
||||
(JSCompiler_temp =
|
||||
@@ -9588,45 +9580,45 @@ __DEV__ &&
|
||||
? { parent: instance, pool: instance }
|
||||
: JSCompiler_temp))
|
||||
: (JSCompiler_temp = getSuspendedCache()),
|
||||
(JSCompiler_object_inline_message_2379 = {
|
||||
(JSCompiler_object_inline_message_2378 = {
|
||||
baseLanes:
|
||||
JSCompiler_object_inline_message_2379.baseLanes | renderLanes,
|
||||
JSCompiler_object_inline_message_2378.baseLanes | renderLanes,
|
||||
cachePool: JSCompiler_temp
|
||||
})),
|
||||
(JSCompiler_object_inline_componentStack_2382.memoizedState =
|
||||
JSCompiler_object_inline_message_2379),
|
||||
(JSCompiler_object_inline_componentStack_2382.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2381.memoizedState =
|
||||
JSCompiler_object_inline_message_2378),
|
||||
(JSCompiler_object_inline_componentStack_2381.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2380,
|
||||
JSCompiler_object_inline_digest_2379,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2381
|
||||
JSCompiler_object_inline_stack_2380
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
JSCompiler_object_inline_digest_2380 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2380.sibling;
|
||||
JSCompiler_object_inline_digest_2380 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2380,
|
||||
JSCompiler_object_inline_digest_2379 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2379.sibling;
|
||||
JSCompiler_object_inline_digest_2379 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2379,
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2381.children
|
||||
children: JSCompiler_object_inline_stack_2380.children
|
||||
}
|
||||
);
|
||||
(workInProgress.mode & ConcurrentMode) === NoMode &&
|
||||
(JSCompiler_object_inline_digest_2380.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2380.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2380.sibling = null;
|
||||
(JSCompiler_object_inline_digest_2379.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2379.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2379.sibling = null;
|
||||
null !== current &&
|
||||
((renderLanes = workInProgress.deletions),
|
||||
null === renderLanes
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: renderLanes.push(current));
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2380;
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2379;
|
||||
workInProgress.memoizedState = null;
|
||||
return JSCompiler_object_inline_digest_2380;
|
||||
return JSCompiler_object_inline_digest_2379;
|
||||
}
|
||||
function mountSuspensePrimaryChildren(workInProgress, primaryChildren) {
|
||||
primaryChildren = createFiberFromOffscreen(
|
||||
@@ -12234,6 +12226,16 @@ __DEV__ &&
|
||||
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
flags & 4 &&
|
||||
commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);
|
||||
flags & 64 &&
|
||||
((finishedRoot = finishedWork.memoizedState),
|
||||
null !== finishedRoot &&
|
||||
((finishedRoot = finishedRoot.dehydrated),
|
||||
null !== finishedRoot &&
|
||||
((finishedWork = retryDehydratedSuspenseBoundary.bind(
|
||||
null,
|
||||
finishedWork
|
||||
)),
|
||||
registerSuspenseInstanceRetry(finishedRoot, finishedWork))));
|
||||
break;
|
||||
case 22:
|
||||
if ((finishedWork.mode & ConcurrentMode) !== NoMode) {
|
||||
@@ -20249,15 +20251,19 @@ __DEV__ &&
|
||||
}
|
||||
function registerSuspenseInstanceRetry(instance, callback) {
|
||||
var ownerDocument = instance.ownerDocument;
|
||||
ownerDocument.readyState !== DOCUMENT_READY_STATE_COMPLETE &&
|
||||
ownerDocument.addEventListener(
|
||||
"DOMContentLoaded",
|
||||
function () {
|
||||
instance.data === SUSPENSE_PENDING_START_DATA && callback();
|
||||
},
|
||||
{ once: !0 }
|
||||
);
|
||||
instance._reactRetry = callback;
|
||||
if (
|
||||
instance.data !== SUSPENSE_PENDING_START_DATA ||
|
||||
ownerDocument.readyState === DOCUMENT_READY_STATE_COMPLETE
|
||||
)
|
||||
callback();
|
||||
else {
|
||||
var listener = function () {
|
||||
callback();
|
||||
ownerDocument.removeEventListener("DOMContentLoaded", listener);
|
||||
};
|
||||
ownerDocument.addEventListener("DOMContentLoaded", listener);
|
||||
instance._reactRetry = listener;
|
||||
}
|
||||
}
|
||||
function getNextHydratable(node) {
|
||||
for (; null != node; node = node.nextSibling) {
|
||||
@@ -25788,11 +25794,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-native-fb-16d2bbbd-20241203" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-native-fb-de68d2f4-20241204" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.0.0-native-fb-16d2bbbd-20241203\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-native-fb-de68d2f4-20241204\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -25829,11 +25835,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-native-fb-16d2bbbd-20241203",
|
||||
version: "19.0.0-native-fb-de68d2f4-20241204",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-16d2bbbd-20241203"
|
||||
reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -25977,5 +25983,5 @@ __DEV__ &&
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-16d2bbbd-20241203";
|
||||
exports.version = "19.0.0-native-fb-de68d2f4-20241204";
|
||||
})();
|
||||
|
||||
compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js
Vendored
+49
-43
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<f21aeede2360fa78702f7e00ba0891d5>>
|
||||
* @generated SignedSource<<e6dc49083d7f6b1d3dcd756ba7a07031>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -6657,13 +6657,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
);
|
||||
} else
|
||||
"$?" === nextInstance.data
|
||||
? ((workInProgress.flags |= 128),
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
(workInProgress = retryDehydratedSuspenseBoundary.bind(
|
||||
null,
|
||||
current
|
||||
)),
|
||||
registerSuspenseInstanceRetry(nextInstance, workInProgress),
|
||||
(workInProgress = null))
|
||||
: ((renderLanes = JSCompiler_temp$jscomp$0.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
@@ -8528,6 +8523,16 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
case 13:
|
||||
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);
|
||||
flags & 64 &&
|
||||
((flags = finishedWork.memoizedState),
|
||||
null !== flags &&
|
||||
((flags = flags.dehydrated),
|
||||
null !== flags &&
|
||||
((finishedWork = retryDehydratedSuspenseBoundary.bind(
|
||||
null,
|
||||
finishedWork
|
||||
)),
|
||||
registerSuspenseInstanceRetry(flags, finishedWork))));
|
||||
break;
|
||||
case 22:
|
||||
if (0 !== (finishedWork.mode & 1)) {
|
||||
@@ -12352,20 +12357,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1489 = 0;
|
||||
i$jscomp$inline_1489 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1489++
|
||||
var i$jscomp$inline_1488 = 0;
|
||||
i$jscomp$inline_1488 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1488++
|
||||
) {
|
||||
var eventName$jscomp$inline_1490 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1489],
|
||||
domEventName$jscomp$inline_1491 =
|
||||
eventName$jscomp$inline_1490.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1492 =
|
||||
eventName$jscomp$inline_1490[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1490.slice(1);
|
||||
var eventName$jscomp$inline_1489 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1488],
|
||||
domEventName$jscomp$inline_1490 =
|
||||
eventName$jscomp$inline_1489.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1491 =
|
||||
eventName$jscomp$inline_1489[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1489.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1491,
|
||||
"on" + capitalizedEvent$jscomp$inline_1492
|
||||
domEventName$jscomp$inline_1490,
|
||||
"on" + capitalizedEvent$jscomp$inline_1491
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -14265,15 +14270,16 @@ function isSuspenseInstanceFallback(instance) {
|
||||
}
|
||||
function registerSuspenseInstanceRetry(instance, callback) {
|
||||
var ownerDocument = instance.ownerDocument;
|
||||
"complete" !== ownerDocument.readyState &&
|
||||
ownerDocument.addEventListener(
|
||||
"DOMContentLoaded",
|
||||
function () {
|
||||
"$?" === instance.data && callback();
|
||||
},
|
||||
{ once: !0 }
|
||||
);
|
||||
instance._reactRetry = callback;
|
||||
if ("$?" !== instance.data || "complete" === ownerDocument.readyState)
|
||||
callback();
|
||||
else {
|
||||
var listener = function () {
|
||||
callback();
|
||||
ownerDocument.removeEventListener("DOMContentLoaded", listener);
|
||||
};
|
||||
ownerDocument.addEventListener("DOMContentLoaded", listener);
|
||||
instance._reactRetry = listener;
|
||||
}
|
||||
}
|
||||
function getNextHydratable(node) {
|
||||
for (; null != node; node = node.nextSibling) {
|
||||
@@ -15856,16 +15862,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
0 === i && attemptExplicitHydrationTarget(target);
|
||||
}
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1732 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1731 = React.version;
|
||||
if (
|
||||
"19.0.0-native-fb-16d2bbbd-20241203" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1732
|
||||
"19.0.0-native-fb-de68d2f4-20241204" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1731
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1732,
|
||||
"19.0.0-native-fb-16d2bbbd-20241203"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1731,
|
||||
"19.0.0-native-fb-de68d2f4-20241204"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -15885,25 +15891,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
null === componentOrElement ? null : componentOrElement.stateNode;
|
||||
return componentOrElement;
|
||||
};
|
||||
var internals$jscomp$inline_2187 = {
|
||||
var internals$jscomp$inline_2186 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-16d2bbbd-20241203",
|
||||
version: "19.0.0-native-fb-de68d2f4-20241204",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-16d2bbbd-20241203"
|
||||
reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2188 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2187 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2188.isDisabled &&
|
||||
hook$jscomp$inline_2188.supportsFiber
|
||||
!hook$jscomp$inline_2187.isDisabled &&
|
||||
hook$jscomp$inline_2187.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2188.inject(
|
||||
internals$jscomp$inline_2187
|
||||
(rendererID = hook$jscomp$inline_2187.inject(
|
||||
internals$jscomp$inline_2186
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2188);
|
||||
(injectedHook = hook$jscomp$inline_2187);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createRoot = function (container, options) {
|
||||
@@ -15995,4 +16001,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-16d2bbbd-20241203";
|
||||
exports.version = "19.0.0-native-fb-de68d2f4-20241204";
|
||||
|
||||
+49
-43
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<0ebd78a0cf049a802a2b35960edaa452>>
|
||||
* @generated SignedSource<<d41e5384bdb7ebba5c6944401702170a>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -6828,13 +6828,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
);
|
||||
} else
|
||||
"$?" === nextInstance.data
|
||||
? ((workInProgress.flags |= 128),
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
(workInProgress = retryDehydratedSuspenseBoundary.bind(
|
||||
null,
|
||||
current
|
||||
)),
|
||||
registerSuspenseInstanceRetry(nextInstance, workInProgress),
|
||||
(workInProgress = null))
|
||||
: ((renderLanes = JSCompiler_temp$jscomp$0.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
@@ -8933,6 +8928,16 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
case 13:
|
||||
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);
|
||||
flags & 64 &&
|
||||
((finishedRoot = finishedWork.memoizedState),
|
||||
null !== finishedRoot &&
|
||||
((finishedRoot = finishedRoot.dehydrated),
|
||||
null !== finishedRoot &&
|
||||
((finishedWork = retryDehydratedSuspenseBoundary.bind(
|
||||
null,
|
||||
finishedWork
|
||||
)),
|
||||
registerSuspenseInstanceRetry(finishedRoot, finishedWork))));
|
||||
break;
|
||||
case 22:
|
||||
if (0 !== (finishedWork.mode & 1)) {
|
||||
@@ -12997,20 +13002,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1577 = 0;
|
||||
i$jscomp$inline_1577 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1577++
|
||||
var i$jscomp$inline_1576 = 0;
|
||||
i$jscomp$inline_1576 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1576++
|
||||
) {
|
||||
var eventName$jscomp$inline_1578 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1577],
|
||||
domEventName$jscomp$inline_1579 =
|
||||
eventName$jscomp$inline_1578.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1580 =
|
||||
eventName$jscomp$inline_1578[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1578.slice(1);
|
||||
var eventName$jscomp$inline_1577 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1576],
|
||||
domEventName$jscomp$inline_1578 =
|
||||
eventName$jscomp$inline_1577.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1579 =
|
||||
eventName$jscomp$inline_1577[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1577.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1579,
|
||||
"on" + capitalizedEvent$jscomp$inline_1580
|
||||
domEventName$jscomp$inline_1578,
|
||||
"on" + capitalizedEvent$jscomp$inline_1579
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -14910,15 +14915,16 @@ function isSuspenseInstanceFallback(instance) {
|
||||
}
|
||||
function registerSuspenseInstanceRetry(instance, callback) {
|
||||
var ownerDocument = instance.ownerDocument;
|
||||
"complete" !== ownerDocument.readyState &&
|
||||
ownerDocument.addEventListener(
|
||||
"DOMContentLoaded",
|
||||
function () {
|
||||
"$?" === instance.data && callback();
|
||||
},
|
||||
{ once: !0 }
|
||||
);
|
||||
instance._reactRetry = callback;
|
||||
if ("$?" !== instance.data || "complete" === ownerDocument.readyState)
|
||||
callback();
|
||||
else {
|
||||
var listener = function () {
|
||||
callback();
|
||||
ownerDocument.removeEventListener("DOMContentLoaded", listener);
|
||||
};
|
||||
ownerDocument.addEventListener("DOMContentLoaded", listener);
|
||||
instance._reactRetry = listener;
|
||||
}
|
||||
}
|
||||
function getNextHydratable(node) {
|
||||
for (; null != node; node = node.nextSibling) {
|
||||
@@ -16509,16 +16515,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
0 === i && attemptExplicitHydrationTarget(target);
|
||||
}
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1822 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1821 = React.version;
|
||||
if (
|
||||
"19.0.0-native-fb-16d2bbbd-20241203" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1822
|
||||
"19.0.0-native-fb-de68d2f4-20241204" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1821
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1822,
|
||||
"19.0.0-native-fb-16d2bbbd-20241203"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1821,
|
||||
"19.0.0-native-fb-de68d2f4-20241204"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -16538,13 +16544,13 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
null === componentOrElement ? null : componentOrElement.stateNode;
|
||||
return componentOrElement;
|
||||
};
|
||||
var internals$jscomp$inline_1829 = {
|
||||
var internals$jscomp$inline_1828 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-16d2bbbd-20241203",
|
||||
version: "19.0.0-native-fb-de68d2f4-20241204",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-16d2bbbd-20241203",
|
||||
reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$292 = 0;
|
||||
@@ -16562,16 +16568,16 @@ var internals$jscomp$inline_1829 = {
|
||||
}
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2239 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2238 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2239.isDisabled &&
|
||||
hook$jscomp$inline_2239.supportsFiber
|
||||
!hook$jscomp$inline_2238.isDisabled &&
|
||||
hook$jscomp$inline_2238.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2239.inject(
|
||||
internals$jscomp$inline_1829
|
||||
(rendererID = hook$jscomp$inline_2238.inject(
|
||||
internals$jscomp$inline_1828
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2239);
|
||||
(injectedHook = hook$jscomp$inline_2238);
|
||||
} catch (err) {}
|
||||
}
|
||||
exports.createRoot = function (container, options) {
|
||||
@@ -16663,4 +16669,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-16d2bbbd-20241203";
|
||||
exports.version = "19.0.0-native-fb-de68d2f4-20241204";
|
||||
|
||||
+197
-191
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<81579d36230d5822cd2bbc4a9a94d429>>
|
||||
* @generated SignedSource<<8090e4e1a96875999b0b1e929689f54a>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -9142,32 +9142,32 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2385;
|
||||
var JSCompiler_object_inline_stack_2386 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2384;
|
||||
var JSCompiler_object_inline_stack_2385 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_componentStack_2387 = !1;
|
||||
var JSCompiler_object_inline_componentStack_2386 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2385 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2385 =
|
||||
(JSCompiler_object_inline_digest_2384 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2384 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2385 &&
|
||||
((JSCompiler_object_inline_componentStack_2387 = !0),
|
||||
JSCompiler_object_inline_digest_2384 &&
|
||||
((JSCompiler_object_inline_componentStack_2386 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2385 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2384 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_componentStack_2387
|
||||
JSCompiler_object_inline_componentStack_2386
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
if (isHydrating) {
|
||||
var JSCompiler_object_inline_message_2384 = nextHydratableInstance;
|
||||
var JSCompiler_object_inline_message_2383 = nextHydratableInstance;
|
||||
var JSCompiler_temp;
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2384)) {
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2383)) {
|
||||
c: {
|
||||
var instance = JSCompiler_object_inline_message_2384;
|
||||
var instance = JSCompiler_object_inline_message_2383;
|
||||
for (
|
||||
JSCompiler_temp = rootOrSingletonContext;
|
||||
8 !== instance.nodeType;
|
||||
@@ -9208,89 +9208,89 @@ __DEV__ &&
|
||||
JSCompiler_temp &&
|
||||
(warnNonHydratedInstance(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2384
|
||||
JSCompiler_object_inline_message_2383
|
||||
),
|
||||
throwOnHydrationMismatch(workInProgress));
|
||||
}
|
||||
JSCompiler_object_inline_message_2384 = workInProgress.memoizedState;
|
||||
JSCompiler_object_inline_message_2383 = workInProgress.memoizedState;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_message_2384 &&
|
||||
((JSCompiler_object_inline_message_2384 =
|
||||
JSCompiler_object_inline_message_2384.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2384)
|
||||
null !== JSCompiler_object_inline_message_2383 &&
|
||||
((JSCompiler_object_inline_message_2383 =
|
||||
JSCompiler_object_inline_message_2383.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2383)
|
||||
)
|
||||
return (
|
||||
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2384)
|
||||
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2383)
|
||||
? (workInProgress.lanes = 16)
|
||||
: (workInProgress.lanes = 536870912),
|
||||
null
|
||||
);
|
||||
popSuspenseHandler(workInProgress);
|
||||
}
|
||||
JSCompiler_object_inline_message_2384 =
|
||||
JSCompiler_object_inline_stack_2386.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2386.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2387)
|
||||
JSCompiler_object_inline_message_2383 =
|
||||
JSCompiler_object_inline_stack_2385.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2385.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2386)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2386 =
|
||||
(JSCompiler_object_inline_stack_2385 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2384,
|
||||
JSCompiler_object_inline_message_2383,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2387 =
|
||||
(JSCompiler_object_inline_componentStack_2386 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2387.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2386.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2387.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2386.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2385,
|
||||
JSCompiler_object_inline_digest_2384,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2386
|
||||
JSCompiler_object_inline_stack_2385
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2386.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2385.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2386 =
|
||||
(JSCompiler_object_inline_stack_2385 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2384,
|
||||
JSCompiler_object_inline_message_2383,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2387 =
|
||||
(JSCompiler_object_inline_componentStack_2386 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2387.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2386.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2387.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2386.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2385,
|
||||
JSCompiler_object_inline_digest_2384,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
JSCompiler_object_inline_stack_2386
|
||||
JSCompiler_object_inline_stack_2385
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2384
|
||||
JSCompiler_object_inline_message_2383
|
||||
);
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (
|
||||
null !== prevState &&
|
||||
((JSCompiler_object_inline_message_2384 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2384)
|
||||
((JSCompiler_object_inline_message_2383 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2383)
|
||||
) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
@@ -9307,32 +9307,32 @@ __DEV__ &&
|
||||
(workInProgress.flags |= 128),
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2387 =
|
||||
JSCompiler_object_inline_stack_2386.fallback),
|
||||
(JSCompiler_object_inline_message_2384 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2386 = createFiberFromOffscreen(
|
||||
(JSCompiler_object_inline_componentStack_2386 =
|
||||
JSCompiler_object_inline_stack_2385.fallback),
|
||||
(JSCompiler_object_inline_message_2383 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2385 = createFiberFromOffscreen(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2386.children
|
||||
children: JSCompiler_object_inline_stack_2385.children
|
||||
},
|
||||
JSCompiler_object_inline_message_2384,
|
||||
JSCompiler_object_inline_message_2383,
|
||||
0,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2387 =
|
||||
(JSCompiler_object_inline_componentStack_2386 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2387,
|
||||
JSCompiler_object_inline_message_2384,
|
||||
JSCompiler_object_inline_componentStack_2386,
|
||||
JSCompiler_object_inline_message_2383,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2387.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2386.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2387.return =
|
||||
(JSCompiler_object_inline_componentStack_2386.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2385.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2386.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2386.sibling =
|
||||
JSCompiler_object_inline_componentStack_2387),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2386),
|
||||
(JSCompiler_object_inline_stack_2385.sibling =
|
||||
JSCompiler_object_inline_componentStack_2386),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2385),
|
||||
(workInProgress.mode & ConcurrentMode) !== NoMode &&
|
||||
reconcileChildFibers(
|
||||
workInProgress,
|
||||
@@ -9340,63 +9340,63 @@ __DEV__ &&
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2386 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2386.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2385 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2385.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2386.childLanes =
|
||||
(JSCompiler_object_inline_stack_2385.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2385,
|
||||
JSCompiler_object_inline_digest_2384,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress =
|
||||
JSCompiler_object_inline_componentStack_2387));
|
||||
JSCompiler_object_inline_componentStack_2386));
|
||||
else if (
|
||||
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
isHydrating &&
|
||||
error$jscomp$0(
|
||||
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
||||
),
|
||||
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2384))
|
||||
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2383))
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2385 =
|
||||
JSCompiler_object_inline_message_2384.nextSibling &&
|
||||
JSCompiler_object_inline_message_2384.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2385) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2385.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2385.msg;
|
||||
instance = JSCompiler_object_inline_digest_2385.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2385.cstck;
|
||||
JSCompiler_object_inline_digest_2384 =
|
||||
JSCompiler_object_inline_message_2383.nextSibling &&
|
||||
JSCompiler_object_inline_message_2383.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2384) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2384.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2384.msg;
|
||||
instance = JSCompiler_object_inline_digest_2384.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2384.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2384 = message;
|
||||
JSCompiler_object_inline_digest_2385 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2386 = instance;
|
||||
JSCompiler_temp = JSCompiler_object_inline_componentStack_2387 =
|
||||
JSCompiler_object_inline_message_2383 = message;
|
||||
JSCompiler_object_inline_digest_2384 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2385 = instance;
|
||||
JSCompiler_temp = JSCompiler_object_inline_componentStack_2386 =
|
||||
componentStack;
|
||||
JSCompiler_object_inline_componentStack_2387 =
|
||||
JSCompiler_object_inline_message_2384
|
||||
? Error(JSCompiler_object_inline_message_2384)
|
||||
JSCompiler_object_inline_componentStack_2386 =
|
||||
JSCompiler_object_inline_message_2383
|
||||
? Error(JSCompiler_object_inline_message_2383)
|
||||
: 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_2387.stack =
|
||||
JSCompiler_object_inline_stack_2386 || "";
|
||||
JSCompiler_object_inline_componentStack_2387.digest =
|
||||
JSCompiler_object_inline_digest_2385;
|
||||
JSCompiler_object_inline_digest_2385 =
|
||||
JSCompiler_object_inline_componentStack_2386.stack =
|
||||
JSCompiler_object_inline_stack_2385 || "";
|
||||
JSCompiler_object_inline_componentStack_2386.digest =
|
||||
JSCompiler_object_inline_digest_2384;
|
||||
JSCompiler_object_inline_digest_2384 =
|
||||
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2386 = {
|
||||
value: JSCompiler_object_inline_componentStack_2387,
|
||||
JSCompiler_object_inline_stack_2385 = {
|
||||
value: JSCompiler_object_inline_componentStack_2386,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2385
|
||||
stack: JSCompiler_object_inline_digest_2384
|
||||
};
|
||||
"string" === typeof JSCompiler_object_inline_digest_2385 &&
|
||||
"string" === typeof JSCompiler_object_inline_digest_2384 &&
|
||||
CapturedStacks.set(
|
||||
JSCompiler_object_inline_componentStack_2387,
|
||||
JSCompiler_object_inline_stack_2386
|
||||
JSCompiler_object_inline_componentStack_2386,
|
||||
JSCompiler_object_inline_stack_2385
|
||||
);
|
||||
queueHydrationError(JSCompiler_object_inline_stack_2386);
|
||||
queueHydrationError(JSCompiler_object_inline_stack_2385);
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
workInProgress,
|
||||
@@ -9410,25 +9410,25 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2385 =
|
||||
(JSCompiler_object_inline_digest_2384 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2385)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2384)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2385 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2385) {
|
||||
JSCompiler_object_inline_stack_2386 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2386 & 42))
|
||||
JSCompiler_object_inline_stack_2386 = 1;
|
||||
JSCompiler_object_inline_digest_2384 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2384) {
|
||||
JSCompiler_object_inline_stack_2385 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2385 & 42))
|
||||
JSCompiler_object_inline_stack_2385 = 1;
|
||||
else
|
||||
switch (JSCompiler_object_inline_stack_2386) {
|
||||
switch (JSCompiler_object_inline_stack_2385) {
|
||||
case 2:
|
||||
JSCompiler_object_inline_stack_2386 = 1;
|
||||
JSCompiler_object_inline_stack_2385 = 1;
|
||||
break;
|
||||
case 8:
|
||||
JSCompiler_object_inline_stack_2386 = 4;
|
||||
JSCompiler_object_inline_stack_2385 = 4;
|
||||
break;
|
||||
case 32:
|
||||
JSCompiler_object_inline_stack_2386 = 16;
|
||||
JSCompiler_object_inline_stack_2385 = 16;
|
||||
break;
|
||||
case 128:
|
||||
case 256:
|
||||
@@ -9449,40 +9449,40 @@ __DEV__ &&
|
||||
case 8388608:
|
||||
case 16777216:
|
||||
case 33554432:
|
||||
JSCompiler_object_inline_stack_2386 = 64;
|
||||
JSCompiler_object_inline_stack_2385 = 64;
|
||||
break;
|
||||
case 268435456:
|
||||
JSCompiler_object_inline_stack_2386 = 134217728;
|
||||
JSCompiler_object_inline_stack_2385 = 134217728;
|
||||
break;
|
||||
default:
|
||||
JSCompiler_object_inline_stack_2386 = 0;
|
||||
JSCompiler_object_inline_stack_2385 = 0;
|
||||
}
|
||||
JSCompiler_object_inline_stack_2386 =
|
||||
JSCompiler_object_inline_stack_2385 =
|
||||
0 !==
|
||||
(JSCompiler_object_inline_stack_2386 &
|
||||
(JSCompiler_object_inline_digest_2385.suspendedLanes |
|
||||
(JSCompiler_object_inline_stack_2385 &
|
||||
(JSCompiler_object_inline_digest_2384.suspendedLanes |
|
||||
renderLanes))
|
||||
? 0
|
||||
: JSCompiler_object_inline_stack_2386;
|
||||
: JSCompiler_object_inline_stack_2385;
|
||||
if (
|
||||
0 !== JSCompiler_object_inline_stack_2386 &&
|
||||
JSCompiler_object_inline_stack_2386 !== prevState.retryLane
|
||||
0 !== JSCompiler_object_inline_stack_2385 &&
|
||||
JSCompiler_object_inline_stack_2385 !== prevState.retryLane
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2386),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2385),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2386
|
||||
JSCompiler_object_inline_stack_2385
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2385,
|
||||
JSCompiler_object_inline_digest_2384,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2386
|
||||
JSCompiler_object_inline_stack_2385
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
}
|
||||
JSCompiler_object_inline_message_2384.data ===
|
||||
JSCompiler_object_inline_message_2383.data ===
|
||||
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9490,22 +9490,14 @@ __DEV__ &&
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
JSCompiler_object_inline_message_2384.data ===
|
||||
JSCompiler_object_inline_message_2383.data ===
|
||||
SUSPENSE_PENDING_START_DATA
|
||||
? ((workInProgress.flags |= 128),
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
(workInProgress = retryDehydratedSuspenseBoundary.bind(
|
||||
null,
|
||||
current
|
||||
)),
|
||||
registerSuspenseInstanceRetry(
|
||||
JSCompiler_object_inline_message_2384,
|
||||
workInProgress
|
||||
),
|
||||
(workInProgress = null))
|
||||
: ((renderLanes = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_message_2384.nextSibling
|
||||
JSCompiler_object_inline_message_2383.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -9523,72 +9515,72 @@ __DEV__ &&
|
||||
(treeContextProvider = workInProgress)),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2386.children
|
||||
JSCompiler_object_inline_stack_2385.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
if (JSCompiler_object_inline_componentStack_2387)
|
||||
if (JSCompiler_object_inline_componentStack_2386)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2387 =
|
||||
JSCompiler_object_inline_stack_2386.fallback),
|
||||
(JSCompiler_object_inline_message_2384 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_componentStack_2386 =
|
||||
JSCompiler_object_inline_stack_2385.fallback),
|
||||
(JSCompiler_object_inline_message_2383 = workInProgress.mode),
|
||||
(JSCompiler_temp = current.child),
|
||||
(instance = JSCompiler_temp.sibling),
|
||||
(componentStack = {
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2386.children
|
||||
children: JSCompiler_object_inline_stack_2385.children
|
||||
}),
|
||||
(JSCompiler_object_inline_message_2384 & ConcurrentMode) === NoMode &&
|
||||
(JSCompiler_object_inline_message_2383 & ConcurrentMode) === NoMode &&
|
||||
workInProgress.child !== JSCompiler_temp
|
||||
? ((JSCompiler_object_inline_stack_2386 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2386.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2386.pendingProps =
|
||||
? ((JSCompiler_object_inline_stack_2385 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2385.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2385.pendingProps =
|
||||
componentStack),
|
||||
workInProgress.mode & ProfileMode &&
|
||||
((JSCompiler_object_inline_stack_2386.actualDuration = -0),
|
||||
(JSCompiler_object_inline_stack_2386.actualStartTime = -1.1),
|
||||
(JSCompiler_object_inline_stack_2386.selfBaseDuration =
|
||||
((JSCompiler_object_inline_stack_2385.actualDuration = -0),
|
||||
(JSCompiler_object_inline_stack_2385.actualStartTime = -1.1),
|
||||
(JSCompiler_object_inline_stack_2385.selfBaseDuration =
|
||||
JSCompiler_temp.selfBaseDuration),
|
||||
(JSCompiler_object_inline_stack_2386.treeBaseDuration =
|
||||
(JSCompiler_object_inline_stack_2385.treeBaseDuration =
|
||||
JSCompiler_temp.treeBaseDuration)),
|
||||
(workInProgress.deletions = null))
|
||||
: ((JSCompiler_object_inline_stack_2386 = createWorkInProgress(
|
||||
: ((JSCompiler_object_inline_stack_2385 = createWorkInProgress(
|
||||
JSCompiler_temp,
|
||||
componentStack
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2386.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2385.subtreeFlags =
|
||||
JSCompiler_temp.subtreeFlags & 31457280)),
|
||||
null !== instance
|
||||
? (JSCompiler_object_inline_componentStack_2387 =
|
||||
? (JSCompiler_object_inline_componentStack_2386 =
|
||||
createWorkInProgress(
|
||||
instance,
|
||||
JSCompiler_object_inline_componentStack_2387
|
||||
JSCompiler_object_inline_componentStack_2386
|
||||
))
|
||||
: ((JSCompiler_object_inline_componentStack_2387 =
|
||||
: ((JSCompiler_object_inline_componentStack_2386 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2387,
|
||||
JSCompiler_object_inline_message_2384,
|
||||
JSCompiler_object_inline_componentStack_2386,
|
||||
JSCompiler_object_inline_message_2383,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2387.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2387.return =
|
||||
(JSCompiler_object_inline_componentStack_2386.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2386.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2386.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2386.sibling =
|
||||
JSCompiler_object_inline_componentStack_2387),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2386),
|
||||
(JSCompiler_object_inline_stack_2386 =
|
||||
JSCompiler_object_inline_componentStack_2387),
|
||||
(JSCompiler_object_inline_componentStack_2387 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2384 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2384
|
||||
? (JSCompiler_object_inline_message_2384 =
|
||||
(JSCompiler_object_inline_stack_2385.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2385.sibling =
|
||||
JSCompiler_object_inline_componentStack_2386),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2385),
|
||||
(JSCompiler_object_inline_stack_2385 =
|
||||
JSCompiler_object_inline_componentStack_2386),
|
||||
(JSCompiler_object_inline_componentStack_2386 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2383 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2383
|
||||
? (JSCompiler_object_inline_message_2383 =
|
||||
mountSuspenseOffscreenState(renderLanes))
|
||||
: ((JSCompiler_temp =
|
||||
JSCompiler_object_inline_message_2384.cachePool),
|
||||
JSCompiler_object_inline_message_2383.cachePool),
|
||||
null !== JSCompiler_temp
|
||||
? ((instance = CacheContext._currentValue),
|
||||
(JSCompiler_temp =
|
||||
@@ -9596,45 +9588,45 @@ __DEV__ &&
|
||||
? { parent: instance, pool: instance }
|
||||
: JSCompiler_temp))
|
||||
: (JSCompiler_temp = getSuspendedCache()),
|
||||
(JSCompiler_object_inline_message_2384 = {
|
||||
(JSCompiler_object_inline_message_2383 = {
|
||||
baseLanes:
|
||||
JSCompiler_object_inline_message_2384.baseLanes | renderLanes,
|
||||
JSCompiler_object_inline_message_2383.baseLanes | renderLanes,
|
||||
cachePool: JSCompiler_temp
|
||||
})),
|
||||
(JSCompiler_object_inline_componentStack_2387.memoizedState =
|
||||
JSCompiler_object_inline_message_2384),
|
||||
(JSCompiler_object_inline_componentStack_2387.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2386.memoizedState =
|
||||
JSCompiler_object_inline_message_2383),
|
||||
(JSCompiler_object_inline_componentStack_2386.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2385,
|
||||
JSCompiler_object_inline_digest_2384,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2386
|
||||
JSCompiler_object_inline_stack_2385
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
JSCompiler_object_inline_digest_2385 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2385.sibling;
|
||||
JSCompiler_object_inline_digest_2385 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2385,
|
||||
JSCompiler_object_inline_digest_2384 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2384.sibling;
|
||||
JSCompiler_object_inline_digest_2384 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2384,
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2386.children
|
||||
children: JSCompiler_object_inline_stack_2385.children
|
||||
}
|
||||
);
|
||||
(workInProgress.mode & ConcurrentMode) === NoMode &&
|
||||
(JSCompiler_object_inline_digest_2385.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2385.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2385.sibling = null;
|
||||
(JSCompiler_object_inline_digest_2384.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2384.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2384.sibling = null;
|
||||
null !== current &&
|
||||
((renderLanes = workInProgress.deletions),
|
||||
null === renderLanes
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: renderLanes.push(current));
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2385;
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2384;
|
||||
workInProgress.memoizedState = null;
|
||||
return JSCompiler_object_inline_digest_2385;
|
||||
return JSCompiler_object_inline_digest_2384;
|
||||
}
|
||||
function mountSuspensePrimaryChildren(workInProgress, primaryChildren) {
|
||||
primaryChildren = createFiberFromOffscreen(
|
||||
@@ -12242,6 +12234,16 @@ __DEV__ &&
|
||||
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
flags & 4 &&
|
||||
commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);
|
||||
flags & 64 &&
|
||||
((finishedRoot = finishedWork.memoizedState),
|
||||
null !== finishedRoot &&
|
||||
((finishedRoot = finishedRoot.dehydrated),
|
||||
null !== finishedRoot &&
|
||||
((finishedWork = retryDehydratedSuspenseBoundary.bind(
|
||||
null,
|
||||
finishedWork
|
||||
)),
|
||||
registerSuspenseInstanceRetry(finishedRoot, finishedWork))));
|
||||
break;
|
||||
case 22:
|
||||
if ((finishedWork.mode & ConcurrentMode) !== NoMode) {
|
||||
@@ -20261,15 +20263,19 @@ __DEV__ &&
|
||||
}
|
||||
function registerSuspenseInstanceRetry(instance, callback) {
|
||||
var ownerDocument = instance.ownerDocument;
|
||||
ownerDocument.readyState !== DOCUMENT_READY_STATE_COMPLETE &&
|
||||
ownerDocument.addEventListener(
|
||||
"DOMContentLoaded",
|
||||
function () {
|
||||
instance.data === SUSPENSE_PENDING_START_DATA && callback();
|
||||
},
|
||||
{ once: !0 }
|
||||
);
|
||||
instance._reactRetry = callback;
|
||||
if (
|
||||
instance.data !== SUSPENSE_PENDING_START_DATA ||
|
||||
ownerDocument.readyState === DOCUMENT_READY_STATE_COMPLETE
|
||||
)
|
||||
callback();
|
||||
else {
|
||||
var listener = function () {
|
||||
callback();
|
||||
ownerDocument.removeEventListener("DOMContentLoaded", listener);
|
||||
};
|
||||
ownerDocument.addEventListener("DOMContentLoaded", listener);
|
||||
instance._reactRetry = listener;
|
||||
}
|
||||
}
|
||||
function getNextHydratable(node) {
|
||||
for (; null != node; node = node.nextSibling) {
|
||||
@@ -25849,11 +25855,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-native-fb-16d2bbbd-20241203" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-native-fb-de68d2f4-20241204" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.0.0-native-fb-16d2bbbd-20241203\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-native-fb-de68d2f4-20241204\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -25890,11 +25896,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-native-fb-16d2bbbd-20241203",
|
||||
version: "19.0.0-native-fb-de68d2f4-20241204",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-16d2bbbd-20241203"
|
||||
reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -26354,7 +26360,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-16d2bbbd-20241203";
|
||||
exports.version = "19.0.0-native-fb-de68d2f4-20241204";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+49
-43
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<1fac56355b16a8c52d540b977fbd4235>>
|
||||
* @generated SignedSource<<046ea9b9730f6e8d6a381272708c7682>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -6657,13 +6657,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
);
|
||||
} else
|
||||
"$?" === nextInstance.data
|
||||
? ((workInProgress.flags |= 128),
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
(workInProgress = retryDehydratedSuspenseBoundary.bind(
|
||||
null,
|
||||
current
|
||||
)),
|
||||
registerSuspenseInstanceRetry(nextInstance, workInProgress),
|
||||
(workInProgress = null))
|
||||
: ((renderLanes = JSCompiler_temp$jscomp$0.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
@@ -8528,6 +8523,16 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
case 13:
|
||||
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);
|
||||
flags & 64 &&
|
||||
((flags = finishedWork.memoizedState),
|
||||
null !== flags &&
|
||||
((flags = flags.dehydrated),
|
||||
null !== flags &&
|
||||
((finishedWork = retryDehydratedSuspenseBoundary.bind(
|
||||
null,
|
||||
finishedWork
|
||||
)),
|
||||
registerSuspenseInstanceRetry(flags, finishedWork))));
|
||||
break;
|
||||
case 22:
|
||||
if (0 !== (finishedWork.mode & 1)) {
|
||||
@@ -12352,20 +12357,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1490 = 0;
|
||||
i$jscomp$inline_1490 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1490++
|
||||
var i$jscomp$inline_1489 = 0;
|
||||
i$jscomp$inline_1489 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1489++
|
||||
) {
|
||||
var eventName$jscomp$inline_1491 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1490],
|
||||
domEventName$jscomp$inline_1492 =
|
||||
eventName$jscomp$inline_1491.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1493 =
|
||||
eventName$jscomp$inline_1491[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1491.slice(1);
|
||||
var eventName$jscomp$inline_1490 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1489],
|
||||
domEventName$jscomp$inline_1491 =
|
||||
eventName$jscomp$inline_1490.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1492 =
|
||||
eventName$jscomp$inline_1490[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1490.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1492,
|
||||
"on" + capitalizedEvent$jscomp$inline_1493
|
||||
domEventName$jscomp$inline_1491,
|
||||
"on" + capitalizedEvent$jscomp$inline_1492
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -14265,15 +14270,16 @@ function isSuspenseInstanceFallback(instance) {
|
||||
}
|
||||
function registerSuspenseInstanceRetry(instance, callback) {
|
||||
var ownerDocument = instance.ownerDocument;
|
||||
"complete" !== ownerDocument.readyState &&
|
||||
ownerDocument.addEventListener(
|
||||
"DOMContentLoaded",
|
||||
function () {
|
||||
"$?" === instance.data && callback();
|
||||
},
|
||||
{ once: !0 }
|
||||
);
|
||||
instance._reactRetry = callback;
|
||||
if ("$?" !== instance.data || "complete" === ownerDocument.readyState)
|
||||
callback();
|
||||
else {
|
||||
var listener = function () {
|
||||
callback();
|
||||
ownerDocument.removeEventListener("DOMContentLoaded", listener);
|
||||
};
|
||||
ownerDocument.addEventListener("DOMContentLoaded", listener);
|
||||
instance._reactRetry = listener;
|
||||
}
|
||||
}
|
||||
function getNextHydratable(node) {
|
||||
for (; null != node; node = node.nextSibling) {
|
||||
@@ -15867,16 +15873,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
0 === i && attemptExplicitHydrationTarget(target);
|
||||
}
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1733 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1732 = React.version;
|
||||
if (
|
||||
"19.0.0-native-fb-16d2bbbd-20241203" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1733
|
||||
"19.0.0-native-fb-de68d2f4-20241204" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1732
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1733,
|
||||
"19.0.0-native-fb-16d2bbbd-20241203"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1732,
|
||||
"19.0.0-native-fb-de68d2f4-20241204"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -15896,25 +15902,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
null === componentOrElement ? null : componentOrElement.stateNode;
|
||||
return componentOrElement;
|
||||
};
|
||||
var internals$jscomp$inline_2190 = {
|
||||
var internals$jscomp$inline_2189 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-16d2bbbd-20241203",
|
||||
version: "19.0.0-native-fb-de68d2f4-20241204",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-16d2bbbd-20241203"
|
||||
reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2191 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2190 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2191.isDisabled &&
|
||||
hook$jscomp$inline_2191.supportsFiber
|
||||
!hook$jscomp$inline_2190.isDisabled &&
|
||||
hook$jscomp$inline_2190.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2191.inject(
|
||||
internals$jscomp$inline_2190
|
||||
(rendererID = hook$jscomp$inline_2190.inject(
|
||||
internals$jscomp$inline_2189
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2191);
|
||||
(injectedHook = hook$jscomp$inline_2190);
|
||||
} catch (err) {}
|
||||
}
|
||||
function noop() {}
|
||||
@@ -16160,4 +16166,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-16d2bbbd-20241203";
|
||||
exports.version = "19.0.0-native-fb-de68d2f4-20241204";
|
||||
|
||||
+49
-43
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<31b328fc5daab7fade221e5c06c32d94>>
|
||||
* @generated SignedSource<<20d4f0ac43edf7059230122ab79fd535>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -6832,13 +6832,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
);
|
||||
} else
|
||||
"$?" === nextInstance.data
|
||||
? ((workInProgress.flags |= 128),
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
(workInProgress = retryDehydratedSuspenseBoundary.bind(
|
||||
null,
|
||||
current
|
||||
)),
|
||||
registerSuspenseInstanceRetry(nextInstance, workInProgress),
|
||||
(workInProgress = null))
|
||||
: ((renderLanes = JSCompiler_temp$jscomp$0.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
@@ -8937,6 +8932,16 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
case 13:
|
||||
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);
|
||||
flags & 64 &&
|
||||
((finishedRoot = finishedWork.memoizedState),
|
||||
null !== finishedRoot &&
|
||||
((finishedRoot = finishedRoot.dehydrated),
|
||||
null !== finishedRoot &&
|
||||
((finishedWork = retryDehydratedSuspenseBoundary.bind(
|
||||
null,
|
||||
finishedWork
|
||||
)),
|
||||
registerSuspenseInstanceRetry(finishedRoot, finishedWork))));
|
||||
break;
|
||||
case 22:
|
||||
if (0 !== (finishedWork.mode & 1)) {
|
||||
@@ -13001,20 +13006,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1578 = 0;
|
||||
i$jscomp$inline_1578 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1578++
|
||||
var i$jscomp$inline_1577 = 0;
|
||||
i$jscomp$inline_1577 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1577++
|
||||
) {
|
||||
var eventName$jscomp$inline_1579 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1578],
|
||||
domEventName$jscomp$inline_1580 =
|
||||
eventName$jscomp$inline_1579.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1581 =
|
||||
eventName$jscomp$inline_1579[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1579.slice(1);
|
||||
var eventName$jscomp$inline_1578 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1577],
|
||||
domEventName$jscomp$inline_1579 =
|
||||
eventName$jscomp$inline_1578.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1580 =
|
||||
eventName$jscomp$inline_1578[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1578.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1580,
|
||||
"on" + capitalizedEvent$jscomp$inline_1581
|
||||
domEventName$jscomp$inline_1579,
|
||||
"on" + capitalizedEvent$jscomp$inline_1580
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -14914,15 +14919,16 @@ function isSuspenseInstanceFallback(instance) {
|
||||
}
|
||||
function registerSuspenseInstanceRetry(instance, callback) {
|
||||
var ownerDocument = instance.ownerDocument;
|
||||
"complete" !== ownerDocument.readyState &&
|
||||
ownerDocument.addEventListener(
|
||||
"DOMContentLoaded",
|
||||
function () {
|
||||
"$?" === instance.data && callback();
|
||||
},
|
||||
{ once: !0 }
|
||||
);
|
||||
instance._reactRetry = callback;
|
||||
if ("$?" !== instance.data || "complete" === ownerDocument.readyState)
|
||||
callback();
|
||||
else {
|
||||
var listener = function () {
|
||||
callback();
|
||||
ownerDocument.removeEventListener("DOMContentLoaded", listener);
|
||||
};
|
||||
ownerDocument.addEventListener("DOMContentLoaded", listener);
|
||||
instance._reactRetry = listener;
|
||||
}
|
||||
}
|
||||
function getNextHydratable(node) {
|
||||
for (; null != node; node = node.nextSibling) {
|
||||
@@ -16524,16 +16530,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
0 === i && attemptExplicitHydrationTarget(target);
|
||||
}
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1823 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1822 = React.version;
|
||||
if (
|
||||
"19.0.0-native-fb-16d2bbbd-20241203" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1823
|
||||
"19.0.0-native-fb-de68d2f4-20241204" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1822
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1823,
|
||||
"19.0.0-native-fb-16d2bbbd-20241203"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1822,
|
||||
"19.0.0-native-fb-de68d2f4-20241204"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -16553,13 +16559,13 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
null === componentOrElement ? null : componentOrElement.stateNode;
|
||||
return componentOrElement;
|
||||
};
|
||||
var internals$jscomp$inline_1830 = {
|
||||
var internals$jscomp$inline_1829 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-16d2bbbd-20241203",
|
||||
version: "19.0.0-native-fb-de68d2f4-20241204",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-16d2bbbd-20241203",
|
||||
reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$292 = 0;
|
||||
@@ -16577,16 +16583,16 @@ var internals$jscomp$inline_1830 = {
|
||||
}
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2242 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2241 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2242.isDisabled &&
|
||||
hook$jscomp$inline_2242.supportsFiber
|
||||
!hook$jscomp$inline_2241.isDisabled &&
|
||||
hook$jscomp$inline_2241.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2242.inject(
|
||||
internals$jscomp$inline_1830
|
||||
(rendererID = hook$jscomp$inline_2241.inject(
|
||||
internals$jscomp$inline_1829
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2242);
|
||||
(injectedHook = hook$jscomp$inline_2241);
|
||||
} catch (err) {}
|
||||
}
|
||||
function noop() {}
|
||||
@@ -16832,7 +16838,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-16d2bbbd-20241203";
|
||||
exports.version = "19.0.0-native-fb-de68d2f4-20241204";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+11
-7
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<86ac9dae7458acf3d90d9d8f10d24eb9>>
|
||||
* @generated SignedSource<<fb51fc0c7ad8e8f3fae68c93e44325bc>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -6959,10 +6959,8 @@ __DEV__ &&
|
||||
);
|
||||
} else
|
||||
isSuspenseInstancePending()
|
||||
? ((workInProgress.flags |= 128),
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
retryDehydratedSuspenseBoundary.bind(null, current),
|
||||
registerSuspenseInstanceRetry(),
|
||||
(workInProgress = null))
|
||||
: ((workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
@@ -9598,6 +9596,12 @@ __DEV__ &&
|
||||
break;
|
||||
case 13:
|
||||
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
flags & 64 &&
|
||||
((finishedRoot = finishedWork.memoizedState),
|
||||
null !== finishedRoot &&
|
||||
null !== finishedRoot.dehydrated &&
|
||||
(retryDehydratedSuspenseBoundary.bind(null, finishedWork),
|
||||
registerSuspenseInstanceRetry()));
|
||||
break;
|
||||
case 22:
|
||||
if (0 !== (finishedWork.mode & 1)) {
|
||||
@@ -15552,11 +15556,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-native-fb-16d2bbbd-20241203",
|
||||
version: "19.0.0-native-fb-de68d2f4-20241204",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-16d2bbbd-20241203"
|
||||
reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15701,5 +15705,5 @@ __DEV__ &&
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-16d2bbbd-20241203";
|
||||
exports.version = "19.0.0-native-fb-de68d2f4-20241204";
|
||||
})();
|
||||
|
||||
+10
-7
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<eba5629f2a166fce2c4fe1e4407becee>>
|
||||
* @generated SignedSource<<7202be0d09e095bfc1b43b2bc88f6c17>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -4941,10 +4941,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
);
|
||||
} else
|
||||
shim$1()
|
||||
? ((workInProgress.flags |= 128),
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
retryDehydratedSuspenseBoundary.bind(null, current),
|
||||
shim$1(),
|
||||
(workInProgress = null))
|
||||
: ((workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
@@ -6791,6 +6789,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
break;
|
||||
case 13:
|
||||
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
flags & 64 &&
|
||||
((flags = finishedWork.memoizedState),
|
||||
null !== flags &&
|
||||
null !== flags.dehydrated &&
|
||||
(retryDehydratedSuspenseBoundary.bind(null, finishedWork), shim$1()));
|
||||
break;
|
||||
case 22:
|
||||
if (0 !== (finishedWork.mode & 1)) {
|
||||
@@ -9715,14 +9718,14 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1390 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-16d2bbbd-20241203",
|
||||
version: "19.0.0-native-fb-de68d2f4-20241204",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: function (mockNode) {
|
||||
mockNode = nodeToInstanceMap.get(mockNode);
|
||||
return void 0 !== mockNode ? mockNode.internalInstanceHandle : null;
|
||||
},
|
||||
reconcilerVersion: "19.0.0-native-fb-16d2bbbd-20241203"
|
||||
reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1391 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -9858,4 +9861,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-16d2bbbd-20241203";
|
||||
exports.version = "19.0.0-native-fb-de68d2f4-20241204";
|
||||
|
||||
+10
-7
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<f67c57ea0d4ac0e07e44a70f82b82b97>>
|
||||
* @generated SignedSource<<98d65610f536b799a2ff73999f575fb3>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -5084,10 +5084,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
);
|
||||
} else
|
||||
shim$1()
|
||||
? ((workInProgress.flags |= 128),
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
retryDehydratedSuspenseBoundary.bind(null, current),
|
||||
shim$1(),
|
||||
(workInProgress = null))
|
||||
: ((workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
@@ -7225,6 +7223,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
break;
|
||||
case 13:
|
||||
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
flags & 64 &&
|
||||
((finishedRoot = finishedWork.memoizedState),
|
||||
null !== finishedRoot &&
|
||||
null !== finishedRoot.dehydrated &&
|
||||
(retryDehydratedSuspenseBoundary.bind(null, finishedWork), shim$1()));
|
||||
break;
|
||||
case 22:
|
||||
if (0 !== (finishedWork.mode & 1)) {
|
||||
@@ -10284,14 +10287,14 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1203 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-16d2bbbd-20241203",
|
||||
version: "19.0.0-native-fb-de68d2f4-20241204",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: function (mockNode) {
|
||||
mockNode = nodeToInstanceMap.get(mockNode);
|
||||
return void 0 !== mockNode ? mockNode.internalInstanceHandle : null;
|
||||
},
|
||||
reconcilerVersion: "19.0.0-native-fb-16d2bbbd-20241203",
|
||||
reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$146 = 0;
|
||||
@@ -10442,4 +10445,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-16d2bbbd-20241203";
|
||||
exports.version = "19.0.0-native-fb-de68d2f4-20241204";
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<b63fd6decf9bf5a327fb5263bd60c177>>
|
||||
* @generated SignedSource<<b349a3459203ae9afe8fbd355cb0f3f3>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1716,7 +1716,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-16d2bbbd-20241203";
|
||||
exports.version = "19.0.0-native-fb-de68d2f4-20241204";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<7b2484d2474afe4960d77971e22113b4>>
|
||||
* @generated SignedSource<<0069ae6778686ec8c6410766891b86d2>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -596,4 +596,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-16d2bbbd-20241203";
|
||||
exports.version = "19.0.0-native-fb-de68d2f4-20241204";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<06d360287e5de02c536ce9d38376c3a7>>
|
||||
* @generated SignedSource<<7e2ebf09ba9be863bd2484afc5e6c7eb>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -600,7 +600,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-native-fb-16d2bbbd-20241203";
|
||||
exports.version = "19.0.0-native-fb-de68d2f4-20241204";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
16d2bbbd1f1617d636ea0fd271b902a12a763c27
|
||||
de68d2f4a2403ad1ef46a3036ddc1f9080640588
|
||||
|
||||
+10
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<a8721d98ef6c3c10dfe424f014988695>>
|
||||
* @generated SignedSource<<797a9030262014443dae5b782164aed3>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -7877,10 +7877,8 @@ __DEV__ &&
|
||||
);
|
||||
} else
|
||||
isSuspenseInstancePending()
|
||||
? ((workInProgress.flags |= 128),
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
retryDehydratedSuspenseBoundary.bind(null, current),
|
||||
registerSuspenseInstanceRetry(),
|
||||
(workInProgress = null))
|
||||
: ((workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
@@ -10665,6 +10663,12 @@ __DEV__ &&
|
||||
break;
|
||||
case 13:
|
||||
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
flags & 64 &&
|
||||
((finishedRoot = finishedWork.memoizedState),
|
||||
null !== finishedRoot &&
|
||||
null !== finishedRoot.dehydrated &&
|
||||
(retryDehydratedSuspenseBoundary.bind(null, finishedWork),
|
||||
registerSuspenseInstanceRetry()));
|
||||
break;
|
||||
case 22:
|
||||
if (0 !== (finishedWork.mode & 1)) {
|
||||
@@ -17376,11 +17380,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-native-fb-16d2bbbd-20241203",
|
||||
version: "19.0.0-native-fb-de68d2f4-20241204",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-16d2bbbd-20241203"
|
||||
reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+9
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<3f0b8349e32a1c864ec1b99dc98b60cf>>
|
||||
* @generated SignedSource<<ef9a514583f67eafd8f3440946023774>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -6229,10 +6229,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
);
|
||||
} else
|
||||
shim$1()
|
||||
? ((workInProgress.flags |= 128),
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
retryDehydratedSuspenseBoundary.bind(null, current),
|
||||
shim$1(),
|
||||
(workInProgress = null))
|
||||
: ((workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
@@ -8269,6 +8267,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
break;
|
||||
case 13:
|
||||
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
flags & 64 &&
|
||||
((flags = finishedWork.memoizedState),
|
||||
null !== flags &&
|
||||
null !== flags.dehydrated &&
|
||||
(retryDehydratedSuspenseBoundary.bind(null, finishedWork), shim$1()));
|
||||
break;
|
||||
case 22:
|
||||
if (0 !== (finishedWork.mode & 1)) {
|
||||
@@ -11099,11 +11102,11 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1219 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-16d2bbbd-20241203",
|
||||
version: "19.0.0-native-fb-de68d2f4-20241204",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-16d2bbbd-20241203"
|
||||
reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1219.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+9
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<d8d2427d2b5bebacbd5421dad5f3ad67>>
|
||||
* @generated SignedSource<<2b87d10675c5b55655878fb9cf4202ff>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -6407,10 +6407,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
);
|
||||
} else
|
||||
shim$1()
|
||||
? ((workInProgress.flags |= 128),
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
retryDehydratedSuspenseBoundary.bind(null, current),
|
||||
shim$1(),
|
||||
(workInProgress = null))
|
||||
: ((workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
@@ -8739,6 +8737,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
break;
|
||||
case 13:
|
||||
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
flags & 64 &&
|
||||
((finishedRoot = finishedWork.memoizedState),
|
||||
null !== finishedRoot &&
|
||||
null !== finishedRoot.dehydrated &&
|
||||
(retryDehydratedSuspenseBoundary.bind(null, finishedWork), shim$1()));
|
||||
break;
|
||||
case 22:
|
||||
if (0 !== (finishedWork.mode & 1)) {
|
||||
@@ -11756,11 +11759,11 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1307 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-16d2bbbd-20241203",
|
||||
version: "19.0.0-native-fb-de68d2f4-20241204",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-native-fb-16d2bbbd-20241203"
|
||||
reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1307.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+12
-8
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<dc5d8ff332c48703f47444b438316429>>
|
||||
* @generated SignedSource<<f7a7850cf9c4dafe88bddd3a7e883702>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -8106,10 +8106,8 @@ __DEV__ &&
|
||||
);
|
||||
} else
|
||||
isSuspenseInstancePending()
|
||||
? ((workInProgress.flags |= 128),
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
retryDehydratedSuspenseBoundary.bind(null, current),
|
||||
registerSuspenseInstanceRetry(),
|
||||
(workInProgress = null))
|
||||
: ((workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
@@ -10838,6 +10836,12 @@ __DEV__ &&
|
||||
break;
|
||||
case 13:
|
||||
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
flags & 64 &&
|
||||
((finishedRoot = finishedWork.memoizedState),
|
||||
null !== finishedRoot &&
|
||||
null !== finishedRoot.dehydrated &&
|
||||
(retryDehydratedSuspenseBoundary.bind(null, finishedWork),
|
||||
registerSuspenseInstanceRetry()));
|
||||
break;
|
||||
case 22:
|
||||
if (0 !== (finishedWork.mode & 1)) {
|
||||
@@ -17598,11 +17602,11 @@ __DEV__ &&
|
||||
shouldSuspendImpl = newShouldSuspendImpl;
|
||||
};
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-native-fb-16d2bbbd-20241203" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-native-fb-de68d2f4-20241204" !== 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.0.0-native-fb-16d2bbbd-20241203\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.0.0-native-fb-de68d2f4-20241204\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -17628,11 +17632,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-native-fb-16d2bbbd-20241203",
|
||||
version: "19.0.0-native-fb-de68d2f4-20241204",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromTag,
|
||||
reconcilerVersion: "19.0.0-native-fb-16d2bbbd-20241203"
|
||||
reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+11
-8
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<af5c5ab50e6d282dd675be3cf5064c00>>
|
||||
* @generated SignedSource<<9837cb97f2e42f5c5a3f39f4d94f1283>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -6524,10 +6524,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
);
|
||||
} else
|
||||
shim$1()
|
||||
? ((workInProgress.flags |= 128),
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
retryDehydratedSuspenseBoundary.bind(null, current),
|
||||
shim$1(),
|
||||
(workInProgress = null))
|
||||
: ((workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
@@ -8471,6 +8469,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
break;
|
||||
case 13:
|
||||
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
flags & 64 &&
|
||||
((flags = finishedWork.memoizedState),
|
||||
null !== flags &&
|
||||
null !== flags.dehydrated &&
|
||||
(retryDehydratedSuspenseBoundary.bind(null, finishedWork), shim$1()));
|
||||
break;
|
||||
case 22:
|
||||
if (0 !== (finishedWork.mode & 1)) {
|
||||
@@ -11230,11 +11233,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-native-fb-16d2bbbd-20241203" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-native-fb-de68d2f4-20241204" !== 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.0.0-native-fb-16d2bbbd-20241203\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.0.0-native-fb-de68d2f4-20241204\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11283,11 +11286,11 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1285 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-16d2bbbd-20241203",
|
||||
version: "19.0.0-native-fb-de68d2f4-20241204",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromTag,
|
||||
reconcilerVersion: "19.0.0-native-fb-16d2bbbd-20241203"
|
||||
reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1285.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+11
-8
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<a46d10865e5ff4c6f9b227e5724b722c>>
|
||||
* @generated SignedSource<<d64ae518352e6f9982531c52f5810f67>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -6702,10 +6702,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
);
|
||||
} else
|
||||
shim$1()
|
||||
? ((workInProgress.flags |= 128),
|
||||
? ((workInProgress.flags |= 192),
|
||||
(workInProgress.child = current.child),
|
||||
retryDehydratedSuspenseBoundary.bind(null, current),
|
||||
shim$1(),
|
||||
(workInProgress = null))
|
||||
: ((workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
@@ -8941,6 +8939,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
break;
|
||||
case 13:
|
||||
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
flags & 64 &&
|
||||
((finishedRoot = finishedWork.memoizedState),
|
||||
null !== finishedRoot &&
|
||||
null !== finishedRoot.dehydrated &&
|
||||
(retryDehydratedSuspenseBoundary.bind(null, finishedWork), shim$1()));
|
||||
break;
|
||||
case 22:
|
||||
if (0 !== (finishedWork.mode & 1)) {
|
||||
@@ -11886,11 +11889,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-native-fb-16d2bbbd-20241203" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-native-fb-de68d2f4-20241204" !== 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.0.0-native-fb-16d2bbbd-20241203\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.0.0-native-fb-de68d2f4-20241204\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11939,11 +11942,11 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1373 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-native-fb-16d2bbbd-20241203",
|
||||
version: "19.0.0-native-fb-de68d2f4-20241204",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromTag,
|
||||
reconcilerVersion: "19.0.0-native-fb-16d2bbbd-20241203"
|
||||
reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1373.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
Reference in New Issue
Block a user