react-dom 19.0.0-rc-6d3110b4d9-20240531 → 19.0.0-rc.0

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.
@@ -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$287;
2031
+ var JSCompiler_inline_result$jscomp$289;
2032
2032
  if (canUseDOM) {
2033
- var isSupported$jscomp$inline_420 = "oninput" in document;
2034
- if (!isSupported$jscomp$inline_420) {
2035
- var element$jscomp$inline_421 = document.createElement("div");
2036
- element$jscomp$inline_421.setAttribute("oninput", "return;");
2037
- isSupported$jscomp$inline_420 =
2038
- "function" === typeof element$jscomp$inline_421.oninput;
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$287 = isSupported$jscomp$inline_420;
2041
- } else JSCompiler_inline_result$jscomp$287 = !1;
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$287 &&
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
- null === currentlyRenderingFiber$1.alternate &&
3841
+ index = currentlyRenderingFiber$1;
3842
+ null ===
3842
3843
  (null === workInProgressHook
3843
- ? null === currentlyRenderingFiber$1.memoizedState
3844
- : null === workInProgressHook.next) &&
3845
- (ReactSharedInternals.H = HooksDispatcherOnMount);
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.pending;
4138
- null === fiber
4139
- ? ((payload = { payload: payload, action: actionQueue.action, next: null }),
4140
- (payload.next = actionQueue.pending = payload),
4141
- runActionStateAction(actionQueue, setPendingState, setState, payload))
4142
- : (actionQueue.pending = fiber.next =
4143
- { payload: payload, action: actionQueue.action, next: fiber.next });
4144
- }
4145
- function runActionStateAction(actionQueue, setPendingState, setState, node) {
4146
- var prevTransition = ReactSharedInternals.T,
4147
- currentTransition = {};
4148
- ReactSharedInternals.T = currentTransition;
4149
- setPendingState(!0);
4150
- var action = node.action;
4151
- node = node.payload;
4152
- var prevState = actionQueue.state;
4153
- try {
4154
- var returnValue = action(prevState, node),
4155
- onStartTransitionFinish = ReactSharedInternals.S;
4156
- null !== onStartTransitionFinish &&
4157
- onStartTransitionFinish(currentTransition, returnValue);
4158
- null !== returnValue &&
4159
- "object" === typeof returnValue &&
4160
- "function" === typeof returnValue.then
4161
- ? (returnValue.then(
4162
- function (nextState) {
4163
- actionQueue.state = nextState;
4164
- finishRunningActionStateAction(
4165
- actionQueue,
4166
- setPendingState,
4167
- setState
4168
- );
4169
- },
4170
- function () {
4171
- return finishRunningActionStateAction(
4172
- actionQueue,
4173
- setPendingState,
4174
- setState
4175
- );
4176
- }
4177
- ),
4178
- setState(returnValue))
4179
- : (setState(returnValue),
4180
- (actionQueue.state = returnValue),
4181
- finishRunningActionStateAction(actionQueue, setPendingState, setState));
4182
- } catch (error) {
4183
- setState({ then: function () {}, status: "rejected", reason: error }),
4184
- finishRunningActionStateAction(actionQueue, setPendingState, setState);
4185
- } finally {
4186
- ReactSharedInternals.T = prevTransition;
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 finishRunningActionStateAction(
4190
- actionQueue,
4191
- setPendingState,
4192
- setState
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
- var first = last.next;
4197
- first === last
4198
- ? (actionQueue.pending = null)
4199
- : ((first = first.next),
4200
- (last.next = first),
4201
- runActionStateAction(actionQueue, setPendingState, setState, first));
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$52 = enqueueUpdate(provider, fiber, lane);
4573
- null !== root$52 &&
4574
- (scheduleUpdateOnFiber(root$52, provider, lane),
4575
- entangleTransitions(root$52, provider, lane));
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$58) {
5135
+ } catch (e$59) {
5098
5136
  setTimeout(function () {
5099
- throw e$58;
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$59) {
5148
+ } catch (e$60) {
5111
5149
  setTimeout(function () {
5112
- throw e$59;
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
- (renderLanes = workInProgress.memoizedState =
6639
- getResource(
6640
- workInProgress.type,
6641
- null === current ? null : current.memoizedProps,
6642
- workInProgress.pendingProps
6643
- )),
6644
- null !== current ||
6645
- isHydrating ||
6646
- null !== renderLanes ||
6647
- ((renderLanes = workInProgress.type),
6648
- (current = workInProgress.pendingProps),
6649
- (lazyComponent = getOwnerDocumentFromRootContainer(
6650
- rootInstanceStackCursor.current
6651
- ).createElement(renderLanes)),
6652
- (lazyComponent[internalInstanceKey] = workInProgress),
6653
- (lazyComponent[internalPropsKey] = current),
6654
- setInitialProperties(lazyComponent, renderLanes, current),
6655
- markNodeAsHoistable(lazyComponent),
6656
- (workInProgress.stateNode = lazyComponent)),
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$100 in Component)
7406
- void 0 === newProps[propName$100] &&
7407
- (newProps[propName$100] = Component[propName$100]);
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$101) {
7493
- captureCommitPhaseError(current, nearestMountedAncestor, error$101);
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$105) {
7740
- captureCommitPhaseError(finishedWork, finishedWork.return, error$105);
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$106) {
7883
+ } catch (error$107) {
7840
7884
  captureCommitPhaseError(
7841
7885
  finishedWork,
7842
7886
  finishedWork.return,
7843
- error$106
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$107) {
7904
+ } catch (error$108) {
7861
7905
  captureCommitPhaseError(
7862
7906
  finishedWork,
7863
7907
  finishedWork.return,
7864
- error$107
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$108) {
7919
+ } catch (error$109) {
7876
7920
  captureCommitPhaseError(
7877
7921
  finishedWork,
7878
7922
  finishedWork.return,
7879
- error$108
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$122) {
8402
+ } catch (error$123) {
8359
8403
  captureCommitPhaseError(
8360
8404
  finishedWork,
8361
8405
  finishedWork.return,
8362
- error$122
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$123) {
8413
+ } catch (error$124) {
8370
8414
  captureCommitPhaseError(
8371
8415
  finishedWork,
8372
8416
  finishedWork.return,
8373
- error$123
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$124) {
8591
+ } catch (error$125) {
8548
8592
  captureCommitPhaseError(
8549
8593
  finishedWork,
8550
8594
  finishedWork.return,
8551
- error$124
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$125) {
8589
- captureCommitPhaseError(finishedWork, finishedWork.return, error$125);
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$127) {
8600
- captureCommitPhaseError(finishedWork, finishedWork.return, error$127);
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$128) {
8616
- captureCommitPhaseError(finishedWork, finishedWork.return, error$128);
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$129) {
8631
- captureCommitPhaseError(finishedWork, finishedWork.return, error$129);
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$112) {
8769
+ } catch (error$113) {
8726
8770
  captureCommitPhaseError(
8727
8771
  finishedWork,
8728
8772
  finishedWork.return,
8729
- error$112
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$113 = JSCompiler_inline_result.stateNode;
8842
+ var parent$114 = JSCompiler_inline_result.stateNode;
8799
8843
  JSCompiler_inline_result.flags & 32 &&
8800
- (setTextContent(parent$113, ""),
8844
+ (setTextContent(parent$114, ""),
8801
8845
  (JSCompiler_inline_result.flags &= -33));
8802
- var before$114 = getHostSibling(finishedWork);
8803
- insertOrAppendPlacementNode(finishedWork, before$114, parent$113);
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$115 = JSCompiler_inline_result.stateNode.containerInfo,
8808
- before$116 = getHostSibling(finishedWork);
8851
+ var parent$116 = JSCompiler_inline_result.stateNode.containerInfo,
8852
+ before$117 = getHostSibling(finishedWork);
8809
8853
  insertOrAppendPlacementNodeIntoContainer(
8810
8854
  finishedWork,
8811
- before$116,
8812
- parent$115
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$134) {
9014
- captureCommitPhaseError(finishedWork, finishedWork.return, error$134);
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$140 = null; null !== lastTailNode; )
9748
- null !== lastTailNode.alternate && (lastTailNode$140 = lastTailNode),
9791
+ for (var lastTailNode$141 = null; null !== lastTailNode; )
9792
+ null !== lastTailNode.alternate && (lastTailNode$141 = lastTailNode),
9749
9793
  (lastTailNode = lastTailNode.sibling);
9750
- null === lastTailNode$140
9794
+ null === lastTailNode$141
9751
9795
  ? hasRenderedATailFallback || null === renderState.tail
9752
9796
  ? (renderState.tail = null)
9753
9797
  : (renderState.tail.sibling = null)
9754
- : (lastTailNode$140.sibling = null);
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$142 = completedWork.selfBaseDuration,
9767
- child$143 = completedWork.child;
9768
- null !== child$143;
9810
+ var treeBaseDuration$143 = completedWork.selfBaseDuration,
9811
+ child$144 = completedWork.child;
9812
+ null !== child$144;
9769
9813
 
9770
9814
  )
9771
- (newChildLanes |= child$143.lanes | child$143.childLanes),
9772
- (subtreeFlags |= child$143.subtreeFlags & 31457280),
9773
- (subtreeFlags |= child$143.flags & 31457280),
9774
- (treeBaseDuration$142 += child$143.treeBaseDuration),
9775
- (child$143 = child$143.sibling);
9776
- completedWork.treeBaseDuration = treeBaseDuration$142;
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$142 = completedWork.child;
9780
- null !== treeBaseDuration$142;
9823
+ treeBaseDuration$143 = completedWork.child;
9824
+ null !== treeBaseDuration$143;
9781
9825
 
9782
9826
  )
9783
9827
  (newChildLanes |=
9784
- treeBaseDuration$142.lanes | treeBaseDuration$142.childLanes),
9785
- (subtreeFlags |= treeBaseDuration$142.subtreeFlags & 31457280),
9786
- (subtreeFlags |= treeBaseDuration$142.flags & 31457280),
9787
- (treeBaseDuration$142.return = completedWork),
9788
- (treeBaseDuration$142 = treeBaseDuration$142.sibling);
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$142 = completedWork.actualDuration;
9791
- child$143 = completedWork.selfBaseDuration;
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$142 += child.actualDuration),
9797
- (child$143 += child.treeBaseDuration),
9840
+ (treeBaseDuration$143 += child.actualDuration),
9841
+ (child$144 += child.treeBaseDuration),
9798
9842
  (child = child.sibling);
9799
- completedWork.actualDuration = treeBaseDuration$142;
9800
- completedWork.treeBaseDuration = child$143;
9843
+ completedWork.actualDuration = treeBaseDuration$143;
9844
+ completedWork.treeBaseDuration = child$144;
9801
9845
  } else
9802
9846
  for (
9803
- treeBaseDuration$142 = completedWork.child;
9804
- null !== treeBaseDuration$142;
9847
+ treeBaseDuration$143 = completedWork.child;
9848
+ null !== treeBaseDuration$143;
9805
9849
 
9806
9850
  )
9807
9851
  (newChildLanes |=
9808
- treeBaseDuration$142.lanes | treeBaseDuration$142.childLanes),
9809
- (subtreeFlags |= treeBaseDuration$142.subtreeFlags),
9810
- (subtreeFlags |= treeBaseDuration$142.flags),
9811
- (treeBaseDuration$142.return = completedWork),
9812
- (treeBaseDuration$142 = treeBaseDuration$142.sibling);
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
- renderLanes = workInProgress.memoizedState;
9858
- if (null === current)
9859
- markUpdate(workInProgress),
9860
- null !== renderLanes
9861
- ? (bubbleProperties(workInProgress),
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
- return null;
9919
+ (workInProgress.flags &= -16777217)),
9920
+ null
9921
+ );
9878
9922
  case 27:
9879
9923
  popHostContext(workInProgress);
9880
9924
  renderLanes = rootInstanceStackCursor.current;
9881
- currentResource = workInProgress.type;
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
- currentResource = getOwnerDocumentFromRootContainer(
9960
+ type = getOwnerDocumentFromRootContainer(
9921
9961
  rootInstanceStackCursor.current
9922
9962
  );
9923
9963
  switch (current) {
9924
9964
  case 1:
9925
- current = currentResource.createElementNS(
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 = currentResource.createElementNS(
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 = currentResource.createElementNS(
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 = currentResource.createElementNS(
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 = currentResource.createElement("div");
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
- ? currentResource.createElement("select", {
9959
- is: newProps.is
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
- ? currentResource.createElement(renderLanes, {
9970
- is: newProps.is
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
- currentResource = workInProgress.child;
9979
- null !== currentResource;
9980
-
9981
- ) {
9982
- if (5 === currentResource.tag || 6 === currentResource.tag)
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 (currentResource === workInProgress) break a;
9994
- for (; null === currentResource.sibling; ) {
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
- currentResource = currentResource.return;
10025
+ type = type.return;
10001
10026
  }
10002
- currentResource.sibling.return = currentResource.return;
10003
- currentResource = currentResource.sibling;
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
- currentResource = hydrationParentFiber;
10039
- if (null !== currentResource)
10040
- switch (currentResource.tag) {
10063
+ type = hydrationParentFiber;
10064
+ if (null !== type)
10065
+ switch (type.tag) {
10041
10066
  case 27:
10042
10067
  case 5:
10043
- newProps = currentResource.memoizedProps;
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
- currentResource = popHydrationState(workInProgress);
10095
+ type = popHydrationState(workInProgress);
10071
10096
  if (null !== newProps && null !== newProps.dehydrated) {
10072
10097
  if (null === current) {
10073
- if (!currentResource) throw Error(formatProdErrorMessage(318));
10074
- currentResource = workInProgress.memoizedState;
10075
- currentResource =
10076
- null !== currentResource ? currentResource.dehydrated : null;
10077
- if (!currentResource) throw Error(formatProdErrorMessage(317));
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
- ((currentResource = workInProgress.child),
10083
- null !== currentResource &&
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
- ((currentResource = workInProgress.child),
10095
- null !== currentResource &&
10096
- (workInProgress.treeBaseDuration -=
10097
- currentResource.treeBaseDuration));
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
- (currentResource = !0);
10103
- if (!currentResource) {
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
- currentResource = null;
10144
+ type = null;
10123
10145
  null !== newProps.alternate &&
10124
10146
  null !== newProps.alternate.memoizedState &&
10125
10147
  null !== newProps.alternate.memoizedState.cachePool &&
10126
- (currentResource = newProps.alternate.memoizedState.cachePool.pool);
10127
- var cache$158 = null;
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$158 = newProps.memoizedState.cachePool.pool);
10131
- cache$158 !== currentResource && (newProps.flags |= 2048);
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
- currentResource = workInProgress.memoizedState;
10159
- if (null === currentResource)
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$158 = currentResource.rendering;
10163
- if (null === cache$158)
10164
- if (newProps) cutOffTailIfNeeded(currentResource, !1);
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$158 = findFirstSuspended(current);
10172
- if (null !== cache$158) {
10192
+ cache$159 = findFirstSuspended(current);
10193
+ if (null !== cache$159) {
10173
10194
  workInProgress.flags |= 128;
10174
- cutOffTailIfNeeded(currentResource, !1);
10175
- current = cache$158.updateQueue;
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 !== currentResource.tail &&
10212
+ null !== type.tail &&
10192
10213
  now$1() > workInProgressRootRenderTargetTime &&
10193
10214
  ((workInProgress.flags |= 128),
10194
10215
  (newProps = !0),
10195
- cutOffTailIfNeeded(currentResource, !1),
10216
+ cutOffTailIfNeeded(type, !1),
10196
10217
  (workInProgress.lanes = 4194304));
10197
10218
  }
10198
10219
  else {
10199
10220
  if (!newProps)
10200
- if (((current = findFirstSuspended(cache$158)), null !== current)) {
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(currentResource, !0),
10208
- null === currentResource.tail &&
10209
- "hidden" === currentResource.tailMode &&
10210
- !cache$158.alternate &&
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() - currentResource.renderingStartTime >
10236
+ 2 * now$1() - type.renderingStartTime >
10216
10237
  workInProgressRootRenderTargetTime &&
10217
10238
  536870912 !== renderLanes &&
10218
10239
  ((workInProgress.flags |= 128),
10219
10240
  (newProps = !0),
10220
- cutOffTailIfNeeded(currentResource, !1),
10241
+ cutOffTailIfNeeded(type, !1),
10221
10242
  (workInProgress.lanes = 4194304));
10222
- currentResource.isBackwards
10223
- ? ((cache$158.sibling = workInProgress.child),
10224
- (workInProgress.child = cache$158))
10225
- : ((current = currentResource.last),
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$158)
10228
- : (workInProgress.child = cache$158),
10229
- (currentResource.last = cache$158));
10248
+ ? (current.sibling = cache$159)
10249
+ : (workInProgress.child = cache$159),
10250
+ (type.last = cache$159));
10230
10251
  }
10231
- if (null !== currentResource.tail)
10252
+ if (null !== type.tail)
10232
10253
  return (
10233
- (workInProgress = currentResource.tail),
10234
- (currentResource.rendering = workInProgress),
10235
- (currentResource.tail = workInProgress.sibling),
10236
- (currentResource.renderingStartTime = now$1()),
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$173) {
10979
- handleThrow(root, thrownValue$173);
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$175) {
11100
- handleThrow(root, thrownValue$175);
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$179 = rootWithPendingPassiveEffects,
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$103 = 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$103
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$179, remainingLanes);
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$181 = firstScheduledRoot; null !== root$181; ) {
11664
- var workInProgressRootRenderLanes$183 = workInProgressRootRenderLanes;
11665
- workInProgressRootRenderLanes$183 = getNextLanes(
11666
- root$181,
11667
- root$181 === workInProgressRoot
11668
- ? workInProgressRootRenderLanes$183
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$183 & 3) &&
11692
+ 0 !== (workInProgressRootRenderLanes$184 & 3) &&
11672
11693
  ((didPerformSomeWork = !0),
11673
- performSyncWorkOnRoot(root$181, workInProgressRootRenderLanes$183));
11674
- root$181 = root$181.next;
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$inline_1488 = 0;
11886
- i$jscomp$inline_1488 < simpleEventPluginEvents.length;
11887
- i$jscomp$inline_1488++
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$inline_1489 =
11890
- simpleEventPluginEvents[i$jscomp$inline_1488],
11891
- domEventName$jscomp$inline_1490 =
11892
- eventName$jscomp$inline_1489.toLowerCase(),
11893
- capitalizedEvent$jscomp$inline_1491 =
11894
- eventName$jscomp$inline_1489[0].toUpperCase() +
11895
- eventName$jscomp$inline_1489.slice(1);
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$inline_1490,
11898
- "on" + capitalizedEvent$jscomp$inline_1491
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$209 in nextProps) {
13271
- var propKey = nextProps[propKey$209];
13272
- lastProp = lastProps[propKey$209];
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$209) &&
13295
+ nextProps.hasOwnProperty(propKey$210) &&
13275
13296
  (null != propKey || null != lastProp)
13276
13297
  )
13277
- switch (propKey$209) {
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$209,
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$209 = null;
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$209 = type;
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$209
13378
- ? updateOptions(domElement, !!lastProps, propKey$209, !1)
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$209 = null;
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$209 = name;
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$209, propKey);
13444
+ updateTextarea(domElement, propKey$210, propKey);
13424
13445
  return;
13425
13446
  case "option":
13426
- for (var propKey$225 in lastProps)
13447
+ for (var propKey$226 in lastProps)
13427
13448
  if (
13428
- ((propKey$209 = lastProps[propKey$225]),
13429
- lastProps.hasOwnProperty(propKey$225) &&
13430
- null != propKey$209 &&
13431
- !nextProps.hasOwnProperty(propKey$225))
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$225) {
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$225,
13462
+ propKey$226,
13442
13463
  null,
13443
13464
  nextProps,
13444
- propKey$209
13465
+ propKey$210
13445
13466
  );
13446
13467
  }
13447
13468
  for (lastDefaultValue in nextProps)
13448
13469
  if (
13449
- ((propKey$209 = nextProps[lastDefaultValue]),
13470
+ ((propKey$210 = nextProps[lastDefaultValue]),
13450
13471
  (propKey = lastProps[lastDefaultValue]),
13451
13472
  nextProps.hasOwnProperty(lastDefaultValue) &&
13452
- propKey$209 !== propKey &&
13453
- (null != propKey$209 || 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$209 &&
13459
- "function" !== typeof propKey$209 &&
13460
- "symbol" !== typeof propKey$209;
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$209,
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$230 in lastProps)
13489
- (propKey$209 = lastProps[propKey$230]),
13490
- lastProps.hasOwnProperty(propKey$230) &&
13491
- null != propKey$209 &&
13492
- !nextProps.hasOwnProperty(propKey$230) &&
13493
- setProp(domElement, tag, propKey$230, null, nextProps, propKey$209);
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$209 = nextProps[checked]),
13517
+ ((propKey$210 = nextProps[checked]),
13497
13518
  (propKey = lastProps[checked]),
13498
13519
  nextProps.hasOwnProperty(checked) &&
13499
- propKey$209 !== propKey &&
13500
- (null != propKey$209 || 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$209)
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$209,
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$235 in lastProps)
13522
- (propKey$209 = lastProps[propKey$235]),
13523
- lastProps.hasOwnProperty(propKey$235) &&
13524
- void 0 !== propKey$209 &&
13525
- !nextProps.hasOwnProperty(propKey$235) &&
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$235,
13550
+ propKey$236,
13530
13551
  void 0,
13531
13552
  nextProps,
13532
- propKey$209
13553
+ propKey$210
13533
13554
  );
13534
13555
  for (defaultChecked in nextProps)
13535
- (propKey$209 = nextProps[defaultChecked]),
13556
+ (propKey$210 = nextProps[defaultChecked]),
13536
13557
  (propKey = lastProps[defaultChecked]),
13537
13558
  !nextProps.hasOwnProperty(defaultChecked) ||
13538
- propKey$209 === propKey ||
13539
- (void 0 === propKey$209 && 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$209,
13565
+ propKey$210,
13545
13566
  nextProps,
13546
13567
  propKey
13547
13568
  );
13548
13569
  return;
13549
13570
  }
13550
13571
  }
13551
- for (var propKey$240 in lastProps)
13552
- (propKey$209 = lastProps[propKey$240]),
13553
- lastProps.hasOwnProperty(propKey$240) &&
13554
- null != propKey$209 &&
13555
- !nextProps.hasOwnProperty(propKey$240) &&
13556
- setProp(domElement, tag, propKey$240, null, nextProps, propKey$209);
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$209 = nextProps[lastProp]),
13579
+ (propKey$210 = nextProps[lastProp]),
13559
13580
  (propKey = lastProps[lastProp]),
13560
13581
  !nextProps.hasOwnProperty(lastProp) ||
13561
- propKey$209 === propKey ||
13562
- (null == propKey$209 && null == propKey) ||
13563
- setProp(domElement, tag, lastProp, propKey$209, nextProps, 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
- currentProps = (currentProps = rootInstanceStackCursor.current)
14075
- ? getHoistableRoot(currentProps)
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 (!currentProps) throw Error(formatProdErrorMessage(446));
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
- (currentProps = getResourcesFromRoot(currentProps).hoistableStyles),
14087
- (type = currentProps.get(pendingProps)),
14088
- type ||
14089
- ((type = { type: "style", instance: null, count: 0, state: null }),
14090
- currentProps.set(pendingProps, type)),
14091
- type)
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$248 = getResourcesFromRoot(currentProps).hoistableStyles,
14101
- resource$249 = styles$248.get(type);
14102
- resource$249 ||
14103
- ((currentProps = currentProps.ownerDocument || currentProps),
14104
- (resource$249 = {
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$248.set(type, resource$249),
14142
+ styles$249.set(type, resource$250),
14111
14143
  preloadPropsMap.has(type) ||
14112
14144
  preloadStylesheet(
14113
- currentProps,
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$249.state
14157
+ resource$250.state
14126
14158
  ));
14127
- return resource$249;
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
- (type = pendingProps.async),
14168
+ (currentProps = pendingProps.async),
14133
14169
  (pendingProps = pendingProps.src),
14134
14170
  "string" === typeof pendingProps &&
14135
- type &&
14136
- "function" !== typeof type &&
14137
- "symbol" !== typeof type
14171
+ currentProps &&
14172
+ "function" !== typeof currentProps &&
14173
+ "symbol" !== typeof currentProps
14138
14174
  ? ((pendingProps = getScriptKey(pendingProps)),
14139
- (currentProps =
14140
- getResourcesFromRoot(currentProps).hoistableScripts),
14141
- (type = currentProps.get(pendingProps)),
14142
- type ||
14143
- ((type = {
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
- currentProps.set(pendingProps, type)),
14150
- type)
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$253 = hoistableRoot.querySelector(
14260
+ var instance$255 = hoistableRoot.querySelector(
14224
14261
  getStylesheetSelectorFromKey(styleProps)
14225
14262
  );
14226
- if (instance$253)
14263
+ if (instance$255)
14227
14264
  return (
14228
14265
  (resource.state.loading |= 4),
14229
- (resource.instance = instance$253),
14230
- markNodeAsHoistable(instance$253),
14231
- instance$253
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$253 = (
14273
+ instance$255 = (
14237
14274
  hoistableRoot.ownerDocument || hoistableRoot
14238
14275
  ).createElement("link");
14239
- markNodeAsHoistable(instance$253);
14240
- var linkInstance = instance$253;
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$253, "link", instance);
14282
+ setInitialProperties(instance$255, "link", instance);
14246
14283
  resource.state.loading |= 4;
14247
- insertStylesheet(instance$253, props.precedence, hoistableRoot);
14248
- return (resource.instance = instance$253);
14284
+ insertStylesheet(instance$255, props.precedence, hoistableRoot);
14285
+ return (resource.instance = instance$255);
14249
14286
  case "script":
14250
- instance$253 = getScriptKey(props.src);
14287
+ instance$255 = getScriptKey(props.src);
14251
14288
  if (
14252
14289
  (styleProps = hoistableRoot.querySelector(
14253
- getScriptSelectorFromKey(instance$253)
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$253)))
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$inline_1738 = React.version;
15337
+ var isomorphicReactPackageVersion$jscomp$inline_1739 = React.version;
15301
15338
  if (
15302
- "19.0.0-rc-6d3110b4d9-20240531" !==
15303
- isomorphicReactPackageVersion$jscomp$inline_1738
15339
+ "19.0.0" !==
15340
+ isomorphicReactPackageVersion$jscomp$inline_1739
15304
15341
  )
15305
15342
  throw Error(
15306
15343
  formatProdErrorMessage(
15307
15344
  527,
15308
- isomorphicReactPackageVersion$jscomp$inline_1738,
15309
- "19.0.0-rc-6d3110b4d9-20240531"
15345
+ isomorphicReactPackageVersion$jscomp$inline_1739,
15346
+ "19.0.0"
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$inline_1745 = {
15362
+ var devToolsConfig$jscomp$inline_1746 = {
15326
15363
  findFiberByHostInstance: getClosestInstanceFromNode,
15327
15364
  bundleType: 0,
15328
- version: "19.0.0-rc-6d3110b4d9-20240531",
15365
+ version: "19.0.0",
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$inline_1745.bundleType,
15346
- version: devToolsConfig$jscomp$inline_1745.version,
15347
- rendererPackageName: devToolsConfig$jscomp$inline_1745.rendererPackageName,
15348
- rendererConfig: devToolsConfig$jscomp$inline_1745.rendererConfig,
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$inline_1745.findFiberByHostInstance ||
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-6d3110b4d9-20240531"
15408
+ reconcilerVersion: "19.0.0"
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-6d3110b4d9-20240531";
15662
+ exports.version = "19.0.0";
15626
15663
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15627
15664
  "function" ===
15628
15665
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&