react-dom 19.1.0-canary-5398b711-20250314 → 19.1.0-canary-fbcda19a-20250317
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 +223 -258
- package/cjs/react-dom-client.production.js +235 -270
- package/cjs/react-dom-profiling.development.js +223 -258
- package/cjs/react-dom-profiling.profiling.js +262 -297
- package/cjs/react-dom-server-legacy.browser.development.js +7 -5
- package/cjs/react-dom-server-legacy.browser.production.js +7 -5
- package/cjs/react-dom-server-legacy.node.development.js +7 -5
- package/cjs/react-dom-server-legacy.node.production.js +7 -5
- package/cjs/react-dom-server.browser.development.js +9 -7
- package/cjs/react-dom-server.browser.production.js +9 -7
- package/cjs/react-dom-server.bun.development.js +9 -7
- package/cjs/react-dom-server.bun.production.js +9 -7
- package/cjs/react-dom-server.edge.development.js +9 -7
- package/cjs/react-dom-server.edge.production.js +9 -7
- package/cjs/react-dom-server.node.development.js +9 -7
- package/cjs/react-dom-server.node.production.js +9 -7
- 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
@@ -254,8 +254,6 @@
|
|
254
254
|
switch (type) {
|
255
255
|
case REACT_FRAGMENT_TYPE:
|
256
256
|
return "Fragment";
|
257
|
-
case REACT_PORTAL_TYPE:
|
258
|
-
return "Portal";
|
259
257
|
case REACT_PROFILER_TYPE:
|
260
258
|
return "Profiler";
|
261
259
|
case REACT_STRICT_MODE_TYPE:
|
@@ -264,6 +262,8 @@
|
|
264
262
|
return "Suspense";
|
265
263
|
case REACT_SUSPENSE_LIST_TYPE:
|
266
264
|
return "SuspenseList";
|
265
|
+
case REACT_ACTIVITY_TYPE:
|
266
|
+
return "Activity";
|
267
267
|
}
|
268
268
|
if ("object" === typeof type)
|
269
269
|
switch (
|
@@ -273,6 +273,8 @@
|
|
273
273
|
),
|
274
274
|
type.$$typeof)
|
275
275
|
) {
|
276
|
+
case REACT_PORTAL_TYPE:
|
277
|
+
return "Portal";
|
276
278
|
case REACT_CONTEXT_TYPE:
|
277
279
|
return (type.displayName || "Context") + ".Provider";
|
278
280
|
case REACT_CONSUMER_TYPE:
|
@@ -310,6 +312,8 @@
|
|
310
312
|
function getComponentNameFromFiber(fiber) {
|
311
313
|
var type = fiber.type;
|
312
314
|
switch (fiber.tag) {
|
315
|
+
case 31:
|
316
|
+
return "Activity";
|
313
317
|
case 24:
|
314
318
|
return "Cache";
|
315
319
|
case 9:
|
@@ -1413,6 +1417,8 @@
|
|
1413
1417
|
return describeNativeComponentFrame(fiber.type.render, !1);
|
1414
1418
|
case 1:
|
1415
1419
|
return describeNativeComponentFrame(fiber.type, !0);
|
1420
|
+
case 31:
|
1421
|
+
return describeBuiltInComponentFrame("Activity");
|
1416
1422
|
default:
|
1417
1423
|
return "";
|
1418
1424
|
}
|
@@ -1470,6 +1476,9 @@
|
|
1470
1476
|
case 19:
|
1471
1477
|
info += describeBuiltInComponentFrame("SuspenseList");
|
1472
1478
|
break;
|
1479
|
+
case 31:
|
1480
|
+
info += describeBuiltInComponentFrame("Activity");
|
1481
|
+
break;
|
1473
1482
|
case 30:
|
1474
1483
|
case 0:
|
1475
1484
|
case 15:
|
@@ -8984,32 +8993,32 @@
|
|
8984
8993
|
return current;
|
8985
8994
|
}
|
8986
8995
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
8987
|
-
var
|
8988
|
-
var
|
8996
|
+
var JSCompiler_object_inline_digest_2470;
|
8997
|
+
var JSCompiler_object_inline_stack_2471 = workInProgress.pendingProps;
|
8989
8998
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
8990
|
-
var
|
8999
|
+
var JSCompiler_object_inline_componentStack_2472 = !1;
|
8991
9000
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
8992
|
-
(
|
8993
|
-
(
|
9001
|
+
(JSCompiler_object_inline_digest_2470 = didSuspend) ||
|
9002
|
+
(JSCompiler_object_inline_digest_2470 =
|
8994
9003
|
null !== current && null === current.memoizedState
|
8995
9004
|
? !1
|
8996
9005
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
8997
|
-
|
8998
|
-
((
|
9006
|
+
JSCompiler_object_inline_digest_2470 &&
|
9007
|
+
((JSCompiler_object_inline_componentStack_2472 = !0),
|
8999
9008
|
(workInProgress.flags &= -129));
|
9000
|
-
|
9009
|
+
JSCompiler_object_inline_digest_2470 = 0 !== (workInProgress.flags & 32);
|
9001
9010
|
workInProgress.flags &= -33;
|
9002
9011
|
if (null === current) {
|
9003
9012
|
if (isHydrating) {
|
9004
|
-
|
9013
|
+
JSCompiler_object_inline_componentStack_2472
|
9005
9014
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
9006
9015
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
9007
9016
|
if (isHydrating) {
|
9008
|
-
var
|
9017
|
+
var JSCompiler_object_inline_message_2469 = nextHydratableInstance;
|
9009
9018
|
var JSCompiler_temp;
|
9010
|
-
if (!(JSCompiler_temp = !
|
9019
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2469)) {
|
9011
9020
|
c: {
|
9012
|
-
var instance =
|
9021
|
+
var instance = JSCompiler_object_inline_message_2469;
|
9013
9022
|
for (
|
9014
9023
|
JSCompiler_temp = rootOrSingletonContext;
|
9015
9024
|
8 !== instance.nodeType;
|
@@ -9051,77 +9060,77 @@
|
|
9051
9060
|
JSCompiler_temp &&
|
9052
9061
|
(warnNonHydratedInstance(
|
9053
9062
|
workInProgress,
|
9054
|
-
|
9063
|
+
JSCompiler_object_inline_message_2469
|
9055
9064
|
),
|
9056
9065
|
throwOnHydrationMismatch(workInProgress));
|
9057
9066
|
}
|
9058
|
-
|
9067
|
+
JSCompiler_object_inline_message_2469 = workInProgress.memoizedState;
|
9059
9068
|
if (
|
9060
|
-
null !==
|
9061
|
-
((
|
9062
|
-
|
9063
|
-
null !==
|
9069
|
+
null !== JSCompiler_object_inline_message_2469 &&
|
9070
|
+
((JSCompiler_object_inline_message_2469 =
|
9071
|
+
JSCompiler_object_inline_message_2469.dehydrated),
|
9072
|
+
null !== JSCompiler_object_inline_message_2469)
|
9064
9073
|
)
|
9065
9074
|
return (
|
9066
|
-
isSuspenseInstanceFallback(
|
9075
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2469)
|
9067
9076
|
? (workInProgress.lanes = 32)
|
9068
9077
|
: (workInProgress.lanes = 536870912),
|
9069
9078
|
null
|
9070
9079
|
);
|
9071
9080
|
popSuspenseHandler(workInProgress);
|
9072
9081
|
}
|
9073
|
-
|
9074
|
-
|
9075
|
-
|
9076
|
-
|
9077
|
-
if (
|
9082
|
+
JSCompiler_object_inline_message_2469 =
|
9083
|
+
JSCompiler_object_inline_stack_2471.children;
|
9084
|
+
JSCompiler_object_inline_stack_2471 =
|
9085
|
+
JSCompiler_object_inline_stack_2471.fallback;
|
9086
|
+
if (JSCompiler_object_inline_componentStack_2472)
|
9078
9087
|
return (
|
9079
9088
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9080
|
-
(
|
9089
|
+
(JSCompiler_object_inline_componentStack_2472 =
|
9081
9090
|
workInProgress.mode),
|
9082
|
-
(
|
9091
|
+
(JSCompiler_object_inline_message_2469 =
|
9083
9092
|
mountWorkInProgressOffscreenFiber(
|
9084
9093
|
{
|
9085
9094
|
mode: "hidden",
|
9086
|
-
children:
|
9095
|
+
children: JSCompiler_object_inline_message_2469
|
9087
9096
|
},
|
9088
|
-
|
9097
|
+
JSCompiler_object_inline_componentStack_2472
|
9089
9098
|
)),
|
9090
|
-
(
|
9091
|
-
|
9092
|
-
|
9099
|
+
(JSCompiler_object_inline_stack_2471 = createFiberFromFragment(
|
9100
|
+
JSCompiler_object_inline_stack_2471,
|
9101
|
+
JSCompiler_object_inline_componentStack_2472,
|
9093
9102
|
renderLanes,
|
9094
9103
|
null
|
9095
9104
|
)),
|
9096
|
-
(
|
9097
|
-
(
|
9098
|
-
(
|
9099
|
-
|
9100
|
-
(workInProgress.child =
|
9101
|
-
(
|
9105
|
+
(JSCompiler_object_inline_message_2469.return = workInProgress),
|
9106
|
+
(JSCompiler_object_inline_stack_2471.return = workInProgress),
|
9107
|
+
(JSCompiler_object_inline_message_2469.sibling =
|
9108
|
+
JSCompiler_object_inline_stack_2471),
|
9109
|
+
(workInProgress.child = JSCompiler_object_inline_message_2469),
|
9110
|
+
(JSCompiler_object_inline_componentStack_2472 =
|
9102
9111
|
workInProgress.child),
|
9103
|
-
(
|
9112
|
+
(JSCompiler_object_inline_componentStack_2472.memoizedState =
|
9104
9113
|
mountSuspenseOffscreenState(renderLanes)),
|
9105
|
-
(
|
9114
|
+
(JSCompiler_object_inline_componentStack_2472.childLanes =
|
9106
9115
|
getRemainingWorkInPrimaryTree(
|
9107
9116
|
current,
|
9108
|
-
|
9117
|
+
JSCompiler_object_inline_digest_2470,
|
9109
9118
|
renderLanes
|
9110
9119
|
)),
|
9111
9120
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9112
|
-
|
9121
|
+
JSCompiler_object_inline_stack_2471
|
9113
9122
|
);
|
9114
9123
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9115
9124
|
return mountSuspensePrimaryChildren(
|
9116
9125
|
workInProgress,
|
9117
|
-
|
9126
|
+
JSCompiler_object_inline_message_2469
|
9118
9127
|
);
|
9119
9128
|
}
|
9120
9129
|
var prevState = current.memoizedState;
|
9121
9130
|
if (
|
9122
9131
|
null !== prevState &&
|
9123
|
-
((
|
9124
|
-
null !==
|
9132
|
+
((JSCompiler_object_inline_message_2469 = prevState.dehydrated),
|
9133
|
+
null !== JSCompiler_object_inline_message_2469)
|
9125
9134
|
) {
|
9126
9135
|
if (didSuspend)
|
9127
9136
|
workInProgress.flags & 256
|
@@ -9138,94 +9147,94 @@
|
|
9138
9147
|
(workInProgress.flags |= 128),
|
9139
9148
|
(workInProgress = null))
|
9140
9149
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9141
|
-
(
|
9142
|
-
|
9143
|
-
(
|
9144
|
-
(
|
9150
|
+
(JSCompiler_object_inline_componentStack_2472 =
|
9151
|
+
JSCompiler_object_inline_stack_2471.fallback),
|
9152
|
+
(JSCompiler_object_inline_message_2469 = workInProgress.mode),
|
9153
|
+
(JSCompiler_object_inline_stack_2471 =
|
9145
9154
|
mountWorkInProgressOffscreenFiber(
|
9146
9155
|
{
|
9147
9156
|
mode: "visible",
|
9148
|
-
children:
|
9157
|
+
children: JSCompiler_object_inline_stack_2471.children
|
9149
9158
|
},
|
9150
|
-
|
9159
|
+
JSCompiler_object_inline_message_2469
|
9151
9160
|
)),
|
9152
|
-
(
|
9161
|
+
(JSCompiler_object_inline_componentStack_2472 =
|
9153
9162
|
createFiberFromFragment(
|
9154
|
-
|
9155
|
-
|
9163
|
+
JSCompiler_object_inline_componentStack_2472,
|
9164
|
+
JSCompiler_object_inline_message_2469,
|
9156
9165
|
renderLanes,
|
9157
9166
|
null
|
9158
9167
|
)),
|
9159
|
-
(
|
9160
|
-
(
|
9161
|
-
(
|
9168
|
+
(JSCompiler_object_inline_componentStack_2472.flags |= 2),
|
9169
|
+
(JSCompiler_object_inline_stack_2471.return = workInProgress),
|
9170
|
+
(JSCompiler_object_inline_componentStack_2472.return =
|
9162
9171
|
workInProgress),
|
9163
|
-
(
|
9164
|
-
|
9165
|
-
(workInProgress.child =
|
9172
|
+
(JSCompiler_object_inline_stack_2471.sibling =
|
9173
|
+
JSCompiler_object_inline_componentStack_2472),
|
9174
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2471),
|
9166
9175
|
reconcileChildFibers(
|
9167
9176
|
workInProgress,
|
9168
9177
|
current.child,
|
9169
9178
|
null,
|
9170
9179
|
renderLanes
|
9171
9180
|
),
|
9172
|
-
(
|
9173
|
-
(
|
9181
|
+
(JSCompiler_object_inline_stack_2471 = workInProgress.child),
|
9182
|
+
(JSCompiler_object_inline_stack_2471.memoizedState =
|
9174
9183
|
mountSuspenseOffscreenState(renderLanes)),
|
9175
|
-
(
|
9184
|
+
(JSCompiler_object_inline_stack_2471.childLanes =
|
9176
9185
|
getRemainingWorkInPrimaryTree(
|
9177
9186
|
current,
|
9178
|
-
|
9187
|
+
JSCompiler_object_inline_digest_2470,
|
9179
9188
|
renderLanes
|
9180
9189
|
)),
|
9181
9190
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9182
9191
|
(workInProgress =
|
9183
|
-
|
9192
|
+
JSCompiler_object_inline_componentStack_2472));
|
9184
9193
|
else if (
|
9185
9194
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9186
9195
|
isHydrating &&
|
9187
9196
|
console.error(
|
9188
9197
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
9189
9198
|
),
|
9190
|
-
isSuspenseInstanceFallback(
|
9199
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2469))
|
9191
9200
|
) {
|
9192
|
-
|
9193
|
-
|
9194
|
-
|
9195
|
-
if (
|
9196
|
-
JSCompiler_temp =
|
9197
|
-
var message =
|
9198
|
-
instance =
|
9199
|
-
var componentStack =
|
9201
|
+
JSCompiler_object_inline_digest_2470 =
|
9202
|
+
JSCompiler_object_inline_message_2469.nextSibling &&
|
9203
|
+
JSCompiler_object_inline_message_2469.nextSibling.dataset;
|
9204
|
+
if (JSCompiler_object_inline_digest_2470) {
|
9205
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2470.dgst;
|
9206
|
+
var message = JSCompiler_object_inline_digest_2470.msg;
|
9207
|
+
instance = JSCompiler_object_inline_digest_2470.stck;
|
9208
|
+
var componentStack = JSCompiler_object_inline_digest_2470.cstck;
|
9200
9209
|
}
|
9201
|
-
|
9202
|
-
|
9203
|
-
|
9204
|
-
JSCompiler_temp =
|
9210
|
+
JSCompiler_object_inline_message_2469 = message;
|
9211
|
+
JSCompiler_object_inline_digest_2470 = JSCompiler_temp;
|
9212
|
+
JSCompiler_object_inline_stack_2471 = instance;
|
9213
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2472 =
|
9205
9214
|
componentStack;
|
9206
|
-
|
9207
|
-
|
9208
|
-
? Error(
|
9215
|
+
JSCompiler_object_inline_componentStack_2472 =
|
9216
|
+
JSCompiler_object_inline_message_2469
|
9217
|
+
? Error(JSCompiler_object_inline_message_2469)
|
9209
9218
|
: Error(
|
9210
9219
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9211
9220
|
);
|
9212
|
-
|
9213
|
-
|
9214
|
-
|
9215
|
-
|
9216
|
-
|
9221
|
+
JSCompiler_object_inline_componentStack_2472.stack =
|
9222
|
+
JSCompiler_object_inline_stack_2471 || "";
|
9223
|
+
JSCompiler_object_inline_componentStack_2472.digest =
|
9224
|
+
JSCompiler_object_inline_digest_2470;
|
9225
|
+
JSCompiler_object_inline_digest_2470 =
|
9217
9226
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
9218
|
-
|
9219
|
-
value:
|
9227
|
+
JSCompiler_object_inline_stack_2471 = {
|
9228
|
+
value: JSCompiler_object_inline_componentStack_2472,
|
9220
9229
|
source: null,
|
9221
|
-
stack:
|
9230
|
+
stack: JSCompiler_object_inline_digest_2470
|
9222
9231
|
};
|
9223
|
-
"string" === typeof
|
9232
|
+
"string" === typeof JSCompiler_object_inline_digest_2470 &&
|
9224
9233
|
CapturedStacks.set(
|
9225
|
-
|
9226
|
-
|
9234
|
+
JSCompiler_object_inline_componentStack_2472,
|
9235
|
+
JSCompiler_object_inline_stack_2471
|
9227
9236
|
);
|
9228
|
-
queueHydrationError(
|
9237
|
+
queueHydrationError(JSCompiler_object_inline_stack_2471);
|
9229
9238
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9230
9239
|
current,
|
9231
9240
|
workInProgress,
|
@@ -9239,44 +9248,44 @@
|
|
9239
9248
|
renderLanes,
|
9240
9249
|
!1
|
9241
9250
|
),
|
9242
|
-
(
|
9251
|
+
(JSCompiler_object_inline_digest_2470 =
|
9243
9252
|
0 !== (renderLanes & current.childLanes)),
|
9244
|
-
didReceiveUpdate ||
|
9253
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2470)
|
9245
9254
|
) {
|
9246
|
-
|
9255
|
+
JSCompiler_object_inline_digest_2470 = workInProgressRoot;
|
9247
9256
|
if (
|
9248
|
-
null !==
|
9249
|
-
((
|
9250
|
-
(
|
9251
|
-
0 !== (
|
9257
|
+
null !== JSCompiler_object_inline_digest_2470 &&
|
9258
|
+
((JSCompiler_object_inline_stack_2471 = renderLanes & -renderLanes),
|
9259
|
+
(JSCompiler_object_inline_stack_2471 =
|
9260
|
+
0 !== (JSCompiler_object_inline_stack_2471 & 42)
|
9252
9261
|
? 1
|
9253
9262
|
: getBumpedLaneForHydrationByLane(
|
9254
|
-
|
9263
|
+
JSCompiler_object_inline_stack_2471
|
9255
9264
|
)),
|
9256
|
-
(
|
9265
|
+
(JSCompiler_object_inline_stack_2471 =
|
9257
9266
|
0 !==
|
9258
|
-
(
|
9259
|
-
(
|
9267
|
+
(JSCompiler_object_inline_stack_2471 &
|
9268
|
+
(JSCompiler_object_inline_digest_2470.suspendedLanes |
|
9260
9269
|
renderLanes))
|
9261
9270
|
? 0
|
9262
|
-
:
|
9263
|
-
0 !==
|
9264
|
-
|
9271
|
+
: JSCompiler_object_inline_stack_2471),
|
9272
|
+
0 !== JSCompiler_object_inline_stack_2471 &&
|
9273
|
+
JSCompiler_object_inline_stack_2471 !== prevState.retryLane)
|
9265
9274
|
)
|
9266
9275
|
throw (
|
9267
|
-
((prevState.retryLane =
|
9276
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2471),
|
9268
9277
|
enqueueConcurrentRenderForLane(
|
9269
9278
|
current,
|
9270
|
-
|
9279
|
+
JSCompiler_object_inline_stack_2471
|
9271
9280
|
),
|
9272
9281
|
scheduleUpdateOnFiber(
|
9273
|
-
|
9282
|
+
JSCompiler_object_inline_digest_2470,
|
9274
9283
|
current,
|
9275
|
-
|
9284
|
+
JSCompiler_object_inline_stack_2471
|
9276
9285
|
),
|
9277
9286
|
SelectiveHydrationException)
|
9278
9287
|
);
|
9279
|
-
|
9288
|
+
JSCompiler_object_inline_message_2469.data ===
|
9280
9289
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
9281
9290
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9282
9291
|
current,
|
@@ -9284,14 +9293,14 @@
|
|
9284
9293
|
renderLanes
|
9285
9294
|
);
|
9286
9295
|
} else
|
9287
|
-
|
9296
|
+
JSCompiler_object_inline_message_2469.data ===
|
9288
9297
|
SUSPENSE_PENDING_START_DATA
|
9289
9298
|
? ((workInProgress.flags |= 192),
|
9290
9299
|
(workInProgress.child = current.child),
|
9291
9300
|
(workInProgress = null))
|
9292
9301
|
: ((current = prevState.treeContext),
|
9293
9302
|
(nextHydratableInstance = getNextHydratable(
|
9294
|
-
|
9303
|
+
JSCompiler_object_inline_message_2469.nextSibling
|
9295
9304
|
)),
|
9296
9305
|
(hydrationParentFiber = workInProgress),
|
9297
9306
|
(isHydrating = !0),
|
@@ -9309,57 +9318,57 @@
|
|
9309
9318
|
(treeContextProvider = workInProgress)),
|
9310
9319
|
(workInProgress = mountSuspensePrimaryChildren(
|
9311
9320
|
workInProgress,
|
9312
|
-
|
9321
|
+
JSCompiler_object_inline_stack_2471.children
|
9313
9322
|
)),
|
9314
9323
|
(workInProgress.flags |= 4096));
|
9315
9324
|
return workInProgress;
|
9316
9325
|
}
|
9317
|
-
if (
|
9326
|
+
if (JSCompiler_object_inline_componentStack_2472)
|
9318
9327
|
return (
|
9319
9328
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9320
|
-
(
|
9321
|
-
|
9322
|
-
(
|
9329
|
+
(JSCompiler_object_inline_componentStack_2472 =
|
9330
|
+
JSCompiler_object_inline_stack_2471.fallback),
|
9331
|
+
(JSCompiler_object_inline_message_2469 = workInProgress.mode),
|
9323
9332
|
(JSCompiler_temp = current.child),
|
9324
9333
|
(instance = JSCompiler_temp.sibling),
|
9325
|
-
(
|
9334
|
+
(JSCompiler_object_inline_stack_2471 = createWorkInProgress(
|
9326
9335
|
JSCompiler_temp,
|
9327
9336
|
{
|
9328
9337
|
mode: "hidden",
|
9329
|
-
children:
|
9338
|
+
children: JSCompiler_object_inline_stack_2471.children
|
9330
9339
|
}
|
9331
9340
|
)),
|
9332
|
-
(
|
9341
|
+
(JSCompiler_object_inline_stack_2471.subtreeFlags =
|
9333
9342
|
JSCompiler_temp.subtreeFlags & 65011712),
|
9334
9343
|
null !== instance
|
9335
|
-
? (
|
9344
|
+
? (JSCompiler_object_inline_componentStack_2472 =
|
9336
9345
|
createWorkInProgress(
|
9337
9346
|
instance,
|
9338
|
-
|
9347
|
+
JSCompiler_object_inline_componentStack_2472
|
9339
9348
|
))
|
9340
|
-
: ((
|
9349
|
+
: ((JSCompiler_object_inline_componentStack_2472 =
|
9341
9350
|
createFiberFromFragment(
|
9342
|
-
|
9343
|
-
|
9351
|
+
JSCompiler_object_inline_componentStack_2472,
|
9352
|
+
JSCompiler_object_inline_message_2469,
|
9344
9353
|
renderLanes,
|
9345
9354
|
null
|
9346
9355
|
)),
|
9347
|
-
(
|
9348
|
-
(
|
9356
|
+
(JSCompiler_object_inline_componentStack_2472.flags |= 2)),
|
9357
|
+
(JSCompiler_object_inline_componentStack_2472.return =
|
9349
9358
|
workInProgress),
|
9350
|
-
(
|
9351
|
-
(
|
9352
|
-
|
9353
|
-
(workInProgress.child =
|
9354
|
-
(
|
9355
|
-
|
9356
|
-
(
|
9357
|
-
(
|
9358
|
-
null ===
|
9359
|
-
? (
|
9359
|
+
(JSCompiler_object_inline_stack_2471.return = workInProgress),
|
9360
|
+
(JSCompiler_object_inline_stack_2471.sibling =
|
9361
|
+
JSCompiler_object_inline_componentStack_2472),
|
9362
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2471),
|
9363
|
+
(JSCompiler_object_inline_stack_2471 =
|
9364
|
+
JSCompiler_object_inline_componentStack_2472),
|
9365
|
+
(JSCompiler_object_inline_componentStack_2472 = workInProgress.child),
|
9366
|
+
(JSCompiler_object_inline_message_2469 = current.child.memoizedState),
|
9367
|
+
null === JSCompiler_object_inline_message_2469
|
9368
|
+
? (JSCompiler_object_inline_message_2469 =
|
9360
9369
|
mountSuspenseOffscreenState(renderLanes))
|
9361
9370
|
: ((JSCompiler_temp =
|
9362
|
-
|
9371
|
+
JSCompiler_object_inline_message_2469.cachePool),
|
9363
9372
|
null !== JSCompiler_temp
|
9364
9373
|
? ((instance = CacheContext._currentValue),
|
9365
9374
|
(JSCompiler_temp =
|
@@ -9367,37 +9376,37 @@
|
|
9367
9376
|
? { parent: instance, pool: instance }
|
9368
9377
|
: JSCompiler_temp))
|
9369
9378
|
: (JSCompiler_temp = getSuspendedCache()),
|
9370
|
-
(
|
9379
|
+
(JSCompiler_object_inline_message_2469 = {
|
9371
9380
|
baseLanes:
|
9372
|
-
|
9381
|
+
JSCompiler_object_inline_message_2469.baseLanes | renderLanes,
|
9373
9382
|
cachePool: JSCompiler_temp
|
9374
9383
|
})),
|
9375
|
-
(
|
9376
|
-
|
9377
|
-
(
|
9384
|
+
(JSCompiler_object_inline_componentStack_2472.memoizedState =
|
9385
|
+
JSCompiler_object_inline_message_2469),
|
9386
|
+
(JSCompiler_object_inline_componentStack_2472.childLanes =
|
9378
9387
|
getRemainingWorkInPrimaryTree(
|
9379
9388
|
current,
|
9380
|
-
|
9389
|
+
JSCompiler_object_inline_digest_2470,
|
9381
9390
|
renderLanes
|
9382
9391
|
)),
|
9383
9392
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9384
|
-
|
9393
|
+
JSCompiler_object_inline_stack_2471
|
9385
9394
|
);
|
9386
9395
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9387
9396
|
renderLanes = current.child;
|
9388
9397
|
current = renderLanes.sibling;
|
9389
9398
|
renderLanes = createWorkInProgress(renderLanes, {
|
9390
9399
|
mode: "visible",
|
9391
|
-
children:
|
9400
|
+
children: JSCompiler_object_inline_stack_2471.children
|
9392
9401
|
});
|
9393
9402
|
renderLanes.return = workInProgress;
|
9394
9403
|
renderLanes.sibling = null;
|
9395
9404
|
null !== current &&
|
9396
|
-
((
|
9397
|
-
null ===
|
9405
|
+
((JSCompiler_object_inline_digest_2470 = workInProgress.deletions),
|
9406
|
+
null === JSCompiler_object_inline_digest_2470
|
9398
9407
|
? ((workInProgress.deletions = [current]),
|
9399
9408
|
(workInProgress.flags |= 16))
|
9400
|
-
:
|
9409
|
+
: JSCompiler_object_inline_digest_2470.push(current));
|
9401
9410
|
workInProgress.child = renderLanes;
|
9402
9411
|
workInProgress.memoizedState = null;
|
9403
9412
|
return renderLanes;
|
@@ -9939,10 +9948,10 @@
|
|
9939
9948
|
current.$$typeof === REACT_LAZY_TYPE &&
|
9940
9949
|
(workInProgress =
|
9941
9950
|
" Did you wrap a component in React.lazy() more than once?");
|
9942
|
-
|
9951
|
+
current = getComponentNameFromType(current) || current;
|
9943
9952
|
throw Error(
|
9944
9953
|
"Element type is invalid. Received a promise that resolves to: " +
|
9945
|
-
|
9954
|
+
current +
|
9946
9955
|
". Lazy element type must resolve to a class or function." +
|
9947
9956
|
workInProgress
|
9948
9957
|
);
|
@@ -10050,15 +10059,15 @@
|
|
10050
10059
|
didSuspendOrErrorDEV = !1;
|
10051
10060
|
hydrationDiffRootDEV = null;
|
10052
10061
|
rootOrSingletonContext = !0;
|
10053
|
-
|
10062
|
+
current = mountChildFibers(
|
10054
10063
|
workInProgress,
|
10055
10064
|
null,
|
10056
10065
|
returnFiber,
|
10057
10066
|
renderLanes
|
10058
10067
|
);
|
10059
|
-
for (workInProgress.child =
|
10060
|
-
(
|
10061
|
-
(
|
10068
|
+
for (workInProgress.child = current; current; )
|
10069
|
+
(current.flags = (current.flags & -3) | 4096),
|
10070
|
+
(current = current.sibling);
|
10062
10071
|
}
|
10063
10072
|
else {
|
10064
10073
|
resetHydrationState();
|
@@ -10084,26 +10093,26 @@
|
|
10084
10093
|
return (
|
10085
10094
|
markRef(current, workInProgress),
|
10086
10095
|
null === current
|
10087
|
-
? (
|
10096
|
+
? (current = getResource(
|
10088
10097
|
workInProgress.type,
|
10089
10098
|
null,
|
10090
10099
|
workInProgress.pendingProps,
|
10091
10100
|
null
|
10092
10101
|
))
|
10093
|
-
? (workInProgress.memoizedState =
|
10102
|
+
? (workInProgress.memoizedState = current)
|
10094
10103
|
: isHydrating ||
|
10095
|
-
((
|
10096
|
-
(
|
10104
|
+
((current = workInProgress.type),
|
10105
|
+
(renderLanes = workInProgress.pendingProps),
|
10097
10106
|
(returnFiber = requiredContext(
|
10098
10107
|
rootInstanceStackCursor.current
|
10099
10108
|
)),
|
10100
10109
|
(returnFiber =
|
10101
10110
|
getOwnerDocumentFromRootContainer(
|
10102
10111
|
returnFiber
|
10103
|
-
).createElement(
|
10112
|
+
).createElement(current)),
|
10104
10113
|
(returnFiber[internalInstanceKey] = workInProgress),
|
10105
|
-
(returnFiber[internalPropsKey] =
|
10106
|
-
setInitialProperties(returnFiber,
|
10114
|
+
(returnFiber[internalPropsKey] = renderLanes),
|
10115
|
+
setInitialProperties(returnFiber, current, renderLanes),
|
10107
10116
|
markNodeAsHoistable(returnFiber),
|
10108
10117
|
(workInProgress.stateNode = returnFiber))
|
10109
10118
|
: (workInProgress.memoizedState = getResource(
|
@@ -10232,21 +10241,21 @@
|
|
10232
10241
|
return (
|
10233
10242
|
null === current &&
|
10234
10243
|
isHydrating &&
|
10235
|
-
((
|
10236
|
-
(
|
10237
|
-
(returnFiber =
|
10238
|
-
(
|
10244
|
+
((current = workInProgress.pendingProps),
|
10245
|
+
(renderLanes = getHostContext()),
|
10246
|
+
(returnFiber = renderLanes.ancestorInfo.current),
|
10247
|
+
(current =
|
10239
10248
|
null != returnFiber
|
10240
10249
|
? validateTextNesting(
|
10241
|
-
|
10250
|
+
current,
|
10242
10251
|
returnFiber.tag,
|
10243
|
-
|
10252
|
+
renderLanes.ancestorInfo.implicitRootScope
|
10244
10253
|
)
|
10245
10254
|
: !0),
|
10246
|
-
(
|
10247
|
-
(returnFiber = !
|
10255
|
+
(renderLanes = nextHydratableInstance),
|
10256
|
+
(returnFiber = !renderLanes) ||
|
10248
10257
|
((returnFiber = canHydrateTextInstance(
|
10249
|
-
|
10258
|
+
renderLanes,
|
10250
10259
|
workInProgress.pendingProps,
|
10251
10260
|
rootOrSingletonContext
|
10252
10261
|
)),
|
@@ -10258,8 +10267,8 @@
|
|
10258
10267
|
: (returnFiber = !1),
|
10259
10268
|
(returnFiber = !returnFiber)),
|
10260
10269
|
returnFiber &&
|
10261
|
-
(
|
10262
|
-
warnNonHydratedInstance(workInProgress,
|
10270
|
+
(current &&
|
10271
|
+
warnNonHydratedInstance(workInProgress, renderLanes),
|
10263
10272
|
throwOnHydrationMismatch(workInProgress))),
|
10264
10273
|
null
|
10265
10274
|
);
|
@@ -10398,6 +10407,30 @@
|
|
10398
10407
|
workInProgress,
|
10399
10408
|
renderLanes
|
10400
10409
|
);
|
10410
|
+
case 31:
|
10411
|
+
return (
|
10412
|
+
(returnFiber = workInProgress.pendingProps),
|
10413
|
+
(renderLanes = workInProgress.mode),
|
10414
|
+
(returnFiber = {
|
10415
|
+
mode: returnFiber.mode,
|
10416
|
+
children: returnFiber.children
|
10417
|
+
}),
|
10418
|
+
null === current
|
10419
|
+
? ((current = mountWorkInProgressOffscreenFiber(
|
10420
|
+
returnFiber,
|
10421
|
+
renderLanes
|
10422
|
+
)),
|
10423
|
+
(current.ref = workInProgress.ref),
|
10424
|
+
(workInProgress.child = current),
|
10425
|
+
(current.return = workInProgress),
|
10426
|
+
(workInProgress = current))
|
10427
|
+
: ((current = createWorkInProgress(current.child, returnFiber)),
|
10428
|
+
(current.ref = workInProgress.ref),
|
10429
|
+
(workInProgress.child = current),
|
10430
|
+
(current.return = workInProgress),
|
10431
|
+
(workInProgress = current)),
|
10432
|
+
workInProgress
|
10433
|
+
);
|
10401
10434
|
case 22:
|
10402
10435
|
return updateOffscreenComponent(current, workInProgress, renderLanes);
|
10403
10436
|
case 24:
|
@@ -13095,6 +13128,13 @@
|
|
13095
13128
|
: 5);
|
13096
13129
|
else
|
13097
13130
|
a: switch (type) {
|
13131
|
+
case REACT_ACTIVITY_TYPE:
|
13132
|
+
return (
|
13133
|
+
(key = createFiber(31, pendingProps, key, mode)),
|
13134
|
+
(key.elementType = REACT_ACTIVITY_TYPE),
|
13135
|
+
(key.lanes = lanes),
|
13136
|
+
key
|
13137
|
+
);
|
13098
13138
|
case REACT_FRAGMENT_TYPE:
|
13099
13139
|
return createFiberFromFragment(
|
13100
13140
|
pendingProps.children,
|
@@ -13136,8 +13176,6 @@
|
|
13136
13176
|
(key.lanes = lanes),
|
13137
13177
|
key
|
13138
13178
|
);
|
13139
|
-
case REACT_OFFSCREEN_TYPE:
|
13140
|
-
return createFiberFromOffscreen(pendingProps, mode, lanes, key);
|
13141
13179
|
default:
|
13142
13180
|
if ("object" === typeof type && null !== type)
|
13143
13181
|
switch (type.$$typeof) {
|
@@ -13219,7 +13257,6 @@
|
|
13219
13257
|
}
|
13220
13258
|
function createFiberFromOffscreen(pendingProps, mode, lanes, key) {
|
13221
13259
|
pendingProps = createFiber(22, pendingProps, key, mode);
|
13222
|
-
pendingProps.elementType = REACT_OFFSCREEN_TYPE;
|
13223
13260
|
pendingProps.lanes = lanes;
|
13224
13261
|
var primaryChildInstance = {
|
13225
13262
|
_visibility: OffscreenVisible,
|
@@ -13663,6 +13700,7 @@
|
|
13663
13700
|
var newProps = workInProgress.pendingProps;
|
13664
13701
|
popTreeContext(workInProgress);
|
13665
13702
|
switch (workInProgress.tag) {
|
13703
|
+
case 31:
|
13666
13704
|
case 16:
|
13667
13705
|
case 15:
|
13668
13706
|
case 0:
|
@@ -15699,43 +15737,6 @@
|
|
15699
15737
|
markCommitStopped();
|
15700
15738
|
}
|
15701
15739
|
}
|
15702
|
-
function flushGestureMutations() {
|
15703
|
-
if (pendingEffectsStatus === PENDING_GESTURE_MUTATION_PHASE) {
|
15704
|
-
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
15705
|
-
var root = pendingEffectsRoot,
|
15706
|
-
prevTransition = ReactSharedInternals.T;
|
15707
|
-
ReactSharedInternals.T = null;
|
15708
|
-
var previousPriority = ReactDOMSharedInternals.p;
|
15709
|
-
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
15710
|
-
var prevExecutionContext = executionContext;
|
15711
|
-
executionContext |= CommitContext;
|
15712
|
-
try {
|
15713
|
-
var rootClone = root.gestureClone;
|
15714
|
-
if (null !== rootClone) {
|
15715
|
-
root.gestureClone = null;
|
15716
|
-
var rootContainer = root.containerInfo;
|
15717
|
-
var containerInstance =
|
15718
|
-
9 === rootContainer.nodeType
|
15719
|
-
? rootContainer.body
|
15720
|
-
: "HTML" === rootContainer.nodeName
|
15721
|
-
? rootContainer.ownerDocument.body
|
15722
|
-
: rootContainer;
|
15723
|
-
var containerParent = containerInstance.parentNode;
|
15724
|
-
if (null === containerParent)
|
15725
|
-
throw Error(
|
15726
|
-
"Cannot use a useSwipeTransition() in a detached root."
|
15727
|
-
);
|
15728
|
-
containerParent.removeChild(rootClone);
|
15729
|
-
containerInstance.style.viewTransitionName = "root";
|
15730
|
-
}
|
15731
|
-
} finally {
|
15732
|
-
(executionContext = prevExecutionContext),
|
15733
|
-
(ReactDOMSharedInternals.p = previousPriority),
|
15734
|
-
(ReactSharedInternals.T = prevTransition);
|
15735
|
-
}
|
15736
|
-
pendingEffectsStatus = PENDING_GESTURE_ANIMATION_PHASE;
|
15737
|
-
}
|
15738
|
-
}
|
15739
15740
|
function makeErrorInfo(componentStack) {
|
15740
15741
|
componentStack = { componentStack: componentStack };
|
15741
15742
|
Object.defineProperty(componentStack, "digest", {
|
@@ -15754,40 +15755,6 @@
|
|
15754
15755
|
((root.pooledCache = null), releaseCache(remainingLanes)));
|
15755
15756
|
}
|
15756
15757
|
function flushPendingEffects(wasDelayedCommit) {
|
15757
|
-
flushGestureMutations();
|
15758
|
-
flushGestureMutations();
|
15759
|
-
if (pendingEffectsStatus === PENDING_GESTURE_ANIMATION_PHASE) {
|
15760
|
-
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
15761
|
-
var root = pendingEffectsRoot;
|
15762
|
-
pendingFinishedWork = pendingEffectsRoot = null;
|
15763
|
-
pendingEffectsLanes = 0;
|
15764
|
-
var prevTransition = ReactSharedInternals.T;
|
15765
|
-
ReactSharedInternals.T = null;
|
15766
|
-
var previousPriority = ReactDOMSharedInternals.p;
|
15767
|
-
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
15768
|
-
var prevExecutionContext = executionContext;
|
15769
|
-
executionContext |= CommitContext;
|
15770
|
-
try {
|
15771
|
-
var rootContainer = root.containerInfo;
|
15772
|
-
var containerInstance =
|
15773
|
-
9 === rootContainer.nodeType
|
15774
|
-
? rootContainer.body
|
15775
|
-
: "HTML" === rootContainer.nodeName
|
15776
|
-
? rootContainer.ownerDocument.body
|
15777
|
-
: rootContainer;
|
15778
|
-
"root" === containerInstance.style.viewTransitionName &&
|
15779
|
-
(containerInstance.style.viewTransitionName = "");
|
15780
|
-
var documentElement = containerInstance.ownerDocument.documentElement;
|
15781
|
-
null !== documentElement &&
|
15782
|
-
"none" === documentElement.style.viewTransitionName &&
|
15783
|
-
(documentElement.style.viewTransitionName = "");
|
15784
|
-
} finally {
|
15785
|
-
(executionContext = prevExecutionContext),
|
15786
|
-
(ReactDOMSharedInternals.p = previousPriority),
|
15787
|
-
(ReactSharedInternals.T = prevTransition);
|
15788
|
-
}
|
15789
|
-
ensureRootIsScheduled(root);
|
15790
|
-
}
|
15791
15758
|
flushMutationEffects();
|
15792
15759
|
flushLayoutEffects();
|
15793
15760
|
flushSpawnedWork();
|
@@ -21357,7 +21324,7 @@
|
|
21357
21324
|
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
21358
21325
|
REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
21359
21326
|
Symbol.for("react.scope");
|
21360
|
-
var
|
21327
|
+
var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
|
21361
21328
|
Symbol.for("react.legacy_hidden");
|
21362
21329
|
Symbol.for("react.tracing_marker");
|
21363
21330
|
var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel");
|
@@ -24362,8 +24329,6 @@
|
|
24362
24329
|
PENDING_AFTER_MUTATION_PHASE = 3,
|
24363
24330
|
PENDING_SPAWNED_WORK = 4,
|
24364
24331
|
PENDING_PASSIVE_PHASE = 5,
|
24365
|
-
PENDING_GESTURE_MUTATION_PHASE = 6,
|
24366
|
-
PENDING_GESTURE_ANIMATION_PHASE = 7,
|
24367
24332
|
pendingEffectsStatus = 0,
|
24368
24333
|
pendingEffectsRoot = null,
|
24369
24334
|
pendingFinishedWork = null,
|
@@ -24919,11 +24884,11 @@
|
|
24919
24884
|
};
|
24920
24885
|
(function () {
|
24921
24886
|
var isomorphicReactPackageVersion = React.version;
|
24922
|
-
if ("19.1.0-canary-
|
24887
|
+
if ("19.1.0-canary-fbcda19a-20250317" !== isomorphicReactPackageVersion)
|
24923
24888
|
throw Error(
|
24924
24889
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24925
24890
|
(isomorphicReactPackageVersion +
|
24926
|
-
"\n - react-dom: 19.1.0-canary-
|
24891
|
+
"\n - react-dom: 19.1.0-canary-fbcda19a-20250317\nLearn more: https://react.dev/warnings/version-mismatch")
|
24927
24892
|
);
|
24928
24893
|
})();
|
24929
24894
|
("function" === typeof Map &&
|
@@ -24960,10 +24925,10 @@
|
|
24960
24925
|
!(function () {
|
24961
24926
|
var internals = {
|
24962
24927
|
bundleType: 1,
|
24963
|
-
version: "19.1.0-canary-
|
24928
|
+
version: "19.1.0-canary-fbcda19a-20250317",
|
24964
24929
|
rendererPackageName: "react-dom",
|
24965
24930
|
currentDispatcherRef: ReactSharedInternals,
|
24966
|
-
reconcilerVersion: "19.1.0-canary-
|
24931
|
+
reconcilerVersion: "19.1.0-canary-fbcda19a-20250317"
|
24967
24932
|
};
|
24968
24933
|
internals.overrideHookState = overrideHookState;
|
24969
24934
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25437,7 +25402,7 @@
|
|
25437
25402
|
exports.useFormStatus = function () {
|
25438
25403
|
return resolveDispatcher().useHostTransitionStatus();
|
25439
25404
|
};
|
25440
|
-
exports.version = "19.1.0-canary-
|
25405
|
+
exports.version = "19.1.0-canary-fbcda19a-20250317";
|
25441
25406
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25442
25407
|
"function" ===
|
25443
25408
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|