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
@@ -8976,32 +8976,32 @@
|
|
8976
8976
|
return current;
|
8977
8977
|
}
|
8978
8978
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
8979
|
-
var
|
8980
|
-
var
|
8979
|
+
var JSCompiler_object_inline_digest_2467;
|
8980
|
+
var JSCompiler_object_inline_stack_2468 = workInProgress.pendingProps;
|
8981
8981
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
8982
|
-
var
|
8982
|
+
var JSCompiler_object_inline_componentStack_2469 = !1;
|
8983
8983
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
8984
|
-
(
|
8985
|
-
(
|
8984
|
+
(JSCompiler_object_inline_digest_2467 = didSuspend) ||
|
8985
|
+
(JSCompiler_object_inline_digest_2467 =
|
8986
8986
|
null !== current && null === current.memoizedState
|
8987
8987
|
? !1
|
8988
8988
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
8989
|
-
|
8990
|
-
((
|
8989
|
+
JSCompiler_object_inline_digest_2467 &&
|
8990
|
+
((JSCompiler_object_inline_componentStack_2469 = !0),
|
8991
8991
|
(workInProgress.flags &= -129));
|
8992
|
-
|
8992
|
+
JSCompiler_object_inline_digest_2467 = 0 !== (workInProgress.flags & 32);
|
8993
8993
|
workInProgress.flags &= -33;
|
8994
8994
|
if (null === current) {
|
8995
8995
|
if (isHydrating) {
|
8996
|
-
|
8996
|
+
JSCompiler_object_inline_componentStack_2469
|
8997
8997
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
8998
8998
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
8999
8999
|
if (isHydrating) {
|
9000
|
-
var
|
9000
|
+
var JSCompiler_object_inline_message_2466 = nextHydratableInstance;
|
9001
9001
|
var JSCompiler_temp;
|
9002
|
-
if (!(JSCompiler_temp = !
|
9002
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2466)) {
|
9003
9003
|
c: {
|
9004
|
-
var instance =
|
9004
|
+
var instance = JSCompiler_object_inline_message_2466;
|
9005
9005
|
for (
|
9006
9006
|
JSCompiler_temp = rootOrSingletonContext;
|
9007
9007
|
8 !== instance.nodeType;
|
@@ -9043,77 +9043,77 @@
|
|
9043
9043
|
JSCompiler_temp &&
|
9044
9044
|
(warnNonHydratedInstance(
|
9045
9045
|
workInProgress,
|
9046
|
-
|
9046
|
+
JSCompiler_object_inline_message_2466
|
9047
9047
|
),
|
9048
9048
|
throwOnHydrationMismatch(workInProgress));
|
9049
9049
|
}
|
9050
|
-
|
9050
|
+
JSCompiler_object_inline_message_2466 = workInProgress.memoizedState;
|
9051
9051
|
if (
|
9052
|
-
null !==
|
9053
|
-
((
|
9054
|
-
|
9055
|
-
null !==
|
9052
|
+
null !== JSCompiler_object_inline_message_2466 &&
|
9053
|
+
((JSCompiler_object_inline_message_2466 =
|
9054
|
+
JSCompiler_object_inline_message_2466.dehydrated),
|
9055
|
+
null !== JSCompiler_object_inline_message_2466)
|
9056
9056
|
)
|
9057
9057
|
return (
|
9058
|
-
isSuspenseInstanceFallback(
|
9058
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2466)
|
9059
9059
|
? (workInProgress.lanes = 32)
|
9060
9060
|
: (workInProgress.lanes = 536870912),
|
9061
9061
|
null
|
9062
9062
|
);
|
9063
9063
|
popSuspenseHandler(workInProgress);
|
9064
9064
|
}
|
9065
|
-
|
9066
|
-
|
9067
|
-
|
9068
|
-
|
9069
|
-
if (
|
9065
|
+
JSCompiler_object_inline_message_2466 =
|
9066
|
+
JSCompiler_object_inline_stack_2468.children;
|
9067
|
+
JSCompiler_object_inline_stack_2468 =
|
9068
|
+
JSCompiler_object_inline_stack_2468.fallback;
|
9069
|
+
if (JSCompiler_object_inline_componentStack_2469)
|
9070
9070
|
return (
|
9071
9071
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9072
|
-
(
|
9072
|
+
(JSCompiler_object_inline_componentStack_2469 =
|
9073
9073
|
workInProgress.mode),
|
9074
|
-
(
|
9074
|
+
(JSCompiler_object_inline_message_2466 =
|
9075
9075
|
mountWorkInProgressOffscreenFiber(
|
9076
9076
|
{
|
9077
9077
|
mode: "hidden",
|
9078
|
-
children:
|
9078
|
+
children: JSCompiler_object_inline_message_2466
|
9079
9079
|
},
|
9080
|
-
|
9080
|
+
JSCompiler_object_inline_componentStack_2469
|
9081
9081
|
)),
|
9082
|
-
(
|
9083
|
-
|
9084
|
-
|
9082
|
+
(JSCompiler_object_inline_stack_2468 = createFiberFromFragment(
|
9083
|
+
JSCompiler_object_inline_stack_2468,
|
9084
|
+
JSCompiler_object_inline_componentStack_2469,
|
9085
9085
|
renderLanes,
|
9086
9086
|
null
|
9087
9087
|
)),
|
9088
|
-
(
|
9089
|
-
(
|
9090
|
-
(
|
9091
|
-
|
9092
|
-
(workInProgress.child =
|
9093
|
-
(
|
9088
|
+
(JSCompiler_object_inline_message_2466.return = workInProgress),
|
9089
|
+
(JSCompiler_object_inline_stack_2468.return = workInProgress),
|
9090
|
+
(JSCompiler_object_inline_message_2466.sibling =
|
9091
|
+
JSCompiler_object_inline_stack_2468),
|
9092
|
+
(workInProgress.child = JSCompiler_object_inline_message_2466),
|
9093
|
+
(JSCompiler_object_inline_componentStack_2469 =
|
9094
9094
|
workInProgress.child),
|
9095
|
-
(
|
9095
|
+
(JSCompiler_object_inline_componentStack_2469.memoizedState =
|
9096
9096
|
mountSuspenseOffscreenState(renderLanes)),
|
9097
|
-
(
|
9097
|
+
(JSCompiler_object_inline_componentStack_2469.childLanes =
|
9098
9098
|
getRemainingWorkInPrimaryTree(
|
9099
9099
|
current,
|
9100
|
-
|
9100
|
+
JSCompiler_object_inline_digest_2467,
|
9101
9101
|
renderLanes
|
9102
9102
|
)),
|
9103
9103
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9104
|
-
|
9104
|
+
JSCompiler_object_inline_stack_2468
|
9105
9105
|
);
|
9106
9106
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9107
9107
|
return mountSuspensePrimaryChildren(
|
9108
9108
|
workInProgress,
|
9109
|
-
|
9109
|
+
JSCompiler_object_inline_message_2466
|
9110
9110
|
);
|
9111
9111
|
}
|
9112
9112
|
var prevState = current.memoizedState;
|
9113
9113
|
if (
|
9114
9114
|
null !== prevState &&
|
9115
|
-
((
|
9116
|
-
null !==
|
9115
|
+
((JSCompiler_object_inline_message_2466 = prevState.dehydrated),
|
9116
|
+
null !== JSCompiler_object_inline_message_2466)
|
9117
9117
|
) {
|
9118
9118
|
if (didSuspend)
|
9119
9119
|
workInProgress.flags & 256
|
@@ -9130,94 +9130,94 @@
|
|
9130
9130
|
(workInProgress.flags |= 128),
|
9131
9131
|
(workInProgress = null))
|
9132
9132
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9133
|
-
(
|
9134
|
-
|
9135
|
-
(
|
9136
|
-
(
|
9133
|
+
(JSCompiler_object_inline_componentStack_2469 =
|
9134
|
+
JSCompiler_object_inline_stack_2468.fallback),
|
9135
|
+
(JSCompiler_object_inline_message_2466 = workInProgress.mode),
|
9136
|
+
(JSCompiler_object_inline_stack_2468 =
|
9137
9137
|
mountWorkInProgressOffscreenFiber(
|
9138
9138
|
{
|
9139
9139
|
mode: "visible",
|
9140
|
-
children:
|
9140
|
+
children: JSCompiler_object_inline_stack_2468.children
|
9141
9141
|
},
|
9142
|
-
|
9142
|
+
JSCompiler_object_inline_message_2466
|
9143
9143
|
)),
|
9144
|
-
(
|
9144
|
+
(JSCompiler_object_inline_componentStack_2469 =
|
9145
9145
|
createFiberFromFragment(
|
9146
|
-
|
9147
|
-
|
9146
|
+
JSCompiler_object_inline_componentStack_2469,
|
9147
|
+
JSCompiler_object_inline_message_2466,
|
9148
9148
|
renderLanes,
|
9149
9149
|
null
|
9150
9150
|
)),
|
9151
|
-
(
|
9152
|
-
(
|
9153
|
-
(
|
9151
|
+
(JSCompiler_object_inline_componentStack_2469.flags |= 2),
|
9152
|
+
(JSCompiler_object_inline_stack_2468.return = workInProgress),
|
9153
|
+
(JSCompiler_object_inline_componentStack_2469.return =
|
9154
9154
|
workInProgress),
|
9155
|
-
(
|
9156
|
-
|
9157
|
-
(workInProgress.child =
|
9155
|
+
(JSCompiler_object_inline_stack_2468.sibling =
|
9156
|
+
JSCompiler_object_inline_componentStack_2469),
|
9157
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2468),
|
9158
9158
|
reconcileChildFibers(
|
9159
9159
|
workInProgress,
|
9160
9160
|
current.child,
|
9161
9161
|
null,
|
9162
9162
|
renderLanes
|
9163
9163
|
),
|
9164
|
-
(
|
9165
|
-
(
|
9164
|
+
(JSCompiler_object_inline_stack_2468 = workInProgress.child),
|
9165
|
+
(JSCompiler_object_inline_stack_2468.memoizedState =
|
9166
9166
|
mountSuspenseOffscreenState(renderLanes)),
|
9167
|
-
(
|
9167
|
+
(JSCompiler_object_inline_stack_2468.childLanes =
|
9168
9168
|
getRemainingWorkInPrimaryTree(
|
9169
9169
|
current,
|
9170
|
-
|
9170
|
+
JSCompiler_object_inline_digest_2467,
|
9171
9171
|
renderLanes
|
9172
9172
|
)),
|
9173
9173
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9174
9174
|
(workInProgress =
|
9175
|
-
|
9175
|
+
JSCompiler_object_inline_componentStack_2469));
|
9176
9176
|
else if (
|
9177
9177
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9178
9178
|
isHydrating &&
|
9179
9179
|
console.error(
|
9180
9180
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
9181
9181
|
),
|
9182
|
-
isSuspenseInstanceFallback(
|
9182
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2466))
|
9183
9183
|
) {
|
9184
|
-
|
9185
|
-
|
9186
|
-
|
9187
|
-
if (
|
9188
|
-
JSCompiler_temp =
|
9189
|
-
var message =
|
9190
|
-
instance =
|
9191
|
-
var componentStack =
|
9184
|
+
JSCompiler_object_inline_digest_2467 =
|
9185
|
+
JSCompiler_object_inline_message_2466.nextSibling &&
|
9186
|
+
JSCompiler_object_inline_message_2466.nextSibling.dataset;
|
9187
|
+
if (JSCompiler_object_inline_digest_2467) {
|
9188
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2467.dgst;
|
9189
|
+
var message = JSCompiler_object_inline_digest_2467.msg;
|
9190
|
+
instance = JSCompiler_object_inline_digest_2467.stck;
|
9191
|
+
var componentStack = JSCompiler_object_inline_digest_2467.cstck;
|
9192
9192
|
}
|
9193
|
-
|
9194
|
-
|
9195
|
-
|
9196
|
-
JSCompiler_temp =
|
9193
|
+
JSCompiler_object_inline_message_2466 = message;
|
9194
|
+
JSCompiler_object_inline_digest_2467 = JSCompiler_temp;
|
9195
|
+
JSCompiler_object_inline_stack_2468 = instance;
|
9196
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2469 =
|
9197
9197
|
componentStack;
|
9198
|
-
|
9199
|
-
|
9200
|
-
? Error(
|
9198
|
+
JSCompiler_object_inline_componentStack_2469 =
|
9199
|
+
JSCompiler_object_inline_message_2466
|
9200
|
+
? Error(JSCompiler_object_inline_message_2466)
|
9201
9201
|
: Error(
|
9202
9202
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9203
9203
|
);
|
9204
|
-
|
9205
|
-
|
9206
|
-
|
9207
|
-
|
9208
|
-
|
9204
|
+
JSCompiler_object_inline_componentStack_2469.stack =
|
9205
|
+
JSCompiler_object_inline_stack_2468 || "";
|
9206
|
+
JSCompiler_object_inline_componentStack_2469.digest =
|
9207
|
+
JSCompiler_object_inline_digest_2467;
|
9208
|
+
JSCompiler_object_inline_digest_2467 =
|
9209
9209
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
9210
|
-
|
9211
|
-
value:
|
9210
|
+
JSCompiler_object_inline_stack_2468 = {
|
9211
|
+
value: JSCompiler_object_inline_componentStack_2469,
|
9212
9212
|
source: null,
|
9213
|
-
stack:
|
9213
|
+
stack: JSCompiler_object_inline_digest_2467
|
9214
9214
|
};
|
9215
|
-
"string" === typeof
|
9215
|
+
"string" === typeof JSCompiler_object_inline_digest_2467 &&
|
9216
9216
|
CapturedStacks.set(
|
9217
|
-
|
9218
|
-
|
9217
|
+
JSCompiler_object_inline_componentStack_2469,
|
9218
|
+
JSCompiler_object_inline_stack_2468
|
9219
9219
|
);
|
9220
|
-
queueHydrationError(
|
9220
|
+
queueHydrationError(JSCompiler_object_inline_stack_2468);
|
9221
9221
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9222
9222
|
current,
|
9223
9223
|
workInProgress,
|
@@ -9231,44 +9231,44 @@
|
|
9231
9231
|
renderLanes,
|
9232
9232
|
!1
|
9233
9233
|
),
|
9234
|
-
(
|
9234
|
+
(JSCompiler_object_inline_digest_2467 =
|
9235
9235
|
0 !== (renderLanes & current.childLanes)),
|
9236
|
-
didReceiveUpdate ||
|
9236
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2467)
|
9237
9237
|
) {
|
9238
|
-
|
9238
|
+
JSCompiler_object_inline_digest_2467 = workInProgressRoot;
|
9239
9239
|
if (
|
9240
|
-
null !==
|
9241
|
-
((
|
9242
|
-
(
|
9243
|
-
0 !== (
|
9240
|
+
null !== JSCompiler_object_inline_digest_2467 &&
|
9241
|
+
((JSCompiler_object_inline_stack_2468 = renderLanes & -renderLanes),
|
9242
|
+
(JSCompiler_object_inline_stack_2468 =
|
9243
|
+
0 !== (JSCompiler_object_inline_stack_2468 & 42)
|
9244
9244
|
? 1
|
9245
9245
|
: getBumpedLaneForHydrationByLane(
|
9246
|
-
|
9246
|
+
JSCompiler_object_inline_stack_2468
|
9247
9247
|
)),
|
9248
|
-
(
|
9248
|
+
(JSCompiler_object_inline_stack_2468 =
|
9249
9249
|
0 !==
|
9250
|
-
(
|
9251
|
-
(
|
9250
|
+
(JSCompiler_object_inline_stack_2468 &
|
9251
|
+
(JSCompiler_object_inline_digest_2467.suspendedLanes |
|
9252
9252
|
renderLanes))
|
9253
9253
|
? 0
|
9254
|
-
:
|
9255
|
-
0 !==
|
9256
|
-
|
9254
|
+
: JSCompiler_object_inline_stack_2468),
|
9255
|
+
0 !== JSCompiler_object_inline_stack_2468 &&
|
9256
|
+
JSCompiler_object_inline_stack_2468 !== prevState.retryLane)
|
9257
9257
|
)
|
9258
9258
|
throw (
|
9259
|
-
((prevState.retryLane =
|
9259
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2468),
|
9260
9260
|
enqueueConcurrentRenderForLane(
|
9261
9261
|
current,
|
9262
|
-
|
9262
|
+
JSCompiler_object_inline_stack_2468
|
9263
9263
|
),
|
9264
9264
|
scheduleUpdateOnFiber(
|
9265
|
-
|
9265
|
+
JSCompiler_object_inline_digest_2467,
|
9266
9266
|
current,
|
9267
|
-
|
9267
|
+
JSCompiler_object_inline_stack_2468
|
9268
9268
|
),
|
9269
9269
|
SelectiveHydrationException)
|
9270
9270
|
);
|
9271
|
-
|
9271
|
+
JSCompiler_object_inline_message_2466.data ===
|
9272
9272
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
9273
9273
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9274
9274
|
current,
|
@@ -9276,14 +9276,14 @@
|
|
9276
9276
|
renderLanes
|
9277
9277
|
);
|
9278
9278
|
} else
|
9279
|
-
|
9279
|
+
JSCompiler_object_inline_message_2466.data ===
|
9280
9280
|
SUSPENSE_PENDING_START_DATA
|
9281
9281
|
? ((workInProgress.flags |= 192),
|
9282
9282
|
(workInProgress.child = current.child),
|
9283
9283
|
(workInProgress = null))
|
9284
9284
|
: ((current = prevState.treeContext),
|
9285
9285
|
(nextHydratableInstance = getNextHydratable(
|
9286
|
-
|
9286
|
+
JSCompiler_object_inline_message_2466.nextSibling
|
9287
9287
|
)),
|
9288
9288
|
(hydrationParentFiber = workInProgress),
|
9289
9289
|
(isHydrating = !0),
|
@@ -9301,57 +9301,57 @@
|
|
9301
9301
|
(treeContextProvider = workInProgress)),
|
9302
9302
|
(workInProgress = mountSuspensePrimaryChildren(
|
9303
9303
|
workInProgress,
|
9304
|
-
|
9304
|
+
JSCompiler_object_inline_stack_2468.children
|
9305
9305
|
)),
|
9306
9306
|
(workInProgress.flags |= 4096));
|
9307
9307
|
return workInProgress;
|
9308
9308
|
}
|
9309
|
-
if (
|
9309
|
+
if (JSCompiler_object_inline_componentStack_2469)
|
9310
9310
|
return (
|
9311
9311
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9312
|
-
(
|
9313
|
-
|
9314
|
-
(
|
9312
|
+
(JSCompiler_object_inline_componentStack_2469 =
|
9313
|
+
JSCompiler_object_inline_stack_2468.fallback),
|
9314
|
+
(JSCompiler_object_inline_message_2466 = workInProgress.mode),
|
9315
9315
|
(JSCompiler_temp = current.child),
|
9316
9316
|
(instance = JSCompiler_temp.sibling),
|
9317
|
-
(
|
9317
|
+
(JSCompiler_object_inline_stack_2468 = createWorkInProgress(
|
9318
9318
|
JSCompiler_temp,
|
9319
9319
|
{
|
9320
9320
|
mode: "hidden",
|
9321
|
-
children:
|
9321
|
+
children: JSCompiler_object_inline_stack_2468.children
|
9322
9322
|
}
|
9323
9323
|
)),
|
9324
|
-
(
|
9324
|
+
(JSCompiler_object_inline_stack_2468.subtreeFlags =
|
9325
9325
|
JSCompiler_temp.subtreeFlags & 65011712),
|
9326
9326
|
null !== instance
|
9327
|
-
? (
|
9327
|
+
? (JSCompiler_object_inline_componentStack_2469 =
|
9328
9328
|
createWorkInProgress(
|
9329
9329
|
instance,
|
9330
|
-
|
9330
|
+
JSCompiler_object_inline_componentStack_2469
|
9331
9331
|
))
|
9332
|
-
: ((
|
9332
|
+
: ((JSCompiler_object_inline_componentStack_2469 =
|
9333
9333
|
createFiberFromFragment(
|
9334
|
-
|
9335
|
-
|
9334
|
+
JSCompiler_object_inline_componentStack_2469,
|
9335
|
+
JSCompiler_object_inline_message_2466,
|
9336
9336
|
renderLanes,
|
9337
9337
|
null
|
9338
9338
|
)),
|
9339
|
-
(
|
9340
|
-
(
|
9339
|
+
(JSCompiler_object_inline_componentStack_2469.flags |= 2)),
|
9340
|
+
(JSCompiler_object_inline_componentStack_2469.return =
|
9341
9341
|
workInProgress),
|
9342
|
-
(
|
9343
|
-
(
|
9344
|
-
|
9345
|
-
(workInProgress.child =
|
9346
|
-
(
|
9347
|
-
|
9348
|
-
(
|
9349
|
-
(
|
9350
|
-
null ===
|
9351
|
-
? (
|
9342
|
+
(JSCompiler_object_inline_stack_2468.return = workInProgress),
|
9343
|
+
(JSCompiler_object_inline_stack_2468.sibling =
|
9344
|
+
JSCompiler_object_inline_componentStack_2469),
|
9345
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2468),
|
9346
|
+
(JSCompiler_object_inline_stack_2468 =
|
9347
|
+
JSCompiler_object_inline_componentStack_2469),
|
9348
|
+
(JSCompiler_object_inline_componentStack_2469 = workInProgress.child),
|
9349
|
+
(JSCompiler_object_inline_message_2466 = current.child.memoizedState),
|
9350
|
+
null === JSCompiler_object_inline_message_2466
|
9351
|
+
? (JSCompiler_object_inline_message_2466 =
|
9352
9352
|
mountSuspenseOffscreenState(renderLanes))
|
9353
9353
|
: ((JSCompiler_temp =
|
9354
|
-
|
9354
|
+
JSCompiler_object_inline_message_2466.cachePool),
|
9355
9355
|
null !== JSCompiler_temp
|
9356
9356
|
? ((instance = CacheContext._currentValue),
|
9357
9357
|
(JSCompiler_temp =
|
@@ -9359,37 +9359,37 @@
|
|
9359
9359
|
? { parent: instance, pool: instance }
|
9360
9360
|
: JSCompiler_temp))
|
9361
9361
|
: (JSCompiler_temp = getSuspendedCache()),
|
9362
|
-
(
|
9362
|
+
(JSCompiler_object_inline_message_2466 = {
|
9363
9363
|
baseLanes:
|
9364
|
-
|
9364
|
+
JSCompiler_object_inline_message_2466.baseLanes | renderLanes,
|
9365
9365
|
cachePool: JSCompiler_temp
|
9366
9366
|
})),
|
9367
|
-
(
|
9368
|
-
|
9369
|
-
(
|
9367
|
+
(JSCompiler_object_inline_componentStack_2469.memoizedState =
|
9368
|
+
JSCompiler_object_inline_message_2466),
|
9369
|
+
(JSCompiler_object_inline_componentStack_2469.childLanes =
|
9370
9370
|
getRemainingWorkInPrimaryTree(
|
9371
9371
|
current,
|
9372
|
-
|
9372
|
+
JSCompiler_object_inline_digest_2467,
|
9373
9373
|
renderLanes
|
9374
9374
|
)),
|
9375
9375
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9376
|
-
|
9376
|
+
JSCompiler_object_inline_stack_2468
|
9377
9377
|
);
|
9378
9378
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9379
9379
|
renderLanes = current.child;
|
9380
9380
|
current = renderLanes.sibling;
|
9381
9381
|
renderLanes = createWorkInProgress(renderLanes, {
|
9382
9382
|
mode: "visible",
|
9383
|
-
children:
|
9383
|
+
children: JSCompiler_object_inline_stack_2468.children
|
9384
9384
|
});
|
9385
9385
|
renderLanes.return = workInProgress;
|
9386
9386
|
renderLanes.sibling = null;
|
9387
9387
|
null !== current &&
|
9388
|
-
((
|
9389
|
-
null ===
|
9388
|
+
((JSCompiler_object_inline_digest_2467 = workInProgress.deletions),
|
9389
|
+
null === JSCompiler_object_inline_digest_2467
|
9390
9390
|
? ((workInProgress.deletions = [current]),
|
9391
9391
|
(workInProgress.flags |= 16))
|
9392
|
-
:
|
9392
|
+
: JSCompiler_object_inline_digest_2467.push(current));
|
9393
9393
|
workInProgress.child = renderLanes;
|
9394
9394
|
workInProgress.memoizedState = null;
|
9395
9395
|
return renderLanes;
|
@@ -15575,7 +15575,7 @@
|
|
15575
15575
|
rootDidHavePassiveEffects
|
15576
15576
|
? (pendingEffectsStatus = PENDING_PASSIVE_PHASE)
|
15577
15577
|
: ((pendingEffectsStatus = NO_PENDING_EFFECTS),
|
15578
|
-
(pendingEffectsRoot = null),
|
15578
|
+
(pendingFinishedWork = pendingEffectsRoot = null),
|
15579
15579
|
releaseRootPooledCache(root, root.pendingLanes),
|
15580
15580
|
(nestedPassiveUpdateCount = 0),
|
15581
15581
|
(rootWithPassiveNestedUpdates = null));
|
@@ -15661,6 +15661,49 @@
|
|
15661
15661
|
markCommitStopped();
|
15662
15662
|
}
|
15663
15663
|
}
|
15664
|
+
function flushGestureMutations() {
|
15665
|
+
if (pendingEffectsStatus === PENDING_GESTURE_MUTATION_PHASE) {
|
15666
|
+
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
15667
|
+
var root = pendingEffectsRoot,
|
15668
|
+
prevTransition = ReactSharedInternals.T;
|
15669
|
+
ReactSharedInternals.T = null;
|
15670
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
15671
|
+
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
15672
|
+
var prevExecutionContext = executionContext;
|
15673
|
+
executionContext |= CommitContext;
|
15674
|
+
try {
|
15675
|
+
var rootContainer = root.containerInfo,
|
15676
|
+
documentElement =
|
15677
|
+
9 === rootContainer.nodeType
|
15678
|
+
? rootContainer.documentElement
|
15679
|
+
: rootContainer.ownerDocument.documentElement;
|
15680
|
+
null !== documentElement &&
|
15681
|
+
"" === documentElement.style.viewTransitionName &&
|
15682
|
+
((documentElement.style.viewTransitionName = "none"),
|
15683
|
+
documentElement.animate(
|
15684
|
+
{ opacity: [0, 0], pointerEvents: ["none", "none"] },
|
15685
|
+
{
|
15686
|
+
duration: 0,
|
15687
|
+
fill: "forwards",
|
15688
|
+
pseudoElement: "::view-transition-group(root)"
|
15689
|
+
}
|
15690
|
+
),
|
15691
|
+
documentElement.animate(
|
15692
|
+
{ width: [0, 0], height: [0, 0] },
|
15693
|
+
{
|
15694
|
+
duration: 0,
|
15695
|
+
fill: "forwards",
|
15696
|
+
pseudoElement: "::view-transition"
|
15697
|
+
}
|
15698
|
+
));
|
15699
|
+
} finally {
|
15700
|
+
(executionContext = prevExecutionContext),
|
15701
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
15702
|
+
(ReactSharedInternals.T = prevTransition);
|
15703
|
+
}
|
15704
|
+
pendingEffectsStatus = PENDING_GESTURE_ANIMATION_PHASE;
|
15705
|
+
}
|
15706
|
+
}
|
15664
15707
|
function makeErrorInfo(componentStack) {
|
15665
15708
|
componentStack = { componentStack: componentStack };
|
15666
15709
|
Object.defineProperty(componentStack, "digest", {
|
@@ -15679,6 +15722,35 @@
|
|
15679
15722
|
((root.pooledCache = null), releaseCache(remainingLanes)));
|
15680
15723
|
}
|
15681
15724
|
function flushPendingEffects(wasDelayedCommit) {
|
15725
|
+
flushGestureMutations();
|
15726
|
+
flushGestureMutations();
|
15727
|
+
if (pendingEffectsStatus === PENDING_GESTURE_ANIMATION_PHASE) {
|
15728
|
+
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
15729
|
+
var root = pendingEffectsRoot;
|
15730
|
+
pendingFinishedWork = pendingEffectsRoot = null;
|
15731
|
+
pendingEffectsLanes = 0;
|
15732
|
+
var prevTransition = ReactSharedInternals.T;
|
15733
|
+
ReactSharedInternals.T = null;
|
15734
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
15735
|
+
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
15736
|
+
var prevExecutionContext = executionContext;
|
15737
|
+
executionContext |= CommitContext;
|
15738
|
+
try {
|
15739
|
+
var rootContainer = root.containerInfo,
|
15740
|
+
documentElement =
|
15741
|
+
9 === rootContainer.nodeType
|
15742
|
+
? rootContainer.documentElement
|
15743
|
+
: rootContainer.ownerDocument.documentElement;
|
15744
|
+
null !== documentElement &&
|
15745
|
+
"none" === documentElement.style.viewTransitionName &&
|
15746
|
+
(documentElement.style.viewTransitionName = "");
|
15747
|
+
} finally {
|
15748
|
+
(executionContext = prevExecutionContext),
|
15749
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
15750
|
+
(ReactSharedInternals.T = prevTransition);
|
15751
|
+
}
|
15752
|
+
ensureRootIsScheduled(root);
|
15753
|
+
}
|
15682
15754
|
flushMutationEffects();
|
15683
15755
|
flushLayoutEffects();
|
15684
15756
|
flushSpawnedWork();
|
@@ -15704,7 +15776,7 @@
|
|
15704
15776
|
var root$jscomp$0 = pendingEffectsRoot,
|
15705
15777
|
lanes = pendingEffectsLanes;
|
15706
15778
|
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
15707
|
-
pendingEffectsRoot = null;
|
15779
|
+
pendingFinishedWork = pendingEffectsRoot = null;
|
15708
15780
|
pendingEffectsLanes = 0;
|
15709
15781
|
if ((executionContext & (RenderContext | CommitContext)) !== NoContext)
|
15710
15782
|
throw Error("Cannot flush passive effects while already rendering.");
|
@@ -24204,6 +24276,8 @@
|
|
24204
24276
|
PENDING_AFTER_MUTATION_PHASE = 3,
|
24205
24277
|
PENDING_SPAWNED_WORK = 4,
|
24206
24278
|
PENDING_PASSIVE_PHASE = 5,
|
24279
|
+
PENDING_GESTURE_MUTATION_PHASE = 6,
|
24280
|
+
PENDING_GESTURE_ANIMATION_PHASE = 7,
|
24207
24281
|
pendingEffectsStatus = 0,
|
24208
24282
|
pendingEffectsRoot = null,
|
24209
24283
|
pendingFinishedWork = null,
|
@@ -24759,11 +24833,11 @@
|
|
24759
24833
|
};
|
24760
24834
|
(function () {
|
24761
24835
|
var isomorphicReactPackageVersion = React.version;
|
24762
|
-
if ("19.1.0-canary-
|
24836
|
+
if ("19.1.0-canary-2980f277-20250301" !== isomorphicReactPackageVersion)
|
24763
24837
|
throw Error(
|
24764
24838
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24765
24839
|
(isomorphicReactPackageVersion +
|
24766
|
-
"\n - react-dom: 19.1.0-canary-
|
24840
|
+
"\n - react-dom: 19.1.0-canary-2980f277-20250301\nLearn more: https://react.dev/warnings/version-mismatch")
|
24767
24841
|
);
|
24768
24842
|
})();
|
24769
24843
|
("function" === typeof Map &&
|
@@ -24800,10 +24874,10 @@
|
|
24800
24874
|
!(function () {
|
24801
24875
|
var internals = {
|
24802
24876
|
bundleType: 1,
|
24803
|
-
version: "19.1.0-canary-
|
24877
|
+
version: "19.1.0-canary-2980f277-20250301",
|
24804
24878
|
rendererPackageName: "react-dom",
|
24805
24879
|
currentDispatcherRef: ReactSharedInternals,
|
24806
|
-
reconcilerVersion: "19.1.0-canary-
|
24880
|
+
reconcilerVersion: "19.1.0-canary-2980f277-20250301"
|
24807
24881
|
};
|
24808
24882
|
internals.overrideHookState = overrideHookState;
|
24809
24883
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -24947,7 +25021,7 @@
|
|
24947
25021
|
listenToAllSupportedEvents(container);
|
24948
25022
|
return new ReactDOMHydrationRoot(initialChildren);
|
24949
25023
|
};
|
24950
|
-
exports.version = "19.1.0-canary-
|
25024
|
+
exports.version = "19.1.0-canary-2980f277-20250301";
|
24951
25025
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
24952
25026
|
"function" ===
|
24953
25027
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|