react-dom 19.1.0-canary-3b009b4c-20250102 → 19.1.0-canary-7b402084-20250107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/react-dom-client.development.js +558 -541
- package/cjs/react-dom-client.production.js +419 -384
- package/cjs/react-dom-profiling.development.js +558 -541
- package/cjs/react-dom-profiling.profiling.js +464 -429
- package/cjs/react-dom-server-legacy.browser.development.js +1 -1
- package/cjs/react-dom-server-legacy.browser.production.js +1 -1
- package/cjs/react-dom-server-legacy.node.development.js +1 -1
- package/cjs/react-dom-server-legacy.node.production.js +1 -1
- package/cjs/react-dom-server.browser.development.js +3 -3
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +3 -3
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +3 -3
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +3 -3
- package/cjs/react-dom-server.node.production.js +3 -3
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
|
@@ -2014,19 +2014,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
|
|
|
2014
2014
|
}
|
|
2015
2015
|
var isInputEventSupported = !1;
|
|
2016
2016
|
if (canUseDOM) {
|
|
2017
|
-
var JSCompiler_inline_result$jscomp$
|
|
2017
|
+
var JSCompiler_inline_result$jscomp$280;
|
|
2018
2018
|
if (canUseDOM) {
|
|
2019
|
-
var isSupported$jscomp$
|
|
2020
|
-
if (!isSupported$jscomp$
|
|
2021
|
-
var element$jscomp$
|
|
2022
|
-
element$jscomp$
|
|
2023
|
-
isSupported$jscomp$
|
|
2024
|
-
"function" === typeof element$jscomp$
|
|
2019
|
+
var isSupported$jscomp$inline_411 = "oninput" in document;
|
|
2020
|
+
if (!isSupported$jscomp$inline_411) {
|
|
2021
|
+
var element$jscomp$inline_412 = document.createElement("div");
|
|
2022
|
+
element$jscomp$inline_412.setAttribute("oninput", "return;");
|
|
2023
|
+
isSupported$jscomp$inline_411 =
|
|
2024
|
+
"function" === typeof element$jscomp$inline_412.oninput;
|
|
2025
2025
|
}
|
|
2026
|
-
JSCompiler_inline_result$jscomp$
|
|
2027
|
-
} else JSCompiler_inline_result$jscomp$
|
|
2026
|
+
JSCompiler_inline_result$jscomp$280 = isSupported$jscomp$inline_411;
|
|
2027
|
+
} else JSCompiler_inline_result$jscomp$280 = !1;
|
|
2028
2028
|
isInputEventSupported =
|
|
2029
|
-
JSCompiler_inline_result$jscomp$
|
|
2029
|
+
JSCompiler_inline_result$jscomp$280 &&
|
|
2030
2030
|
(!document.documentMode || 9 < document.documentMode);
|
|
2031
2031
|
}
|
|
2032
2032
|
function stopWatchingForValueChange() {
|
|
@@ -8283,7 +8283,9 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
|
|
8283
8283
|
if (
|
|
8284
8284
|
((currentResource = maybeNodes[i]),
|
|
8285
8285
|
currentResource.getAttribute("href") ===
|
|
8286
|
-
(null == current.href
|
|
8286
|
+
(null == current.href || "" === current.href
|
|
8287
|
+
? null
|
|
8288
|
+
: current.href) &&
|
|
8287
8289
|
currentResource.getAttribute("rel") ===
|
|
8288
8290
|
(null == current.rel ? null : current.rel) &&
|
|
8289
8291
|
currentResource.getAttribute("title") ===
|
|
@@ -10185,10 +10187,13 @@ var DefaultAsyncDispatcher = {
|
|
|
10185
10187
|
workInProgressRootRenderTargetTime = Infinity,
|
|
10186
10188
|
workInProgressTransitions = null,
|
|
10187
10189
|
legacyErrorBoundariesThatAlreadyFailed = null,
|
|
10188
|
-
|
|
10189
|
-
|
|
10190
|
-
|
|
10190
|
+
pendingEffectsStatus = 0,
|
|
10191
|
+
pendingEffectsRoot = null,
|
|
10192
|
+
pendingFinishedWork = null,
|
|
10193
|
+
pendingEffectsLanes = 0,
|
|
10194
|
+
pendingEffectsRemainingLanes = 0,
|
|
10191
10195
|
pendingPassiveTransitions = null,
|
|
10196
|
+
pendingRecoverableErrors = null,
|
|
10192
10197
|
nestedUpdateCount = 0,
|
|
10193
10198
|
rootWithNestedUpdates = null;
|
|
10194
10199
|
function requestUpdateLane() {
|
|
@@ -10982,8 +10987,8 @@ function commitRoot(
|
|
|
10982
10987
|
suspendedRetryLanes
|
|
10983
10988
|
) {
|
|
10984
10989
|
root.cancelPendingCommit = null;
|
|
10985
|
-
do
|
|
10986
|
-
while (
|
|
10990
|
+
do flushPendingEffects();
|
|
10991
|
+
while (0 !== pendingEffectsStatus);
|
|
10987
10992
|
if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));
|
|
10988
10993
|
if (null !== finishedWork) {
|
|
10989
10994
|
if (finishedWork === root.current) throw Error(formatProdErrorMessage(177));
|
|
@@ -11000,216 +11005,240 @@ function commitRoot(
|
|
|
11000
11005
|
root === workInProgressRoot &&
|
|
11001
11006
|
((workInProgress = workInProgressRoot = null),
|
|
11002
11007
|
(workInProgressRootRenderLanes = 0));
|
|
11008
|
+
pendingFinishedWork = finishedWork;
|
|
11009
|
+
pendingEffectsRoot = root;
|
|
11010
|
+
pendingEffectsLanes = lanes;
|
|
11011
|
+
pendingEffectsRemainingLanes = didIncludeRenderPhaseUpdate;
|
|
11012
|
+
pendingPassiveTransitions = transitions;
|
|
11013
|
+
pendingRecoverableErrors = recoverableErrors;
|
|
11003
11014
|
0 !== (finishedWork.subtreeFlags & 10256) ||
|
|
11004
11015
|
0 !== (finishedWork.flags & 10256)
|
|
11005
|
-
? ((
|
|
11006
|
-
(pendingPassiveTransitions = transitions),
|
|
11007
|
-
(root.callbackNode = null),
|
|
11016
|
+
? ((root.callbackNode = null),
|
|
11008
11017
|
(root.callbackPriority = 0),
|
|
11009
11018
|
scheduleCallback$1(NormalPriority$1, function () {
|
|
11010
11019
|
flushPassiveEffects(!0);
|
|
11011
11020
|
return null;
|
|
11012
11021
|
}))
|
|
11013
11022
|
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
|
11014
|
-
|
|
11015
|
-
if (0 !== (finishedWork.subtreeFlags & 13878) ||
|
|
11016
|
-
|
|
11023
|
+
lanes = 0 !== (finishedWork.flags & 13878);
|
|
11024
|
+
if (0 !== (finishedWork.subtreeFlags & 13878) || lanes) {
|
|
11025
|
+
lanes = ReactSharedInternals.T;
|
|
11017
11026
|
ReactSharedInternals.T = null;
|
|
11018
|
-
|
|
11027
|
+
recoverableErrors = ReactDOMSharedInternals.p;
|
|
11019
11028
|
ReactDOMSharedInternals.p = 2;
|
|
11020
|
-
|
|
11029
|
+
transitions = executionContext;
|
|
11021
11030
|
executionContext |= 4;
|
|
11022
11031
|
try {
|
|
11023
11032
|
commitBeforeMutationEffects(root, finishedWork);
|
|
11024
11033
|
} finally {
|
|
11025
|
-
(executionContext =
|
|
11026
|
-
(ReactDOMSharedInternals.p =
|
|
11027
|
-
(ReactSharedInternals.T =
|
|
11034
|
+
(executionContext = transitions),
|
|
11035
|
+
(ReactDOMSharedInternals.p = recoverableErrors),
|
|
11036
|
+
(ReactSharedInternals.T = lanes);
|
|
11028
11037
|
}
|
|
11029
11038
|
}
|
|
11030
|
-
|
|
11031
|
-
|
|
11032
|
-
|
|
11033
|
-
}
|
|
11034
|
-
|
|
11035
|
-
|
|
11036
|
-
if (
|
|
11037
|
-
|
|
11038
|
-
|
|
11039
|
-
|
|
11040
|
-
|
|
11041
|
-
|
|
11042
|
-
|
|
11043
|
-
|
|
11044
|
-
|
|
11045
|
-
|
|
11046
|
-
|
|
11047
|
-
|
|
11048
|
-
|
|
11049
|
-
|
|
11050
|
-
|
|
11051
|
-
|
|
11052
|
-
|
|
11053
|
-
|
|
11054
|
-
priorFocusedElem.ownerDocument.documentElement,
|
|
11055
|
-
priorFocusedElem
|
|
11056
|
-
)
|
|
11057
|
-
) {
|
|
11039
|
+
pendingEffectsStatus = 1;
|
|
11040
|
+
flushMutationEffects();
|
|
11041
|
+
flushLayoutEffects();
|
|
11042
|
+
}
|
|
11043
|
+
}
|
|
11044
|
+
function flushMutationEffects() {
|
|
11045
|
+
if (1 === pendingEffectsStatus) {
|
|
11046
|
+
pendingEffectsStatus = 0;
|
|
11047
|
+
var root = pendingEffectsRoot,
|
|
11048
|
+
finishedWork = pendingFinishedWork,
|
|
11049
|
+
rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);
|
|
11050
|
+
if (0 !== (finishedWork.subtreeFlags & 13878) || rootMutationHasEffect) {
|
|
11051
|
+
rootMutationHasEffect = ReactSharedInternals.T;
|
|
11052
|
+
ReactSharedInternals.T = null;
|
|
11053
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
|
11054
|
+
ReactDOMSharedInternals.p = 2;
|
|
11055
|
+
var prevExecutionContext = executionContext;
|
|
11056
|
+
executionContext |= 4;
|
|
11057
|
+
try {
|
|
11058
|
+
commitMutationEffectsOnFiber(finishedWork, root);
|
|
11059
|
+
var priorSelectionInformation = selectionInformation,
|
|
11060
|
+
curFocusedElem = getActiveElementDeep(root.containerInfo),
|
|
11061
|
+
priorFocusedElem = priorSelectionInformation.focusedElem,
|
|
11062
|
+
priorSelectionRange = priorSelectionInformation.selectionRange;
|
|
11058
11063
|
if (
|
|
11059
|
-
|
|
11060
|
-
|
|
11064
|
+
curFocusedElem !== priorFocusedElem &&
|
|
11065
|
+
priorFocusedElem &&
|
|
11066
|
+
priorFocusedElem.ownerDocument &&
|
|
11067
|
+
containsNode(
|
|
11068
|
+
priorFocusedElem.ownerDocument.documentElement,
|
|
11069
|
+
priorFocusedElem
|
|
11070
|
+
)
|
|
11061
11071
|
) {
|
|
11062
|
-
|
|
11063
|
-
|
|
11064
|
-
|
|
11065
|
-
|
|
11066
|
-
|
|
11067
|
-
|
|
11068
|
-
|
|
11069
|
-
|
|
11070
|
-
)
|
|
11071
|
-
|
|
11072
|
-
|
|
11073
|
-
|
|
11074
|
-
|
|
11075
|
-
|
|
11076
|
-
|
|
11077
|
-
|
|
11078
|
-
|
|
11079
|
-
|
|
11080
|
-
|
|
11081
|
-
|
|
11082
|
-
|
|
11083
|
-
|
|
11084
|
-
|
|
11085
|
-
|
|
11086
|
-
|
|
11087
|
-
|
|
11088
|
-
|
|
11089
|
-
start$jscomp$0
|
|
11090
|
-
|
|
11091
|
-
|
|
11092
|
-
|
|
11093
|
-
|
|
11094
|
-
|
|
11095
|
-
|
|
11096
|
-
|
|
11097
|
-
|
|
11098
|
-
|
|
11099
|
-
|
|
11100
|
-
|
|
11101
|
-
|
|
11102
|
-
|
|
11103
|
-
|
|
11104
|
-
|
|
11105
|
-
|
|
11106
|
-
|
|
11107
|
-
|
|
11108
|
-
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
|
-
|
|
11072
|
+
if (
|
|
11073
|
+
null !== priorSelectionRange &&
|
|
11074
|
+
hasSelectionCapabilities(priorFocusedElem)
|
|
11075
|
+
) {
|
|
11076
|
+
var start = priorSelectionRange.start,
|
|
11077
|
+
end = priorSelectionRange.end;
|
|
11078
|
+
void 0 === end && (end = start);
|
|
11079
|
+
if ("selectionStart" in priorFocusedElem)
|
|
11080
|
+
(priorFocusedElem.selectionStart = start),
|
|
11081
|
+
(priorFocusedElem.selectionEnd = Math.min(
|
|
11082
|
+
end,
|
|
11083
|
+
priorFocusedElem.value.length
|
|
11084
|
+
));
|
|
11085
|
+
else {
|
|
11086
|
+
var doc = priorFocusedElem.ownerDocument || document,
|
|
11087
|
+
win = (doc && doc.defaultView) || window;
|
|
11088
|
+
if (win.getSelection) {
|
|
11089
|
+
var selection = win.getSelection(),
|
|
11090
|
+
length = priorFocusedElem.textContent.length,
|
|
11091
|
+
start$jscomp$0 = Math.min(priorSelectionRange.start, length),
|
|
11092
|
+
end$jscomp$0 =
|
|
11093
|
+
void 0 === priorSelectionRange.end
|
|
11094
|
+
? start$jscomp$0
|
|
11095
|
+
: Math.min(priorSelectionRange.end, length);
|
|
11096
|
+
!selection.extend &&
|
|
11097
|
+
start$jscomp$0 > end$jscomp$0 &&
|
|
11098
|
+
((curFocusedElem = end$jscomp$0),
|
|
11099
|
+
(end$jscomp$0 = start$jscomp$0),
|
|
11100
|
+
(start$jscomp$0 = curFocusedElem));
|
|
11101
|
+
var startMarker = getNodeForCharacterOffset(
|
|
11102
|
+
priorFocusedElem,
|
|
11103
|
+
start$jscomp$0
|
|
11104
|
+
),
|
|
11105
|
+
endMarker = getNodeForCharacterOffset(
|
|
11106
|
+
priorFocusedElem,
|
|
11107
|
+
end$jscomp$0
|
|
11108
|
+
);
|
|
11109
|
+
if (
|
|
11110
|
+
startMarker &&
|
|
11111
|
+
endMarker &&
|
|
11112
|
+
(1 !== selection.rangeCount ||
|
|
11113
|
+
selection.anchorNode !== startMarker.node ||
|
|
11114
|
+
selection.anchorOffset !== startMarker.offset ||
|
|
11115
|
+
selection.focusNode !== endMarker.node ||
|
|
11116
|
+
selection.focusOffset !== endMarker.offset)
|
|
11117
|
+
) {
|
|
11118
|
+
var range = doc.createRange();
|
|
11119
|
+
range.setStart(startMarker.node, startMarker.offset);
|
|
11120
|
+
selection.removeAllRanges();
|
|
11121
|
+
start$jscomp$0 > end$jscomp$0
|
|
11122
|
+
? (selection.addRange(range),
|
|
11123
|
+
selection.extend(endMarker.node, endMarker.offset))
|
|
11124
|
+
: (range.setEnd(endMarker.node, endMarker.offset),
|
|
11125
|
+
selection.addRange(range));
|
|
11126
|
+
}
|
|
11112
11127
|
}
|
|
11113
11128
|
}
|
|
11114
11129
|
}
|
|
11130
|
+
doc = [];
|
|
11131
|
+
for (
|
|
11132
|
+
selection = priorFocusedElem;
|
|
11133
|
+
(selection = selection.parentNode);
|
|
11134
|
+
|
|
11135
|
+
)
|
|
11136
|
+
1 === selection.nodeType &&
|
|
11137
|
+
doc.push({
|
|
11138
|
+
element: selection,
|
|
11139
|
+
left: selection.scrollLeft,
|
|
11140
|
+
top: selection.scrollTop
|
|
11141
|
+
});
|
|
11142
|
+
"function" === typeof priorFocusedElem.focus &&
|
|
11143
|
+
priorFocusedElem.focus();
|
|
11144
|
+
for (
|
|
11145
|
+
priorFocusedElem = 0;
|
|
11146
|
+
priorFocusedElem < doc.length;
|
|
11147
|
+
priorFocusedElem++
|
|
11148
|
+
) {
|
|
11149
|
+
var info = doc[priorFocusedElem];
|
|
11150
|
+
info.element.scrollLeft = info.left;
|
|
11151
|
+
info.element.scrollTop = info.top;
|
|
11152
|
+
}
|
|
11115
11153
|
}
|
|
11116
|
-
|
|
11117
|
-
|
|
11118
|
-
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
top: selection.scrollTop
|
|
11123
|
-
});
|
|
11124
|
-
"function" === typeof priorFocusedElem.focus &&
|
|
11125
|
-
priorFocusedElem.focus();
|
|
11126
|
-
for (
|
|
11127
|
-
priorFocusedElem = 0;
|
|
11128
|
-
priorFocusedElem < doc.length;
|
|
11129
|
-
priorFocusedElem++
|
|
11130
|
-
) {
|
|
11131
|
-
var info = doc[priorFocusedElem];
|
|
11132
|
-
info.element.scrollLeft = info.left;
|
|
11133
|
-
info.element.scrollTop = info.top;
|
|
11134
|
-
}
|
|
11154
|
+
_enabled = !!eventsEnabled;
|
|
11155
|
+
selectionInformation = eventsEnabled = null;
|
|
11156
|
+
} finally {
|
|
11157
|
+
(executionContext = prevExecutionContext),
|
|
11158
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
|
11159
|
+
(ReactSharedInternals.T = rootMutationHasEffect);
|
|
11135
11160
|
}
|
|
11136
|
-
_enabled = !!eventsEnabled;
|
|
11137
|
-
selectionInformation = eventsEnabled = null;
|
|
11138
|
-
} finally {
|
|
11139
|
-
(executionContext = prevExecutionContext),
|
|
11140
|
-
(ReactDOMSharedInternals.p = previousPriority),
|
|
11141
|
-
(ReactSharedInternals.T = rootMutationHasEffect);
|
|
11142
11161
|
}
|
|
11143
|
-
|
|
11144
|
-
|
|
11145
|
-
}
|
|
11146
|
-
|
|
11147
|
-
|
|
11148
|
-
if (
|
|
11149
|
-
|
|
11150
|
-
|
|
11151
|
-
|
|
11152
|
-
|
|
11153
|
-
|
|
11154
|
-
|
|
11155
|
-
|
|
11156
|
-
|
|
11157
|
-
|
|
11158
|
-
|
|
11159
|
-
|
|
11160
|
-
|
|
11162
|
+
root.current = finishedWork;
|
|
11163
|
+
pendingEffectsStatus = 2;
|
|
11164
|
+
}
|
|
11165
|
+
}
|
|
11166
|
+
function flushLayoutEffects() {
|
|
11167
|
+
if (2 === pendingEffectsStatus) {
|
|
11168
|
+
pendingEffectsStatus = 0;
|
|
11169
|
+
var root = pendingEffectsRoot,
|
|
11170
|
+
finishedWork = pendingFinishedWork,
|
|
11171
|
+
lanes = pendingEffectsLanes,
|
|
11172
|
+
recoverableErrors = pendingRecoverableErrors,
|
|
11173
|
+
rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772);
|
|
11174
|
+
if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) {
|
|
11175
|
+
rootHasLayoutEffect = ReactSharedInternals.T;
|
|
11176
|
+
ReactSharedInternals.T = null;
|
|
11177
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
|
11178
|
+
ReactDOMSharedInternals.p = 2;
|
|
11179
|
+
var prevExecutionContext = executionContext;
|
|
11180
|
+
executionContext |= 4;
|
|
11181
|
+
try {
|
|
11182
|
+
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
|
|
11183
|
+
} finally {
|
|
11184
|
+
(executionContext = prevExecutionContext),
|
|
11185
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
|
11186
|
+
(ReactSharedInternals.T = rootHasLayoutEffect);
|
|
11187
|
+
}
|
|
11161
11188
|
}
|
|
11162
|
-
|
|
11163
|
-
|
|
11164
|
-
|
|
11165
|
-
|
|
11166
|
-
|
|
11167
|
-
|
|
11168
|
-
|
|
11169
|
-
|
|
11170
|
-
|
|
11171
|
-
|
|
11172
|
-
|
|
11173
|
-
|
|
11174
|
-
|
|
11175
|
-
|
|
11176
|
-
|
|
11177
|
-
|
|
11178
|
-
|
|
11179
|
-
|
|
11180
|
-
|
|
11181
|
-
|
|
11182
|
-
|
|
11183
|
-
|
|
11184
|
-
|
|
11185
|
-
|
|
11186
|
-
|
|
11187
|
-
|
|
11188
|
-
|
|
11189
|
-
|
|
11190
|
-
|
|
11191
|
-
|
|
11192
|
-
|
|
11193
|
-
|
|
11194
|
-
|
|
11195
|
-
|
|
11196
|
-
|
|
11197
|
-
|
|
11189
|
+
requestPaint();
|
|
11190
|
+
0 !== (finishedWork.subtreeFlags & 10256) ||
|
|
11191
|
+
0 !== (finishedWork.flags & 10256)
|
|
11192
|
+
? (pendingEffectsStatus = 3)
|
|
11193
|
+
: ((pendingEffectsStatus = 0),
|
|
11194
|
+
(pendingEffectsRoot = null),
|
|
11195
|
+
releaseRootPooledCache(root, root.pendingLanes));
|
|
11196
|
+
rootHasLayoutEffect = root.pendingLanes;
|
|
11197
|
+
0 === rootHasLayoutEffect &&
|
|
11198
|
+
(legacyErrorBoundariesThatAlreadyFailed = null);
|
|
11199
|
+
lanesToEventPriority(lanes);
|
|
11200
|
+
finishedWork = finishedWork.stateNode;
|
|
11201
|
+
if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot)
|
|
11202
|
+
try {
|
|
11203
|
+
injectedHook.onCommitFiberRoot(
|
|
11204
|
+
rendererID,
|
|
11205
|
+
finishedWork,
|
|
11206
|
+
void 0,
|
|
11207
|
+
128 === (finishedWork.current.flags & 128)
|
|
11208
|
+
);
|
|
11209
|
+
} catch (err) {}
|
|
11210
|
+
if (null !== recoverableErrors) {
|
|
11211
|
+
finishedWork = ReactSharedInternals.T;
|
|
11212
|
+
rootHasLayoutEffect = ReactDOMSharedInternals.p;
|
|
11213
|
+
ReactDOMSharedInternals.p = 2;
|
|
11214
|
+
ReactSharedInternals.T = null;
|
|
11215
|
+
try {
|
|
11216
|
+
var onRecoverableError = root.onRecoverableError;
|
|
11217
|
+
for (
|
|
11218
|
+
previousPriority = 0;
|
|
11219
|
+
previousPriority < recoverableErrors.length;
|
|
11220
|
+
previousPriority++
|
|
11221
|
+
) {
|
|
11222
|
+
var recoverableError = recoverableErrors[previousPriority];
|
|
11223
|
+
onRecoverableError(recoverableError.value, {
|
|
11224
|
+
componentStack: recoverableError.stack
|
|
11225
|
+
});
|
|
11226
|
+
}
|
|
11227
|
+
} finally {
|
|
11228
|
+
(ReactSharedInternals.T = finishedWork),
|
|
11229
|
+
(ReactDOMSharedInternals.p = rootHasLayoutEffect);
|
|
11198
11230
|
}
|
|
11199
|
-
} finally {
|
|
11200
|
-
(ReactSharedInternals.T = finishedWork),
|
|
11201
|
-
(ReactDOMSharedInternals.p = rootHasLayoutEffect);
|
|
11202
11231
|
}
|
|
11232
|
+
0 !== (pendingEffectsLanes & 3) && flushPendingEffects();
|
|
11233
|
+
ensureRootIsScheduled(root);
|
|
11234
|
+
rootHasLayoutEffect = root.pendingLanes;
|
|
11235
|
+
0 !== (lanes & 4194218) && 0 !== (rootHasLayoutEffect & 42)
|
|
11236
|
+
? root === rootWithNestedUpdates
|
|
11237
|
+
? nestedUpdateCount++
|
|
11238
|
+
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))
|
|
11239
|
+
: (nestedUpdateCount = 0);
|
|
11240
|
+
flushSyncWorkAcrossRoots_impl(0, !1);
|
|
11203
11241
|
}
|
|
11204
|
-
0 !== (pendingPassiveEffectsLanes & 3) && flushPassiveEffects();
|
|
11205
|
-
ensureRootIsScheduled(root);
|
|
11206
|
-
rootHasLayoutEffect = root.pendingLanes;
|
|
11207
|
-
0 !== (lanes & 4194218) && 0 !== (rootHasLayoutEffect & 42)
|
|
11208
|
-
? root === rootWithNestedUpdates
|
|
11209
|
-
? nestedUpdateCount++
|
|
11210
|
-
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))
|
|
11211
|
-
: (nestedUpdateCount = 0);
|
|
11212
|
-
flushSyncWorkAcrossRoots_impl(0, !1);
|
|
11213
11242
|
}
|
|
11214
11243
|
function releaseRootPooledCache(root, remainingLanes) {
|
|
11215
11244
|
0 === (root.pooledCacheLanes &= remainingLanes) &&
|
|
@@ -11217,51 +11246,54 @@ function releaseRootPooledCache(root, remainingLanes) {
|
|
|
11217
11246
|
null != remainingLanes &&
|
|
11218
11247
|
((root.pooledCache = null), releaseCache(remainingLanes)));
|
|
11219
11248
|
}
|
|
11249
|
+
function flushPendingEffects(wasDelayedCommit) {
|
|
11250
|
+
flushMutationEffects();
|
|
11251
|
+
flushLayoutEffects();
|
|
11252
|
+
return flushPassiveEffects(wasDelayedCommit);
|
|
11253
|
+
}
|
|
11220
11254
|
function flushPassiveEffects() {
|
|
11221
|
-
if (
|
|
11222
|
-
|
|
11223
|
-
|
|
11224
|
-
|
|
11225
|
-
|
|
11226
|
-
|
|
11227
|
-
|
|
11228
|
-
|
|
11229
|
-
|
|
11230
|
-
|
|
11231
|
-
|
|
11232
|
-
|
|
11233
|
-
|
|
11234
|
-
|
|
11235
|
-
|
|
11236
|
-
|
|
11237
|
-
|
|
11238
|
-
|
|
11239
|
-
|
|
11240
|
-
|
|
11241
|
-
|
|
11242
|
-
|
|
11243
|
-
|
|
11244
|
-
|
|
11245
|
-
|
|
11246
|
-
|
|
11247
|
-
|
|
11248
|
-
|
|
11249
|
-
|
|
11250
|
-
|
|
11251
|
-
|
|
11252
|
-
|
|
11253
|
-
|
|
11254
|
-
|
|
11255
|
-
|
|
11256
|
-
}
|
|
11257
|
-
|
|
11258
|
-
|
|
11259
|
-
|
|
11260
|
-
|
|
11261
|
-
|
|
11262
|
-
}
|
|
11255
|
+
if (3 !== pendingEffectsStatus) return !1;
|
|
11256
|
+
var root = pendingEffectsRoot,
|
|
11257
|
+
remainingLanes = pendingEffectsRemainingLanes;
|
|
11258
|
+
pendingEffectsRemainingLanes = 0;
|
|
11259
|
+
var renderPriority = lanesToEventPriority(pendingEffectsLanes),
|
|
11260
|
+
prevTransition = ReactSharedInternals.T,
|
|
11261
|
+
previousPriority = ReactDOMSharedInternals.p;
|
|
11262
|
+
try {
|
|
11263
|
+
ReactDOMSharedInternals.p = 32 > renderPriority ? 32 : renderPriority;
|
|
11264
|
+
ReactSharedInternals.T = null;
|
|
11265
|
+
renderPriority = pendingPassiveTransitions;
|
|
11266
|
+
pendingPassiveTransitions = null;
|
|
11267
|
+
var root$jscomp$0 = pendingEffectsRoot,
|
|
11268
|
+
lanes = pendingEffectsLanes;
|
|
11269
|
+
pendingEffectsStatus = 0;
|
|
11270
|
+
pendingEffectsRoot = null;
|
|
11271
|
+
pendingEffectsLanes = 0;
|
|
11272
|
+
if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(331));
|
|
11273
|
+
var prevExecutionContext = executionContext;
|
|
11274
|
+
executionContext |= 4;
|
|
11275
|
+
commitPassiveUnmountOnFiber(root$jscomp$0.current);
|
|
11276
|
+
commitPassiveMountOnFiber(
|
|
11277
|
+
root$jscomp$0,
|
|
11278
|
+
root$jscomp$0.current,
|
|
11279
|
+
lanes,
|
|
11280
|
+
renderPriority
|
|
11281
|
+
);
|
|
11282
|
+
executionContext = prevExecutionContext;
|
|
11283
|
+
flushSyncWorkAcrossRoots_impl(0, !1);
|
|
11284
|
+
if (
|
|
11285
|
+
injectedHook &&
|
|
11286
|
+
"function" === typeof injectedHook.onPostCommitFiberRoot
|
|
11287
|
+
)
|
|
11288
|
+
try {
|
|
11289
|
+
injectedHook.onPostCommitFiberRoot(rendererID, root$jscomp$0);
|
|
11290
|
+
} catch (err) {}
|
|
11291
|
+
return !0;
|
|
11292
|
+
} finally {
|
|
11293
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
|
11294
|
+
(ReactSharedInternals.T = prevTransition),
|
|
11295
|
+
releaseRootPooledCache(root, remainingLanes);
|
|
11263
11296
|
}
|
|
11264
|
-
return !1;
|
|
11265
11297
|
}
|
|
11266
11298
|
function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {
|
|
11267
11299
|
sourceFiber = createCapturedValueAtFiber(error, sourceFiber);
|
|
@@ -11400,14 +11432,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
|
|
11400
11432
|
isFlushingWork = !0;
|
|
11401
11433
|
do {
|
|
11402
11434
|
var didPerformSomeWork = !1;
|
|
11403
|
-
for (var root$
|
|
11435
|
+
for (var root$172 = firstScheduledRoot; null !== root$172; ) {
|
|
11404
11436
|
if (!onlyLegacy)
|
|
11405
11437
|
if (0 !== syncTransitionLanes) {
|
|
11406
|
-
var pendingLanes = root$
|
|
11438
|
+
var pendingLanes = root$172.pendingLanes;
|
|
11407
11439
|
if (0 === pendingLanes) var JSCompiler_inline_result = 0;
|
|
11408
11440
|
else {
|
|
11409
|
-
var suspendedLanes = root$
|
|
11410
|
-
pingedLanes = root$
|
|
11441
|
+
var suspendedLanes = root$172.suspendedLanes,
|
|
11442
|
+
pingedLanes = root$172.pingedLanes;
|
|
11411
11443
|
JSCompiler_inline_result =
|
|
11412
11444
|
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
|
11413
11445
|
JSCompiler_inline_result &=
|
|
@@ -11421,20 +11453,20 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
|
|
11421
11453
|
}
|
|
11422
11454
|
0 !== JSCompiler_inline_result &&
|
|
11423
11455
|
((didPerformSomeWork = !0),
|
|
11424
|
-
performSyncWorkOnRoot(root$
|
|
11456
|
+
performSyncWorkOnRoot(root$172, JSCompiler_inline_result));
|
|
11425
11457
|
} else
|
|
11426
11458
|
(JSCompiler_inline_result = workInProgressRootRenderLanes),
|
|
11427
11459
|
(JSCompiler_inline_result = getNextLanes(
|
|
11428
|
-
root$
|
|
11429
|
-
root$
|
|
11430
|
-
null !== root$
|
|
11431
|
-
-1 !== root$
|
|
11460
|
+
root$172,
|
|
11461
|
+
root$172 === workInProgressRoot ? JSCompiler_inline_result : 0,
|
|
11462
|
+
null !== root$172.cancelPendingCommit ||
|
|
11463
|
+
-1 !== root$172.timeoutHandle
|
|
11432
11464
|
)),
|
|
11433
11465
|
0 === (JSCompiler_inline_result & 3) ||
|
|
11434
|
-
checkIfRootIsPrerendering(root$
|
|
11466
|
+
checkIfRootIsPrerendering(root$172, JSCompiler_inline_result) ||
|
|
11435
11467
|
((didPerformSomeWork = !0),
|
|
11436
|
-
performSyncWorkOnRoot(root$
|
|
11437
|
-
root$
|
|
11468
|
+
performSyncWorkOnRoot(root$172, JSCompiler_inline_result));
|
|
11469
|
+
root$172 = root$172.next;
|
|
11438
11470
|
}
|
|
11439
11471
|
} while (didPerformSomeWork);
|
|
11440
11472
|
isFlushingWork = !1;
|
|
@@ -11542,8 +11574,10 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
|
|
11542
11574
|
return 2;
|
|
11543
11575
|
}
|
|
11544
11576
|
function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
|
11577
|
+
if (0 !== pendingEffectsStatus && 3 !== pendingEffectsStatus)
|
|
11578
|
+
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
|
11545
11579
|
var originalCallbackNode = root.callbackNode;
|
|
11546
|
-
if (
|
|
11580
|
+
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
|
11547
11581
|
return null;
|
|
11548
11582
|
var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes;
|
|
11549
11583
|
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
|
@@ -11559,7 +11593,7 @@ function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
|
|
11559
11593
|
: null;
|
|
11560
11594
|
}
|
|
11561
11595
|
function performSyncWorkOnRoot(root, lanes) {
|
|
11562
|
-
if (
|
|
11596
|
+
if (flushPendingEffects()) return null;
|
|
11563
11597
|
performWorkOnRoot(root, lanes, !0);
|
|
11564
11598
|
}
|
|
11565
11599
|
function scheduleImmediateRootScheduleTask() {
|
|
@@ -11672,20 +11706,20 @@ function extractEvents$1(
|
|
|
11672
11706
|
}
|
|
11673
11707
|
}
|
|
11674
11708
|
for (
|
|
11675
|
-
var i$jscomp$
|
|
11676
|
-
i$jscomp$
|
|
11677
|
-
i$jscomp$
|
|
11709
|
+
var i$jscomp$inline_1458 = 0;
|
|
11710
|
+
i$jscomp$inline_1458 < simpleEventPluginEvents.length;
|
|
11711
|
+
i$jscomp$inline_1458++
|
|
11678
11712
|
) {
|
|
11679
|
-
var eventName$jscomp$
|
|
11680
|
-
simpleEventPluginEvents[i$jscomp$
|
|
11681
|
-
domEventName$jscomp$
|
|
11682
|
-
eventName$jscomp$
|
|
11683
|
-
capitalizedEvent$jscomp$
|
|
11684
|
-
eventName$jscomp$
|
|
11685
|
-
eventName$jscomp$
|
|
11713
|
+
var eventName$jscomp$inline_1459 =
|
|
11714
|
+
simpleEventPluginEvents[i$jscomp$inline_1458],
|
|
11715
|
+
domEventName$jscomp$inline_1460 =
|
|
11716
|
+
eventName$jscomp$inline_1459.toLowerCase(),
|
|
11717
|
+
capitalizedEvent$jscomp$inline_1461 =
|
|
11718
|
+
eventName$jscomp$inline_1459[0].toUpperCase() +
|
|
11719
|
+
eventName$jscomp$inline_1459.slice(1);
|
|
11686
11720
|
registerSimpleEvent(
|
|
11687
|
-
domEventName$jscomp$
|
|
11688
|
-
"on" + capitalizedEvent$jscomp$
|
|
11721
|
+
domEventName$jscomp$inline_1460,
|
|
11722
|
+
"on" + capitalizedEvent$jscomp$inline_1461
|
|
11689
11723
|
);
|
|
11690
11724
|
}
|
|
11691
11725
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
|
@@ -12868,34 +12902,34 @@ function setInitialProperties(domElement, tag, props) {
|
|
|
12868
12902
|
defaultChecked = null;
|
|
12869
12903
|
for (hasSrc in props)
|
|
12870
12904
|
if (props.hasOwnProperty(hasSrc)) {
|
|
12871
|
-
var propValue$
|
|
12872
|
-
if (null != propValue$
|
|
12905
|
+
var propValue$186 = props[hasSrc];
|
|
12906
|
+
if (null != propValue$186)
|
|
12873
12907
|
switch (hasSrc) {
|
|
12874
12908
|
case "name":
|
|
12875
|
-
hasSrcSet = propValue$
|
|
12909
|
+
hasSrcSet = propValue$186;
|
|
12876
12910
|
break;
|
|
12877
12911
|
case "type":
|
|
12878
|
-
propValue = propValue$
|
|
12912
|
+
propValue = propValue$186;
|
|
12879
12913
|
break;
|
|
12880
12914
|
case "checked":
|
|
12881
|
-
checked = propValue$
|
|
12915
|
+
checked = propValue$186;
|
|
12882
12916
|
break;
|
|
12883
12917
|
case "defaultChecked":
|
|
12884
|
-
defaultChecked = propValue$
|
|
12918
|
+
defaultChecked = propValue$186;
|
|
12885
12919
|
break;
|
|
12886
12920
|
case "value":
|
|
12887
|
-
propKey = propValue$
|
|
12921
|
+
propKey = propValue$186;
|
|
12888
12922
|
break;
|
|
12889
12923
|
case "defaultValue":
|
|
12890
|
-
defaultValue = propValue$
|
|
12924
|
+
defaultValue = propValue$186;
|
|
12891
12925
|
break;
|
|
12892
12926
|
case "children":
|
|
12893
12927
|
case "dangerouslySetInnerHTML":
|
|
12894
|
-
if (null != propValue$
|
|
12928
|
+
if (null != propValue$186)
|
|
12895
12929
|
throw Error(formatProdErrorMessage(137, tag));
|
|
12896
12930
|
break;
|
|
12897
12931
|
default:
|
|
12898
|
-
setProp(domElement, tag, hasSrc, propValue$
|
|
12932
|
+
setProp(domElement, tag, hasSrc, propValue$186, props, null);
|
|
12899
12933
|
}
|
|
12900
12934
|
}
|
|
12901
12935
|
initInput(
|
|
@@ -13032,14 +13066,14 @@ function setInitialProperties(domElement, tag, props) {
|
|
|
13032
13066
|
return;
|
|
13033
13067
|
default:
|
|
13034
13068
|
if (isCustomElement(tag)) {
|
|
13035
|
-
for (propValue$
|
|
13036
|
-
props.hasOwnProperty(propValue$
|
|
13037
|
-
((hasSrc = props[propValue$
|
|
13069
|
+
for (propValue$186 in props)
|
|
13070
|
+
props.hasOwnProperty(propValue$186) &&
|
|
13071
|
+
((hasSrc = props[propValue$186]),
|
|
13038
13072
|
void 0 !== hasSrc &&
|
|
13039
13073
|
setPropOnCustomElement(
|
|
13040
13074
|
domElement,
|
|
13041
13075
|
tag,
|
|
13042
|
-
propValue$
|
|
13076
|
+
propValue$186,
|
|
13043
13077
|
hasSrc,
|
|
13044
13078
|
props,
|
|
13045
13079
|
void 0
|
|
@@ -13087,14 +13121,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
|
13087
13121
|
setProp(domElement, tag, propKey, null, nextProps, lastProp);
|
|
13088
13122
|
}
|
|
13089
13123
|
}
|
|
13090
|
-
for (var propKey$
|
|
13091
|
-
var propKey = nextProps[propKey$
|
|
13092
|
-
lastProp = lastProps[propKey$
|
|
13124
|
+
for (var propKey$203 in nextProps) {
|
|
13125
|
+
var propKey = nextProps[propKey$203];
|
|
13126
|
+
lastProp = lastProps[propKey$203];
|
|
13093
13127
|
if (
|
|
13094
|
-
nextProps.hasOwnProperty(propKey$
|
|
13128
|
+
nextProps.hasOwnProperty(propKey$203) &&
|
|
13095
13129
|
(null != propKey || null != lastProp)
|
|
13096
13130
|
)
|
|
13097
|
-
switch (propKey$
|
|
13131
|
+
switch (propKey$203) {
|
|
13098
13132
|
case "type":
|
|
13099
13133
|
type = propKey;
|
|
13100
13134
|
break;
|
|
@@ -13123,7 +13157,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
|
13123
13157
|
setProp(
|
|
13124
13158
|
domElement,
|
|
13125
13159
|
tag,
|
|
13126
|
-
propKey$
|
|
13160
|
+
propKey$203,
|
|
13127
13161
|
propKey,
|
|
13128
13162
|
nextProps,
|
|
13129
13163
|
lastProp
|
|
@@ -13142,7 +13176,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
|
13142
13176
|
);
|
|
13143
13177
|
return;
|
|
13144
13178
|
case "select":
|
|
13145
|
-
propKey = value = defaultValue = propKey$
|
|
13179
|
+
propKey = value = defaultValue = propKey$203 = null;
|
|
13146
13180
|
for (type in lastProps)
|
|
13147
13181
|
if (
|
|
13148
13182
|
((lastDefaultValue = lastProps[type]),
|
|
@@ -13173,7 +13207,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
|
13173
13207
|
)
|
|
13174
13208
|
switch (name) {
|
|
13175
13209
|
case "value":
|
|
13176
|
-
propKey$
|
|
13210
|
+
propKey$203 = type;
|
|
13177
13211
|
break;
|
|
13178
13212
|
case "defaultValue":
|
|
13179
13213
|
defaultValue = type;
|
|
@@ -13194,15 +13228,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
|
13194
13228
|
tag = defaultValue;
|
|
13195
13229
|
lastProps = value;
|
|
13196
13230
|
nextProps = propKey;
|
|
13197
|
-
null != propKey$
|
|
13198
|
-
? updateOptions(domElement, !!lastProps, propKey$
|
|
13231
|
+
null != propKey$203
|
|
13232
|
+
? updateOptions(domElement, !!lastProps, propKey$203, !1)
|
|
13199
13233
|
: !!nextProps !== !!lastProps &&
|
|
13200
13234
|
(null != tag
|
|
13201
13235
|
? updateOptions(domElement, !!lastProps, tag, !0)
|
|
13202
13236
|
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
|
|
13203
13237
|
return;
|
|
13204
13238
|
case "textarea":
|
|
13205
|
-
propKey = propKey$
|
|
13239
|
+
propKey = propKey$203 = null;
|
|
13206
13240
|
for (defaultValue in lastProps)
|
|
13207
13241
|
if (
|
|
13208
13242
|
((name = lastProps[defaultValue]),
|
|
@@ -13226,7 +13260,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
|
13226
13260
|
)
|
|
13227
13261
|
switch (value) {
|
|
13228
13262
|
case "value":
|
|
13229
|
-
propKey$
|
|
13263
|
+
propKey$203 = name;
|
|
13230
13264
|
break;
|
|
13231
13265
|
case "defaultValue":
|
|
13232
13266
|
propKey = name;
|
|
@@ -13240,17 +13274,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
|
13240
13274
|
name !== type &&
|
|
13241
13275
|
setProp(domElement, tag, value, name, nextProps, type);
|
|
13242
13276
|
}
|
|
13243
|
-
updateTextarea(domElement, propKey$
|
|
13277
|
+
updateTextarea(domElement, propKey$203, propKey);
|
|
13244
13278
|
return;
|
|
13245
13279
|
case "option":
|
|
13246
|
-
for (var propKey$
|
|
13280
|
+
for (var propKey$219 in lastProps)
|
|
13247
13281
|
if (
|
|
13248
|
-
((propKey$
|
|
13249
|
-
lastProps.hasOwnProperty(propKey$
|
|
13250
|
-
null != propKey$
|
|
13251
|
-
!nextProps.hasOwnProperty(propKey$
|
|
13282
|
+
((propKey$203 = lastProps[propKey$219]),
|
|
13283
|
+
lastProps.hasOwnProperty(propKey$219) &&
|
|
13284
|
+
null != propKey$203 &&
|
|
13285
|
+
!nextProps.hasOwnProperty(propKey$219))
|
|
13252
13286
|
)
|
|
13253
|
-
switch (propKey$
|
|
13287
|
+
switch (propKey$219) {
|
|
13254
13288
|
case "selected":
|
|
13255
13289
|
domElement.selected = !1;
|
|
13256
13290
|
break;
|
|
@@ -13258,33 +13292,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
|
13258
13292
|
setProp(
|
|
13259
13293
|
domElement,
|
|
13260
13294
|
tag,
|
|
13261
|
-
propKey$
|
|
13295
|
+
propKey$219,
|
|
13262
13296
|
null,
|
|
13263
13297
|
nextProps,
|
|
13264
|
-
propKey$
|
|
13298
|
+
propKey$203
|
|
13265
13299
|
);
|
|
13266
13300
|
}
|
|
13267
13301
|
for (lastDefaultValue in nextProps)
|
|
13268
13302
|
if (
|
|
13269
|
-
((propKey$
|
|
13303
|
+
((propKey$203 = nextProps[lastDefaultValue]),
|
|
13270
13304
|
(propKey = lastProps[lastDefaultValue]),
|
|
13271
13305
|
nextProps.hasOwnProperty(lastDefaultValue) &&
|
|
13272
|
-
propKey$
|
|
13273
|
-
(null != propKey$
|
|
13306
|
+
propKey$203 !== propKey &&
|
|
13307
|
+
(null != propKey$203 || null != propKey))
|
|
13274
13308
|
)
|
|
13275
13309
|
switch (lastDefaultValue) {
|
|
13276
13310
|
case "selected":
|
|
13277
13311
|
domElement.selected =
|
|
13278
|
-
propKey$
|
|
13279
|
-
"function" !== typeof propKey$
|
|
13280
|
-
"symbol" !== typeof propKey$
|
|
13312
|
+
propKey$203 &&
|
|
13313
|
+
"function" !== typeof propKey$203 &&
|
|
13314
|
+
"symbol" !== typeof propKey$203;
|
|
13281
13315
|
break;
|
|
13282
13316
|
default:
|
|
13283
13317
|
setProp(
|
|
13284
13318
|
domElement,
|
|
13285
13319
|
tag,
|
|
13286
13320
|
lastDefaultValue,
|
|
13287
|
-
propKey$
|
|
13321
|
+
propKey$203,
|
|
13288
13322
|
nextProps,
|
|
13289
13323
|
propKey
|
|
13290
13324
|
);
|
|
@@ -13305,24 +13339,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
|
13305
13339
|
case "track":
|
|
13306
13340
|
case "wbr":
|
|
13307
13341
|
case "menuitem":
|
|
13308
|
-
for (var propKey$
|
|
13309
|
-
(propKey$
|
|
13310
|
-
lastProps.hasOwnProperty(propKey$
|
|
13311
|
-
null != propKey$
|
|
13312
|
-
!nextProps.hasOwnProperty(propKey$
|
|
13313
|
-
setProp(domElement, tag, propKey$
|
|
13342
|
+
for (var propKey$224 in lastProps)
|
|
13343
|
+
(propKey$203 = lastProps[propKey$224]),
|
|
13344
|
+
lastProps.hasOwnProperty(propKey$224) &&
|
|
13345
|
+
null != propKey$203 &&
|
|
13346
|
+
!nextProps.hasOwnProperty(propKey$224) &&
|
|
13347
|
+
setProp(domElement, tag, propKey$224, null, nextProps, propKey$203);
|
|
13314
13348
|
for (checked in nextProps)
|
|
13315
13349
|
if (
|
|
13316
|
-
((propKey$
|
|
13350
|
+
((propKey$203 = nextProps[checked]),
|
|
13317
13351
|
(propKey = lastProps[checked]),
|
|
13318
13352
|
nextProps.hasOwnProperty(checked) &&
|
|
13319
|
-
propKey$
|
|
13320
|
-
(null != propKey$
|
|
13353
|
+
propKey$203 !== propKey &&
|
|
13354
|
+
(null != propKey$203 || null != propKey))
|
|
13321
13355
|
)
|
|
13322
13356
|
switch (checked) {
|
|
13323
13357
|
case "children":
|
|
13324
13358
|
case "dangerouslySetInnerHTML":
|
|
13325
|
-
if (null != propKey$
|
|
13359
|
+
if (null != propKey$203)
|
|
13326
13360
|
throw Error(formatProdErrorMessage(137, tag));
|
|
13327
13361
|
break;
|
|
13328
13362
|
default:
|
|
@@ -13330,7 +13364,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
|
13330
13364
|
domElement,
|
|
13331
13365
|
tag,
|
|
13332
13366
|
checked,
|
|
13333
|
-
propKey$
|
|
13367
|
+
propKey$203,
|
|
13334
13368
|
nextProps,
|
|
13335
13369
|
propKey
|
|
13336
13370
|
);
|
|
@@ -13338,49 +13372,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
|
13338
13372
|
return;
|
|
13339
13373
|
default:
|
|
13340
13374
|
if (isCustomElement(tag)) {
|
|
13341
|
-
for (var propKey$
|
|
13342
|
-
(propKey$
|
|
13343
|
-
lastProps.hasOwnProperty(propKey$
|
|
13344
|
-
void 0 !== propKey$
|
|
13345
|
-
!nextProps.hasOwnProperty(propKey$
|
|
13375
|
+
for (var propKey$229 in lastProps)
|
|
13376
|
+
(propKey$203 = lastProps[propKey$229]),
|
|
13377
|
+
lastProps.hasOwnProperty(propKey$229) &&
|
|
13378
|
+
void 0 !== propKey$203 &&
|
|
13379
|
+
!nextProps.hasOwnProperty(propKey$229) &&
|
|
13346
13380
|
setPropOnCustomElement(
|
|
13347
13381
|
domElement,
|
|
13348
13382
|
tag,
|
|
13349
|
-
propKey$
|
|
13383
|
+
propKey$229,
|
|
13350
13384
|
void 0,
|
|
13351
13385
|
nextProps,
|
|
13352
|
-
propKey$
|
|
13386
|
+
propKey$203
|
|
13353
13387
|
);
|
|
13354
13388
|
for (defaultChecked in nextProps)
|
|
13355
|
-
(propKey$
|
|
13389
|
+
(propKey$203 = nextProps[defaultChecked]),
|
|
13356
13390
|
(propKey = lastProps[defaultChecked]),
|
|
13357
13391
|
!nextProps.hasOwnProperty(defaultChecked) ||
|
|
13358
|
-
propKey$
|
|
13359
|
-
(void 0 === propKey$
|
|
13392
|
+
propKey$203 === propKey ||
|
|
13393
|
+
(void 0 === propKey$203 && void 0 === propKey) ||
|
|
13360
13394
|
setPropOnCustomElement(
|
|
13361
13395
|
domElement,
|
|
13362
13396
|
tag,
|
|
13363
13397
|
defaultChecked,
|
|
13364
|
-
propKey$
|
|
13398
|
+
propKey$203,
|
|
13365
13399
|
nextProps,
|
|
13366
13400
|
propKey
|
|
13367
13401
|
);
|
|
13368
13402
|
return;
|
|
13369
13403
|
}
|
|
13370
13404
|
}
|
|
13371
|
-
for (var propKey$
|
|
13372
|
-
(propKey$
|
|
13373
|
-
lastProps.hasOwnProperty(propKey$
|
|
13374
|
-
null != propKey$
|
|
13375
|
-
!nextProps.hasOwnProperty(propKey$
|
|
13376
|
-
setProp(domElement, tag, propKey$
|
|
13405
|
+
for (var propKey$234 in lastProps)
|
|
13406
|
+
(propKey$203 = lastProps[propKey$234]),
|
|
13407
|
+
lastProps.hasOwnProperty(propKey$234) &&
|
|
13408
|
+
null != propKey$203 &&
|
|
13409
|
+
!nextProps.hasOwnProperty(propKey$234) &&
|
|
13410
|
+
setProp(domElement, tag, propKey$234, null, nextProps, propKey$203);
|
|
13377
13411
|
for (lastProp in nextProps)
|
|
13378
|
-
(propKey$
|
|
13412
|
+
(propKey$203 = nextProps[lastProp]),
|
|
13379
13413
|
(propKey = lastProps[lastProp]),
|
|
13380
13414
|
!nextProps.hasOwnProperty(lastProp) ||
|
|
13381
|
-
propKey$
|
|
13382
|
-
(null == propKey$
|
|
13383
|
-
setProp(domElement, tag, lastProp, propKey$
|
|
13415
|
+
propKey$203 === propKey ||
|
|
13416
|
+
(null == propKey$203 && null == propKey) ||
|
|
13417
|
+
setProp(domElement, tag, lastProp, propKey$203, nextProps, propKey);
|
|
13384
13418
|
}
|
|
13385
13419
|
var eventsEnabled = null,
|
|
13386
13420
|
selectionInformation = null;
|
|
@@ -13526,7 +13560,9 @@ function canHydrateInstance(instance, type, props, inRootOrSingleton) {
|
|
|
13526
13560
|
else if (
|
|
13527
13561
|
name !== anyProps.rel ||
|
|
13528
13562
|
instance.getAttribute("href") !==
|
|
13529
|
-
(null == anyProps.href
|
|
13563
|
+
(null == anyProps.href || "" === anyProps.href
|
|
13564
|
+
? null
|
|
13565
|
+
: anyProps.href) ||
|
|
13530
13566
|
instance.getAttribute("crossorigin") !==
|
|
13531
13567
|
(null == anyProps.crossOrigin ? null : anyProps.crossOrigin) ||
|
|
13532
13568
|
instance.getAttribute("title") !==
|
|
@@ -13944,26 +13980,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
|
|
13944
13980
|
"string" === typeof pendingProps.precedence
|
|
13945
13981
|
) {
|
|
13946
13982
|
type = getStyleKey(pendingProps.href);
|
|
13947
|
-
var styles$
|
|
13983
|
+
var styles$242 = getResourcesFromRoot(
|
|
13948
13984
|
JSCompiler_inline_result
|
|
13949
13985
|
).hoistableStyles,
|
|
13950
|
-
resource$
|
|
13951
|
-
resource$
|
|
13986
|
+
resource$243 = styles$242.get(type);
|
|
13987
|
+
resource$243 ||
|
|
13952
13988
|
((JSCompiler_inline_result =
|
|
13953
13989
|
JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
|
|
13954
|
-
(resource$
|
|
13990
|
+
(resource$243 = {
|
|
13955
13991
|
type: "stylesheet",
|
|
13956
13992
|
instance: null,
|
|
13957
13993
|
count: 0,
|
|
13958
13994
|
state: { loading: 0, preload: null }
|
|
13959
13995
|
}),
|
|
13960
|
-
styles$
|
|
13961
|
-
(styles$
|
|
13996
|
+
styles$242.set(type, resource$243),
|
|
13997
|
+
(styles$242 = JSCompiler_inline_result.querySelector(
|
|
13962
13998
|
getStylesheetSelectorFromKey(type)
|
|
13963
13999
|
)) &&
|
|
13964
|
-
!styles$
|
|
13965
|
-
((resource$
|
|
13966
|
-
(resource$
|
|
14000
|
+
!styles$242._p &&
|
|
14001
|
+
((resource$243.instance = styles$242),
|
|
14002
|
+
(resource$243.state.loading = 5)),
|
|
13967
14003
|
preloadPropsMap.has(type) ||
|
|
13968
14004
|
((pendingProps = {
|
|
13969
14005
|
rel: "preload",
|
|
@@ -13976,16 +14012,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
|
|
13976
14012
|
referrerPolicy: pendingProps.referrerPolicy
|
|
13977
14013
|
}),
|
|
13978
14014
|
preloadPropsMap.set(type, pendingProps),
|
|
13979
|
-
styles$
|
|
14015
|
+
styles$242 ||
|
|
13980
14016
|
preloadStylesheet(
|
|
13981
14017
|
JSCompiler_inline_result,
|
|
13982
14018
|
type,
|
|
13983
14019
|
pendingProps,
|
|
13984
|
-
resource$
|
|
14020
|
+
resource$243.state
|
|
13985
14021
|
)));
|
|
13986
14022
|
if (currentProps && null === currentResource)
|
|
13987
14023
|
throw Error(formatProdErrorMessage(528, ""));
|
|
13988
|
-
return resource$
|
|
14024
|
+
return resource$243;
|
|
13989
14025
|
}
|
|
13990
14026
|
if (currentProps && null !== currentResource)
|
|
13991
14027
|
throw Error(formatProdErrorMessage(529, ""));
|
|
@@ -14082,37 +14118,37 @@ function acquireResource(hoistableRoot, resource, props) {
|
|
|
14082
14118
|
return (resource.instance = instance);
|
|
14083
14119
|
case "stylesheet":
|
|
14084
14120
|
styleProps = getStyleKey(props.href);
|
|
14085
|
-
var instance$
|
|
14121
|
+
var instance$248 = hoistableRoot.querySelector(
|
|
14086
14122
|
getStylesheetSelectorFromKey(styleProps)
|
|
14087
14123
|
);
|
|
14088
|
-
if (instance$
|
|
14124
|
+
if (instance$248)
|
|
14089
14125
|
return (
|
|
14090
14126
|
(resource.state.loading |= 4),
|
|
14091
|
-
(resource.instance = instance$
|
|
14092
|
-
markNodeAsHoistable(instance$
|
|
14093
|
-
instance$
|
|
14127
|
+
(resource.instance = instance$248),
|
|
14128
|
+
markNodeAsHoistable(instance$248),
|
|
14129
|
+
instance$248
|
|
14094
14130
|
);
|
|
14095
14131
|
instance = stylesheetPropsFromRawProps(props);
|
|
14096
14132
|
(styleProps = preloadPropsMap.get(styleProps)) &&
|
|
14097
14133
|
adoptPreloadPropsForStylesheet(instance, styleProps);
|
|
14098
|
-
instance$
|
|
14134
|
+
instance$248 = (
|
|
14099
14135
|
hoistableRoot.ownerDocument || hoistableRoot
|
|
14100
14136
|
).createElement("link");
|
|
14101
|
-
markNodeAsHoistable(instance$
|
|
14102
|
-
var linkInstance = instance$
|
|
14137
|
+
markNodeAsHoistable(instance$248);
|
|
14138
|
+
var linkInstance = instance$248;
|
|
14103
14139
|
linkInstance._p = new Promise(function (resolve, reject) {
|
|
14104
14140
|
linkInstance.onload = resolve;
|
|
14105
14141
|
linkInstance.onerror = reject;
|
|
14106
14142
|
});
|
|
14107
|
-
setInitialProperties(instance$
|
|
14143
|
+
setInitialProperties(instance$248, "link", instance);
|
|
14108
14144
|
resource.state.loading |= 4;
|
|
14109
|
-
insertStylesheet(instance$
|
|
14110
|
-
return (resource.instance = instance$
|
|
14145
|
+
insertStylesheet(instance$248, props.precedence, hoistableRoot);
|
|
14146
|
+
return (resource.instance = instance$248);
|
|
14111
14147
|
case "script":
|
|
14112
|
-
instance$
|
|
14148
|
+
instance$248 = getScriptKey(props.src);
|
|
14113
14149
|
if (
|
|
14114
14150
|
(styleProps = hoistableRoot.querySelector(
|
|
14115
|
-
getScriptSelectorFromKey(instance$
|
|
14151
|
+
getScriptSelectorFromKey(instance$248)
|
|
14116
14152
|
))
|
|
14117
14153
|
)
|
|
14118
14154
|
return (
|
|
@@ -14121,7 +14157,7 @@ function acquireResource(hoistableRoot, resource, props) {
|
|
|
14121
14157
|
styleProps
|
|
14122
14158
|
);
|
|
14123
14159
|
instance = props;
|
|
14124
|
-
if ((styleProps = preloadPropsMap.get(instance$
|
|
14160
|
+
if ((styleProps = preloadPropsMap.get(instance$248)))
|
|
14125
14161
|
(instance = assign({}, props)),
|
|
14126
14162
|
adoptPreloadPropsForScript(instance, styleProps);
|
|
14127
14163
|
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
|
|
@@ -15117,7 +15153,6 @@ ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount =
|
|
|
15117
15153
|
if (null !== root) {
|
|
15118
15154
|
this._internalRoot = null;
|
|
15119
15155
|
var container = root.containerInfo;
|
|
15120
|
-
0 === root.tag && flushPassiveEffects();
|
|
15121
15156
|
updateContainerImpl(root.current, 2, null, root, null, null);
|
|
15122
15157
|
flushSyncWork$1();
|
|
15123
15158
|
container[internalContainerInstanceKey] = null;
|
|
@@ -15141,16 +15176,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
|
15141
15176
|
0 === i && attemptExplicitHydrationTarget(target);
|
|
15142
15177
|
}
|
|
15143
15178
|
};
|
|
15144
|
-
var isomorphicReactPackageVersion$jscomp$
|
|
15179
|
+
var isomorphicReactPackageVersion$jscomp$inline_1705 = React.version;
|
|
15145
15180
|
if (
|
|
15146
|
-
"19.1.0-canary-
|
|
15147
|
-
isomorphicReactPackageVersion$jscomp$
|
|
15181
|
+
"19.1.0-canary-7b402084-20250107" !==
|
|
15182
|
+
isomorphicReactPackageVersion$jscomp$inline_1705
|
|
15148
15183
|
)
|
|
15149
15184
|
throw Error(
|
|
15150
15185
|
formatProdErrorMessage(
|
|
15151
15186
|
527,
|
|
15152
|
-
isomorphicReactPackageVersion$jscomp$
|
|
15153
|
-
"19.1.0-canary-
|
|
15187
|
+
isomorphicReactPackageVersion$jscomp$inline_1705,
|
|
15188
|
+
"19.1.0-canary-7b402084-20250107"
|
|
15154
15189
|
)
|
|
15155
15190
|
);
|
|
15156
15191
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
@@ -15170,24 +15205,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
|
15170
15205
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
|
15171
15206
|
return componentOrElement;
|
|
15172
15207
|
};
|
|
15173
|
-
var internals$jscomp$
|
|
15208
|
+
var internals$jscomp$inline_2174 = {
|
|
15174
15209
|
bundleType: 0,
|
|
15175
|
-
version: "19.1.0-canary-
|
|
15210
|
+
version: "19.1.0-canary-7b402084-20250107",
|
|
15176
15211
|
rendererPackageName: "react-dom",
|
|
15177
15212
|
currentDispatcherRef: ReactSharedInternals,
|
|
15178
|
-
reconcilerVersion: "19.1.0-canary-
|
|
15213
|
+
reconcilerVersion: "19.1.0-canary-7b402084-20250107"
|
|
15179
15214
|
};
|
|
15180
15215
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
|
15181
|
-
var hook$jscomp$
|
|
15216
|
+
var hook$jscomp$inline_2175 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
15182
15217
|
if (
|
|
15183
|
-
!hook$jscomp$
|
|
15184
|
-
hook$jscomp$
|
|
15218
|
+
!hook$jscomp$inline_2175.isDisabled &&
|
|
15219
|
+
hook$jscomp$inline_2175.supportsFiber
|
|
15185
15220
|
)
|
|
15186
15221
|
try {
|
|
15187
|
-
(rendererID = hook$jscomp$
|
|
15188
|
-
internals$jscomp$
|
|
15222
|
+
(rendererID = hook$jscomp$inline_2175.inject(
|
|
15223
|
+
internals$jscomp$inline_2174
|
|
15189
15224
|
)),
|
|
15190
|
-
(injectedHook = hook$jscomp$
|
|
15225
|
+
(injectedHook = hook$jscomp$inline_2175);
|
|
15191
15226
|
} catch (err) {}
|
|
15192
15227
|
}
|
|
15193
15228
|
exports.createRoot = function (container, options) {
|
|
@@ -15281,4 +15316,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
|
15281
15316
|
listenToAllSupportedEvents(container);
|
|
15282
15317
|
return new ReactDOMHydrationRoot(initialChildren);
|
|
15283
15318
|
};
|
|
15284
|
-
exports.version = "19.1.0-canary-
|
|
15319
|
+
exports.version = "19.1.0-canary-7b402084-20250107";
|