react-dom 19.1.0-canary-ebc22ef7-20250225 → 19.1.0-canary-2980f277-20250301
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/react-dom-client.development.js +231 -157
- package/cjs/react-dom-client.production.js +97 -29
- package/cjs/react-dom-profiling.development.js +231 -157
- package/cjs/react-dom-profiling.profiling.js +97 -29
- package/cjs/react-dom-server-legacy.browser.development.js +1 -1
- package/cjs/react-dom-server-legacy.browser.production.js +1 -1
- package/cjs/react-dom-server-legacy.node.development.js +1 -1
- package/cjs/react-dom-server-legacy.node.production.js +1 -1
- package/cjs/react-dom-server.browser.development.js +3 -3
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +3 -3
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +3 -3
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +3 -3
- package/cjs/react-dom-server.node.production.js +3 -3
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
@@ -8984,32 +8984,32 @@
|
|
8984
8984
|
return current;
|
8985
8985
|
}
|
8986
8986
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
8987
|
-
var
|
8988
|
-
var
|
8987
|
+
var JSCompiler_object_inline_digest_2472;
|
8988
|
+
var JSCompiler_object_inline_stack_2473 = workInProgress.pendingProps;
|
8989
8989
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
8990
|
-
var
|
8990
|
+
var JSCompiler_object_inline_componentStack_2474 = !1;
|
8991
8991
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
8992
|
-
(
|
8993
|
-
(
|
8992
|
+
(JSCompiler_object_inline_digest_2472 = didSuspend) ||
|
8993
|
+
(JSCompiler_object_inline_digest_2472 =
|
8994
8994
|
null !== current && null === current.memoizedState
|
8995
8995
|
? !1
|
8996
8996
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
8997
|
-
|
8998
|
-
((
|
8997
|
+
JSCompiler_object_inline_digest_2472 &&
|
8998
|
+
((JSCompiler_object_inline_componentStack_2474 = !0),
|
8999
8999
|
(workInProgress.flags &= -129));
|
9000
|
-
|
9000
|
+
JSCompiler_object_inline_digest_2472 = 0 !== (workInProgress.flags & 32);
|
9001
9001
|
workInProgress.flags &= -33;
|
9002
9002
|
if (null === current) {
|
9003
9003
|
if (isHydrating) {
|
9004
|
-
|
9004
|
+
JSCompiler_object_inline_componentStack_2474
|
9005
9005
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
9006
9006
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
9007
9007
|
if (isHydrating) {
|
9008
|
-
var
|
9008
|
+
var JSCompiler_object_inline_message_2471 = nextHydratableInstance;
|
9009
9009
|
var JSCompiler_temp;
|
9010
|
-
if (!(JSCompiler_temp = !
|
9010
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2471)) {
|
9011
9011
|
c: {
|
9012
|
-
var instance =
|
9012
|
+
var instance = JSCompiler_object_inline_message_2471;
|
9013
9013
|
for (
|
9014
9014
|
JSCompiler_temp = rootOrSingletonContext;
|
9015
9015
|
8 !== instance.nodeType;
|
@@ -9051,77 +9051,77 @@
|
|
9051
9051
|
JSCompiler_temp &&
|
9052
9052
|
(warnNonHydratedInstance(
|
9053
9053
|
workInProgress,
|
9054
|
-
|
9054
|
+
JSCompiler_object_inline_message_2471
|
9055
9055
|
),
|
9056
9056
|
throwOnHydrationMismatch(workInProgress));
|
9057
9057
|
}
|
9058
|
-
|
9058
|
+
JSCompiler_object_inline_message_2471 = workInProgress.memoizedState;
|
9059
9059
|
if (
|
9060
|
-
null !==
|
9061
|
-
((
|
9062
|
-
|
9063
|
-
null !==
|
9060
|
+
null !== JSCompiler_object_inline_message_2471 &&
|
9061
|
+
((JSCompiler_object_inline_message_2471 =
|
9062
|
+
JSCompiler_object_inline_message_2471.dehydrated),
|
9063
|
+
null !== JSCompiler_object_inline_message_2471)
|
9064
9064
|
)
|
9065
9065
|
return (
|
9066
|
-
isSuspenseInstanceFallback(
|
9066
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2471)
|
9067
9067
|
? (workInProgress.lanes = 32)
|
9068
9068
|
: (workInProgress.lanes = 536870912),
|
9069
9069
|
null
|
9070
9070
|
);
|
9071
9071
|
popSuspenseHandler(workInProgress);
|
9072
9072
|
}
|
9073
|
-
|
9074
|
-
|
9075
|
-
|
9076
|
-
|
9077
|
-
if (
|
9073
|
+
JSCompiler_object_inline_message_2471 =
|
9074
|
+
JSCompiler_object_inline_stack_2473.children;
|
9075
|
+
JSCompiler_object_inline_stack_2473 =
|
9076
|
+
JSCompiler_object_inline_stack_2473.fallback;
|
9077
|
+
if (JSCompiler_object_inline_componentStack_2474)
|
9078
9078
|
return (
|
9079
9079
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9080
|
-
(
|
9080
|
+
(JSCompiler_object_inline_componentStack_2474 =
|
9081
9081
|
workInProgress.mode),
|
9082
|
-
(
|
9082
|
+
(JSCompiler_object_inline_message_2471 =
|
9083
9083
|
mountWorkInProgressOffscreenFiber(
|
9084
9084
|
{
|
9085
9085
|
mode: "hidden",
|
9086
|
-
children:
|
9086
|
+
children: JSCompiler_object_inline_message_2471
|
9087
9087
|
},
|
9088
|
-
|
9088
|
+
JSCompiler_object_inline_componentStack_2474
|
9089
9089
|
)),
|
9090
|
-
(
|
9091
|
-
|
9092
|
-
|
9090
|
+
(JSCompiler_object_inline_stack_2473 = createFiberFromFragment(
|
9091
|
+
JSCompiler_object_inline_stack_2473,
|
9092
|
+
JSCompiler_object_inline_componentStack_2474,
|
9093
9093
|
renderLanes,
|
9094
9094
|
null
|
9095
9095
|
)),
|
9096
|
-
(
|
9097
|
-
(
|
9098
|
-
(
|
9099
|
-
|
9100
|
-
(workInProgress.child =
|
9101
|
-
(
|
9096
|
+
(JSCompiler_object_inline_message_2471.return = workInProgress),
|
9097
|
+
(JSCompiler_object_inline_stack_2473.return = workInProgress),
|
9098
|
+
(JSCompiler_object_inline_message_2471.sibling =
|
9099
|
+
JSCompiler_object_inline_stack_2473),
|
9100
|
+
(workInProgress.child = JSCompiler_object_inline_message_2471),
|
9101
|
+
(JSCompiler_object_inline_componentStack_2474 =
|
9102
9102
|
workInProgress.child),
|
9103
|
-
(
|
9103
|
+
(JSCompiler_object_inline_componentStack_2474.memoizedState =
|
9104
9104
|
mountSuspenseOffscreenState(renderLanes)),
|
9105
|
-
(
|
9105
|
+
(JSCompiler_object_inline_componentStack_2474.childLanes =
|
9106
9106
|
getRemainingWorkInPrimaryTree(
|
9107
9107
|
current,
|
9108
|
-
|
9108
|
+
JSCompiler_object_inline_digest_2472,
|
9109
9109
|
renderLanes
|
9110
9110
|
)),
|
9111
9111
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9112
|
-
|
9112
|
+
JSCompiler_object_inline_stack_2473
|
9113
9113
|
);
|
9114
9114
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9115
9115
|
return mountSuspensePrimaryChildren(
|
9116
9116
|
workInProgress,
|
9117
|
-
|
9117
|
+
JSCompiler_object_inline_message_2471
|
9118
9118
|
);
|
9119
9119
|
}
|
9120
9120
|
var prevState = current.memoizedState;
|
9121
9121
|
if (
|
9122
9122
|
null !== prevState &&
|
9123
|
-
((
|
9124
|
-
null !==
|
9123
|
+
((JSCompiler_object_inline_message_2471 = prevState.dehydrated),
|
9124
|
+
null !== JSCompiler_object_inline_message_2471)
|
9125
9125
|
) {
|
9126
9126
|
if (didSuspend)
|
9127
9127
|
workInProgress.flags & 256
|
@@ -9138,94 +9138,94 @@
|
|
9138
9138
|
(workInProgress.flags |= 128),
|
9139
9139
|
(workInProgress = null))
|
9140
9140
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9141
|
-
(
|
9142
|
-
|
9143
|
-
(
|
9144
|
-
(
|
9141
|
+
(JSCompiler_object_inline_componentStack_2474 =
|
9142
|
+
JSCompiler_object_inline_stack_2473.fallback),
|
9143
|
+
(JSCompiler_object_inline_message_2471 = workInProgress.mode),
|
9144
|
+
(JSCompiler_object_inline_stack_2473 =
|
9145
9145
|
mountWorkInProgressOffscreenFiber(
|
9146
9146
|
{
|
9147
9147
|
mode: "visible",
|
9148
|
-
children:
|
9148
|
+
children: JSCompiler_object_inline_stack_2473.children
|
9149
9149
|
},
|
9150
|
-
|
9150
|
+
JSCompiler_object_inline_message_2471
|
9151
9151
|
)),
|
9152
|
-
(
|
9152
|
+
(JSCompiler_object_inline_componentStack_2474 =
|
9153
9153
|
createFiberFromFragment(
|
9154
|
-
|
9155
|
-
|
9154
|
+
JSCompiler_object_inline_componentStack_2474,
|
9155
|
+
JSCompiler_object_inline_message_2471,
|
9156
9156
|
renderLanes,
|
9157
9157
|
null
|
9158
9158
|
)),
|
9159
|
-
(
|
9160
|
-
(
|
9161
|
-
(
|
9159
|
+
(JSCompiler_object_inline_componentStack_2474.flags |= 2),
|
9160
|
+
(JSCompiler_object_inline_stack_2473.return = workInProgress),
|
9161
|
+
(JSCompiler_object_inline_componentStack_2474.return =
|
9162
9162
|
workInProgress),
|
9163
|
-
(
|
9164
|
-
|
9165
|
-
(workInProgress.child =
|
9163
|
+
(JSCompiler_object_inline_stack_2473.sibling =
|
9164
|
+
JSCompiler_object_inline_componentStack_2474),
|
9165
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2473),
|
9166
9166
|
reconcileChildFibers(
|
9167
9167
|
workInProgress,
|
9168
9168
|
current.child,
|
9169
9169
|
null,
|
9170
9170
|
renderLanes
|
9171
9171
|
),
|
9172
|
-
(
|
9173
|
-
(
|
9172
|
+
(JSCompiler_object_inline_stack_2473 = workInProgress.child),
|
9173
|
+
(JSCompiler_object_inline_stack_2473.memoizedState =
|
9174
9174
|
mountSuspenseOffscreenState(renderLanes)),
|
9175
|
-
(
|
9175
|
+
(JSCompiler_object_inline_stack_2473.childLanes =
|
9176
9176
|
getRemainingWorkInPrimaryTree(
|
9177
9177
|
current,
|
9178
|
-
|
9178
|
+
JSCompiler_object_inline_digest_2472,
|
9179
9179
|
renderLanes
|
9180
9180
|
)),
|
9181
9181
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9182
9182
|
(workInProgress =
|
9183
|
-
|
9183
|
+
JSCompiler_object_inline_componentStack_2474));
|
9184
9184
|
else if (
|
9185
9185
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9186
9186
|
isHydrating &&
|
9187
9187
|
console.error(
|
9188
9188
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
9189
9189
|
),
|
9190
|
-
isSuspenseInstanceFallback(
|
9190
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2471))
|
9191
9191
|
) {
|
9192
|
-
|
9193
|
-
|
9194
|
-
|
9195
|
-
if (
|
9196
|
-
JSCompiler_temp =
|
9197
|
-
var message =
|
9198
|
-
instance =
|
9199
|
-
var componentStack =
|
9192
|
+
JSCompiler_object_inline_digest_2472 =
|
9193
|
+
JSCompiler_object_inline_message_2471.nextSibling &&
|
9194
|
+
JSCompiler_object_inline_message_2471.nextSibling.dataset;
|
9195
|
+
if (JSCompiler_object_inline_digest_2472) {
|
9196
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2472.dgst;
|
9197
|
+
var message = JSCompiler_object_inline_digest_2472.msg;
|
9198
|
+
instance = JSCompiler_object_inline_digest_2472.stck;
|
9199
|
+
var componentStack = JSCompiler_object_inline_digest_2472.cstck;
|
9200
9200
|
}
|
9201
|
-
|
9202
|
-
|
9203
|
-
|
9204
|
-
JSCompiler_temp =
|
9201
|
+
JSCompiler_object_inline_message_2471 = message;
|
9202
|
+
JSCompiler_object_inline_digest_2472 = JSCompiler_temp;
|
9203
|
+
JSCompiler_object_inline_stack_2473 = instance;
|
9204
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2474 =
|
9205
9205
|
componentStack;
|
9206
|
-
|
9207
|
-
|
9208
|
-
? Error(
|
9206
|
+
JSCompiler_object_inline_componentStack_2474 =
|
9207
|
+
JSCompiler_object_inline_message_2471
|
9208
|
+
? Error(JSCompiler_object_inline_message_2471)
|
9209
9209
|
: Error(
|
9210
9210
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9211
9211
|
);
|
9212
|
-
|
9213
|
-
|
9214
|
-
|
9215
|
-
|
9216
|
-
|
9212
|
+
JSCompiler_object_inline_componentStack_2474.stack =
|
9213
|
+
JSCompiler_object_inline_stack_2473 || "";
|
9214
|
+
JSCompiler_object_inline_componentStack_2474.digest =
|
9215
|
+
JSCompiler_object_inline_digest_2472;
|
9216
|
+
JSCompiler_object_inline_digest_2472 =
|
9217
9217
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
9218
|
-
|
9219
|
-
value:
|
9218
|
+
JSCompiler_object_inline_stack_2473 = {
|
9219
|
+
value: JSCompiler_object_inline_componentStack_2474,
|
9220
9220
|
source: null,
|
9221
|
-
stack:
|
9221
|
+
stack: JSCompiler_object_inline_digest_2472
|
9222
9222
|
};
|
9223
|
-
"string" === typeof
|
9223
|
+
"string" === typeof JSCompiler_object_inline_digest_2472 &&
|
9224
9224
|
CapturedStacks.set(
|
9225
|
-
|
9226
|
-
|
9225
|
+
JSCompiler_object_inline_componentStack_2474,
|
9226
|
+
JSCompiler_object_inline_stack_2473
|
9227
9227
|
);
|
9228
|
-
queueHydrationError(
|
9228
|
+
queueHydrationError(JSCompiler_object_inline_stack_2473);
|
9229
9229
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9230
9230
|
current,
|
9231
9231
|
workInProgress,
|
@@ -9239,44 +9239,44 @@
|
|
9239
9239
|
renderLanes,
|
9240
9240
|
!1
|
9241
9241
|
),
|
9242
|
-
(
|
9242
|
+
(JSCompiler_object_inline_digest_2472 =
|
9243
9243
|
0 !== (renderLanes & current.childLanes)),
|
9244
|
-
didReceiveUpdate ||
|
9244
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2472)
|
9245
9245
|
) {
|
9246
|
-
|
9246
|
+
JSCompiler_object_inline_digest_2472 = workInProgressRoot;
|
9247
9247
|
if (
|
9248
|
-
null !==
|
9249
|
-
((
|
9250
|
-
(
|
9251
|
-
0 !== (
|
9248
|
+
null !== JSCompiler_object_inline_digest_2472 &&
|
9249
|
+
((JSCompiler_object_inline_stack_2473 = renderLanes & -renderLanes),
|
9250
|
+
(JSCompiler_object_inline_stack_2473 =
|
9251
|
+
0 !== (JSCompiler_object_inline_stack_2473 & 42)
|
9252
9252
|
? 1
|
9253
9253
|
: getBumpedLaneForHydrationByLane(
|
9254
|
-
|
9254
|
+
JSCompiler_object_inline_stack_2473
|
9255
9255
|
)),
|
9256
|
-
(
|
9256
|
+
(JSCompiler_object_inline_stack_2473 =
|
9257
9257
|
0 !==
|
9258
|
-
(
|
9259
|
-
(
|
9258
|
+
(JSCompiler_object_inline_stack_2473 &
|
9259
|
+
(JSCompiler_object_inline_digest_2472.suspendedLanes |
|
9260
9260
|
renderLanes))
|
9261
9261
|
? 0
|
9262
|
-
:
|
9263
|
-
0 !==
|
9264
|
-
|
9262
|
+
: JSCompiler_object_inline_stack_2473),
|
9263
|
+
0 !== JSCompiler_object_inline_stack_2473 &&
|
9264
|
+
JSCompiler_object_inline_stack_2473 !== prevState.retryLane)
|
9265
9265
|
)
|
9266
9266
|
throw (
|
9267
|
-
((prevState.retryLane =
|
9267
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2473),
|
9268
9268
|
enqueueConcurrentRenderForLane(
|
9269
9269
|
current,
|
9270
|
-
|
9270
|
+
JSCompiler_object_inline_stack_2473
|
9271
9271
|
),
|
9272
9272
|
scheduleUpdateOnFiber(
|
9273
|
-
|
9273
|
+
JSCompiler_object_inline_digest_2472,
|
9274
9274
|
current,
|
9275
|
-
|
9275
|
+
JSCompiler_object_inline_stack_2473
|
9276
9276
|
),
|
9277
9277
|
SelectiveHydrationException)
|
9278
9278
|
);
|
9279
|
-
|
9279
|
+
JSCompiler_object_inline_message_2471.data ===
|
9280
9280
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
9281
9281
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9282
9282
|
current,
|
@@ -9284,14 +9284,14 @@
|
|
9284
9284
|
renderLanes
|
9285
9285
|
);
|
9286
9286
|
} else
|
9287
|
-
|
9287
|
+
JSCompiler_object_inline_message_2471.data ===
|
9288
9288
|
SUSPENSE_PENDING_START_DATA
|
9289
9289
|
? ((workInProgress.flags |= 192),
|
9290
9290
|
(workInProgress.child = current.child),
|
9291
9291
|
(workInProgress = null))
|
9292
9292
|
: ((current = prevState.treeContext),
|
9293
9293
|
(nextHydratableInstance = getNextHydratable(
|
9294
|
-
|
9294
|
+
JSCompiler_object_inline_message_2471.nextSibling
|
9295
9295
|
)),
|
9296
9296
|
(hydrationParentFiber = workInProgress),
|
9297
9297
|
(isHydrating = !0),
|
@@ -9309,57 +9309,57 @@
|
|
9309
9309
|
(treeContextProvider = workInProgress)),
|
9310
9310
|
(workInProgress = mountSuspensePrimaryChildren(
|
9311
9311
|
workInProgress,
|
9312
|
-
|
9312
|
+
JSCompiler_object_inline_stack_2473.children
|
9313
9313
|
)),
|
9314
9314
|
(workInProgress.flags |= 4096));
|
9315
9315
|
return workInProgress;
|
9316
9316
|
}
|
9317
|
-
if (
|
9317
|
+
if (JSCompiler_object_inline_componentStack_2474)
|
9318
9318
|
return (
|
9319
9319
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9320
|
-
(
|
9321
|
-
|
9322
|
-
(
|
9320
|
+
(JSCompiler_object_inline_componentStack_2474 =
|
9321
|
+
JSCompiler_object_inline_stack_2473.fallback),
|
9322
|
+
(JSCompiler_object_inline_message_2471 = workInProgress.mode),
|
9323
9323
|
(JSCompiler_temp = current.child),
|
9324
9324
|
(instance = JSCompiler_temp.sibling),
|
9325
|
-
(
|
9325
|
+
(JSCompiler_object_inline_stack_2473 = createWorkInProgress(
|
9326
9326
|
JSCompiler_temp,
|
9327
9327
|
{
|
9328
9328
|
mode: "hidden",
|
9329
|
-
children:
|
9329
|
+
children: JSCompiler_object_inline_stack_2473.children
|
9330
9330
|
}
|
9331
9331
|
)),
|
9332
|
-
(
|
9332
|
+
(JSCompiler_object_inline_stack_2473.subtreeFlags =
|
9333
9333
|
JSCompiler_temp.subtreeFlags & 65011712),
|
9334
9334
|
null !== instance
|
9335
|
-
? (
|
9335
|
+
? (JSCompiler_object_inline_componentStack_2474 =
|
9336
9336
|
createWorkInProgress(
|
9337
9337
|
instance,
|
9338
|
-
|
9338
|
+
JSCompiler_object_inline_componentStack_2474
|
9339
9339
|
))
|
9340
|
-
: ((
|
9340
|
+
: ((JSCompiler_object_inline_componentStack_2474 =
|
9341
9341
|
createFiberFromFragment(
|
9342
|
-
|
9343
|
-
|
9342
|
+
JSCompiler_object_inline_componentStack_2474,
|
9343
|
+
JSCompiler_object_inline_message_2471,
|
9344
9344
|
renderLanes,
|
9345
9345
|
null
|
9346
9346
|
)),
|
9347
|
-
(
|
9348
|
-
(
|
9347
|
+
(JSCompiler_object_inline_componentStack_2474.flags |= 2)),
|
9348
|
+
(JSCompiler_object_inline_componentStack_2474.return =
|
9349
9349
|
workInProgress),
|
9350
|
-
(
|
9351
|
-
(
|
9352
|
-
|
9353
|
-
(workInProgress.child =
|
9354
|
-
(
|
9355
|
-
|
9356
|
-
(
|
9357
|
-
(
|
9358
|
-
null ===
|
9359
|
-
? (
|
9350
|
+
(JSCompiler_object_inline_stack_2473.return = workInProgress),
|
9351
|
+
(JSCompiler_object_inline_stack_2473.sibling =
|
9352
|
+
JSCompiler_object_inline_componentStack_2474),
|
9353
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2473),
|
9354
|
+
(JSCompiler_object_inline_stack_2473 =
|
9355
|
+
JSCompiler_object_inline_componentStack_2474),
|
9356
|
+
(JSCompiler_object_inline_componentStack_2474 = workInProgress.child),
|
9357
|
+
(JSCompiler_object_inline_message_2471 = current.child.memoizedState),
|
9358
|
+
null === JSCompiler_object_inline_message_2471
|
9359
|
+
? (JSCompiler_object_inline_message_2471 =
|
9360
9360
|
mountSuspenseOffscreenState(renderLanes))
|
9361
9361
|
: ((JSCompiler_temp =
|
9362
|
-
|
9362
|
+
JSCompiler_object_inline_message_2471.cachePool),
|
9363
9363
|
null !== JSCompiler_temp
|
9364
9364
|
? ((instance = CacheContext._currentValue),
|
9365
9365
|
(JSCompiler_temp =
|
@@ -9367,37 +9367,37 @@
|
|
9367
9367
|
? { parent: instance, pool: instance }
|
9368
9368
|
: JSCompiler_temp))
|
9369
9369
|
: (JSCompiler_temp = getSuspendedCache()),
|
9370
|
-
(
|
9370
|
+
(JSCompiler_object_inline_message_2471 = {
|
9371
9371
|
baseLanes:
|
9372
|
-
|
9372
|
+
JSCompiler_object_inline_message_2471.baseLanes | renderLanes,
|
9373
9373
|
cachePool: JSCompiler_temp
|
9374
9374
|
})),
|
9375
|
-
(
|
9376
|
-
|
9377
|
-
(
|
9375
|
+
(JSCompiler_object_inline_componentStack_2474.memoizedState =
|
9376
|
+
JSCompiler_object_inline_message_2471),
|
9377
|
+
(JSCompiler_object_inline_componentStack_2474.childLanes =
|
9378
9378
|
getRemainingWorkInPrimaryTree(
|
9379
9379
|
current,
|
9380
|
-
|
9380
|
+
JSCompiler_object_inline_digest_2472,
|
9381
9381
|
renderLanes
|
9382
9382
|
)),
|
9383
9383
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9384
|
-
|
9384
|
+
JSCompiler_object_inline_stack_2473
|
9385
9385
|
);
|
9386
9386
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9387
9387
|
renderLanes = current.child;
|
9388
9388
|
current = renderLanes.sibling;
|
9389
9389
|
renderLanes = createWorkInProgress(renderLanes, {
|
9390
9390
|
mode: "visible",
|
9391
|
-
children:
|
9391
|
+
children: JSCompiler_object_inline_stack_2473.children
|
9392
9392
|
});
|
9393
9393
|
renderLanes.return = workInProgress;
|
9394
9394
|
renderLanes.sibling = null;
|
9395
9395
|
null !== current &&
|
9396
|
-
((
|
9397
|
-
null ===
|
9396
|
+
((JSCompiler_object_inline_digest_2472 = workInProgress.deletions),
|
9397
|
+
null === JSCompiler_object_inline_digest_2472
|
9398
9398
|
? ((workInProgress.deletions = [current]),
|
9399
9399
|
(workInProgress.flags |= 16))
|
9400
|
-
:
|
9400
|
+
: JSCompiler_object_inline_digest_2472.push(current));
|
9401
9401
|
workInProgress.child = renderLanes;
|
9402
9402
|
workInProgress.memoizedState = null;
|
9403
9403
|
return renderLanes;
|
@@ -15587,7 +15587,7 @@
|
|
15587
15587
|
rootDidHavePassiveEffects
|
15588
15588
|
? (pendingEffectsStatus = PENDING_PASSIVE_PHASE)
|
15589
15589
|
: ((pendingEffectsStatus = NO_PENDING_EFFECTS),
|
15590
|
-
(pendingEffectsRoot = null),
|
15590
|
+
(pendingFinishedWork = pendingEffectsRoot = null),
|
15591
15591
|
releaseRootPooledCache(root, root.pendingLanes),
|
15592
15592
|
(nestedPassiveUpdateCount = 0),
|
15593
15593
|
(rootWithPassiveNestedUpdates = null));
|
@@ -15673,6 +15673,49 @@
|
|
15673
15673
|
markCommitStopped();
|
15674
15674
|
}
|
15675
15675
|
}
|
15676
|
+
function flushGestureMutations() {
|
15677
|
+
if (pendingEffectsStatus === PENDING_GESTURE_MUTATION_PHASE) {
|
15678
|
+
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
15679
|
+
var root = pendingEffectsRoot,
|
15680
|
+
prevTransition = ReactSharedInternals.T;
|
15681
|
+
ReactSharedInternals.T = null;
|
15682
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
15683
|
+
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
15684
|
+
var prevExecutionContext = executionContext;
|
15685
|
+
executionContext |= CommitContext;
|
15686
|
+
try {
|
15687
|
+
var rootContainer = root.containerInfo,
|
15688
|
+
documentElement =
|
15689
|
+
9 === rootContainer.nodeType
|
15690
|
+
? rootContainer.documentElement
|
15691
|
+
: rootContainer.ownerDocument.documentElement;
|
15692
|
+
null !== documentElement &&
|
15693
|
+
"" === documentElement.style.viewTransitionName &&
|
15694
|
+
((documentElement.style.viewTransitionName = "none"),
|
15695
|
+
documentElement.animate(
|
15696
|
+
{ opacity: [0, 0], pointerEvents: ["none", "none"] },
|
15697
|
+
{
|
15698
|
+
duration: 0,
|
15699
|
+
fill: "forwards",
|
15700
|
+
pseudoElement: "::view-transition-group(root)"
|
15701
|
+
}
|
15702
|
+
),
|
15703
|
+
documentElement.animate(
|
15704
|
+
{ width: [0, 0], height: [0, 0] },
|
15705
|
+
{
|
15706
|
+
duration: 0,
|
15707
|
+
fill: "forwards",
|
15708
|
+
pseudoElement: "::view-transition"
|
15709
|
+
}
|
15710
|
+
));
|
15711
|
+
} finally {
|
15712
|
+
(executionContext = prevExecutionContext),
|
15713
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
15714
|
+
(ReactSharedInternals.T = prevTransition);
|
15715
|
+
}
|
15716
|
+
pendingEffectsStatus = PENDING_GESTURE_ANIMATION_PHASE;
|
15717
|
+
}
|
15718
|
+
}
|
15676
15719
|
function makeErrorInfo(componentStack) {
|
15677
15720
|
componentStack = { componentStack: componentStack };
|
15678
15721
|
Object.defineProperty(componentStack, "digest", {
|
@@ -15691,6 +15734,35 @@
|
|
15691
15734
|
((root.pooledCache = null), releaseCache(remainingLanes)));
|
15692
15735
|
}
|
15693
15736
|
function flushPendingEffects(wasDelayedCommit) {
|
15737
|
+
flushGestureMutations();
|
15738
|
+
flushGestureMutations();
|
15739
|
+
if (pendingEffectsStatus === PENDING_GESTURE_ANIMATION_PHASE) {
|
15740
|
+
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
15741
|
+
var root = pendingEffectsRoot;
|
15742
|
+
pendingFinishedWork = pendingEffectsRoot = null;
|
15743
|
+
pendingEffectsLanes = 0;
|
15744
|
+
var prevTransition = ReactSharedInternals.T;
|
15745
|
+
ReactSharedInternals.T = null;
|
15746
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
15747
|
+
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
15748
|
+
var prevExecutionContext = executionContext;
|
15749
|
+
executionContext |= CommitContext;
|
15750
|
+
try {
|
15751
|
+
var rootContainer = root.containerInfo,
|
15752
|
+
documentElement =
|
15753
|
+
9 === rootContainer.nodeType
|
15754
|
+
? rootContainer.documentElement
|
15755
|
+
: rootContainer.ownerDocument.documentElement;
|
15756
|
+
null !== documentElement &&
|
15757
|
+
"none" === documentElement.style.viewTransitionName &&
|
15758
|
+
(documentElement.style.viewTransitionName = "");
|
15759
|
+
} finally {
|
15760
|
+
(executionContext = prevExecutionContext),
|
15761
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
15762
|
+
(ReactSharedInternals.T = prevTransition);
|
15763
|
+
}
|
15764
|
+
ensureRootIsScheduled(root);
|
15765
|
+
}
|
15694
15766
|
flushMutationEffects();
|
15695
15767
|
flushLayoutEffects();
|
15696
15768
|
flushSpawnedWork();
|
@@ -15716,7 +15788,7 @@
|
|
15716
15788
|
var root$jscomp$0 = pendingEffectsRoot,
|
15717
15789
|
lanes = pendingEffectsLanes;
|
15718
15790
|
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
15719
|
-
pendingEffectsRoot = null;
|
15791
|
+
pendingFinishedWork = pendingEffectsRoot = null;
|
15720
15792
|
pendingEffectsLanes = 0;
|
15721
15793
|
if ((executionContext & (RenderContext | CommitContext)) !== NoContext)
|
15722
15794
|
throw Error("Cannot flush passive effects while already rendering.");
|
@@ -24261,6 +24333,8 @@
|
|
24261
24333
|
PENDING_AFTER_MUTATION_PHASE = 3,
|
24262
24334
|
PENDING_SPAWNED_WORK = 4,
|
24263
24335
|
PENDING_PASSIVE_PHASE = 5,
|
24336
|
+
PENDING_GESTURE_MUTATION_PHASE = 6,
|
24337
|
+
PENDING_GESTURE_ANIMATION_PHASE = 7,
|
24264
24338
|
pendingEffectsStatus = 0,
|
24265
24339
|
pendingEffectsRoot = null,
|
24266
24340
|
pendingFinishedWork = null,
|
@@ -24816,11 +24890,11 @@
|
|
24816
24890
|
};
|
24817
24891
|
(function () {
|
24818
24892
|
var isomorphicReactPackageVersion = React.version;
|
24819
|
-
if ("19.1.0-canary-
|
24893
|
+
if ("19.1.0-canary-2980f277-20250301" !== isomorphicReactPackageVersion)
|
24820
24894
|
throw Error(
|
24821
24895
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24822
24896
|
(isomorphicReactPackageVersion +
|
24823
|
-
"\n - react-dom: 19.1.0-canary-
|
24897
|
+
"\n - react-dom: 19.1.0-canary-2980f277-20250301\nLearn more: https://react.dev/warnings/version-mismatch")
|
24824
24898
|
);
|
24825
24899
|
})();
|
24826
24900
|
("function" === typeof Map &&
|
@@ -24857,10 +24931,10 @@
|
|
24857
24931
|
!(function () {
|
24858
24932
|
var internals = {
|
24859
24933
|
bundleType: 1,
|
24860
|
-
version: "19.1.0-canary-
|
24934
|
+
version: "19.1.0-canary-2980f277-20250301",
|
24861
24935
|
rendererPackageName: "react-dom",
|
24862
24936
|
currentDispatcherRef: ReactSharedInternals,
|
24863
|
-
reconcilerVersion: "19.1.0-canary-
|
24937
|
+
reconcilerVersion: "19.1.0-canary-2980f277-20250301"
|
24864
24938
|
};
|
24865
24939
|
internals.overrideHookState = overrideHookState;
|
24866
24940
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25334,7 +25408,7 @@
|
|
25334
25408
|
exports.useFormStatus = function () {
|
25335
25409
|
return resolveDispatcher().useHostTransitionStatus();
|
25336
25410
|
};
|
25337
|
-
exports.version = "19.1.0-canary-
|
25411
|
+
exports.version = "19.1.0-canary-2980f277-20250301";
|
25338
25412
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25339
25413
|
"function" ===
|
25340
25414
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|