react-dom 19.1.0-canary-0ca3deeb-20250311 → 19.1.0-canary-f457d0b4-20250313
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 +195 -173
- package/cjs/react-dom-client.production.js +40 -28
- package/cjs/react-dom-profiling.development.js +195 -173
- package/cjs/react-dom-profiling.profiling.js +38 -26
- 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_2468;
|
8980
|
+
var JSCompiler_object_inline_stack_2469 = workInProgress.pendingProps;
|
8981
8981
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
8982
|
-
var
|
8982
|
+
var JSCompiler_object_inline_componentStack_2470 = !1;
|
8983
8983
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
8984
|
-
(
|
8985
|
-
(
|
8984
|
+
(JSCompiler_object_inline_digest_2468 = didSuspend) ||
|
8985
|
+
(JSCompiler_object_inline_digest_2468 =
|
8986
8986
|
null !== current && null === current.memoizedState
|
8987
8987
|
? !1
|
8988
8988
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
8989
|
-
|
8990
|
-
((
|
8989
|
+
JSCompiler_object_inline_digest_2468 &&
|
8990
|
+
((JSCompiler_object_inline_componentStack_2470 = !0),
|
8991
8991
|
(workInProgress.flags &= -129));
|
8992
|
-
|
8992
|
+
JSCompiler_object_inline_digest_2468 = 0 !== (workInProgress.flags & 32);
|
8993
8993
|
workInProgress.flags &= -33;
|
8994
8994
|
if (null === current) {
|
8995
8995
|
if (isHydrating) {
|
8996
|
-
|
8996
|
+
JSCompiler_object_inline_componentStack_2470
|
8997
8997
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
8998
8998
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
8999
8999
|
if (isHydrating) {
|
9000
|
-
var
|
9000
|
+
var JSCompiler_object_inline_message_2467 = nextHydratableInstance;
|
9001
9001
|
var JSCompiler_temp;
|
9002
|
-
if (!(JSCompiler_temp = !
|
9002
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2467)) {
|
9003
9003
|
c: {
|
9004
|
-
var instance =
|
9004
|
+
var instance = JSCompiler_object_inline_message_2467;
|
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_2467
|
9047
9047
|
),
|
9048
9048
|
throwOnHydrationMismatch(workInProgress));
|
9049
9049
|
}
|
9050
|
-
|
9050
|
+
JSCompiler_object_inline_message_2467 = workInProgress.memoizedState;
|
9051
9051
|
if (
|
9052
|
-
null !==
|
9053
|
-
((
|
9054
|
-
|
9055
|
-
null !==
|
9052
|
+
null !== JSCompiler_object_inline_message_2467 &&
|
9053
|
+
((JSCompiler_object_inline_message_2467 =
|
9054
|
+
JSCompiler_object_inline_message_2467.dehydrated),
|
9055
|
+
null !== JSCompiler_object_inline_message_2467)
|
9056
9056
|
)
|
9057
9057
|
return (
|
9058
|
-
isSuspenseInstanceFallback(
|
9058
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2467)
|
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_2467 =
|
9066
|
+
JSCompiler_object_inline_stack_2469.children;
|
9067
|
+
JSCompiler_object_inline_stack_2469 =
|
9068
|
+
JSCompiler_object_inline_stack_2469.fallback;
|
9069
|
+
if (JSCompiler_object_inline_componentStack_2470)
|
9070
9070
|
return (
|
9071
9071
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9072
|
-
(
|
9072
|
+
(JSCompiler_object_inline_componentStack_2470 =
|
9073
9073
|
workInProgress.mode),
|
9074
|
-
(
|
9074
|
+
(JSCompiler_object_inline_message_2467 =
|
9075
9075
|
mountWorkInProgressOffscreenFiber(
|
9076
9076
|
{
|
9077
9077
|
mode: "hidden",
|
9078
|
-
children:
|
9078
|
+
children: JSCompiler_object_inline_message_2467
|
9079
9079
|
},
|
9080
|
-
|
9080
|
+
JSCompiler_object_inline_componentStack_2470
|
9081
9081
|
)),
|
9082
|
-
(
|
9083
|
-
|
9084
|
-
|
9082
|
+
(JSCompiler_object_inline_stack_2469 = createFiberFromFragment(
|
9083
|
+
JSCompiler_object_inline_stack_2469,
|
9084
|
+
JSCompiler_object_inline_componentStack_2470,
|
9085
9085
|
renderLanes,
|
9086
9086
|
null
|
9087
9087
|
)),
|
9088
|
-
(
|
9089
|
-
(
|
9090
|
-
(
|
9091
|
-
|
9092
|
-
(workInProgress.child =
|
9093
|
-
(
|
9088
|
+
(JSCompiler_object_inline_message_2467.return = workInProgress),
|
9089
|
+
(JSCompiler_object_inline_stack_2469.return = workInProgress),
|
9090
|
+
(JSCompiler_object_inline_message_2467.sibling =
|
9091
|
+
JSCompiler_object_inline_stack_2469),
|
9092
|
+
(workInProgress.child = JSCompiler_object_inline_message_2467),
|
9093
|
+
(JSCompiler_object_inline_componentStack_2470 =
|
9094
9094
|
workInProgress.child),
|
9095
|
-
(
|
9095
|
+
(JSCompiler_object_inline_componentStack_2470.memoizedState =
|
9096
9096
|
mountSuspenseOffscreenState(renderLanes)),
|
9097
|
-
(
|
9097
|
+
(JSCompiler_object_inline_componentStack_2470.childLanes =
|
9098
9098
|
getRemainingWorkInPrimaryTree(
|
9099
9099
|
current,
|
9100
|
-
|
9100
|
+
JSCompiler_object_inline_digest_2468,
|
9101
9101
|
renderLanes
|
9102
9102
|
)),
|
9103
9103
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9104
|
-
|
9104
|
+
JSCompiler_object_inline_stack_2469
|
9105
9105
|
);
|
9106
9106
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9107
9107
|
return mountSuspensePrimaryChildren(
|
9108
9108
|
workInProgress,
|
9109
|
-
|
9109
|
+
JSCompiler_object_inline_message_2467
|
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_2467 = prevState.dehydrated),
|
9116
|
+
null !== JSCompiler_object_inline_message_2467)
|
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_2470 =
|
9134
|
+
JSCompiler_object_inline_stack_2469.fallback),
|
9135
|
+
(JSCompiler_object_inline_message_2467 = workInProgress.mode),
|
9136
|
+
(JSCompiler_object_inline_stack_2469 =
|
9137
9137
|
mountWorkInProgressOffscreenFiber(
|
9138
9138
|
{
|
9139
9139
|
mode: "visible",
|
9140
|
-
children:
|
9140
|
+
children: JSCompiler_object_inline_stack_2469.children
|
9141
9141
|
},
|
9142
|
-
|
9142
|
+
JSCompiler_object_inline_message_2467
|
9143
9143
|
)),
|
9144
|
-
(
|
9144
|
+
(JSCompiler_object_inline_componentStack_2470 =
|
9145
9145
|
createFiberFromFragment(
|
9146
|
-
|
9147
|
-
|
9146
|
+
JSCompiler_object_inline_componentStack_2470,
|
9147
|
+
JSCompiler_object_inline_message_2467,
|
9148
9148
|
renderLanes,
|
9149
9149
|
null
|
9150
9150
|
)),
|
9151
|
-
(
|
9152
|
-
(
|
9153
|
-
(
|
9151
|
+
(JSCompiler_object_inline_componentStack_2470.flags |= 2),
|
9152
|
+
(JSCompiler_object_inline_stack_2469.return = workInProgress),
|
9153
|
+
(JSCompiler_object_inline_componentStack_2470.return =
|
9154
9154
|
workInProgress),
|
9155
|
-
(
|
9156
|
-
|
9157
|
-
(workInProgress.child =
|
9155
|
+
(JSCompiler_object_inline_stack_2469.sibling =
|
9156
|
+
JSCompiler_object_inline_componentStack_2470),
|
9157
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2469),
|
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_2469 = workInProgress.child),
|
9165
|
+
(JSCompiler_object_inline_stack_2469.memoizedState =
|
9166
9166
|
mountSuspenseOffscreenState(renderLanes)),
|
9167
|
-
(
|
9167
|
+
(JSCompiler_object_inline_stack_2469.childLanes =
|
9168
9168
|
getRemainingWorkInPrimaryTree(
|
9169
9169
|
current,
|
9170
|
-
|
9170
|
+
JSCompiler_object_inline_digest_2468,
|
9171
9171
|
renderLanes
|
9172
9172
|
)),
|
9173
9173
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9174
9174
|
(workInProgress =
|
9175
|
-
|
9175
|
+
JSCompiler_object_inline_componentStack_2470));
|
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_2467))
|
9183
9183
|
) {
|
9184
|
-
|
9185
|
-
|
9186
|
-
|
9187
|
-
if (
|
9188
|
-
JSCompiler_temp =
|
9189
|
-
var message =
|
9190
|
-
instance =
|
9191
|
-
var componentStack =
|
9184
|
+
JSCompiler_object_inline_digest_2468 =
|
9185
|
+
JSCompiler_object_inline_message_2467.nextSibling &&
|
9186
|
+
JSCompiler_object_inline_message_2467.nextSibling.dataset;
|
9187
|
+
if (JSCompiler_object_inline_digest_2468) {
|
9188
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2468.dgst;
|
9189
|
+
var message = JSCompiler_object_inline_digest_2468.msg;
|
9190
|
+
instance = JSCompiler_object_inline_digest_2468.stck;
|
9191
|
+
var componentStack = JSCompiler_object_inline_digest_2468.cstck;
|
9192
9192
|
}
|
9193
|
-
|
9194
|
-
|
9195
|
-
|
9196
|
-
JSCompiler_temp =
|
9193
|
+
JSCompiler_object_inline_message_2467 = message;
|
9194
|
+
JSCompiler_object_inline_digest_2468 = JSCompiler_temp;
|
9195
|
+
JSCompiler_object_inline_stack_2469 = instance;
|
9196
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2470 =
|
9197
9197
|
componentStack;
|
9198
|
-
|
9199
|
-
|
9200
|
-
? Error(
|
9198
|
+
JSCompiler_object_inline_componentStack_2470 =
|
9199
|
+
JSCompiler_object_inline_message_2467
|
9200
|
+
? Error(JSCompiler_object_inline_message_2467)
|
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_2470.stack =
|
9205
|
+
JSCompiler_object_inline_stack_2469 || "";
|
9206
|
+
JSCompiler_object_inline_componentStack_2470.digest =
|
9207
|
+
JSCompiler_object_inline_digest_2468;
|
9208
|
+
JSCompiler_object_inline_digest_2468 =
|
9209
9209
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
9210
|
-
|
9211
|
-
value:
|
9210
|
+
JSCompiler_object_inline_stack_2469 = {
|
9211
|
+
value: JSCompiler_object_inline_componentStack_2470,
|
9212
9212
|
source: null,
|
9213
|
-
stack:
|
9213
|
+
stack: JSCompiler_object_inline_digest_2468
|
9214
9214
|
};
|
9215
|
-
"string" === typeof
|
9215
|
+
"string" === typeof JSCompiler_object_inline_digest_2468 &&
|
9216
9216
|
CapturedStacks.set(
|
9217
|
-
|
9218
|
-
|
9217
|
+
JSCompiler_object_inline_componentStack_2470,
|
9218
|
+
JSCompiler_object_inline_stack_2469
|
9219
9219
|
);
|
9220
|
-
queueHydrationError(
|
9220
|
+
queueHydrationError(JSCompiler_object_inline_stack_2469);
|
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_2468 =
|
9235
9235
|
0 !== (renderLanes & current.childLanes)),
|
9236
|
-
didReceiveUpdate ||
|
9236
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2468)
|
9237
9237
|
) {
|
9238
|
-
|
9238
|
+
JSCompiler_object_inline_digest_2468 = workInProgressRoot;
|
9239
9239
|
if (
|
9240
|
-
null !==
|
9241
|
-
((
|
9242
|
-
(
|
9243
|
-
0 !== (
|
9240
|
+
null !== JSCompiler_object_inline_digest_2468 &&
|
9241
|
+
((JSCompiler_object_inline_stack_2469 = renderLanes & -renderLanes),
|
9242
|
+
(JSCompiler_object_inline_stack_2469 =
|
9243
|
+
0 !== (JSCompiler_object_inline_stack_2469 & 42)
|
9244
9244
|
? 1
|
9245
9245
|
: getBumpedLaneForHydrationByLane(
|
9246
|
-
|
9246
|
+
JSCompiler_object_inline_stack_2469
|
9247
9247
|
)),
|
9248
|
-
(
|
9248
|
+
(JSCompiler_object_inline_stack_2469 =
|
9249
9249
|
0 !==
|
9250
|
-
(
|
9251
|
-
(
|
9250
|
+
(JSCompiler_object_inline_stack_2469 &
|
9251
|
+
(JSCompiler_object_inline_digest_2468.suspendedLanes |
|
9252
9252
|
renderLanes))
|
9253
9253
|
? 0
|
9254
|
-
:
|
9255
|
-
0 !==
|
9256
|
-
|
9254
|
+
: JSCompiler_object_inline_stack_2469),
|
9255
|
+
0 !== JSCompiler_object_inline_stack_2469 &&
|
9256
|
+
JSCompiler_object_inline_stack_2469 !== prevState.retryLane)
|
9257
9257
|
)
|
9258
9258
|
throw (
|
9259
|
-
((prevState.retryLane =
|
9259
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2469),
|
9260
9260
|
enqueueConcurrentRenderForLane(
|
9261
9261
|
current,
|
9262
|
-
|
9262
|
+
JSCompiler_object_inline_stack_2469
|
9263
9263
|
),
|
9264
9264
|
scheduleUpdateOnFiber(
|
9265
|
-
|
9265
|
+
JSCompiler_object_inline_digest_2468,
|
9266
9266
|
current,
|
9267
|
-
|
9267
|
+
JSCompiler_object_inline_stack_2469
|
9268
9268
|
),
|
9269
9269
|
SelectiveHydrationException)
|
9270
9270
|
);
|
9271
|
-
|
9271
|
+
JSCompiler_object_inline_message_2467.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_2467.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_2467.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_2469.children
|
9305
9305
|
)),
|
9306
9306
|
(workInProgress.flags |= 4096));
|
9307
9307
|
return workInProgress;
|
9308
9308
|
}
|
9309
|
-
if (
|
9309
|
+
if (JSCompiler_object_inline_componentStack_2470)
|
9310
9310
|
return (
|
9311
9311
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9312
|
-
(
|
9313
|
-
|
9314
|
-
(
|
9312
|
+
(JSCompiler_object_inline_componentStack_2470 =
|
9313
|
+
JSCompiler_object_inline_stack_2469.fallback),
|
9314
|
+
(JSCompiler_object_inline_message_2467 = workInProgress.mode),
|
9315
9315
|
(JSCompiler_temp = current.child),
|
9316
9316
|
(instance = JSCompiler_temp.sibling),
|
9317
|
-
(
|
9317
|
+
(JSCompiler_object_inline_stack_2469 = createWorkInProgress(
|
9318
9318
|
JSCompiler_temp,
|
9319
9319
|
{
|
9320
9320
|
mode: "hidden",
|
9321
|
-
children:
|
9321
|
+
children: JSCompiler_object_inline_stack_2469.children
|
9322
9322
|
}
|
9323
9323
|
)),
|
9324
|
-
(
|
9324
|
+
(JSCompiler_object_inline_stack_2469.subtreeFlags =
|
9325
9325
|
JSCompiler_temp.subtreeFlags & 65011712),
|
9326
9326
|
null !== instance
|
9327
|
-
? (
|
9327
|
+
? (JSCompiler_object_inline_componentStack_2470 =
|
9328
9328
|
createWorkInProgress(
|
9329
9329
|
instance,
|
9330
|
-
|
9330
|
+
JSCompiler_object_inline_componentStack_2470
|
9331
9331
|
))
|
9332
|
-
: ((
|
9332
|
+
: ((JSCompiler_object_inline_componentStack_2470 =
|
9333
9333
|
createFiberFromFragment(
|
9334
|
-
|
9335
|
-
|
9334
|
+
JSCompiler_object_inline_componentStack_2470,
|
9335
|
+
JSCompiler_object_inline_message_2467,
|
9336
9336
|
renderLanes,
|
9337
9337
|
null
|
9338
9338
|
)),
|
9339
|
-
(
|
9340
|
-
(
|
9339
|
+
(JSCompiler_object_inline_componentStack_2470.flags |= 2)),
|
9340
|
+
(JSCompiler_object_inline_componentStack_2470.return =
|
9341
9341
|
workInProgress),
|
9342
|
-
(
|
9343
|
-
(
|
9344
|
-
|
9345
|
-
(workInProgress.child =
|
9346
|
-
(
|
9347
|
-
|
9348
|
-
(
|
9349
|
-
(
|
9350
|
-
null ===
|
9351
|
-
? (
|
9342
|
+
(JSCompiler_object_inline_stack_2469.return = workInProgress),
|
9343
|
+
(JSCompiler_object_inline_stack_2469.sibling =
|
9344
|
+
JSCompiler_object_inline_componentStack_2470),
|
9345
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2469),
|
9346
|
+
(JSCompiler_object_inline_stack_2469 =
|
9347
|
+
JSCompiler_object_inline_componentStack_2470),
|
9348
|
+
(JSCompiler_object_inline_componentStack_2470 = workInProgress.child),
|
9349
|
+
(JSCompiler_object_inline_message_2467 = current.child.memoizedState),
|
9350
|
+
null === JSCompiler_object_inline_message_2467
|
9351
|
+
? (JSCompiler_object_inline_message_2467 =
|
9352
9352
|
mountSuspenseOffscreenState(renderLanes))
|
9353
9353
|
: ((JSCompiler_temp =
|
9354
|
-
|
9354
|
+
JSCompiler_object_inline_message_2467.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_2467 = {
|
9363
9363
|
baseLanes:
|
9364
|
-
|
9364
|
+
JSCompiler_object_inline_message_2467.baseLanes | renderLanes,
|
9365
9365
|
cachePool: JSCompiler_temp
|
9366
9366
|
})),
|
9367
|
-
(
|
9368
|
-
|
9369
|
-
(
|
9367
|
+
(JSCompiler_object_inline_componentStack_2470.memoizedState =
|
9368
|
+
JSCompiler_object_inline_message_2467),
|
9369
|
+
(JSCompiler_object_inline_componentStack_2470.childLanes =
|
9370
9370
|
getRemainingWorkInPrimaryTree(
|
9371
9371
|
current,
|
9372
|
-
|
9372
|
+
JSCompiler_object_inline_digest_2468,
|
9373
9373
|
renderLanes
|
9374
9374
|
)),
|
9375
9375
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9376
|
-
|
9376
|
+
JSCompiler_object_inline_stack_2469
|
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_2469.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_2468 = workInProgress.deletions),
|
9389
|
+
null === JSCompiler_object_inline_digest_2468
|
9390
9390
|
? ((workInProgress.deletions = [current]),
|
9391
9391
|
(workInProgress.flags |= 16))
|
9392
|
-
:
|
9392
|
+
: JSCompiler_object_inline_digest_2468.push(current));
|
9393
9393
|
workInProgress.child = renderLanes;
|
9394
9394
|
workInProgress.memoizedState = null;
|
9395
9395
|
return renderLanes;
|
@@ -10769,6 +10769,9 @@
|
|
10769
10769
|
case 5:
|
10770
10770
|
var instanceToUse = finishedWork.stateNode;
|
10771
10771
|
break;
|
10772
|
+
case 30:
|
10773
|
+
instanceToUse = finishedWork.stateNode;
|
10774
|
+
break;
|
10772
10775
|
default:
|
10773
10776
|
instanceToUse = finishedWork.stateNode;
|
10774
10777
|
}
|
@@ -11002,39 +11005,50 @@
|
|
11002
11005
|
(node = node.sibling);
|
11003
11006
|
}
|
11004
11007
|
function commitPlacement(finishedWork) {
|
11005
|
-
|
11006
|
-
|
11007
|
-
|
11008
|
-
|
11009
|
-
|
11010
|
-
|
11011
|
-
|
11008
|
+
for (
|
11009
|
+
var hostParentFiber, parentFiber = finishedWork.return;
|
11010
|
+
null !== parentFiber;
|
11011
|
+
|
11012
|
+
) {
|
11013
|
+
if (isHostParent(parentFiber)) {
|
11014
|
+
hostParentFiber = parentFiber;
|
11015
|
+
break;
|
11012
11016
|
}
|
11017
|
+
parentFiber = parentFiber.return;
|
11018
|
+
}
|
11019
|
+
if (null == hostParentFiber)
|
11013
11020
|
throw Error(
|
11014
11021
|
"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."
|
11015
11022
|
);
|
11016
|
-
|
11017
|
-
switch (parentFiber.tag) {
|
11023
|
+
switch (hostParentFiber.tag) {
|
11018
11024
|
case 27:
|
11019
|
-
|
11025
|
+
hostParentFiber = hostParentFiber.stateNode;
|
11020
11026
|
parentFiber = getHostSibling(finishedWork);
|
11021
|
-
insertOrAppendPlacementNode(
|
11027
|
+
insertOrAppendPlacementNode(
|
11028
|
+
finishedWork,
|
11029
|
+
parentFiber,
|
11030
|
+
hostParentFiber
|
11031
|
+
);
|
11022
11032
|
break;
|
11023
11033
|
case 5:
|
11024
|
-
|
11025
|
-
|
11026
|
-
(resetTextContent(
|
11027
|
-
|
11028
|
-
insertOrAppendPlacementNode(
|
11034
|
+
parentFiber = hostParentFiber.stateNode;
|
11035
|
+
hostParentFiber.flags & 32 &&
|
11036
|
+
(resetTextContent(parentFiber), (hostParentFiber.flags &= -33));
|
11037
|
+
hostParentFiber = getHostSibling(finishedWork);
|
11038
|
+
insertOrAppendPlacementNode(
|
11039
|
+
finishedWork,
|
11040
|
+
hostParentFiber,
|
11041
|
+
parentFiber
|
11042
|
+
);
|
11029
11043
|
break;
|
11030
11044
|
case 3:
|
11031
11045
|
case 4:
|
11032
|
-
|
11046
|
+
hostParentFiber = hostParentFiber.stateNode.containerInfo;
|
11033
11047
|
parentFiber = getHostSibling(finishedWork);
|
11034
11048
|
insertOrAppendPlacementNodeIntoContainer(
|
11035
11049
|
finishedWork,
|
11036
11050
|
parentFiber,
|
11037
|
-
|
11051
|
+
hostParentFiber
|
11038
11052
|
);
|
11039
11053
|
break;
|
11040
11054
|
default:
|
@@ -11384,6 +11398,8 @@
|
|
11384
11398
|
? safelyAttachRef(finishedWork, finishedWork.return)
|
11385
11399
|
: safelyDetachRef(finishedWork, finishedWork.return));
|
11386
11400
|
break;
|
11401
|
+
case 30:
|
11402
|
+
break;
|
11387
11403
|
default:
|
11388
11404
|
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
11389
11405
|
}
|
@@ -12160,6 +12176,7 @@
|
|
12160
12176
|
attachSuspenseRetryListeners(finishedWork, flags)));
|
12161
12177
|
break;
|
12162
12178
|
case 30:
|
12179
|
+
break;
|
12163
12180
|
case 21:
|
12164
12181
|
break;
|
12165
12182
|
default:
|
@@ -12234,6 +12251,9 @@
|
|
12234
12251
|
null === finishedWork.memoizedState &&
|
12235
12252
|
recursivelyTraverseDisappearLayoutEffects(finishedWork);
|
12236
12253
|
break;
|
12254
|
+
case 30:
|
12255
|
+
recursivelyTraverseDisappearLayoutEffects(finishedWork);
|
12256
|
+
break;
|
12237
12257
|
default:
|
12238
12258
|
recursivelyTraverseDisappearLayoutEffects(finishedWork);
|
12239
12259
|
}
|
@@ -12358,6 +12378,8 @@
|
|
12358
12378
|
);
|
12359
12379
|
safelyAttachRef(finishedWork, finishedWork.return);
|
12360
12380
|
break;
|
12381
|
+
case 30:
|
12382
|
+
break;
|
12361
12383
|
default:
|
12362
12384
|
recursivelyTraverseReappearLayoutEffects(
|
12363
12385
|
finishedRoot,
|
@@ -24840,11 +24862,11 @@
|
|
24840
24862
|
};
|
24841
24863
|
(function () {
|
24842
24864
|
var isomorphicReactPackageVersion = React.version;
|
24843
|
-
if ("19.1.0-canary-
|
24865
|
+
if ("19.1.0-canary-f457d0b4-20250313" !== isomorphicReactPackageVersion)
|
24844
24866
|
throw Error(
|
24845
24867
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24846
24868
|
(isomorphicReactPackageVersion +
|
24847
|
-
"\n - react-dom: 19.1.0-canary-
|
24869
|
+
"\n - react-dom: 19.1.0-canary-f457d0b4-20250313\nLearn more: https://react.dev/warnings/version-mismatch")
|
24848
24870
|
);
|
24849
24871
|
})();
|
24850
24872
|
("function" === typeof Map &&
|
@@ -24881,10 +24903,10 @@
|
|
24881
24903
|
!(function () {
|
24882
24904
|
var internals = {
|
24883
24905
|
bundleType: 1,
|
24884
|
-
version: "19.1.0-canary-
|
24906
|
+
version: "19.1.0-canary-f457d0b4-20250313",
|
24885
24907
|
rendererPackageName: "react-dom",
|
24886
24908
|
currentDispatcherRef: ReactSharedInternals,
|
24887
|
-
reconcilerVersion: "19.1.0-canary-
|
24909
|
+
reconcilerVersion: "19.1.0-canary-f457d0b4-20250313"
|
24888
24910
|
};
|
24889
24911
|
internals.overrideHookState = overrideHookState;
|
24890
24912
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25028,7 +25050,7 @@
|
|
25028
25050
|
listenToAllSupportedEvents(container);
|
25029
25051
|
return new ReactDOMHydrationRoot(initialChildren);
|
25030
25052
|
};
|
25031
|
-
exports.version = "19.1.0-canary-
|
25053
|
+
exports.version = "19.1.0-canary-f457d0b4-20250313";
|
25032
25054
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25033
25055
|
"function" ===
|
25034
25056
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|