react-dom 19.1.0-canary-62208bee-20250102 → 19.1.0-canary-3b009b4c-20250102
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 +512 -501
- package/cjs/react-dom-client.production.js +432 -420
- package/cjs/react-dom-profiling.development.js +512 -501
- package/cjs/react-dom-profiling.profiling.js +470 -464
- 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
@@ -516,34 +516,6 @@ var hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
516
516
|
injectedHook = null,
|
517
517
|
injectedProfilingHooks = null,
|
518
518
|
isDevToolsPresent = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
519
|
-
function onCommitRoot(root, eventPriority) {
|
520
|
-
if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot)
|
521
|
-
try {
|
522
|
-
var didError = 128 === (root.current.flags & 128);
|
523
|
-
switch (eventPriority) {
|
524
|
-
case 2:
|
525
|
-
var schedulerPriority = ImmediatePriority;
|
526
|
-
break;
|
527
|
-
case 8:
|
528
|
-
schedulerPriority = UserBlockingPriority;
|
529
|
-
break;
|
530
|
-
case 32:
|
531
|
-
schedulerPriority = NormalPriority$1;
|
532
|
-
break;
|
533
|
-
case 268435456:
|
534
|
-
schedulerPriority = IdlePriority;
|
535
|
-
break;
|
536
|
-
default:
|
537
|
-
schedulerPriority = NormalPriority$1;
|
538
|
-
}
|
539
|
-
injectedHook.onCommitFiberRoot(
|
540
|
-
rendererID,
|
541
|
-
root,
|
542
|
-
schedulerPriority,
|
543
|
-
didError
|
544
|
-
);
|
545
|
-
} catch (err) {}
|
546
|
-
}
|
547
519
|
function setIsStrictModeForDevtools(newIsStrictMode) {
|
548
520
|
"function" === typeof log$1 && unstable_setDisableYieldValue(newIsStrictMode);
|
549
521
|
if (injectedHook && "function" === typeof injectedHook.setStrictMode)
|
@@ -659,14 +631,13 @@ function getHighestPriorityLanes(lanes) {
|
|
659
631
|
return lanes;
|
660
632
|
}
|
661
633
|
}
|
662
|
-
function getNextLanes(root, wipLanes) {
|
634
|
+
function getNextLanes(root, wipLanes, rootHasPendingCommit) {
|
663
635
|
var pendingLanes = root.pendingLanes;
|
664
636
|
if (0 === pendingLanes) return 0;
|
665
637
|
var nextLanes = 0,
|
666
638
|
suspendedLanes = root.suspendedLanes,
|
667
|
-
pingedLanes = root.pingedLanes
|
668
|
-
|
669
|
-
root = 0 !== root.finishedLanes;
|
639
|
+
pingedLanes = root.pingedLanes;
|
640
|
+
root = root.warmLanes;
|
670
641
|
var nonIdlePendingLanes = pendingLanes & 134217727;
|
671
642
|
0 !== nonIdlePendingLanes
|
672
643
|
? ((pendingLanes = nonIdlePendingLanes & ~suspendedLanes),
|
@@ -675,28 +646,28 @@ function getNextLanes(root, wipLanes) {
|
|
675
646
|
: ((pingedLanes &= nonIdlePendingLanes),
|
676
647
|
0 !== pingedLanes
|
677
648
|
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
678
|
-
:
|
679
|
-
((
|
680
|
-
0 !==
|
681
|
-
(nextLanes = getHighestPriorityLanes(
|
649
|
+
: rootHasPendingCommit ||
|
650
|
+
((rootHasPendingCommit = nonIdlePendingLanes & ~root),
|
651
|
+
0 !== rootHasPendingCommit &&
|
652
|
+
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))))
|
682
653
|
: ((nonIdlePendingLanes = pendingLanes & ~suspendedLanes),
|
683
654
|
0 !== nonIdlePendingLanes
|
684
655
|
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
|
685
656
|
: 0 !== pingedLanes
|
686
657
|
? (nextLanes = getHighestPriorityLanes(pingedLanes))
|
687
|
-
:
|
688
|
-
((
|
689
|
-
0 !==
|
690
|
-
(nextLanes = getHighestPriorityLanes(
|
658
|
+
: rootHasPendingCommit ||
|
659
|
+
((rootHasPendingCommit = pendingLanes & ~root),
|
660
|
+
0 !== rootHasPendingCommit &&
|
661
|
+
(nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));
|
691
662
|
return 0 === nextLanes
|
692
663
|
? 0
|
693
664
|
: 0 !== wipLanes &&
|
694
665
|
wipLanes !== nextLanes &&
|
695
666
|
0 === (wipLanes & suspendedLanes) &&
|
696
667
|
((suspendedLanes = nextLanes & -nextLanes),
|
697
|
-
(
|
698
|
-
suspendedLanes >=
|
699
|
-
(32 === suspendedLanes && 0 !== (
|
668
|
+
(rootHasPendingCommit = wipLanes & -wipLanes),
|
669
|
+
suspendedLanes >= rootHasPendingCommit ||
|
670
|
+
(32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194176)))
|
700
671
|
? wipLanes
|
701
672
|
: nextLanes;
|
702
673
|
}
|
@@ -2125,19 +2096,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
|
|
2125
2096
|
}
|
2126
2097
|
var isInputEventSupported = !1;
|
2127
2098
|
if (canUseDOM) {
|
2128
|
-
var JSCompiler_inline_result$jscomp$
|
2099
|
+
var JSCompiler_inline_result$jscomp$297;
|
2129
2100
|
if (canUseDOM) {
|
2130
|
-
var isSupported$jscomp$
|
2131
|
-
if (!isSupported$jscomp$
|
2132
|
-
var element$jscomp$
|
2133
|
-
element$jscomp$
|
2134
|
-
isSupported$jscomp$
|
2135
|
-
"function" === typeof element$jscomp$
|
2101
|
+
var isSupported$jscomp$inline_429 = "oninput" in document;
|
2102
|
+
if (!isSupported$jscomp$inline_429) {
|
2103
|
+
var element$jscomp$inline_430 = document.createElement("div");
|
2104
|
+
element$jscomp$inline_430.setAttribute("oninput", "return;");
|
2105
|
+
isSupported$jscomp$inline_429 =
|
2106
|
+
"function" === typeof element$jscomp$inline_430.oninput;
|
2136
2107
|
}
|
2137
|
-
JSCompiler_inline_result$jscomp$
|
2138
|
-
} else JSCompiler_inline_result$jscomp$
|
2108
|
+
JSCompiler_inline_result$jscomp$297 = isSupported$jscomp$inline_429;
|
2109
|
+
} else JSCompiler_inline_result$jscomp$297 = !1;
|
2139
2110
|
isInputEventSupported =
|
2140
|
-
JSCompiler_inline_result$jscomp$
|
2111
|
+
JSCompiler_inline_result$jscomp$297 &&
|
2141
2112
|
(!document.documentMode || 9 < document.documentMode);
|
2142
2113
|
}
|
2143
2114
|
function stopWatchingForValueChange() {
|
@@ -2289,97 +2260,6 @@ function hasSelectionCapabilities(elem) {
|
|
2289
2260
|
"true" === elem.contentEditable)
|
2290
2261
|
);
|
2291
2262
|
}
|
2292
|
-
function restoreSelection(priorSelectionInformation, containerInfo) {
|
2293
|
-
var curFocusedElem = getActiveElementDeep(containerInfo);
|
2294
|
-
containerInfo = priorSelectionInformation.focusedElem;
|
2295
|
-
var priorSelectionRange = priorSelectionInformation.selectionRange;
|
2296
|
-
if (
|
2297
|
-
curFocusedElem !== containerInfo &&
|
2298
|
-
containerInfo &&
|
2299
|
-
containerInfo.ownerDocument &&
|
2300
|
-
containsNode(containerInfo.ownerDocument.documentElement, containerInfo)
|
2301
|
-
) {
|
2302
|
-
if (null !== priorSelectionRange && hasSelectionCapabilities(containerInfo))
|
2303
|
-
if (
|
2304
|
-
((priorSelectionInformation = priorSelectionRange.start),
|
2305
|
-
(curFocusedElem = priorSelectionRange.end),
|
2306
|
-
void 0 === curFocusedElem &&
|
2307
|
-
(curFocusedElem = priorSelectionInformation),
|
2308
|
-
"selectionStart" in containerInfo)
|
2309
|
-
)
|
2310
|
-
(containerInfo.selectionStart = priorSelectionInformation),
|
2311
|
-
(containerInfo.selectionEnd = Math.min(
|
2312
|
-
curFocusedElem,
|
2313
|
-
containerInfo.value.length
|
2314
|
-
));
|
2315
|
-
else if (
|
2316
|
-
((curFocusedElem =
|
2317
|
-
((priorSelectionInformation =
|
2318
|
-
containerInfo.ownerDocument || document) &&
|
2319
|
-
priorSelectionInformation.defaultView) ||
|
2320
|
-
window),
|
2321
|
-
curFocusedElem.getSelection)
|
2322
|
-
) {
|
2323
|
-
curFocusedElem = curFocusedElem.getSelection();
|
2324
|
-
var length = containerInfo.textContent.length,
|
2325
|
-
start = Math.min(priorSelectionRange.start, length);
|
2326
|
-
priorSelectionRange =
|
2327
|
-
void 0 === priorSelectionRange.end
|
2328
|
-
? start
|
2329
|
-
: Math.min(priorSelectionRange.end, length);
|
2330
|
-
!curFocusedElem.extend &&
|
2331
|
-
start > priorSelectionRange &&
|
2332
|
-
((length = priorSelectionRange),
|
2333
|
-
(priorSelectionRange = start),
|
2334
|
-
(start = length));
|
2335
|
-
length = getNodeForCharacterOffset(containerInfo, start);
|
2336
|
-
var endMarker = getNodeForCharacterOffset(
|
2337
|
-
containerInfo,
|
2338
|
-
priorSelectionRange
|
2339
|
-
);
|
2340
|
-
length &&
|
2341
|
-
endMarker &&
|
2342
|
-
(1 !== curFocusedElem.rangeCount ||
|
2343
|
-
curFocusedElem.anchorNode !== length.node ||
|
2344
|
-
curFocusedElem.anchorOffset !== length.offset ||
|
2345
|
-
curFocusedElem.focusNode !== endMarker.node ||
|
2346
|
-
curFocusedElem.focusOffset !== endMarker.offset) &&
|
2347
|
-
((priorSelectionInformation =
|
2348
|
-
priorSelectionInformation.createRange()),
|
2349
|
-
priorSelectionInformation.setStart(length.node, length.offset),
|
2350
|
-
curFocusedElem.removeAllRanges(),
|
2351
|
-
start > priorSelectionRange
|
2352
|
-
? (curFocusedElem.addRange(priorSelectionInformation),
|
2353
|
-
curFocusedElem.extend(endMarker.node, endMarker.offset))
|
2354
|
-
: (priorSelectionInformation.setEnd(
|
2355
|
-
endMarker.node,
|
2356
|
-
endMarker.offset
|
2357
|
-
),
|
2358
|
-
curFocusedElem.addRange(priorSelectionInformation)));
|
2359
|
-
}
|
2360
|
-
priorSelectionInformation = [];
|
2361
|
-
for (
|
2362
|
-
curFocusedElem = containerInfo;
|
2363
|
-
(curFocusedElem = curFocusedElem.parentNode);
|
2364
|
-
|
2365
|
-
)
|
2366
|
-
1 === curFocusedElem.nodeType &&
|
2367
|
-
priorSelectionInformation.push({
|
2368
|
-
element: curFocusedElem,
|
2369
|
-
left: curFocusedElem.scrollLeft,
|
2370
|
-
top: curFocusedElem.scrollTop
|
2371
|
-
});
|
2372
|
-
"function" === typeof containerInfo.focus && containerInfo.focus();
|
2373
|
-
for (
|
2374
|
-
containerInfo = 0;
|
2375
|
-
containerInfo < priorSelectionInformation.length;
|
2376
|
-
containerInfo++
|
2377
|
-
)
|
2378
|
-
(curFocusedElem = priorSelectionInformation[containerInfo]),
|
2379
|
-
(curFocusedElem.element.scrollLeft = curFocusedElem.left),
|
2380
|
-
(curFocusedElem.element.scrollTop = curFocusedElem.top);
|
2381
|
-
}
|
2382
|
-
}
|
2383
2263
|
var skipSelectionChangeEvent =
|
2384
2264
|
canUseDOM && "documentMode" in document && 11 >= document.documentMode,
|
2385
2265
|
activeElement = null,
|
@@ -6269,12 +6149,12 @@ function markRef(current, workInProgress) {
|
|
6269
6149
|
if (null === ref)
|
6270
6150
|
null !== current &&
|
6271
6151
|
null !== current.ref &&
|
6272
|
-
(workInProgress.flags |=
|
6152
|
+
(workInProgress.flags |= 4194816);
|
6273
6153
|
else {
|
6274
6154
|
if ("function" !== typeof ref && "object" !== typeof ref)
|
6275
6155
|
throw Error(formatProdErrorMessage(284));
|
6276
6156
|
if (null === current || current.ref !== ref)
|
6277
|
-
workInProgress.flags |=
|
6157
|
+
workInProgress.flags |= 4194816;
|
6278
6158
|
}
|
6279
6159
|
}
|
6280
6160
|
function updateFunctionComponent(
|
@@ -6884,7 +6764,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
6884
6764
|
children: nextProps.children
|
6885
6765
|
})),
|
6886
6766
|
(nextProps.subtreeFlags =
|
6887
|
-
JSCompiler_temp$jscomp$0.subtreeFlags &
|
6767
|
+
JSCompiler_temp$jscomp$0.subtreeFlags & 29360128),
|
6888
6768
|
null !== digest
|
6889
6769
|
? (showFallback = createWorkInProgress(digest, showFallback))
|
6890
6770
|
: ((showFallback = createFiberFromFragment(
|
@@ -8096,8 +7976,7 @@ var offscreenSubtreeIsHidden = !1,
|
|
8096
7976
|
PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set,
|
8097
7977
|
nextEffect = null,
|
8098
7978
|
inProgressLanes = null,
|
8099
|
-
inProgressRoot = null
|
8100
|
-
shouldFireAfterActiveInstanceBlur = !1;
|
7979
|
+
inProgressRoot = null;
|
8101
7980
|
function commitBeforeMutationEffects(root, firstChild) {
|
8102
7981
|
root = root.containerInfo;
|
8103
7982
|
eventsEnabled = _enabled;
|
@@ -8173,7 +8052,7 @@ function commitBeforeMutationEffects(root, firstChild) {
|
|
8173
8052
|
if (
|
8174
8053
|
((firstChild = nextEffect),
|
8175
8054
|
(root = firstChild.child),
|
8176
|
-
0 !== (firstChild.subtreeFlags &
|
8055
|
+
0 !== (firstChild.subtreeFlags & 1024) && null !== root)
|
8177
8056
|
)
|
8178
8057
|
(root.return = firstChild), (nextEffect = root);
|
8179
8058
|
else
|
@@ -8251,9 +8130,6 @@ function commitBeforeMutationEffects(root, firstChild) {
|
|
8251
8130
|
}
|
8252
8131
|
nextEffect = firstChild.return;
|
8253
8132
|
}
|
8254
|
-
resolvedPrevProps = shouldFireAfterActiveInstanceBlur;
|
8255
|
-
shouldFireAfterActiveInstanceBlur = !1;
|
8256
|
-
return resolvedPrevProps;
|
8257
8133
|
}
|
8258
8134
|
function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
8259
8135
|
var flags = finishedWork.flags;
|
@@ -8666,12 +8542,6 @@ function attachSuspenseRetryListeners(finishedWork, wakeables) {
|
|
8666
8542
|
}
|
8667
8543
|
});
|
8668
8544
|
}
|
8669
|
-
function commitMutationEffects(root, finishedWork, committedLanes) {
|
8670
|
-
inProgressLanes = committedLanes;
|
8671
|
-
inProgressRoot = root;
|
8672
|
-
commitMutationEffectsOnFiber(finishedWork, root);
|
8673
|
-
inProgressRoot = inProgressLanes = null;
|
8674
|
-
}
|
8675
8545
|
function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {
|
8676
8546
|
var deletions = parentFiber.deletions;
|
8677
8547
|
if (null !== deletions)
|
@@ -9189,12 +9059,6 @@ function recursivelyResetForms(parentFiber) {
|
|
9189
9059
|
parentFiber = parentFiber.sibling;
|
9190
9060
|
}
|
9191
9061
|
}
|
9192
|
-
function commitLayoutEffects(finishedWork, root, committedLanes) {
|
9193
|
-
inProgressLanes = committedLanes;
|
9194
|
-
inProgressRoot = root;
|
9195
|
-
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
|
9196
|
-
inProgressRoot = inProgressLanes = null;
|
9197
|
-
}
|
9198
9062
|
function recursivelyTraverseLayoutEffects(root, parentFiber) {
|
9199
9063
|
if (parentFiber.subtreeFlags & 8772)
|
9200
9064
|
for (parentFiber = parentFiber.child; null !== parentFiber; )
|
@@ -9421,6 +9285,14 @@ function commitPassiveMountOnFiber(
|
|
9421
9285
|
);
|
9422
9286
|
flags & 2048 && commitHookPassiveMountEffects(finishedWork, 9);
|
9423
9287
|
break;
|
9288
|
+
case 1:
|
9289
|
+
recursivelyTraversePassiveMountEffects(
|
9290
|
+
finishedRoot,
|
9291
|
+
finishedWork,
|
9292
|
+
committedLanes,
|
9293
|
+
committedTransitions
|
9294
|
+
);
|
9295
|
+
break;
|
9424
9296
|
case 3:
|
9425
9297
|
var prevEffectDuration = pushNestedEffectDurations();
|
9426
9298
|
recursivelyTraversePassiveMountEffects(
|
@@ -9897,7 +9769,7 @@ function createWorkInProgress(current, pendingProps) {
|
|
9897
9769
|
(workInProgress.deletions = null),
|
9898
9770
|
(workInProgress.actualDuration = -0),
|
9899
9771
|
(workInProgress.actualStartTime = -1.1));
|
9900
|
-
workInProgress.flags = current.flags &
|
9772
|
+
workInProgress.flags = current.flags & 29360128;
|
9901
9773
|
workInProgress.childLanes = current.childLanes;
|
9902
9774
|
workInProgress.lanes = current.lanes;
|
9903
9775
|
workInProgress.child = current.child;
|
@@ -9918,7 +9790,7 @@ function createWorkInProgress(current, pendingProps) {
|
|
9918
9790
|
return workInProgress;
|
9919
9791
|
}
|
9920
9792
|
function resetWorkInProgress(workInProgress, renderLanes) {
|
9921
|
-
workInProgress.flags &=
|
9793
|
+
workInProgress.flags &= 29360130;
|
9922
9794
|
var current = workInProgress.alternate;
|
9923
9795
|
null === current
|
9924
9796
|
? ((workInProgress.childLanes = 0),
|
@@ -10172,8 +10044,8 @@ function bubbleProperties(completedWork) {
|
|
10172
10044
|
|
10173
10045
|
)
|
10174
10046
|
(newChildLanes |= child$144.lanes | child$144.childLanes),
|
10175
|
-
(subtreeFlags |= child$144.subtreeFlags &
|
10176
|
-
(subtreeFlags |= child$144.flags &
|
10047
|
+
(subtreeFlags |= child$144.subtreeFlags & 29360128),
|
10048
|
+
(subtreeFlags |= child$144.flags & 29360128),
|
10177
10049
|
(treeBaseDuration$143 += child$144.treeBaseDuration),
|
10178
10050
|
(child$144 = child$144.sibling);
|
10179
10051
|
completedWork.treeBaseDuration = treeBaseDuration$143;
|
@@ -10185,8 +10057,8 @@ function bubbleProperties(completedWork) {
|
|
10185
10057
|
)
|
10186
10058
|
(newChildLanes |=
|
10187
10059
|
treeBaseDuration$143.lanes | treeBaseDuration$143.childLanes),
|
10188
|
-
(subtreeFlags |= treeBaseDuration$143.subtreeFlags &
|
10189
|
-
(subtreeFlags |= treeBaseDuration$143.flags &
|
10060
|
+
(subtreeFlags |= treeBaseDuration$143.subtreeFlags & 29360128),
|
10061
|
+
(subtreeFlags |= treeBaseDuration$143.flags & 29360128),
|
10190
10062
|
(treeBaseDuration$143.return = completedWork),
|
10191
10063
|
(treeBaseDuration$143 = treeBaseDuration$143.sibling);
|
10192
10064
|
else if (0 !== (completedWork.mode & 2)) {
|
@@ -10969,8 +10841,6 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
|
|
10969
10841
|
default:
|
10970
10842
|
throw Error(formatProdErrorMessage(329));
|
10971
10843
|
}
|
10972
|
-
shouldTimeSlice.finishedWork = forceSync;
|
10973
|
-
shouldTimeSlice.finishedLanes = lanes;
|
10974
10844
|
if (
|
10975
10845
|
(lanes & 62914560) === lanes &&
|
10976
10846
|
((exitStatus = globalMostRecentFallbackTime + 300 - now$1()),
|
@@ -10982,7 +10852,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
|
|
10982
10852
|
workInProgressDeferredLane,
|
10983
10853
|
!workInProgressRootDidSkipSuspendedSiblings
|
10984
10854
|
);
|
10985
|
-
if (0 !== getNextLanes(shouldTimeSlice, 0)) break a;
|
10855
|
+
if (0 !== getNextLanes(shouldTimeSlice, 0, !0)) break a;
|
10986
10856
|
shouldTimeSlice.timeoutHandle = scheduleTimeout(
|
10987
10857
|
commitRootWhenReady.bind(
|
10988
10858
|
null,
|
@@ -11043,18 +10913,24 @@ function commitRootWhenReady(
|
|
11043
10913
|
completedRenderStartTime,
|
11044
10914
|
completedRenderEndTime
|
11045
10915
|
) {
|
11046
|
-
|
11047
|
-
|
10916
|
+
root.timeoutHandle = -1;
|
10917
|
+
suspendedCommitReason = finishedWork.subtreeFlags;
|
10918
|
+
if (
|
10919
|
+
suspendedCommitReason & 8192 ||
|
10920
|
+
16785408 === (suspendedCommitReason & 16785408)
|
10921
|
+
)
|
11048
10922
|
if (
|
11049
10923
|
((suspendedState = { stylesheets: null, count: 0, unsuspend: noop$1 }),
|
11050
10924
|
accumulateSuspenseyCommitOnFiber(finishedWork),
|
11051
|
-
(
|
11052
|
-
null !==
|
10925
|
+
(suspendedCommitReason = waitForCommitToBeReady()),
|
10926
|
+
null !== suspendedCommitReason)
|
11053
10927
|
) {
|
11054
|
-
root.cancelPendingCommit =
|
10928
|
+
root.cancelPendingCommit = suspendedCommitReason(
|
11055
10929
|
commitRoot.bind(
|
11056
10930
|
null,
|
11057
10931
|
root,
|
10932
|
+
finishedWork,
|
10933
|
+
lanes,
|
11058
10934
|
recoverableErrors,
|
11059
10935
|
transitions,
|
11060
10936
|
didIncludeRenderPhaseUpdate,
|
@@ -11072,16 +10948,14 @@ function commitRootWhenReady(
|
|
11072
10948
|
}
|
11073
10949
|
commitRoot(
|
11074
10950
|
root,
|
10951
|
+
finishedWork,
|
10952
|
+
lanes,
|
11075
10953
|
recoverableErrors,
|
11076
10954
|
transitions,
|
11077
10955
|
didIncludeRenderPhaseUpdate,
|
11078
10956
|
spawnedLane,
|
11079
10957
|
updatedLanes,
|
11080
|
-
suspendedRetryLanes
|
11081
|
-
exitStatus,
|
11082
|
-
suspendedCommitReason,
|
11083
|
-
completedRenderStartTime,
|
11084
|
-
completedRenderEndTime
|
10958
|
+
suspendedRetryLanes
|
11085
10959
|
);
|
11086
10960
|
}
|
11087
10961
|
function isRenderConsistentWithExternalStores(finishedWork) {
|
@@ -11162,8 +11036,6 @@ function resetWorkInProgressStack() {
|
|
11162
11036
|
}
|
11163
11037
|
}
|
11164
11038
|
function prepareFreshStack(root, lanes) {
|
11165
|
-
root.finishedWork = null;
|
11166
|
-
root.finishedLanes = 0;
|
11167
11039
|
var timeoutHandle = root.timeoutHandle;
|
11168
11040
|
-1 !== timeoutHandle &&
|
11169
11041
|
((root.timeoutHandle = -1), cancelTimeout(timeoutHandle));
|
@@ -11466,7 +11338,7 @@ function renderRootConcurrent(root, lanes) {
|
|
11466
11338
|
default:
|
11467
11339
|
throw Error(formatProdErrorMessage(462));
|
11468
11340
|
}
|
11469
|
-
|
11341
|
+
workLoopConcurrentByScheduler();
|
11470
11342
|
break;
|
11471
11343
|
} catch (thrownValue$181) {
|
11472
11344
|
handleThrow(root, thrownValue$181);
|
@@ -11489,7 +11361,7 @@ function renderRootConcurrent(root, lanes) {
|
|
11489
11361
|
finishQueueingConcurrentUpdates();
|
11490
11362
|
return workInProgressRootExitStatus;
|
11491
11363
|
}
|
11492
|
-
function
|
11364
|
+
function workLoopConcurrentByScheduler() {
|
11493
11365
|
for (; null !== workInProgress && !shouldYield(); )
|
11494
11366
|
performUnitOfWork(workInProgress);
|
11495
11367
|
}
|
@@ -11666,144 +11538,275 @@ function unwindUnitOfWork(unitOfWork, skipSiblings) {
|
|
11666
11538
|
}
|
11667
11539
|
function commitRoot(
|
11668
11540
|
root,
|
11541
|
+
finishedWork,
|
11542
|
+
lanes,
|
11669
11543
|
recoverableErrors,
|
11670
11544
|
transitions,
|
11671
11545
|
didIncludeRenderPhaseUpdate,
|
11672
11546
|
spawnedLane,
|
11673
11547
|
updatedLanes,
|
11674
|
-
suspendedRetryLanes,
|
11675
|
-
exitStatus,
|
11676
|
-
suspendedCommitReason,
|
11677
|
-
completedRenderStartTime,
|
11678
|
-
completedRenderEndTime
|
11679
|
-
) {
|
11680
|
-
var prevTransition = ReactSharedInternals.T,
|
11681
|
-
previousUpdateLanePriority = ReactDOMSharedInternals.p;
|
11682
|
-
try {
|
11683
|
-
(ReactDOMSharedInternals.p = 2),
|
11684
|
-
(ReactSharedInternals.T = null),
|
11685
|
-
commitRootImpl(
|
11686
|
-
root,
|
11687
|
-
recoverableErrors,
|
11688
|
-
transitions,
|
11689
|
-
didIncludeRenderPhaseUpdate,
|
11690
|
-
previousUpdateLanePriority,
|
11691
|
-
spawnedLane,
|
11692
|
-
updatedLanes,
|
11693
|
-
suspendedRetryLanes,
|
11694
|
-
exitStatus,
|
11695
|
-
suspendedCommitReason,
|
11696
|
-
completedRenderStartTime,
|
11697
|
-
completedRenderEndTime
|
11698
|
-
);
|
11699
|
-
} finally {
|
11700
|
-
(ReactSharedInternals.T = prevTransition),
|
11701
|
-
(ReactDOMSharedInternals.p = previousUpdateLanePriority);
|
11702
|
-
}
|
11703
|
-
}
|
11704
|
-
function commitRootImpl(
|
11705
|
-
root,
|
11706
|
-
recoverableErrors,
|
11707
|
-
transitions,
|
11708
|
-
didIncludeRenderPhaseUpdate,
|
11709
|
-
renderPriorityLevel,
|
11710
|
-
spawnedLane,
|
11711
|
-
updatedLanes,
|
11712
11548
|
suspendedRetryLanes
|
11713
11549
|
) {
|
11550
|
+
root.cancelPendingCommit = null;
|
11714
11551
|
do flushPassiveEffects();
|
11715
11552
|
while (null !== rootWithPendingPassiveEffects);
|
11716
11553
|
if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));
|
11717
|
-
var finishedWork = root.finishedWork;
|
11718
|
-
didIncludeRenderPhaseUpdate = root.finishedLanes;
|
11719
11554
|
null !== injectedProfilingHooks &&
|
11720
11555
|
"function" === typeof injectedProfilingHooks.markCommitStarted &&
|
11721
|
-
injectedProfilingHooks.markCommitStarted(
|
11722
|
-
if (null === finishedWork)
|
11723
|
-
|
11724
|
-
|
11725
|
-
|
11726
|
-
|
11727
|
-
|
11728
|
-
|
11729
|
-
|
11730
|
-
|
11731
|
-
|
11732
|
-
|
11733
|
-
|
11734
|
-
|
11735
|
-
|
11736
|
-
|
11737
|
-
|
11738
|
-
(
|
11739
|
-
|
11740
|
-
|
11741
|
-
|
11742
|
-
|
11743
|
-
|
11744
|
-
|
11745
|
-
|
11746
|
-
|
11747
|
-
|
11748
|
-
|
11749
|
-
|
11750
|
-
|
11751
|
-
|
11752
|
-
|
11753
|
-
|
11754
|
-
|
11755
|
-
|
11756
|
-
|
11757
|
-
|
11758
|
-
|
11759
|
-
|
11760
|
-
|
11761
|
-
|
11762
|
-
|
11763
|
-
|
11764
|
-
|
11765
|
-
|
11766
|
-
|
11767
|
-
|
11768
|
-
|
11769
|
-
|
11556
|
+
injectedProfilingHooks.markCommitStarted(lanes);
|
11557
|
+
if (null === finishedWork) markCommitStopped();
|
11558
|
+
else {
|
11559
|
+
if (finishedWork === root.current) throw Error(formatProdErrorMessage(177));
|
11560
|
+
didIncludeRenderPhaseUpdate = finishedWork.lanes | finishedWork.childLanes;
|
11561
|
+
didIncludeRenderPhaseUpdate |= concurrentlyUpdatedLanes;
|
11562
|
+
markRootFinished(
|
11563
|
+
root,
|
11564
|
+
lanes,
|
11565
|
+
didIncludeRenderPhaseUpdate,
|
11566
|
+
spawnedLane,
|
11567
|
+
updatedLanes,
|
11568
|
+
suspendedRetryLanes
|
11569
|
+
);
|
11570
|
+
root === workInProgressRoot &&
|
11571
|
+
((workInProgress = workInProgressRoot = null),
|
11572
|
+
(workInProgressRootRenderLanes = 0));
|
11573
|
+
0 !== (finishedWork.subtreeFlags & 10256) ||
|
11574
|
+
0 !== (finishedWork.flags & 10256)
|
11575
|
+
? ((pendingPassiveEffectsRemainingLanes = didIncludeRenderPhaseUpdate),
|
11576
|
+
(pendingPassiveTransitions = transitions),
|
11577
|
+
(root.callbackNode = null),
|
11578
|
+
(root.callbackPriority = 0),
|
11579
|
+
scheduleCallback$1(NormalPriority$1, function () {
|
11580
|
+
flushPassiveEffects(!0);
|
11581
|
+
return null;
|
11582
|
+
}))
|
11583
|
+
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
11584
|
+
commitStartTime = now();
|
11585
|
+
transitions = 0 !== (finishedWork.flags & 13878);
|
11586
|
+
if (0 !== (finishedWork.subtreeFlags & 13878) || transitions) {
|
11587
|
+
transitions = ReactSharedInternals.T;
|
11588
|
+
ReactSharedInternals.T = null;
|
11589
|
+
spawnedLane = ReactDOMSharedInternals.p;
|
11590
|
+
ReactDOMSharedInternals.p = 2;
|
11591
|
+
updatedLanes = executionContext;
|
11592
|
+
executionContext |= 4;
|
11593
|
+
try {
|
11594
|
+
commitBeforeMutationEffects(root, finishedWork);
|
11595
|
+
} finally {
|
11596
|
+
(executionContext = updatedLanes),
|
11597
|
+
(ReactDOMSharedInternals.p = spawnedLane),
|
11598
|
+
(ReactSharedInternals.T = transitions);
|
11599
|
+
}
|
11600
|
+
}
|
11601
|
+
flushMutationEffects(root, finishedWork, lanes);
|
11602
|
+
flushLayoutEffects(root, finishedWork, lanes, recoverableErrors);
|
11603
|
+
}
|
11604
|
+
}
|
11605
|
+
function flushMutationEffects(root, finishedWork, lanes) {
|
11606
|
+
var rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
|
11607
|
+
if (0 !== (finishedWork.subtreeFlags & 13878) || rootMutationHasEffect) {
|
11608
|
+
rootMutationHasEffect = ReactSharedInternals.T;
|
11609
|
+
ReactSharedInternals.T = null;
|
11610
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
11611
|
+
ReactDOMSharedInternals.p = 2;
|
11612
|
+
var prevExecutionContext = executionContext;
|
11613
|
+
executionContext |= 4;
|
11614
|
+
try {
|
11615
|
+
inProgressLanes = lanes;
|
11616
|
+
inProgressRoot = root;
|
11617
|
+
commitMutationEffectsOnFiber(finishedWork, root);
|
11618
|
+
inProgressRoot = inProgressLanes = null;
|
11619
|
+
lanes = selectionInformation;
|
11620
|
+
var curFocusedElem = getActiveElementDeep(root.containerInfo),
|
11621
|
+
priorFocusedElem = lanes.focusedElem,
|
11622
|
+
priorSelectionRange = lanes.selectionRange;
|
11623
|
+
if (
|
11624
|
+
curFocusedElem !== priorFocusedElem &&
|
11625
|
+
priorFocusedElem &&
|
11626
|
+
priorFocusedElem.ownerDocument &&
|
11627
|
+
containsNode(
|
11628
|
+
priorFocusedElem.ownerDocument.documentElement,
|
11629
|
+
priorFocusedElem
|
11630
|
+
)
|
11631
|
+
) {
|
11632
|
+
if (
|
11633
|
+
null !== priorSelectionRange &&
|
11634
|
+
hasSelectionCapabilities(priorFocusedElem)
|
11635
|
+
) {
|
11636
|
+
var start = priorSelectionRange.start,
|
11637
|
+
end = priorSelectionRange.end;
|
11638
|
+
void 0 === end && (end = start);
|
11639
|
+
if ("selectionStart" in priorFocusedElem)
|
11640
|
+
(priorFocusedElem.selectionStart = start),
|
11641
|
+
(priorFocusedElem.selectionEnd = Math.min(
|
11642
|
+
end,
|
11643
|
+
priorFocusedElem.value.length
|
11644
|
+
));
|
11645
|
+
else {
|
11646
|
+
var doc = priorFocusedElem.ownerDocument || document,
|
11647
|
+
win = (doc && doc.defaultView) || window;
|
11648
|
+
if (win.getSelection) {
|
11649
|
+
var selection = win.getSelection(),
|
11650
|
+
length = priorFocusedElem.textContent.length,
|
11651
|
+
start$jscomp$0 = Math.min(priorSelectionRange.start, length),
|
11652
|
+
end$jscomp$0 =
|
11653
|
+
void 0 === priorSelectionRange.end
|
11654
|
+
? start$jscomp$0
|
11655
|
+
: Math.min(priorSelectionRange.end, length);
|
11656
|
+
!selection.extend &&
|
11657
|
+
start$jscomp$0 > end$jscomp$0 &&
|
11658
|
+
((curFocusedElem = end$jscomp$0),
|
11659
|
+
(end$jscomp$0 = start$jscomp$0),
|
11660
|
+
(start$jscomp$0 = curFocusedElem));
|
11661
|
+
var startMarker = getNodeForCharacterOffset(
|
11662
|
+
priorFocusedElem,
|
11663
|
+
start$jscomp$0
|
11664
|
+
),
|
11665
|
+
endMarker = getNodeForCharacterOffset(
|
11666
|
+
priorFocusedElem,
|
11667
|
+
end$jscomp$0
|
11668
|
+
);
|
11669
|
+
if (
|
11670
|
+
startMarker &&
|
11671
|
+
endMarker &&
|
11672
|
+
(1 !== selection.rangeCount ||
|
11673
|
+
selection.anchorNode !== startMarker.node ||
|
11674
|
+
selection.anchorOffset !== startMarker.offset ||
|
11675
|
+
selection.focusNode !== endMarker.node ||
|
11676
|
+
selection.focusOffset !== endMarker.offset)
|
11677
|
+
) {
|
11678
|
+
var range = doc.createRange();
|
11679
|
+
range.setStart(startMarker.node, startMarker.offset);
|
11680
|
+
selection.removeAllRanges();
|
11681
|
+
start$jscomp$0 > end$jscomp$0
|
11682
|
+
? (selection.addRange(range),
|
11683
|
+
selection.extend(endMarker.node, endMarker.offset))
|
11684
|
+
: (range.setEnd(endMarker.node, endMarker.offset),
|
11685
|
+
selection.addRange(range));
|
11686
|
+
}
|
11687
|
+
}
|
11688
|
+
}
|
11689
|
+
}
|
11690
|
+
doc = [];
|
11691
|
+
for (selection = priorFocusedElem; (selection = selection.parentNode); )
|
11692
|
+
1 === selection.nodeType &&
|
11693
|
+
doc.push({
|
11694
|
+
element: selection,
|
11695
|
+
left: selection.scrollLeft,
|
11696
|
+
top: selection.scrollTop
|
11697
|
+
});
|
11698
|
+
"function" === typeof priorFocusedElem.focus &&
|
11699
|
+
priorFocusedElem.focus();
|
11700
|
+
for (
|
11701
|
+
priorFocusedElem = 0;
|
11702
|
+
priorFocusedElem < doc.length;
|
11703
|
+
priorFocusedElem++
|
11704
|
+
) {
|
11705
|
+
var info = doc[priorFocusedElem];
|
11706
|
+
info.element.scrollLeft = info.left;
|
11707
|
+
info.element.scrollTop = info.top;
|
11708
|
+
}
|
11709
|
+
}
|
11710
|
+
_enabled = !!eventsEnabled;
|
11711
|
+
selectionInformation = eventsEnabled = null;
|
11712
|
+
} finally {
|
11713
|
+
(executionContext = prevExecutionContext),
|
11714
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
11715
|
+
(ReactSharedInternals.T = rootMutationHasEffect);
|
11716
|
+
}
|
11717
|
+
}
|
11718
|
+
root.current = finishedWork;
|
11719
|
+
}
|
11720
|
+
function flushLayoutEffects(root, finishedWork, lanes, recoverableErrors) {
|
11721
|
+
var rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772);
|
11722
|
+
if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) {
|
11723
|
+
rootHasLayoutEffect = ReactSharedInternals.T;
|
11724
|
+
ReactSharedInternals.T = null;
|
11725
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
11726
|
+
ReactDOMSharedInternals.p = 2;
|
11727
|
+
var prevExecutionContext = executionContext;
|
11728
|
+
executionContext |= 4;
|
11729
|
+
try {
|
11770
11730
|
null !== injectedProfilingHooks &&
|
11771
11731
|
"function" === typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
11772
|
-
injectedProfilingHooks.markLayoutEffectsStarted(
|
11773
|
-
|
11774
|
-
),
|
11775
|
-
|
11776
|
-
|
11777
|
-
|
11778
|
-
|
11779
|
-
|
11780
|
-
|
11781
|
-
|
11782
|
-
(
|
11783
|
-
|
11784
|
-
|
11785
|
-
|
11786
|
-
|
11787
|
-
|
11788
|
-
|
11789
|
-
|
11790
|
-
|
11791
|
-
|
11732
|
+
injectedProfilingHooks.markLayoutEffectsStarted(lanes),
|
11733
|
+
(inProgressLanes = lanes),
|
11734
|
+
(inProgressRoot = root),
|
11735
|
+
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
11736
|
+
(inProgressRoot = inProgressLanes = null),
|
11737
|
+
null !== injectedProfilingHooks &&
|
11738
|
+
"function" ===
|
11739
|
+
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
11740
|
+
injectedProfilingHooks.markLayoutEffectsStopped();
|
11741
|
+
} finally {
|
11742
|
+
(executionContext = prevExecutionContext),
|
11743
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
11744
|
+
(ReactSharedInternals.T = rootHasLayoutEffect);
|
11745
|
+
}
|
11746
|
+
}
|
11747
|
+
requestPaint();
|
11748
|
+
0 !== (finishedWork.subtreeFlags & 10256) ||
|
11749
|
+
0 !== (finishedWork.flags & 10256)
|
11750
|
+
? ((rootWithPendingPassiveEffects = root),
|
11751
|
+
(pendingPassiveEffectsLanes = lanes))
|
11752
|
+
: releaseRootPooledCache(root, root.pendingLanes);
|
11753
|
+
rootHasLayoutEffect = root.pendingLanes;
|
11754
|
+
0 === rootHasLayoutEffect && (legacyErrorBoundariesThatAlreadyFailed = null);
|
11755
|
+
rootHasLayoutEffect = lanesToEventPriority(lanes);
|
11756
|
+
finishedWork = finishedWork.stateNode;
|
11757
|
+
if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot)
|
11758
|
+
try {
|
11759
|
+
var didError = 128 === (finishedWork.current.flags & 128);
|
11760
|
+
switch (rootHasLayoutEffect) {
|
11761
|
+
case 2:
|
11762
|
+
var schedulerPriority = ImmediatePriority;
|
11763
|
+
break;
|
11764
|
+
case 8:
|
11765
|
+
schedulerPriority = UserBlockingPriority;
|
11766
|
+
break;
|
11767
|
+
case 32:
|
11768
|
+
schedulerPriority = NormalPriority$1;
|
11769
|
+
break;
|
11770
|
+
case 268435456:
|
11771
|
+
schedulerPriority = IdlePriority;
|
11772
|
+
break;
|
11773
|
+
default:
|
11774
|
+
schedulerPriority = NormalPriority$1;
|
11775
|
+
}
|
11776
|
+
injectedHook.onCommitFiberRoot(
|
11777
|
+
rendererID,
|
11778
|
+
finishedWork,
|
11779
|
+
schedulerPriority,
|
11780
|
+
didError
|
11781
|
+
);
|
11782
|
+
} catch (err) {}
|
11792
11783
|
isDevToolsPresent && root.memoizedUpdaters.clear();
|
11793
|
-
if (null !== recoverableErrors)
|
11794
|
-
|
11795
|
-
|
11796
|
-
|
11797
|
-
|
11798
|
-
|
11799
|
-
|
11800
|
-
|
11801
|
-
|
11784
|
+
if (null !== recoverableErrors) {
|
11785
|
+
didError = ReactSharedInternals.T;
|
11786
|
+
schedulerPriority = ReactDOMSharedInternals.p;
|
11787
|
+
ReactDOMSharedInternals.p = 2;
|
11788
|
+
ReactSharedInternals.T = null;
|
11789
|
+
try {
|
11790
|
+
var onRecoverableError = root.onRecoverableError;
|
11791
|
+
for (
|
11792
|
+
finishedWork = 0;
|
11793
|
+
finishedWork < recoverableErrors.length;
|
11794
|
+
finishedWork++
|
11795
|
+
) {
|
11796
|
+
var recoverableError = recoverableErrors[finishedWork];
|
11797
|
+
onRecoverableError(recoverableError.value, {
|
11798
|
+
componentStack: recoverableError.stack
|
11802
11799
|
});
|
11800
|
+
}
|
11801
|
+
} finally {
|
11802
|
+
(ReactSharedInternals.T = didError),
|
11803
|
+
(ReactDOMSharedInternals.p = schedulerPriority);
|
11804
|
+
}
|
11805
|
+
}
|
11803
11806
|
0 !== (pendingPassiveEffectsLanes & 3) && flushPassiveEffects();
|
11804
11807
|
ensureRootIsScheduled(root);
|
11805
|
-
|
11806
|
-
0 !== (
|
11808
|
+
rootHasLayoutEffect = root.pendingLanes;
|
11809
|
+
0 !== (lanes & 4194218) && 0 !== (rootHasLayoutEffect & 42)
|
11807
11810
|
? ((nestedUpdateScheduled = !0),
|
11808
11811
|
root === rootWithNestedUpdates
|
11809
11812
|
? nestedUpdateCount++
|
@@ -11811,7 +11814,6 @@ function commitRootImpl(
|
|
11811
11814
|
: (nestedUpdateCount = 0);
|
11812
11815
|
flushSyncWorkAcrossRoots_impl(0, !1);
|
11813
11816
|
markCommitStopped();
|
11814
|
-
return null;
|
11815
11817
|
}
|
11816
11818
|
function releaseRootPooledCache(root, remainingLanes) {
|
11817
11819
|
0 === (root.pooledCacheLanes &= remainingLanes) &&
|
@@ -11821,7 +11823,7 @@ function releaseRootPooledCache(root, remainingLanes) {
|
|
11821
11823
|
}
|
11822
11824
|
function flushPassiveEffects() {
|
11823
11825
|
if (null !== rootWithPendingPassiveEffects) {
|
11824
|
-
var root$
|
11826
|
+
var root$186 = rootWithPendingPassiveEffects,
|
11825
11827
|
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
11826
11828
|
pendingPassiveEffectsRemainingLanes = 0;
|
11827
11829
|
var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),
|
@@ -11871,7 +11873,7 @@ function flushPassiveEffects() {
|
|
11871
11873
|
} finally {
|
11872
11874
|
(ReactDOMSharedInternals.p = previousPriority),
|
11873
11875
|
(ReactSharedInternals.T = prevTransition),
|
11874
|
-
releaseRootPooledCache(root$
|
11876
|
+
releaseRootPooledCache(root$186, remainingLanes);
|
11875
11877
|
}
|
11876
11878
|
}
|
11877
11879
|
return !1;
|
@@ -12013,22 +12015,21 @@ function ensureRootIsScheduled(root) {
|
|
12013
12015
|
: (lastScheduledRoot = lastScheduledRoot.next = root));
|
12014
12016
|
mightHavePendingSyncWork = !0;
|
12015
12017
|
didScheduleMicrotask ||
|
12016
|
-
((didScheduleMicrotask = !0),
|
12017
|
-
scheduleImmediateTask(processRootScheduleInMicrotask));
|
12018
|
+
((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());
|
12018
12019
|
}
|
12019
12020
|
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
12020
12021
|
if (!isFlushingWork && mightHavePendingSyncWork) {
|
12021
12022
|
isFlushingWork = !0;
|
12022
12023
|
do {
|
12023
12024
|
var didPerformSomeWork = !1;
|
12024
|
-
for (var root$
|
12025
|
+
for (var root$188 = firstScheduledRoot; null !== root$188; ) {
|
12025
12026
|
if (!onlyLegacy)
|
12026
12027
|
if (0 !== syncTransitionLanes) {
|
12027
|
-
var pendingLanes = root$
|
12028
|
+
var pendingLanes = root$188.pendingLanes;
|
12028
12029
|
if (0 === pendingLanes) var JSCompiler_inline_result = 0;
|
12029
12030
|
else {
|
12030
|
-
var suspendedLanes = root$
|
12031
|
-
pingedLanes = root$
|
12031
|
+
var suspendedLanes = root$188.suspendedLanes,
|
12032
|
+
pingedLanes = root$188.pingedLanes;
|
12032
12033
|
JSCompiler_inline_result =
|
12033
12034
|
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
12034
12035
|
JSCompiler_inline_result &=
|
@@ -12042,23 +12043,28 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
|
12042
12043
|
}
|
12043
12044
|
0 !== JSCompiler_inline_result &&
|
12044
12045
|
((didPerformSomeWork = !0),
|
12045
|
-
performSyncWorkOnRoot(root$
|
12046
|
+
performSyncWorkOnRoot(root$188, JSCompiler_inline_result));
|
12046
12047
|
} else
|
12047
12048
|
(JSCompiler_inline_result = workInProgressRootRenderLanes),
|
12048
12049
|
(JSCompiler_inline_result = getNextLanes(
|
12049
|
-
root$
|
12050
|
-
root$
|
12050
|
+
root$188,
|
12051
|
+
root$188 === workInProgressRoot ? JSCompiler_inline_result : 0,
|
12052
|
+
null !== root$188.cancelPendingCommit ||
|
12053
|
+
-1 !== root$188.timeoutHandle
|
12051
12054
|
)),
|
12052
12055
|
0 === (JSCompiler_inline_result & 3) ||
|
12053
|
-
checkIfRootIsPrerendering(root$
|
12056
|
+
checkIfRootIsPrerendering(root$188, JSCompiler_inline_result) ||
|
12054
12057
|
((didPerformSomeWork = !0),
|
12055
|
-
performSyncWorkOnRoot(root$
|
12056
|
-
root$
|
12058
|
+
performSyncWorkOnRoot(root$188, JSCompiler_inline_result));
|
12059
|
+
root$188 = root$188.next;
|
12057
12060
|
}
|
12058
12061
|
} while (didPerformSomeWork);
|
12059
12062
|
isFlushingWork = !1;
|
12060
12063
|
}
|
12061
12064
|
}
|
12065
|
+
function processRootScheduleInImmediateTask() {
|
12066
|
+
processRootScheduleInMicrotask();
|
12067
|
+
}
|
12062
12068
|
function processRootScheduleInMicrotask() {
|
12063
12069
|
mightHavePendingSyncWork = didScheduleMicrotask = !1;
|
12064
12070
|
var syncTransitionLanes = 0;
|
@@ -12107,7 +12113,8 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
|
12107
12113
|
suspendedLanes = workInProgressRootRenderLanes;
|
12108
12114
|
suspendedLanes = getNextLanes(
|
12109
12115
|
root,
|
12110
|
-
root === currentTime ? suspendedLanes : 0
|
12116
|
+
root === currentTime ? suspendedLanes : 0,
|
12117
|
+
null !== root.cancelPendingCommit || -1 !== root.timeoutHandle
|
12111
12118
|
);
|
12112
12119
|
pingedLanes = root.callbackNode;
|
12113
12120
|
if (
|
@@ -12164,7 +12171,8 @@ function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
|
12164
12171
|
var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes;
|
12165
12172
|
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
12166
12173
|
root,
|
12167
|
-
root === workInProgressRoot ? workInProgressRootRenderLanes$jscomp$0 : 0
|
12174
|
+
root === workInProgressRoot ? workInProgressRootRenderLanes$jscomp$0 : 0,
|
12175
|
+
null !== root.cancelPendingCommit || -1 !== root.timeoutHandle
|
12168
12176
|
);
|
12169
12177
|
if (0 === workInProgressRootRenderLanes$jscomp$0) return null;
|
12170
12178
|
performWorkOnRoot(root, workInProgressRootRenderLanes$jscomp$0, didTimeout);
|
@@ -12179,11 +12187,14 @@ function performSyncWorkOnRoot(root, lanes) {
|
|
12179
12187
|
nestedUpdateScheduled = !1;
|
12180
12188
|
performWorkOnRoot(root, lanes, !0);
|
12181
12189
|
}
|
12182
|
-
function
|
12190
|
+
function scheduleImmediateRootScheduleTask() {
|
12183
12191
|
scheduleMicrotask(function () {
|
12184
12192
|
0 !== (executionContext & 6)
|
12185
|
-
? scheduleCallback$3(
|
12186
|
-
|
12193
|
+
? scheduleCallback$3(
|
12194
|
+
ImmediatePriority,
|
12195
|
+
processRootScheduleInImmediateTask
|
12196
|
+
)
|
12197
|
+
: processRootScheduleInMicrotask();
|
12187
12198
|
});
|
12188
12199
|
}
|
12189
12200
|
function requestTransitionLane() {
|
@@ -12286,20 +12297,20 @@ function extractEvents$1(
|
|
12286
12297
|
}
|
12287
12298
|
}
|
12288
12299
|
for (
|
12289
|
-
var i$jscomp$
|
12290
|
-
i$jscomp$
|
12291
|
-
i$jscomp$
|
12300
|
+
var i$jscomp$inline_1553 = 0;
|
12301
|
+
i$jscomp$inline_1553 < simpleEventPluginEvents.length;
|
12302
|
+
i$jscomp$inline_1553++
|
12292
12303
|
) {
|
12293
|
-
var eventName$jscomp$
|
12294
|
-
simpleEventPluginEvents[i$jscomp$
|
12295
|
-
domEventName$jscomp$
|
12296
|
-
eventName$jscomp$
|
12297
|
-
capitalizedEvent$jscomp$
|
12298
|
-
eventName$jscomp$
|
12299
|
-
eventName$jscomp$
|
12304
|
+
var eventName$jscomp$inline_1554 =
|
12305
|
+
simpleEventPluginEvents[i$jscomp$inline_1553],
|
12306
|
+
domEventName$jscomp$inline_1555 =
|
12307
|
+
eventName$jscomp$inline_1554.toLowerCase(),
|
12308
|
+
capitalizedEvent$jscomp$inline_1556 =
|
12309
|
+
eventName$jscomp$inline_1554[0].toUpperCase() +
|
12310
|
+
eventName$jscomp$inline_1554.slice(1);
|
12300
12311
|
registerSimpleEvent(
|
12301
|
-
domEventName$jscomp$
|
12302
|
-
"on" + capitalizedEvent$jscomp$
|
12312
|
+
domEventName$jscomp$inline_1555,
|
12313
|
+
"on" + capitalizedEvent$jscomp$inline_1556
|
12303
12314
|
);
|
12304
12315
|
}
|
12305
12316
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
@@ -13482,34 +13493,34 @@ function setInitialProperties(domElement, tag, props) {
|
|
13482
13493
|
defaultChecked = null;
|
13483
13494
|
for (hasSrc in props)
|
13484
13495
|
if (props.hasOwnProperty(hasSrc)) {
|
13485
|
-
var propValue$
|
13486
|
-
if (null != propValue$
|
13496
|
+
var propValue$202 = props[hasSrc];
|
13497
|
+
if (null != propValue$202)
|
13487
13498
|
switch (hasSrc) {
|
13488
13499
|
case "name":
|
13489
|
-
hasSrcSet = propValue$
|
13500
|
+
hasSrcSet = propValue$202;
|
13490
13501
|
break;
|
13491
13502
|
case "type":
|
13492
|
-
propValue = propValue$
|
13503
|
+
propValue = propValue$202;
|
13493
13504
|
break;
|
13494
13505
|
case "checked":
|
13495
|
-
checked = propValue$
|
13506
|
+
checked = propValue$202;
|
13496
13507
|
break;
|
13497
13508
|
case "defaultChecked":
|
13498
|
-
defaultChecked = propValue$
|
13509
|
+
defaultChecked = propValue$202;
|
13499
13510
|
break;
|
13500
13511
|
case "value":
|
13501
|
-
propKey = propValue$
|
13512
|
+
propKey = propValue$202;
|
13502
13513
|
break;
|
13503
13514
|
case "defaultValue":
|
13504
|
-
defaultValue = propValue$
|
13515
|
+
defaultValue = propValue$202;
|
13505
13516
|
break;
|
13506
13517
|
case "children":
|
13507
13518
|
case "dangerouslySetInnerHTML":
|
13508
|
-
if (null != propValue$
|
13519
|
+
if (null != propValue$202)
|
13509
13520
|
throw Error(formatProdErrorMessage(137, tag));
|
13510
13521
|
break;
|
13511
13522
|
default:
|
13512
|
-
setProp(domElement, tag, hasSrc, propValue$
|
13523
|
+
setProp(domElement, tag, hasSrc, propValue$202, props, null);
|
13513
13524
|
}
|
13514
13525
|
}
|
13515
13526
|
initInput(
|
@@ -13646,14 +13657,14 @@ function setInitialProperties(domElement, tag, props) {
|
|
13646
13657
|
return;
|
13647
13658
|
default:
|
13648
13659
|
if (isCustomElement(tag)) {
|
13649
|
-
for (propValue$
|
13650
|
-
props.hasOwnProperty(propValue$
|
13651
|
-
((hasSrc = props[propValue$
|
13660
|
+
for (propValue$202 in props)
|
13661
|
+
props.hasOwnProperty(propValue$202) &&
|
13662
|
+
((hasSrc = props[propValue$202]),
|
13652
13663
|
void 0 !== hasSrc &&
|
13653
13664
|
setPropOnCustomElement(
|
13654
13665
|
domElement,
|
13655
13666
|
tag,
|
13656
|
-
propValue$
|
13667
|
+
propValue$202,
|
13657
13668
|
hasSrc,
|
13658
13669
|
props,
|
13659
13670
|
void 0
|
@@ -13701,14 +13712,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13701
13712
|
setProp(domElement, tag, propKey, null, nextProps, lastProp);
|
13702
13713
|
}
|
13703
13714
|
}
|
13704
|
-
for (var propKey$
|
13705
|
-
var propKey = nextProps[propKey$
|
13706
|
-
lastProp = lastProps[propKey$
|
13715
|
+
for (var propKey$219 in nextProps) {
|
13716
|
+
var propKey = nextProps[propKey$219];
|
13717
|
+
lastProp = lastProps[propKey$219];
|
13707
13718
|
if (
|
13708
|
-
nextProps.hasOwnProperty(propKey$
|
13719
|
+
nextProps.hasOwnProperty(propKey$219) &&
|
13709
13720
|
(null != propKey || null != lastProp)
|
13710
13721
|
)
|
13711
|
-
switch (propKey$
|
13722
|
+
switch (propKey$219) {
|
13712
13723
|
case "type":
|
13713
13724
|
type = propKey;
|
13714
13725
|
break;
|
@@ -13737,7 +13748,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13737
13748
|
setProp(
|
13738
13749
|
domElement,
|
13739
13750
|
tag,
|
13740
|
-
propKey$
|
13751
|
+
propKey$219,
|
13741
13752
|
propKey,
|
13742
13753
|
nextProps,
|
13743
13754
|
lastProp
|
@@ -13756,7 +13767,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13756
13767
|
);
|
13757
13768
|
return;
|
13758
13769
|
case "select":
|
13759
|
-
propKey = value = defaultValue = propKey$
|
13770
|
+
propKey = value = defaultValue = propKey$219 = null;
|
13760
13771
|
for (type in lastProps)
|
13761
13772
|
if (
|
13762
13773
|
((lastDefaultValue = lastProps[type]),
|
@@ -13787,7 +13798,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13787
13798
|
)
|
13788
13799
|
switch (name) {
|
13789
13800
|
case "value":
|
13790
|
-
propKey$
|
13801
|
+
propKey$219 = type;
|
13791
13802
|
break;
|
13792
13803
|
case "defaultValue":
|
13793
13804
|
defaultValue = type;
|
@@ -13808,15 +13819,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13808
13819
|
tag = defaultValue;
|
13809
13820
|
lastProps = value;
|
13810
13821
|
nextProps = propKey;
|
13811
|
-
null != propKey$
|
13812
|
-
? updateOptions(domElement, !!lastProps, propKey$
|
13822
|
+
null != propKey$219
|
13823
|
+
? updateOptions(domElement, !!lastProps, propKey$219, !1)
|
13813
13824
|
: !!nextProps !== !!lastProps &&
|
13814
13825
|
(null != tag
|
13815
13826
|
? updateOptions(domElement, !!lastProps, tag, !0)
|
13816
13827
|
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
|
13817
13828
|
return;
|
13818
13829
|
case "textarea":
|
13819
|
-
propKey = propKey$
|
13830
|
+
propKey = propKey$219 = null;
|
13820
13831
|
for (defaultValue in lastProps)
|
13821
13832
|
if (
|
13822
13833
|
((name = lastProps[defaultValue]),
|
@@ -13840,7 +13851,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13840
13851
|
)
|
13841
13852
|
switch (value) {
|
13842
13853
|
case "value":
|
13843
|
-
propKey$
|
13854
|
+
propKey$219 = name;
|
13844
13855
|
break;
|
13845
13856
|
case "defaultValue":
|
13846
13857
|
propKey = name;
|
@@ -13854,17 +13865,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13854
13865
|
name !== type &&
|
13855
13866
|
setProp(domElement, tag, value, name, nextProps, type);
|
13856
13867
|
}
|
13857
|
-
updateTextarea(domElement, propKey$
|
13868
|
+
updateTextarea(domElement, propKey$219, propKey);
|
13858
13869
|
return;
|
13859
13870
|
case "option":
|
13860
|
-
for (var propKey$
|
13871
|
+
for (var propKey$235 in lastProps)
|
13861
13872
|
if (
|
13862
|
-
((propKey$
|
13863
|
-
lastProps.hasOwnProperty(propKey$
|
13864
|
-
null != propKey$
|
13865
|
-
!nextProps.hasOwnProperty(propKey$
|
13873
|
+
((propKey$219 = lastProps[propKey$235]),
|
13874
|
+
lastProps.hasOwnProperty(propKey$235) &&
|
13875
|
+
null != propKey$219 &&
|
13876
|
+
!nextProps.hasOwnProperty(propKey$235))
|
13866
13877
|
)
|
13867
|
-
switch (propKey$
|
13878
|
+
switch (propKey$235) {
|
13868
13879
|
case "selected":
|
13869
13880
|
domElement.selected = !1;
|
13870
13881
|
break;
|
@@ -13872,33 +13883,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13872
13883
|
setProp(
|
13873
13884
|
domElement,
|
13874
13885
|
tag,
|
13875
|
-
propKey$
|
13886
|
+
propKey$235,
|
13876
13887
|
null,
|
13877
13888
|
nextProps,
|
13878
|
-
propKey$
|
13889
|
+
propKey$219
|
13879
13890
|
);
|
13880
13891
|
}
|
13881
13892
|
for (lastDefaultValue in nextProps)
|
13882
13893
|
if (
|
13883
|
-
((propKey$
|
13894
|
+
((propKey$219 = nextProps[lastDefaultValue]),
|
13884
13895
|
(propKey = lastProps[lastDefaultValue]),
|
13885
13896
|
nextProps.hasOwnProperty(lastDefaultValue) &&
|
13886
|
-
propKey$
|
13887
|
-
(null != propKey$
|
13897
|
+
propKey$219 !== propKey &&
|
13898
|
+
(null != propKey$219 || null != propKey))
|
13888
13899
|
)
|
13889
13900
|
switch (lastDefaultValue) {
|
13890
13901
|
case "selected":
|
13891
13902
|
domElement.selected =
|
13892
|
-
propKey$
|
13893
|
-
"function" !== typeof propKey$
|
13894
|
-
"symbol" !== typeof propKey$
|
13903
|
+
propKey$219 &&
|
13904
|
+
"function" !== typeof propKey$219 &&
|
13905
|
+
"symbol" !== typeof propKey$219;
|
13895
13906
|
break;
|
13896
13907
|
default:
|
13897
13908
|
setProp(
|
13898
13909
|
domElement,
|
13899
13910
|
tag,
|
13900
13911
|
lastDefaultValue,
|
13901
|
-
propKey$
|
13912
|
+
propKey$219,
|
13902
13913
|
nextProps,
|
13903
13914
|
propKey
|
13904
13915
|
);
|
@@ -13919,24 +13930,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13919
13930
|
case "track":
|
13920
13931
|
case "wbr":
|
13921
13932
|
case "menuitem":
|
13922
|
-
for (var propKey$
|
13923
|
-
(propKey$
|
13924
|
-
lastProps.hasOwnProperty(propKey$
|
13925
|
-
null != propKey$
|
13926
|
-
!nextProps.hasOwnProperty(propKey$
|
13927
|
-
setProp(domElement, tag, propKey$
|
13933
|
+
for (var propKey$240 in lastProps)
|
13934
|
+
(propKey$219 = lastProps[propKey$240]),
|
13935
|
+
lastProps.hasOwnProperty(propKey$240) &&
|
13936
|
+
null != propKey$219 &&
|
13937
|
+
!nextProps.hasOwnProperty(propKey$240) &&
|
13938
|
+
setProp(domElement, tag, propKey$240, null, nextProps, propKey$219);
|
13928
13939
|
for (checked in nextProps)
|
13929
13940
|
if (
|
13930
|
-
((propKey$
|
13941
|
+
((propKey$219 = nextProps[checked]),
|
13931
13942
|
(propKey = lastProps[checked]),
|
13932
13943
|
nextProps.hasOwnProperty(checked) &&
|
13933
|
-
propKey$
|
13934
|
-
(null != propKey$
|
13944
|
+
propKey$219 !== propKey &&
|
13945
|
+
(null != propKey$219 || null != propKey))
|
13935
13946
|
)
|
13936
13947
|
switch (checked) {
|
13937
13948
|
case "children":
|
13938
13949
|
case "dangerouslySetInnerHTML":
|
13939
|
-
if (null != propKey$
|
13950
|
+
if (null != propKey$219)
|
13940
13951
|
throw Error(formatProdErrorMessage(137, tag));
|
13941
13952
|
break;
|
13942
13953
|
default:
|
@@ -13944,7 +13955,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13944
13955
|
domElement,
|
13945
13956
|
tag,
|
13946
13957
|
checked,
|
13947
|
-
propKey$
|
13958
|
+
propKey$219,
|
13948
13959
|
nextProps,
|
13949
13960
|
propKey
|
13950
13961
|
);
|
@@ -13952,49 +13963,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13952
13963
|
return;
|
13953
13964
|
default:
|
13954
13965
|
if (isCustomElement(tag)) {
|
13955
|
-
for (var propKey$
|
13956
|
-
(propKey$
|
13957
|
-
lastProps.hasOwnProperty(propKey$
|
13958
|
-
void 0 !== propKey$
|
13959
|
-
!nextProps.hasOwnProperty(propKey$
|
13966
|
+
for (var propKey$245 in lastProps)
|
13967
|
+
(propKey$219 = lastProps[propKey$245]),
|
13968
|
+
lastProps.hasOwnProperty(propKey$245) &&
|
13969
|
+
void 0 !== propKey$219 &&
|
13970
|
+
!nextProps.hasOwnProperty(propKey$245) &&
|
13960
13971
|
setPropOnCustomElement(
|
13961
13972
|
domElement,
|
13962
13973
|
tag,
|
13963
|
-
propKey$
|
13974
|
+
propKey$245,
|
13964
13975
|
void 0,
|
13965
13976
|
nextProps,
|
13966
|
-
propKey$
|
13977
|
+
propKey$219
|
13967
13978
|
);
|
13968
13979
|
for (defaultChecked in nextProps)
|
13969
|
-
(propKey$
|
13980
|
+
(propKey$219 = nextProps[defaultChecked]),
|
13970
13981
|
(propKey = lastProps[defaultChecked]),
|
13971
13982
|
!nextProps.hasOwnProperty(defaultChecked) ||
|
13972
|
-
propKey$
|
13973
|
-
(void 0 === propKey$
|
13983
|
+
propKey$219 === propKey ||
|
13984
|
+
(void 0 === propKey$219 && void 0 === propKey) ||
|
13974
13985
|
setPropOnCustomElement(
|
13975
13986
|
domElement,
|
13976
13987
|
tag,
|
13977
13988
|
defaultChecked,
|
13978
|
-
propKey$
|
13989
|
+
propKey$219,
|
13979
13990
|
nextProps,
|
13980
13991
|
propKey
|
13981
13992
|
);
|
13982
13993
|
return;
|
13983
13994
|
}
|
13984
13995
|
}
|
13985
|
-
for (var propKey$
|
13986
|
-
(propKey$
|
13987
|
-
lastProps.hasOwnProperty(propKey$
|
13988
|
-
null != propKey$
|
13989
|
-
!nextProps.hasOwnProperty(propKey$
|
13990
|
-
setProp(domElement, tag, propKey$
|
13996
|
+
for (var propKey$250 in lastProps)
|
13997
|
+
(propKey$219 = lastProps[propKey$250]),
|
13998
|
+
lastProps.hasOwnProperty(propKey$250) &&
|
13999
|
+
null != propKey$219 &&
|
14000
|
+
!nextProps.hasOwnProperty(propKey$250) &&
|
14001
|
+
setProp(domElement, tag, propKey$250, null, nextProps, propKey$219);
|
13991
14002
|
for (lastProp in nextProps)
|
13992
|
-
(propKey$
|
14003
|
+
(propKey$219 = nextProps[lastProp]),
|
13993
14004
|
(propKey = lastProps[lastProp]),
|
13994
14005
|
!nextProps.hasOwnProperty(lastProp) ||
|
13995
|
-
propKey$
|
13996
|
-
(null == propKey$
|
13997
|
-
setProp(domElement, tag, lastProp, propKey$
|
14006
|
+
propKey$219 === propKey ||
|
14007
|
+
(null == propKey$219 && null == propKey) ||
|
14008
|
+
setProp(domElement, tag, lastProp, propKey$219, nextProps, propKey);
|
13998
14009
|
}
|
13999
14010
|
var eventsEnabled = null,
|
14000
14011
|
selectionInformation = null;
|
@@ -14558,26 +14569,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
|
14558
14569
|
"string" === typeof pendingProps.precedence
|
14559
14570
|
) {
|
14560
14571
|
type = getStyleKey(pendingProps.href);
|
14561
|
-
var styles$
|
14572
|
+
var styles$258 = getResourcesFromRoot(
|
14562
14573
|
JSCompiler_inline_result
|
14563
14574
|
).hoistableStyles,
|
14564
|
-
resource$
|
14565
|
-
resource$
|
14575
|
+
resource$259 = styles$258.get(type);
|
14576
|
+
resource$259 ||
|
14566
14577
|
((JSCompiler_inline_result =
|
14567
14578
|
JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
|
14568
|
-
(resource$
|
14579
|
+
(resource$259 = {
|
14569
14580
|
type: "stylesheet",
|
14570
14581
|
instance: null,
|
14571
14582
|
count: 0,
|
14572
14583
|
state: { loading: 0, preload: null }
|
14573
14584
|
}),
|
14574
|
-
styles$
|
14575
|
-
(styles$
|
14585
|
+
styles$258.set(type, resource$259),
|
14586
|
+
(styles$258 = JSCompiler_inline_result.querySelector(
|
14576
14587
|
getStylesheetSelectorFromKey(type)
|
14577
14588
|
)) &&
|
14578
|
-
!styles$
|
14579
|
-
((resource$
|
14580
|
-
(resource$
|
14589
|
+
!styles$258._p &&
|
14590
|
+
((resource$259.instance = styles$258),
|
14591
|
+
(resource$259.state.loading = 5)),
|
14581
14592
|
preloadPropsMap.has(type) ||
|
14582
14593
|
((pendingProps = {
|
14583
14594
|
rel: "preload",
|
@@ -14590,16 +14601,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
|
14590
14601
|
referrerPolicy: pendingProps.referrerPolicy
|
14591
14602
|
}),
|
14592
14603
|
preloadPropsMap.set(type, pendingProps),
|
14593
|
-
styles$
|
14604
|
+
styles$258 ||
|
14594
14605
|
preloadStylesheet(
|
14595
14606
|
JSCompiler_inline_result,
|
14596
14607
|
type,
|
14597
14608
|
pendingProps,
|
14598
|
-
resource$
|
14609
|
+
resource$259.state
|
14599
14610
|
)));
|
14600
14611
|
if (currentProps && null === currentResource)
|
14601
14612
|
throw Error(formatProdErrorMessage(528, ""));
|
14602
|
-
return resource$
|
14613
|
+
return resource$259;
|
14603
14614
|
}
|
14604
14615
|
if (currentProps && null !== currentResource)
|
14605
14616
|
throw Error(formatProdErrorMessage(529, ""));
|
@@ -14696,37 +14707,37 @@ function acquireResource(hoistableRoot, resource, props) {
|
|
14696
14707
|
return (resource.instance = instance);
|
14697
14708
|
case "stylesheet":
|
14698
14709
|
styleProps = getStyleKey(props.href);
|
14699
|
-
var instance$
|
14710
|
+
var instance$264 = hoistableRoot.querySelector(
|
14700
14711
|
getStylesheetSelectorFromKey(styleProps)
|
14701
14712
|
);
|
14702
|
-
if (instance$
|
14713
|
+
if (instance$264)
|
14703
14714
|
return (
|
14704
14715
|
(resource.state.loading |= 4),
|
14705
|
-
(resource.instance = instance$
|
14706
|
-
markNodeAsHoistable(instance$
|
14707
|
-
instance$
|
14716
|
+
(resource.instance = instance$264),
|
14717
|
+
markNodeAsHoistable(instance$264),
|
14718
|
+
instance$264
|
14708
14719
|
);
|
14709
14720
|
instance = stylesheetPropsFromRawProps(props);
|
14710
14721
|
(styleProps = preloadPropsMap.get(styleProps)) &&
|
14711
14722
|
adoptPreloadPropsForStylesheet(instance, styleProps);
|
14712
|
-
instance$
|
14723
|
+
instance$264 = (
|
14713
14724
|
hoistableRoot.ownerDocument || hoistableRoot
|
14714
14725
|
).createElement("link");
|
14715
|
-
markNodeAsHoistable(instance$
|
14716
|
-
var linkInstance = instance$
|
14726
|
+
markNodeAsHoistable(instance$264);
|
14727
|
+
var linkInstance = instance$264;
|
14717
14728
|
linkInstance._p = new Promise(function (resolve, reject) {
|
14718
14729
|
linkInstance.onload = resolve;
|
14719
14730
|
linkInstance.onerror = reject;
|
14720
14731
|
});
|
14721
|
-
setInitialProperties(instance$
|
14732
|
+
setInitialProperties(instance$264, "link", instance);
|
14722
14733
|
resource.state.loading |= 4;
|
14723
|
-
insertStylesheet(instance$
|
14724
|
-
return (resource.instance = instance$
|
14734
|
+
insertStylesheet(instance$264, props.precedence, hoistableRoot);
|
14735
|
+
return (resource.instance = instance$264);
|
14725
14736
|
case "script":
|
14726
|
-
instance$
|
14737
|
+
instance$264 = getScriptKey(props.src);
|
14727
14738
|
if (
|
14728
14739
|
(styleProps = hoistableRoot.querySelector(
|
14729
|
-
getScriptSelectorFromKey(instance$
|
14740
|
+
getScriptSelectorFromKey(instance$264)
|
14730
14741
|
))
|
14731
14742
|
)
|
14732
14743
|
return (
|
@@ -14735,7 +14746,7 @@ function acquireResource(hoistableRoot, resource, props) {
|
|
14735
14746
|
styleProps
|
14736
14747
|
);
|
14737
14748
|
instance = props;
|
14738
|
-
if ((styleProps = preloadPropsMap.get(instance$
|
14749
|
+
if ((styleProps = preloadPropsMap.get(instance$264)))
|
14739
14750
|
(instance = assign({}, props)),
|
14740
14751
|
adoptPreloadPropsForScript(instance, styleProps);
|
14741
14752
|
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
|
@@ -15039,11 +15050,7 @@ function FiberRootNode(
|
|
15039
15050
|
) {
|
15040
15051
|
this.tag = 1;
|
15041
15052
|
this.containerInfo = containerInfo;
|
15042
|
-
this.
|
15043
|
-
this.pingCache =
|
15044
|
-
this.current =
|
15045
|
-
this.pendingChildren =
|
15046
|
-
null;
|
15053
|
+
this.pingCache = this.current = this.pendingChildren = null;
|
15047
15054
|
this.timeoutHandle = -1;
|
15048
15055
|
this.callbackNode =
|
15049
15056
|
this.next =
|
@@ -15056,7 +15063,6 @@ function FiberRootNode(
|
|
15056
15063
|
this.entangledLanes =
|
15057
15064
|
this.shellSuspendCounter =
|
15058
15065
|
this.errorRecoveryDisabledLanes =
|
15059
|
-
this.finishedLanes =
|
15060
15066
|
this.expiredLanes =
|
15061
15067
|
this.warmLanes =
|
15062
15068
|
this.pingedLanes =
|
@@ -15779,16 +15785,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15779
15785
|
0 === i && attemptExplicitHydrationTarget(target);
|
15780
15786
|
}
|
15781
15787
|
};
|
15782
|
-
var isomorphicReactPackageVersion$jscomp$
|
15788
|
+
var isomorphicReactPackageVersion$jscomp$inline_1802 = React.version;
|
15783
15789
|
if (
|
15784
|
-
"19.1.0-canary-
|
15785
|
-
isomorphicReactPackageVersion$jscomp$
|
15790
|
+
"19.1.0-canary-3b009b4c-20250102" !==
|
15791
|
+
isomorphicReactPackageVersion$jscomp$inline_1802
|
15786
15792
|
)
|
15787
15793
|
throw Error(
|
15788
15794
|
formatProdErrorMessage(
|
15789
15795
|
527,
|
15790
|
-
isomorphicReactPackageVersion$jscomp$
|
15791
|
-
"19.1.0-canary-
|
15796
|
+
isomorphicReactPackageVersion$jscomp$inline_1802,
|
15797
|
+
"19.1.0-canary-3b009b4c-20250102"
|
15792
15798
|
)
|
15793
15799
|
);
|
15794
15800
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15808,17 +15814,17 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15808
15814
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
15809
15815
|
return componentOrElement;
|
15810
15816
|
};
|
15811
|
-
var internals$jscomp$
|
15817
|
+
var internals$jscomp$inline_1809 = {
|
15812
15818
|
bundleType: 0,
|
15813
|
-
version: "19.1.0-canary-
|
15819
|
+
version: "19.1.0-canary-3b009b4c-20250102",
|
15814
15820
|
rendererPackageName: "react-dom",
|
15815
15821
|
currentDispatcherRef: ReactSharedInternals,
|
15816
|
-
reconcilerVersion: "19.1.0-canary-
|
15822
|
+
reconcilerVersion: "19.1.0-canary-3b009b4c-20250102",
|
15817
15823
|
getLaneLabelMap: function () {
|
15818
15824
|
for (
|
15819
|
-
var map = new Map(), lane = 1, index$
|
15820
|
-
31 > index$
|
15821
|
-
index$
|
15825
|
+
var map = new Map(), lane = 1, index$281 = 0;
|
15826
|
+
31 > index$281;
|
15827
|
+
index$281++
|
15822
15828
|
) {
|
15823
15829
|
var label = getLabelForLane(lane);
|
15824
15830
|
map.set(lane, label);
|
@@ -15831,16 +15837,16 @@ var internals$jscomp$inline_1777 = {
|
|
15831
15837
|
}
|
15832
15838
|
};
|
15833
15839
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
15834
|
-
var hook$jscomp$
|
15840
|
+
var hook$jscomp$inline_2239 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
15835
15841
|
if (
|
15836
|
-
!hook$jscomp$
|
15837
|
-
hook$jscomp$
|
15842
|
+
!hook$jscomp$inline_2239.isDisabled &&
|
15843
|
+
hook$jscomp$inline_2239.supportsFiber
|
15838
15844
|
)
|
15839
15845
|
try {
|
15840
|
-
(rendererID = hook$jscomp$
|
15841
|
-
internals$jscomp$
|
15846
|
+
(rendererID = hook$jscomp$inline_2239.inject(
|
15847
|
+
internals$jscomp$inline_1809
|
15842
15848
|
)),
|
15843
|
-
(injectedHook = hook$jscomp$
|
15849
|
+
(injectedHook = hook$jscomp$inline_2239);
|
15844
15850
|
} catch (err) {}
|
15845
15851
|
}
|
15846
15852
|
function noop() {}
|
@@ -16095,7 +16101,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
16095
16101
|
exports.useFormStatus = function () {
|
16096
16102
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
16097
16103
|
};
|
16098
|
-
exports.version = "19.1.0-canary-
|
16104
|
+
exports.version = "19.1.0-canary-3b009b4c-20250102";
|
16099
16105
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
16100
16106
|
"function" ===
|
16101
16107
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|