react-dom 19.1.0-canary-3ce77d55-20250106 → 19.1.0-canary-42687267-20250108
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 +524 -509
- package/cjs/react-dom-client.production.js +413 -382
- package/cjs/react-dom-profiling.development.js +524 -509
- package/cjs/react-dom-profiling.profiling.js +458 -427
- 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
@@ -2096,19 +2096,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
|
|
2096
2096
|
}
|
2097
2097
|
var isInputEventSupported = !1;
|
2098
2098
|
if (canUseDOM) {
|
2099
|
-
var JSCompiler_inline_result$jscomp$
|
2099
|
+
var JSCompiler_inline_result$jscomp$296;
|
2100
2100
|
if (canUseDOM) {
|
2101
|
-
var isSupported$jscomp$
|
2102
|
-
if (!isSupported$jscomp$
|
2103
|
-
var element$jscomp$
|
2104
|
-
element$jscomp$
|
2105
|
-
isSupported$jscomp$
|
2106
|
-
"function" === typeof element$jscomp$
|
2101
|
+
var isSupported$jscomp$inline_428 = "oninput" in document;
|
2102
|
+
if (!isSupported$jscomp$inline_428) {
|
2103
|
+
var element$jscomp$inline_429 = document.createElement("div");
|
2104
|
+
element$jscomp$inline_429.setAttribute("oninput", "return;");
|
2105
|
+
isSupported$jscomp$inline_428 =
|
2106
|
+
"function" === typeof element$jscomp$inline_429.oninput;
|
2107
2107
|
}
|
2108
|
-
JSCompiler_inline_result$jscomp$
|
2109
|
-
} else JSCompiler_inline_result$jscomp$
|
2108
|
+
JSCompiler_inline_result$jscomp$296 = isSupported$jscomp$inline_428;
|
2109
|
+
} else JSCompiler_inline_result$jscomp$296 = !1;
|
2110
2110
|
isInputEventSupported =
|
2111
|
-
JSCompiler_inline_result$jscomp$
|
2111
|
+
JSCompiler_inline_result$jscomp$296 &&
|
2112
2112
|
(!document.documentMode || 9 < document.documentMode);
|
2113
2113
|
}
|
2114
2114
|
function stopWatchingForValueChange() {
|
@@ -10679,10 +10679,13 @@ var DefaultAsyncDispatcher = {
|
|
10679
10679
|
workInProgressRootRenderTargetTime = Infinity,
|
10680
10680
|
workInProgressTransitions = null,
|
10681
10681
|
legacyErrorBoundariesThatAlreadyFailed = null,
|
10682
|
-
|
10683
|
-
|
10684
|
-
|
10682
|
+
pendingEffectsStatus = 0,
|
10683
|
+
pendingEffectsRoot = null,
|
10684
|
+
pendingFinishedWork = null,
|
10685
|
+
pendingEffectsLanes = 0,
|
10686
|
+
pendingEffectsRemainingLanes = 0,
|
10685
10687
|
pendingPassiveTransitions = null,
|
10688
|
+
pendingRecoverableErrors = null,
|
10686
10689
|
nestedUpdateCount = 0,
|
10687
10690
|
rootWithNestedUpdates = null;
|
10688
10691
|
function requestUpdateLane() {
|
@@ -11550,8 +11553,8 @@ function commitRoot(
|
|
11550
11553
|
suspendedRetryLanes
|
11551
11554
|
) {
|
11552
11555
|
root.cancelPendingCommit = null;
|
11553
|
-
do
|
11554
|
-
while (
|
11556
|
+
do flushPendingEffects();
|
11557
|
+
while (0 !== pendingEffectsStatus);
|
11555
11558
|
if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));
|
11556
11559
|
null !== injectedProfilingHooks &&
|
11557
11560
|
"function" === typeof injectedProfilingHooks.markCommitStarted &&
|
@@ -11572,11 +11575,15 @@ function commitRoot(
|
|
11572
11575
|
root === workInProgressRoot &&
|
11573
11576
|
((workInProgress = workInProgressRoot = null),
|
11574
11577
|
(workInProgressRootRenderLanes = 0));
|
11578
|
+
pendingFinishedWork = finishedWork;
|
11579
|
+
pendingEffectsRoot = root;
|
11580
|
+
pendingEffectsLanes = lanes;
|
11581
|
+
pendingEffectsRemainingLanes = didIncludeRenderPhaseUpdate;
|
11582
|
+
pendingPassiveTransitions = transitions;
|
11583
|
+
pendingRecoverableErrors = recoverableErrors;
|
11575
11584
|
0 !== (finishedWork.subtreeFlags & 10256) ||
|
11576
11585
|
0 !== (finishedWork.flags & 10256)
|
11577
|
-
? ((
|
11578
|
-
(pendingPassiveTransitions = transitions),
|
11579
|
-
(root.callbackNode = null),
|
11586
|
+
? ((root.callbackNode = null),
|
11580
11587
|
(root.callbackPriority = 0),
|
11581
11588
|
scheduleCallback$1(NormalPriority$1, function () {
|
11582
11589
|
flushPassiveEffects(!0);
|
@@ -11584,238 +11591,260 @@ function commitRoot(
|
|
11584
11591
|
}))
|
11585
11592
|
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
11586
11593
|
commitStartTime = now();
|
11587
|
-
|
11588
|
-
if (0 !== (finishedWork.subtreeFlags & 13878) ||
|
11589
|
-
|
11594
|
+
lanes = 0 !== (finishedWork.flags & 13878);
|
11595
|
+
if (0 !== (finishedWork.subtreeFlags & 13878) || lanes) {
|
11596
|
+
lanes = ReactSharedInternals.T;
|
11590
11597
|
ReactSharedInternals.T = null;
|
11591
|
-
|
11598
|
+
recoverableErrors = ReactDOMSharedInternals.p;
|
11592
11599
|
ReactDOMSharedInternals.p = 2;
|
11593
|
-
|
11600
|
+
transitions = executionContext;
|
11594
11601
|
executionContext |= 4;
|
11595
11602
|
try {
|
11596
11603
|
commitBeforeMutationEffects(root, finishedWork);
|
11597
11604
|
} finally {
|
11598
|
-
(executionContext =
|
11599
|
-
(ReactDOMSharedInternals.p =
|
11600
|
-
(ReactSharedInternals.T =
|
11605
|
+
(executionContext = transitions),
|
11606
|
+
(ReactDOMSharedInternals.p = recoverableErrors),
|
11607
|
+
(ReactSharedInternals.T = lanes);
|
11601
11608
|
}
|
11602
11609
|
}
|
11603
|
-
|
11604
|
-
|
11605
|
-
|
11606
|
-
}
|
11607
|
-
|
11608
|
-
|
11609
|
-
if (
|
11610
|
-
|
11611
|
-
|
11612
|
-
|
11613
|
-
|
11614
|
-
|
11615
|
-
|
11616
|
-
|
11617
|
-
|
11618
|
-
|
11619
|
-
|
11620
|
-
|
11621
|
-
|
11622
|
-
|
11623
|
-
|
11624
|
-
|
11625
|
-
|
11626
|
-
|
11627
|
-
|
11628
|
-
|
11629
|
-
|
11630
|
-
|
11631
|
-
priorFocusedElem
|
11632
|
-
)
|
11633
|
-
) {
|
11610
|
+
pendingEffectsStatus = 1;
|
11611
|
+
flushMutationEffects();
|
11612
|
+
flushLayoutEffects();
|
11613
|
+
}
|
11614
|
+
}
|
11615
|
+
function flushMutationEffects() {
|
11616
|
+
if (1 === pendingEffectsStatus) {
|
11617
|
+
pendingEffectsStatus = 0;
|
11618
|
+
var root = pendingEffectsRoot,
|
11619
|
+
finishedWork = pendingFinishedWork,
|
11620
|
+
lanes = pendingEffectsLanes,
|
11621
|
+
rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
|
11622
|
+
if (0 !== (finishedWork.subtreeFlags & 13878) || rootMutationHasEffect) {
|
11623
|
+
rootMutationHasEffect = ReactSharedInternals.T;
|
11624
|
+
ReactSharedInternals.T = null;
|
11625
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
11626
|
+
ReactDOMSharedInternals.p = 2;
|
11627
|
+
var prevExecutionContext = executionContext;
|
11628
|
+
executionContext |= 4;
|
11629
|
+
try {
|
11630
|
+
inProgressLanes = lanes;
|
11631
|
+
inProgressRoot = root;
|
11632
|
+
commitMutationEffectsOnFiber(finishedWork, root);
|
11633
|
+
inProgressRoot = inProgressLanes = null;
|
11634
|
+
lanes = selectionInformation;
|
11635
|
+
var curFocusedElem = getActiveElementDeep(root.containerInfo),
|
11636
|
+
priorFocusedElem = lanes.focusedElem,
|
11637
|
+
priorSelectionRange = lanes.selectionRange;
|
11634
11638
|
if (
|
11635
|
-
|
11636
|
-
|
11639
|
+
curFocusedElem !== priorFocusedElem &&
|
11640
|
+
priorFocusedElem &&
|
11641
|
+
priorFocusedElem.ownerDocument &&
|
11642
|
+
containsNode(
|
11643
|
+
priorFocusedElem.ownerDocument.documentElement,
|
11644
|
+
priorFocusedElem
|
11645
|
+
)
|
11637
11646
|
) {
|
11638
|
-
|
11639
|
-
|
11640
|
-
|
11641
|
-
|
11642
|
-
|
11643
|
-
|
11644
|
-
|
11645
|
-
|
11646
|
-
)
|
11647
|
-
|
11648
|
-
|
11649
|
-
|
11650
|
-
|
11651
|
-
|
11652
|
-
|
11653
|
-
|
11654
|
-
|
11655
|
-
|
11656
|
-
|
11657
|
-
|
11658
|
-
|
11659
|
-
|
11660
|
-
|
11661
|
-
|
11662
|
-
|
11663
|
-
|
11664
|
-
|
11665
|
-
start$jscomp$0
|
11666
|
-
|
11667
|
-
|
11668
|
-
|
11669
|
-
|
11670
|
-
|
11671
|
-
|
11672
|
-
|
11673
|
-
|
11674
|
-
|
11675
|
-
|
11676
|
-
|
11677
|
-
|
11678
|
-
|
11679
|
-
|
11680
|
-
|
11681
|
-
|
11682
|
-
|
11683
|
-
|
11684
|
-
|
11685
|
-
|
11686
|
-
|
11687
|
-
|
11647
|
+
if (
|
11648
|
+
null !== priorSelectionRange &&
|
11649
|
+
hasSelectionCapabilities(priorFocusedElem)
|
11650
|
+
) {
|
11651
|
+
var start = priorSelectionRange.start,
|
11652
|
+
end = priorSelectionRange.end;
|
11653
|
+
void 0 === end && (end = start);
|
11654
|
+
if ("selectionStart" in priorFocusedElem)
|
11655
|
+
(priorFocusedElem.selectionStart = start),
|
11656
|
+
(priorFocusedElem.selectionEnd = Math.min(
|
11657
|
+
end,
|
11658
|
+
priorFocusedElem.value.length
|
11659
|
+
));
|
11660
|
+
else {
|
11661
|
+
var doc = priorFocusedElem.ownerDocument || document,
|
11662
|
+
win = (doc && doc.defaultView) || window;
|
11663
|
+
if (win.getSelection) {
|
11664
|
+
var selection = win.getSelection(),
|
11665
|
+
length = priorFocusedElem.textContent.length,
|
11666
|
+
start$jscomp$0 = Math.min(priorSelectionRange.start, length),
|
11667
|
+
end$jscomp$0 =
|
11668
|
+
void 0 === priorSelectionRange.end
|
11669
|
+
? start$jscomp$0
|
11670
|
+
: Math.min(priorSelectionRange.end, length);
|
11671
|
+
!selection.extend &&
|
11672
|
+
start$jscomp$0 > end$jscomp$0 &&
|
11673
|
+
((curFocusedElem = end$jscomp$0),
|
11674
|
+
(end$jscomp$0 = start$jscomp$0),
|
11675
|
+
(start$jscomp$0 = curFocusedElem));
|
11676
|
+
var startMarker = getNodeForCharacterOffset(
|
11677
|
+
priorFocusedElem,
|
11678
|
+
start$jscomp$0
|
11679
|
+
),
|
11680
|
+
endMarker = getNodeForCharacterOffset(
|
11681
|
+
priorFocusedElem,
|
11682
|
+
end$jscomp$0
|
11683
|
+
);
|
11684
|
+
if (
|
11685
|
+
startMarker &&
|
11686
|
+
endMarker &&
|
11687
|
+
(1 !== selection.rangeCount ||
|
11688
|
+
selection.anchorNode !== startMarker.node ||
|
11689
|
+
selection.anchorOffset !== startMarker.offset ||
|
11690
|
+
selection.focusNode !== endMarker.node ||
|
11691
|
+
selection.focusOffset !== endMarker.offset)
|
11692
|
+
) {
|
11693
|
+
var range = doc.createRange();
|
11694
|
+
range.setStart(startMarker.node, startMarker.offset);
|
11695
|
+
selection.removeAllRanges();
|
11696
|
+
start$jscomp$0 > end$jscomp$0
|
11697
|
+
? (selection.addRange(range),
|
11698
|
+
selection.extend(endMarker.node, endMarker.offset))
|
11699
|
+
: (range.setEnd(endMarker.node, endMarker.offset),
|
11700
|
+
selection.addRange(range));
|
11701
|
+
}
|
11688
11702
|
}
|
11689
11703
|
}
|
11690
11704
|
}
|
11705
|
+
doc = [];
|
11706
|
+
for (
|
11707
|
+
selection = priorFocusedElem;
|
11708
|
+
(selection = selection.parentNode);
|
11709
|
+
|
11710
|
+
)
|
11711
|
+
1 === selection.nodeType &&
|
11712
|
+
doc.push({
|
11713
|
+
element: selection,
|
11714
|
+
left: selection.scrollLeft,
|
11715
|
+
top: selection.scrollTop
|
11716
|
+
});
|
11717
|
+
"function" === typeof priorFocusedElem.focus &&
|
11718
|
+
priorFocusedElem.focus();
|
11719
|
+
for (
|
11720
|
+
priorFocusedElem = 0;
|
11721
|
+
priorFocusedElem < doc.length;
|
11722
|
+
priorFocusedElem++
|
11723
|
+
) {
|
11724
|
+
var info = doc[priorFocusedElem];
|
11725
|
+
info.element.scrollLeft = info.left;
|
11726
|
+
info.element.scrollTop = info.top;
|
11727
|
+
}
|
11691
11728
|
}
|
11692
|
-
|
11693
|
-
|
11694
|
-
|
11695
|
-
|
11696
|
-
|
11697
|
-
|
11698
|
-
top: selection.scrollTop
|
11699
|
-
});
|
11700
|
-
"function" === typeof priorFocusedElem.focus &&
|
11701
|
-
priorFocusedElem.focus();
|
11702
|
-
for (
|
11703
|
-
priorFocusedElem = 0;
|
11704
|
-
priorFocusedElem < doc.length;
|
11705
|
-
priorFocusedElem++
|
11706
|
-
) {
|
11707
|
-
var info = doc[priorFocusedElem];
|
11708
|
-
info.element.scrollLeft = info.left;
|
11709
|
-
info.element.scrollTop = info.top;
|
11710
|
-
}
|
11729
|
+
_enabled = !!eventsEnabled;
|
11730
|
+
selectionInformation = eventsEnabled = null;
|
11731
|
+
} finally {
|
11732
|
+
(executionContext = prevExecutionContext),
|
11733
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
11734
|
+
(ReactSharedInternals.T = rootMutationHasEffect);
|
11711
11735
|
}
|
11712
|
-
_enabled = !!eventsEnabled;
|
11713
|
-
selectionInformation = eventsEnabled = null;
|
11714
|
-
} finally {
|
11715
|
-
(executionContext = prevExecutionContext),
|
11716
|
-
(ReactDOMSharedInternals.p = previousPriority),
|
11717
|
-
(ReactSharedInternals.T = rootMutationHasEffect);
|
11718
11736
|
}
|
11719
|
-
|
11720
|
-
|
11721
|
-
}
|
11722
|
-
|
11723
|
-
|
11724
|
-
if (
|
11725
|
-
|
11726
|
-
|
11727
|
-
|
11728
|
-
|
11729
|
-
|
11730
|
-
|
11731
|
-
|
11732
|
-
|
11733
|
-
|
11734
|
-
|
11735
|
-
|
11736
|
-
|
11737
|
-
|
11738
|
-
|
11737
|
+
root.current = finishedWork;
|
11738
|
+
pendingEffectsStatus = 2;
|
11739
|
+
}
|
11740
|
+
}
|
11741
|
+
function flushLayoutEffects() {
|
11742
|
+
if (2 === pendingEffectsStatus) {
|
11743
|
+
pendingEffectsStatus = 0;
|
11744
|
+
var root = pendingEffectsRoot,
|
11745
|
+
finishedWork = pendingFinishedWork,
|
11746
|
+
lanes = pendingEffectsLanes,
|
11747
|
+
recoverableErrors = pendingRecoverableErrors,
|
11748
|
+
rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772);
|
11749
|
+
if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) {
|
11750
|
+
rootHasLayoutEffect = ReactSharedInternals.T;
|
11751
|
+
ReactSharedInternals.T = null;
|
11752
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
11753
|
+
ReactDOMSharedInternals.p = 2;
|
11754
|
+
var prevExecutionContext = executionContext;
|
11755
|
+
executionContext |= 4;
|
11756
|
+
try {
|
11739
11757
|
null !== injectedProfilingHooks &&
|
11740
11758
|
"function" ===
|
11741
|
-
typeof injectedProfilingHooks.
|
11742
|
-
injectedProfilingHooks.
|
11743
|
-
|
11744
|
-
|
11745
|
-
|
11746
|
-
|
11747
|
-
|
11748
|
-
|
11749
|
-
|
11750
|
-
|
11751
|
-
|
11752
|
-
|
11753
|
-
|
11754
|
-
|
11755
|
-
rootHasLayoutEffect = root.pendingLanes;
|
11756
|
-
0 === rootHasLayoutEffect && (legacyErrorBoundariesThatAlreadyFailed = null);
|
11757
|
-
rootHasLayoutEffect = lanesToEventPriority(lanes);
|
11758
|
-
finishedWork = finishedWork.stateNode;
|
11759
|
-
if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot)
|
11760
|
-
try {
|
11761
|
-
var didError = 128 === (finishedWork.current.flags & 128);
|
11762
|
-
switch (rootHasLayoutEffect) {
|
11763
|
-
case 2:
|
11764
|
-
var schedulerPriority = ImmediatePriority;
|
11765
|
-
break;
|
11766
|
-
case 8:
|
11767
|
-
schedulerPriority = UserBlockingPriority;
|
11768
|
-
break;
|
11769
|
-
case 32:
|
11770
|
-
schedulerPriority = NormalPriority$1;
|
11771
|
-
break;
|
11772
|
-
case 268435456:
|
11773
|
-
schedulerPriority = IdlePriority;
|
11774
|
-
break;
|
11775
|
-
default:
|
11776
|
-
schedulerPriority = NormalPriority$1;
|
11759
|
+
typeof injectedProfilingHooks.markLayoutEffectsStarted &&
|
11760
|
+
injectedProfilingHooks.markLayoutEffectsStarted(lanes),
|
11761
|
+
(inProgressLanes = lanes),
|
11762
|
+
(inProgressRoot = root),
|
11763
|
+
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
11764
|
+
(inProgressRoot = inProgressLanes = null),
|
11765
|
+
null !== injectedProfilingHooks &&
|
11766
|
+
"function" ===
|
11767
|
+
typeof injectedProfilingHooks.markLayoutEffectsStopped &&
|
11768
|
+
injectedProfilingHooks.markLayoutEffectsStopped();
|
11769
|
+
} finally {
|
11770
|
+
(executionContext = prevExecutionContext),
|
11771
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
11772
|
+
(ReactSharedInternals.T = rootHasLayoutEffect);
|
11777
11773
|
}
|
11778
|
-
|
11779
|
-
|
11780
|
-
|
11781
|
-
|
11782
|
-
|
11783
|
-
)
|
11784
|
-
|
11785
|
-
|
11786
|
-
|
11787
|
-
|
11788
|
-
|
11789
|
-
|
11790
|
-
|
11791
|
-
|
11792
|
-
|
11793
|
-
|
11794
|
-
|
11795
|
-
|
11796
|
-
|
11797
|
-
|
11798
|
-
|
11799
|
-
|
11800
|
-
|
11801
|
-
|
11774
|
+
}
|
11775
|
+
requestPaint();
|
11776
|
+
0 !== (finishedWork.subtreeFlags & 10256) ||
|
11777
|
+
0 !== (finishedWork.flags & 10256)
|
11778
|
+
? (pendingEffectsStatus = 3)
|
11779
|
+
: ((pendingEffectsStatus = 0),
|
11780
|
+
(pendingEffectsRoot = null),
|
11781
|
+
releaseRootPooledCache(root, root.pendingLanes));
|
11782
|
+
rootHasLayoutEffect = root.pendingLanes;
|
11783
|
+
0 === rootHasLayoutEffect &&
|
11784
|
+
(legacyErrorBoundariesThatAlreadyFailed = null);
|
11785
|
+
rootHasLayoutEffect = lanesToEventPriority(lanes);
|
11786
|
+
finishedWork = finishedWork.stateNode;
|
11787
|
+
if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot)
|
11788
|
+
try {
|
11789
|
+
var didError = 128 === (finishedWork.current.flags & 128);
|
11790
|
+
switch (rootHasLayoutEffect) {
|
11791
|
+
case 2:
|
11792
|
+
var schedulerPriority = ImmediatePriority;
|
11793
|
+
break;
|
11794
|
+
case 8:
|
11795
|
+
schedulerPriority = UserBlockingPriority;
|
11796
|
+
break;
|
11797
|
+
case 32:
|
11798
|
+
schedulerPriority = NormalPriority$1;
|
11799
|
+
break;
|
11800
|
+
case 268435456:
|
11801
|
+
schedulerPriority = IdlePriority;
|
11802
|
+
break;
|
11803
|
+
default:
|
11804
|
+
schedulerPriority = NormalPriority$1;
|
11805
|
+
}
|
11806
|
+
injectedHook.onCommitFiberRoot(
|
11807
|
+
rendererID,
|
11808
|
+
finishedWork,
|
11809
|
+
schedulerPriority,
|
11810
|
+
didError
|
11811
|
+
);
|
11812
|
+
} catch (err) {}
|
11813
|
+
isDevToolsPresent && root.memoizedUpdaters.clear();
|
11814
|
+
if (null !== recoverableErrors) {
|
11815
|
+
didError = ReactSharedInternals.T;
|
11816
|
+
schedulerPriority = ReactDOMSharedInternals.p;
|
11817
|
+
ReactDOMSharedInternals.p = 2;
|
11818
|
+
ReactSharedInternals.T = null;
|
11819
|
+
try {
|
11820
|
+
var onRecoverableError = root.onRecoverableError;
|
11821
|
+
for (
|
11822
|
+
finishedWork = 0;
|
11823
|
+
finishedWork < recoverableErrors.length;
|
11824
|
+
finishedWork++
|
11825
|
+
) {
|
11826
|
+
var recoverableError = recoverableErrors[finishedWork];
|
11827
|
+
onRecoverableError(recoverableError.value, {
|
11828
|
+
componentStack: recoverableError.stack
|
11829
|
+
});
|
11830
|
+
}
|
11831
|
+
} finally {
|
11832
|
+
(ReactSharedInternals.T = didError),
|
11833
|
+
(ReactDOMSharedInternals.p = schedulerPriority);
|
11802
11834
|
}
|
11803
|
-
} finally {
|
11804
|
-
(ReactSharedInternals.T = didError),
|
11805
|
-
(ReactDOMSharedInternals.p = schedulerPriority);
|
11806
11835
|
}
|
11836
|
+
0 !== (pendingEffectsLanes & 3) && flushPendingEffects();
|
11837
|
+
ensureRootIsScheduled(root);
|
11838
|
+
rootHasLayoutEffect = root.pendingLanes;
|
11839
|
+
0 !== (lanes & 4194218) && 0 !== (rootHasLayoutEffect & 42)
|
11840
|
+
? ((nestedUpdateScheduled = !0),
|
11841
|
+
root === rootWithNestedUpdates
|
11842
|
+
? nestedUpdateCount++
|
11843
|
+
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
11844
|
+
: (nestedUpdateCount = 0);
|
11845
|
+
flushSyncWorkAcrossRoots_impl(0, !1);
|
11846
|
+
markCommitStopped();
|
11807
11847
|
}
|
11808
|
-
0 !== (pendingPassiveEffectsLanes & 3) && flushPassiveEffects();
|
11809
|
-
ensureRootIsScheduled(root);
|
11810
|
-
rootHasLayoutEffect = root.pendingLanes;
|
11811
|
-
0 !== (lanes & 4194218) && 0 !== (rootHasLayoutEffect & 42)
|
11812
|
-
? ((nestedUpdateScheduled = !0),
|
11813
|
-
root === rootWithNestedUpdates
|
11814
|
-
? nestedUpdateCount++
|
11815
|
-
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
11816
|
-
: (nestedUpdateCount = 0);
|
11817
|
-
flushSyncWorkAcrossRoots_impl(0, !1);
|
11818
|
-
markCommitStopped();
|
11819
11848
|
}
|
11820
11849
|
function releaseRootPooledCache(root, remainingLanes) {
|
11821
11850
|
0 === (root.pooledCacheLanes &= remainingLanes) &&
|
@@ -11823,62 +11852,63 @@ function releaseRootPooledCache(root, remainingLanes) {
|
|
11823
11852
|
null != remainingLanes &&
|
11824
11853
|
((root.pooledCache = null), releaseCache(remainingLanes)));
|
11825
11854
|
}
|
11855
|
+
function flushPendingEffects(wasDelayedCommit) {
|
11856
|
+
flushMutationEffects();
|
11857
|
+
flushLayoutEffects();
|
11858
|
+
return flushPassiveEffects(wasDelayedCommit);
|
11859
|
+
}
|
11826
11860
|
function flushPassiveEffects() {
|
11827
|
-
if (
|
11828
|
-
|
11829
|
-
|
11830
|
-
|
11831
|
-
|
11832
|
-
|
11833
|
-
|
11834
|
-
|
11835
|
-
|
11836
|
-
|
11837
|
-
|
11838
|
-
|
11839
|
-
|
11840
|
-
|
11841
|
-
|
11842
|
-
|
11843
|
-
|
11844
|
-
|
11845
|
-
|
11846
|
-
|
11847
|
-
|
11848
|
-
|
11849
|
-
|
11850
|
-
|
11851
|
-
|
11852
|
-
|
11853
|
-
|
11854
|
-
|
11855
|
-
|
11856
|
-
|
11857
|
-
|
11858
|
-
|
11859
|
-
|
11860
|
-
|
11861
|
-
|
11862
|
-
|
11863
|
-
|
11864
|
-
|
11865
|
-
|
11866
|
-
|
11867
|
-
|
11868
|
-
|
11869
|
-
|
11870
|
-
|
11871
|
-
|
11872
|
-
|
11873
|
-
|
11874
|
-
|
11875
|
-
|
11876
|
-
(
|
11877
|
-
(ReactSharedInternals.T = prevTransition),
|
11878
|
-
releaseRootPooledCache(root$186, remainingLanes);
|
11879
|
-
}
|
11861
|
+
if (3 !== pendingEffectsStatus) return !1;
|
11862
|
+
var root = pendingEffectsRoot,
|
11863
|
+
remainingLanes = pendingEffectsRemainingLanes;
|
11864
|
+
pendingEffectsRemainingLanes = 0;
|
11865
|
+
var renderPriority = lanesToEventPriority(pendingEffectsLanes),
|
11866
|
+
prevTransition = ReactSharedInternals.T,
|
11867
|
+
previousPriority = ReactDOMSharedInternals.p;
|
11868
|
+
try {
|
11869
|
+
ReactDOMSharedInternals.p = 32 > renderPriority ? 32 : renderPriority;
|
11870
|
+
ReactSharedInternals.T = null;
|
11871
|
+
renderPriority = pendingPassiveTransitions;
|
11872
|
+
pendingPassiveTransitions = null;
|
11873
|
+
var root$jscomp$0 = pendingEffectsRoot,
|
11874
|
+
lanes = pendingEffectsLanes;
|
11875
|
+
pendingEffectsStatus = 0;
|
11876
|
+
pendingEffectsRoot = null;
|
11877
|
+
pendingEffectsLanes = 0;
|
11878
|
+
if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(331));
|
11879
|
+
null !== injectedProfilingHooks &&
|
11880
|
+
"function" === typeof injectedProfilingHooks.markPassiveEffectsStarted &&
|
11881
|
+
injectedProfilingHooks.markPassiveEffectsStarted(lanes);
|
11882
|
+
var prevExecutionContext = executionContext;
|
11883
|
+
executionContext |= 4;
|
11884
|
+
commitPassiveUnmountOnFiber(root$jscomp$0.current);
|
11885
|
+
commitPassiveMountOnFiber(
|
11886
|
+
root$jscomp$0,
|
11887
|
+
root$jscomp$0.current,
|
11888
|
+
lanes,
|
11889
|
+
renderPriority
|
11890
|
+
);
|
11891
|
+
null !== injectedProfilingHooks &&
|
11892
|
+
"function" === typeof injectedProfilingHooks.markPassiveEffectsStopped &&
|
11893
|
+
injectedProfilingHooks.markPassiveEffectsStopped();
|
11894
|
+
executionContext = prevExecutionContext;
|
11895
|
+
flushSyncWorkAcrossRoots_impl(0, !1);
|
11896
|
+
if (
|
11897
|
+
injectedHook &&
|
11898
|
+
"function" === typeof injectedHook.onPostCommitFiberRoot
|
11899
|
+
)
|
11900
|
+
try {
|
11901
|
+
injectedHook.onPostCommitFiberRoot(rendererID, root$jscomp$0);
|
11902
|
+
} catch (err) {}
|
11903
|
+
var stateNode = root$jscomp$0.current.stateNode;
|
11904
|
+
stateNode.effectDuration = 0;
|
11905
|
+
stateNode.passiveEffectDuration = 0;
|
11906
|
+
return !0;
|
11907
|
+
} finally {
|
11908
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
11909
|
+
(ReactSharedInternals.T = prevTransition),
|
11910
|
+
releaseRootPooledCache(root, remainingLanes);
|
11880
11911
|
}
|
11881
|
-
return !1;
|
11882
11912
|
}
|
11883
11913
|
function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {
|
11884
11914
|
sourceFiber = createCapturedValueAtFiber(error, sourceFiber);
|
@@ -12024,14 +12054,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
|
12024
12054
|
isFlushingWork = !0;
|
12025
12055
|
do {
|
12026
12056
|
var didPerformSomeWork = !1;
|
12027
|
-
for (var root$
|
12057
|
+
for (var root$187 = firstScheduledRoot; null !== root$187; ) {
|
12028
12058
|
if (!onlyLegacy)
|
12029
12059
|
if (0 !== syncTransitionLanes) {
|
12030
|
-
var pendingLanes = root$
|
12060
|
+
var pendingLanes = root$187.pendingLanes;
|
12031
12061
|
if (0 === pendingLanes) var JSCompiler_inline_result = 0;
|
12032
12062
|
else {
|
12033
|
-
var suspendedLanes = root$
|
12034
|
-
pingedLanes = root$
|
12063
|
+
var suspendedLanes = root$187.suspendedLanes,
|
12064
|
+
pingedLanes = root$187.pingedLanes;
|
12035
12065
|
JSCompiler_inline_result =
|
12036
12066
|
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
12037
12067
|
JSCompiler_inline_result &=
|
@@ -12045,20 +12075,20 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
|
12045
12075
|
}
|
12046
12076
|
0 !== JSCompiler_inline_result &&
|
12047
12077
|
((didPerformSomeWork = !0),
|
12048
|
-
performSyncWorkOnRoot(root$
|
12078
|
+
performSyncWorkOnRoot(root$187, JSCompiler_inline_result));
|
12049
12079
|
} else
|
12050
12080
|
(JSCompiler_inline_result = workInProgressRootRenderLanes),
|
12051
12081
|
(JSCompiler_inline_result = getNextLanes(
|
12052
|
-
root$
|
12053
|
-
root$
|
12054
|
-
null !== root$
|
12055
|
-
-1 !== root$
|
12082
|
+
root$187,
|
12083
|
+
root$187 === workInProgressRoot ? JSCompiler_inline_result : 0,
|
12084
|
+
null !== root$187.cancelPendingCommit ||
|
12085
|
+
-1 !== root$187.timeoutHandle
|
12056
12086
|
)),
|
12057
12087
|
0 === (JSCompiler_inline_result & 3) ||
|
12058
|
-
checkIfRootIsPrerendering(root$
|
12088
|
+
checkIfRootIsPrerendering(root$187, JSCompiler_inline_result) ||
|
12059
12089
|
((didPerformSomeWork = !0),
|
12060
|
-
performSyncWorkOnRoot(root$
|
12061
|
-
root$
|
12090
|
+
performSyncWorkOnRoot(root$187, JSCompiler_inline_result));
|
12091
|
+
root$187 = root$187.next;
|
12062
12092
|
}
|
12063
12093
|
} while (didPerformSomeWork);
|
12064
12094
|
isFlushingWork = !1;
|
@@ -12167,8 +12197,10 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
|
12167
12197
|
}
|
12168
12198
|
function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
12169
12199
|
nestedUpdateScheduled = currentUpdateIsNested = !1;
|
12200
|
+
if (0 !== pendingEffectsStatus && 3 !== pendingEffectsStatus)
|
12201
|
+
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
12170
12202
|
var originalCallbackNode = root.callbackNode;
|
12171
|
-
if (
|
12203
|
+
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
12172
12204
|
return null;
|
12173
12205
|
var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes;
|
12174
12206
|
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
@@ -12184,7 +12216,7 @@ function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
|
12184
12216
|
: null;
|
12185
12217
|
}
|
12186
12218
|
function performSyncWorkOnRoot(root, lanes) {
|
12187
|
-
if (
|
12219
|
+
if (flushPendingEffects()) return null;
|
12188
12220
|
currentUpdateIsNested = nestedUpdateScheduled;
|
12189
12221
|
nestedUpdateScheduled = !1;
|
12190
12222
|
performWorkOnRoot(root, lanes, !0);
|
@@ -12299,20 +12331,20 @@ function extractEvents$1(
|
|
12299
12331
|
}
|
12300
12332
|
}
|
12301
12333
|
for (
|
12302
|
-
var i$jscomp$
|
12303
|
-
i$jscomp$
|
12304
|
-
i$jscomp$
|
12334
|
+
var i$jscomp$inline_1552 = 0;
|
12335
|
+
i$jscomp$inline_1552 < simpleEventPluginEvents.length;
|
12336
|
+
i$jscomp$inline_1552++
|
12305
12337
|
) {
|
12306
|
-
var eventName$jscomp$
|
12307
|
-
simpleEventPluginEvents[i$jscomp$
|
12308
|
-
domEventName$jscomp$
|
12309
|
-
eventName$jscomp$
|
12310
|
-
capitalizedEvent$jscomp$
|
12311
|
-
eventName$jscomp$
|
12312
|
-
eventName$jscomp$
|
12338
|
+
var eventName$jscomp$inline_1553 =
|
12339
|
+
simpleEventPluginEvents[i$jscomp$inline_1552],
|
12340
|
+
domEventName$jscomp$inline_1554 =
|
12341
|
+
eventName$jscomp$inline_1553.toLowerCase(),
|
12342
|
+
capitalizedEvent$jscomp$inline_1555 =
|
12343
|
+
eventName$jscomp$inline_1553[0].toUpperCase() +
|
12344
|
+
eventName$jscomp$inline_1553.slice(1);
|
12313
12345
|
registerSimpleEvent(
|
12314
|
-
domEventName$jscomp$
|
12315
|
-
"on" + capitalizedEvent$jscomp$
|
12346
|
+
domEventName$jscomp$inline_1554,
|
12347
|
+
"on" + capitalizedEvent$jscomp$inline_1555
|
12316
12348
|
);
|
12317
12349
|
}
|
12318
12350
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
@@ -13495,34 +13527,34 @@ function setInitialProperties(domElement, tag, props) {
|
|
13495
13527
|
defaultChecked = null;
|
13496
13528
|
for (hasSrc in props)
|
13497
13529
|
if (props.hasOwnProperty(hasSrc)) {
|
13498
|
-
var propValue$
|
13499
|
-
if (null != propValue$
|
13530
|
+
var propValue$201 = props[hasSrc];
|
13531
|
+
if (null != propValue$201)
|
13500
13532
|
switch (hasSrc) {
|
13501
13533
|
case "name":
|
13502
|
-
hasSrcSet = propValue$
|
13534
|
+
hasSrcSet = propValue$201;
|
13503
13535
|
break;
|
13504
13536
|
case "type":
|
13505
|
-
propValue = propValue$
|
13537
|
+
propValue = propValue$201;
|
13506
13538
|
break;
|
13507
13539
|
case "checked":
|
13508
|
-
checked = propValue$
|
13540
|
+
checked = propValue$201;
|
13509
13541
|
break;
|
13510
13542
|
case "defaultChecked":
|
13511
|
-
defaultChecked = propValue$
|
13543
|
+
defaultChecked = propValue$201;
|
13512
13544
|
break;
|
13513
13545
|
case "value":
|
13514
|
-
propKey = propValue$
|
13546
|
+
propKey = propValue$201;
|
13515
13547
|
break;
|
13516
13548
|
case "defaultValue":
|
13517
|
-
defaultValue = propValue$
|
13549
|
+
defaultValue = propValue$201;
|
13518
13550
|
break;
|
13519
13551
|
case "children":
|
13520
13552
|
case "dangerouslySetInnerHTML":
|
13521
|
-
if (null != propValue$
|
13553
|
+
if (null != propValue$201)
|
13522
13554
|
throw Error(formatProdErrorMessage(137, tag));
|
13523
13555
|
break;
|
13524
13556
|
default:
|
13525
|
-
setProp(domElement, tag, hasSrc, propValue$
|
13557
|
+
setProp(domElement, tag, hasSrc, propValue$201, props, null);
|
13526
13558
|
}
|
13527
13559
|
}
|
13528
13560
|
initInput(
|
@@ -13659,14 +13691,14 @@ function setInitialProperties(domElement, tag, props) {
|
|
13659
13691
|
return;
|
13660
13692
|
default:
|
13661
13693
|
if (isCustomElement(tag)) {
|
13662
|
-
for (propValue$
|
13663
|
-
props.hasOwnProperty(propValue$
|
13664
|
-
((hasSrc = props[propValue$
|
13694
|
+
for (propValue$201 in props)
|
13695
|
+
props.hasOwnProperty(propValue$201) &&
|
13696
|
+
((hasSrc = props[propValue$201]),
|
13665
13697
|
void 0 !== hasSrc &&
|
13666
13698
|
setPropOnCustomElement(
|
13667
13699
|
domElement,
|
13668
13700
|
tag,
|
13669
|
-
propValue$
|
13701
|
+
propValue$201,
|
13670
13702
|
hasSrc,
|
13671
13703
|
props,
|
13672
13704
|
void 0
|
@@ -13714,14 +13746,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13714
13746
|
setProp(domElement, tag, propKey, null, nextProps, lastProp);
|
13715
13747
|
}
|
13716
13748
|
}
|
13717
|
-
for (var propKey$
|
13718
|
-
var propKey = nextProps[propKey$
|
13719
|
-
lastProp = lastProps[propKey$
|
13749
|
+
for (var propKey$218 in nextProps) {
|
13750
|
+
var propKey = nextProps[propKey$218];
|
13751
|
+
lastProp = lastProps[propKey$218];
|
13720
13752
|
if (
|
13721
|
-
nextProps.hasOwnProperty(propKey$
|
13753
|
+
nextProps.hasOwnProperty(propKey$218) &&
|
13722
13754
|
(null != propKey || null != lastProp)
|
13723
13755
|
)
|
13724
|
-
switch (propKey$
|
13756
|
+
switch (propKey$218) {
|
13725
13757
|
case "type":
|
13726
13758
|
type = propKey;
|
13727
13759
|
break;
|
@@ -13750,7 +13782,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13750
13782
|
setProp(
|
13751
13783
|
domElement,
|
13752
13784
|
tag,
|
13753
|
-
propKey$
|
13785
|
+
propKey$218,
|
13754
13786
|
propKey,
|
13755
13787
|
nextProps,
|
13756
13788
|
lastProp
|
@@ -13769,7 +13801,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13769
13801
|
);
|
13770
13802
|
return;
|
13771
13803
|
case "select":
|
13772
|
-
propKey = value = defaultValue = propKey$
|
13804
|
+
propKey = value = defaultValue = propKey$218 = null;
|
13773
13805
|
for (type in lastProps)
|
13774
13806
|
if (
|
13775
13807
|
((lastDefaultValue = lastProps[type]),
|
@@ -13800,7 +13832,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13800
13832
|
)
|
13801
13833
|
switch (name) {
|
13802
13834
|
case "value":
|
13803
|
-
propKey$
|
13835
|
+
propKey$218 = type;
|
13804
13836
|
break;
|
13805
13837
|
case "defaultValue":
|
13806
13838
|
defaultValue = type;
|
@@ -13821,15 +13853,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13821
13853
|
tag = defaultValue;
|
13822
13854
|
lastProps = value;
|
13823
13855
|
nextProps = propKey;
|
13824
|
-
null != propKey$
|
13825
|
-
? updateOptions(domElement, !!lastProps, propKey$
|
13856
|
+
null != propKey$218
|
13857
|
+
? updateOptions(domElement, !!lastProps, propKey$218, !1)
|
13826
13858
|
: !!nextProps !== !!lastProps &&
|
13827
13859
|
(null != tag
|
13828
13860
|
? updateOptions(domElement, !!lastProps, tag, !0)
|
13829
13861
|
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
|
13830
13862
|
return;
|
13831
13863
|
case "textarea":
|
13832
|
-
propKey = propKey$
|
13864
|
+
propKey = propKey$218 = null;
|
13833
13865
|
for (defaultValue in lastProps)
|
13834
13866
|
if (
|
13835
13867
|
((name = lastProps[defaultValue]),
|
@@ -13853,7 +13885,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13853
13885
|
)
|
13854
13886
|
switch (value) {
|
13855
13887
|
case "value":
|
13856
|
-
propKey$
|
13888
|
+
propKey$218 = name;
|
13857
13889
|
break;
|
13858
13890
|
case "defaultValue":
|
13859
13891
|
propKey = name;
|
@@ -13867,17 +13899,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13867
13899
|
name !== type &&
|
13868
13900
|
setProp(domElement, tag, value, name, nextProps, type);
|
13869
13901
|
}
|
13870
|
-
updateTextarea(domElement, propKey$
|
13902
|
+
updateTextarea(domElement, propKey$218, propKey);
|
13871
13903
|
return;
|
13872
13904
|
case "option":
|
13873
|
-
for (var propKey$
|
13905
|
+
for (var propKey$234 in lastProps)
|
13874
13906
|
if (
|
13875
|
-
((propKey$
|
13876
|
-
lastProps.hasOwnProperty(propKey$
|
13877
|
-
null != propKey$
|
13878
|
-
!nextProps.hasOwnProperty(propKey$
|
13907
|
+
((propKey$218 = lastProps[propKey$234]),
|
13908
|
+
lastProps.hasOwnProperty(propKey$234) &&
|
13909
|
+
null != propKey$218 &&
|
13910
|
+
!nextProps.hasOwnProperty(propKey$234))
|
13879
13911
|
)
|
13880
|
-
switch (propKey$
|
13912
|
+
switch (propKey$234) {
|
13881
13913
|
case "selected":
|
13882
13914
|
domElement.selected = !1;
|
13883
13915
|
break;
|
@@ -13885,33 +13917,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13885
13917
|
setProp(
|
13886
13918
|
domElement,
|
13887
13919
|
tag,
|
13888
|
-
propKey$
|
13920
|
+
propKey$234,
|
13889
13921
|
null,
|
13890
13922
|
nextProps,
|
13891
|
-
propKey$
|
13923
|
+
propKey$218
|
13892
13924
|
);
|
13893
13925
|
}
|
13894
13926
|
for (lastDefaultValue in nextProps)
|
13895
13927
|
if (
|
13896
|
-
((propKey$
|
13928
|
+
((propKey$218 = nextProps[lastDefaultValue]),
|
13897
13929
|
(propKey = lastProps[lastDefaultValue]),
|
13898
13930
|
nextProps.hasOwnProperty(lastDefaultValue) &&
|
13899
|
-
propKey$
|
13900
|
-
(null != propKey$
|
13931
|
+
propKey$218 !== propKey &&
|
13932
|
+
(null != propKey$218 || null != propKey))
|
13901
13933
|
)
|
13902
13934
|
switch (lastDefaultValue) {
|
13903
13935
|
case "selected":
|
13904
13936
|
domElement.selected =
|
13905
|
-
propKey$
|
13906
|
-
"function" !== typeof propKey$
|
13907
|
-
"symbol" !== typeof propKey$
|
13937
|
+
propKey$218 &&
|
13938
|
+
"function" !== typeof propKey$218 &&
|
13939
|
+
"symbol" !== typeof propKey$218;
|
13908
13940
|
break;
|
13909
13941
|
default:
|
13910
13942
|
setProp(
|
13911
13943
|
domElement,
|
13912
13944
|
tag,
|
13913
13945
|
lastDefaultValue,
|
13914
|
-
propKey$
|
13946
|
+
propKey$218,
|
13915
13947
|
nextProps,
|
13916
13948
|
propKey
|
13917
13949
|
);
|
@@ -13932,24 +13964,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13932
13964
|
case "track":
|
13933
13965
|
case "wbr":
|
13934
13966
|
case "menuitem":
|
13935
|
-
for (var propKey$
|
13936
|
-
(propKey$
|
13937
|
-
lastProps.hasOwnProperty(propKey$
|
13938
|
-
null != propKey$
|
13939
|
-
!nextProps.hasOwnProperty(propKey$
|
13940
|
-
setProp(domElement, tag, propKey$
|
13967
|
+
for (var propKey$239 in lastProps)
|
13968
|
+
(propKey$218 = lastProps[propKey$239]),
|
13969
|
+
lastProps.hasOwnProperty(propKey$239) &&
|
13970
|
+
null != propKey$218 &&
|
13971
|
+
!nextProps.hasOwnProperty(propKey$239) &&
|
13972
|
+
setProp(domElement, tag, propKey$239, null, nextProps, propKey$218);
|
13941
13973
|
for (checked in nextProps)
|
13942
13974
|
if (
|
13943
|
-
((propKey$
|
13975
|
+
((propKey$218 = nextProps[checked]),
|
13944
13976
|
(propKey = lastProps[checked]),
|
13945
13977
|
nextProps.hasOwnProperty(checked) &&
|
13946
|
-
propKey$
|
13947
|
-
(null != propKey$
|
13978
|
+
propKey$218 !== propKey &&
|
13979
|
+
(null != propKey$218 || null != propKey))
|
13948
13980
|
)
|
13949
13981
|
switch (checked) {
|
13950
13982
|
case "children":
|
13951
13983
|
case "dangerouslySetInnerHTML":
|
13952
|
-
if (null != propKey$
|
13984
|
+
if (null != propKey$218)
|
13953
13985
|
throw Error(formatProdErrorMessage(137, tag));
|
13954
13986
|
break;
|
13955
13987
|
default:
|
@@ -13957,7 +13989,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13957
13989
|
domElement,
|
13958
13990
|
tag,
|
13959
13991
|
checked,
|
13960
|
-
propKey$
|
13992
|
+
propKey$218,
|
13961
13993
|
nextProps,
|
13962
13994
|
propKey
|
13963
13995
|
);
|
@@ -13965,49 +13997,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13965
13997
|
return;
|
13966
13998
|
default:
|
13967
13999
|
if (isCustomElement(tag)) {
|
13968
|
-
for (var propKey$
|
13969
|
-
(propKey$
|
13970
|
-
lastProps.hasOwnProperty(propKey$
|
13971
|
-
void 0 !== propKey$
|
13972
|
-
!nextProps.hasOwnProperty(propKey$
|
14000
|
+
for (var propKey$244 in lastProps)
|
14001
|
+
(propKey$218 = lastProps[propKey$244]),
|
14002
|
+
lastProps.hasOwnProperty(propKey$244) &&
|
14003
|
+
void 0 !== propKey$218 &&
|
14004
|
+
!nextProps.hasOwnProperty(propKey$244) &&
|
13973
14005
|
setPropOnCustomElement(
|
13974
14006
|
domElement,
|
13975
14007
|
tag,
|
13976
|
-
propKey$
|
14008
|
+
propKey$244,
|
13977
14009
|
void 0,
|
13978
14010
|
nextProps,
|
13979
|
-
propKey$
|
14011
|
+
propKey$218
|
13980
14012
|
);
|
13981
14013
|
for (defaultChecked in nextProps)
|
13982
|
-
(propKey$
|
14014
|
+
(propKey$218 = nextProps[defaultChecked]),
|
13983
14015
|
(propKey = lastProps[defaultChecked]),
|
13984
14016
|
!nextProps.hasOwnProperty(defaultChecked) ||
|
13985
|
-
propKey$
|
13986
|
-
(void 0 === propKey$
|
14017
|
+
propKey$218 === propKey ||
|
14018
|
+
(void 0 === propKey$218 && void 0 === propKey) ||
|
13987
14019
|
setPropOnCustomElement(
|
13988
14020
|
domElement,
|
13989
14021
|
tag,
|
13990
14022
|
defaultChecked,
|
13991
|
-
propKey$
|
14023
|
+
propKey$218,
|
13992
14024
|
nextProps,
|
13993
14025
|
propKey
|
13994
14026
|
);
|
13995
14027
|
return;
|
13996
14028
|
}
|
13997
14029
|
}
|
13998
|
-
for (var propKey$
|
13999
|
-
(propKey$
|
14000
|
-
lastProps.hasOwnProperty(propKey$
|
14001
|
-
null != propKey$
|
14002
|
-
!nextProps.hasOwnProperty(propKey$
|
14003
|
-
setProp(domElement, tag, propKey$
|
14030
|
+
for (var propKey$249 in lastProps)
|
14031
|
+
(propKey$218 = lastProps[propKey$249]),
|
14032
|
+
lastProps.hasOwnProperty(propKey$249) &&
|
14033
|
+
null != propKey$218 &&
|
14034
|
+
!nextProps.hasOwnProperty(propKey$249) &&
|
14035
|
+
setProp(domElement, tag, propKey$249, null, nextProps, propKey$218);
|
14004
14036
|
for (lastProp in nextProps)
|
14005
|
-
(propKey$
|
14037
|
+
(propKey$218 = nextProps[lastProp]),
|
14006
14038
|
(propKey = lastProps[lastProp]),
|
14007
14039
|
!nextProps.hasOwnProperty(lastProp) ||
|
14008
|
-
propKey$
|
14009
|
-
(null == propKey$
|
14010
|
-
setProp(domElement, tag, lastProp, propKey$
|
14040
|
+
propKey$218 === propKey ||
|
14041
|
+
(null == propKey$218 && null == propKey) ||
|
14042
|
+
setProp(domElement, tag, lastProp, propKey$218, nextProps, propKey);
|
14011
14043
|
}
|
14012
14044
|
var eventsEnabled = null,
|
14013
14045
|
selectionInformation = null;
|
@@ -14573,26 +14605,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
|
14573
14605
|
"string" === typeof pendingProps.precedence
|
14574
14606
|
) {
|
14575
14607
|
type = getStyleKey(pendingProps.href);
|
14576
|
-
var styles$
|
14608
|
+
var styles$257 = getResourcesFromRoot(
|
14577
14609
|
JSCompiler_inline_result
|
14578
14610
|
).hoistableStyles,
|
14579
|
-
resource$
|
14580
|
-
resource$
|
14611
|
+
resource$258 = styles$257.get(type);
|
14612
|
+
resource$258 ||
|
14581
14613
|
((JSCompiler_inline_result =
|
14582
14614
|
JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
|
14583
|
-
(resource$
|
14615
|
+
(resource$258 = {
|
14584
14616
|
type: "stylesheet",
|
14585
14617
|
instance: null,
|
14586
14618
|
count: 0,
|
14587
14619
|
state: { loading: 0, preload: null }
|
14588
14620
|
}),
|
14589
|
-
styles$
|
14590
|
-
(styles$
|
14621
|
+
styles$257.set(type, resource$258),
|
14622
|
+
(styles$257 = JSCompiler_inline_result.querySelector(
|
14591
14623
|
getStylesheetSelectorFromKey(type)
|
14592
14624
|
)) &&
|
14593
|
-
!styles$
|
14594
|
-
((resource$
|
14595
|
-
(resource$
|
14625
|
+
!styles$257._p &&
|
14626
|
+
((resource$258.instance = styles$257),
|
14627
|
+
(resource$258.state.loading = 5)),
|
14596
14628
|
preloadPropsMap.has(type) ||
|
14597
14629
|
((pendingProps = {
|
14598
14630
|
rel: "preload",
|
@@ -14605,16 +14637,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
|
14605
14637
|
referrerPolicy: pendingProps.referrerPolicy
|
14606
14638
|
}),
|
14607
14639
|
preloadPropsMap.set(type, pendingProps),
|
14608
|
-
styles$
|
14640
|
+
styles$257 ||
|
14609
14641
|
preloadStylesheet(
|
14610
14642
|
JSCompiler_inline_result,
|
14611
14643
|
type,
|
14612
14644
|
pendingProps,
|
14613
|
-
resource$
|
14645
|
+
resource$258.state
|
14614
14646
|
)));
|
14615
14647
|
if (currentProps && null === currentResource)
|
14616
14648
|
throw Error(formatProdErrorMessage(528, ""));
|
14617
|
-
return resource$
|
14649
|
+
return resource$258;
|
14618
14650
|
}
|
14619
14651
|
if (currentProps && null !== currentResource)
|
14620
14652
|
throw Error(formatProdErrorMessage(529, ""));
|
@@ -14711,37 +14743,37 @@ function acquireResource(hoistableRoot, resource, props) {
|
|
14711
14743
|
return (resource.instance = instance);
|
14712
14744
|
case "stylesheet":
|
14713
14745
|
styleProps = getStyleKey(props.href);
|
14714
|
-
var instance$
|
14746
|
+
var instance$263 = hoistableRoot.querySelector(
|
14715
14747
|
getStylesheetSelectorFromKey(styleProps)
|
14716
14748
|
);
|
14717
|
-
if (instance$
|
14749
|
+
if (instance$263)
|
14718
14750
|
return (
|
14719
14751
|
(resource.state.loading |= 4),
|
14720
|
-
(resource.instance = instance$
|
14721
|
-
markNodeAsHoistable(instance$
|
14722
|
-
instance$
|
14752
|
+
(resource.instance = instance$263),
|
14753
|
+
markNodeAsHoistable(instance$263),
|
14754
|
+
instance$263
|
14723
14755
|
);
|
14724
14756
|
instance = stylesheetPropsFromRawProps(props);
|
14725
14757
|
(styleProps = preloadPropsMap.get(styleProps)) &&
|
14726
14758
|
adoptPreloadPropsForStylesheet(instance, styleProps);
|
14727
|
-
instance$
|
14759
|
+
instance$263 = (
|
14728
14760
|
hoistableRoot.ownerDocument || hoistableRoot
|
14729
14761
|
).createElement("link");
|
14730
|
-
markNodeAsHoistable(instance$
|
14731
|
-
var linkInstance = instance$
|
14762
|
+
markNodeAsHoistable(instance$263);
|
14763
|
+
var linkInstance = instance$263;
|
14732
14764
|
linkInstance._p = new Promise(function (resolve, reject) {
|
14733
14765
|
linkInstance.onload = resolve;
|
14734
14766
|
linkInstance.onerror = reject;
|
14735
14767
|
});
|
14736
|
-
setInitialProperties(instance$
|
14768
|
+
setInitialProperties(instance$263, "link", instance);
|
14737
14769
|
resource.state.loading |= 4;
|
14738
|
-
insertStylesheet(instance$
|
14739
|
-
return (resource.instance = instance$
|
14770
|
+
insertStylesheet(instance$263, props.precedence, hoistableRoot);
|
14771
|
+
return (resource.instance = instance$263);
|
14740
14772
|
case "script":
|
14741
|
-
instance$
|
14773
|
+
instance$263 = getScriptKey(props.src);
|
14742
14774
|
if (
|
14743
14775
|
(styleProps = hoistableRoot.querySelector(
|
14744
|
-
getScriptSelectorFromKey(instance$
|
14776
|
+
getScriptSelectorFromKey(instance$263)
|
14745
14777
|
))
|
14746
14778
|
)
|
14747
14779
|
return (
|
@@ -14750,7 +14782,7 @@ function acquireResource(hoistableRoot, resource, props) {
|
|
14750
14782
|
styleProps
|
14751
14783
|
);
|
14752
14784
|
instance = props;
|
14753
|
-
if ((styleProps = preloadPropsMap.get(instance$
|
14785
|
+
if ((styleProps = preloadPropsMap.get(instance$263)))
|
14754
14786
|
(instance = assign({}, props)),
|
14755
14787
|
adoptPreloadPropsForScript(instance, styleProps);
|
14756
14788
|
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
|
@@ -15765,7 +15797,6 @@ ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount =
|
|
15765
15797
|
if (null !== root) {
|
15766
15798
|
this._internalRoot = null;
|
15767
15799
|
var container = root.containerInfo;
|
15768
|
-
0 === root.tag && flushPassiveEffects();
|
15769
15800
|
updateContainerImpl(root.current, 2, null, root, null, null);
|
15770
15801
|
flushSyncWork$1();
|
15771
15802
|
container[internalContainerInstanceKey] = null;
|
@@ -15789,16 +15820,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15789
15820
|
0 === i && attemptExplicitHydrationTarget(target);
|
15790
15821
|
}
|
15791
15822
|
};
|
15792
|
-
var isomorphicReactPackageVersion$jscomp$
|
15823
|
+
var isomorphicReactPackageVersion$jscomp$inline_1801 = React.version;
|
15793
15824
|
if (
|
15794
|
-
"19.1.0-canary-
|
15795
|
-
isomorphicReactPackageVersion$jscomp$
|
15825
|
+
"19.1.0-canary-42687267-20250108" !==
|
15826
|
+
isomorphicReactPackageVersion$jscomp$inline_1801
|
15796
15827
|
)
|
15797
15828
|
throw Error(
|
15798
15829
|
formatProdErrorMessage(
|
15799
15830
|
527,
|
15800
|
-
isomorphicReactPackageVersion$jscomp$
|
15801
|
-
"19.1.0-canary-
|
15831
|
+
isomorphicReactPackageVersion$jscomp$inline_1801,
|
15832
|
+
"19.1.0-canary-42687267-20250108"
|
15802
15833
|
)
|
15803
15834
|
);
|
15804
15835
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15818,17 +15849,17 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15818
15849
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
15819
15850
|
return componentOrElement;
|
15820
15851
|
};
|
15821
|
-
var internals$jscomp$
|
15852
|
+
var internals$jscomp$inline_1808 = {
|
15822
15853
|
bundleType: 0,
|
15823
|
-
version: "19.1.0-canary-
|
15854
|
+
version: "19.1.0-canary-42687267-20250108",
|
15824
15855
|
rendererPackageName: "react-dom",
|
15825
15856
|
currentDispatcherRef: ReactSharedInternals,
|
15826
|
-
reconcilerVersion: "19.1.0-canary-
|
15857
|
+
reconcilerVersion: "19.1.0-canary-42687267-20250108",
|
15827
15858
|
getLaneLabelMap: function () {
|
15828
15859
|
for (
|
15829
|
-
var map = new Map(), lane = 1, index$
|
15830
|
-
31 > index$
|
15831
|
-
index$
|
15860
|
+
var map = new Map(), lane = 1, index$280 = 0;
|
15861
|
+
31 > index$280;
|
15862
|
+
index$280++
|
15832
15863
|
) {
|
15833
15864
|
var label = getLabelForLane(lane);
|
15834
15865
|
map.set(lane, label);
|
@@ -15841,16 +15872,16 @@ var internals$jscomp$inline_1809 = {
|
|
15841
15872
|
}
|
15842
15873
|
};
|
15843
15874
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
15844
|
-
var hook$jscomp$
|
15875
|
+
var hook$jscomp$inline_2238 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
15845
15876
|
if (
|
15846
|
-
!hook$jscomp$
|
15847
|
-
hook$jscomp$
|
15877
|
+
!hook$jscomp$inline_2238.isDisabled &&
|
15878
|
+
hook$jscomp$inline_2238.supportsFiber
|
15848
15879
|
)
|
15849
15880
|
try {
|
15850
|
-
(rendererID = hook$jscomp$
|
15851
|
-
internals$jscomp$
|
15881
|
+
(rendererID = hook$jscomp$inline_2238.inject(
|
15882
|
+
internals$jscomp$inline_1808
|
15852
15883
|
)),
|
15853
|
-
(injectedHook = hook$jscomp$
|
15884
|
+
(injectedHook = hook$jscomp$inline_2238);
|
15854
15885
|
} catch (err) {}
|
15855
15886
|
}
|
15856
15887
|
function noop() {}
|
@@ -16105,7 +16136,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
16105
16136
|
exports.useFormStatus = function () {
|
16106
16137
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
16107
16138
|
};
|
16108
|
-
exports.version = "19.1.0-canary-
|
16139
|
+
exports.version = "19.1.0-canary-42687267-20250108";
|
16109
16140
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
16110
16141
|
"function" ===
|
16111
16142
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|