react-dom 19.3.0-canary-4a3d993e-20260114 → 19.3.0-canary-bef88f7c-20260116
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 +309 -300
- package/cjs/react-dom-client.production.js +96 -75
- package/cjs/react-dom-profiling.development.js +309 -300
- package/cjs/react-dom-profiling.profiling.js +142 -116
- 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
|
@@ -4549,38 +4549,6 @@
|
|
|
4549
4549
|
errors
|
|
4550
4550
|
));
|
|
4551
4551
|
}
|
|
4552
|
-
function logRenderPhase(startTime, endTime, lanes, debugTask) {
|
|
4553
|
-
if (supportsUserTiming && !(endTime <= startTime)) {
|
|
4554
|
-
var color =
|
|
4555
|
-
(lanes & 738197653) === lanes ? "tertiary-dark" : "primary-dark";
|
|
4556
|
-
lanes =
|
|
4557
|
-
(lanes & 536870912) === lanes
|
|
4558
|
-
? "Prepared"
|
|
4559
|
-
: (lanes & 201326741) === lanes
|
|
4560
|
-
? "Hydrated"
|
|
4561
|
-
: "Render";
|
|
4562
|
-
debugTask
|
|
4563
|
-
? debugTask.run(
|
|
4564
|
-
console.timeStamp.bind(
|
|
4565
|
-
console,
|
|
4566
|
-
lanes,
|
|
4567
|
-
startTime,
|
|
4568
|
-
endTime,
|
|
4569
|
-
currentTrack,
|
|
4570
|
-
LANES_TRACK_GROUP,
|
|
4571
|
-
color
|
|
4572
|
-
)
|
|
4573
|
-
)
|
|
4574
|
-
: console.timeStamp(
|
|
4575
|
-
lanes,
|
|
4576
|
-
startTime,
|
|
4577
|
-
endTime,
|
|
4578
|
-
currentTrack,
|
|
4579
|
-
LANES_TRACK_GROUP,
|
|
4580
|
-
color
|
|
4581
|
-
);
|
|
4582
|
-
}
|
|
4583
|
-
}
|
|
4584
4552
|
function logSuspendedRenderPhase(startTime, endTime, lanes, debugTask) {
|
|
4585
4553
|
!supportsUserTiming ||
|
|
4586
4554
|
endTime <= startTime ||
|
|
@@ -4633,50 +4601,6 @@
|
|
|
4633
4601
|
lanes
|
|
4634
4602
|
));
|
|
4635
4603
|
}
|
|
4636
|
-
function logRecoveredRenderPhase(
|
|
4637
|
-
startTime,
|
|
4638
|
-
endTime,
|
|
4639
|
-
lanes,
|
|
4640
|
-
recoverableErrors,
|
|
4641
|
-
hydrationFailed,
|
|
4642
|
-
debugTask
|
|
4643
|
-
) {
|
|
4644
|
-
if (supportsUserTiming && !(endTime <= startTime)) {
|
|
4645
|
-
lanes = [];
|
|
4646
|
-
for (var i = 0; i < recoverableErrors.length; i++) {
|
|
4647
|
-
var error = recoverableErrors[i].value;
|
|
4648
|
-
lanes.push([
|
|
4649
|
-
"Recoverable Error",
|
|
4650
|
-
"object" === typeof error &&
|
|
4651
|
-
null !== error &&
|
|
4652
|
-
"string" === typeof error.message
|
|
4653
|
-
? String(error.message)
|
|
4654
|
-
: String(error)
|
|
4655
|
-
]);
|
|
4656
|
-
}
|
|
4657
|
-
startTime = {
|
|
4658
|
-
start: startTime,
|
|
4659
|
-
end: endTime,
|
|
4660
|
-
detail: {
|
|
4661
|
-
devtools: {
|
|
4662
|
-
color: "primary-dark",
|
|
4663
|
-
track: currentTrack,
|
|
4664
|
-
trackGroup: LANES_TRACK_GROUP,
|
|
4665
|
-
tooltipText: hydrationFailed
|
|
4666
|
-
? "Hydration Failed"
|
|
4667
|
-
: "Recovered after Error",
|
|
4668
|
-
properties: lanes
|
|
4669
|
-
}
|
|
4670
|
-
}
|
|
4671
|
-
};
|
|
4672
|
-
debugTask
|
|
4673
|
-
? debugTask.run(
|
|
4674
|
-
performance.measure.bind(performance, "Recovered", startTime)
|
|
4675
|
-
)
|
|
4676
|
-
: performance.measure("Recovered", startTime);
|
|
4677
|
-
performance.clearMeasures("Recovered");
|
|
4678
|
-
}
|
|
4679
|
-
}
|
|
4680
4604
|
function logErroredRenderPhase(startTime, endTime, lanes, debugTask) {
|
|
4681
4605
|
!supportsUserTiming ||
|
|
4682
4606
|
endTime <= startTime ||
|
|
@@ -5105,7 +5029,7 @@
|
|
|
5105
5029
|
(workInProgress.deletions = null),
|
|
5106
5030
|
(workInProgress.actualDuration = -0),
|
|
5107
5031
|
(workInProgress.actualStartTime = -1.1));
|
|
5108
|
-
workInProgress.flags = current.flags &
|
|
5032
|
+
workInProgress.flags = current.flags & 133169152;
|
|
5109
5033
|
workInProgress.childLanes = current.childLanes;
|
|
5110
5034
|
workInProgress.lanes = current.lanes;
|
|
5111
5035
|
workInProgress.child = current.child;
|
|
@@ -5143,7 +5067,7 @@
|
|
|
5143
5067
|
return workInProgress;
|
|
5144
5068
|
}
|
|
5145
5069
|
function resetWorkInProgress(workInProgress, renderLanes) {
|
|
5146
|
-
workInProgress.flags &=
|
|
5070
|
+
workInProgress.flags &= 133169154;
|
|
5147
5071
|
var current = workInProgress.alternate;
|
|
5148
5072
|
null === current
|
|
5149
5073
|
? ((workInProgress.childLanes = 0),
|
|
@@ -8028,7 +7952,7 @@
|
|
|
8028
7952
|
null;
|
|
8029
7953
|
hookTypesUpdateIndexDev = -1;
|
|
8030
7954
|
null !== current &&
|
|
8031
|
-
(current.flags &
|
|
7955
|
+
(current.flags & 133169152) !== (workInProgress.flags & 133169152) &&
|
|
8032
7956
|
console.error(
|
|
8033
7957
|
"Internal React error: Expected static flag was missing. Please notify the React team."
|
|
8034
7958
|
);
|
|
@@ -9174,7 +9098,7 @@
|
|
|
9174
9098
|
hook
|
|
9175
9099
|
);
|
|
9176
9100
|
if (
|
|
9177
|
-
0 === (renderLanes &
|
|
9101
|
+
0 === (renderLanes & 106) ||
|
|
9178
9102
|
(0 !== (renderLanes & 1073741824) &&
|
|
9179
9103
|
0 === (workInProgressRootRenderLanes & 261930))
|
|
9180
9104
|
)
|
|
@@ -11145,24 +11069,24 @@
|
|
|
11145
11069
|
return current;
|
|
11146
11070
|
}
|
|
11147
11071
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
11148
|
-
var
|
|
11149
|
-
var
|
|
11072
|
+
var JSCompiler_object_inline_digest_2961;
|
|
11073
|
+
var JSCompiler_object_inline_stack_2962 = workInProgress.pendingProps;
|
|
11150
11074
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
|
11151
|
-
var
|
|
11075
|
+
var JSCompiler_object_inline_message_2960 = !1;
|
|
11152
11076
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
|
11153
|
-
(
|
|
11154
|
-
(
|
|
11077
|
+
(JSCompiler_object_inline_digest_2961 = didSuspend) ||
|
|
11078
|
+
(JSCompiler_object_inline_digest_2961 =
|
|
11155
11079
|
null !== current && null === current.memoizedState
|
|
11156
11080
|
? !1
|
|
11157
11081
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
|
11158
|
-
|
|
11159
|
-
((
|
|
11082
|
+
JSCompiler_object_inline_digest_2961 &&
|
|
11083
|
+
((JSCompiler_object_inline_message_2960 = !0),
|
|
11160
11084
|
(workInProgress.flags &= -129));
|
|
11161
|
-
|
|
11085
|
+
JSCompiler_object_inline_digest_2961 = 0 !== (workInProgress.flags & 32);
|
|
11162
11086
|
workInProgress.flags &= -33;
|
|
11163
11087
|
if (null === current) {
|
|
11164
11088
|
if (isHydrating) {
|
|
11165
|
-
|
|
11089
|
+
JSCompiler_object_inline_message_2960
|
|
11166
11090
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
|
11167
11091
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
|
11168
11092
|
(current = nextHydratableInstance)
|
|
@@ -11175,18 +11099,18 @@
|
|
|
11175
11099
|
? renderLanes
|
|
11176
11100
|
: null),
|
|
11177
11101
|
null !== renderLanes &&
|
|
11178
|
-
((
|
|
11102
|
+
((JSCompiler_object_inline_digest_2961 = {
|
|
11179
11103
|
dehydrated: renderLanes,
|
|
11180
11104
|
treeContext: getSuspendedTreeContext(),
|
|
11181
11105
|
retryLane: 536870912,
|
|
11182
11106
|
hydrationErrors: null
|
|
11183
11107
|
}),
|
|
11184
11108
|
(workInProgress.memoizedState =
|
|
11185
|
-
|
|
11186
|
-
(
|
|
11109
|
+
JSCompiler_object_inline_digest_2961),
|
|
11110
|
+
(JSCompiler_object_inline_digest_2961 =
|
|
11187
11111
|
createFiberFromDehydratedFragment(renderLanes)),
|
|
11188
|
-
(
|
|
11189
|
-
(workInProgress.child =
|
|
11112
|
+
(JSCompiler_object_inline_digest_2961.return = workInProgress),
|
|
11113
|
+
(workInProgress.child = JSCompiler_object_inline_digest_2961),
|
|
11190
11114
|
(hydrationParentFiber = workInProgress),
|
|
11191
11115
|
(nextHydratableInstance = null)))
|
|
11192
11116
|
: (renderLanes = null);
|
|
@@ -11200,39 +11124,39 @@
|
|
|
11200
11124
|
: (workInProgress.lanes = 536870912);
|
|
11201
11125
|
return null;
|
|
11202
11126
|
}
|
|
11203
|
-
var nextPrimaryChildren =
|
|
11204
|
-
|
|
11205
|
-
|
|
11206
|
-
if (
|
|
11127
|
+
var nextPrimaryChildren = JSCompiler_object_inline_stack_2962.children;
|
|
11128
|
+
JSCompiler_object_inline_stack_2962 =
|
|
11129
|
+
JSCompiler_object_inline_stack_2962.fallback;
|
|
11130
|
+
if (JSCompiler_object_inline_message_2960) {
|
|
11207
11131
|
reuseSuspenseHandlerOnStack(workInProgress);
|
|
11208
11132
|
var mode = workInProgress.mode;
|
|
11209
11133
|
nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
|
|
11210
11134
|
{ mode: "hidden", children: nextPrimaryChildren },
|
|
11211
11135
|
mode
|
|
11212
11136
|
);
|
|
11213
|
-
|
|
11214
|
-
|
|
11137
|
+
JSCompiler_object_inline_stack_2962 = createFiberFromFragment(
|
|
11138
|
+
JSCompiler_object_inline_stack_2962,
|
|
11215
11139
|
mode,
|
|
11216
11140
|
renderLanes,
|
|
11217
11141
|
null
|
|
11218
11142
|
);
|
|
11219
11143
|
nextPrimaryChildren.return = workInProgress;
|
|
11220
|
-
|
|
11221
|
-
nextPrimaryChildren.sibling =
|
|
11144
|
+
JSCompiler_object_inline_stack_2962.return = workInProgress;
|
|
11145
|
+
nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2962;
|
|
11222
11146
|
workInProgress.child = nextPrimaryChildren;
|
|
11223
|
-
|
|
11224
|
-
|
|
11147
|
+
JSCompiler_object_inline_stack_2962 = workInProgress.child;
|
|
11148
|
+
JSCompiler_object_inline_stack_2962.memoizedState =
|
|
11225
11149
|
mountSuspenseOffscreenState(renderLanes);
|
|
11226
|
-
|
|
11150
|
+
JSCompiler_object_inline_stack_2962.childLanes =
|
|
11227
11151
|
getRemainingWorkInPrimaryTree(
|
|
11228
11152
|
current,
|
|
11229
|
-
|
|
11153
|
+
JSCompiler_object_inline_digest_2961,
|
|
11230
11154
|
renderLanes
|
|
11231
11155
|
);
|
|
11232
11156
|
workInProgress.memoizedState = SUSPENDED_MARKER;
|
|
11233
11157
|
return bailoutOffscreenComponent(
|
|
11234
11158
|
null,
|
|
11235
|
-
|
|
11159
|
+
JSCompiler_object_inline_stack_2962
|
|
11236
11160
|
);
|
|
11237
11161
|
}
|
|
11238
11162
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
|
@@ -11243,8 +11167,8 @@
|
|
|
11243
11167
|
}
|
|
11244
11168
|
var prevState = current.memoizedState;
|
|
11245
11169
|
if (null !== prevState) {
|
|
11246
|
-
var
|
|
11247
|
-
if (null !==
|
|
11170
|
+
var JSCompiler_object_inline_componentStack_2963 = prevState.dehydrated;
|
|
11171
|
+
if (null !== JSCompiler_object_inline_componentStack_2963) {
|
|
11248
11172
|
if (didSuspend)
|
|
11249
11173
|
workInProgress.flags & 256
|
|
11250
11174
|
? (pushPrimaryTreeSuspenseHandler(workInProgress),
|
|
@@ -11261,13 +11185,13 @@
|
|
|
11261
11185
|
(workInProgress = null))
|
|
11262
11186
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
|
11263
11187
|
(nextPrimaryChildren =
|
|
11264
|
-
|
|
11188
|
+
JSCompiler_object_inline_stack_2962.fallback),
|
|
11265
11189
|
(mode = workInProgress.mode),
|
|
11266
|
-
(
|
|
11190
|
+
(JSCompiler_object_inline_stack_2962 =
|
|
11267
11191
|
mountWorkInProgressOffscreenFiber(
|
|
11268
11192
|
{
|
|
11269
11193
|
mode: "visible",
|
|
11270
|
-
children:
|
|
11194
|
+
children: JSCompiler_object_inline_stack_2962.children
|
|
11271
11195
|
},
|
|
11272
11196
|
mode
|
|
11273
11197
|
)),
|
|
@@ -11278,30 +11202,30 @@
|
|
|
11278
11202
|
null
|
|
11279
11203
|
)),
|
|
11280
11204
|
(nextPrimaryChildren.flags |= 2),
|
|
11281
|
-
(
|
|
11205
|
+
(JSCompiler_object_inline_stack_2962.return = workInProgress),
|
|
11282
11206
|
(nextPrimaryChildren.return = workInProgress),
|
|
11283
|
-
(
|
|
11207
|
+
(JSCompiler_object_inline_stack_2962.sibling =
|
|
11284
11208
|
nextPrimaryChildren),
|
|
11285
|
-
(workInProgress.child =
|
|
11209
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2962),
|
|
11286
11210
|
reconcileChildFibers(
|
|
11287
11211
|
workInProgress,
|
|
11288
11212
|
current.child,
|
|
11289
11213
|
null,
|
|
11290
11214
|
renderLanes
|
|
11291
11215
|
),
|
|
11292
|
-
(
|
|
11293
|
-
(
|
|
11216
|
+
(JSCompiler_object_inline_stack_2962 = workInProgress.child),
|
|
11217
|
+
(JSCompiler_object_inline_stack_2962.memoizedState =
|
|
11294
11218
|
mountSuspenseOffscreenState(renderLanes)),
|
|
11295
|
-
(
|
|
11219
|
+
(JSCompiler_object_inline_stack_2962.childLanes =
|
|
11296
11220
|
getRemainingWorkInPrimaryTree(
|
|
11297
11221
|
current,
|
|
11298
|
-
|
|
11222
|
+
JSCompiler_object_inline_digest_2961,
|
|
11299
11223
|
renderLanes
|
|
11300
11224
|
)),
|
|
11301
11225
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
11302
11226
|
(workInProgress = bailoutOffscreenComponent(
|
|
11303
11227
|
null,
|
|
11304
|
-
|
|
11228
|
+
JSCompiler_object_inline_stack_2962
|
|
11305
11229
|
)));
|
|
11306
11230
|
else if (
|
|
11307
11231
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
|
@@ -11309,45 +11233,45 @@
|
|
|
11309
11233
|
0 !== (renderLanes & 536870912) &&
|
|
11310
11234
|
markRenderDerivedCause(workInProgress),
|
|
11311
11235
|
isSuspenseInstanceFallback(
|
|
11312
|
-
|
|
11236
|
+
JSCompiler_object_inline_componentStack_2963
|
|
11313
11237
|
))
|
|
11314
11238
|
) {
|
|
11315
|
-
|
|
11316
|
-
|
|
11317
|
-
|
|
11318
|
-
if (
|
|
11319
|
-
nextPrimaryChildren =
|
|
11320
|
-
var message =
|
|
11321
|
-
mode =
|
|
11322
|
-
var componentStack =
|
|
11239
|
+
JSCompiler_object_inline_digest_2961 =
|
|
11240
|
+
JSCompiler_object_inline_componentStack_2963.nextSibling &&
|
|
11241
|
+
JSCompiler_object_inline_componentStack_2963.nextSibling.dataset;
|
|
11242
|
+
if (JSCompiler_object_inline_digest_2961) {
|
|
11243
|
+
nextPrimaryChildren = JSCompiler_object_inline_digest_2961.dgst;
|
|
11244
|
+
var message = JSCompiler_object_inline_digest_2961.msg;
|
|
11245
|
+
mode = JSCompiler_object_inline_digest_2961.stck;
|
|
11246
|
+
var componentStack = JSCompiler_object_inline_digest_2961.cstck;
|
|
11323
11247
|
}
|
|
11324
|
-
|
|
11325
|
-
|
|
11326
|
-
|
|
11327
|
-
|
|
11328
|
-
nextPrimaryChildren =
|
|
11329
|
-
mode =
|
|
11248
|
+
JSCompiler_object_inline_message_2960 = message;
|
|
11249
|
+
JSCompiler_object_inline_digest_2961 = nextPrimaryChildren;
|
|
11250
|
+
JSCompiler_object_inline_stack_2962 = mode;
|
|
11251
|
+
JSCompiler_object_inline_componentStack_2963 = componentStack;
|
|
11252
|
+
nextPrimaryChildren = JSCompiler_object_inline_message_2960;
|
|
11253
|
+
mode = JSCompiler_object_inline_componentStack_2963;
|
|
11330
11254
|
nextPrimaryChildren = nextPrimaryChildren
|
|
11331
11255
|
? Error(nextPrimaryChildren)
|
|
11332
11256
|
: Error(
|
|
11333
11257
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
|
11334
11258
|
);
|
|
11335
11259
|
nextPrimaryChildren.stack =
|
|
11336
|
-
|
|
11337
|
-
nextPrimaryChildren.digest =
|
|
11338
|
-
|
|
11260
|
+
JSCompiler_object_inline_stack_2962 || "";
|
|
11261
|
+
nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2961;
|
|
11262
|
+
JSCompiler_object_inline_digest_2961 =
|
|
11339
11263
|
void 0 === mode ? null : mode;
|
|
11340
|
-
|
|
11264
|
+
JSCompiler_object_inline_stack_2962 = {
|
|
11341
11265
|
value: nextPrimaryChildren,
|
|
11342
11266
|
source: null,
|
|
11343
|
-
stack:
|
|
11267
|
+
stack: JSCompiler_object_inline_digest_2961
|
|
11344
11268
|
};
|
|
11345
|
-
"string" === typeof
|
|
11269
|
+
"string" === typeof JSCompiler_object_inline_digest_2961 &&
|
|
11346
11270
|
CapturedStacks.set(
|
|
11347
11271
|
nextPrimaryChildren,
|
|
11348
|
-
|
|
11272
|
+
JSCompiler_object_inline_stack_2962
|
|
11349
11273
|
);
|
|
11350
|
-
queueHydrationError(
|
|
11274
|
+
queueHydrationError(JSCompiler_object_inline_stack_2962);
|
|
11351
11275
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
|
11352
11276
|
current,
|
|
11353
11277
|
workInProgress,
|
|
@@ -11361,35 +11285,35 @@
|
|
|
11361
11285
|
renderLanes,
|
|
11362
11286
|
!1
|
|
11363
11287
|
),
|
|
11364
|
-
(
|
|
11288
|
+
(JSCompiler_object_inline_digest_2961 =
|
|
11365
11289
|
0 !== (renderLanes & current.childLanes)),
|
|
11366
|
-
didReceiveUpdate ||
|
|
11290
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2961)
|
|
11367
11291
|
) {
|
|
11368
|
-
|
|
11292
|
+
JSCompiler_object_inline_digest_2961 = workInProgressRoot;
|
|
11369
11293
|
if (
|
|
11370
|
-
null !==
|
|
11371
|
-
((
|
|
11372
|
-
|
|
11294
|
+
null !== JSCompiler_object_inline_digest_2961 &&
|
|
11295
|
+
((JSCompiler_object_inline_stack_2962 = getBumpedLaneForHydration(
|
|
11296
|
+
JSCompiler_object_inline_digest_2961,
|
|
11373
11297
|
renderLanes
|
|
11374
11298
|
)),
|
|
11375
|
-
0 !==
|
|
11376
|
-
|
|
11299
|
+
0 !== JSCompiler_object_inline_stack_2962 &&
|
|
11300
|
+
JSCompiler_object_inline_stack_2962 !== prevState.retryLane)
|
|
11377
11301
|
)
|
|
11378
11302
|
throw (
|
|
11379
|
-
((prevState.retryLane =
|
|
11303
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2962),
|
|
11380
11304
|
enqueueConcurrentRenderForLane(
|
|
11381
11305
|
current,
|
|
11382
|
-
|
|
11306
|
+
JSCompiler_object_inline_stack_2962
|
|
11383
11307
|
),
|
|
11384
11308
|
scheduleUpdateOnFiber(
|
|
11385
|
-
|
|
11309
|
+
JSCompiler_object_inline_digest_2961,
|
|
11386
11310
|
current,
|
|
11387
|
-
|
|
11311
|
+
JSCompiler_object_inline_stack_2962
|
|
11388
11312
|
),
|
|
11389
11313
|
SelectiveHydrationException)
|
|
11390
11314
|
);
|
|
11391
11315
|
isSuspenseInstancePending(
|
|
11392
|
-
|
|
11316
|
+
JSCompiler_object_inline_componentStack_2963
|
|
11393
11317
|
) || renderDidSuspendDelayIfPossible();
|
|
11394
11318
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
|
11395
11319
|
current,
|
|
@@ -11398,14 +11322,14 @@
|
|
|
11398
11322
|
);
|
|
11399
11323
|
} else
|
|
11400
11324
|
isSuspenseInstancePending(
|
|
11401
|
-
|
|
11325
|
+
JSCompiler_object_inline_componentStack_2963
|
|
11402
11326
|
)
|
|
11403
11327
|
? ((workInProgress.flags |= 192),
|
|
11404
11328
|
(workInProgress.child = current.child),
|
|
11405
11329
|
(workInProgress = null))
|
|
11406
11330
|
: ((current = prevState.treeContext),
|
|
11407
11331
|
(nextHydratableInstance = getNextHydratable(
|
|
11408
|
-
|
|
11332
|
+
JSCompiler_object_inline_componentStack_2963.nextSibling
|
|
11409
11333
|
)),
|
|
11410
11334
|
(hydrationParentFiber = workInProgress),
|
|
11411
11335
|
(isHydrating = !0),
|
|
@@ -11417,32 +11341,32 @@
|
|
|
11417
11341
|
restoreSuspendedTreeContext(workInProgress, current),
|
|
11418
11342
|
(workInProgress = mountSuspensePrimaryChildren(
|
|
11419
11343
|
workInProgress,
|
|
11420
|
-
|
|
11344
|
+
JSCompiler_object_inline_stack_2962.children
|
|
11421
11345
|
)),
|
|
11422
11346
|
(workInProgress.flags |= 4096));
|
|
11423
11347
|
return workInProgress;
|
|
11424
11348
|
}
|
|
11425
11349
|
}
|
|
11426
|
-
if (
|
|
11350
|
+
if (JSCompiler_object_inline_message_2960)
|
|
11427
11351
|
return (
|
|
11428
11352
|
reuseSuspenseHandlerOnStack(workInProgress),
|
|
11429
|
-
(nextPrimaryChildren =
|
|
11353
|
+
(nextPrimaryChildren = JSCompiler_object_inline_stack_2962.fallback),
|
|
11430
11354
|
(mode = workInProgress.mode),
|
|
11431
11355
|
(componentStack = current.child),
|
|
11432
|
-
(
|
|
11356
|
+
(JSCompiler_object_inline_componentStack_2963 =
|
|
11433
11357
|
componentStack.sibling),
|
|
11434
|
-
(
|
|
11358
|
+
(JSCompiler_object_inline_stack_2962 = createWorkInProgress(
|
|
11435
11359
|
componentStack,
|
|
11436
11360
|
{
|
|
11437
11361
|
mode: "hidden",
|
|
11438
|
-
children:
|
|
11362
|
+
children: JSCompiler_object_inline_stack_2962.children
|
|
11439
11363
|
}
|
|
11440
11364
|
)),
|
|
11441
|
-
(
|
|
11442
|
-
componentStack.subtreeFlags &
|
|
11443
|
-
null !==
|
|
11365
|
+
(JSCompiler_object_inline_stack_2962.subtreeFlags =
|
|
11366
|
+
componentStack.subtreeFlags & 133169152),
|
|
11367
|
+
null !== JSCompiler_object_inline_componentStack_2963
|
|
11444
11368
|
? (nextPrimaryChildren = createWorkInProgress(
|
|
11445
|
-
|
|
11369
|
+
JSCompiler_object_inline_componentStack_2963,
|
|
11446
11370
|
nextPrimaryChildren
|
|
11447
11371
|
))
|
|
11448
11372
|
: ((nextPrimaryChildren = createFiberFromFragment(
|
|
@@ -11453,11 +11377,11 @@
|
|
|
11453
11377
|
)),
|
|
11454
11378
|
(nextPrimaryChildren.flags |= 2)),
|
|
11455
11379
|
(nextPrimaryChildren.return = workInProgress),
|
|
11456
|
-
(
|
|
11457
|
-
(
|
|
11458
|
-
(workInProgress.child =
|
|
11459
|
-
bailoutOffscreenComponent(null,
|
|
11460
|
-
(
|
|
11380
|
+
(JSCompiler_object_inline_stack_2962.return = workInProgress),
|
|
11381
|
+
(JSCompiler_object_inline_stack_2962.sibling = nextPrimaryChildren),
|
|
11382
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2962),
|
|
11383
|
+
bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2962),
|
|
11384
|
+
(JSCompiler_object_inline_stack_2962 = workInProgress.child),
|
|
11461
11385
|
(nextPrimaryChildren = current.child.memoizedState),
|
|
11462
11386
|
null === nextPrimaryChildren
|
|
11463
11387
|
? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))
|
|
@@ -11473,18 +11397,18 @@
|
|
|
11473
11397
|
baseLanes: nextPrimaryChildren.baseLanes | renderLanes,
|
|
11474
11398
|
cachePool: mode
|
|
11475
11399
|
})),
|
|
11476
|
-
(
|
|
11400
|
+
(JSCompiler_object_inline_stack_2962.memoizedState =
|
|
11477
11401
|
nextPrimaryChildren),
|
|
11478
|
-
(
|
|
11402
|
+
(JSCompiler_object_inline_stack_2962.childLanes =
|
|
11479
11403
|
getRemainingWorkInPrimaryTree(
|
|
11480
11404
|
current,
|
|
11481
|
-
|
|
11405
|
+
JSCompiler_object_inline_digest_2961,
|
|
11482
11406
|
renderLanes
|
|
11483
11407
|
)),
|
|
11484
11408
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
|
11485
11409
|
bailoutOffscreenComponent(
|
|
11486
11410
|
current.child,
|
|
11487
|
-
|
|
11411
|
+
JSCompiler_object_inline_stack_2962
|
|
11488
11412
|
)
|
|
11489
11413
|
);
|
|
11490
11414
|
null !== prevState &&
|
|
@@ -11496,16 +11420,16 @@
|
|
|
11496
11420
|
current = renderLanes.sibling;
|
|
11497
11421
|
renderLanes = createWorkInProgress(renderLanes, {
|
|
11498
11422
|
mode: "visible",
|
|
11499
|
-
children:
|
|
11423
|
+
children: JSCompiler_object_inline_stack_2962.children
|
|
11500
11424
|
});
|
|
11501
11425
|
renderLanes.return = workInProgress;
|
|
11502
11426
|
renderLanes.sibling = null;
|
|
11503
11427
|
null !== current &&
|
|
11504
|
-
((
|
|
11505
|
-
null ===
|
|
11428
|
+
((JSCompiler_object_inline_digest_2961 = workInProgress.deletions),
|
|
11429
|
+
null === JSCompiler_object_inline_digest_2961
|
|
11506
11430
|
? ((workInProgress.deletions = [current]),
|
|
11507
11431
|
(workInProgress.flags |= 16))
|
|
11508
|
-
:
|
|
11432
|
+
: JSCompiler_object_inline_digest_2961.push(current));
|
|
11509
11433
|
workInProgress.child = renderLanes;
|
|
11510
11434
|
workInProgress.memoizedState = null;
|
|
11511
11435
|
return renderLanes;
|
|
@@ -12785,8 +12709,8 @@
|
|
|
12785
12709
|
|
|
12786
12710
|
)
|
|
12787
12711
|
(newChildLanes |= _child2.lanes | _child2.childLanes),
|
|
12788
|
-
(subtreeFlags |= _child2.subtreeFlags &
|
|
12789
|
-
(subtreeFlags |= _child2.flags &
|
|
12712
|
+
(subtreeFlags |= _child2.subtreeFlags & 133169152),
|
|
12713
|
+
(subtreeFlags |= _child2.flags & 133169152),
|
|
12790
12714
|
(_treeBaseDuration += _child2.treeBaseDuration),
|
|
12791
12715
|
(_child2 = _child2.sibling);
|
|
12792
12716
|
completedWork.treeBaseDuration = _treeBaseDuration;
|
|
@@ -12798,8 +12722,8 @@
|
|
|
12798
12722
|
)
|
|
12799
12723
|
(newChildLanes |=
|
|
12800
12724
|
_treeBaseDuration.lanes | _treeBaseDuration.childLanes),
|
|
12801
|
-
(subtreeFlags |= _treeBaseDuration.subtreeFlags &
|
|
12802
|
-
(subtreeFlags |= _treeBaseDuration.flags &
|
|
12725
|
+
(subtreeFlags |= _treeBaseDuration.subtreeFlags & 133169152),
|
|
12726
|
+
(subtreeFlags |= _treeBaseDuration.flags & 133169152),
|
|
12803
12727
|
(_treeBaseDuration.return = completedWork),
|
|
12804
12728
|
(_treeBaseDuration = _treeBaseDuration.sibling);
|
|
12805
12729
|
else if ((completedWork.mode & ProfileMode) !== NoMode) {
|
|
@@ -17998,7 +17922,7 @@
|
|
|
17998
17922
|
throw Error("Unknown root exit status.");
|
|
17999
17923
|
}
|
|
18000
17924
|
if (null !== ReactSharedInternals.actQueue)
|
|
18001
|
-
|
|
17925
|
+
completeRoot(
|
|
18002
17926
|
forceSync,
|
|
18003
17927
|
yieldEndTime,
|
|
18004
17928
|
lanes,
|
|
@@ -18008,6 +17932,7 @@
|
|
|
18008
17932
|
workInProgressDeferredLane,
|
|
18009
17933
|
workInProgressRootInterleavedUpdatedLanes,
|
|
18010
17934
|
workInProgressSuspendedRetryLanes,
|
|
17935
|
+
workInProgressRootDidSkipSuspendedSiblings,
|
|
18011
17936
|
startTime,
|
|
18012
17937
|
null,
|
|
18013
17938
|
null,
|
|
@@ -18032,7 +17957,7 @@
|
|
|
18032
17957
|
if (0 !== getNextLanes(forceSync, 0, !0)) break a;
|
|
18033
17958
|
pendingEffectsLanes = lanes;
|
|
18034
17959
|
forceSync.timeoutHandle = scheduleTimeout(
|
|
18035
|
-
|
|
17960
|
+
completeRootWhenReady.bind(
|
|
18036
17961
|
null,
|
|
18037
17962
|
forceSync,
|
|
18038
17963
|
yieldEndTime,
|
|
@@ -18053,7 +17978,7 @@
|
|
|
18053
17978
|
);
|
|
18054
17979
|
break a;
|
|
18055
17980
|
}
|
|
18056
|
-
|
|
17981
|
+
completeRootWhenReady(
|
|
18057
17982
|
forceSync,
|
|
18058
17983
|
yieldEndTime,
|
|
18059
17984
|
workInProgressRootRecoverableErrors,
|
|
@@ -18076,7 +18001,7 @@
|
|
|
18076
18001
|
} while (1);
|
|
18077
18002
|
ensureRootIsScheduled(root);
|
|
18078
18003
|
}
|
|
18079
|
-
function
|
|
18004
|
+
function completeRootWhenReady(
|
|
18080
18005
|
root,
|
|
18081
18006
|
finishedWork,
|
|
18082
18007
|
recoverableErrors,
|
|
@@ -18141,7 +18066,7 @@
|
|
|
18141
18066
|
) {
|
|
18142
18067
|
pendingEffectsLanes = lanes;
|
|
18143
18068
|
root.cancelPendingCommit = subtreeFlags(
|
|
18144
|
-
|
|
18069
|
+
completeRoot.bind(
|
|
18145
18070
|
null,
|
|
18146
18071
|
root,
|
|
18147
18072
|
finishedWork,
|
|
@@ -18152,6 +18077,7 @@
|
|
|
18152
18077
|
spawnedLane,
|
|
18153
18078
|
updatedLanes,
|
|
18154
18079
|
suspendedRetryLanes,
|
|
18080
|
+
didSkipSuspendedSiblings,
|
|
18155
18081
|
exitStatus,
|
|
18156
18082
|
suspendedState,
|
|
18157
18083
|
suspendedState.waitingForViewTransition
|
|
@@ -18177,7 +18103,7 @@
|
|
|
18177
18103
|
);
|
|
18178
18104
|
return;
|
|
18179
18105
|
}
|
|
18180
|
-
|
|
18106
|
+
completeRoot(
|
|
18181
18107
|
root,
|
|
18182
18108
|
finishedWork,
|
|
18183
18109
|
lanes,
|
|
@@ -18187,6 +18113,7 @@
|
|
|
18187
18113
|
spawnedLane,
|
|
18188
18114
|
updatedLanes,
|
|
18189
18115
|
suspendedRetryLanes,
|
|
18116
|
+
didSkipSuspendedSiblings,
|
|
18190
18117
|
exitStatus,
|
|
18191
18118
|
suspendedState,
|
|
18192
18119
|
suspendedCommitReason,
|
|
@@ -19195,7 +19122,7 @@
|
|
|
19195
19122
|
workInProgressRootExitStatus = RootSuspendedAtTheShell;
|
|
19196
19123
|
workInProgress = null;
|
|
19197
19124
|
}
|
|
19198
|
-
function
|
|
19125
|
+
function completeRoot(
|
|
19199
19126
|
root,
|
|
19200
19127
|
finishedWork,
|
|
19201
19128
|
lanes,
|
|
@@ -19205,6 +19132,7 @@
|
|
|
19205
19132
|
spawnedLane,
|
|
19206
19133
|
updatedLanes,
|
|
19207
19134
|
suspendedRetryLanes,
|
|
19135
|
+
didSkipSuspendedSiblings,
|
|
19208
19136
|
exitStatus,
|
|
19209
19137
|
suspendedState,
|
|
19210
19138
|
suspendedCommitReason,
|
|
@@ -19219,31 +19147,94 @@
|
|
|
19219
19147
|
if ((executionContext & (RenderContext | CommitContext)) !== NoContext)
|
|
19220
19148
|
throw Error("Should not already be working.");
|
|
19221
19149
|
setCurrentTrackFromLanes(lanes);
|
|
19222
|
-
exitStatus === RootErrored
|
|
19223
|
-
|
|
19224
|
-
|
|
19225
|
-
|
|
19226
|
-
|
|
19227
|
-
|
|
19228
|
-
|
|
19229
|
-
|
|
19230
|
-
|
|
19231
|
-
|
|
19232
|
-
|
|
19233
|
-
|
|
19234
|
-
|
|
19235
|
-
|
|
19236
|
-
|
|
19237
|
-
|
|
19238
|
-
|
|
19239
|
-
|
|
19240
|
-
|
|
19241
|
-
|
|
19242
|
-
|
|
19243
|
-
|
|
19244
|
-
|
|
19245
|
-
|
|
19246
|
-
|
|
19150
|
+
if (exitStatus === RootErrored)
|
|
19151
|
+
logErroredRenderPhase(
|
|
19152
|
+
completedRenderStartTime,
|
|
19153
|
+
completedRenderEndTime,
|
|
19154
|
+
lanes,
|
|
19155
|
+
workInProgressUpdateTask
|
|
19156
|
+
);
|
|
19157
|
+
else if (null !== recoverableErrors) {
|
|
19158
|
+
if (
|
|
19159
|
+
((didSkipSuspendedSiblings =
|
|
19160
|
+
null !== finishedWork &&
|
|
19161
|
+
null !== finishedWork.alternate &&
|
|
19162
|
+
finishedWork.alternate.memoizedState.isDehydrated &&
|
|
19163
|
+
0 !== (finishedWork.flags & 256)),
|
|
19164
|
+
(didIncludeRenderPhaseUpdate = workInProgressUpdateTask),
|
|
19165
|
+
supportsUserTiming &&
|
|
19166
|
+
!(completedRenderEndTime <= completedRenderStartTime))
|
|
19167
|
+
) {
|
|
19168
|
+
exitStatus = [];
|
|
19169
|
+
for (var i = 0; i < recoverableErrors.length; i++) {
|
|
19170
|
+
var error = recoverableErrors[i].value;
|
|
19171
|
+
exitStatus.push([
|
|
19172
|
+
"Recoverable Error",
|
|
19173
|
+
"object" === typeof error &&
|
|
19174
|
+
null !== error &&
|
|
19175
|
+
"string" === typeof error.message
|
|
19176
|
+
? String(error.message)
|
|
19177
|
+
: String(error)
|
|
19178
|
+
]);
|
|
19179
|
+
}
|
|
19180
|
+
completedRenderStartTime = {
|
|
19181
|
+
start: completedRenderStartTime,
|
|
19182
|
+
end: completedRenderEndTime,
|
|
19183
|
+
detail: {
|
|
19184
|
+
devtools: {
|
|
19185
|
+
color: "primary-dark",
|
|
19186
|
+
track: currentTrack,
|
|
19187
|
+
trackGroup: LANES_TRACK_GROUP,
|
|
19188
|
+
tooltipText: didSkipSuspendedSiblings
|
|
19189
|
+
? "Hydration Failed"
|
|
19190
|
+
: "Recovered after Error",
|
|
19191
|
+
properties: exitStatus
|
|
19192
|
+
}
|
|
19193
|
+
}
|
|
19194
|
+
};
|
|
19195
|
+
didIncludeRenderPhaseUpdate
|
|
19196
|
+
? didIncludeRenderPhaseUpdate.run(
|
|
19197
|
+
performance.measure.bind(
|
|
19198
|
+
performance,
|
|
19199
|
+
"Recovered",
|
|
19200
|
+
completedRenderStartTime
|
|
19201
|
+
)
|
|
19202
|
+
)
|
|
19203
|
+
: performance.measure("Recovered", completedRenderStartTime);
|
|
19204
|
+
performance.clearMeasures("Recovered");
|
|
19205
|
+
}
|
|
19206
|
+
} else
|
|
19207
|
+
(didIncludeRenderPhaseUpdate = workInProgressUpdateTask),
|
|
19208
|
+
!supportsUserTiming ||
|
|
19209
|
+
completedRenderEndTime <= completedRenderStartTime ||
|
|
19210
|
+
((didSkipSuspendedSiblings =
|
|
19211
|
+
(lanes & 738197653) === lanes ? "tertiary-dark" : "primary-dark"),
|
|
19212
|
+
(exitStatus =
|
|
19213
|
+
(lanes & 536870912) === lanes
|
|
19214
|
+
? "Prepared"
|
|
19215
|
+
: (lanes & 201326741) === lanes
|
|
19216
|
+
? "Hydrated"
|
|
19217
|
+
: "Render"),
|
|
19218
|
+
didIncludeRenderPhaseUpdate
|
|
19219
|
+
? didIncludeRenderPhaseUpdate.run(
|
|
19220
|
+
console.timeStamp.bind(
|
|
19221
|
+
console,
|
|
19222
|
+
exitStatus,
|
|
19223
|
+
completedRenderStartTime,
|
|
19224
|
+
completedRenderEndTime,
|
|
19225
|
+
currentTrack,
|
|
19226
|
+
LANES_TRACK_GROUP,
|
|
19227
|
+
didSkipSuspendedSiblings
|
|
19228
|
+
)
|
|
19229
|
+
)
|
|
19230
|
+
: console.timeStamp(
|
|
19231
|
+
exitStatus,
|
|
19232
|
+
completedRenderStartTime,
|
|
19233
|
+
completedRenderEndTime,
|
|
19234
|
+
currentTrack,
|
|
19235
|
+
LANES_TRACK_GROUP,
|
|
19236
|
+
didSkipSuspendedSiblings
|
|
19237
|
+
));
|
|
19247
19238
|
if (null !== finishedWork) {
|
|
19248
19239
|
0 === lanes &&
|
|
19249
19240
|
console.error(
|
|
@@ -19253,97 +19244,115 @@
|
|
|
19253
19244
|
throw Error(
|
|
19254
19245
|
"Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue."
|
|
19255
19246
|
);
|
|
19256
|
-
didIncludeRenderPhaseUpdate =
|
|
19257
|
-
finishedWork.lanes | finishedWork.childLanes;
|
|
19258
|
-
didIncludeRenderPhaseUpdate |= concurrentlyUpdatedLanes;
|
|
19259
|
-
markRootFinished(
|
|
19260
|
-
root,
|
|
19261
|
-
lanes,
|
|
19262
|
-
didIncludeRenderPhaseUpdate,
|
|
19263
|
-
spawnedLane,
|
|
19264
|
-
updatedLanes,
|
|
19265
|
-
suspendedRetryLanes
|
|
19266
|
-
);
|
|
19267
19247
|
root === workInProgressRoot &&
|
|
19268
19248
|
((workInProgress = workInProgressRoot = null),
|
|
19269
19249
|
(workInProgressRootRenderLanes = 0));
|
|
19270
19250
|
pendingFinishedWork = finishedWork;
|
|
19271
19251
|
pendingEffectsRoot = root;
|
|
19272
19252
|
pendingEffectsLanes = lanes;
|
|
19273
|
-
pendingEffectsRemainingLanes = didIncludeRenderPhaseUpdate;
|
|
19274
19253
|
pendingPassiveTransitions = transitions;
|
|
19275
19254
|
pendingRecoverableErrors = recoverableErrors;
|
|
19276
19255
|
pendingEffectsRenderEndTime = completedRenderEndTime;
|
|
19277
19256
|
pendingSuspendedCommitReason = suspendedCommitReason;
|
|
19278
19257
|
pendingDelayedCommitReason = IMMEDIATE_COMMIT;
|
|
19279
|
-
|
|
19280
|
-
|
|
19281
|
-
|
|
19282
|
-
|
|
19283
|
-
|
|
19284
|
-
|
|
19285
|
-
|
|
19286
|
-
|
|
19287
|
-
|
|
19288
|
-
|
|
19289
|
-
|
|
19290
|
-
|
|
19291
|
-
|
|
19292
|
-
|
|
19293
|
-
|
|
19294
|
-
|
|
19295
|
-
|
|
19296
|
-
|
|
19297
|
-
|
|
19298
|
-
|
|
19299
|
-
|
|
19300
|
-
|
|
19301
|
-
|
|
19302
|
-
|
|
19303
|
-
|
|
19304
|
-
|
|
19305
|
-
|
|
19306
|
-
|
|
19307
|
-
|
|
19308
|
-
|
|
19309
|
-
|
|
19310
|
-
|
|
19311
|
-
|
|
19312
|
-
|
|
19313
|
-
|
|
19314
|
-
|
|
19315
|
-
|
|
19316
|
-
|
|
19317
|
-
|
|
19318
|
-
|
|
19319
|
-
|
|
19320
|
-
|
|
19321
|
-
|
|
19322
|
-
|
|
19323
|
-
|
|
19324
|
-
|
|
19325
|
-
|
|
19258
|
+
pendingSuspendedViewTransitionReason = null;
|
|
19259
|
+
commitRoot(
|
|
19260
|
+
root,
|
|
19261
|
+
finishedWork,
|
|
19262
|
+
lanes,
|
|
19263
|
+
spawnedLane,
|
|
19264
|
+
updatedLanes,
|
|
19265
|
+
suspendedRetryLanes,
|
|
19266
|
+
suspendedState,
|
|
19267
|
+
suspendedCommitReason,
|
|
19268
|
+
completedRenderEndTime
|
|
19269
|
+
);
|
|
19270
|
+
}
|
|
19271
|
+
}
|
|
19272
|
+
function commitRoot(
|
|
19273
|
+
root,
|
|
19274
|
+
finishedWork,
|
|
19275
|
+
lanes,
|
|
19276
|
+
spawnedLane,
|
|
19277
|
+
updatedLanes,
|
|
19278
|
+
suspendedRetryLanes,
|
|
19279
|
+
suspendedState,
|
|
19280
|
+
suspendedCommitReason,
|
|
19281
|
+
completedRenderEndTime
|
|
19282
|
+
) {
|
|
19283
|
+
var remainingLanes = finishedWork.lanes | finishedWork.childLanes;
|
|
19284
|
+
pendingEffectsRemainingLanes = remainingLanes;
|
|
19285
|
+
remainingLanes |= concurrentlyUpdatedLanes;
|
|
19286
|
+
markRootFinished(
|
|
19287
|
+
root,
|
|
19288
|
+
lanes,
|
|
19289
|
+
remainingLanes,
|
|
19290
|
+
spawnedLane,
|
|
19291
|
+
updatedLanes,
|
|
19292
|
+
suspendedRetryLanes
|
|
19293
|
+
);
|
|
19294
|
+
pendingViewTransitionEvents = null;
|
|
19295
|
+
(lanes & 335544064) === lanes
|
|
19296
|
+
? ((pendingTransitionTypes = claimQueuedTransitionTypes(root)),
|
|
19297
|
+
(spawnedLane = 10262))
|
|
19298
|
+
: ((pendingTransitionTypes = null), (spawnedLane = 10256));
|
|
19299
|
+
0 !== finishedWork.actualDuration ||
|
|
19300
|
+
0 !== (finishedWork.subtreeFlags & spawnedLane) ||
|
|
19301
|
+
0 !== (finishedWork.flags & spawnedLane)
|
|
19302
|
+
? ((root.callbackNode = null),
|
|
19303
|
+
(root.callbackPriority = 0),
|
|
19304
|
+
scheduleCallback$1(NormalPriority$1, function () {
|
|
19305
|
+
schedulerEvent = window.event;
|
|
19306
|
+
pendingDelayedCommitReason === IMMEDIATE_COMMIT &&
|
|
19307
|
+
(pendingDelayedCommitReason = DELAYED_PASSIVE_COMMIT);
|
|
19308
|
+
flushPassiveEffects();
|
|
19309
|
+
return null;
|
|
19310
|
+
}))
|
|
19311
|
+
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
|
19312
|
+
commitErrors = null;
|
|
19313
|
+
commitStartTime = now();
|
|
19314
|
+
null !== suspendedCommitReason &&
|
|
19315
|
+
logSuspendedCommitPhase(
|
|
19316
|
+
completedRenderEndTime,
|
|
19317
|
+
commitStartTime,
|
|
19318
|
+
suspendedCommitReason,
|
|
19319
|
+
workInProgressUpdateTask
|
|
19320
|
+
);
|
|
19321
|
+
shouldStartViewTransition = !1;
|
|
19322
|
+
suspendedCommitReason = 0 !== (finishedWork.flags & 13878);
|
|
19323
|
+
if (0 !== (finishedWork.subtreeFlags & 13878) || suspendedCommitReason) {
|
|
19324
|
+
suspendedCommitReason = ReactSharedInternals.T;
|
|
19325
|
+
ReactSharedInternals.T = null;
|
|
19326
|
+
completedRenderEndTime = ReactDOMSharedInternals.p;
|
|
19327
|
+
ReactDOMSharedInternals.p = DiscreteEventPriority;
|
|
19328
|
+
spawnedLane = executionContext;
|
|
19329
|
+
executionContext |= CommitContext;
|
|
19330
|
+
try {
|
|
19331
|
+
commitBeforeMutationEffects(root, finishedWork, lanes);
|
|
19332
|
+
} finally {
|
|
19333
|
+
(executionContext = spawnedLane),
|
|
19334
|
+
(ReactDOMSharedInternals.p = completedRenderEndTime),
|
|
19335
|
+
(ReactSharedInternals.T = suspendedCommitReason);
|
|
19326
19336
|
}
|
|
19327
|
-
finishedWork = shouldStartViewTransition;
|
|
19328
|
-
pendingEffectsStatus = PENDING_MUTATION_PHASE;
|
|
19329
|
-
finishedWork
|
|
19330
|
-
? ((animatingLanes |= lanes),
|
|
19331
|
-
(animatingTask = null),
|
|
19332
|
-
(pendingViewTransition = startViewTransition(
|
|
19333
|
-
suspendedState,
|
|
19334
|
-
root.containerInfo,
|
|
19335
|
-
pendingTransitionTypes,
|
|
19336
|
-
flushMutationEffects,
|
|
19337
|
-
flushLayoutEffects,
|
|
19338
|
-
flushAfterMutationEffects,
|
|
19339
|
-
flushSpawnedWork,
|
|
19340
|
-
flushPassiveEffects,
|
|
19341
|
-
reportViewTransitionError,
|
|
19342
|
-
suspendedViewTransition,
|
|
19343
|
-
finishedViewTransition.bind(null, lanes)
|
|
19344
|
-
)))
|
|
19345
|
-
: (flushMutationEffects(), flushLayoutEffects(), flushSpawnedWork());
|
|
19346
19337
|
}
|
|
19338
|
+
pendingEffectsStatus = PENDING_MUTATION_PHASE;
|
|
19339
|
+
shouldStartViewTransition
|
|
19340
|
+
? ((animatingLanes |= lanes),
|
|
19341
|
+
(animatingTask = null),
|
|
19342
|
+
(pendingViewTransition = startViewTransition(
|
|
19343
|
+
suspendedState,
|
|
19344
|
+
root.containerInfo,
|
|
19345
|
+
pendingTransitionTypes,
|
|
19346
|
+
flushMutationEffects,
|
|
19347
|
+
flushLayoutEffects,
|
|
19348
|
+
flushAfterMutationEffects,
|
|
19349
|
+
flushSpawnedWork,
|
|
19350
|
+
flushPassiveEffects,
|
|
19351
|
+
reportViewTransitionError,
|
|
19352
|
+
suspendedViewTransition,
|
|
19353
|
+
finishedViewTransition.bind(null, lanes)
|
|
19354
|
+
)))
|
|
19355
|
+
: (flushMutationEffects(), flushLayoutEffects(), flushSpawnedWork());
|
|
19347
19356
|
}
|
|
19348
19357
|
function reportViewTransitionError(error) {
|
|
19349
19358
|
if (pendingEffectsStatus !== NO_PENDING_EFFECTS) {
|
|
@@ -30406,11 +30415,11 @@
|
|
|
30406
30415
|
};
|
|
30407
30416
|
(function () {
|
|
30408
30417
|
var isomorphicReactPackageVersion = React.version;
|
|
30409
|
-
if ("19.3.0-canary-
|
|
30418
|
+
if ("19.3.0-canary-bef88f7c-20260116" !== isomorphicReactPackageVersion)
|
|
30410
30419
|
throw Error(
|
|
30411
30420
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
30412
30421
|
(isomorphicReactPackageVersion +
|
|
30413
|
-
"\n - react-dom: 19.3.0-canary-
|
|
30422
|
+
"\n - react-dom: 19.3.0-canary-bef88f7c-20260116\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
30414
30423
|
);
|
|
30415
30424
|
})();
|
|
30416
30425
|
("function" === typeof Map &&
|
|
@@ -30447,10 +30456,10 @@
|
|
|
30447
30456
|
!(function () {
|
|
30448
30457
|
var internals = {
|
|
30449
30458
|
bundleType: 1,
|
|
30450
|
-
version: "19.3.0-canary-
|
|
30459
|
+
version: "19.3.0-canary-bef88f7c-20260116",
|
|
30451
30460
|
rendererPackageName: "react-dom",
|
|
30452
30461
|
currentDispatcherRef: ReactSharedInternals,
|
|
30453
|
-
reconcilerVersion: "19.3.0-canary-
|
|
30462
|
+
reconcilerVersion: "19.3.0-canary-bef88f7c-20260116"
|
|
30454
30463
|
};
|
|
30455
30464
|
internals.overrideHookState = overrideHookState;
|
|
30456
30465
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
|
@@ -30588,7 +30597,7 @@
|
|
|
30588
30597
|
listenToAllSupportedEvents(container);
|
|
30589
30598
|
return new ReactDOMHydrationRoot(initialChildren);
|
|
30590
30599
|
};
|
|
30591
|
-
exports.version = "19.3.0-canary-
|
|
30600
|
+
exports.version = "19.3.0-canary-bef88f7c-20260116";
|
|
30592
30601
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
30593
30602
|
"function" ===
|
|
30594
30603
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|