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
@@ -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() {
|
@@ -10187,10 +10187,13 @@ var DefaultAsyncDispatcher = {
|
|
10187
10187
|
workInProgressRootRenderTargetTime = Infinity,
|
10188
10188
|
workInProgressTransitions = null,
|
10189
10189
|
legacyErrorBoundariesThatAlreadyFailed = null,
|
10190
|
-
|
10191
|
-
|
10192
|
-
|
10190
|
+
pendingEffectsStatus = 0,
|
10191
|
+
pendingEffectsRoot = null,
|
10192
|
+
pendingFinishedWork = null,
|
10193
|
+
pendingEffectsLanes = 0,
|
10194
|
+
pendingEffectsRemainingLanes = 0,
|
10193
10195
|
pendingPassiveTransitions = null,
|
10196
|
+
pendingRecoverableErrors = null,
|
10194
10197
|
nestedUpdateCount = 0,
|
10195
10198
|
rootWithNestedUpdates = null;
|
10196
10199
|
function requestUpdateLane() {
|
@@ -10984,8 +10987,8 @@ function commitRoot(
|
|
10984
10987
|
suspendedRetryLanes
|
10985
10988
|
) {
|
10986
10989
|
root.cancelPendingCommit = null;
|
10987
|
-
do
|
10988
|
-
while (
|
10990
|
+
do flushPendingEffects();
|
10991
|
+
while (0 !== pendingEffectsStatus);
|
10989
10992
|
if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));
|
10990
10993
|
if (null !== finishedWork) {
|
10991
10994
|
if (finishedWork === root.current) throw Error(formatProdErrorMessage(177));
|
@@ -11002,216 +11005,240 @@ function commitRoot(
|
|
11002
11005
|
root === workInProgressRoot &&
|
11003
11006
|
((workInProgress = workInProgressRoot = null),
|
11004
11007
|
(workInProgressRootRenderLanes = 0));
|
11008
|
+
pendingFinishedWork = finishedWork;
|
11009
|
+
pendingEffectsRoot = root;
|
11010
|
+
pendingEffectsLanes = lanes;
|
11011
|
+
pendingEffectsRemainingLanes = didIncludeRenderPhaseUpdate;
|
11012
|
+
pendingPassiveTransitions = transitions;
|
11013
|
+
pendingRecoverableErrors = recoverableErrors;
|
11005
11014
|
0 !== (finishedWork.subtreeFlags & 10256) ||
|
11006
11015
|
0 !== (finishedWork.flags & 10256)
|
11007
|
-
? ((
|
11008
|
-
(pendingPassiveTransitions = transitions),
|
11009
|
-
(root.callbackNode = null),
|
11016
|
+
? ((root.callbackNode = null),
|
11010
11017
|
(root.callbackPriority = 0),
|
11011
11018
|
scheduleCallback$1(NormalPriority$1, function () {
|
11012
11019
|
flushPassiveEffects(!0);
|
11013
11020
|
return null;
|
11014
11021
|
}))
|
11015
11022
|
: ((root.callbackNode = null), (root.callbackPriority = 0));
|
11016
|
-
|
11017
|
-
if (0 !== (finishedWork.subtreeFlags & 13878) ||
|
11018
|
-
|
11023
|
+
lanes = 0 !== (finishedWork.flags & 13878);
|
11024
|
+
if (0 !== (finishedWork.subtreeFlags & 13878) || lanes) {
|
11025
|
+
lanes = ReactSharedInternals.T;
|
11019
11026
|
ReactSharedInternals.T = null;
|
11020
|
-
|
11027
|
+
recoverableErrors = ReactDOMSharedInternals.p;
|
11021
11028
|
ReactDOMSharedInternals.p = 2;
|
11022
|
-
|
11029
|
+
transitions = executionContext;
|
11023
11030
|
executionContext |= 4;
|
11024
11031
|
try {
|
11025
11032
|
commitBeforeMutationEffects(root, finishedWork);
|
11026
11033
|
} finally {
|
11027
|
-
(executionContext =
|
11028
|
-
(ReactDOMSharedInternals.p =
|
11029
|
-
(ReactSharedInternals.T =
|
11034
|
+
(executionContext = transitions),
|
11035
|
+
(ReactDOMSharedInternals.p = recoverableErrors),
|
11036
|
+
(ReactSharedInternals.T = lanes);
|
11030
11037
|
}
|
11031
11038
|
}
|
11032
|
-
|
11033
|
-
|
11034
|
-
|
11035
|
-
}
|
11036
|
-
|
11037
|
-
|
11038
|
-
if (
|
11039
|
-
|
11040
|
-
|
11041
|
-
|
11042
|
-
|
11043
|
-
|
11044
|
-
|
11045
|
-
|
11046
|
-
|
11047
|
-
|
11048
|
-
|
11049
|
-
|
11050
|
-
|
11051
|
-
|
11052
|
-
|
11053
|
-
|
11054
|
-
|
11055
|
-
|
11056
|
-
priorFocusedElem.ownerDocument.documentElement,
|
11057
|
-
priorFocusedElem
|
11058
|
-
)
|
11059
|
-
) {
|
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;
|
11060
11063
|
if (
|
11061
|
-
|
11062
|
-
|
11064
|
+
curFocusedElem !== priorFocusedElem &&
|
11065
|
+
priorFocusedElem &&
|
11066
|
+
priorFocusedElem.ownerDocument &&
|
11067
|
+
containsNode(
|
11068
|
+
priorFocusedElem.ownerDocument.documentElement,
|
11069
|
+
priorFocusedElem
|
11070
|
+
)
|
11063
11071
|
) {
|
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
|
-
|
11090
|
-
|
11091
|
-
start$jscomp$0
|
11092
|
-
|
11093
|
-
|
11094
|
-
|
11095
|
-
|
11096
|
-
|
11097
|
-
|
11098
|
-
|
11099
|
-
|
11100
|
-
|
11101
|
-
|
11102
|
-
|
11103
|
-
|
11104
|
-
|
11105
|
-
|
11106
|
-
|
11107
|
-
|
11108
|
-
|
11109
|
-
|
11110
|
-
|
11111
|
-
|
11112
|
-
|
11113
|
-
|
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
|
+
}
|
11114
11127
|
}
|
11115
11128
|
}
|
11116
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
|
+
}
|
11117
11153
|
}
|
11118
|
-
|
11119
|
-
|
11120
|
-
|
11121
|
-
|
11122
|
-
|
11123
|
-
|
11124
|
-
top: selection.scrollTop
|
11125
|
-
});
|
11126
|
-
"function" === typeof priorFocusedElem.focus &&
|
11127
|
-
priorFocusedElem.focus();
|
11128
|
-
for (
|
11129
|
-
priorFocusedElem = 0;
|
11130
|
-
priorFocusedElem < doc.length;
|
11131
|
-
priorFocusedElem++
|
11132
|
-
) {
|
11133
|
-
var info = doc[priorFocusedElem];
|
11134
|
-
info.element.scrollLeft = info.left;
|
11135
|
-
info.element.scrollTop = info.top;
|
11136
|
-
}
|
11154
|
+
_enabled = !!eventsEnabled;
|
11155
|
+
selectionInformation = eventsEnabled = null;
|
11156
|
+
} finally {
|
11157
|
+
(executionContext = prevExecutionContext),
|
11158
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
11159
|
+
(ReactSharedInternals.T = rootMutationHasEffect);
|
11137
11160
|
}
|
11138
|
-
_enabled = !!eventsEnabled;
|
11139
|
-
selectionInformation = eventsEnabled = null;
|
11140
|
-
} finally {
|
11141
|
-
(executionContext = prevExecutionContext),
|
11142
|
-
(ReactDOMSharedInternals.p = previousPriority),
|
11143
|
-
(ReactSharedInternals.T = rootMutationHasEffect);
|
11144
11161
|
}
|
11145
|
-
|
11146
|
-
|
11147
|
-
}
|
11148
|
-
|
11149
|
-
|
11150
|
-
if (
|
11151
|
-
|
11152
|
-
|
11153
|
-
|
11154
|
-
|
11155
|
-
|
11156
|
-
|
11157
|
-
|
11158
|
-
|
11159
|
-
|
11160
|
-
|
11161
|
-
|
11162
|
-
|
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
|
+
}
|
11163
11188
|
}
|
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
|
-
|
11198
|
-
|
11199
|
-
|
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);
|
11200
11230
|
}
|
11201
|
-
} finally {
|
11202
|
-
(ReactSharedInternals.T = finishedWork),
|
11203
|
-
(ReactDOMSharedInternals.p = rootHasLayoutEffect);
|
11204
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);
|
11205
11241
|
}
|
11206
|
-
0 !== (pendingPassiveEffectsLanes & 3) && flushPassiveEffects();
|
11207
|
-
ensureRootIsScheduled(root);
|
11208
|
-
rootHasLayoutEffect = root.pendingLanes;
|
11209
|
-
0 !== (lanes & 4194218) && 0 !== (rootHasLayoutEffect & 42)
|
11210
|
-
? root === rootWithNestedUpdates
|
11211
|
-
? nestedUpdateCount++
|
11212
|
-
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))
|
11213
|
-
: (nestedUpdateCount = 0);
|
11214
|
-
flushSyncWorkAcrossRoots_impl(0, !1);
|
11215
11242
|
}
|
11216
11243
|
function releaseRootPooledCache(root, remainingLanes) {
|
11217
11244
|
0 === (root.pooledCacheLanes &= remainingLanes) &&
|
@@ -11219,51 +11246,54 @@ function releaseRootPooledCache(root, remainingLanes) {
|
|
11219
11246
|
null != remainingLanes &&
|
11220
11247
|
((root.pooledCache = null), releaseCache(remainingLanes)));
|
11221
11248
|
}
|
11249
|
+
function flushPendingEffects(wasDelayedCommit) {
|
11250
|
+
flushMutationEffects();
|
11251
|
+
flushLayoutEffects();
|
11252
|
+
return flushPassiveEffects(wasDelayedCommit);
|
11253
|
+
}
|
11222
11254
|
function flushPassiveEffects() {
|
11223
|
-
if (
|
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
|
-
|
11263
|
-
|
11264
|
-
}
|
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);
|
11265
11296
|
}
|
11266
|
-
return !1;
|
11267
11297
|
}
|
11268
11298
|
function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {
|
11269
11299
|
sourceFiber = createCapturedValueAtFiber(error, sourceFiber);
|
@@ -11402,14 +11432,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
|
11402
11432
|
isFlushingWork = !0;
|
11403
11433
|
do {
|
11404
11434
|
var didPerformSomeWork = !1;
|
11405
|
-
for (var root$
|
11435
|
+
for (var root$172 = firstScheduledRoot; null !== root$172; ) {
|
11406
11436
|
if (!onlyLegacy)
|
11407
11437
|
if (0 !== syncTransitionLanes) {
|
11408
|
-
var pendingLanes = root$
|
11438
|
+
var pendingLanes = root$172.pendingLanes;
|
11409
11439
|
if (0 === pendingLanes) var JSCompiler_inline_result = 0;
|
11410
11440
|
else {
|
11411
|
-
var suspendedLanes = root$
|
11412
|
-
pingedLanes = root$
|
11441
|
+
var suspendedLanes = root$172.suspendedLanes,
|
11442
|
+
pingedLanes = root$172.pingedLanes;
|
11413
11443
|
JSCompiler_inline_result =
|
11414
11444
|
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
11415
11445
|
JSCompiler_inline_result &=
|
@@ -11423,20 +11453,20 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
|
11423
11453
|
}
|
11424
11454
|
0 !== JSCompiler_inline_result &&
|
11425
11455
|
((didPerformSomeWork = !0),
|
11426
|
-
performSyncWorkOnRoot(root$
|
11456
|
+
performSyncWorkOnRoot(root$172, JSCompiler_inline_result));
|
11427
11457
|
} else
|
11428
11458
|
(JSCompiler_inline_result = workInProgressRootRenderLanes),
|
11429
11459
|
(JSCompiler_inline_result = getNextLanes(
|
11430
|
-
root$
|
11431
|
-
root$
|
11432
|
-
null !== root$
|
11433
|
-
-1 !== root$
|
11460
|
+
root$172,
|
11461
|
+
root$172 === workInProgressRoot ? JSCompiler_inline_result : 0,
|
11462
|
+
null !== root$172.cancelPendingCommit ||
|
11463
|
+
-1 !== root$172.timeoutHandle
|
11434
11464
|
)),
|
11435
11465
|
0 === (JSCompiler_inline_result & 3) ||
|
11436
|
-
checkIfRootIsPrerendering(root$
|
11466
|
+
checkIfRootIsPrerendering(root$172, JSCompiler_inline_result) ||
|
11437
11467
|
((didPerformSomeWork = !0),
|
11438
|
-
performSyncWorkOnRoot(root$
|
11439
|
-
root$
|
11468
|
+
performSyncWorkOnRoot(root$172, JSCompiler_inline_result));
|
11469
|
+
root$172 = root$172.next;
|
11440
11470
|
}
|
11441
11471
|
} while (didPerformSomeWork);
|
11442
11472
|
isFlushingWork = !1;
|
@@ -11544,8 +11574,10 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
|
11544
11574
|
return 2;
|
11545
11575
|
}
|
11546
11576
|
function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
11577
|
+
if (0 !== pendingEffectsStatus && 3 !== pendingEffectsStatus)
|
11578
|
+
return (root.callbackNode = null), (root.callbackPriority = 0), null;
|
11547
11579
|
var originalCallbackNode = root.callbackNode;
|
11548
|
-
if (
|
11580
|
+
if (flushPendingEffects(!0) && root.callbackNode !== originalCallbackNode)
|
11549
11581
|
return null;
|
11550
11582
|
var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes;
|
11551
11583
|
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
@@ -11561,7 +11593,7 @@ function performWorkOnRootViaSchedulerTask(root, didTimeout) {
|
|
11561
11593
|
: null;
|
11562
11594
|
}
|
11563
11595
|
function performSyncWorkOnRoot(root, lanes) {
|
11564
|
-
if (
|
11596
|
+
if (flushPendingEffects()) return null;
|
11565
11597
|
performWorkOnRoot(root, lanes, !0);
|
11566
11598
|
}
|
11567
11599
|
function scheduleImmediateRootScheduleTask() {
|
@@ -11674,20 +11706,20 @@ function extractEvents$1(
|
|
11674
11706
|
}
|
11675
11707
|
}
|
11676
11708
|
for (
|
11677
|
-
var i$jscomp$
|
11678
|
-
i$jscomp$
|
11679
|
-
i$jscomp$
|
11709
|
+
var i$jscomp$inline_1458 = 0;
|
11710
|
+
i$jscomp$inline_1458 < simpleEventPluginEvents.length;
|
11711
|
+
i$jscomp$inline_1458++
|
11680
11712
|
) {
|
11681
|
-
var eventName$jscomp$
|
11682
|
-
simpleEventPluginEvents[i$jscomp$
|
11683
|
-
domEventName$jscomp$
|
11684
|
-
eventName$jscomp$
|
11685
|
-
capitalizedEvent$jscomp$
|
11686
|
-
eventName$jscomp$
|
11687
|
-
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);
|
11688
11720
|
registerSimpleEvent(
|
11689
|
-
domEventName$jscomp$
|
11690
|
-
"on" + capitalizedEvent$jscomp$
|
11721
|
+
domEventName$jscomp$inline_1460,
|
11722
|
+
"on" + capitalizedEvent$jscomp$inline_1461
|
11691
11723
|
);
|
11692
11724
|
}
|
11693
11725
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
@@ -12870,34 +12902,34 @@ function setInitialProperties(domElement, tag, props) {
|
|
12870
12902
|
defaultChecked = null;
|
12871
12903
|
for (hasSrc in props)
|
12872
12904
|
if (props.hasOwnProperty(hasSrc)) {
|
12873
|
-
var propValue$
|
12874
|
-
if (null != propValue$
|
12905
|
+
var propValue$186 = props[hasSrc];
|
12906
|
+
if (null != propValue$186)
|
12875
12907
|
switch (hasSrc) {
|
12876
12908
|
case "name":
|
12877
|
-
hasSrcSet = propValue$
|
12909
|
+
hasSrcSet = propValue$186;
|
12878
12910
|
break;
|
12879
12911
|
case "type":
|
12880
|
-
propValue = propValue$
|
12912
|
+
propValue = propValue$186;
|
12881
12913
|
break;
|
12882
12914
|
case "checked":
|
12883
|
-
checked = propValue$
|
12915
|
+
checked = propValue$186;
|
12884
12916
|
break;
|
12885
12917
|
case "defaultChecked":
|
12886
|
-
defaultChecked = propValue$
|
12918
|
+
defaultChecked = propValue$186;
|
12887
12919
|
break;
|
12888
12920
|
case "value":
|
12889
|
-
propKey = propValue$
|
12921
|
+
propKey = propValue$186;
|
12890
12922
|
break;
|
12891
12923
|
case "defaultValue":
|
12892
|
-
defaultValue = propValue$
|
12924
|
+
defaultValue = propValue$186;
|
12893
12925
|
break;
|
12894
12926
|
case "children":
|
12895
12927
|
case "dangerouslySetInnerHTML":
|
12896
|
-
if (null != propValue$
|
12928
|
+
if (null != propValue$186)
|
12897
12929
|
throw Error(formatProdErrorMessage(137, tag));
|
12898
12930
|
break;
|
12899
12931
|
default:
|
12900
|
-
setProp(domElement, tag, hasSrc, propValue$
|
12932
|
+
setProp(domElement, tag, hasSrc, propValue$186, props, null);
|
12901
12933
|
}
|
12902
12934
|
}
|
12903
12935
|
initInput(
|
@@ -13034,14 +13066,14 @@ function setInitialProperties(domElement, tag, props) {
|
|
13034
13066
|
return;
|
13035
13067
|
default:
|
13036
13068
|
if (isCustomElement(tag)) {
|
13037
|
-
for (propValue$
|
13038
|
-
props.hasOwnProperty(propValue$
|
13039
|
-
((hasSrc = props[propValue$
|
13069
|
+
for (propValue$186 in props)
|
13070
|
+
props.hasOwnProperty(propValue$186) &&
|
13071
|
+
((hasSrc = props[propValue$186]),
|
13040
13072
|
void 0 !== hasSrc &&
|
13041
13073
|
setPropOnCustomElement(
|
13042
13074
|
domElement,
|
13043
13075
|
tag,
|
13044
|
-
propValue$
|
13076
|
+
propValue$186,
|
13045
13077
|
hasSrc,
|
13046
13078
|
props,
|
13047
13079
|
void 0
|
@@ -13089,14 +13121,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13089
13121
|
setProp(domElement, tag, propKey, null, nextProps, lastProp);
|
13090
13122
|
}
|
13091
13123
|
}
|
13092
|
-
for (var propKey$
|
13093
|
-
var propKey = nextProps[propKey$
|
13094
|
-
lastProp = lastProps[propKey$
|
13124
|
+
for (var propKey$203 in nextProps) {
|
13125
|
+
var propKey = nextProps[propKey$203];
|
13126
|
+
lastProp = lastProps[propKey$203];
|
13095
13127
|
if (
|
13096
|
-
nextProps.hasOwnProperty(propKey$
|
13128
|
+
nextProps.hasOwnProperty(propKey$203) &&
|
13097
13129
|
(null != propKey || null != lastProp)
|
13098
13130
|
)
|
13099
|
-
switch (propKey$
|
13131
|
+
switch (propKey$203) {
|
13100
13132
|
case "type":
|
13101
13133
|
type = propKey;
|
13102
13134
|
break;
|
@@ -13125,7 +13157,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13125
13157
|
setProp(
|
13126
13158
|
domElement,
|
13127
13159
|
tag,
|
13128
|
-
propKey$
|
13160
|
+
propKey$203,
|
13129
13161
|
propKey,
|
13130
13162
|
nextProps,
|
13131
13163
|
lastProp
|
@@ -13144,7 +13176,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13144
13176
|
);
|
13145
13177
|
return;
|
13146
13178
|
case "select":
|
13147
|
-
propKey = value = defaultValue = propKey$
|
13179
|
+
propKey = value = defaultValue = propKey$203 = null;
|
13148
13180
|
for (type in lastProps)
|
13149
13181
|
if (
|
13150
13182
|
((lastDefaultValue = lastProps[type]),
|
@@ -13175,7 +13207,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13175
13207
|
)
|
13176
13208
|
switch (name) {
|
13177
13209
|
case "value":
|
13178
|
-
propKey$
|
13210
|
+
propKey$203 = type;
|
13179
13211
|
break;
|
13180
13212
|
case "defaultValue":
|
13181
13213
|
defaultValue = type;
|
@@ -13196,15 +13228,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13196
13228
|
tag = defaultValue;
|
13197
13229
|
lastProps = value;
|
13198
13230
|
nextProps = propKey;
|
13199
|
-
null != propKey$
|
13200
|
-
? updateOptions(domElement, !!lastProps, propKey$
|
13231
|
+
null != propKey$203
|
13232
|
+
? updateOptions(domElement, !!lastProps, propKey$203, !1)
|
13201
13233
|
: !!nextProps !== !!lastProps &&
|
13202
13234
|
(null != tag
|
13203
13235
|
? updateOptions(domElement, !!lastProps, tag, !0)
|
13204
13236
|
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
|
13205
13237
|
return;
|
13206
13238
|
case "textarea":
|
13207
|
-
propKey = propKey$
|
13239
|
+
propKey = propKey$203 = null;
|
13208
13240
|
for (defaultValue in lastProps)
|
13209
13241
|
if (
|
13210
13242
|
((name = lastProps[defaultValue]),
|
@@ -13228,7 +13260,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13228
13260
|
)
|
13229
13261
|
switch (value) {
|
13230
13262
|
case "value":
|
13231
|
-
propKey$
|
13263
|
+
propKey$203 = name;
|
13232
13264
|
break;
|
13233
13265
|
case "defaultValue":
|
13234
13266
|
propKey = name;
|
@@ -13242,17 +13274,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13242
13274
|
name !== type &&
|
13243
13275
|
setProp(domElement, tag, value, name, nextProps, type);
|
13244
13276
|
}
|
13245
|
-
updateTextarea(domElement, propKey$
|
13277
|
+
updateTextarea(domElement, propKey$203, propKey);
|
13246
13278
|
return;
|
13247
13279
|
case "option":
|
13248
|
-
for (var propKey$
|
13280
|
+
for (var propKey$219 in lastProps)
|
13249
13281
|
if (
|
13250
|
-
((propKey$
|
13251
|
-
lastProps.hasOwnProperty(propKey$
|
13252
|
-
null != propKey$
|
13253
|
-
!nextProps.hasOwnProperty(propKey$
|
13282
|
+
((propKey$203 = lastProps[propKey$219]),
|
13283
|
+
lastProps.hasOwnProperty(propKey$219) &&
|
13284
|
+
null != propKey$203 &&
|
13285
|
+
!nextProps.hasOwnProperty(propKey$219))
|
13254
13286
|
)
|
13255
|
-
switch (propKey$
|
13287
|
+
switch (propKey$219) {
|
13256
13288
|
case "selected":
|
13257
13289
|
domElement.selected = !1;
|
13258
13290
|
break;
|
@@ -13260,33 +13292,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13260
13292
|
setProp(
|
13261
13293
|
domElement,
|
13262
13294
|
tag,
|
13263
|
-
propKey$
|
13295
|
+
propKey$219,
|
13264
13296
|
null,
|
13265
13297
|
nextProps,
|
13266
|
-
propKey$
|
13298
|
+
propKey$203
|
13267
13299
|
);
|
13268
13300
|
}
|
13269
13301
|
for (lastDefaultValue in nextProps)
|
13270
13302
|
if (
|
13271
|
-
((propKey$
|
13303
|
+
((propKey$203 = nextProps[lastDefaultValue]),
|
13272
13304
|
(propKey = lastProps[lastDefaultValue]),
|
13273
13305
|
nextProps.hasOwnProperty(lastDefaultValue) &&
|
13274
|
-
propKey$
|
13275
|
-
(null != propKey$
|
13306
|
+
propKey$203 !== propKey &&
|
13307
|
+
(null != propKey$203 || null != propKey))
|
13276
13308
|
)
|
13277
13309
|
switch (lastDefaultValue) {
|
13278
13310
|
case "selected":
|
13279
13311
|
domElement.selected =
|
13280
|
-
propKey$
|
13281
|
-
"function" !== typeof propKey$
|
13282
|
-
"symbol" !== typeof propKey$
|
13312
|
+
propKey$203 &&
|
13313
|
+
"function" !== typeof propKey$203 &&
|
13314
|
+
"symbol" !== typeof propKey$203;
|
13283
13315
|
break;
|
13284
13316
|
default:
|
13285
13317
|
setProp(
|
13286
13318
|
domElement,
|
13287
13319
|
tag,
|
13288
13320
|
lastDefaultValue,
|
13289
|
-
propKey$
|
13321
|
+
propKey$203,
|
13290
13322
|
nextProps,
|
13291
13323
|
propKey
|
13292
13324
|
);
|
@@ -13307,24 +13339,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13307
13339
|
case "track":
|
13308
13340
|
case "wbr":
|
13309
13341
|
case "menuitem":
|
13310
|
-
for (var propKey$
|
13311
|
-
(propKey$
|
13312
|
-
lastProps.hasOwnProperty(propKey$
|
13313
|
-
null != propKey$
|
13314
|
-
!nextProps.hasOwnProperty(propKey$
|
13315
|
-
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);
|
13316
13348
|
for (checked in nextProps)
|
13317
13349
|
if (
|
13318
|
-
((propKey$
|
13350
|
+
((propKey$203 = nextProps[checked]),
|
13319
13351
|
(propKey = lastProps[checked]),
|
13320
13352
|
nextProps.hasOwnProperty(checked) &&
|
13321
|
-
propKey$
|
13322
|
-
(null != propKey$
|
13353
|
+
propKey$203 !== propKey &&
|
13354
|
+
(null != propKey$203 || null != propKey))
|
13323
13355
|
)
|
13324
13356
|
switch (checked) {
|
13325
13357
|
case "children":
|
13326
13358
|
case "dangerouslySetInnerHTML":
|
13327
|
-
if (null != propKey$
|
13359
|
+
if (null != propKey$203)
|
13328
13360
|
throw Error(formatProdErrorMessage(137, tag));
|
13329
13361
|
break;
|
13330
13362
|
default:
|
@@ -13332,7 +13364,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13332
13364
|
domElement,
|
13333
13365
|
tag,
|
13334
13366
|
checked,
|
13335
|
-
propKey$
|
13367
|
+
propKey$203,
|
13336
13368
|
nextProps,
|
13337
13369
|
propKey
|
13338
13370
|
);
|
@@ -13340,49 +13372,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13340
13372
|
return;
|
13341
13373
|
default:
|
13342
13374
|
if (isCustomElement(tag)) {
|
13343
|
-
for (var propKey$
|
13344
|
-
(propKey$
|
13345
|
-
lastProps.hasOwnProperty(propKey$
|
13346
|
-
void 0 !== propKey$
|
13347
|
-
!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) &&
|
13348
13380
|
setPropOnCustomElement(
|
13349
13381
|
domElement,
|
13350
13382
|
tag,
|
13351
|
-
propKey$
|
13383
|
+
propKey$229,
|
13352
13384
|
void 0,
|
13353
13385
|
nextProps,
|
13354
|
-
propKey$
|
13386
|
+
propKey$203
|
13355
13387
|
);
|
13356
13388
|
for (defaultChecked in nextProps)
|
13357
|
-
(propKey$
|
13389
|
+
(propKey$203 = nextProps[defaultChecked]),
|
13358
13390
|
(propKey = lastProps[defaultChecked]),
|
13359
13391
|
!nextProps.hasOwnProperty(defaultChecked) ||
|
13360
|
-
propKey$
|
13361
|
-
(void 0 === propKey$
|
13392
|
+
propKey$203 === propKey ||
|
13393
|
+
(void 0 === propKey$203 && void 0 === propKey) ||
|
13362
13394
|
setPropOnCustomElement(
|
13363
13395
|
domElement,
|
13364
13396
|
tag,
|
13365
13397
|
defaultChecked,
|
13366
|
-
propKey$
|
13398
|
+
propKey$203,
|
13367
13399
|
nextProps,
|
13368
13400
|
propKey
|
13369
13401
|
);
|
13370
13402
|
return;
|
13371
13403
|
}
|
13372
13404
|
}
|
13373
|
-
for (var propKey$
|
13374
|
-
(propKey$
|
13375
|
-
lastProps.hasOwnProperty(propKey$
|
13376
|
-
null != propKey$
|
13377
|
-
!nextProps.hasOwnProperty(propKey$
|
13378
|
-
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);
|
13379
13411
|
for (lastProp in nextProps)
|
13380
|
-
(propKey$
|
13412
|
+
(propKey$203 = nextProps[lastProp]),
|
13381
13413
|
(propKey = lastProps[lastProp]),
|
13382
13414
|
!nextProps.hasOwnProperty(lastProp) ||
|
13383
|
-
propKey$
|
13384
|
-
(null == propKey$
|
13385
|
-
setProp(domElement, tag, lastProp, propKey$
|
13415
|
+
propKey$203 === propKey ||
|
13416
|
+
(null == propKey$203 && null == propKey) ||
|
13417
|
+
setProp(domElement, tag, lastProp, propKey$203, nextProps, propKey);
|
13386
13418
|
}
|
13387
13419
|
var eventsEnabled = null,
|
13388
13420
|
selectionInformation = null;
|
@@ -13948,26 +13980,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
|
13948
13980
|
"string" === typeof pendingProps.precedence
|
13949
13981
|
) {
|
13950
13982
|
type = getStyleKey(pendingProps.href);
|
13951
|
-
var styles$
|
13983
|
+
var styles$242 = getResourcesFromRoot(
|
13952
13984
|
JSCompiler_inline_result
|
13953
13985
|
).hoistableStyles,
|
13954
|
-
resource$
|
13955
|
-
resource$
|
13986
|
+
resource$243 = styles$242.get(type);
|
13987
|
+
resource$243 ||
|
13956
13988
|
((JSCompiler_inline_result =
|
13957
13989
|
JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
|
13958
|
-
(resource$
|
13990
|
+
(resource$243 = {
|
13959
13991
|
type: "stylesheet",
|
13960
13992
|
instance: null,
|
13961
13993
|
count: 0,
|
13962
13994
|
state: { loading: 0, preload: null }
|
13963
13995
|
}),
|
13964
|
-
styles$
|
13965
|
-
(styles$
|
13996
|
+
styles$242.set(type, resource$243),
|
13997
|
+
(styles$242 = JSCompiler_inline_result.querySelector(
|
13966
13998
|
getStylesheetSelectorFromKey(type)
|
13967
13999
|
)) &&
|
13968
|
-
!styles$
|
13969
|
-
((resource$
|
13970
|
-
(resource$
|
14000
|
+
!styles$242._p &&
|
14001
|
+
((resource$243.instance = styles$242),
|
14002
|
+
(resource$243.state.loading = 5)),
|
13971
14003
|
preloadPropsMap.has(type) ||
|
13972
14004
|
((pendingProps = {
|
13973
14005
|
rel: "preload",
|
@@ -13980,16 +14012,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
|
|
13980
14012
|
referrerPolicy: pendingProps.referrerPolicy
|
13981
14013
|
}),
|
13982
14014
|
preloadPropsMap.set(type, pendingProps),
|
13983
|
-
styles$
|
14015
|
+
styles$242 ||
|
13984
14016
|
preloadStylesheet(
|
13985
14017
|
JSCompiler_inline_result,
|
13986
14018
|
type,
|
13987
14019
|
pendingProps,
|
13988
|
-
resource$
|
14020
|
+
resource$243.state
|
13989
14021
|
)));
|
13990
14022
|
if (currentProps && null === currentResource)
|
13991
14023
|
throw Error(formatProdErrorMessage(528, ""));
|
13992
|
-
return resource$
|
14024
|
+
return resource$243;
|
13993
14025
|
}
|
13994
14026
|
if (currentProps && null !== currentResource)
|
13995
14027
|
throw Error(formatProdErrorMessage(529, ""));
|
@@ -14086,37 +14118,37 @@ function acquireResource(hoistableRoot, resource, props) {
|
|
14086
14118
|
return (resource.instance = instance);
|
14087
14119
|
case "stylesheet":
|
14088
14120
|
styleProps = getStyleKey(props.href);
|
14089
|
-
var instance$
|
14121
|
+
var instance$248 = hoistableRoot.querySelector(
|
14090
14122
|
getStylesheetSelectorFromKey(styleProps)
|
14091
14123
|
);
|
14092
|
-
if (instance$
|
14124
|
+
if (instance$248)
|
14093
14125
|
return (
|
14094
14126
|
(resource.state.loading |= 4),
|
14095
|
-
(resource.instance = instance$
|
14096
|
-
markNodeAsHoistable(instance$
|
14097
|
-
instance$
|
14127
|
+
(resource.instance = instance$248),
|
14128
|
+
markNodeAsHoistable(instance$248),
|
14129
|
+
instance$248
|
14098
14130
|
);
|
14099
14131
|
instance = stylesheetPropsFromRawProps(props);
|
14100
14132
|
(styleProps = preloadPropsMap.get(styleProps)) &&
|
14101
14133
|
adoptPreloadPropsForStylesheet(instance, styleProps);
|
14102
|
-
instance$
|
14134
|
+
instance$248 = (
|
14103
14135
|
hoistableRoot.ownerDocument || hoistableRoot
|
14104
14136
|
).createElement("link");
|
14105
|
-
markNodeAsHoistable(instance$
|
14106
|
-
var linkInstance = instance$
|
14137
|
+
markNodeAsHoistable(instance$248);
|
14138
|
+
var linkInstance = instance$248;
|
14107
14139
|
linkInstance._p = new Promise(function (resolve, reject) {
|
14108
14140
|
linkInstance.onload = resolve;
|
14109
14141
|
linkInstance.onerror = reject;
|
14110
14142
|
});
|
14111
|
-
setInitialProperties(instance$
|
14143
|
+
setInitialProperties(instance$248, "link", instance);
|
14112
14144
|
resource.state.loading |= 4;
|
14113
|
-
insertStylesheet(instance$
|
14114
|
-
return (resource.instance = instance$
|
14145
|
+
insertStylesheet(instance$248, props.precedence, hoistableRoot);
|
14146
|
+
return (resource.instance = instance$248);
|
14115
14147
|
case "script":
|
14116
|
-
instance$
|
14148
|
+
instance$248 = getScriptKey(props.src);
|
14117
14149
|
if (
|
14118
14150
|
(styleProps = hoistableRoot.querySelector(
|
14119
|
-
getScriptSelectorFromKey(instance$
|
14151
|
+
getScriptSelectorFromKey(instance$248)
|
14120
14152
|
))
|
14121
14153
|
)
|
14122
14154
|
return (
|
@@ -14125,7 +14157,7 @@ function acquireResource(hoistableRoot, resource, props) {
|
|
14125
14157
|
styleProps
|
14126
14158
|
);
|
14127
14159
|
instance = props;
|
14128
|
-
if ((styleProps = preloadPropsMap.get(instance$
|
14160
|
+
if ((styleProps = preloadPropsMap.get(instance$248)))
|
14129
14161
|
(instance = assign({}, props)),
|
14130
14162
|
adoptPreloadPropsForScript(instance, styleProps);
|
14131
14163
|
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
|
@@ -15121,7 +15153,6 @@ ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount =
|
|
15121
15153
|
if (null !== root) {
|
15122
15154
|
this._internalRoot = null;
|
15123
15155
|
var container = root.containerInfo;
|
15124
|
-
0 === root.tag && flushPassiveEffects();
|
15125
15156
|
updateContainerImpl(root.current, 2, null, root, null, null);
|
15126
15157
|
flushSyncWork$1();
|
15127
15158
|
container[internalContainerInstanceKey] = null;
|
@@ -15145,16 +15176,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15145
15176
|
0 === i && attemptExplicitHydrationTarget(target);
|
15146
15177
|
}
|
15147
15178
|
};
|
15148
|
-
var isomorphicReactPackageVersion$jscomp$
|
15179
|
+
var isomorphicReactPackageVersion$jscomp$inline_1705 = React.version;
|
15149
15180
|
if (
|
15150
|
-
"19.1.0-canary-
|
15151
|
-
isomorphicReactPackageVersion$jscomp$
|
15181
|
+
"19.1.0-canary-42687267-20250108" !==
|
15182
|
+
isomorphicReactPackageVersion$jscomp$inline_1705
|
15152
15183
|
)
|
15153
15184
|
throw Error(
|
15154
15185
|
formatProdErrorMessage(
|
15155
15186
|
527,
|
15156
|
-
isomorphicReactPackageVersion$jscomp$
|
15157
|
-
"19.1.0-canary-
|
15187
|
+
isomorphicReactPackageVersion$jscomp$inline_1705,
|
15188
|
+
"19.1.0-canary-42687267-20250108"
|
15158
15189
|
)
|
15159
15190
|
);
|
15160
15191
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15174,24 +15205,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15174
15205
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
15175
15206
|
return componentOrElement;
|
15176
15207
|
};
|
15177
|
-
var internals$jscomp$
|
15208
|
+
var internals$jscomp$inline_2174 = {
|
15178
15209
|
bundleType: 0,
|
15179
|
-
version: "19.1.0-canary-
|
15210
|
+
version: "19.1.0-canary-42687267-20250108",
|
15180
15211
|
rendererPackageName: "react-dom",
|
15181
15212
|
currentDispatcherRef: ReactSharedInternals,
|
15182
|
-
reconcilerVersion: "19.1.0-canary-
|
15213
|
+
reconcilerVersion: "19.1.0-canary-42687267-20250108"
|
15183
15214
|
};
|
15184
15215
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
15185
|
-
var hook$jscomp$
|
15216
|
+
var hook$jscomp$inline_2175 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
15186
15217
|
if (
|
15187
|
-
!hook$jscomp$
|
15188
|
-
hook$jscomp$
|
15218
|
+
!hook$jscomp$inline_2175.isDisabled &&
|
15219
|
+
hook$jscomp$inline_2175.supportsFiber
|
15189
15220
|
)
|
15190
15221
|
try {
|
15191
|
-
(rendererID = hook$jscomp$
|
15192
|
-
internals$jscomp$
|
15222
|
+
(rendererID = hook$jscomp$inline_2175.inject(
|
15223
|
+
internals$jscomp$inline_2174
|
15193
15224
|
)),
|
15194
|
-
(injectedHook = hook$jscomp$
|
15225
|
+
(injectedHook = hook$jscomp$inline_2175);
|
15195
15226
|
} catch (err) {}
|
15196
15227
|
}
|
15197
15228
|
exports.createRoot = function (container, options) {
|
@@ -15285,4 +15316,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
15285
15316
|
listenToAllSupportedEvents(container);
|
15286
15317
|
return new ReactDOMHydrationRoot(initialChildren);
|
15287
15318
|
};
|
15288
|
-
exports.version = "19.1.0-canary-
|
15319
|
+
exports.version = "19.1.0-canary-42687267-20250108";
|