react-dom 19.1.0-canary-3b009b4c-20250102 → 19.1.0-canary-7b402084-20250107
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 +558 -541
- package/cjs/react-dom-client.production.js +419 -384
- package/cjs/react-dom-profiling.development.js +558 -541
- package/cjs/react-dom-profiling.profiling.js +464 -429
- 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
|
@@ -97,13 +97,14 @@
|
|
|
97
97
|
}
|
|
98
98
|
function scheduleRoot(root, element) {
|
|
99
99
|
root.context === emptyContextObject &&
|
|
100
|
-
(
|
|
100
|
+
(updateContainerImpl(root.current, 2, element, root, null, null),
|
|
101
|
+
flushSyncWork$1());
|
|
101
102
|
}
|
|
102
103
|
function scheduleRefresh(root, update) {
|
|
103
104
|
if (null !== resolveFamily) {
|
|
104
105
|
var staleFamilies = update.staleFamilies;
|
|
105
106
|
update = update.updatedFamilies;
|
|
106
|
-
|
|
107
|
+
flushPendingEffects();
|
|
107
108
|
scheduleFibersWithFamiliesRecursively(
|
|
108
109
|
root.current,
|
|
109
110
|
update,
|
|
@@ -9093,32 +9094,32 @@
|
|
|
9093
9094
|
return current;
|
|
9094
9095
|
}
|
|
9095
9096
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
9096
|
-
var
|
|
9097
|
-
var
|
|
9097
|
+
var JSCompiler_object_inline_digest_2362;
|
|
9098
|
+
var JSCompiler_object_inline_stack_2363 = workInProgress.pendingProps;
|
|
9098
9099
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
|
9099
|
-
var
|
|
9100
|
+
var JSCompiler_object_inline_componentStack_2364 = !1;
|
|
9100
9101
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
|
9101
|
-
(
|
|
9102
|
-
(
|
|
9102
|
+
(JSCompiler_object_inline_digest_2362 = didSuspend) ||
|
|
9103
|
+
(JSCompiler_object_inline_digest_2362 =
|
|
9103
9104
|
null !== current && null === current.memoizedState
|
|
9104
9105
|
? !1
|
|
9105
9106
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
|
9106
|
-
|
|
9107
|
-
((
|
|
9107
|
+
JSCompiler_object_inline_digest_2362 &&
|
|
9108
|
+
((JSCompiler_object_inline_componentStack_2364 = !0),
|
|
9108
9109
|
(workInProgress.flags &= -129));
|
|
9109
|
-
|
|
9110
|
+
JSCompiler_object_inline_digest_2362 = 0 !== (workInProgress.flags & 32);
|
|
9110
9111
|
workInProgress.flags &= -33;
|
|
9111
9112
|
if (null === current) {
|
|
9112
9113
|
if (isHydrating) {
|
|
9113
|
-
|
|
9114
|
+
JSCompiler_object_inline_componentStack_2364
|
|
9114
9115
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
|
9115
9116
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
|
9116
9117
|
if (isHydrating) {
|
|
9117
|
-
var
|
|
9118
|
+
var JSCompiler_object_inline_message_2361 = nextHydratableInstance;
|
|
9118
9119
|
var JSCompiler_temp;
|
|
9119
|
-
if (!(JSCompiler_temp = !
|
|
9120
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2361)) {
|
|
9120
9121
|
c: {
|
|
9121
|
-
var instance =
|
|
9122
|
+
var instance = JSCompiler_object_inline_message_2361;
|
|
9122
9123
|
for (
|
|
9123
9124
|
JSCompiler_temp = rootOrSingletonContext;
|
|
9124
9125
|
8 !== instance.nodeType;
|
|
@@ -9160,77 +9161,77 @@
|
|
|
9160
9161
|
JSCompiler_temp &&
|
|
9161
9162
|
(warnNonHydratedInstance(
|
|
9162
9163
|
workInProgress,
|
|
9163
|
-
|
|
9164
|
+
JSCompiler_object_inline_message_2361
|
|
9164
9165
|
),
|
|
9165
9166
|
throwOnHydrationMismatch(workInProgress));
|
|
9166
9167
|
}
|
|
9167
|
-
|
|
9168
|
+
JSCompiler_object_inline_message_2361 = workInProgress.memoizedState;
|
|
9168
9169
|
if (
|
|
9169
|
-
null !==
|
|
9170
|
-
((
|
|
9171
|
-
|
|
9172
|
-
null !==
|
|
9170
|
+
null !== JSCompiler_object_inline_message_2361 &&
|
|
9171
|
+
((JSCompiler_object_inline_message_2361 =
|
|
9172
|
+
JSCompiler_object_inline_message_2361.dehydrated),
|
|
9173
|
+
null !== JSCompiler_object_inline_message_2361)
|
|
9173
9174
|
)
|
|
9174
9175
|
return (
|
|
9175
|
-
isSuspenseInstanceFallback(
|
|
9176
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2361)
|
|
9176
9177
|
? (workInProgress.lanes = 32)
|
|
9177
9178
|
: (workInProgress.lanes = 536870912),
|
|
9178
9179
|
null
|
|
9179
9180
|
);
|
|
9180
9181
|
popSuspenseHandler(workInProgress);
|
|
9181
9182
|
}
|
|
9182
|
-
|
|
9183
|
-
|
|
9184
|
-
|
|
9185
|
-
|
|
9186
|
-
if (
|
|
9183
|
+
JSCompiler_object_inline_message_2361 =
|
|
9184
|
+
JSCompiler_object_inline_stack_2363.children;
|
|
9185
|
+
JSCompiler_object_inline_stack_2363 =
|
|
9186
|
+
JSCompiler_object_inline_stack_2363.fallback;
|
|
9187
|
+
if (JSCompiler_object_inline_componentStack_2364)
|
|
9187
9188
|
return (
|
|
9188
9189
|
reuseSuspenseHandlerOnStack(workInProgress),
|
|
9189
|
-
(
|
|
9190
|
+
(JSCompiler_object_inline_componentStack_2364 =
|
|
9190
9191
|
workInProgress.mode),
|
|
9191
|
-
(
|
|
9192
|
+
(JSCompiler_object_inline_message_2361 =
|
|
9192
9193
|
mountWorkInProgressOffscreenFiber(
|
|
9193
9194
|
{
|
|
9194
9195
|
mode: "hidden",
|
|
9195
|
-
children:
|
|
9196
|
+
children: JSCompiler_object_inline_message_2361
|
|
9196
9197
|
},
|
|
9197
|
-
|
|
9198
|
+
JSCompiler_object_inline_componentStack_2364
|
|
9198
9199
|
)),
|
|
9199
|
-
(
|
|
9200
|
-
|
|
9201
|
-
|
|
9200
|
+
(JSCompiler_object_inline_stack_2363 = createFiberFromFragment(
|
|
9201
|
+
JSCompiler_object_inline_stack_2363,
|
|
9202
|
+
JSCompiler_object_inline_componentStack_2364,
|
|
9202
9203
|
renderLanes,
|
|
9203
9204
|
null
|
|
9204
9205
|
)),
|
|
9205
|
-
(
|
|
9206
|
-
(
|
|
9207
|
-
(
|
|
9208
|
-
|
|
9209
|
-
(workInProgress.child =
|
|
9210
|
-
(
|
|
9206
|
+
(JSCompiler_object_inline_message_2361.return = workInProgress),
|
|
9207
|
+
(JSCompiler_object_inline_stack_2363.return = workInProgress),
|
|
9208
|
+
(JSCompiler_object_inline_message_2361.sibling =
|
|
9209
|
+
JSCompiler_object_inline_stack_2363),
|
|
9210
|
+
(workInProgress.child = JSCompiler_object_inline_message_2361),
|
|
9211
|
+
(JSCompiler_object_inline_componentStack_2364 =
|
|
9211
9212
|
workInProgress.child),
|
|
9212
|
-
(
|
|
9213
|
+
(JSCompiler_object_inline_componentStack_2364.memoizedState =
|
|
9213
9214
|
mountSuspenseOffscreenState(renderLanes)),
|
|
9214
|
-
(
|
|
9215
|
+
(JSCompiler_object_inline_componentStack_2364.childLanes =
|
|
9215
9216
|
getRemainingWorkInPrimaryTree(
|
|
9216
9217
|
current,
|
|
9217
|
-
|
|
9218
|
+
JSCompiler_object_inline_digest_2362,
|
|
9218
9219
|
renderLanes
|
|
9219
9220
|
)),
|
|
9220
9221
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
9221
|
-
|
|
9222
|
+
JSCompiler_object_inline_stack_2363
|
|
9222
9223
|
);
|
|
9223
9224
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
|
9224
9225
|
return mountSuspensePrimaryChildren(
|
|
9225
9226
|
workInProgress,
|
|
9226
|
-
|
|
9227
|
+
JSCompiler_object_inline_message_2361
|
|
9227
9228
|
);
|
|
9228
9229
|
}
|
|
9229
9230
|
var prevState = current.memoizedState;
|
|
9230
9231
|
if (
|
|
9231
9232
|
null !== prevState &&
|
|
9232
|
-
((
|
|
9233
|
-
null !==
|
|
9233
|
+
((JSCompiler_object_inline_message_2361 = prevState.dehydrated),
|
|
9234
|
+
null !== JSCompiler_object_inline_message_2361)
|
|
9234
9235
|
) {
|
|
9235
9236
|
if (didSuspend)
|
|
9236
9237
|
workInProgress.flags & 256
|
|
@@ -9247,94 +9248,94 @@
|
|
|
9247
9248
|
(workInProgress.flags |= 128),
|
|
9248
9249
|
(workInProgress = null))
|
|
9249
9250
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
|
9250
|
-
(
|
|
9251
|
-
|
|
9252
|
-
(
|
|
9253
|
-
(
|
|
9251
|
+
(JSCompiler_object_inline_componentStack_2364 =
|
|
9252
|
+
JSCompiler_object_inline_stack_2363.fallback),
|
|
9253
|
+
(JSCompiler_object_inline_message_2361 = workInProgress.mode),
|
|
9254
|
+
(JSCompiler_object_inline_stack_2363 =
|
|
9254
9255
|
mountWorkInProgressOffscreenFiber(
|
|
9255
9256
|
{
|
|
9256
9257
|
mode: "visible",
|
|
9257
|
-
children:
|
|
9258
|
+
children: JSCompiler_object_inline_stack_2363.children
|
|
9258
9259
|
},
|
|
9259
|
-
|
|
9260
|
+
JSCompiler_object_inline_message_2361
|
|
9260
9261
|
)),
|
|
9261
|
-
(
|
|
9262
|
+
(JSCompiler_object_inline_componentStack_2364 =
|
|
9262
9263
|
createFiberFromFragment(
|
|
9263
|
-
|
|
9264
|
-
|
|
9264
|
+
JSCompiler_object_inline_componentStack_2364,
|
|
9265
|
+
JSCompiler_object_inline_message_2361,
|
|
9265
9266
|
renderLanes,
|
|
9266
9267
|
null
|
|
9267
9268
|
)),
|
|
9268
|
-
(
|
|
9269
|
-
(
|
|
9270
|
-
(
|
|
9269
|
+
(JSCompiler_object_inline_componentStack_2364.flags |= 2),
|
|
9270
|
+
(JSCompiler_object_inline_stack_2363.return = workInProgress),
|
|
9271
|
+
(JSCompiler_object_inline_componentStack_2364.return =
|
|
9271
9272
|
workInProgress),
|
|
9272
|
-
(
|
|
9273
|
-
|
|
9274
|
-
(workInProgress.child =
|
|
9273
|
+
(JSCompiler_object_inline_stack_2363.sibling =
|
|
9274
|
+
JSCompiler_object_inline_componentStack_2364),
|
|
9275
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2363),
|
|
9275
9276
|
reconcileChildFibers(
|
|
9276
9277
|
workInProgress,
|
|
9277
9278
|
current.child,
|
|
9278
9279
|
null,
|
|
9279
9280
|
renderLanes
|
|
9280
9281
|
),
|
|
9281
|
-
(
|
|
9282
|
-
(
|
|
9282
|
+
(JSCompiler_object_inline_stack_2363 = workInProgress.child),
|
|
9283
|
+
(JSCompiler_object_inline_stack_2363.memoizedState =
|
|
9283
9284
|
mountSuspenseOffscreenState(renderLanes)),
|
|
9284
|
-
(
|
|
9285
|
+
(JSCompiler_object_inline_stack_2363.childLanes =
|
|
9285
9286
|
getRemainingWorkInPrimaryTree(
|
|
9286
9287
|
current,
|
|
9287
|
-
|
|
9288
|
+
JSCompiler_object_inline_digest_2362,
|
|
9288
9289
|
renderLanes
|
|
9289
9290
|
)),
|
|
9290
9291
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
9291
9292
|
(workInProgress =
|
|
9292
|
-
|
|
9293
|
+
JSCompiler_object_inline_componentStack_2364));
|
|
9293
9294
|
else if (
|
|
9294
9295
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
|
9295
9296
|
isHydrating &&
|
|
9296
9297
|
console.error(
|
|
9297
9298
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
|
9298
9299
|
),
|
|
9299
|
-
isSuspenseInstanceFallback(
|
|
9300
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2361))
|
|
9300
9301
|
) {
|
|
9301
|
-
|
|
9302
|
-
|
|
9303
|
-
|
|
9304
|
-
if (
|
|
9305
|
-
JSCompiler_temp =
|
|
9306
|
-
var message =
|
|
9307
|
-
instance =
|
|
9308
|
-
var componentStack =
|
|
9302
|
+
JSCompiler_object_inline_digest_2362 =
|
|
9303
|
+
JSCompiler_object_inline_message_2361.nextSibling &&
|
|
9304
|
+
JSCompiler_object_inline_message_2361.nextSibling.dataset;
|
|
9305
|
+
if (JSCompiler_object_inline_digest_2362) {
|
|
9306
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2362.dgst;
|
|
9307
|
+
var message = JSCompiler_object_inline_digest_2362.msg;
|
|
9308
|
+
instance = JSCompiler_object_inline_digest_2362.stck;
|
|
9309
|
+
var componentStack = JSCompiler_object_inline_digest_2362.cstck;
|
|
9309
9310
|
}
|
|
9310
|
-
|
|
9311
|
-
|
|
9312
|
-
|
|
9313
|
-
JSCompiler_temp =
|
|
9311
|
+
JSCompiler_object_inline_message_2361 = message;
|
|
9312
|
+
JSCompiler_object_inline_digest_2362 = JSCompiler_temp;
|
|
9313
|
+
JSCompiler_object_inline_stack_2363 = instance;
|
|
9314
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2364 =
|
|
9314
9315
|
componentStack;
|
|
9315
|
-
|
|
9316
|
-
|
|
9317
|
-
? Error(
|
|
9316
|
+
JSCompiler_object_inline_componentStack_2364 =
|
|
9317
|
+
JSCompiler_object_inline_message_2361
|
|
9318
|
+
? Error(JSCompiler_object_inline_message_2361)
|
|
9318
9319
|
: Error(
|
|
9319
9320
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
|
9320
9321
|
);
|
|
9321
|
-
|
|
9322
|
-
|
|
9323
|
-
|
|
9324
|
-
|
|
9325
|
-
|
|
9322
|
+
JSCompiler_object_inline_componentStack_2364.stack =
|
|
9323
|
+
JSCompiler_object_inline_stack_2363 || "";
|
|
9324
|
+
JSCompiler_object_inline_componentStack_2364.digest =
|
|
9325
|
+
JSCompiler_object_inline_digest_2362;
|
|
9326
|
+
JSCompiler_object_inline_digest_2362 =
|
|
9326
9327
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
|
9327
|
-
|
|
9328
|
-
value:
|
|
9328
|
+
JSCompiler_object_inline_stack_2363 = {
|
|
9329
|
+
value: JSCompiler_object_inline_componentStack_2364,
|
|
9329
9330
|
source: null,
|
|
9330
|
-
stack:
|
|
9331
|
+
stack: JSCompiler_object_inline_digest_2362
|
|
9331
9332
|
};
|
|
9332
|
-
"string" === typeof
|
|
9333
|
+
"string" === typeof JSCompiler_object_inline_digest_2362 &&
|
|
9333
9334
|
CapturedStacks.set(
|
|
9334
|
-
|
|
9335
|
-
|
|
9335
|
+
JSCompiler_object_inline_componentStack_2364,
|
|
9336
|
+
JSCompiler_object_inline_stack_2363
|
|
9336
9337
|
);
|
|
9337
|
-
queueHydrationError(
|
|
9338
|
+
queueHydrationError(JSCompiler_object_inline_stack_2363);
|
|
9338
9339
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
|
9339
9340
|
current,
|
|
9340
9341
|
workInProgress,
|
|
@@ -9348,44 +9349,44 @@
|
|
|
9348
9349
|
renderLanes,
|
|
9349
9350
|
!1
|
|
9350
9351
|
),
|
|
9351
|
-
(
|
|
9352
|
+
(JSCompiler_object_inline_digest_2362 =
|
|
9352
9353
|
0 !== (renderLanes & current.childLanes)),
|
|
9353
|
-
didReceiveUpdate ||
|
|
9354
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2362)
|
|
9354
9355
|
) {
|
|
9355
|
-
|
|
9356
|
+
JSCompiler_object_inline_digest_2362 = workInProgressRoot;
|
|
9356
9357
|
if (
|
|
9357
|
-
null !==
|
|
9358
|
-
((
|
|
9359
|
-
(
|
|
9360
|
-
0 !== (
|
|
9358
|
+
null !== JSCompiler_object_inline_digest_2362 &&
|
|
9359
|
+
((JSCompiler_object_inline_stack_2363 = renderLanes & -renderLanes),
|
|
9360
|
+
(JSCompiler_object_inline_stack_2363 =
|
|
9361
|
+
0 !== (JSCompiler_object_inline_stack_2363 & 42)
|
|
9361
9362
|
? 1
|
|
9362
9363
|
: getBumpedLaneForHydrationByLane(
|
|
9363
|
-
|
|
9364
|
+
JSCompiler_object_inline_stack_2363
|
|
9364
9365
|
)),
|
|
9365
|
-
(
|
|
9366
|
+
(JSCompiler_object_inline_stack_2363 =
|
|
9366
9367
|
0 !==
|
|
9367
|
-
(
|
|
9368
|
-
(
|
|
9368
|
+
(JSCompiler_object_inline_stack_2363 &
|
|
9369
|
+
(JSCompiler_object_inline_digest_2362.suspendedLanes |
|
|
9369
9370
|
renderLanes))
|
|
9370
9371
|
? 0
|
|
9371
|
-
:
|
|
9372
|
-
0 !==
|
|
9373
|
-
|
|
9372
|
+
: JSCompiler_object_inline_stack_2363),
|
|
9373
|
+
0 !== JSCompiler_object_inline_stack_2363 &&
|
|
9374
|
+
JSCompiler_object_inline_stack_2363 !== prevState.retryLane)
|
|
9374
9375
|
)
|
|
9375
9376
|
throw (
|
|
9376
|
-
((prevState.retryLane =
|
|
9377
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2363),
|
|
9377
9378
|
enqueueConcurrentRenderForLane(
|
|
9378
9379
|
current,
|
|
9379
|
-
|
|
9380
|
+
JSCompiler_object_inline_stack_2363
|
|
9380
9381
|
),
|
|
9381
9382
|
scheduleUpdateOnFiber(
|
|
9382
|
-
|
|
9383
|
+
JSCompiler_object_inline_digest_2362,
|
|
9383
9384
|
current,
|
|
9384
|
-
|
|
9385
|
+
JSCompiler_object_inline_stack_2363
|
|
9385
9386
|
),
|
|
9386
9387
|
SelectiveHydrationException)
|
|
9387
9388
|
);
|
|
9388
|
-
|
|
9389
|
+
JSCompiler_object_inline_message_2361.data ===
|
|
9389
9390
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
|
9390
9391
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
|
9391
9392
|
current,
|
|
@@ -9393,14 +9394,14 @@
|
|
|
9393
9394
|
renderLanes
|
|
9394
9395
|
);
|
|
9395
9396
|
} else
|
|
9396
|
-
|
|
9397
|
+
JSCompiler_object_inline_message_2361.data ===
|
|
9397
9398
|
SUSPENSE_PENDING_START_DATA
|
|
9398
9399
|
? ((workInProgress.flags |= 192),
|
|
9399
9400
|
(workInProgress.child = current.child),
|
|
9400
9401
|
(workInProgress = null))
|
|
9401
9402
|
: ((current = prevState.treeContext),
|
|
9402
9403
|
(nextHydratableInstance = getNextHydratable(
|
|
9403
|
-
|
|
9404
|
+
JSCompiler_object_inline_message_2361.nextSibling
|
|
9404
9405
|
)),
|
|
9405
9406
|
(hydrationParentFiber = workInProgress),
|
|
9406
9407
|
(isHydrating = !0),
|
|
@@ -9418,57 +9419,57 @@
|
|
|
9418
9419
|
(treeContextProvider = workInProgress)),
|
|
9419
9420
|
(workInProgress = mountSuspensePrimaryChildren(
|
|
9420
9421
|
workInProgress,
|
|
9421
|
-
|
|
9422
|
+
JSCompiler_object_inline_stack_2363.children
|
|
9422
9423
|
)),
|
|
9423
9424
|
(workInProgress.flags |= 4096));
|
|
9424
9425
|
return workInProgress;
|
|
9425
9426
|
}
|
|
9426
|
-
if (
|
|
9427
|
+
if (JSCompiler_object_inline_componentStack_2364)
|
|
9427
9428
|
return (
|
|
9428
9429
|
reuseSuspenseHandlerOnStack(workInProgress),
|
|
9429
|
-
(
|
|
9430
|
-
|
|
9431
|
-
(
|
|
9430
|
+
(JSCompiler_object_inline_componentStack_2364 =
|
|
9431
|
+
JSCompiler_object_inline_stack_2363.fallback),
|
|
9432
|
+
(JSCompiler_object_inline_message_2361 = workInProgress.mode),
|
|
9432
9433
|
(JSCompiler_temp = current.child),
|
|
9433
9434
|
(instance = JSCompiler_temp.sibling),
|
|
9434
|
-
(
|
|
9435
|
+
(JSCompiler_object_inline_stack_2363 = createWorkInProgress(
|
|
9435
9436
|
JSCompiler_temp,
|
|
9436
9437
|
{
|
|
9437
9438
|
mode: "hidden",
|
|
9438
|
-
children:
|
|
9439
|
+
children: JSCompiler_object_inline_stack_2363.children
|
|
9439
9440
|
}
|
|
9440
9441
|
)),
|
|
9441
|
-
(
|
|
9442
|
+
(JSCompiler_object_inline_stack_2363.subtreeFlags =
|
|
9442
9443
|
JSCompiler_temp.subtreeFlags & 29360128),
|
|
9443
9444
|
null !== instance
|
|
9444
|
-
? (
|
|
9445
|
+
? (JSCompiler_object_inline_componentStack_2364 =
|
|
9445
9446
|
createWorkInProgress(
|
|
9446
9447
|
instance,
|
|
9447
|
-
|
|
9448
|
+
JSCompiler_object_inline_componentStack_2364
|
|
9448
9449
|
))
|
|
9449
|
-
: ((
|
|
9450
|
+
: ((JSCompiler_object_inline_componentStack_2364 =
|
|
9450
9451
|
createFiberFromFragment(
|
|
9451
|
-
|
|
9452
|
-
|
|
9452
|
+
JSCompiler_object_inline_componentStack_2364,
|
|
9453
|
+
JSCompiler_object_inline_message_2361,
|
|
9453
9454
|
renderLanes,
|
|
9454
9455
|
null
|
|
9455
9456
|
)),
|
|
9456
|
-
(
|
|
9457
|
-
(
|
|
9457
|
+
(JSCompiler_object_inline_componentStack_2364.flags |= 2)),
|
|
9458
|
+
(JSCompiler_object_inline_componentStack_2364.return =
|
|
9458
9459
|
workInProgress),
|
|
9459
|
-
(
|
|
9460
|
-
(
|
|
9461
|
-
|
|
9462
|
-
(workInProgress.child =
|
|
9463
|
-
(
|
|
9464
|
-
|
|
9465
|
-
(
|
|
9466
|
-
(
|
|
9467
|
-
null ===
|
|
9468
|
-
? (
|
|
9460
|
+
(JSCompiler_object_inline_stack_2363.return = workInProgress),
|
|
9461
|
+
(JSCompiler_object_inline_stack_2363.sibling =
|
|
9462
|
+
JSCompiler_object_inline_componentStack_2364),
|
|
9463
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2363),
|
|
9464
|
+
(JSCompiler_object_inline_stack_2363 =
|
|
9465
|
+
JSCompiler_object_inline_componentStack_2364),
|
|
9466
|
+
(JSCompiler_object_inline_componentStack_2364 = workInProgress.child),
|
|
9467
|
+
(JSCompiler_object_inline_message_2361 = current.child.memoizedState),
|
|
9468
|
+
null === JSCompiler_object_inline_message_2361
|
|
9469
|
+
? (JSCompiler_object_inline_message_2361 =
|
|
9469
9470
|
mountSuspenseOffscreenState(renderLanes))
|
|
9470
9471
|
: ((JSCompiler_temp =
|
|
9471
|
-
|
|
9472
|
+
JSCompiler_object_inline_message_2361.cachePool),
|
|
9472
9473
|
null !== JSCompiler_temp
|
|
9473
9474
|
? ((instance = CacheContext._currentValue),
|
|
9474
9475
|
(JSCompiler_temp =
|
|
@@ -9476,37 +9477,37 @@
|
|
|
9476
9477
|
? { parent: instance, pool: instance }
|
|
9477
9478
|
: JSCompiler_temp))
|
|
9478
9479
|
: (JSCompiler_temp = getSuspendedCache()),
|
|
9479
|
-
(
|
|
9480
|
+
(JSCompiler_object_inline_message_2361 = {
|
|
9480
9481
|
baseLanes:
|
|
9481
|
-
|
|
9482
|
+
JSCompiler_object_inline_message_2361.baseLanes | renderLanes,
|
|
9482
9483
|
cachePool: JSCompiler_temp
|
|
9483
9484
|
})),
|
|
9484
|
-
(
|
|
9485
|
-
|
|
9486
|
-
(
|
|
9485
|
+
(JSCompiler_object_inline_componentStack_2364.memoizedState =
|
|
9486
|
+
JSCompiler_object_inline_message_2361),
|
|
9487
|
+
(JSCompiler_object_inline_componentStack_2364.childLanes =
|
|
9487
9488
|
getRemainingWorkInPrimaryTree(
|
|
9488
9489
|
current,
|
|
9489
|
-
|
|
9490
|
+
JSCompiler_object_inline_digest_2362,
|
|
9490
9491
|
renderLanes
|
|
9491
9492
|
)),
|
|
9492
9493
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
9493
|
-
|
|
9494
|
+
JSCompiler_object_inline_stack_2363
|
|
9494
9495
|
);
|
|
9495
9496
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
|
9496
9497
|
renderLanes = current.child;
|
|
9497
9498
|
current = renderLanes.sibling;
|
|
9498
9499
|
renderLanes = createWorkInProgress(renderLanes, {
|
|
9499
9500
|
mode: "visible",
|
|
9500
|
-
children:
|
|
9501
|
+
children: JSCompiler_object_inline_stack_2363.children
|
|
9501
9502
|
});
|
|
9502
9503
|
renderLanes.return = workInProgress;
|
|
9503
9504
|
renderLanes.sibling = null;
|
|
9504
9505
|
null !== current &&
|
|
9505
|
-
((
|
|
9506
|
-
null ===
|
|
9506
|
+
((JSCompiler_object_inline_digest_2362 = workInProgress.deletions),
|
|
9507
|
+
null === JSCompiler_object_inline_digest_2362
|
|
9507
9508
|
? ((workInProgress.deletions = [current]),
|
|
9508
9509
|
(workInProgress.flags |= 16))
|
|
9509
|
-
:
|
|
9510
|
+
: JSCompiler_object_inline_digest_2362.push(current));
|
|
9510
9511
|
workInProgress.child = renderLanes;
|
|
9511
9512
|
workInProgress.memoizedState = null;
|
|
9512
9513
|
return renderLanes;
|
|
@@ -11871,7 +11872,9 @@
|
|
|
11871
11872
|
if (
|
|
11872
11873
|
((hoistableRoot = maybeNodes[i]),
|
|
11873
11874
|
hoistableRoot.getAttribute("href") ===
|
|
11874
|
-
(null == current.href
|
|
11875
|
+
(null == current.href || "" === current.href
|
|
11876
|
+
? null
|
|
11877
|
+
: current.href) &&
|
|
11875
11878
|
hoistableRoot.getAttribute("rel") ===
|
|
11876
11879
|
(null == current.rel ? null : current.rel) &&
|
|
11877
11880
|
hoistableRoot.getAttribute("title") ===
|
|
@@ -15121,8 +15124,8 @@
|
|
|
15121
15124
|
suspendedRetryLanes
|
|
15122
15125
|
) {
|
|
15123
15126
|
root.cancelPendingCommit = null;
|
|
15124
|
-
do
|
|
15125
|
-
while (
|
|
15127
|
+
do flushPendingEffects();
|
|
15128
|
+
while (pendingEffectsStatus !== NO_PENDING_EFFECTS);
|
|
15126
15129
|
ReactStrictModeWarnings.flushLegacyContextWarning();
|
|
15127
15130
|
ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings();
|
|
15128
15131
|
if ((executionContext & (RenderContext | CommitContext)) !== NoContext)
|
|
@@ -15154,12 +15157,15 @@
|
|
|
15154
15157
|
root === workInProgressRoot &&
|
|
15155
15158
|
((workInProgress = workInProgressRoot = null),
|
|
15156
15159
|
(workInProgressRootRenderLanes = 0));
|
|
15160
|
+
pendingFinishedWork = finishedWork;
|
|
15161
|
+
pendingEffectsRoot = root;
|
|
15162
|
+
pendingEffectsLanes = lanes;
|
|
15163
|
+
pendingEffectsRemainingLanes = didIncludeRenderPhaseUpdate;
|
|
15164
|
+
pendingPassiveTransitions = transitions;
|
|
15165
|
+
pendingRecoverableErrors = recoverableErrors;
|
|
15157
15166
|
0 !== (finishedWork.subtreeFlags & 10256) ||
|
|
15158
15167
|
0 !== (finishedWork.flags & 10256)
|
|
15159
|
-
? ((
|
|
15160
|
-
didIncludeRenderPhaseUpdate),
|
|
15161
|
-
(pendingPassiveTransitions = transitions),
|
|
15162
|
-
(root.callbackNode = null),
|
|
15168
|
+
? ((root.callbackNode = null),
|
|
15163
15169
|
(root.callbackPriority = 0),
|
|
15164
15170
|
scheduleCallback$1(NormalPriority$1, function () {
|
|
15165
15171
|
flushPassiveEffects(!0);
|
|
@@ -15167,266 +15173,289 @@
|
|
|
15167
15173
|
}))
|
|
15168
15174
|
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
|
15169
15175
|
commitStartTime = now();
|
|
15170
|
-
|
|
15171
|
-
if (0 !== (finishedWork.subtreeFlags & 13878) ||
|
|
15172
|
-
|
|
15176
|
+
lanes = 0 !== (finishedWork.flags & 13878);
|
|
15177
|
+
if (0 !== (finishedWork.subtreeFlags & 13878) || lanes) {
|
|
15178
|
+
lanes = ReactSharedInternals.T;
|
|
15173
15179
|
ReactSharedInternals.T = null;
|
|
15174
|
-
|
|
15180
|
+
recoverableErrors = ReactDOMSharedInternals.p;
|
|
15175
15181
|
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
|
15176
|
-
|
|
15182
|
+
transitions = executionContext;
|
|
15177
15183
|
executionContext |= CommitContext;
|
|
15178
15184
|
try {
|
|
15179
15185
|
commitBeforeMutationEffects(root, finishedWork);
|
|
15180
15186
|
} finally {
|
|
15181
|
-
(executionContext =
|
|
15182
|
-
(ReactDOMSharedInternals.p =
|
|
15183
|
-
(ReactSharedInternals.T =
|
|
15187
|
+
(executionContext = transitions),
|
|
15188
|
+
(ReactDOMSharedInternals.p = recoverableErrors),
|
|
15189
|
+
(ReactSharedInternals.T = lanes);
|
|
15184
15190
|
}
|
|
15185
15191
|
}
|
|
15186
|
-
|
|
15187
|
-
|
|
15188
|
-
|
|
15189
|
-
|
|
15190
|
-
|
|
15191
|
-
|
|
15192
|
-
if (
|
|
15193
|
-
|
|
15194
|
-
|
|
15195
|
-
|
|
15196
|
-
|
|
15197
|
-
|
|
15198
|
-
|
|
15199
|
-
|
|
15200
|
-
|
|
15201
|
-
|
|
15202
|
-
|
|
15203
|
-
|
|
15204
|
-
|
|
15205
|
-
|
|
15206
|
-
|
|
15207
|
-
|
|
15208
|
-
|
|
15209
|
-
|
|
15210
|
-
|
|
15211
|
-
|
|
15212
|
-
|
|
15213
|
-
|
|
15214
|
-
|
|
15215
|
-
|
|
15216
|
-
|
|
15192
|
+
pendingEffectsStatus = PENDING_MUTATION_PHASE;
|
|
15193
|
+
flushMutationEffects();
|
|
15194
|
+
flushLayoutEffects();
|
|
15195
|
+
}
|
|
15196
|
+
}
|
|
15197
|
+
function flushMutationEffects() {
|
|
15198
|
+
if (pendingEffectsStatus === PENDING_MUTATION_PHASE) {
|
|
15199
|
+
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
|
15200
|
+
var root = pendingEffectsRoot,
|
|
15201
|
+
finishedWork = pendingFinishedWork,
|
|
15202
|
+
lanes = pendingEffectsLanes,
|
|
15203
|
+
rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
|
|
15204
|
+
if (
|
|
15205
|
+
0 !== (finishedWork.subtreeFlags & 13878) ||
|
|
15206
|
+
rootMutationHasEffect
|
|
15207
|
+
) {
|
|
15208
|
+
rootMutationHasEffect = ReactSharedInternals.T;
|
|
15209
|
+
ReactSharedInternals.T = null;
|
|
15210
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
|
15211
|
+
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
|
15212
|
+
var prevExecutionContext = executionContext;
|
|
15213
|
+
executionContext |= CommitContext;
|
|
15214
|
+
try {
|
|
15215
|
+
inProgressLanes = lanes;
|
|
15216
|
+
inProgressRoot = root;
|
|
15217
|
+
commitMutationEffectsOnFiber(finishedWork, root);
|
|
15218
|
+
inProgressRoot = inProgressLanes = null;
|
|
15219
|
+
lanes = selectionInformation;
|
|
15220
|
+
var curFocusedElem = getActiveElementDeep(root.containerInfo),
|
|
15221
|
+
priorFocusedElem = lanes.focusedElem,
|
|
15222
|
+
priorSelectionRange = lanes.selectionRange;
|
|
15217
15223
|
if (
|
|
15218
|
-
|
|
15219
|
-
|
|
15224
|
+
curFocusedElem !== priorFocusedElem &&
|
|
15225
|
+
priorFocusedElem &&
|
|
15226
|
+
priorFocusedElem.ownerDocument &&
|
|
15227
|
+
containsNode(
|
|
15228
|
+
priorFocusedElem.ownerDocument.documentElement,
|
|
15229
|
+
priorFocusedElem
|
|
15230
|
+
)
|
|
15220
15231
|
) {
|
|
15221
|
-
|
|
15222
|
-
|
|
15223
|
-
|
|
15224
|
-
|
|
15225
|
-
|
|
15226
|
-
|
|
15227
|
-
|
|
15228
|
-
|
|
15229
|
-
)
|
|
15230
|
-
|
|
15231
|
-
|
|
15232
|
-
|
|
15233
|
-
|
|
15234
|
-
|
|
15235
|
-
|
|
15236
|
-
|
|
15237
|
-
|
|
15238
|
-
|
|
15239
|
-
|
|
15240
|
-
|
|
15241
|
-
|
|
15242
|
-
|
|
15243
|
-
|
|
15244
|
-
|
|
15245
|
-
|
|
15246
|
-
|
|
15247
|
-
|
|
15248
|
-
|
|
15249
|
-
|
|
15250
|
-
|
|
15251
|
-
start$jscomp$0
|
|
15252
|
-
|
|
15253
|
-
|
|
15254
|
-
|
|
15255
|
-
|
|
15256
|
-
|
|
15257
|
-
|
|
15258
|
-
|
|
15259
|
-
|
|
15260
|
-
|
|
15261
|
-
|
|
15262
|
-
|
|
15263
|
-
|
|
15264
|
-
|
|
15265
|
-
|
|
15266
|
-
|
|
15267
|
-
|
|
15268
|
-
|
|
15269
|
-
|
|
15270
|
-
|
|
15271
|
-
|
|
15272
|
-
|
|
15273
|
-
|
|
15232
|
+
if (
|
|
15233
|
+
null !== priorSelectionRange &&
|
|
15234
|
+
hasSelectionCapabilities(priorFocusedElem)
|
|
15235
|
+
) {
|
|
15236
|
+
var start = priorSelectionRange.start,
|
|
15237
|
+
end = priorSelectionRange.end;
|
|
15238
|
+
void 0 === end && (end = start);
|
|
15239
|
+
if ("selectionStart" in priorFocusedElem)
|
|
15240
|
+
(priorFocusedElem.selectionStart = start),
|
|
15241
|
+
(priorFocusedElem.selectionEnd = Math.min(
|
|
15242
|
+
end,
|
|
15243
|
+
priorFocusedElem.value.length
|
|
15244
|
+
));
|
|
15245
|
+
else {
|
|
15246
|
+
var doc = priorFocusedElem.ownerDocument || document,
|
|
15247
|
+
win = (doc && doc.defaultView) || window;
|
|
15248
|
+
if (win.getSelection) {
|
|
15249
|
+
var selection = win.getSelection(),
|
|
15250
|
+
length = priorFocusedElem.textContent.length,
|
|
15251
|
+
start$jscomp$0 = Math.min(
|
|
15252
|
+
priorSelectionRange.start,
|
|
15253
|
+
length
|
|
15254
|
+
),
|
|
15255
|
+
end$jscomp$0 =
|
|
15256
|
+
void 0 === priorSelectionRange.end
|
|
15257
|
+
? start$jscomp$0
|
|
15258
|
+
: Math.min(priorSelectionRange.end, length);
|
|
15259
|
+
!selection.extend &&
|
|
15260
|
+
start$jscomp$0 > end$jscomp$0 &&
|
|
15261
|
+
((curFocusedElem = end$jscomp$0),
|
|
15262
|
+
(end$jscomp$0 = start$jscomp$0),
|
|
15263
|
+
(start$jscomp$0 = curFocusedElem));
|
|
15264
|
+
var startMarker = getNodeForCharacterOffset(
|
|
15265
|
+
priorFocusedElem,
|
|
15266
|
+
start$jscomp$0
|
|
15267
|
+
),
|
|
15268
|
+
endMarker = getNodeForCharacterOffset(
|
|
15269
|
+
priorFocusedElem,
|
|
15270
|
+
end$jscomp$0
|
|
15271
|
+
);
|
|
15272
|
+
if (
|
|
15273
|
+
startMarker &&
|
|
15274
|
+
endMarker &&
|
|
15275
|
+
(1 !== selection.rangeCount ||
|
|
15276
|
+
selection.anchorNode !== startMarker.node ||
|
|
15277
|
+
selection.anchorOffset !== startMarker.offset ||
|
|
15278
|
+
selection.focusNode !== endMarker.node ||
|
|
15279
|
+
selection.focusOffset !== endMarker.offset)
|
|
15280
|
+
) {
|
|
15281
|
+
var range = doc.createRange();
|
|
15282
|
+
range.setStart(startMarker.node, startMarker.offset);
|
|
15283
|
+
selection.removeAllRanges();
|
|
15284
|
+
start$jscomp$0 > end$jscomp$0
|
|
15285
|
+
? (selection.addRange(range),
|
|
15286
|
+
selection.extend(endMarker.node, endMarker.offset))
|
|
15287
|
+
: (range.setEnd(endMarker.node, endMarker.offset),
|
|
15288
|
+
selection.addRange(range));
|
|
15289
|
+
}
|
|
15274
15290
|
}
|
|
15275
15291
|
}
|
|
15276
15292
|
}
|
|
15277
|
-
|
|
15278
|
-
|
|
15279
|
-
|
|
15280
|
-
|
|
15281
|
-
(selection = selection.parentNode);
|
|
15293
|
+
doc = [];
|
|
15294
|
+
for (
|
|
15295
|
+
selection = priorFocusedElem;
|
|
15296
|
+
(selection = selection.parentNode);
|
|
15282
15297
|
|
|
15283
|
-
|
|
15284
|
-
|
|
15285
|
-
|
|
15286
|
-
|
|
15287
|
-
|
|
15288
|
-
|
|
15289
|
-
|
|
15290
|
-
|
|
15291
|
-
|
|
15292
|
-
|
|
15293
|
-
|
|
15294
|
-
|
|
15295
|
-
|
|
15296
|
-
|
|
15297
|
-
|
|
15298
|
-
|
|
15299
|
-
|
|
15298
|
+
)
|
|
15299
|
+
1 === selection.nodeType &&
|
|
15300
|
+
doc.push({
|
|
15301
|
+
element: selection,
|
|
15302
|
+
left: selection.scrollLeft,
|
|
15303
|
+
top: selection.scrollTop
|
|
15304
|
+
});
|
|
15305
|
+
"function" === typeof priorFocusedElem.focus &&
|
|
15306
|
+
priorFocusedElem.focus();
|
|
15307
|
+
for (
|
|
15308
|
+
priorFocusedElem = 0;
|
|
15309
|
+
priorFocusedElem < doc.length;
|
|
15310
|
+
priorFocusedElem++
|
|
15311
|
+
) {
|
|
15312
|
+
var info = doc[priorFocusedElem];
|
|
15313
|
+
info.element.scrollLeft = info.left;
|
|
15314
|
+
info.element.scrollTop = info.top;
|
|
15315
|
+
}
|
|
15300
15316
|
}
|
|
15317
|
+
_enabled = !!eventsEnabled;
|
|
15318
|
+
selectionInformation = eventsEnabled = null;
|
|
15319
|
+
} finally {
|
|
15320
|
+
(executionContext = prevExecutionContext),
|
|
15321
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
|
15322
|
+
(ReactSharedInternals.T = rootMutationHasEffect);
|
|
15301
15323
|
}
|
|
15302
|
-
_enabled = !!eventsEnabled;
|
|
15303
|
-
selectionInformation = eventsEnabled = null;
|
|
15304
|
-
} finally {
|
|
15305
|
-
(executionContext = prevExecutionContext),
|
|
15306
|
-
(ReactDOMSharedInternals.p = previousPriority),
|
|
15307
|
-
(ReactSharedInternals.T = rootMutationHasEffect);
|
|
15308
15324
|
}
|
|
15309
|
-
|
|
15310
|
-
|
|
15311
|
-
|
|
15312
|
-
|
|
15313
|
-
|
|
15314
|
-
if (
|
|
15315
|
-
|
|
15316
|
-
|
|
15317
|
-
|
|
15318
|
-
|
|
15319
|
-
|
|
15320
|
-
|
|
15321
|
-
|
|
15322
|
-
|
|
15323
|
-
|
|
15324
|
-
|
|
15325
|
-
|
|
15326
|
-
|
|
15327
|
-
|
|
15328
|
-
|
|
15329
|
-
root,
|
|
15330
|
-
finishedWork.alternate,
|
|
15331
|
-
finishedWork
|
|
15332
|
-
),
|
|
15333
|
-
(inProgressRoot = inProgressLanes = null),
|
|
15325
|
+
root.current = finishedWork;
|
|
15326
|
+
pendingEffectsStatus = PENDING_LAYOUT_PHASE;
|
|
15327
|
+
}
|
|
15328
|
+
}
|
|
15329
|
+
function flushLayoutEffects() {
|
|
15330
|
+
if (pendingEffectsStatus === PENDING_LAYOUT_PHASE) {
|
|
15331
|
+
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
|
15332
|
+
var root = pendingEffectsRoot,
|
|
15333
|
+
finishedWork = pendingFinishedWork,
|
|
15334
|
+
lanes = pendingEffectsLanes,
|
|
15335
|
+
recoverableErrors = pendingRecoverableErrors,
|
|
15336
|
+
rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772);
|
|
15337
|
+
if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) {
|
|
15338
|
+
rootHasLayoutEffect = ReactSharedInternals.T;
|
|
15339
|
+
ReactSharedInternals.T = null;
|
|
15340
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
|
15341
|
+
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
|
15342
|
+
var prevExecutionContext = executionContext;
|
|
15343
|
+
executionContext |= CommitContext;
|
|
15344
|
+
try {
|
|
15334
15345
|
null !== injectedProfilingHooks &&
|
|
15335
15346
|
"function" ===
|
|
15336
|
-
typeof injectedProfilingHooks.
|
|
15337
|
-
injectedProfilingHooks.
|
|
15338
|
-
|
|
15339
|
-
|
|
15340
|
-
|
|
15341
|
-
|
|
15342
|
-
|
|
15343
|
-
|
|
15344
|
-
|
|
15345
|
-
|
|
15346
|
-
|
|
15347
|
-
|
|
15348
|
-
|
|
15349
|
-
|
|
15350
|
-
|
|
15351
|
-
|
|
15352
|
-
|
|
15353
|
-
|
|
15354
|
-
0 === previousPriority && (legacyErrorBoundariesThatAlreadyFailed = null);
|
|
15355
|
-
rootHasLayoutEffect || commitDoubleInvokeEffectsInDEV(root);
|
|
15356
|
-
rootHasLayoutEffect = lanesToEventPriority(lanes);
|
|
15357
|
-
finishedWork = finishedWork.stateNode;
|
|
15358
|
-
if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot)
|
|
15359
|
-
try {
|
|
15360
|
-
var didError = 128 === (finishedWork.current.flags & 128);
|
|
15361
|
-
switch (rootHasLayoutEffect) {
|
|
15362
|
-
case DiscreteEventPriority:
|
|
15363
|
-
var schedulerPriority = ImmediatePriority;
|
|
15364
|
-
break;
|
|
15365
|
-
case ContinuousEventPriority:
|
|
15366
|
-
schedulerPriority = UserBlockingPriority;
|
|
15367
|
-
break;
|
|
15368
|
-
case DefaultEventPriority:
|
|
15369
|
-
schedulerPriority = NormalPriority$1;
|
|
15370
|
-
break;
|
|
15371
|
-
case IdleEventPriority:
|
|
15372
|
-
schedulerPriority = IdlePriority;
|
|
15373
|
-
break;
|
|
15374
|
-
default:
|
|
15375
|
-
schedulerPriority = NormalPriority$1;
|
|
15347
|
+
typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
|
15348
|
+
injectedProfilingHooks.markLayoutEffectsStarted(lanes),
|
|
15349
|
+
(inProgressLanes = lanes),
|
|
15350
|
+
(inProgressRoot = root),
|
|
15351
|
+
commitLayoutEffectOnFiber(
|
|
15352
|
+
root,
|
|
15353
|
+
finishedWork.alternate,
|
|
15354
|
+
finishedWork
|
|
15355
|
+
),
|
|
15356
|
+
(inProgressRoot = inProgressLanes = null),
|
|
15357
|
+
null !== injectedProfilingHooks &&
|
|
15358
|
+
"function" ===
|
|
15359
|
+
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
|
15360
|
+
injectedProfilingHooks.markLayoutEffectsStopped();
|
|
15361
|
+
} finally {
|
|
15362
|
+
(executionContext = prevExecutionContext),
|
|
15363
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
|
15364
|
+
(ReactSharedInternals.T = rootHasLayoutEffect);
|
|
15376
15365
|
}
|
|
15377
|
-
injectedHook.onCommitFiberRoot(
|
|
15378
|
-
rendererID,
|
|
15379
|
-
finishedWork,
|
|
15380
|
-
schedulerPriority,
|
|
15381
|
-
didError
|
|
15382
|
-
);
|
|
15383
|
-
} catch (err) {
|
|
15384
|
-
hasLoggedError ||
|
|
15385
|
-
((hasLoggedError = !0),
|
|
15386
|
-
console.error(
|
|
15387
|
-
"React instrumentation encountered an error: %s",
|
|
15388
|
-
err
|
|
15389
|
-
));
|
|
15390
15366
|
}
|
|
15391
|
-
|
|
15392
|
-
|
|
15393
|
-
|
|
15394
|
-
|
|
15395
|
-
|
|
15396
|
-
|
|
15397
|
-
|
|
15398
|
-
|
|
15399
|
-
|
|
15400
|
-
|
|
15401
|
-
|
|
15402
|
-
|
|
15403
|
-
|
|
15404
|
-
|
|
15405
|
-
|
|
15406
|
-
|
|
15407
|
-
|
|
15408
|
-
|
|
15409
|
-
|
|
15410
|
-
|
|
15411
|
-
|
|
15367
|
+
requestPaint();
|
|
15368
|
+
(rootHasLayoutEffect =
|
|
15369
|
+
0 !== (finishedWork.subtreeFlags & 10256) ||
|
|
15370
|
+
0 !== (finishedWork.flags & 10256))
|
|
15371
|
+
? (pendingEffectsStatus = PENDING_PASSIVE_PHASE)
|
|
15372
|
+
: ((pendingEffectsStatus = NO_PENDING_EFFECTS),
|
|
15373
|
+
(pendingEffectsRoot = null),
|
|
15374
|
+
releaseRootPooledCache(root, root.pendingLanes),
|
|
15375
|
+
(nestedPassiveUpdateCount = 0),
|
|
15376
|
+
(rootWithPassiveNestedUpdates = null));
|
|
15377
|
+
previousPriority = root.pendingLanes;
|
|
15378
|
+
0 === previousPriority &&
|
|
15379
|
+
(legacyErrorBoundariesThatAlreadyFailed = null);
|
|
15380
|
+
rootHasLayoutEffect || commitDoubleInvokeEffectsInDEV(root);
|
|
15381
|
+
rootHasLayoutEffect = lanesToEventPriority(lanes);
|
|
15382
|
+
finishedWork = finishedWork.stateNode;
|
|
15383
|
+
if (
|
|
15384
|
+
injectedHook &&
|
|
15385
|
+
"function" === typeof injectedHook.onCommitFiberRoot
|
|
15386
|
+
)
|
|
15387
|
+
try {
|
|
15388
|
+
var didError = 128 === (finishedWork.current.flags & 128);
|
|
15389
|
+
switch (rootHasLayoutEffect) {
|
|
15390
|
+
case DiscreteEventPriority:
|
|
15391
|
+
var schedulerPriority = ImmediatePriority;
|
|
15392
|
+
break;
|
|
15393
|
+
case ContinuousEventPriority:
|
|
15394
|
+
schedulerPriority = UserBlockingPriority;
|
|
15395
|
+
break;
|
|
15396
|
+
case DefaultEventPriority:
|
|
15397
|
+
schedulerPriority = NormalPriority$1;
|
|
15398
|
+
break;
|
|
15399
|
+
case IdleEventPriority:
|
|
15400
|
+
schedulerPriority = IdlePriority;
|
|
15401
|
+
break;
|
|
15402
|
+
default:
|
|
15403
|
+
schedulerPriority = NormalPriority$1;
|
|
15404
|
+
}
|
|
15405
|
+
injectedHook.onCommitFiberRoot(
|
|
15406
|
+
rendererID,
|
|
15407
|
+
finishedWork,
|
|
15408
|
+
schedulerPriority,
|
|
15409
|
+
didError
|
|
15412
15410
|
);
|
|
15411
|
+
} catch (err) {
|
|
15412
|
+
hasLoggedError ||
|
|
15413
|
+
((hasLoggedError = !0),
|
|
15414
|
+
console.error(
|
|
15415
|
+
"React instrumentation encountered an error: %s",
|
|
15416
|
+
err
|
|
15417
|
+
));
|
|
15418
|
+
}
|
|
15419
|
+
isDevToolsPresent && root.memoizedUpdaters.clear();
|
|
15420
|
+
onCommitRoot();
|
|
15421
|
+
if (null !== recoverableErrors) {
|
|
15422
|
+
didError = ReactSharedInternals.T;
|
|
15423
|
+
schedulerPriority = ReactDOMSharedInternals.p;
|
|
15424
|
+
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
|
15425
|
+
ReactSharedInternals.T = null;
|
|
15426
|
+
try {
|
|
15427
|
+
var onRecoverableError = root.onRecoverableError;
|
|
15428
|
+
for (
|
|
15429
|
+
finishedWork = 0;
|
|
15430
|
+
finishedWork < recoverableErrors.length;
|
|
15431
|
+
finishedWork++
|
|
15432
|
+
) {
|
|
15433
|
+
var recoverableError = recoverableErrors[finishedWork],
|
|
15434
|
+
errorInfo = makeErrorInfo(recoverableError.stack);
|
|
15435
|
+
runWithFiberInDEV(
|
|
15436
|
+
recoverableError.source,
|
|
15437
|
+
onRecoverableError,
|
|
15438
|
+
recoverableError.value,
|
|
15439
|
+
errorInfo
|
|
15440
|
+
);
|
|
15441
|
+
}
|
|
15442
|
+
} finally {
|
|
15443
|
+
(ReactSharedInternals.T = didError),
|
|
15444
|
+
(ReactDOMSharedInternals.p = schedulerPriority);
|
|
15413
15445
|
}
|
|
15414
|
-
} finally {
|
|
15415
|
-
(ReactSharedInternals.T = didError),
|
|
15416
|
-
(ReactDOMSharedInternals.p = schedulerPriority);
|
|
15417
15446
|
}
|
|
15447
|
+
0 !== (pendingEffectsLanes & 3) && flushPendingEffects();
|
|
15448
|
+
ensureRootIsScheduled(root);
|
|
15449
|
+
previousPriority = root.pendingLanes;
|
|
15450
|
+
0 !== (lanes & 4194218) && 0 !== (previousPriority & 42)
|
|
15451
|
+
? ((nestedUpdateScheduled = !0),
|
|
15452
|
+
root === rootWithNestedUpdates
|
|
15453
|
+
? nestedUpdateCount++
|
|
15454
|
+
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
|
15455
|
+
: (nestedUpdateCount = 0);
|
|
15456
|
+
flushSyncWorkAcrossRoots_impl(0, !1);
|
|
15457
|
+
markCommitStopped();
|
|
15418
15458
|
}
|
|
15419
|
-
0 !== (pendingPassiveEffectsLanes & 3) && flushPassiveEffects();
|
|
15420
|
-
ensureRootIsScheduled(root);
|
|
15421
|
-
previousPriority = root.pendingLanes;
|
|
15422
|
-
0 !== (lanes & 4194218) && 0 !== (previousPriority & 42)
|
|
15423
|
-
? ((nestedUpdateScheduled = !0),
|
|
15424
|
-
root === rootWithNestedUpdates
|
|
15425
|
-
? nestedUpdateCount++
|
|
15426
|
-
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
|
15427
|
-
: (nestedUpdateCount = 0);
|
|
15428
|
-
flushSyncWorkAcrossRoots_impl(0, !1);
|
|
15429
|
-
markCommitStopped();
|
|
15430
15459
|
}
|
|
15431
15460
|
function makeErrorInfo(componentStack) {
|
|
15432
15461
|
componentStack = { componentStack: componentStack };
|
|
@@ -15445,94 +15474,87 @@
|
|
|
15445
15474
|
null != remainingLanes &&
|
|
15446
15475
|
((root.pooledCache = null), releaseCache(remainingLanes)));
|
|
15447
15476
|
}
|
|
15477
|
+
function flushPendingEffects(wasDelayedCommit) {
|
|
15478
|
+
flushMutationEffects();
|
|
15479
|
+
flushLayoutEffects();
|
|
15480
|
+
return flushPassiveEffects(wasDelayedCommit);
|
|
15481
|
+
}
|
|
15448
15482
|
function flushPassiveEffects() {
|
|
15449
|
-
if (
|
|
15450
|
-
|
|
15451
|
-
|
|
15452
|
-
|
|
15453
|
-
|
|
15454
|
-
|
|
15455
|
-
|
|
15456
|
-
|
|
15457
|
-
|
|
15458
|
-
|
|
15459
|
-
|
|
15460
|
-
|
|
15461
|
-
|
|
15462
|
-
|
|
15463
|
-
|
|
15464
|
-
|
|
15465
|
-
|
|
15466
|
-
|
|
15467
|
-
|
|
15468
|
-
|
|
15469
|
-
|
|
15470
|
-
|
|
15471
|
-
|
|
15472
|
-
|
|
15473
|
-
|
|
15474
|
-
|
|
15475
|
-
|
|
15476
|
-
|
|
15477
|
-
|
|
15478
|
-
|
|
15479
|
-
|
|
15480
|
-
|
|
15481
|
-
|
|
15482
|
-
|
|
15483
|
-
|
|
15484
|
-
|
|
15485
|
-
|
|
15486
|
-
|
|
15487
|
-
|
|
15488
|
-
|
|
15489
|
-
|
|
15490
|
-
|
|
15491
|
-
|
|
15492
|
-
|
|
15493
|
-
|
|
15494
|
-
|
|
15495
|
-
|
|
15496
|
-
|
|
15497
|
-
|
|
15498
|
-
|
|
15499
|
-
|
|
15500
|
-
|
|
15501
|
-
|
|
15502
|
-
|
|
15503
|
-
|
|
15504
|
-
|
|
15505
|
-
|
|
15506
|
-
|
|
15507
|
-
|
|
15508
|
-
|
|
15509
|
-
|
|
15510
|
-
|
|
15511
|
-
|
|
15512
|
-
|
|
15513
|
-
|
|
15514
|
-
injectedHook.onPostCommitFiberRoot(rendererID, root$jscomp$0);
|
|
15515
|
-
} catch (err) {
|
|
15516
|
-
hasLoggedError ||
|
|
15517
|
-
((hasLoggedError = !0),
|
|
15518
|
-
console.error(
|
|
15519
|
-
"React instrumentation encountered an error: %s",
|
|
15520
|
-
err
|
|
15521
|
-
));
|
|
15522
|
-
}
|
|
15523
|
-
var stateNode = root$jscomp$0.current.stateNode;
|
|
15524
|
-
stateNode.effectDuration = 0;
|
|
15525
|
-
stateNode.passiveEffectDuration = 0;
|
|
15526
|
-
JSCompiler_inline_result = !0;
|
|
15483
|
+
if (pendingEffectsStatus !== PENDING_PASSIVE_PHASE) return !1;
|
|
15484
|
+
var root = pendingEffectsRoot,
|
|
15485
|
+
remainingLanes = pendingEffectsRemainingLanes;
|
|
15486
|
+
pendingEffectsRemainingLanes = 0;
|
|
15487
|
+
var renderPriority = lanesToEventPriority(pendingEffectsLanes),
|
|
15488
|
+
priority =
|
|
15489
|
+
0 === DefaultEventPriority || DefaultEventPriority > renderPriority
|
|
15490
|
+
? DefaultEventPriority
|
|
15491
|
+
: renderPriority;
|
|
15492
|
+
renderPriority = ReactSharedInternals.T;
|
|
15493
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
|
15494
|
+
try {
|
|
15495
|
+
ReactDOMSharedInternals.p = priority;
|
|
15496
|
+
ReactSharedInternals.T = null;
|
|
15497
|
+
priority = pendingPassiveTransitions;
|
|
15498
|
+
pendingPassiveTransitions = null;
|
|
15499
|
+
var root$jscomp$0 = pendingEffectsRoot,
|
|
15500
|
+
lanes = pendingEffectsLanes;
|
|
15501
|
+
pendingEffectsStatus = NO_PENDING_EFFECTS;
|
|
15502
|
+
pendingEffectsRoot = null;
|
|
15503
|
+
pendingEffectsLanes = 0;
|
|
15504
|
+
if ((executionContext & (RenderContext | CommitContext)) !== NoContext)
|
|
15505
|
+
throw Error("Cannot flush passive effects while already rendering.");
|
|
15506
|
+
isFlushingPassiveEffects = !0;
|
|
15507
|
+
didScheduleUpdateDuringPassiveEffects = !1;
|
|
15508
|
+
null !== injectedProfilingHooks &&
|
|
15509
|
+
"function" ===
|
|
15510
|
+
typeof injectedProfilingHooks.markPassiveEffectsStarted &&
|
|
15511
|
+
injectedProfilingHooks.markPassiveEffectsStarted(lanes);
|
|
15512
|
+
var prevExecutionContext = executionContext;
|
|
15513
|
+
executionContext |= CommitContext;
|
|
15514
|
+
commitPassiveUnmountOnFiber(root$jscomp$0.current);
|
|
15515
|
+
commitPassiveMountOnFiber(
|
|
15516
|
+
root$jscomp$0,
|
|
15517
|
+
root$jscomp$0.current,
|
|
15518
|
+
lanes,
|
|
15519
|
+
priority
|
|
15520
|
+
);
|
|
15521
|
+
null !== injectedProfilingHooks &&
|
|
15522
|
+
"function" ===
|
|
15523
|
+
typeof injectedProfilingHooks.markPassiveEffectsStopped &&
|
|
15524
|
+
injectedProfilingHooks.markPassiveEffectsStopped();
|
|
15525
|
+
commitDoubleInvokeEffectsInDEV(root$jscomp$0);
|
|
15526
|
+
executionContext = prevExecutionContext;
|
|
15527
|
+
flushSyncWorkAcrossRoots_impl(0, !1);
|
|
15528
|
+
didScheduleUpdateDuringPassiveEffects
|
|
15529
|
+
? root$jscomp$0 === rootWithPassiveNestedUpdates
|
|
15530
|
+
? nestedPassiveUpdateCount++
|
|
15531
|
+
: ((nestedPassiveUpdateCount = 0),
|
|
15532
|
+
(rootWithPassiveNestedUpdates = root$jscomp$0))
|
|
15533
|
+
: (nestedPassiveUpdateCount = 0);
|
|
15534
|
+
didScheduleUpdateDuringPassiveEffects = isFlushingPassiveEffects = !1;
|
|
15535
|
+
if (
|
|
15536
|
+
injectedHook &&
|
|
15537
|
+
"function" === typeof injectedHook.onPostCommitFiberRoot
|
|
15538
|
+
)
|
|
15539
|
+
try {
|
|
15540
|
+
injectedHook.onPostCommitFiberRoot(rendererID, root$jscomp$0);
|
|
15541
|
+
} catch (err) {
|
|
15542
|
+
hasLoggedError ||
|
|
15543
|
+
((hasLoggedError = !0),
|
|
15544
|
+
console.error(
|
|
15545
|
+
"React instrumentation encountered an error: %s",
|
|
15546
|
+
err
|
|
15547
|
+
));
|
|
15527
15548
|
}
|
|
15528
|
-
|
|
15529
|
-
|
|
15530
|
-
|
|
15531
|
-
|
|
15532
|
-
|
|
15533
|
-
|
|
15549
|
+
var stateNode = root$jscomp$0.current.stateNode;
|
|
15550
|
+
stateNode.effectDuration = 0;
|
|
15551
|
+
stateNode.passiveEffectDuration = 0;
|
|
15552
|
+
return !0;
|
|
15553
|
+
} finally {
|
|
15554
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
|
15555
|
+
(ReactSharedInternals.T = renderPriority),
|
|
15556
|
+
releaseRootPooledCache(root, remainingLanes);
|
|
15534
15557
|
}
|
|
15535
|
-
return !1;
|
|
15536
15558
|
}
|
|
15537
15559
|
function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {
|
|
15538
15560
|
sourceFiber = createCapturedValueAtFiber(error, sourceFiber);
|
|
@@ -15951,8 +15973,13 @@
|
|
|
15951
15973
|
}
|
|
15952
15974
|
function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
|
15953
15975
|
nestedUpdateScheduled = currentUpdateIsNested = !1;
|
|
15976
|
+
if (
|
|
15977
|
+
pendingEffectsStatus !== NO_PENDING_EFFECTS &&
|
|
15978
|
+
pendingEffectsStatus !== PENDING_PASSIVE_PHASE
|
|
15979
|
+
)
|
|
15980
|
+
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
|
15954
15981
|
var originalCallbackNode = root.callbackNode;
|
|
15955
|
-
if (
|
|
15982
|
+
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
|
15956
15983
|
return null;
|
|
15957
15984
|
var workInProgressRootRenderLanes$jscomp$0 =
|
|
15958
15985
|
workInProgressRootRenderLanes;
|
|
@@ -15976,7 +16003,7 @@
|
|
|
15976
16003
|
: null;
|
|
15977
16004
|
}
|
|
15978
16005
|
function performSyncWorkOnRoot(root, lanes) {
|
|
15979
|
-
if (
|
|
16006
|
+
if (flushPendingEffects()) return null;
|
|
15980
16007
|
currentUpdateIsNested = nestedUpdateScheduled;
|
|
15981
16008
|
nestedUpdateScheduled = !1;
|
|
15982
16009
|
performWorkOnRoot(root, lanes, !0);
|
|
@@ -18568,36 +18595,34 @@
|
|
|
18568
18595
|
}
|
|
18569
18596
|
case "src":
|
|
18570
18597
|
case "href":
|
|
18571
|
-
|
|
18572
|
-
|
|
18573
|
-
|
|
18574
|
-
|
|
18575
|
-
|
|
18576
|
-
|
|
18577
|
-
|
|
18578
|
-
|
|
18579
|
-
|
|
18580
|
-
|
|
18581
|
-
|
|
18582
|
-
|
|
18583
|
-
|
|
18584
|
-
|
|
18585
|
-
|
|
18586
|
-
|
|
18587
|
-
|
|
18588
|
-
|
|
18589
|
-
|
|
18590
|
-
|
|
18591
|
-
|
|
18592
|
-
|
|
18593
|
-
|
|
18594
|
-
|
|
18595
|
-
|
|
18596
|
-
|
|
18597
|
-
|
|
18598
|
-
|
|
18599
|
-
serverDifferences
|
|
18600
|
-
));
|
|
18598
|
+
if (
|
|
18599
|
+
!(
|
|
18600
|
+
"" !== propKey ||
|
|
18601
|
+
("a" === tag && "href" === value) ||
|
|
18602
|
+
("object" === tag && "data" === value)
|
|
18603
|
+
)
|
|
18604
|
+
) {
|
|
18605
|
+
"src" === value
|
|
18606
|
+
? console.error(
|
|
18607
|
+
'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
|
|
18608
|
+
value,
|
|
18609
|
+
value
|
|
18610
|
+
)
|
|
18611
|
+
: console.error(
|
|
18612
|
+
'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
|
|
18613
|
+
value,
|
|
18614
|
+
value
|
|
18615
|
+
);
|
|
18616
|
+
continue;
|
|
18617
|
+
}
|
|
18618
|
+
hydrateSanitizedAttribute(
|
|
18619
|
+
domElement,
|
|
18620
|
+
value,
|
|
18621
|
+
value,
|
|
18622
|
+
propKey,
|
|
18623
|
+
extraAttributes,
|
|
18624
|
+
serverDifferences
|
|
18625
|
+
);
|
|
18601
18626
|
continue;
|
|
18602
18627
|
case "action":
|
|
18603
18628
|
case "formAction":
|
|
@@ -19207,7 +19232,9 @@
|
|
|
19207
19232
|
else if (
|
|
19208
19233
|
name !== anyProps.rel ||
|
|
19209
19234
|
instance.getAttribute("href") !==
|
|
19210
|
-
(null == anyProps.href
|
|
19235
|
+
(null == anyProps.href || "" === anyProps.href
|
|
19236
|
+
? null
|
|
19237
|
+
: anyProps.href) ||
|
|
19211
19238
|
instance.getAttribute("crossorigin") !==
|
|
19212
19239
|
(null == anyProps.crossOrigin
|
|
19213
19240
|
? null
|
|
@@ -20260,23 +20287,6 @@
|
|
|
20260
20287
|
parentComponent = emptyContextObject;
|
|
20261
20288
|
return parentComponent;
|
|
20262
20289
|
}
|
|
20263
|
-
function updateContainerSync(
|
|
20264
|
-
element,
|
|
20265
|
-
container,
|
|
20266
|
-
parentComponent,
|
|
20267
|
-
callback
|
|
20268
|
-
) {
|
|
20269
|
-
0 === container.tag && flushPassiveEffects();
|
|
20270
|
-
updateContainerImpl(
|
|
20271
|
-
container.current,
|
|
20272
|
-
2,
|
|
20273
|
-
element,
|
|
20274
|
-
container,
|
|
20275
|
-
parentComponent,
|
|
20276
|
-
callback
|
|
20277
|
-
);
|
|
20278
|
-
return 2;
|
|
20279
|
-
}
|
|
20280
20290
|
function updateContainerImpl(
|
|
20281
20291
|
rootFiber,
|
|
20282
20292
|
lane,
|
|
@@ -23974,10 +23984,20 @@
|
|
|
23974
23984
|
RENDER_TIMEOUT_MS = 500,
|
|
23975
23985
|
workInProgressTransitions = null,
|
|
23976
23986
|
legacyErrorBoundariesThatAlreadyFailed = null,
|
|
23977
|
-
|
|
23978
|
-
|
|
23979
|
-
|
|
23987
|
+
IMMEDIATE_COMMIT = 0,
|
|
23988
|
+
SUSPENDED_COMMIT = 1,
|
|
23989
|
+
THROTTLED_COMMIT = 2,
|
|
23990
|
+
NO_PENDING_EFFECTS = 0,
|
|
23991
|
+
PENDING_MUTATION_PHASE = 1,
|
|
23992
|
+
PENDING_LAYOUT_PHASE = 2,
|
|
23993
|
+
PENDING_PASSIVE_PHASE = 3,
|
|
23994
|
+
pendingEffectsStatus = 0,
|
|
23995
|
+
pendingEffectsRoot = null,
|
|
23996
|
+
pendingFinishedWork = null,
|
|
23997
|
+
pendingEffectsLanes = 0,
|
|
23998
|
+
pendingEffectsRemainingLanes = 0,
|
|
23980
23999
|
pendingPassiveTransitions = null,
|
|
24000
|
+
pendingRecoverableErrors = null,
|
|
23981
24001
|
NESTED_UPDATE_LIMIT = 50,
|
|
23982
24002
|
nestedUpdateCount = 0,
|
|
23983
24003
|
rootWithNestedUpdates = null,
|
|
@@ -23987,9 +24007,6 @@
|
|
|
23987
24007
|
nestedPassiveUpdateCount = 0,
|
|
23988
24008
|
rootWithPassiveNestedUpdates = null,
|
|
23989
24009
|
isRunningInsertionEffect = !1,
|
|
23990
|
-
IMMEDIATE_COMMIT = 0,
|
|
23991
|
-
SUSPENDED_COMMIT = 1,
|
|
23992
|
-
THROTTLED_COMMIT = 2,
|
|
23993
24010
|
didWarnStateUpdateForNotYetMountedComponent = null,
|
|
23994
24011
|
didWarnAboutUpdateInRender = !1;
|
|
23995
24012
|
var didWarnAboutUpdateInRenderForAnotherComponent = new Set();
|
|
@@ -24501,7 +24518,7 @@
|
|
|
24501
24518
|
console.error(
|
|
24502
24519
|
"Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."
|
|
24503
24520
|
);
|
|
24504
|
-
|
|
24521
|
+
updateContainerImpl(args.current, 2, null, args, null, null);
|
|
24505
24522
|
flushSyncWork$1();
|
|
24506
24523
|
container[internalContainerInstanceKey] = null;
|
|
24507
24524
|
}
|
|
@@ -24525,11 +24542,11 @@
|
|
|
24525
24542
|
};
|
|
24526
24543
|
(function () {
|
|
24527
24544
|
var isomorphicReactPackageVersion = React.version;
|
|
24528
|
-
if ("19.1.0-canary-
|
|
24545
|
+
if ("19.1.0-canary-7b402084-20250107" !== isomorphicReactPackageVersion)
|
|
24529
24546
|
throw Error(
|
|
24530
24547
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
24531
24548
|
(isomorphicReactPackageVersion +
|
|
24532
|
-
"\n - react-dom: 19.1.0-canary-
|
|
24549
|
+
"\n - react-dom: 19.1.0-canary-7b402084-20250107\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
24533
24550
|
);
|
|
24534
24551
|
})();
|
|
24535
24552
|
("function" === typeof Map &&
|
|
@@ -24566,10 +24583,10 @@
|
|
|
24566
24583
|
!(function () {
|
|
24567
24584
|
var internals = {
|
|
24568
24585
|
bundleType: 1,
|
|
24569
|
-
version: "19.1.0-canary-
|
|
24586
|
+
version: "19.1.0-canary-7b402084-20250107",
|
|
24570
24587
|
rendererPackageName: "react-dom",
|
|
24571
24588
|
currentDispatcherRef: ReactSharedInternals,
|
|
24572
|
-
reconcilerVersion: "19.1.0-canary-
|
|
24589
|
+
reconcilerVersion: "19.1.0-canary-7b402084-20250107"
|
|
24573
24590
|
};
|
|
24574
24591
|
internals.overrideHookState = overrideHookState;
|
|
24575
24592
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
|
@@ -24715,7 +24732,7 @@
|
|
|
24715
24732
|
listenToAllSupportedEvents(container);
|
|
24716
24733
|
return new ReactDOMHydrationRoot(initialChildren);
|
|
24717
24734
|
};
|
|
24718
|
-
exports.version = "19.1.0-canary-
|
|
24735
|
+
exports.version = "19.1.0-canary-7b402084-20250107";
|
|
24719
24736
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
24720
24737
|
"function" ===
|
|
24721
24738
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|