react-dom 19.0.0-rc-6d3110b4d9-20240531 → 19.0.0-rc-9598c41a20-20240603
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 +276 -108
- package/cjs/react-dom-client.production.js +449 -410
- package/cjs/react-dom-profiling.development.js +276 -108
- package/cjs/react-dom-profiling.profiling.js +477 -440
- 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 +1 -1
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +1 -1
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +1 -1
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +1 -1
- 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
@@ -2028,19 +2028,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
|
|
2028
2028
|
}
|
2029
2029
|
var isInputEventSupported = !1;
|
2030
2030
|
if (canUseDOM) {
|
2031
|
-
var JSCompiler_inline_result$jscomp$
|
2031
|
+
var JSCompiler_inline_result$jscomp$289;
|
2032
2032
|
if (canUseDOM) {
|
2033
|
-
var isSupported$jscomp$
|
2034
|
-
if (!isSupported$jscomp$
|
2035
|
-
var element$jscomp$
|
2036
|
-
element$jscomp$
|
2037
|
-
isSupported$jscomp$
|
2038
|
-
"function" === typeof element$jscomp$
|
2033
|
+
var isSupported$jscomp$inline_422 = "oninput" in document;
|
2034
|
+
if (!isSupported$jscomp$inline_422) {
|
2035
|
+
var element$jscomp$inline_423 = document.createElement("div");
|
2036
|
+
element$jscomp$inline_423.setAttribute("oninput", "return;");
|
2037
|
+
isSupported$jscomp$inline_422 =
|
2038
|
+
"function" === typeof element$jscomp$inline_423.oninput;
|
2039
2039
|
}
|
2040
|
-
JSCompiler_inline_result$jscomp$
|
2041
|
-
} else JSCompiler_inline_result$jscomp$
|
2040
|
+
JSCompiler_inline_result$jscomp$289 = isSupported$jscomp$inline_422;
|
2041
|
+
} else JSCompiler_inline_result$jscomp$289 = !1;
|
2042
2042
|
isInputEventSupported =
|
2043
|
-
JSCompiler_inline_result$jscomp$
|
2043
|
+
JSCompiler_inline_result$jscomp$289 &&
|
2044
2044
|
(!document.documentMode || 9 < document.documentMode);
|
2045
2045
|
}
|
2046
2046
|
function stopWatchingForValueChange() {
|
@@ -3838,11 +3838,16 @@ function useThenable(thenable) {
|
|
3838
3838
|
thenableIndexCounter += 1;
|
3839
3839
|
null === thenableState && (thenableState = []);
|
3840
3840
|
thenable = trackUsedThenable(thenableState, thenable, index);
|
3841
|
-
|
3841
|
+
index = currentlyRenderingFiber$1;
|
3842
|
+
null ===
|
3842
3843
|
(null === workInProgressHook
|
3843
|
-
?
|
3844
|
-
:
|
3845
|
-
(
|
3844
|
+
? index.memoizedState
|
3845
|
+
: workInProgressHook.next) &&
|
3846
|
+
((index = index.alternate),
|
3847
|
+
(ReactSharedInternals.H =
|
3848
|
+
null === index || null === index.memoizedState
|
3849
|
+
? HooksDispatcherOnMount
|
3850
|
+
: HooksDispatcherOnUpdate));
|
3846
3851
|
return thenable;
|
3847
3852
|
}
|
3848
3853
|
function use(usable) {
|
@@ -4134,72 +4139,105 @@ function dispatchActionState(
|
|
4134
4139
|
payload
|
4135
4140
|
) {
|
4136
4141
|
if (isRenderPhaseUpdate(fiber)) throw Error(formatProdErrorMessage(485));
|
4137
|
-
fiber = actionQueue.
|
4138
|
-
null
|
4139
|
-
|
4140
|
-
|
4141
|
-
|
4142
|
-
|
4143
|
-
|
4144
|
-
|
4145
|
-
|
4146
|
-
|
4147
|
-
|
4148
|
-
|
4149
|
-
|
4150
|
-
|
4151
|
-
|
4152
|
-
|
4153
|
-
|
4154
|
-
|
4155
|
-
|
4156
|
-
|
4157
|
-
|
4158
|
-
|
4159
|
-
|
4160
|
-
|
4161
|
-
|
4162
|
-
|
4163
|
-
|
4164
|
-
|
4165
|
-
|
4166
|
-
|
4167
|
-
|
4168
|
-
|
4169
|
-
|
4170
|
-
|
4171
|
-
|
4172
|
-
|
4173
|
-
|
4174
|
-
|
4175
|
-
|
4176
|
-
|
4177
|
-
|
4178
|
-
|
4179
|
-
|
4180
|
-
|
4181
|
-
|
4182
|
-
|
4183
|
-
|
4184
|
-
|
4185
|
-
|
4186
|
-
|
4187
|
-
|
4142
|
+
fiber = actionQueue.action;
|
4143
|
+
if (null !== fiber) {
|
4144
|
+
var actionNode = {
|
4145
|
+
payload: payload,
|
4146
|
+
action: fiber,
|
4147
|
+
next: null,
|
4148
|
+
isTransition: !0,
|
4149
|
+
status: "pending",
|
4150
|
+
value: null,
|
4151
|
+
reason: null,
|
4152
|
+
listeners: [],
|
4153
|
+
then: function (listener) {
|
4154
|
+
actionNode.listeners.push(listener);
|
4155
|
+
}
|
4156
|
+
};
|
4157
|
+
null !== ReactSharedInternals.T
|
4158
|
+
? setPendingState(!0)
|
4159
|
+
: (actionNode.isTransition = !1);
|
4160
|
+
setState(actionNode);
|
4161
|
+
setPendingState = actionQueue.pending;
|
4162
|
+
null === setPendingState
|
4163
|
+
? ((actionNode.next = actionQueue.pending = actionNode),
|
4164
|
+
runActionStateAction(actionQueue, actionNode))
|
4165
|
+
: ((actionNode.next = setPendingState.next),
|
4166
|
+
(actionQueue.pending = setPendingState.next = actionNode));
|
4167
|
+
}
|
4168
|
+
}
|
4169
|
+
function runActionStateAction(actionQueue, node) {
|
4170
|
+
var action = node.action,
|
4171
|
+
payload = node.payload,
|
4172
|
+
prevState = actionQueue.state;
|
4173
|
+
if (node.isTransition) {
|
4174
|
+
var prevTransition = ReactSharedInternals.T,
|
4175
|
+
currentTransition = {};
|
4176
|
+
ReactSharedInternals.T = currentTransition;
|
4177
|
+
try {
|
4178
|
+
var returnValue = action(prevState, payload),
|
4179
|
+
onStartTransitionFinish = ReactSharedInternals.S;
|
4180
|
+
null !== onStartTransitionFinish &&
|
4181
|
+
onStartTransitionFinish(currentTransition, returnValue);
|
4182
|
+
handleActionReturnValue(actionQueue, node, returnValue);
|
4183
|
+
} catch (error) {
|
4184
|
+
onActionError(actionQueue, node, error);
|
4185
|
+
} finally {
|
4186
|
+
ReactSharedInternals.T = prevTransition;
|
4187
|
+
}
|
4188
|
+
} else
|
4189
|
+
try {
|
4190
|
+
(prevTransition = action(prevState, payload)),
|
4191
|
+
handleActionReturnValue(actionQueue, node, prevTransition);
|
4192
|
+
} catch (error$50) {
|
4193
|
+
onActionError(actionQueue, node, error$50);
|
4194
|
+
}
|
4188
4195
|
}
|
4189
|
-
function
|
4190
|
-
|
4191
|
-
|
4192
|
-
|
4193
|
-
|
4196
|
+
function handleActionReturnValue(actionQueue, node, returnValue) {
|
4197
|
+
null !== returnValue &&
|
4198
|
+
"object" === typeof returnValue &&
|
4199
|
+
"function" === typeof returnValue.then
|
4200
|
+
? returnValue.then(
|
4201
|
+
function (nextState) {
|
4202
|
+
onActionSuccess(actionQueue, node, nextState);
|
4203
|
+
},
|
4204
|
+
function (error) {
|
4205
|
+
return onActionError(actionQueue, node, error);
|
4206
|
+
}
|
4207
|
+
)
|
4208
|
+
: onActionSuccess(actionQueue, node, returnValue);
|
4209
|
+
}
|
4210
|
+
function onActionSuccess(actionQueue, actionNode, nextState) {
|
4211
|
+
actionNode.status = "fulfilled";
|
4212
|
+
actionNode.value = nextState;
|
4213
|
+
notifyActionListeners(actionNode);
|
4214
|
+
actionQueue.state = nextState;
|
4215
|
+
actionNode = actionQueue.pending;
|
4216
|
+
null !== actionNode &&
|
4217
|
+
((nextState = actionNode.next),
|
4218
|
+
nextState === actionNode
|
4219
|
+
? (actionQueue.pending = null)
|
4220
|
+
: ((nextState = nextState.next),
|
4221
|
+
(actionNode.next = nextState),
|
4222
|
+
runActionStateAction(actionQueue, nextState)));
|
4223
|
+
}
|
4224
|
+
function onActionError(actionQueue, actionNode, error) {
|
4194
4225
|
var last = actionQueue.pending;
|
4226
|
+
actionQueue.pending = null;
|
4195
4227
|
if (null !== last) {
|
4196
|
-
|
4197
|
-
|
4198
|
-
|
4199
|
-
|
4200
|
-
(
|
4201
|
-
|
4228
|
+
last = last.next;
|
4229
|
+
do
|
4230
|
+
(actionNode.status = "rejected"),
|
4231
|
+
(actionNode.reason = error),
|
4232
|
+
notifyActionListeners(actionNode),
|
4233
|
+
(actionNode = actionNode.next);
|
4234
|
+
while (actionNode !== last);
|
4202
4235
|
}
|
4236
|
+
actionQueue.action = null;
|
4237
|
+
}
|
4238
|
+
function notifyActionListeners(actionNode) {
|
4239
|
+
actionNode = actionNode.listeners;
|
4240
|
+
for (var i = 0; i < actionNode.length; i++) (0, actionNode[i])();
|
4203
4241
|
}
|
4204
4242
|
function actionStateReducer(oldState, newState) {
|
4205
4243
|
return newState;
|
@@ -4569,10 +4607,10 @@ function refreshCache(fiber) {
|
|
4569
4607
|
case 3:
|
4570
4608
|
var lane = requestUpdateLane();
|
4571
4609
|
fiber = createUpdate(lane);
|
4572
|
-
var root$
|
4573
|
-
null !== root$
|
4574
|
-
(scheduleUpdateOnFiber(root$
|
4575
|
-
entangleTransitions(root$
|
4610
|
+
var root$53 = enqueueUpdate(provider, fiber, lane);
|
4611
|
+
null !== root$53 &&
|
4612
|
+
(scheduleUpdateOnFiber(root$53, provider, lane),
|
4613
|
+
entangleTransitions(root$53, provider, lane));
|
4576
4614
|
provider = { cache: createCache() };
|
4577
4615
|
fiber.payload = provider;
|
4578
4616
|
return;
|
@@ -5094,9 +5132,9 @@ function logUncaughtError(root, errorInfo) {
|
|
5094
5132
|
try {
|
5095
5133
|
var onUncaughtError = root.onUncaughtError;
|
5096
5134
|
onUncaughtError(errorInfo.value, { componentStack: errorInfo.stack });
|
5097
|
-
} catch (e$
|
5135
|
+
} catch (e$59) {
|
5098
5136
|
setTimeout(function () {
|
5099
|
-
throw e$
|
5137
|
+
throw e$59;
|
5100
5138
|
});
|
5101
5139
|
}
|
5102
5140
|
}
|
@@ -5107,9 +5145,9 @@ function logCaughtError(root, boundary, errorInfo) {
|
|
5107
5145
|
componentStack: errorInfo.stack,
|
5108
5146
|
errorBoundary: 1 === boundary.tag ? boundary.stateNode : null
|
5109
5147
|
});
|
5110
|
-
} catch (e$
|
5148
|
+
} catch (e$60) {
|
5111
5149
|
setTimeout(function () {
|
5112
|
-
throw e$
|
5150
|
+
throw e$60;
|
5113
5151
|
});
|
5114
5152
|
}
|
5115
5153
|
}
|
@@ -6635,25 +6673,31 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
6635
6673
|
case 26:
|
6636
6674
|
return (
|
6637
6675
|
markRef(current, workInProgress),
|
6638
|
-
|
6639
|
-
getResource(
|
6640
|
-
|
6641
|
-
|
6642
|
-
|
6643
|
-
|
6644
|
-
|
6645
|
-
|
6646
|
-
|
6647
|
-
|
6648
|
-
|
6649
|
-
|
6650
|
-
|
6651
|
-
|
6652
|
-
|
6653
|
-
|
6654
|
-
|
6655
|
-
|
6656
|
-
|
6676
|
+
null === current
|
6677
|
+
? (renderLanes = getResource(
|
6678
|
+
workInProgress.type,
|
6679
|
+
null,
|
6680
|
+
workInProgress.pendingProps,
|
6681
|
+
null
|
6682
|
+
))
|
6683
|
+
? (workInProgress.memoizedState = renderLanes)
|
6684
|
+
: isHydrating ||
|
6685
|
+
((renderLanes = workInProgress.type),
|
6686
|
+
(current = workInProgress.pendingProps),
|
6687
|
+
(lazyComponent = getOwnerDocumentFromRootContainer(
|
6688
|
+
rootInstanceStackCursor.current
|
6689
|
+
).createElement(renderLanes)),
|
6690
|
+
(lazyComponent[internalInstanceKey] = workInProgress),
|
6691
|
+
(lazyComponent[internalPropsKey] = current),
|
6692
|
+
setInitialProperties(lazyComponent, renderLanes, current),
|
6693
|
+
markNodeAsHoistable(lazyComponent),
|
6694
|
+
(workInProgress.stateNode = lazyComponent))
|
6695
|
+
: (workInProgress.memoizedState = getResource(
|
6696
|
+
workInProgress.type,
|
6697
|
+
current.memoizedProps,
|
6698
|
+
workInProgress.pendingProps,
|
6699
|
+
current.memoizedState
|
6700
|
+
)),
|
6657
6701
|
null
|
6658
6702
|
);
|
6659
6703
|
case 27:
|
@@ -7402,9 +7446,9 @@ function resolveClassComponentProps(Component, baseProps) {
|
|
7402
7446
|
}
|
7403
7447
|
if ((Component = Component.defaultProps)) {
|
7404
7448
|
newProps === baseProps && (newProps = assign({}, newProps));
|
7405
|
-
for (var propName$
|
7406
|
-
void 0 === newProps[propName$
|
7407
|
-
(newProps[propName$
|
7449
|
+
for (var propName$101 in Component)
|
7450
|
+
void 0 === newProps[propName$101] &&
|
7451
|
+
(newProps[propName$101] = Component[propName$101]);
|
7408
7452
|
}
|
7409
7453
|
return newProps;
|
7410
7454
|
}
|
@@ -7489,8 +7533,8 @@ function safelyDetachRef(current, nearestMountedAncestor) {
|
|
7489
7533
|
recordLayoutEffectDuration(current);
|
7490
7534
|
}
|
7491
7535
|
else ref(null);
|
7492
|
-
} catch (error$
|
7493
|
-
captureCommitPhaseError(current, nearestMountedAncestor, error$
|
7536
|
+
} catch (error$102) {
|
7537
|
+
captureCommitPhaseError(current, nearestMountedAncestor, error$102);
|
7494
7538
|
}
|
7495
7539
|
else ref.current = null;
|
7496
7540
|
}
|
@@ -7736,8 +7780,8 @@ function commitHookLayoutEffects(finishedWork, hookFlags) {
|
|
7736
7780
|
} else
|
7737
7781
|
try {
|
7738
7782
|
commitHookEffectListMount(hookFlags, finishedWork);
|
7739
|
-
} catch (error$
|
7740
|
-
captureCommitPhaseError(finishedWork, finishedWork.return, error$
|
7783
|
+
} catch (error$106) {
|
7784
|
+
captureCommitPhaseError(finishedWork, finishedWork.return, error$106);
|
7741
7785
|
}
|
7742
7786
|
}
|
7743
7787
|
function commitClassCallbacks(finishedWork) {
|
@@ -7836,11 +7880,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
|
7836
7880
|
} else
|
7837
7881
|
try {
|
7838
7882
|
finishedRoot.componentDidMount();
|
7839
|
-
} catch (error$
|
7883
|
+
} catch (error$107) {
|
7840
7884
|
captureCommitPhaseError(
|
7841
7885
|
finishedWork,
|
7842
7886
|
finishedWork.return,
|
7843
|
-
error$
|
7887
|
+
error$107
|
7844
7888
|
);
|
7845
7889
|
}
|
7846
7890
|
else {
|
@@ -7857,11 +7901,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
|
7857
7901
|
current,
|
7858
7902
|
finishedRoot.__reactInternalSnapshotBeforeUpdate
|
7859
7903
|
);
|
7860
|
-
} catch (error$
|
7904
|
+
} catch (error$108) {
|
7861
7905
|
captureCommitPhaseError(
|
7862
7906
|
finishedWork,
|
7863
7907
|
finishedWork.return,
|
7864
|
-
error$
|
7908
|
+
error$108
|
7865
7909
|
);
|
7866
7910
|
}
|
7867
7911
|
recordLayoutEffectDuration(finishedWork);
|
@@ -7872,11 +7916,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
|
7872
7916
|
current,
|
7873
7917
|
finishedRoot.__reactInternalSnapshotBeforeUpdate
|
7874
7918
|
);
|
7875
|
-
} catch (error$
|
7919
|
+
} catch (error$109) {
|
7876
7920
|
captureCommitPhaseError(
|
7877
7921
|
finishedWork,
|
7878
7922
|
finishedWork.return,
|
7879
|
-
error$
|
7923
|
+
error$109
|
7880
7924
|
);
|
7881
7925
|
}
|
7882
7926
|
}
|
@@ -8355,22 +8399,22 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
|
8355
8399
|
try {
|
8356
8400
|
startLayoutEffectTimer(),
|
8357
8401
|
commitHookEffectListUnmount(5, finishedWork, finishedWork.return);
|
8358
|
-
} catch (error$
|
8402
|
+
} catch (error$123) {
|
8359
8403
|
captureCommitPhaseError(
|
8360
8404
|
finishedWork,
|
8361
8405
|
finishedWork.return,
|
8362
|
-
error$
|
8406
|
+
error$123
|
8363
8407
|
);
|
8364
8408
|
}
|
8365
8409
|
recordLayoutEffectDuration(finishedWork);
|
8366
8410
|
} else
|
8367
8411
|
try {
|
8368
8412
|
commitHookEffectListUnmount(5, finishedWork, finishedWork.return);
|
8369
|
-
} catch (error$
|
8413
|
+
} catch (error$124) {
|
8370
8414
|
captureCommitPhaseError(
|
8371
8415
|
finishedWork,
|
8372
8416
|
finishedWork.return,
|
8373
|
-
error$
|
8417
|
+
error$124
|
8374
8418
|
);
|
8375
8419
|
}
|
8376
8420
|
}
|
@@ -8544,11 +8588,11 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
|
8544
8588
|
newProps
|
8545
8589
|
);
|
8546
8590
|
domElement[internalPropsKey] = newProps;
|
8547
|
-
} catch (error$
|
8591
|
+
} catch (error$125) {
|
8548
8592
|
captureCommitPhaseError(
|
8549
8593
|
finishedWork,
|
8550
8594
|
finishedWork.return,
|
8551
|
-
error$
|
8595
|
+
error$125
|
8552
8596
|
);
|
8553
8597
|
}
|
8554
8598
|
break;
|
@@ -8585,8 +8629,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
|
8585
8629
|
root = finishedWork.stateNode;
|
8586
8630
|
try {
|
8587
8631
|
setTextContent(root, "");
|
8588
|
-
} catch (error$
|
8589
|
-
captureCommitPhaseError(finishedWork, finishedWork.return, error$
|
8632
|
+
} catch (error$126) {
|
8633
|
+
captureCommitPhaseError(finishedWork, finishedWork.return, error$126);
|
8590
8634
|
}
|
8591
8635
|
}
|
8592
8636
|
if (flags & 4 && ((root = finishedWork.stateNode), null != root)) {
|
@@ -8596,8 +8640,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
|
8596
8640
|
try {
|
8597
8641
|
updateProperties(root, maybeNodes, current, hoistableRoot),
|
8598
8642
|
(root[internalPropsKey] = hoistableRoot);
|
8599
|
-
} catch (error$
|
8600
|
-
captureCommitPhaseError(finishedWork, finishedWork.return, error$
|
8643
|
+
} catch (error$128) {
|
8644
|
+
captureCommitPhaseError(finishedWork, finishedWork.return, error$128);
|
8601
8645
|
}
|
8602
8646
|
}
|
8603
8647
|
flags & 1024 && (needsFormReset = !0);
|
@@ -8612,8 +8656,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
|
8612
8656
|
current = finishedWork.memoizedProps;
|
8613
8657
|
try {
|
8614
8658
|
flags.nodeValue = current;
|
8615
|
-
} catch (error$
|
8616
|
-
captureCommitPhaseError(finishedWork, finishedWork.return, error$
|
8659
|
+
} catch (error$129) {
|
8660
|
+
captureCommitPhaseError(finishedWork, finishedWork.return, error$129);
|
8617
8661
|
}
|
8618
8662
|
}
|
8619
8663
|
break;
|
@@ -8627,8 +8671,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
|
8627
8671
|
if (flags & 4 && null !== current && current.memoizedState.isDehydrated)
|
8628
8672
|
try {
|
8629
8673
|
retryIfBlockedOn(root.containerInfo);
|
8630
|
-
} catch (error$
|
8631
|
-
captureCommitPhaseError(finishedWork, finishedWork.return, error$
|
8674
|
+
} catch (error$130) {
|
8675
|
+
captureCommitPhaseError(finishedWork, finishedWork.return, error$130);
|
8632
8676
|
}
|
8633
8677
|
needsFormReset &&
|
8634
8678
|
((needsFormReset = !1), recursivelyResetForms(finishedWork));
|
@@ -8722,11 +8766,11 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
|
8722
8766
|
if (null === current)
|
8723
8767
|
try {
|
8724
8768
|
root.stateNode.nodeValue = domElement ? "" : root.memoizedProps;
|
8725
|
-
} catch (error$
|
8769
|
+
} catch (error$113) {
|
8726
8770
|
captureCommitPhaseError(
|
8727
8771
|
finishedWork,
|
8728
8772
|
finishedWork.return,
|
8729
|
-
error$
|
8773
|
+
error$113
|
8730
8774
|
);
|
8731
8775
|
}
|
8732
8776
|
} else if (
|
@@ -8795,21 +8839,21 @@ function commitReconciliationEffects(finishedWork) {
|
|
8795
8839
|
insertOrAppendPlacementNode(finishedWork, before, parent$jscomp$0);
|
8796
8840
|
break;
|
8797
8841
|
case 5:
|
8798
|
-
var parent$
|
8842
|
+
var parent$114 = JSCompiler_inline_result.stateNode;
|
8799
8843
|
JSCompiler_inline_result.flags & 32 &&
|
8800
|
-
(setTextContent(parent$
|
8844
|
+
(setTextContent(parent$114, ""),
|
8801
8845
|
(JSCompiler_inline_result.flags &= -33));
|
8802
|
-
var before$
|
8803
|
-
insertOrAppendPlacementNode(finishedWork, before$
|
8846
|
+
var before$115 = getHostSibling(finishedWork);
|
8847
|
+
insertOrAppendPlacementNode(finishedWork, before$115, parent$114);
|
8804
8848
|
break;
|
8805
8849
|
case 3:
|
8806
8850
|
case 4:
|
8807
|
-
var parent$
|
8808
|
-
before$
|
8851
|
+
var parent$116 = JSCompiler_inline_result.stateNode.containerInfo,
|
8852
|
+
before$117 = getHostSibling(finishedWork);
|
8809
8853
|
insertOrAppendPlacementNodeIntoContainer(
|
8810
8854
|
finishedWork,
|
8811
|
-
before$
|
8812
|
-
parent$
|
8855
|
+
before$117,
|
8856
|
+
parent$116
|
8813
8857
|
);
|
8814
8858
|
break;
|
8815
8859
|
default:
|
@@ -9010,8 +9054,8 @@ function commitHookPassiveMountEffects(finishedWork, hookFlags) {
|
|
9010
9054
|
} else
|
9011
9055
|
try {
|
9012
9056
|
commitHookEffectListMount(hookFlags, finishedWork);
|
9013
|
-
} catch (error$
|
9014
|
-
captureCommitPhaseError(finishedWork, finishedWork.return, error$
|
9057
|
+
} catch (error$135) {
|
9058
|
+
captureCommitPhaseError(finishedWork, finishedWork.return, error$135);
|
9015
9059
|
}
|
9016
9060
|
}
|
9017
9061
|
function commitOffscreenPassiveMountEffects(current, finishedWork) {
|
@@ -9744,14 +9788,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
|
9744
9788
|
break;
|
9745
9789
|
case "collapsed":
|
9746
9790
|
lastTailNode = renderState.tail;
|
9747
|
-
for (var lastTailNode$
|
9748
|
-
null !== lastTailNode.alternate && (lastTailNode$
|
9791
|
+
for (var lastTailNode$141 = null; null !== lastTailNode; )
|
9792
|
+
null !== lastTailNode.alternate && (lastTailNode$141 = lastTailNode),
|
9749
9793
|
(lastTailNode = lastTailNode.sibling);
|
9750
|
-
null === lastTailNode$
|
9794
|
+
null === lastTailNode$141
|
9751
9795
|
? hasRenderedATailFallback || null === renderState.tail
|
9752
9796
|
? (renderState.tail = null)
|
9753
9797
|
: (renderState.tail.sibling = null)
|
9754
|
-
: (lastTailNode$
|
9798
|
+
: (lastTailNode$141.sibling = null);
|
9755
9799
|
}
|
9756
9800
|
}
|
9757
9801
|
function bubbleProperties(completedWork) {
|
@@ -9763,53 +9807,53 @@ function bubbleProperties(completedWork) {
|
|
9763
9807
|
if (didBailout)
|
9764
9808
|
if (0 !== (completedWork.mode & 2)) {
|
9765
9809
|
for (
|
9766
|
-
var treeBaseDuration$
|
9767
|
-
child$
|
9768
|
-
null !== child$
|
9810
|
+
var treeBaseDuration$143 = completedWork.selfBaseDuration,
|
9811
|
+
child$144 = completedWork.child;
|
9812
|
+
null !== child$144;
|
9769
9813
|
|
9770
9814
|
)
|
9771
|
-
(newChildLanes |= child$
|
9772
|
-
(subtreeFlags |= child$
|
9773
|
-
(subtreeFlags |= child$
|
9774
|
-
(treeBaseDuration$
|
9775
|
-
(child$
|
9776
|
-
completedWork.treeBaseDuration = treeBaseDuration$
|
9815
|
+
(newChildLanes |= child$144.lanes | child$144.childLanes),
|
9816
|
+
(subtreeFlags |= child$144.subtreeFlags & 31457280),
|
9817
|
+
(subtreeFlags |= child$144.flags & 31457280),
|
9818
|
+
(treeBaseDuration$143 += child$144.treeBaseDuration),
|
9819
|
+
(child$144 = child$144.sibling);
|
9820
|
+
completedWork.treeBaseDuration = treeBaseDuration$143;
|
9777
9821
|
} else
|
9778
9822
|
for (
|
9779
|
-
treeBaseDuration$
|
9780
|
-
null !== treeBaseDuration$
|
9823
|
+
treeBaseDuration$143 = completedWork.child;
|
9824
|
+
null !== treeBaseDuration$143;
|
9781
9825
|
|
9782
9826
|
)
|
9783
9827
|
(newChildLanes |=
|
9784
|
-
treeBaseDuration$
|
9785
|
-
(subtreeFlags |= treeBaseDuration$
|
9786
|
-
(subtreeFlags |= treeBaseDuration$
|
9787
|
-
(treeBaseDuration$
|
9788
|
-
(treeBaseDuration$
|
9828
|
+
treeBaseDuration$143.lanes | treeBaseDuration$143.childLanes),
|
9829
|
+
(subtreeFlags |= treeBaseDuration$143.subtreeFlags & 31457280),
|
9830
|
+
(subtreeFlags |= treeBaseDuration$143.flags & 31457280),
|
9831
|
+
(treeBaseDuration$143.return = completedWork),
|
9832
|
+
(treeBaseDuration$143 = treeBaseDuration$143.sibling);
|
9789
9833
|
else if (0 !== (completedWork.mode & 2)) {
|
9790
|
-
treeBaseDuration$
|
9791
|
-
child$
|
9834
|
+
treeBaseDuration$143 = completedWork.actualDuration;
|
9835
|
+
child$144 = completedWork.selfBaseDuration;
|
9792
9836
|
for (var child = completedWork.child; null !== child; )
|
9793
9837
|
(newChildLanes |= child.lanes | child.childLanes),
|
9794
9838
|
(subtreeFlags |= child.subtreeFlags),
|
9795
9839
|
(subtreeFlags |= child.flags),
|
9796
|
-
(treeBaseDuration$
|
9797
|
-
(child$
|
9840
|
+
(treeBaseDuration$143 += child.actualDuration),
|
9841
|
+
(child$144 += child.treeBaseDuration),
|
9798
9842
|
(child = child.sibling);
|
9799
|
-
completedWork.actualDuration = treeBaseDuration$
|
9800
|
-
completedWork.treeBaseDuration = child$
|
9843
|
+
completedWork.actualDuration = treeBaseDuration$143;
|
9844
|
+
completedWork.treeBaseDuration = child$144;
|
9801
9845
|
} else
|
9802
9846
|
for (
|
9803
|
-
treeBaseDuration$
|
9804
|
-
null !== treeBaseDuration$
|
9847
|
+
treeBaseDuration$143 = completedWork.child;
|
9848
|
+
null !== treeBaseDuration$143;
|
9805
9849
|
|
9806
9850
|
)
|
9807
9851
|
(newChildLanes |=
|
9808
|
-
treeBaseDuration$
|
9809
|
-
(subtreeFlags |= treeBaseDuration$
|
9810
|
-
(subtreeFlags |= treeBaseDuration$
|
9811
|
-
(treeBaseDuration$
|
9812
|
-
(treeBaseDuration$
|
9852
|
+
treeBaseDuration$143.lanes | treeBaseDuration$143.childLanes),
|
9853
|
+
(subtreeFlags |= treeBaseDuration$143.subtreeFlags),
|
9854
|
+
(subtreeFlags |= treeBaseDuration$143.flags),
|
9855
|
+
(treeBaseDuration$143.return = completedWork),
|
9856
|
+
(treeBaseDuration$143 = treeBaseDuration$143.sibling);
|
9813
9857
|
completedWork.subtreeFlags |= subtreeFlags;
|
9814
9858
|
completedWork.childLanes = newChildLanes;
|
9815
9859
|
return didBailout;
|
@@ -9854,31 +9898,31 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
9854
9898
|
bubbleProperties(workInProgress);
|
9855
9899
|
return null;
|
9856
9900
|
case 26:
|
9857
|
-
|
9858
|
-
|
9859
|
-
|
9860
|
-
|
9861
|
-
|
9901
|
+
return (
|
9902
|
+
(renderLanes = workInProgress.memoizedState),
|
9903
|
+
null === current
|
9904
|
+
? (markUpdate(workInProgress),
|
9905
|
+
null !== renderLanes
|
9906
|
+
? (bubbleProperties(workInProgress),
|
9907
|
+
preloadResourceAndSuspendIfNeeded(workInProgress, renderLanes))
|
9908
|
+
: (bubbleProperties(workInProgress),
|
9909
|
+
(workInProgress.flags &= -16777217)))
|
9910
|
+
: renderLanes
|
9911
|
+
? renderLanes !== current.memoizedState
|
9912
|
+
? (markUpdate(workInProgress),
|
9913
|
+
bubbleProperties(workInProgress),
|
9862
9914
|
preloadResourceAndSuspendIfNeeded(workInProgress, renderLanes))
|
9863
9915
|
: (bubbleProperties(workInProgress),
|
9864
|
-
(workInProgress.flags &= -16777217))
|
9865
|
-
else {
|
9866
|
-
var currentResource = current.memoizedState;
|
9867
|
-
renderLanes !== currentResource && markUpdate(workInProgress);
|
9868
|
-
null !== renderLanes
|
9869
|
-
? (bubbleProperties(workInProgress),
|
9870
|
-
renderLanes === currentResource
|
9871
|
-
? (workInProgress.flags &= -16777217)
|
9872
|
-
: preloadResourceAndSuspendIfNeeded(workInProgress, renderLanes))
|
9916
|
+
(workInProgress.flags &= -16777217))
|
9873
9917
|
: (current.memoizedProps !== newProps && markUpdate(workInProgress),
|
9874
9918
|
bubbleProperties(workInProgress),
|
9875
|
-
(workInProgress.flags &= -16777217))
|
9876
|
-
|
9877
|
-
|
9919
|
+
(workInProgress.flags &= -16777217)),
|
9920
|
+
null
|
9921
|
+
);
|
9878
9922
|
case 27:
|
9879
9923
|
popHostContext(workInProgress);
|
9880
9924
|
renderLanes = rootInstanceStackCursor.current;
|
9881
|
-
|
9925
|
+
var type = workInProgress.type;
|
9882
9926
|
if (null !== current && null != workInProgress.stateNode)
|
9883
9927
|
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
9884
9928
|
else {
|
@@ -9891,11 +9935,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
9891
9935
|
current = contextStackCursor.current;
|
9892
9936
|
popHydrationState(workInProgress)
|
9893
9937
|
? prepareToHydrateHostInstance(workInProgress, current)
|
9894
|
-
: ((current = resolveSingletonInstance(
|
9895
|
-
currentResource,
|
9896
|
-
newProps,
|
9897
|
-
renderLanes
|
9898
|
-
)),
|
9938
|
+
: ((current = resolveSingletonInstance(type, newProps, renderLanes)),
|
9899
9939
|
(workInProgress.stateNode = current),
|
9900
9940
|
markUpdate(workInProgress));
|
9901
9941
|
}
|
@@ -9917,18 +9957,18 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
9917
9957
|
if (popHydrationState(workInProgress))
|
9918
9958
|
prepareToHydrateHostInstance(workInProgress, current);
|
9919
9959
|
else {
|
9920
|
-
|
9960
|
+
type = getOwnerDocumentFromRootContainer(
|
9921
9961
|
rootInstanceStackCursor.current
|
9922
9962
|
);
|
9923
9963
|
switch (current) {
|
9924
9964
|
case 1:
|
9925
|
-
current =
|
9965
|
+
current = type.createElementNS(
|
9926
9966
|
"http://www.w3.org/2000/svg",
|
9927
9967
|
renderLanes
|
9928
9968
|
);
|
9929
9969
|
break;
|
9930
9970
|
case 2:
|
9931
|
-
current =
|
9971
|
+
current = type.createElementNS(
|
9932
9972
|
"http://www.w3.org/1998/Math/MathML",
|
9933
9973
|
renderLanes
|
9934
9974
|
);
|
@@ -9936,29 +9976,27 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
9936
9976
|
default:
|
9937
9977
|
switch (renderLanes) {
|
9938
9978
|
case "svg":
|
9939
|
-
current =
|
9979
|
+
current = type.createElementNS(
|
9940
9980
|
"http://www.w3.org/2000/svg",
|
9941
9981
|
renderLanes
|
9942
9982
|
);
|
9943
9983
|
break;
|
9944
9984
|
case "math":
|
9945
|
-
current =
|
9985
|
+
current = type.createElementNS(
|
9946
9986
|
"http://www.w3.org/1998/Math/MathML",
|
9947
9987
|
renderLanes
|
9948
9988
|
);
|
9949
9989
|
break;
|
9950
9990
|
case "script":
|
9951
|
-
current =
|
9991
|
+
current = type.createElement("div");
|
9952
9992
|
current.innerHTML = "<script>\x3c/script>";
|
9953
9993
|
current = current.removeChild(current.firstChild);
|
9954
9994
|
break;
|
9955
9995
|
case "select":
|
9956
9996
|
current =
|
9957
9997
|
"string" === typeof newProps.is
|
9958
|
-
?
|
9959
|
-
|
9960
|
-
})
|
9961
|
-
: currentResource.createElement("select");
|
9998
|
+
? type.createElement("select", { is: newProps.is })
|
9999
|
+
: type.createElement("select");
|
9962
10000
|
newProps.multiple
|
9963
10001
|
? (current.multiple = !0)
|
9964
10002
|
: newProps.size && (current.size = newProps.size);
|
@@ -9966,41 +10004,28 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
9966
10004
|
default:
|
9967
10005
|
current =
|
9968
10006
|
"string" === typeof newProps.is
|
9969
|
-
?
|
9970
|
-
|
9971
|
-
})
|
9972
|
-
: currentResource.createElement(renderLanes);
|
10007
|
+
? type.createElement(renderLanes, { is: newProps.is })
|
10008
|
+
: type.createElement(renderLanes);
|
9973
10009
|
}
|
9974
10010
|
}
|
9975
10011
|
current[internalInstanceKey] = workInProgress;
|
9976
10012
|
current[internalPropsKey] = newProps;
|
9977
|
-
a: for (
|
9978
|
-
|
9979
|
-
|
9980
|
-
|
9981
|
-
|
9982
|
-
|
9983
|
-
current.appendChild(currentResource.stateNode);
|
9984
|
-
else if (
|
9985
|
-
4 !== currentResource.tag &&
|
9986
|
-
27 !== currentResource.tag &&
|
9987
|
-
null !== currentResource.child
|
9988
|
-
) {
|
9989
|
-
currentResource.child.return = currentResource;
|
9990
|
-
currentResource = currentResource.child;
|
10013
|
+
a: for (type = workInProgress.child; null !== type; ) {
|
10014
|
+
if (5 === type.tag || 6 === type.tag)
|
10015
|
+
current.appendChild(type.stateNode);
|
10016
|
+
else if (4 !== type.tag && 27 !== type.tag && null !== type.child) {
|
10017
|
+
type.child.return = type;
|
10018
|
+
type = type.child;
|
9991
10019
|
continue;
|
9992
10020
|
}
|
9993
|
-
if (
|
9994
|
-
for (; null ===
|
9995
|
-
if (
|
9996
|
-
null === currentResource.return ||
|
9997
|
-
currentResource.return === workInProgress
|
9998
|
-
)
|
10021
|
+
if (type === workInProgress) break a;
|
10022
|
+
for (; null === type.sibling; ) {
|
10023
|
+
if (null === type.return || type.return === workInProgress)
|
9999
10024
|
break a;
|
10000
|
-
|
10025
|
+
type = type.return;
|
10001
10026
|
}
|
10002
|
-
|
10003
|
-
|
10027
|
+
type.sibling.return = type.return;
|
10028
|
+
type = type.sibling;
|
10004
10029
|
}
|
10005
10030
|
workInProgress.stateNode = current;
|
10006
10031
|
a: switch (
|
@@ -10035,12 +10060,12 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
10035
10060
|
current = workInProgress.stateNode;
|
10036
10061
|
renderLanes = workInProgress.memoizedProps;
|
10037
10062
|
newProps = null;
|
10038
|
-
|
10039
|
-
if (null !==
|
10040
|
-
switch (
|
10063
|
+
type = hydrationParentFiber;
|
10064
|
+
if (null !== type)
|
10065
|
+
switch (type.tag) {
|
10041
10066
|
case 27:
|
10042
10067
|
case 5:
|
10043
|
-
newProps =
|
10068
|
+
newProps = type.memoizedProps;
|
10044
10069
|
}
|
10045
10070
|
current[internalInstanceKey] = workInProgress;
|
10046
10071
|
current =
|
@@ -10067,22 +10092,20 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
10067
10092
|
(null !== current.memoizedState &&
|
10068
10093
|
null !== current.memoizedState.dehydrated)
|
10069
10094
|
) {
|
10070
|
-
|
10095
|
+
type = popHydrationState(workInProgress);
|
10071
10096
|
if (null !== newProps && null !== newProps.dehydrated) {
|
10072
10097
|
if (null === current) {
|
10073
|
-
if (!
|
10074
|
-
|
10075
|
-
|
10076
|
-
|
10077
|
-
|
10078
|
-
currentResource[internalInstanceKey] = workInProgress;
|
10098
|
+
if (!type) throw Error(formatProdErrorMessage(318));
|
10099
|
+
type = workInProgress.memoizedState;
|
10100
|
+
type = null !== type ? type.dehydrated : null;
|
10101
|
+
if (!type) throw Error(formatProdErrorMessage(317));
|
10102
|
+
type[internalInstanceKey] = workInProgress;
|
10079
10103
|
bubbleProperties(workInProgress);
|
10080
10104
|
0 !== (workInProgress.mode & 2) &&
|
10081
10105
|
null !== newProps &&
|
10082
|
-
((
|
10083
|
-
null !==
|
10084
|
-
(workInProgress.treeBaseDuration -=
|
10085
|
-
currentResource.treeBaseDuration));
|
10106
|
+
((type = workInProgress.child),
|
10107
|
+
null !== type &&
|
10108
|
+
(workInProgress.treeBaseDuration -= type.treeBaseDuration));
|
10086
10109
|
} else
|
10087
10110
|
resetHydrationState(),
|
10088
10111
|
0 === (workInProgress.flags & 128) &&
|
@@ -10091,16 +10114,15 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
10091
10114
|
bubbleProperties(workInProgress),
|
10092
10115
|
0 !== (workInProgress.mode & 2) &&
|
10093
10116
|
null !== newProps &&
|
10094
|
-
((
|
10095
|
-
null !==
|
10096
|
-
(workInProgress.treeBaseDuration -=
|
10097
|
-
|
10098
|
-
currentResource = !1;
|
10117
|
+
((type = workInProgress.child),
|
10118
|
+
null !== type &&
|
10119
|
+
(workInProgress.treeBaseDuration -= type.treeBaseDuration));
|
10120
|
+
type = !1;
|
10099
10121
|
} else
|
10100
10122
|
null !== hydrationErrors &&
|
10101
10123
|
(queueRecoverableErrors(hydrationErrors), (hydrationErrors = null)),
|
10102
|
-
(
|
10103
|
-
if (!
|
10124
|
+
(type = !0);
|
10125
|
+
if (!type) {
|
10104
10126
|
if (workInProgress.flags & 256)
|
10105
10127
|
return popSuspenseHandler(workInProgress), workInProgress;
|
10106
10128
|
popSuspenseHandler(workInProgress);
|
@@ -10119,16 +10141,16 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
10119
10141
|
current = null !== current && null !== current.memoizedState;
|
10120
10142
|
if (renderLanes) {
|
10121
10143
|
newProps = workInProgress.child;
|
10122
|
-
|
10144
|
+
type = null;
|
10123
10145
|
null !== newProps.alternate &&
|
10124
10146
|
null !== newProps.alternate.memoizedState &&
|
10125
10147
|
null !== newProps.alternate.memoizedState.cachePool &&
|
10126
|
-
(
|
10127
|
-
var cache$
|
10148
|
+
(type = newProps.alternate.memoizedState.cachePool.pool);
|
10149
|
+
var cache$159 = null;
|
10128
10150
|
null !== newProps.memoizedState &&
|
10129
10151
|
null !== newProps.memoizedState.cachePool &&
|
10130
|
-
(cache$
|
10131
|
-
cache$
|
10152
|
+
(cache$159 = newProps.memoizedState.cachePool.pool);
|
10153
|
+
cache$159 !== type && (newProps.flags |= 2048);
|
10132
10154
|
}
|
10133
10155
|
renderLanes !== current &&
|
10134
10156
|
renderLanes &&
|
@@ -10155,24 +10177,23 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
10155
10177
|
);
|
10156
10178
|
case 19:
|
10157
10179
|
pop(suspenseStackCursor);
|
10158
|
-
|
10159
|
-
if (null ===
|
10160
|
-
return bubbleProperties(workInProgress), null;
|
10180
|
+
type = workInProgress.memoizedState;
|
10181
|
+
if (null === type) return bubbleProperties(workInProgress), null;
|
10161
10182
|
newProps = 0 !== (workInProgress.flags & 128);
|
10162
|
-
cache$
|
10163
|
-
if (null === cache$
|
10164
|
-
if (newProps) cutOffTailIfNeeded(
|
10183
|
+
cache$159 = type.rendering;
|
10184
|
+
if (null === cache$159)
|
10185
|
+
if (newProps) cutOffTailIfNeeded(type, !1);
|
10165
10186
|
else {
|
10166
10187
|
if (
|
10167
10188
|
0 !== workInProgressRootExitStatus ||
|
10168
10189
|
(null !== current && 0 !== (current.flags & 128))
|
10169
10190
|
)
|
10170
10191
|
for (current = workInProgress.child; null !== current; ) {
|
10171
|
-
cache$
|
10172
|
-
if (null !== cache$
|
10192
|
+
cache$159 = findFirstSuspended(current);
|
10193
|
+
if (null !== cache$159) {
|
10173
10194
|
workInProgress.flags |= 128;
|
10174
|
-
cutOffTailIfNeeded(
|
10175
|
-
current = cache$
|
10195
|
+
cutOffTailIfNeeded(type, !1);
|
10196
|
+
current = cache$159.updateQueue;
|
10176
10197
|
workInProgress.updateQueue = current;
|
10177
10198
|
scheduleRetryEffect(workInProgress, current);
|
10178
10199
|
workInProgress.subtreeFlags = 0;
|
@@ -10188,52 +10209,52 @@ function completeWork(current, workInProgress, renderLanes) {
|
|
10188
10209
|
}
|
10189
10210
|
current = current.sibling;
|
10190
10211
|
}
|
10191
|
-
null !==
|
10212
|
+
null !== type.tail &&
|
10192
10213
|
now$1() > workInProgressRootRenderTargetTime &&
|
10193
10214
|
((workInProgress.flags |= 128),
|
10194
10215
|
(newProps = !0),
|
10195
|
-
cutOffTailIfNeeded(
|
10216
|
+
cutOffTailIfNeeded(type, !1),
|
10196
10217
|
(workInProgress.lanes = 4194304));
|
10197
10218
|
}
|
10198
10219
|
else {
|
10199
10220
|
if (!newProps)
|
10200
|
-
if (((current = findFirstSuspended(cache$
|
10221
|
+
if (((current = findFirstSuspended(cache$159)), null !== current)) {
|
10201
10222
|
if (
|
10202
10223
|
((workInProgress.flags |= 128),
|
10203
10224
|
(newProps = !0),
|
10204
10225
|
(current = current.updateQueue),
|
10205
10226
|
(workInProgress.updateQueue = current),
|
10206
10227
|
scheduleRetryEffect(workInProgress, current),
|
10207
|
-
cutOffTailIfNeeded(
|
10208
|
-
null ===
|
10209
|
-
"hidden" ===
|
10210
|
-
!cache$
|
10228
|
+
cutOffTailIfNeeded(type, !0),
|
10229
|
+
null === type.tail &&
|
10230
|
+
"hidden" === type.tailMode &&
|
10231
|
+
!cache$159.alternate &&
|
10211
10232
|
!isHydrating)
|
10212
10233
|
)
|
10213
10234
|
return bubbleProperties(workInProgress), null;
|
10214
10235
|
} else
|
10215
|
-
2 * now$1() -
|
10236
|
+
2 * now$1() - type.renderingStartTime >
|
10216
10237
|
workInProgressRootRenderTargetTime &&
|
10217
10238
|
536870912 !== renderLanes &&
|
10218
10239
|
((workInProgress.flags |= 128),
|
10219
10240
|
(newProps = !0),
|
10220
|
-
cutOffTailIfNeeded(
|
10241
|
+
cutOffTailIfNeeded(type, !1),
|
10221
10242
|
(workInProgress.lanes = 4194304));
|
10222
|
-
|
10223
|
-
? ((cache$
|
10224
|
-
(workInProgress.child = cache$
|
10225
|
-
: ((current =
|
10243
|
+
type.isBackwards
|
10244
|
+
? ((cache$159.sibling = workInProgress.child),
|
10245
|
+
(workInProgress.child = cache$159))
|
10246
|
+
: ((current = type.last),
|
10226
10247
|
null !== current
|
10227
|
-
? (current.sibling = cache$
|
10228
|
-
: (workInProgress.child = cache$
|
10229
|
-
(
|
10248
|
+
? (current.sibling = cache$159)
|
10249
|
+
: (workInProgress.child = cache$159),
|
10250
|
+
(type.last = cache$159));
|
10230
10251
|
}
|
10231
|
-
if (null !==
|
10252
|
+
if (null !== type.tail)
|
10232
10253
|
return (
|
10233
|
-
(workInProgress =
|
10234
|
-
(
|
10235
|
-
(
|
10236
|
-
(
|
10254
|
+
(workInProgress = type.tail),
|
10255
|
+
(type.rendering = workInProgress),
|
10256
|
+
(type.tail = workInProgress.sibling),
|
10257
|
+
(type.renderingStartTime = now$1()),
|
10237
10258
|
(workInProgress.sibling = null),
|
10238
10259
|
(current = suspenseStackCursor.current),
|
10239
10260
|
push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),
|
@@ -10975,8 +10996,8 @@ function renderRootSync(root, lanes) {
|
|
10975
10996
|
}
|
10976
10997
|
workLoopSync();
|
10977
10998
|
break;
|
10978
|
-
} catch (thrownValue$
|
10979
|
-
handleThrow(root, thrownValue$
|
10999
|
+
} catch (thrownValue$174) {
|
11000
|
+
handleThrow(root, thrownValue$174);
|
10980
11001
|
}
|
10981
11002
|
while (1);
|
10982
11003
|
lanes && root.shellSuspendCounter++;
|
@@ -11096,8 +11117,8 @@ function renderRootConcurrent(root, lanes) {
|
|
11096
11117
|
}
|
11097
11118
|
workLoopConcurrent();
|
11098
11119
|
break;
|
11099
|
-
} catch (thrownValue$
|
11100
|
-
handleThrow(root, thrownValue$
|
11120
|
+
} catch (thrownValue$176) {
|
11121
|
+
handleThrow(root, thrownValue$176);
|
11101
11122
|
}
|
11102
11123
|
while (1);
|
11103
11124
|
resetContextDependencies();
|
@@ -11395,7 +11416,7 @@ function releaseRootPooledCache(root, remainingLanes) {
|
|
11395
11416
|
}
|
11396
11417
|
function flushPassiveEffects() {
|
11397
11418
|
if (null !== rootWithPendingPassiveEffects) {
|
11398
|
-
var root$
|
11419
|
+
var root$180 = rootWithPendingPassiveEffects,
|
11399
11420
|
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
11400
11421
|
pendingPassiveEffectsRemainingLanes = 0;
|
11401
11422
|
var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),
|
@@ -11440,7 +11461,7 @@ function flushPassiveEffects() {
|
|
11440
11461
|
_finishedWork$memoize = finishedWork.memoizedProps,
|
11441
11462
|
id = _finishedWork$memoize.id,
|
11442
11463
|
onPostCommit = _finishedWork$memoize.onPostCommit,
|
11443
|
-
commitTime$
|
11464
|
+
commitTime$104 = commitTime,
|
11444
11465
|
phase = null === finishedWork.alternate ? "mount" : "update";
|
11445
11466
|
currentUpdateIsNested && (phase = "nested-update");
|
11446
11467
|
"function" === typeof onPostCommit &&
|
@@ -11448,7 +11469,7 @@ function flushPassiveEffects() {
|
|
11448
11469
|
id,
|
11449
11470
|
phase,
|
11450
11471
|
passiveEffectDuration,
|
11451
|
-
commitTime$
|
11472
|
+
commitTime$104
|
11452
11473
|
);
|
11453
11474
|
var parentFiber = finishedWork.return;
|
11454
11475
|
b: for (; null !== parentFiber; ) {
|
@@ -11488,7 +11509,7 @@ function flushPassiveEffects() {
|
|
11488
11509
|
} finally {
|
11489
11510
|
(ReactDOMSharedInternals.p = previousPriority),
|
11490
11511
|
(ReactSharedInternals.T = prevTransition),
|
11491
|
-
releaseRootPooledCache(root$
|
11512
|
+
releaseRootPooledCache(root$180, remainingLanes);
|
11492
11513
|
}
|
11493
11514
|
}
|
11494
11515
|
return !1;
|
@@ -11660,18 +11681,18 @@ function flushSyncWorkOnAllRoots() {
|
|
11660
11681
|
isFlushingWork = !0;
|
11661
11682
|
do {
|
11662
11683
|
var didPerformSomeWork = !1;
|
11663
|
-
for (var root$
|
11664
|
-
var workInProgressRootRenderLanes$
|
11665
|
-
workInProgressRootRenderLanes$
|
11666
|
-
root$
|
11667
|
-
root$
|
11668
|
-
? workInProgressRootRenderLanes$
|
11684
|
+
for (var root$182 = firstScheduledRoot; null !== root$182; ) {
|
11685
|
+
var workInProgressRootRenderLanes$184 = workInProgressRootRenderLanes;
|
11686
|
+
workInProgressRootRenderLanes$184 = getNextLanes(
|
11687
|
+
root$182,
|
11688
|
+
root$182 === workInProgressRoot
|
11689
|
+
? workInProgressRootRenderLanes$184
|
11669
11690
|
: 0
|
11670
11691
|
);
|
11671
|
-
0 !== (workInProgressRootRenderLanes$
|
11692
|
+
0 !== (workInProgressRootRenderLanes$184 & 3) &&
|
11672
11693
|
((didPerformSomeWork = !0),
|
11673
|
-
performSyncWorkOnRoot(root$
|
11674
|
-
root$
|
11694
|
+
performSyncWorkOnRoot(root$182, workInProgressRootRenderLanes$184));
|
11695
|
+
root$182 = root$182.next;
|
11675
11696
|
}
|
11676
11697
|
} while (didPerformSomeWork);
|
11677
11698
|
isFlushingWork = !1;
|
@@ -11882,20 +11903,20 @@ function extractEvents$1(
|
|
11882
11903
|
}
|
11883
11904
|
}
|
11884
11905
|
for (
|
11885
|
-
var i$jscomp$
|
11886
|
-
i$jscomp$
|
11887
|
-
i$jscomp$
|
11906
|
+
var i$jscomp$inline_1489 = 0;
|
11907
|
+
i$jscomp$inline_1489 < simpleEventPluginEvents.length;
|
11908
|
+
i$jscomp$inline_1489++
|
11888
11909
|
) {
|
11889
|
-
var eventName$jscomp$
|
11890
|
-
simpleEventPluginEvents[i$jscomp$
|
11891
|
-
domEventName$jscomp$
|
11892
|
-
eventName$jscomp$
|
11893
|
-
capitalizedEvent$jscomp$
|
11894
|
-
eventName$jscomp$
|
11895
|
-
eventName$jscomp$
|
11910
|
+
var eventName$jscomp$inline_1490 =
|
11911
|
+
simpleEventPluginEvents[i$jscomp$inline_1489],
|
11912
|
+
domEventName$jscomp$inline_1491 =
|
11913
|
+
eventName$jscomp$inline_1490.toLowerCase(),
|
11914
|
+
capitalizedEvent$jscomp$inline_1492 =
|
11915
|
+
eventName$jscomp$inline_1490[0].toUpperCase() +
|
11916
|
+
eventName$jscomp$inline_1490.slice(1);
|
11896
11917
|
registerSimpleEvent(
|
11897
|
-
domEventName$jscomp$
|
11898
|
-
"on" + capitalizedEvent$jscomp$
|
11918
|
+
domEventName$jscomp$inline_1491,
|
11919
|
+
"on" + capitalizedEvent$jscomp$inline_1492
|
11899
11920
|
);
|
11900
11921
|
}
|
11901
11922
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
@@ -13267,14 +13288,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13267
13288
|
setProp(domElement, tag, propKey, null, nextProps, lastProp);
|
13268
13289
|
}
|
13269
13290
|
}
|
13270
|
-
for (var propKey$
|
13271
|
-
var propKey = nextProps[propKey$
|
13272
|
-
lastProp = lastProps[propKey$
|
13291
|
+
for (var propKey$210 in nextProps) {
|
13292
|
+
var propKey = nextProps[propKey$210];
|
13293
|
+
lastProp = lastProps[propKey$210];
|
13273
13294
|
if (
|
13274
|
-
nextProps.hasOwnProperty(propKey$
|
13295
|
+
nextProps.hasOwnProperty(propKey$210) &&
|
13275
13296
|
(null != propKey || null != lastProp)
|
13276
13297
|
)
|
13277
|
-
switch (propKey$
|
13298
|
+
switch (propKey$210) {
|
13278
13299
|
case "type":
|
13279
13300
|
type = propKey;
|
13280
13301
|
break;
|
@@ -13303,7 +13324,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13303
13324
|
setProp(
|
13304
13325
|
domElement,
|
13305
13326
|
tag,
|
13306
|
-
propKey$
|
13327
|
+
propKey$210,
|
13307
13328
|
propKey,
|
13308
13329
|
nextProps,
|
13309
13330
|
lastProp
|
@@ -13322,7 +13343,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13322
13343
|
);
|
13323
13344
|
return;
|
13324
13345
|
case "select":
|
13325
|
-
propKey = value = defaultValue = propKey$
|
13346
|
+
propKey = value = defaultValue = propKey$210 = null;
|
13326
13347
|
for (type in lastProps)
|
13327
13348
|
if (
|
13328
13349
|
((lastDefaultValue = lastProps[type]),
|
@@ -13353,7 +13374,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13353
13374
|
)
|
13354
13375
|
switch (name) {
|
13355
13376
|
case "value":
|
13356
|
-
propKey$
|
13377
|
+
propKey$210 = type;
|
13357
13378
|
break;
|
13358
13379
|
case "defaultValue":
|
13359
13380
|
defaultValue = type;
|
@@ -13374,15 +13395,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13374
13395
|
tag = defaultValue;
|
13375
13396
|
lastProps = value;
|
13376
13397
|
nextProps = propKey;
|
13377
|
-
null != propKey$
|
13378
|
-
? updateOptions(domElement, !!lastProps, propKey$
|
13398
|
+
null != propKey$210
|
13399
|
+
? updateOptions(domElement, !!lastProps, propKey$210, !1)
|
13379
13400
|
: !!nextProps !== !!lastProps &&
|
13380
13401
|
(null != tag
|
13381
13402
|
? updateOptions(domElement, !!lastProps, tag, !0)
|
13382
13403
|
: updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
|
13383
13404
|
return;
|
13384
13405
|
case "textarea":
|
13385
|
-
propKey = propKey$
|
13406
|
+
propKey = propKey$210 = null;
|
13386
13407
|
for (defaultValue in lastProps)
|
13387
13408
|
if (
|
13388
13409
|
((name = lastProps[defaultValue]),
|
@@ -13406,7 +13427,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13406
13427
|
)
|
13407
13428
|
switch (value) {
|
13408
13429
|
case "value":
|
13409
|
-
propKey$
|
13430
|
+
propKey$210 = name;
|
13410
13431
|
break;
|
13411
13432
|
case "defaultValue":
|
13412
13433
|
propKey = name;
|
@@ -13420,17 +13441,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13420
13441
|
name !== type &&
|
13421
13442
|
setProp(domElement, tag, value, name, nextProps, type);
|
13422
13443
|
}
|
13423
|
-
updateTextarea(domElement, propKey$
|
13444
|
+
updateTextarea(domElement, propKey$210, propKey);
|
13424
13445
|
return;
|
13425
13446
|
case "option":
|
13426
|
-
for (var propKey$
|
13447
|
+
for (var propKey$226 in lastProps)
|
13427
13448
|
if (
|
13428
|
-
((propKey$
|
13429
|
-
lastProps.hasOwnProperty(propKey$
|
13430
|
-
null != propKey$
|
13431
|
-
!nextProps.hasOwnProperty(propKey$
|
13449
|
+
((propKey$210 = lastProps[propKey$226]),
|
13450
|
+
lastProps.hasOwnProperty(propKey$226) &&
|
13451
|
+
null != propKey$210 &&
|
13452
|
+
!nextProps.hasOwnProperty(propKey$226))
|
13432
13453
|
)
|
13433
|
-
switch (propKey$
|
13454
|
+
switch (propKey$226) {
|
13434
13455
|
case "selected":
|
13435
13456
|
domElement.selected = !1;
|
13436
13457
|
break;
|
@@ -13438,33 +13459,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13438
13459
|
setProp(
|
13439
13460
|
domElement,
|
13440
13461
|
tag,
|
13441
|
-
propKey$
|
13462
|
+
propKey$226,
|
13442
13463
|
null,
|
13443
13464
|
nextProps,
|
13444
|
-
propKey$
|
13465
|
+
propKey$210
|
13445
13466
|
);
|
13446
13467
|
}
|
13447
13468
|
for (lastDefaultValue in nextProps)
|
13448
13469
|
if (
|
13449
|
-
((propKey$
|
13470
|
+
((propKey$210 = nextProps[lastDefaultValue]),
|
13450
13471
|
(propKey = lastProps[lastDefaultValue]),
|
13451
13472
|
nextProps.hasOwnProperty(lastDefaultValue) &&
|
13452
|
-
propKey$
|
13453
|
-
(null != propKey$
|
13473
|
+
propKey$210 !== propKey &&
|
13474
|
+
(null != propKey$210 || null != propKey))
|
13454
13475
|
)
|
13455
13476
|
switch (lastDefaultValue) {
|
13456
13477
|
case "selected":
|
13457
13478
|
domElement.selected =
|
13458
|
-
propKey$
|
13459
|
-
"function" !== typeof propKey$
|
13460
|
-
"symbol" !== typeof propKey$
|
13479
|
+
propKey$210 &&
|
13480
|
+
"function" !== typeof propKey$210 &&
|
13481
|
+
"symbol" !== typeof propKey$210;
|
13461
13482
|
break;
|
13462
13483
|
default:
|
13463
13484
|
setProp(
|
13464
13485
|
domElement,
|
13465
13486
|
tag,
|
13466
13487
|
lastDefaultValue,
|
13467
|
-
propKey$
|
13488
|
+
propKey$210,
|
13468
13489
|
nextProps,
|
13469
13490
|
propKey
|
13470
13491
|
);
|
@@ -13485,24 +13506,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13485
13506
|
case "track":
|
13486
13507
|
case "wbr":
|
13487
13508
|
case "menuitem":
|
13488
|
-
for (var propKey$
|
13489
|
-
(propKey$
|
13490
|
-
lastProps.hasOwnProperty(propKey$
|
13491
|
-
null != propKey$
|
13492
|
-
!nextProps.hasOwnProperty(propKey$
|
13493
|
-
setProp(domElement, tag, propKey$
|
13509
|
+
for (var propKey$231 in lastProps)
|
13510
|
+
(propKey$210 = lastProps[propKey$231]),
|
13511
|
+
lastProps.hasOwnProperty(propKey$231) &&
|
13512
|
+
null != propKey$210 &&
|
13513
|
+
!nextProps.hasOwnProperty(propKey$231) &&
|
13514
|
+
setProp(domElement, tag, propKey$231, null, nextProps, propKey$210);
|
13494
13515
|
for (checked in nextProps)
|
13495
13516
|
if (
|
13496
|
-
((propKey$
|
13517
|
+
((propKey$210 = nextProps[checked]),
|
13497
13518
|
(propKey = lastProps[checked]),
|
13498
13519
|
nextProps.hasOwnProperty(checked) &&
|
13499
|
-
propKey$
|
13500
|
-
(null != propKey$
|
13520
|
+
propKey$210 !== propKey &&
|
13521
|
+
(null != propKey$210 || null != propKey))
|
13501
13522
|
)
|
13502
13523
|
switch (checked) {
|
13503
13524
|
case "children":
|
13504
13525
|
case "dangerouslySetInnerHTML":
|
13505
|
-
if (null != propKey$
|
13526
|
+
if (null != propKey$210)
|
13506
13527
|
throw Error(formatProdErrorMessage(137, tag));
|
13507
13528
|
break;
|
13508
13529
|
default:
|
@@ -13510,7 +13531,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13510
13531
|
domElement,
|
13511
13532
|
tag,
|
13512
13533
|
checked,
|
13513
|
-
propKey$
|
13534
|
+
propKey$210,
|
13514
13535
|
nextProps,
|
13515
13536
|
propKey
|
13516
13537
|
);
|
@@ -13518,49 +13539,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
|
|
13518
13539
|
return;
|
13519
13540
|
default:
|
13520
13541
|
if (isCustomElement(tag)) {
|
13521
|
-
for (var propKey$
|
13522
|
-
(propKey$
|
13523
|
-
lastProps.hasOwnProperty(propKey$
|
13524
|
-
void 0 !== propKey$
|
13525
|
-
!nextProps.hasOwnProperty(propKey$
|
13542
|
+
for (var propKey$236 in lastProps)
|
13543
|
+
(propKey$210 = lastProps[propKey$236]),
|
13544
|
+
lastProps.hasOwnProperty(propKey$236) &&
|
13545
|
+
void 0 !== propKey$210 &&
|
13546
|
+
!nextProps.hasOwnProperty(propKey$236) &&
|
13526
13547
|
setPropOnCustomElement(
|
13527
13548
|
domElement,
|
13528
13549
|
tag,
|
13529
|
-
propKey$
|
13550
|
+
propKey$236,
|
13530
13551
|
void 0,
|
13531
13552
|
nextProps,
|
13532
|
-
propKey$
|
13553
|
+
propKey$210
|
13533
13554
|
);
|
13534
13555
|
for (defaultChecked in nextProps)
|
13535
|
-
(propKey$
|
13556
|
+
(propKey$210 = nextProps[defaultChecked]),
|
13536
13557
|
(propKey = lastProps[defaultChecked]),
|
13537
13558
|
!nextProps.hasOwnProperty(defaultChecked) ||
|
13538
|
-
propKey$
|
13539
|
-
(void 0 === propKey$
|
13559
|
+
propKey$210 === propKey ||
|
13560
|
+
(void 0 === propKey$210 && void 0 === propKey) ||
|
13540
13561
|
setPropOnCustomElement(
|
13541
13562
|
domElement,
|
13542
13563
|
tag,
|
13543
13564
|
defaultChecked,
|
13544
|
-
propKey$
|
13565
|
+
propKey$210,
|
13545
13566
|
nextProps,
|
13546
13567
|
propKey
|
13547
13568
|
);
|
13548
13569
|
return;
|
13549
13570
|
}
|
13550
13571
|
}
|
13551
|
-
for (var propKey$
|
13552
|
-
(propKey$
|
13553
|
-
lastProps.hasOwnProperty(propKey$
|
13554
|
-
null != propKey$
|
13555
|
-
!nextProps.hasOwnProperty(propKey$
|
13556
|
-
setProp(domElement, tag, propKey$
|
13572
|
+
for (var propKey$241 in lastProps)
|
13573
|
+
(propKey$210 = lastProps[propKey$241]),
|
13574
|
+
lastProps.hasOwnProperty(propKey$241) &&
|
13575
|
+
null != propKey$210 &&
|
13576
|
+
!nextProps.hasOwnProperty(propKey$241) &&
|
13577
|
+
setProp(domElement, tag, propKey$241, null, nextProps, propKey$210);
|
13557
13578
|
for (lastProp in nextProps)
|
13558
|
-
(propKey$
|
13579
|
+
(propKey$210 = nextProps[lastProp]),
|
13559
13580
|
(propKey = lastProps[lastProp]),
|
13560
13581
|
!nextProps.hasOwnProperty(lastProp) ||
|
13561
|
-
propKey$
|
13562
|
-
(null == propKey$
|
13563
|
-
setProp(domElement, tag, lastProp, propKey$
|
13582
|
+
propKey$210 === propKey ||
|
13583
|
+
(null == propKey$210 && null == propKey) ||
|
13584
|
+
setProp(domElement, tag, lastProp, propKey$210, nextProps, propKey);
|
13564
13585
|
}
|
13565
13586
|
var eventsEnabled = null,
|
13566
13587
|
selectionInformation = null;
|
@@ -14070,11 +14091,12 @@ function preinitModuleScript(src, options) {
|
|
14070
14091
|
scripts.set(key, resource));
|
14071
14092
|
}
|
14072
14093
|
}
|
14073
|
-
function getResource(type, currentProps, pendingProps) {
|
14074
|
-
|
14075
|
-
|
14094
|
+
function getResource(type, currentProps, pendingProps, currentResource) {
|
14095
|
+
var JSCompiler_inline_result = (JSCompiler_inline_result =
|
14096
|
+
rootInstanceStackCursor.current)
|
14097
|
+
? getHoistableRoot(JSCompiler_inline_result)
|
14076
14098
|
: null;
|
14077
|
-
if (!
|
14099
|
+
if (!JSCompiler_inline_result) throw Error(formatProdErrorMessage(446));
|
14078
14100
|
switch (type) {
|
14079
14101
|
case "meta":
|
14080
14102
|
case "title":
|
@@ -14083,12 +14105,19 @@ function getResource(type, currentProps, pendingProps) {
|
|
14083
14105
|
return "string" === typeof pendingProps.precedence &&
|
14084
14106
|
"string" === typeof pendingProps.href
|
14085
14107
|
? ((pendingProps = getStyleKey(pendingProps.href)),
|
14086
|
-
(
|
14087
|
-
|
14088
|
-
|
14089
|
-
|
14090
|
-
|
14091
|
-
|
14108
|
+
(JSCompiler_inline_result = getResourcesFromRoot(
|
14109
|
+
JSCompiler_inline_result
|
14110
|
+
).hoistableStyles),
|
14111
|
+
(currentProps = JSCompiler_inline_result.get(pendingProps)),
|
14112
|
+
currentProps ||
|
14113
|
+
((currentProps = {
|
14114
|
+
type: "style",
|
14115
|
+
instance: null,
|
14116
|
+
count: 0,
|
14117
|
+
state: null
|
14118
|
+
}),
|
14119
|
+
JSCompiler_inline_result.set(pendingProps, currentProps)),
|
14120
|
+
currentProps)
|
14092
14121
|
: { type: "void", instance: null, count: 0, state: null };
|
14093
14122
|
case "link":
|
14094
14123
|
if (
|
@@ -14097,20 +14126,23 @@ function getResource(type, currentProps, pendingProps) {
|
|
14097
14126
|
"string" === typeof pendingProps.precedence
|
14098
14127
|
) {
|
14099
14128
|
type = getStyleKey(pendingProps.href);
|
14100
|
-
var styles$
|
14101
|
-
|
14102
|
-
|
14103
|
-
|
14104
|
-
|
14129
|
+
var styles$249 = getResourcesFromRoot(
|
14130
|
+
JSCompiler_inline_result
|
14131
|
+
).hoistableStyles,
|
14132
|
+
resource$250 = styles$249.get(type);
|
14133
|
+
resource$250 ||
|
14134
|
+
((JSCompiler_inline_result =
|
14135
|
+
JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
|
14136
|
+
(resource$250 = {
|
14105
14137
|
type: "stylesheet",
|
14106
14138
|
instance: null,
|
14107
14139
|
count: 0,
|
14108
14140
|
state: { loading: 0, preload: null }
|
14109
14141
|
}),
|
14110
|
-
styles$
|
14142
|
+
styles$249.set(type, resource$250),
|
14111
14143
|
preloadPropsMap.has(type) ||
|
14112
14144
|
preloadStylesheet(
|
14113
|
-
|
14145
|
+
JSCompiler_inline_result,
|
14114
14146
|
type,
|
14115
14147
|
{
|
14116
14148
|
rel: "preload",
|
@@ -14122,32 +14154,37 @@ function getResource(type, currentProps, pendingProps) {
|
|
14122
14154
|
hrefLang: pendingProps.hrefLang,
|
14123
14155
|
referrerPolicy: pendingProps.referrerPolicy
|
14124
14156
|
},
|
14125
|
-
resource$
|
14157
|
+
resource$250.state
|
14126
14158
|
));
|
14127
|
-
|
14159
|
+
if (currentProps && null === currentResource)
|
14160
|
+
throw Error(formatProdErrorMessage(528, ""));
|
14161
|
+
return resource$250;
|
14128
14162
|
}
|
14163
|
+
if (currentProps && null !== currentResource)
|
14164
|
+
throw Error(formatProdErrorMessage(529, ""));
|
14129
14165
|
return null;
|
14130
14166
|
case "script":
|
14131
14167
|
return (
|
14132
|
-
(
|
14168
|
+
(currentProps = pendingProps.async),
|
14133
14169
|
(pendingProps = pendingProps.src),
|
14134
14170
|
"string" === typeof pendingProps &&
|
14135
|
-
|
14136
|
-
"function" !== typeof
|
14137
|
-
"symbol" !== typeof
|
14171
|
+
currentProps &&
|
14172
|
+
"function" !== typeof currentProps &&
|
14173
|
+
"symbol" !== typeof currentProps
|
14138
14174
|
? ((pendingProps = getScriptKey(pendingProps)),
|
14139
|
-
(
|
14140
|
-
|
14141
|
-
|
14142
|
-
|
14143
|
-
|
14175
|
+
(JSCompiler_inline_result = getResourcesFromRoot(
|
14176
|
+
JSCompiler_inline_result
|
14177
|
+
).hoistableScripts),
|
14178
|
+
(currentProps = JSCompiler_inline_result.get(pendingProps)),
|
14179
|
+
currentProps ||
|
14180
|
+
((currentProps = {
|
14144
14181
|
type: "script",
|
14145
14182
|
instance: null,
|
14146
14183
|
count: 0,
|
14147
14184
|
state: null
|
14148
14185
|
}),
|
14149
|
-
|
14150
|
-
|
14186
|
+
JSCompiler_inline_result.set(pendingProps, currentProps)),
|
14187
|
+
currentProps)
|
14151
14188
|
: { type: "void", instance: null, count: 0, state: null }
|
14152
14189
|
);
|
14153
14190
|
default:
|
@@ -14220,37 +14257,37 @@ function acquireResource(hoistableRoot, resource, props) {
|
|
14220
14257
|
return (resource.instance = instance);
|
14221
14258
|
case "stylesheet":
|
14222
14259
|
styleProps = getStyleKey(props.href);
|
14223
|
-
var instance$
|
14260
|
+
var instance$255 = hoistableRoot.querySelector(
|
14224
14261
|
getStylesheetSelectorFromKey(styleProps)
|
14225
14262
|
);
|
14226
|
-
if (instance$
|
14263
|
+
if (instance$255)
|
14227
14264
|
return (
|
14228
14265
|
(resource.state.loading |= 4),
|
14229
|
-
(resource.instance = instance$
|
14230
|
-
markNodeAsHoistable(instance$
|
14231
|
-
instance$
|
14266
|
+
(resource.instance = instance$255),
|
14267
|
+
markNodeAsHoistable(instance$255),
|
14268
|
+
instance$255
|
14232
14269
|
);
|
14233
14270
|
instance = stylesheetPropsFromRawProps(props);
|
14234
14271
|
(styleProps = preloadPropsMap.get(styleProps)) &&
|
14235
14272
|
adoptPreloadPropsForStylesheet(instance, styleProps);
|
14236
|
-
instance$
|
14273
|
+
instance$255 = (
|
14237
14274
|
hoistableRoot.ownerDocument || hoistableRoot
|
14238
14275
|
).createElement("link");
|
14239
|
-
markNodeAsHoistable(instance$
|
14240
|
-
var linkInstance = instance$
|
14276
|
+
markNodeAsHoistable(instance$255);
|
14277
|
+
var linkInstance = instance$255;
|
14241
14278
|
linkInstance._p = new Promise(function (resolve, reject) {
|
14242
14279
|
linkInstance.onload = resolve;
|
14243
14280
|
linkInstance.onerror = reject;
|
14244
14281
|
});
|
14245
|
-
setInitialProperties(instance$
|
14282
|
+
setInitialProperties(instance$255, "link", instance);
|
14246
14283
|
resource.state.loading |= 4;
|
14247
|
-
insertStylesheet(instance$
|
14248
|
-
return (resource.instance = instance$
|
14284
|
+
insertStylesheet(instance$255, props.precedence, hoistableRoot);
|
14285
|
+
return (resource.instance = instance$255);
|
14249
14286
|
case "script":
|
14250
|
-
instance$
|
14287
|
+
instance$255 = getScriptKey(props.src);
|
14251
14288
|
if (
|
14252
14289
|
(styleProps = hoistableRoot.querySelector(
|
14253
|
-
getScriptSelectorFromKey(instance$
|
14290
|
+
getScriptSelectorFromKey(instance$255)
|
14254
14291
|
))
|
14255
14292
|
)
|
14256
14293
|
return (
|
@@ -14259,7 +14296,7 @@ function acquireResource(hoistableRoot, resource, props) {
|
|
14259
14296
|
styleProps
|
14260
14297
|
);
|
14261
14298
|
instance = props;
|
14262
|
-
if ((styleProps = preloadPropsMap.get(instance$
|
14299
|
+
if ((styleProps = preloadPropsMap.get(instance$255)))
|
14263
14300
|
(instance = assign({}, props)),
|
14264
14301
|
adoptPreloadPropsForScript(instance, styleProps);
|
14265
14302
|
hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
|
@@ -15297,16 +15334,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15297
15334
|
0 === i && attemptExplicitHydrationTarget(target);
|
15298
15335
|
}
|
15299
15336
|
};
|
15300
|
-
var isomorphicReactPackageVersion$jscomp$
|
15337
|
+
var isomorphicReactPackageVersion$jscomp$inline_1739 = React.version;
|
15301
15338
|
if (
|
15302
|
-
"19.0.0-rc-
|
15303
|
-
isomorphicReactPackageVersion$jscomp$
|
15339
|
+
"19.0.0-rc-9598c41a20-20240603" !==
|
15340
|
+
isomorphicReactPackageVersion$jscomp$inline_1739
|
15304
15341
|
)
|
15305
15342
|
throw Error(
|
15306
15343
|
formatProdErrorMessage(
|
15307
15344
|
527,
|
15308
|
-
isomorphicReactPackageVersion$jscomp$
|
15309
|
-
"19.0.0-rc-
|
15345
|
+
isomorphicReactPackageVersion$jscomp$inline_1739,
|
15346
|
+
"19.0.0-rc-9598c41a20-20240603"
|
15310
15347
|
)
|
15311
15348
|
);
|
15312
15349
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15322,10 +15359,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15322
15359
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
15323
15360
|
return componentOrElement;
|
15324
15361
|
};
|
15325
|
-
var devToolsConfig$jscomp$
|
15362
|
+
var devToolsConfig$jscomp$inline_1746 = {
|
15326
15363
|
findFiberByHostInstance: getClosestInstanceFromNode,
|
15327
15364
|
bundleType: 0,
|
15328
|
-
version: "19.0.0-rc-
|
15365
|
+
version: "19.0.0-rc-9598c41a20-20240603",
|
15329
15366
|
rendererPackageName: "react-dom"
|
15330
15367
|
};
|
15331
15368
|
(function (internals) {
|
@@ -15342,10 +15379,10 @@ var devToolsConfig$jscomp$inline_1745 = {
|
|
15342
15379
|
} catch (err) {}
|
15343
15380
|
return hook.checkDCE ? !0 : !1;
|
15344
15381
|
})({
|
15345
|
-
bundleType: devToolsConfig$jscomp$
|
15346
|
-
version: devToolsConfig$jscomp$
|
15347
|
-
rendererPackageName: devToolsConfig$jscomp$
|
15348
|
-
rendererConfig: devToolsConfig$jscomp$
|
15382
|
+
bundleType: devToolsConfig$jscomp$inline_1746.bundleType,
|
15383
|
+
version: devToolsConfig$jscomp$inline_1746.version,
|
15384
|
+
rendererPackageName: devToolsConfig$jscomp$inline_1746.rendererPackageName,
|
15385
|
+
rendererConfig: devToolsConfig$jscomp$inline_1746.rendererConfig,
|
15349
15386
|
overrideHookState: null,
|
15350
15387
|
overrideHookStateDeletePath: null,
|
15351
15388
|
overrideHookStateRenamePath: null,
|
@@ -15361,14 +15398,14 @@ var devToolsConfig$jscomp$inline_1745 = {
|
|
15361
15398
|
return null === fiber ? null : fiber.stateNode;
|
15362
15399
|
},
|
15363
15400
|
findFiberByHostInstance:
|
15364
|
-
devToolsConfig$jscomp$
|
15401
|
+
devToolsConfig$jscomp$inline_1746.findFiberByHostInstance ||
|
15365
15402
|
emptyFindFiberByHostInstance,
|
15366
15403
|
findHostInstancesForRefresh: null,
|
15367
15404
|
scheduleRefresh: null,
|
15368
15405
|
scheduleRoot: null,
|
15369
15406
|
setRefreshHandler: null,
|
15370
15407
|
getCurrentFiber: null,
|
15371
|
-
reconcilerVersion: "19.0.0-rc-
|
15408
|
+
reconcilerVersion: "19.0.0-rc-9598c41a20-20240603"
|
15372
15409
|
});
|
15373
15410
|
function noop() {}
|
15374
15411
|
function getCrossOriginStringAs(as, input) {
|
@@ -15622,7 +15659,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
15622
15659
|
exports.useFormStatus = function () {
|
15623
15660
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
15624
15661
|
};
|
15625
|
-
exports.version = "19.0.0-rc-
|
15662
|
+
exports.version = "19.0.0-rc-9598c41a20-20240603";
|
15626
15663
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
15627
15664
|
"function" ===
|
15628
15665
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|