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.
@@ -1906,19 +1906,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
1906
1906
  }
1907
1907
  var isInputEventSupported = !1;
1908
1908
  if (canUseDOM) {
1909
- var JSCompiler_inline_result$jscomp$267;
1909
+ var JSCompiler_inline_result$jscomp$269;
1910
1910
  if (canUseDOM) {
1911
- var isSupported$jscomp$inline_399 = "oninput" in document;
1912
- if (!isSupported$jscomp$inline_399) {
1913
- var element$jscomp$inline_400 = document.createElement("div");
1914
- element$jscomp$inline_400.setAttribute("oninput", "return;");
1915
- isSupported$jscomp$inline_399 =
1916
- "function" === typeof element$jscomp$inline_400.oninput;
1911
+ var isSupported$jscomp$inline_401 = "oninput" in document;
1912
+ if (!isSupported$jscomp$inline_401) {
1913
+ var element$jscomp$inline_402 = document.createElement("div");
1914
+ element$jscomp$inline_402.setAttribute("oninput", "return;");
1915
+ isSupported$jscomp$inline_401 =
1916
+ "function" === typeof element$jscomp$inline_402.oninput;
1917
1917
  }
1918
- JSCompiler_inline_result$jscomp$267 = isSupported$jscomp$inline_399;
1919
- } else JSCompiler_inline_result$jscomp$267 = !1;
1918
+ JSCompiler_inline_result$jscomp$269 = isSupported$jscomp$inline_401;
1919
+ } else JSCompiler_inline_result$jscomp$269 = !1;
1920
1920
  isInputEventSupported =
1921
- JSCompiler_inline_result$jscomp$267 &&
1921
+ JSCompiler_inline_result$jscomp$269 &&
1922
1922
  (!document.documentMode || 9 < document.documentMode);
1923
1923
  }
1924
1924
  function stopWatchingForValueChange() {
@@ -3716,11 +3716,16 @@ function useThenable(thenable) {
3716
3716
  thenableIndexCounter += 1;
3717
3717
  null === thenableState && (thenableState = []);
3718
3718
  thenable = trackUsedThenable(thenableState, thenable, index);
3719
- null === currentlyRenderingFiber$1.alternate &&
3719
+ index = currentlyRenderingFiber$1;
3720
+ null ===
3720
3721
  (null === workInProgressHook
3721
- ? null === currentlyRenderingFiber$1.memoizedState
3722
- : null === workInProgressHook.next) &&
3723
- (ReactSharedInternals.H = HooksDispatcherOnMount);
3722
+ ? index.memoizedState
3723
+ : workInProgressHook.next) &&
3724
+ ((index = index.alternate),
3725
+ (ReactSharedInternals.H =
3726
+ null === index || null === index.memoizedState
3727
+ ? HooksDispatcherOnMount
3728
+ : HooksDispatcherOnUpdate));
3724
3729
  return thenable;
3725
3730
  }
3726
3731
  function use(usable) {
@@ -4012,72 +4017,105 @@ function dispatchActionState(
4012
4017
  payload
4013
4018
  ) {
4014
4019
  if (isRenderPhaseUpdate(fiber)) throw Error(formatProdErrorMessage(485));
4015
- fiber = actionQueue.pending;
4016
- null === fiber
4017
- ? ((payload = { payload: payload, action: actionQueue.action, next: null }),
4018
- (payload.next = actionQueue.pending = payload),
4019
- runActionStateAction(actionQueue, setPendingState, setState, payload))
4020
- : (actionQueue.pending = fiber.next =
4021
- { payload: payload, action: actionQueue.action, next: fiber.next });
4022
- }
4023
- function runActionStateAction(actionQueue, setPendingState, setState, node) {
4024
- var prevTransition = ReactSharedInternals.T,
4025
- currentTransition = {};
4026
- ReactSharedInternals.T = currentTransition;
4027
- setPendingState(!0);
4028
- var action = node.action;
4029
- node = node.payload;
4030
- var prevState = actionQueue.state;
4031
- try {
4032
- var returnValue = action(prevState, node),
4033
- onStartTransitionFinish = ReactSharedInternals.S;
4034
- null !== onStartTransitionFinish &&
4035
- onStartTransitionFinish(currentTransition, returnValue);
4036
- null !== returnValue &&
4037
- "object" === typeof returnValue &&
4038
- "function" === typeof returnValue.then
4039
- ? (returnValue.then(
4040
- function (nextState) {
4041
- actionQueue.state = nextState;
4042
- finishRunningActionStateAction(
4043
- actionQueue,
4044
- setPendingState,
4045
- setState
4046
- );
4047
- },
4048
- function () {
4049
- return finishRunningActionStateAction(
4050
- actionQueue,
4051
- setPendingState,
4052
- setState
4053
- );
4054
- }
4055
- ),
4056
- setState(returnValue))
4057
- : (setState(returnValue),
4058
- (actionQueue.state = returnValue),
4059
- finishRunningActionStateAction(actionQueue, setPendingState, setState));
4060
- } catch (error) {
4061
- setState({ then: function () {}, status: "rejected", reason: error }),
4062
- finishRunningActionStateAction(actionQueue, setPendingState, setState);
4063
- } finally {
4064
- ReactSharedInternals.T = prevTransition;
4065
- }
4020
+ fiber = actionQueue.action;
4021
+ if (null !== fiber) {
4022
+ var actionNode = {
4023
+ payload: payload,
4024
+ action: fiber,
4025
+ next: null,
4026
+ isTransition: !0,
4027
+ status: "pending",
4028
+ value: null,
4029
+ reason: null,
4030
+ listeners: [],
4031
+ then: function (listener) {
4032
+ actionNode.listeners.push(listener);
4033
+ }
4034
+ };
4035
+ null !== ReactSharedInternals.T
4036
+ ? setPendingState(!0)
4037
+ : (actionNode.isTransition = !1);
4038
+ setState(actionNode);
4039
+ setPendingState = actionQueue.pending;
4040
+ null === setPendingState
4041
+ ? ((actionNode.next = actionQueue.pending = actionNode),
4042
+ runActionStateAction(actionQueue, actionNode))
4043
+ : ((actionNode.next = setPendingState.next),
4044
+ (actionQueue.pending = setPendingState.next = actionNode));
4045
+ }
4046
+ }
4047
+ function runActionStateAction(actionQueue, node) {
4048
+ var action = node.action,
4049
+ payload = node.payload,
4050
+ prevState = actionQueue.state;
4051
+ if (node.isTransition) {
4052
+ var prevTransition = ReactSharedInternals.T,
4053
+ currentTransition = {};
4054
+ ReactSharedInternals.T = currentTransition;
4055
+ try {
4056
+ var returnValue = action(prevState, payload),
4057
+ onStartTransitionFinish = ReactSharedInternals.S;
4058
+ null !== onStartTransitionFinish &&
4059
+ onStartTransitionFinish(currentTransition, returnValue);
4060
+ handleActionReturnValue(actionQueue, node, returnValue);
4061
+ } catch (error) {
4062
+ onActionError(actionQueue, node, error);
4063
+ } finally {
4064
+ ReactSharedInternals.T = prevTransition;
4065
+ }
4066
+ } else
4067
+ try {
4068
+ (prevTransition = action(prevState, payload)),
4069
+ handleActionReturnValue(actionQueue, node, prevTransition);
4070
+ } catch (error$47) {
4071
+ onActionError(actionQueue, node, error$47);
4072
+ }
4066
4073
  }
4067
- function finishRunningActionStateAction(
4068
- actionQueue,
4069
- setPendingState,
4070
- setState
4071
- ) {
4074
+ function handleActionReturnValue(actionQueue, node, returnValue) {
4075
+ null !== returnValue &&
4076
+ "object" === typeof returnValue &&
4077
+ "function" === typeof returnValue.then
4078
+ ? returnValue.then(
4079
+ function (nextState) {
4080
+ onActionSuccess(actionQueue, node, nextState);
4081
+ },
4082
+ function (error) {
4083
+ return onActionError(actionQueue, node, error);
4084
+ }
4085
+ )
4086
+ : onActionSuccess(actionQueue, node, returnValue);
4087
+ }
4088
+ function onActionSuccess(actionQueue, actionNode, nextState) {
4089
+ actionNode.status = "fulfilled";
4090
+ actionNode.value = nextState;
4091
+ notifyActionListeners(actionNode);
4092
+ actionQueue.state = nextState;
4093
+ actionNode = actionQueue.pending;
4094
+ null !== actionNode &&
4095
+ ((nextState = actionNode.next),
4096
+ nextState === actionNode
4097
+ ? (actionQueue.pending = null)
4098
+ : ((nextState = nextState.next),
4099
+ (actionNode.next = nextState),
4100
+ runActionStateAction(actionQueue, nextState)));
4101
+ }
4102
+ function onActionError(actionQueue, actionNode, error) {
4072
4103
  var last = actionQueue.pending;
4104
+ actionQueue.pending = null;
4073
4105
  if (null !== last) {
4074
- var first = last.next;
4075
- first === last
4076
- ? (actionQueue.pending = null)
4077
- : ((first = first.next),
4078
- (last.next = first),
4079
- runActionStateAction(actionQueue, setPendingState, setState, first));
4106
+ last = last.next;
4107
+ do
4108
+ (actionNode.status = "rejected"),
4109
+ (actionNode.reason = error),
4110
+ notifyActionListeners(actionNode),
4111
+ (actionNode = actionNode.next);
4112
+ while (actionNode !== last);
4080
4113
  }
4114
+ actionQueue.action = null;
4115
+ }
4116
+ function notifyActionListeners(actionNode) {
4117
+ actionNode = actionNode.listeners;
4118
+ for (var i = 0; i < actionNode.length; i++) (0, actionNode[i])();
4081
4119
  }
4082
4120
  function actionStateReducer(oldState, newState) {
4083
4121
  return newState;
@@ -4447,10 +4485,10 @@ function refreshCache(fiber) {
4447
4485
  case 3:
4448
4486
  var lane = requestUpdateLane();
4449
4487
  fiber = createUpdate(lane);
4450
- var root$49 = enqueueUpdate(provider, fiber, lane);
4451
- null !== root$49 &&
4452
- (scheduleUpdateOnFiber(root$49, provider, lane),
4453
- entangleTransitions(root$49, provider, lane));
4488
+ var root$50 = enqueueUpdate(provider, fiber, lane);
4489
+ null !== root$50 &&
4490
+ (scheduleUpdateOnFiber(root$50, provider, lane),
4491
+ entangleTransitions(root$50, provider, lane));
4454
4492
  provider = { cache: createCache() };
4455
4493
  fiber.payload = provider;
4456
4494
  return;
@@ -4907,9 +4945,9 @@ function logUncaughtError(root, errorInfo) {
4907
4945
  try {
4908
4946
  var onUncaughtError = root.onUncaughtError;
4909
4947
  onUncaughtError(errorInfo.value, { componentStack: errorInfo.stack });
4910
- } catch (e$53) {
4948
+ } catch (e$54) {
4911
4949
  setTimeout(function () {
4912
- throw e$53;
4950
+ throw e$54;
4913
4951
  });
4914
4952
  }
4915
4953
  }
@@ -4920,9 +4958,9 @@ function logCaughtError(root, boundary, errorInfo) {
4920
4958
  componentStack: errorInfo.stack,
4921
4959
  errorBoundary: 1 === boundary.tag ? boundary.stateNode : null
4922
4960
  });
4923
- } catch (e$54) {
4961
+ } catch (e$55) {
4924
4962
  setTimeout(function () {
4925
- throw e$54;
4963
+ throw e$55;
4926
4964
  });
4927
4965
  }
4928
4966
  }
@@ -6432,25 +6470,31 @@ function beginWork(current, workInProgress, renderLanes) {
6432
6470
  case 26:
6433
6471
  return (
6434
6472
  markRef(current, workInProgress),
6435
- (renderLanes = workInProgress.memoizedState =
6436
- getResource(
6437
- workInProgress.type,
6438
- null === current ? null : current.memoizedProps,
6439
- workInProgress.pendingProps
6440
- )),
6441
- null !== current ||
6442
- isHydrating ||
6443
- null !== renderLanes ||
6444
- ((renderLanes = workInProgress.type),
6445
- (current = workInProgress.pendingProps),
6446
- (lazyComponent = getOwnerDocumentFromRootContainer(
6447
- rootInstanceStackCursor.current
6448
- ).createElement(renderLanes)),
6449
- (lazyComponent[internalInstanceKey] = workInProgress),
6450
- (lazyComponent[internalPropsKey] = current),
6451
- setInitialProperties(lazyComponent, renderLanes, current),
6452
- markNodeAsHoistable(lazyComponent),
6453
- (workInProgress.stateNode = lazyComponent)),
6473
+ null === current
6474
+ ? (renderLanes = getResource(
6475
+ workInProgress.type,
6476
+ null,
6477
+ workInProgress.pendingProps,
6478
+ null
6479
+ ))
6480
+ ? (workInProgress.memoizedState = renderLanes)
6481
+ : isHydrating ||
6482
+ ((renderLanes = workInProgress.type),
6483
+ (current = workInProgress.pendingProps),
6484
+ (lazyComponent = getOwnerDocumentFromRootContainer(
6485
+ rootInstanceStackCursor.current
6486
+ ).createElement(renderLanes)),
6487
+ (lazyComponent[internalInstanceKey] = workInProgress),
6488
+ (lazyComponent[internalPropsKey] = current),
6489
+ setInitialProperties(lazyComponent, renderLanes, current),
6490
+ markNodeAsHoistable(lazyComponent),
6491
+ (workInProgress.stateNode = lazyComponent))
6492
+ : (workInProgress.memoizedState = getResource(
6493
+ workInProgress.type,
6494
+ current.memoizedProps,
6495
+ workInProgress.pendingProps,
6496
+ current.memoizedState
6497
+ )),
6454
6498
  null
6455
6499
  );
6456
6500
  case 27:
@@ -7188,9 +7232,9 @@ function resolveClassComponentProps(Component, baseProps) {
7188
7232
  }
7189
7233
  if ((Component = Component.defaultProps)) {
7190
7234
  newProps === baseProps && (newProps = assign({}, newProps));
7191
- for (var propName$94 in Component)
7192
- void 0 === newProps[propName$94] &&
7193
- (newProps[propName$94] = Component[propName$94]);
7235
+ for (var propName$95 in Component)
7236
+ void 0 === newProps[propName$95] &&
7237
+ (newProps[propName$95] = Component[propName$95]);
7194
7238
  }
7195
7239
  return newProps;
7196
7240
  }
@@ -7246,8 +7290,8 @@ function safelyDetachRef(current, nearestMountedAncestor) {
7246
7290
  else if ("function" === typeof ref)
7247
7291
  try {
7248
7292
  ref(null);
7249
- } catch (error$95) {
7250
- captureCommitPhaseError(current, nearestMountedAncestor, error$95);
7293
+ } catch (error$96) {
7294
+ captureCommitPhaseError(current, nearestMountedAncestor, error$96);
7251
7295
  }
7252
7296
  else ref.current = null;
7253
7297
  }
@@ -7509,11 +7553,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
7509
7553
  current,
7510
7554
  finishedRoot.__reactInternalSnapshotBeforeUpdate
7511
7555
  );
7512
- } catch (error$97) {
7556
+ } catch (error$98) {
7513
7557
  captureCommitPhaseError(
7514
7558
  finishedWork,
7515
7559
  finishedWork.return,
7516
- error$97
7560
+ error$98
7517
7561
  );
7518
7562
  }
7519
7563
  }
@@ -7966,8 +8010,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
7966
8010
  }
7967
8011
  try {
7968
8012
  commitHookEffectListUnmount(5, finishedWork, finishedWork.return);
7969
- } catch (error$109) {
7970
- captureCommitPhaseError(finishedWork, finishedWork.return, error$109);
8013
+ } catch (error$110) {
8014
+ captureCommitPhaseError(finishedWork, finishedWork.return, error$110);
7971
8015
  }
7972
8016
  }
7973
8017
  break;
@@ -8140,11 +8184,11 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
8140
8184
  newProps
8141
8185
  );
8142
8186
  domElement[internalPropsKey] = newProps;
8143
- } catch (error$110) {
8187
+ } catch (error$111) {
8144
8188
  captureCommitPhaseError(
8145
8189
  finishedWork,
8146
8190
  finishedWork.return,
8147
- error$110
8191
+ error$111
8148
8192
  );
8149
8193
  }
8150
8194
  break;
@@ -8181,8 +8225,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
8181
8225
  root = finishedWork.stateNode;
8182
8226
  try {
8183
8227
  setTextContent(root, "");
8184
- } catch (error$111) {
8185
- captureCommitPhaseError(finishedWork, finishedWork.return, error$111);
8228
+ } catch (error$112) {
8229
+ captureCommitPhaseError(finishedWork, finishedWork.return, error$112);
8186
8230
  }
8187
8231
  }
8188
8232
  if (flags & 4 && ((root = finishedWork.stateNode), null != root)) {
@@ -8192,8 +8236,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
8192
8236
  try {
8193
8237
  updateProperties(root, maybeNodes, current, hoistableRoot),
8194
8238
  (root[internalPropsKey] = hoistableRoot);
8195
- } catch (error$113) {
8196
- captureCommitPhaseError(finishedWork, finishedWork.return, error$113);
8239
+ } catch (error$114) {
8240
+ captureCommitPhaseError(finishedWork, finishedWork.return, error$114);
8197
8241
  }
8198
8242
  }
8199
8243
  flags & 1024 && (needsFormReset = !0);
@@ -8208,8 +8252,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
8208
8252
  current = finishedWork.memoizedProps;
8209
8253
  try {
8210
8254
  flags.nodeValue = current;
8211
- } catch (error$114) {
8212
- captureCommitPhaseError(finishedWork, finishedWork.return, error$114);
8255
+ } catch (error$115) {
8256
+ captureCommitPhaseError(finishedWork, finishedWork.return, error$115);
8213
8257
  }
8214
8258
  }
8215
8259
  break;
@@ -8223,8 +8267,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
8223
8267
  if (flags & 4 && null !== current && current.memoizedState.isDehydrated)
8224
8268
  try {
8225
8269
  retryIfBlockedOn(root.containerInfo);
8226
- } catch (error$115) {
8227
- captureCommitPhaseError(finishedWork, finishedWork.return, error$115);
8270
+ } catch (error$116) {
8271
+ captureCommitPhaseError(finishedWork, finishedWork.return, error$116);
8228
8272
  }
8229
8273
  needsFormReset &&
8230
8274
  ((needsFormReset = !1), recursivelyResetForms(finishedWork));
@@ -8318,11 +8362,11 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
8318
8362
  if (null === current)
8319
8363
  try {
8320
8364
  root.stateNode.nodeValue = domElement ? "" : root.memoizedProps;
8321
- } catch (error$99) {
8365
+ } catch (error$100) {
8322
8366
  captureCommitPhaseError(
8323
8367
  finishedWork,
8324
8368
  finishedWork.return,
8325
- error$99
8369
+ error$100
8326
8370
  );
8327
8371
  }
8328
8372
  } else if (
@@ -8391,21 +8435,21 @@ function commitReconciliationEffects(finishedWork) {
8391
8435
  insertOrAppendPlacementNode(finishedWork, before, parent$jscomp$0);
8392
8436
  break;
8393
8437
  case 5:
8394
- var parent$100 = JSCompiler_inline_result.stateNode;
8438
+ var parent$101 = JSCompiler_inline_result.stateNode;
8395
8439
  JSCompiler_inline_result.flags & 32 &&
8396
- (setTextContent(parent$100, ""),
8440
+ (setTextContent(parent$101, ""),
8397
8441
  (JSCompiler_inline_result.flags &= -33));
8398
- var before$101 = getHostSibling(finishedWork);
8399
- insertOrAppendPlacementNode(finishedWork, before$101, parent$100);
8442
+ var before$102 = getHostSibling(finishedWork);
8443
+ insertOrAppendPlacementNode(finishedWork, before$102, parent$101);
8400
8444
  break;
8401
8445
  case 3:
8402
8446
  case 4:
8403
- var parent$102 = JSCompiler_inline_result.stateNode.containerInfo,
8404
- before$103 = getHostSibling(finishedWork);
8447
+ var parent$103 = JSCompiler_inline_result.stateNode.containerInfo,
8448
+ before$104 = getHostSibling(finishedWork);
8405
8449
  insertOrAppendPlacementNodeIntoContainer(
8406
8450
  finishedWork,
8407
- before$103,
8408
- parent$102
8451
+ before$104,
8452
+ parent$103
8409
8453
  );
8410
8454
  break;
8411
8455
  default:
@@ -9284,14 +9328,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
9284
9328
  break;
9285
9329
  case "collapsed":
9286
9330
  lastTailNode = renderState.tail;
9287
- for (var lastTailNode$125 = null; null !== lastTailNode; )
9288
- null !== lastTailNode.alternate && (lastTailNode$125 = lastTailNode),
9331
+ for (var lastTailNode$126 = null; null !== lastTailNode; )
9332
+ null !== lastTailNode.alternate && (lastTailNode$126 = lastTailNode),
9289
9333
  (lastTailNode = lastTailNode.sibling);
9290
- null === lastTailNode$125
9334
+ null === lastTailNode$126
9291
9335
  ? hasRenderedATailFallback || null === renderState.tail
9292
9336
  ? (renderState.tail = null)
9293
9337
  : (renderState.tail.sibling = null)
9294
- : (lastTailNode$125.sibling = null);
9338
+ : (lastTailNode$126.sibling = null);
9295
9339
  }
9296
9340
  }
9297
9341
  function bubbleProperties(completedWork) {
@@ -9301,19 +9345,19 @@ function bubbleProperties(completedWork) {
9301
9345
  newChildLanes = 0,
9302
9346
  subtreeFlags = 0;
9303
9347
  if (didBailout)
9304
- for (var child$126 = completedWork.child; null !== child$126; )
9305
- (newChildLanes |= child$126.lanes | child$126.childLanes),
9306
- (subtreeFlags |= child$126.subtreeFlags & 31457280),
9307
- (subtreeFlags |= child$126.flags & 31457280),
9308
- (child$126.return = completedWork),
9309
- (child$126 = child$126.sibling);
9348
+ for (var child$127 = completedWork.child; null !== child$127; )
9349
+ (newChildLanes |= child$127.lanes | child$127.childLanes),
9350
+ (subtreeFlags |= child$127.subtreeFlags & 31457280),
9351
+ (subtreeFlags |= child$127.flags & 31457280),
9352
+ (child$127.return = completedWork),
9353
+ (child$127 = child$127.sibling);
9310
9354
  else
9311
- for (child$126 = completedWork.child; null !== child$126; )
9312
- (newChildLanes |= child$126.lanes | child$126.childLanes),
9313
- (subtreeFlags |= child$126.subtreeFlags),
9314
- (subtreeFlags |= child$126.flags),
9315
- (child$126.return = completedWork),
9316
- (child$126 = child$126.sibling);
9355
+ for (child$127 = completedWork.child; null !== child$127; )
9356
+ (newChildLanes |= child$127.lanes | child$127.childLanes),
9357
+ (subtreeFlags |= child$127.subtreeFlags),
9358
+ (subtreeFlags |= child$127.flags),
9359
+ (child$127.return = completedWork),
9360
+ (child$127 = child$127.sibling);
9317
9361
  completedWork.subtreeFlags |= subtreeFlags;
9318
9362
  completedWork.childLanes = newChildLanes;
9319
9363
  return didBailout;
@@ -9358,31 +9402,31 @@ function completeWork(current, workInProgress, renderLanes) {
9358
9402
  bubbleProperties(workInProgress);
9359
9403
  return null;
9360
9404
  case 26:
9361
- renderLanes = workInProgress.memoizedState;
9362
- if (null === current)
9363
- markUpdate(workInProgress),
9364
- null !== renderLanes
9365
- ? (bubbleProperties(workInProgress),
9405
+ return (
9406
+ (renderLanes = workInProgress.memoizedState),
9407
+ null === current
9408
+ ? (markUpdate(workInProgress),
9409
+ null !== renderLanes
9410
+ ? (bubbleProperties(workInProgress),
9411
+ preloadResourceAndSuspendIfNeeded(workInProgress, renderLanes))
9412
+ : (bubbleProperties(workInProgress),
9413
+ (workInProgress.flags &= -16777217)))
9414
+ : renderLanes
9415
+ ? renderLanes !== current.memoizedState
9416
+ ? (markUpdate(workInProgress),
9417
+ bubbleProperties(workInProgress),
9366
9418
  preloadResourceAndSuspendIfNeeded(workInProgress, renderLanes))
9367
9419
  : (bubbleProperties(workInProgress),
9368
- (workInProgress.flags &= -16777217));
9369
- else {
9370
- var currentResource = current.memoizedState;
9371
- renderLanes !== currentResource && markUpdate(workInProgress);
9372
- null !== renderLanes
9373
- ? (bubbleProperties(workInProgress),
9374
- renderLanes === currentResource
9375
- ? (workInProgress.flags &= -16777217)
9376
- : preloadResourceAndSuspendIfNeeded(workInProgress, renderLanes))
9420
+ (workInProgress.flags &= -16777217))
9377
9421
  : (current.memoizedProps !== newProps && markUpdate(workInProgress),
9378
9422
  bubbleProperties(workInProgress),
9379
- (workInProgress.flags &= -16777217));
9380
- }
9381
- return null;
9423
+ (workInProgress.flags &= -16777217)),
9424
+ null
9425
+ );
9382
9426
  case 27:
9383
9427
  popHostContext(workInProgress);
9384
9428
  renderLanes = rootInstanceStackCursor.current;
9385
- currentResource = workInProgress.type;
9429
+ var type = workInProgress.type;
9386
9430
  if (null !== current && null != workInProgress.stateNode)
9387
9431
  current.memoizedProps !== newProps && markUpdate(workInProgress);
9388
9432
  else {
@@ -9395,11 +9439,7 @@ function completeWork(current, workInProgress, renderLanes) {
9395
9439
  current = contextStackCursor.current;
9396
9440
  popHydrationState(workInProgress)
9397
9441
  ? prepareToHydrateHostInstance(workInProgress, current)
9398
- : ((current = resolveSingletonInstance(
9399
- currentResource,
9400
- newProps,
9401
- renderLanes
9402
- )),
9442
+ : ((current = resolveSingletonInstance(type, newProps, renderLanes)),
9403
9443
  (workInProgress.stateNode = current),
9404
9444
  markUpdate(workInProgress));
9405
9445
  }
@@ -9421,18 +9461,18 @@ function completeWork(current, workInProgress, renderLanes) {
9421
9461
  if (popHydrationState(workInProgress))
9422
9462
  prepareToHydrateHostInstance(workInProgress, current);
9423
9463
  else {
9424
- currentResource = getOwnerDocumentFromRootContainer(
9464
+ type = getOwnerDocumentFromRootContainer(
9425
9465
  rootInstanceStackCursor.current
9426
9466
  );
9427
9467
  switch (current) {
9428
9468
  case 1:
9429
- current = currentResource.createElementNS(
9469
+ current = type.createElementNS(
9430
9470
  "http://www.w3.org/2000/svg",
9431
9471
  renderLanes
9432
9472
  );
9433
9473
  break;
9434
9474
  case 2:
9435
- current = currentResource.createElementNS(
9475
+ current = type.createElementNS(
9436
9476
  "http://www.w3.org/1998/Math/MathML",
9437
9477
  renderLanes
9438
9478
  );
@@ -9440,29 +9480,27 @@ function completeWork(current, workInProgress, renderLanes) {
9440
9480
  default:
9441
9481
  switch (renderLanes) {
9442
9482
  case "svg":
9443
- current = currentResource.createElementNS(
9483
+ current = type.createElementNS(
9444
9484
  "http://www.w3.org/2000/svg",
9445
9485
  renderLanes
9446
9486
  );
9447
9487
  break;
9448
9488
  case "math":
9449
- current = currentResource.createElementNS(
9489
+ current = type.createElementNS(
9450
9490
  "http://www.w3.org/1998/Math/MathML",
9451
9491
  renderLanes
9452
9492
  );
9453
9493
  break;
9454
9494
  case "script":
9455
- current = currentResource.createElement("div");
9495
+ current = type.createElement("div");
9456
9496
  current.innerHTML = "<script>\x3c/script>";
9457
9497
  current = current.removeChild(current.firstChild);
9458
9498
  break;
9459
9499
  case "select":
9460
9500
  current =
9461
9501
  "string" === typeof newProps.is
9462
- ? currentResource.createElement("select", {
9463
- is: newProps.is
9464
- })
9465
- : currentResource.createElement("select");
9502
+ ? type.createElement("select", { is: newProps.is })
9503
+ : type.createElement("select");
9466
9504
  newProps.multiple
9467
9505
  ? (current.multiple = !0)
9468
9506
  : newProps.size && (current.size = newProps.size);
@@ -9470,41 +9508,28 @@ function completeWork(current, workInProgress, renderLanes) {
9470
9508
  default:
9471
9509
  current =
9472
9510
  "string" === typeof newProps.is
9473
- ? currentResource.createElement(renderLanes, {
9474
- is: newProps.is
9475
- })
9476
- : currentResource.createElement(renderLanes);
9511
+ ? type.createElement(renderLanes, { is: newProps.is })
9512
+ : type.createElement(renderLanes);
9477
9513
  }
9478
9514
  }
9479
9515
  current[internalInstanceKey] = workInProgress;
9480
9516
  current[internalPropsKey] = newProps;
9481
- a: for (
9482
- currentResource = workInProgress.child;
9483
- null !== currentResource;
9484
-
9485
- ) {
9486
- if (5 === currentResource.tag || 6 === currentResource.tag)
9487
- current.appendChild(currentResource.stateNode);
9488
- else if (
9489
- 4 !== currentResource.tag &&
9490
- 27 !== currentResource.tag &&
9491
- null !== currentResource.child
9492
- ) {
9493
- currentResource.child.return = currentResource;
9494
- currentResource = currentResource.child;
9517
+ a: for (type = workInProgress.child; null !== type; ) {
9518
+ if (5 === type.tag || 6 === type.tag)
9519
+ current.appendChild(type.stateNode);
9520
+ else if (4 !== type.tag && 27 !== type.tag && null !== type.child) {
9521
+ type.child.return = type;
9522
+ type = type.child;
9495
9523
  continue;
9496
9524
  }
9497
- if (currentResource === workInProgress) break a;
9498
- for (; null === currentResource.sibling; ) {
9499
- if (
9500
- null === currentResource.return ||
9501
- currentResource.return === workInProgress
9502
- )
9525
+ if (type === workInProgress) break a;
9526
+ for (; null === type.sibling; ) {
9527
+ if (null === type.return || type.return === workInProgress)
9503
9528
  break a;
9504
- currentResource = currentResource.return;
9529
+ type = type.return;
9505
9530
  }
9506
- currentResource.sibling.return = currentResource.return;
9507
- currentResource = currentResource.sibling;
9531
+ type.sibling.return = type.return;
9532
+ type = type.sibling;
9508
9533
  }
9509
9534
  workInProgress.stateNode = current;
9510
9535
  a: switch (
@@ -9539,12 +9564,12 @@ function completeWork(current, workInProgress, renderLanes) {
9539
9564
  current = workInProgress.stateNode;
9540
9565
  renderLanes = workInProgress.memoizedProps;
9541
9566
  newProps = null;
9542
- currentResource = hydrationParentFiber;
9543
- if (null !== currentResource)
9544
- switch (currentResource.tag) {
9567
+ type = hydrationParentFiber;
9568
+ if (null !== type)
9569
+ switch (type.tag) {
9545
9570
  case 27:
9546
9571
  case 5:
9547
- newProps = currentResource.memoizedProps;
9572
+ newProps = type.memoizedProps;
9548
9573
  }
9549
9574
  current[internalInstanceKey] = workInProgress;
9550
9575
  current =
@@ -9571,27 +9596,26 @@ function completeWork(current, workInProgress, renderLanes) {
9571
9596
  (null !== current.memoizedState &&
9572
9597
  null !== current.memoizedState.dehydrated)
9573
9598
  ) {
9574
- currentResource = popHydrationState(workInProgress);
9599
+ type = popHydrationState(workInProgress);
9575
9600
  if (null !== newProps && null !== newProps.dehydrated) {
9576
9601
  if (null === current) {
9577
- if (!currentResource) throw Error(formatProdErrorMessage(318));
9578
- currentResource = workInProgress.memoizedState;
9579
- currentResource =
9580
- null !== currentResource ? currentResource.dehydrated : null;
9581
- if (!currentResource) throw Error(formatProdErrorMessage(317));
9582
- currentResource[internalInstanceKey] = workInProgress;
9602
+ if (!type) throw Error(formatProdErrorMessage(318));
9603
+ type = workInProgress.memoizedState;
9604
+ type = null !== type ? type.dehydrated : null;
9605
+ if (!type) throw Error(formatProdErrorMessage(317));
9606
+ type[internalInstanceKey] = workInProgress;
9583
9607
  } else
9584
9608
  resetHydrationState(),
9585
9609
  0 === (workInProgress.flags & 128) &&
9586
9610
  (workInProgress.memoizedState = null),
9587
9611
  (workInProgress.flags |= 4);
9588
9612
  bubbleProperties(workInProgress);
9589
- currentResource = !1;
9613
+ type = !1;
9590
9614
  } else
9591
9615
  null !== hydrationErrors &&
9592
9616
  (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null)),
9593
- (currentResource = !0);
9594
- if (!currentResource) {
9617
+ (type = !0);
9618
+ if (!type) {
9595
9619
  if (workInProgress.flags & 256)
9596
9620
  return popSuspenseHandler(workInProgress), workInProgress;
9597
9621
  popSuspenseHandler(workInProgress);
@@ -9605,16 +9629,16 @@ function completeWork(current, workInProgress, renderLanes) {
9605
9629
  current = null !== current && null !== current.memoizedState;
9606
9630
  if (renderLanes) {
9607
9631
  newProps = workInProgress.child;
9608
- currentResource = null;
9632
+ type = null;
9609
9633
  null !== newProps.alternate &&
9610
9634
  null !== newProps.alternate.memoizedState &&
9611
9635
  null !== newProps.alternate.memoizedState.cachePool &&
9612
- (currentResource = newProps.alternate.memoizedState.cachePool.pool);
9613
- var cache$138 = null;
9636
+ (type = newProps.alternate.memoizedState.cachePool.pool);
9637
+ var cache$139 = null;
9614
9638
  null !== newProps.memoizedState &&
9615
9639
  null !== newProps.memoizedState.cachePool &&
9616
- (cache$138 = newProps.memoizedState.cachePool.pool);
9617
- cache$138 !== currentResource && (newProps.flags |= 2048);
9640
+ (cache$139 = newProps.memoizedState.cachePool.pool);
9641
+ cache$139 !== type && (newProps.flags |= 2048);
9618
9642
  }
9619
9643
  renderLanes !== current &&
9620
9644
  renderLanes &&
@@ -9636,24 +9660,23 @@ function completeWork(current, workInProgress, renderLanes) {
9636
9660
  );
9637
9661
  case 19:
9638
9662
  pop(suspenseStackCursor);
9639
- currentResource = workInProgress.memoizedState;
9640
- if (null === currentResource)
9641
- return bubbleProperties(workInProgress), null;
9663
+ type = workInProgress.memoizedState;
9664
+ if (null === type) return bubbleProperties(workInProgress), null;
9642
9665
  newProps = 0 !== (workInProgress.flags & 128);
9643
- cache$138 = currentResource.rendering;
9644
- if (null === cache$138)
9645
- if (newProps) cutOffTailIfNeeded(currentResource, !1);
9666
+ cache$139 = type.rendering;
9667
+ if (null === cache$139)
9668
+ if (newProps) cutOffTailIfNeeded(type, !1);
9646
9669
  else {
9647
9670
  if (
9648
9671
  0 !== workInProgressRootExitStatus ||
9649
9672
  (null !== current && 0 !== (current.flags & 128))
9650
9673
  )
9651
9674
  for (current = workInProgress.child; null !== current; ) {
9652
- cache$138 = findFirstSuspended(current);
9653
- if (null !== cache$138) {
9675
+ cache$139 = findFirstSuspended(current);
9676
+ if (null !== cache$139) {
9654
9677
  workInProgress.flags |= 128;
9655
- cutOffTailIfNeeded(currentResource, !1);
9656
- current = cache$138.updateQueue;
9678
+ cutOffTailIfNeeded(type, !1);
9679
+ current = cache$139.updateQueue;
9657
9680
  workInProgress.updateQueue = current;
9658
9681
  scheduleRetryEffect(workInProgress, current);
9659
9682
  workInProgress.subtreeFlags = 0;
@@ -9669,52 +9692,52 @@ function completeWork(current, workInProgress, renderLanes) {
9669
9692
  }
9670
9693
  current = current.sibling;
9671
9694
  }
9672
- null !== currentResource.tail &&
9695
+ null !== type.tail &&
9673
9696
  now() > workInProgressRootRenderTargetTime &&
9674
9697
  ((workInProgress.flags |= 128),
9675
9698
  (newProps = !0),
9676
- cutOffTailIfNeeded(currentResource, !1),
9699
+ cutOffTailIfNeeded(type, !1),
9677
9700
  (workInProgress.lanes = 4194304));
9678
9701
  }
9679
9702
  else {
9680
9703
  if (!newProps)
9681
- if (((current = findFirstSuspended(cache$138)), null !== current)) {
9704
+ if (((current = findFirstSuspended(cache$139)), null !== current)) {
9682
9705
  if (
9683
9706
  ((workInProgress.flags |= 128),
9684
9707
  (newProps = !0),
9685
9708
  (current = current.updateQueue),
9686
9709
  (workInProgress.updateQueue = current),
9687
9710
  scheduleRetryEffect(workInProgress, current),
9688
- cutOffTailIfNeeded(currentResource, !0),
9689
- null === currentResource.tail &&
9690
- "hidden" === currentResource.tailMode &&
9691
- !cache$138.alternate &&
9711
+ cutOffTailIfNeeded(type, !0),
9712
+ null === type.tail &&
9713
+ "hidden" === type.tailMode &&
9714
+ !cache$139.alternate &&
9692
9715
  !isHydrating)
9693
9716
  )
9694
9717
  return bubbleProperties(workInProgress), null;
9695
9718
  } else
9696
- 2 * now() - currentResource.renderingStartTime >
9719
+ 2 * now() - type.renderingStartTime >
9697
9720
  workInProgressRootRenderTargetTime &&
9698
9721
  536870912 !== renderLanes &&
9699
9722
  ((workInProgress.flags |= 128),
9700
9723
  (newProps = !0),
9701
- cutOffTailIfNeeded(currentResource, !1),
9724
+ cutOffTailIfNeeded(type, !1),
9702
9725
  (workInProgress.lanes = 4194304));
9703
- currentResource.isBackwards
9704
- ? ((cache$138.sibling = workInProgress.child),
9705
- (workInProgress.child = cache$138))
9706
- : ((current = currentResource.last),
9726
+ type.isBackwards
9727
+ ? ((cache$139.sibling = workInProgress.child),
9728
+ (workInProgress.child = cache$139))
9729
+ : ((current = type.last),
9707
9730
  null !== current
9708
- ? (current.sibling = cache$138)
9709
- : (workInProgress.child = cache$138),
9710
- (currentResource.last = cache$138));
9731
+ ? (current.sibling = cache$139)
9732
+ : (workInProgress.child = cache$139),
9733
+ (type.last = cache$139));
9711
9734
  }
9712
- if (null !== currentResource.tail)
9735
+ if (null !== type.tail)
9713
9736
  return (
9714
- (workInProgress = currentResource.tail),
9715
- (currentResource.rendering = workInProgress),
9716
- (currentResource.tail = workInProgress.sibling),
9717
- (currentResource.renderingStartTime = now()),
9737
+ (workInProgress = type.tail),
9738
+ (type.rendering = workInProgress),
9739
+ (type.tail = workInProgress.sibling),
9740
+ (type.renderingStartTime = now()),
9718
9741
  (workInProgress.sibling = null),
9719
9742
  (current = suspenseStackCursor.current),
9720
9743
  push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),
@@ -10403,8 +10426,8 @@ function renderRootSync(root, lanes) {
10403
10426
  }
10404
10427
  workLoopSync();
10405
10428
  break;
10406
- } catch (thrownValue$153) {
10407
- handleThrow(root, thrownValue$153);
10429
+ } catch (thrownValue$154) {
10430
+ handleThrow(root, thrownValue$154);
10408
10431
  }
10409
10432
  while (1);
10410
10433
  lanes && root.shellSuspendCounter++;
@@ -10513,8 +10536,8 @@ function renderRootConcurrent(root, lanes) {
10513
10536
  }
10514
10537
  workLoopConcurrent();
10515
10538
  break;
10516
- } catch (thrownValue$155) {
10517
- handleThrow(root, thrownValue$155);
10539
+ } catch (thrownValue$156) {
10540
+ handleThrow(root, thrownValue$156);
10518
10541
  }
10519
10542
  while (1);
10520
10543
  resetContextDependencies();
@@ -10772,7 +10795,7 @@ function releaseRootPooledCache(root, remainingLanes) {
10772
10795
  }
10773
10796
  function flushPassiveEffects() {
10774
10797
  if (null !== rootWithPendingPassiveEffects) {
10775
- var root$159 = rootWithPendingPassiveEffects,
10798
+ var root$160 = rootWithPendingPassiveEffects,
10776
10799
  remainingLanes = pendingPassiveEffectsRemainingLanes;
10777
10800
  pendingPassiveEffectsRemainingLanes = 0;
10778
10801
  var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),
@@ -10811,7 +10834,7 @@ function flushPassiveEffects() {
10811
10834
  } finally {
10812
10835
  (ReactDOMSharedInternals.p = previousPriority),
10813
10836
  (ReactSharedInternals.T = prevTransition),
10814
- releaseRootPooledCache(root$159, remainingLanes);
10837
+ releaseRootPooledCache(root$160, remainingLanes);
10815
10838
  }
10816
10839
  }
10817
10840
  return !1;
@@ -10967,18 +10990,18 @@ function flushSyncWorkOnAllRoots() {
10967
10990
  isFlushingWork = !0;
10968
10991
  do {
10969
10992
  var didPerformSomeWork = !1;
10970
- for (var root$161 = firstScheduledRoot; null !== root$161; ) {
10971
- var workInProgressRootRenderLanes$163 = workInProgressRootRenderLanes;
10972
- workInProgressRootRenderLanes$163 = getNextLanes(
10973
- root$161,
10974
- root$161 === workInProgressRoot
10975
- ? workInProgressRootRenderLanes$163
10993
+ for (var root$162 = firstScheduledRoot; null !== root$162; ) {
10994
+ var workInProgressRootRenderLanes$164 = workInProgressRootRenderLanes;
10995
+ workInProgressRootRenderLanes$164 = getNextLanes(
10996
+ root$162,
10997
+ root$162 === workInProgressRoot
10998
+ ? workInProgressRootRenderLanes$164
10976
10999
  : 0
10977
11000
  );
10978
- 0 !== (workInProgressRootRenderLanes$163 & 3) &&
11001
+ 0 !== (workInProgressRootRenderLanes$164 & 3) &&
10979
11002
  ((didPerformSomeWork = !0),
10980
- performSyncWorkOnRoot(root$161, workInProgressRootRenderLanes$163));
10981
- root$161 = root$161.next;
11003
+ performSyncWorkOnRoot(root$162, workInProgressRootRenderLanes$164));
11004
+ root$162 = root$162.next;
10982
11005
  }
10983
11006
  } while (didPerformSomeWork);
10984
11007
  isFlushingWork = !1;
@@ -11189,20 +11212,20 @@ function extractEvents$1(
11189
11212
  }
11190
11213
  }
11191
11214
  for (
11192
- var i$jscomp$inline_1402 = 0;
11193
- i$jscomp$inline_1402 < simpleEventPluginEvents.length;
11194
- i$jscomp$inline_1402++
11215
+ var i$jscomp$inline_1403 = 0;
11216
+ i$jscomp$inline_1403 < simpleEventPluginEvents.length;
11217
+ i$jscomp$inline_1403++
11195
11218
  ) {
11196
- var eventName$jscomp$inline_1403 =
11197
- simpleEventPluginEvents[i$jscomp$inline_1402],
11198
- domEventName$jscomp$inline_1404 =
11199
- eventName$jscomp$inline_1403.toLowerCase(),
11200
- capitalizedEvent$jscomp$inline_1405 =
11201
- eventName$jscomp$inline_1403[0].toUpperCase() +
11202
- eventName$jscomp$inline_1403.slice(1);
11219
+ var eventName$jscomp$inline_1404 =
11220
+ simpleEventPluginEvents[i$jscomp$inline_1403],
11221
+ domEventName$jscomp$inline_1405 =
11222
+ eventName$jscomp$inline_1404.toLowerCase(),
11223
+ capitalizedEvent$jscomp$inline_1406 =
11224
+ eventName$jscomp$inline_1404[0].toUpperCase() +
11225
+ eventName$jscomp$inline_1404.slice(1);
11203
11226
  registerSimpleEvent(
11204
- domEventName$jscomp$inline_1404,
11205
- "on" + capitalizedEvent$jscomp$inline_1405
11227
+ domEventName$jscomp$inline_1405,
11228
+ "on" + capitalizedEvent$jscomp$inline_1406
11206
11229
  );
11207
11230
  }
11208
11231
  registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -12574,14 +12597,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
12574
12597
  setProp(domElement, tag, propKey, null, nextProps, lastProp);
12575
12598
  }
12576
12599
  }
12577
- for (var propKey$189 in nextProps) {
12578
- var propKey = nextProps[propKey$189];
12579
- lastProp = lastProps[propKey$189];
12600
+ for (var propKey$190 in nextProps) {
12601
+ var propKey = nextProps[propKey$190];
12602
+ lastProp = lastProps[propKey$190];
12580
12603
  if (
12581
- nextProps.hasOwnProperty(propKey$189) &&
12604
+ nextProps.hasOwnProperty(propKey$190) &&
12582
12605
  (null != propKey || null != lastProp)
12583
12606
  )
12584
- switch (propKey$189) {
12607
+ switch (propKey$190) {
12585
12608
  case "type":
12586
12609
  type = propKey;
12587
12610
  break;
@@ -12610,7 +12633,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
12610
12633
  setProp(
12611
12634
  domElement,
12612
12635
  tag,
12613
- propKey$189,
12636
+ propKey$190,
12614
12637
  propKey,
12615
12638
  nextProps,
12616
12639
  lastProp
@@ -12629,7 +12652,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
12629
12652
  );
12630
12653
  return;
12631
12654
  case "select":
12632
- propKey = value = defaultValue = propKey$189 = null;
12655
+ propKey = value = defaultValue = propKey$190 = null;
12633
12656
  for (type in lastProps)
12634
12657
  if (
12635
12658
  ((lastDefaultValue = lastProps[type]),
@@ -12660,7 +12683,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
12660
12683
  )
12661
12684
  switch (name) {
12662
12685
  case "value":
12663
- propKey$189 = type;
12686
+ propKey$190 = type;
12664
12687
  break;
12665
12688
  case "defaultValue":
12666
12689
  defaultValue = type;
@@ -12681,15 +12704,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
12681
12704
  tag = defaultValue;
12682
12705
  lastProps = value;
12683
12706
  nextProps = propKey;
12684
- null != propKey$189
12685
- ? updateOptions(domElement, !!lastProps, propKey$189, !1)
12707
+ null != propKey$190
12708
+ ? updateOptions(domElement, !!lastProps, propKey$190, !1)
12686
12709
  : !!nextProps !== !!lastProps &&
12687
12710
  (null != tag
12688
12711
  ? updateOptions(domElement, !!lastProps, tag, !0)
12689
12712
  : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
12690
12713
  return;
12691
12714
  case "textarea":
12692
- propKey = propKey$189 = null;
12715
+ propKey = propKey$190 = null;
12693
12716
  for (defaultValue in lastProps)
12694
12717
  if (
12695
12718
  ((name = lastProps[defaultValue]),
@@ -12713,7 +12736,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
12713
12736
  )
12714
12737
  switch (value) {
12715
12738
  case "value":
12716
- propKey$189 = name;
12739
+ propKey$190 = name;
12717
12740
  break;
12718
12741
  case "defaultValue":
12719
12742
  propKey = name;
@@ -12727,17 +12750,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
12727
12750
  name !== type &&
12728
12751
  setProp(domElement, tag, value, name, nextProps, type);
12729
12752
  }
12730
- updateTextarea(domElement, propKey$189, propKey);
12753
+ updateTextarea(domElement, propKey$190, propKey);
12731
12754
  return;
12732
12755
  case "option":
12733
- for (var propKey$205 in lastProps)
12756
+ for (var propKey$206 in lastProps)
12734
12757
  if (
12735
- ((propKey$189 = lastProps[propKey$205]),
12736
- lastProps.hasOwnProperty(propKey$205) &&
12737
- null != propKey$189 &&
12738
- !nextProps.hasOwnProperty(propKey$205))
12758
+ ((propKey$190 = lastProps[propKey$206]),
12759
+ lastProps.hasOwnProperty(propKey$206) &&
12760
+ null != propKey$190 &&
12761
+ !nextProps.hasOwnProperty(propKey$206))
12739
12762
  )
12740
- switch (propKey$205) {
12763
+ switch (propKey$206) {
12741
12764
  case "selected":
12742
12765
  domElement.selected = !1;
12743
12766
  break;
@@ -12745,33 +12768,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
12745
12768
  setProp(
12746
12769
  domElement,
12747
12770
  tag,
12748
- propKey$205,
12771
+ propKey$206,
12749
12772
  null,
12750
12773
  nextProps,
12751
- propKey$189
12774
+ propKey$190
12752
12775
  );
12753
12776
  }
12754
12777
  for (lastDefaultValue in nextProps)
12755
12778
  if (
12756
- ((propKey$189 = nextProps[lastDefaultValue]),
12779
+ ((propKey$190 = nextProps[lastDefaultValue]),
12757
12780
  (propKey = lastProps[lastDefaultValue]),
12758
12781
  nextProps.hasOwnProperty(lastDefaultValue) &&
12759
- propKey$189 !== propKey &&
12760
- (null != propKey$189 || null != propKey))
12782
+ propKey$190 !== propKey &&
12783
+ (null != propKey$190 || null != propKey))
12761
12784
  )
12762
12785
  switch (lastDefaultValue) {
12763
12786
  case "selected":
12764
12787
  domElement.selected =
12765
- propKey$189 &&
12766
- "function" !== typeof propKey$189 &&
12767
- "symbol" !== typeof propKey$189;
12788
+ propKey$190 &&
12789
+ "function" !== typeof propKey$190 &&
12790
+ "symbol" !== typeof propKey$190;
12768
12791
  break;
12769
12792
  default:
12770
12793
  setProp(
12771
12794
  domElement,
12772
12795
  tag,
12773
12796
  lastDefaultValue,
12774
- propKey$189,
12797
+ propKey$190,
12775
12798
  nextProps,
12776
12799
  propKey
12777
12800
  );
@@ -12792,24 +12815,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
12792
12815
  case "track":
12793
12816
  case "wbr":
12794
12817
  case "menuitem":
12795
- for (var propKey$210 in lastProps)
12796
- (propKey$189 = lastProps[propKey$210]),
12797
- lastProps.hasOwnProperty(propKey$210) &&
12798
- null != propKey$189 &&
12799
- !nextProps.hasOwnProperty(propKey$210) &&
12800
- setProp(domElement, tag, propKey$210, null, nextProps, propKey$189);
12818
+ for (var propKey$211 in lastProps)
12819
+ (propKey$190 = lastProps[propKey$211]),
12820
+ lastProps.hasOwnProperty(propKey$211) &&
12821
+ null != propKey$190 &&
12822
+ !nextProps.hasOwnProperty(propKey$211) &&
12823
+ setProp(domElement, tag, propKey$211, null, nextProps, propKey$190);
12801
12824
  for (checked in nextProps)
12802
12825
  if (
12803
- ((propKey$189 = nextProps[checked]),
12826
+ ((propKey$190 = nextProps[checked]),
12804
12827
  (propKey = lastProps[checked]),
12805
12828
  nextProps.hasOwnProperty(checked) &&
12806
- propKey$189 !== propKey &&
12807
- (null != propKey$189 || null != propKey))
12829
+ propKey$190 !== propKey &&
12830
+ (null != propKey$190 || null != propKey))
12808
12831
  )
12809
12832
  switch (checked) {
12810
12833
  case "children":
12811
12834
  case "dangerouslySetInnerHTML":
12812
- if (null != propKey$189)
12835
+ if (null != propKey$190)
12813
12836
  throw Error(formatProdErrorMessage(137, tag));
12814
12837
  break;
12815
12838
  default:
@@ -12817,7 +12840,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
12817
12840
  domElement,
12818
12841
  tag,
12819
12842
  checked,
12820
- propKey$189,
12843
+ propKey$190,
12821
12844
  nextProps,
12822
12845
  propKey
12823
12846
  );
@@ -12825,49 +12848,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
12825
12848
  return;
12826
12849
  default:
12827
12850
  if (isCustomElement(tag)) {
12828
- for (var propKey$215 in lastProps)
12829
- (propKey$189 = lastProps[propKey$215]),
12830
- lastProps.hasOwnProperty(propKey$215) &&
12831
- void 0 !== propKey$189 &&
12832
- !nextProps.hasOwnProperty(propKey$215) &&
12851
+ for (var propKey$216 in lastProps)
12852
+ (propKey$190 = lastProps[propKey$216]),
12853
+ lastProps.hasOwnProperty(propKey$216) &&
12854
+ void 0 !== propKey$190 &&
12855
+ !nextProps.hasOwnProperty(propKey$216) &&
12833
12856
  setPropOnCustomElement(
12834
12857
  domElement,
12835
12858
  tag,
12836
- propKey$215,
12859
+ propKey$216,
12837
12860
  void 0,
12838
12861
  nextProps,
12839
- propKey$189
12862
+ propKey$190
12840
12863
  );
12841
12864
  for (defaultChecked in nextProps)
12842
- (propKey$189 = nextProps[defaultChecked]),
12865
+ (propKey$190 = nextProps[defaultChecked]),
12843
12866
  (propKey = lastProps[defaultChecked]),
12844
12867
  !nextProps.hasOwnProperty(defaultChecked) ||
12845
- propKey$189 === propKey ||
12846
- (void 0 === propKey$189 && void 0 === propKey) ||
12868
+ propKey$190 === propKey ||
12869
+ (void 0 === propKey$190 && void 0 === propKey) ||
12847
12870
  setPropOnCustomElement(
12848
12871
  domElement,
12849
12872
  tag,
12850
12873
  defaultChecked,
12851
- propKey$189,
12874
+ propKey$190,
12852
12875
  nextProps,
12853
12876
  propKey
12854
12877
  );
12855
12878
  return;
12856
12879
  }
12857
12880
  }
12858
- for (var propKey$220 in lastProps)
12859
- (propKey$189 = lastProps[propKey$220]),
12860
- lastProps.hasOwnProperty(propKey$220) &&
12861
- null != propKey$189 &&
12862
- !nextProps.hasOwnProperty(propKey$220) &&
12863
- setProp(domElement, tag, propKey$220, null, nextProps, propKey$189);
12881
+ for (var propKey$221 in lastProps)
12882
+ (propKey$190 = lastProps[propKey$221]),
12883
+ lastProps.hasOwnProperty(propKey$221) &&
12884
+ null != propKey$190 &&
12885
+ !nextProps.hasOwnProperty(propKey$221) &&
12886
+ setProp(domElement, tag, propKey$221, null, nextProps, propKey$190);
12864
12887
  for (lastProp in nextProps)
12865
- (propKey$189 = nextProps[lastProp]),
12888
+ (propKey$190 = nextProps[lastProp]),
12866
12889
  (propKey = lastProps[lastProp]),
12867
12890
  !nextProps.hasOwnProperty(lastProp) ||
12868
- propKey$189 === propKey ||
12869
- (null == propKey$189 && null == propKey) ||
12870
- setProp(domElement, tag, lastProp, propKey$189, nextProps, propKey);
12891
+ propKey$190 === propKey ||
12892
+ (null == propKey$190 && null == propKey) ||
12893
+ setProp(domElement, tag, lastProp, propKey$190, nextProps, propKey);
12871
12894
  }
12872
12895
  var eventsEnabled = null,
12873
12896
  selectionInformation = null;
@@ -13377,11 +13400,12 @@ function preinitModuleScript(src, options) {
13377
13400
  scripts.set(key, resource));
13378
13401
  }
13379
13402
  }
13380
- function getResource(type, currentProps, pendingProps) {
13381
- currentProps = (currentProps = rootInstanceStackCursor.current)
13382
- ? getHoistableRoot(currentProps)
13403
+ function getResource(type, currentProps, pendingProps, currentResource) {
13404
+ var JSCompiler_inline_result = (JSCompiler_inline_result =
13405
+ rootInstanceStackCursor.current)
13406
+ ? getHoistableRoot(JSCompiler_inline_result)
13383
13407
  : null;
13384
- if (!currentProps) throw Error(formatProdErrorMessage(446));
13408
+ if (!JSCompiler_inline_result) throw Error(formatProdErrorMessage(446));
13385
13409
  switch (type) {
13386
13410
  case "meta":
13387
13411
  case "title":
@@ -13390,12 +13414,19 @@ function getResource(type, currentProps, pendingProps) {
13390
13414
  return "string" === typeof pendingProps.precedence &&
13391
13415
  "string" === typeof pendingProps.href
13392
13416
  ? ((pendingProps = getStyleKey(pendingProps.href)),
13393
- (currentProps = getResourcesFromRoot(currentProps).hoistableStyles),
13394
- (type = currentProps.get(pendingProps)),
13395
- type ||
13396
- ((type = { type: "style", instance: null, count: 0, state: null }),
13397
- currentProps.set(pendingProps, type)),
13398
- type)
13417
+ (JSCompiler_inline_result = getResourcesFromRoot(
13418
+ JSCompiler_inline_result
13419
+ ).hoistableStyles),
13420
+ (currentProps = JSCompiler_inline_result.get(pendingProps)),
13421
+ currentProps ||
13422
+ ((currentProps = {
13423
+ type: "style",
13424
+ instance: null,
13425
+ count: 0,
13426
+ state: null
13427
+ }),
13428
+ JSCompiler_inline_result.set(pendingProps, currentProps)),
13429
+ currentProps)
13399
13430
  : { type: "void", instance: null, count: 0, state: null };
13400
13431
  case "link":
13401
13432
  if (
@@ -13404,20 +13435,23 @@ function getResource(type, currentProps, pendingProps) {
13404
13435
  "string" === typeof pendingProps.precedence
13405
13436
  ) {
13406
13437
  type = getStyleKey(pendingProps.href);
13407
- var styles$228 = getResourcesFromRoot(currentProps).hoistableStyles,
13408
- resource$229 = styles$228.get(type);
13409
- resource$229 ||
13410
- ((currentProps = currentProps.ownerDocument || currentProps),
13411
- (resource$229 = {
13438
+ var styles$229 = getResourcesFromRoot(
13439
+ JSCompiler_inline_result
13440
+ ).hoistableStyles,
13441
+ resource$230 = styles$229.get(type);
13442
+ resource$230 ||
13443
+ ((JSCompiler_inline_result =
13444
+ JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
13445
+ (resource$230 = {
13412
13446
  type: "stylesheet",
13413
13447
  instance: null,
13414
13448
  count: 0,
13415
13449
  state: { loading: 0, preload: null }
13416
13450
  }),
13417
- styles$228.set(type, resource$229),
13451
+ styles$229.set(type, resource$230),
13418
13452
  preloadPropsMap.has(type) ||
13419
13453
  preloadStylesheet(
13420
- currentProps,
13454
+ JSCompiler_inline_result,
13421
13455
  type,
13422
13456
  {
13423
13457
  rel: "preload",
@@ -13429,32 +13463,37 @@ function getResource(type, currentProps, pendingProps) {
13429
13463
  hrefLang: pendingProps.hrefLang,
13430
13464
  referrerPolicy: pendingProps.referrerPolicy
13431
13465
  },
13432
- resource$229.state
13466
+ resource$230.state
13433
13467
  ));
13434
- return resource$229;
13468
+ if (currentProps && null === currentResource)
13469
+ throw Error(formatProdErrorMessage(528, ""));
13470
+ return resource$230;
13435
13471
  }
13472
+ if (currentProps && null !== currentResource)
13473
+ throw Error(formatProdErrorMessage(529, ""));
13436
13474
  return null;
13437
13475
  case "script":
13438
13476
  return (
13439
- (type = pendingProps.async),
13477
+ (currentProps = pendingProps.async),
13440
13478
  (pendingProps = pendingProps.src),
13441
13479
  "string" === typeof pendingProps &&
13442
- type &&
13443
- "function" !== typeof type &&
13444
- "symbol" !== typeof type
13480
+ currentProps &&
13481
+ "function" !== typeof currentProps &&
13482
+ "symbol" !== typeof currentProps
13445
13483
  ? ((pendingProps = getScriptKey(pendingProps)),
13446
- (currentProps =
13447
- getResourcesFromRoot(currentProps).hoistableScripts),
13448
- (type = currentProps.get(pendingProps)),
13449
- type ||
13450
- ((type = {
13484
+ (JSCompiler_inline_result = getResourcesFromRoot(
13485
+ JSCompiler_inline_result
13486
+ ).hoistableScripts),
13487
+ (currentProps = JSCompiler_inline_result.get(pendingProps)),
13488
+ currentProps ||
13489
+ ((currentProps = {
13451
13490
  type: "script",
13452
13491
  instance: null,
13453
13492
  count: 0,
13454
13493
  state: null
13455
13494
  }),
13456
- currentProps.set(pendingProps, type)),
13457
- type)
13495
+ JSCompiler_inline_result.set(pendingProps, currentProps)),
13496
+ currentProps)
13458
13497
  : { type: "void", instance: null, count: 0, state: null }
13459
13498
  );
13460
13499
  default:
@@ -13527,37 +13566,37 @@ function acquireResource(hoistableRoot, resource, props) {
13527
13566
  return (resource.instance = instance);
13528
13567
  case "stylesheet":
13529
13568
  styleProps = getStyleKey(props.href);
13530
- var instance$233 = hoistableRoot.querySelector(
13569
+ var instance$235 = hoistableRoot.querySelector(
13531
13570
  getStylesheetSelectorFromKey(styleProps)
13532
13571
  );
13533
- if (instance$233)
13572
+ if (instance$235)
13534
13573
  return (
13535
13574
  (resource.state.loading |= 4),
13536
- (resource.instance = instance$233),
13537
- markNodeAsHoistable(instance$233),
13538
- instance$233
13575
+ (resource.instance = instance$235),
13576
+ markNodeAsHoistable(instance$235),
13577
+ instance$235
13539
13578
  );
13540
13579
  instance = stylesheetPropsFromRawProps(props);
13541
13580
  (styleProps = preloadPropsMap.get(styleProps)) &&
13542
13581
  adoptPreloadPropsForStylesheet(instance, styleProps);
13543
- instance$233 = (
13582
+ instance$235 = (
13544
13583
  hoistableRoot.ownerDocument || hoistableRoot
13545
13584
  ).createElement("link");
13546
- markNodeAsHoistable(instance$233);
13547
- var linkInstance = instance$233;
13585
+ markNodeAsHoistable(instance$235);
13586
+ var linkInstance = instance$235;
13548
13587
  linkInstance._p = new Promise(function (resolve, reject) {
13549
13588
  linkInstance.onload = resolve;
13550
13589
  linkInstance.onerror = reject;
13551
13590
  });
13552
- setInitialProperties(instance$233, "link", instance);
13591
+ setInitialProperties(instance$235, "link", instance);
13553
13592
  resource.state.loading |= 4;
13554
- insertStylesheet(instance$233, props.precedence, hoistableRoot);
13555
- return (resource.instance = instance$233);
13593
+ insertStylesheet(instance$235, props.precedence, hoistableRoot);
13594
+ return (resource.instance = instance$235);
13556
13595
  case "script":
13557
- instance$233 = getScriptKey(props.src);
13596
+ instance$235 = getScriptKey(props.src);
13558
13597
  if (
13559
13598
  (styleProps = hoistableRoot.querySelector(
13560
- getScriptSelectorFromKey(instance$233)
13599
+ getScriptSelectorFromKey(instance$235)
13561
13600
  ))
13562
13601
  )
13563
13602
  return (
@@ -13566,7 +13605,7 @@ function acquireResource(hoistableRoot, resource, props) {
13566
13605
  styleProps
13567
13606
  );
13568
13607
  instance = props;
13569
- if ((styleProps = preloadPropsMap.get(instance$233)))
13608
+ if ((styleProps = preloadPropsMap.get(instance$235)))
13570
13609
  (instance = assign({}, props)),
13571
13610
  adoptPreloadPropsForScript(instance, styleProps);
13572
13611
  hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
@@ -14585,16 +14624,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
14585
14624
  0 === i && attemptExplicitHydrationTarget(target);
14586
14625
  }
14587
14626
  };
14588
- var isomorphicReactPackageVersion$jscomp$inline_1650 = React.version;
14627
+ var isomorphicReactPackageVersion$jscomp$inline_1651 = React.version;
14589
14628
  if (
14590
- "19.0.0-rc-6d3110b4d9-20240531" !==
14591
- isomorphicReactPackageVersion$jscomp$inline_1650
14629
+ "19.0.0-rc-9598c41a20-20240603" !==
14630
+ isomorphicReactPackageVersion$jscomp$inline_1651
14592
14631
  )
14593
14632
  throw Error(
14594
14633
  formatProdErrorMessage(
14595
14634
  527,
14596
- isomorphicReactPackageVersion$jscomp$inline_1650,
14597
- "19.0.0-rc-6d3110b4d9-20240531"
14635
+ isomorphicReactPackageVersion$jscomp$inline_1651,
14636
+ "19.0.0-rc-9598c41a20-20240603"
14598
14637
  )
14599
14638
  );
14600
14639
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -14610,17 +14649,17 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
14610
14649
  null === componentOrElement ? null : componentOrElement.stateNode;
14611
14650
  return componentOrElement;
14612
14651
  };
14613
- var devToolsConfig$jscomp$inline_1657 = {
14652
+ var devToolsConfig$jscomp$inline_1658 = {
14614
14653
  findFiberByHostInstance: getClosestInstanceFromNode,
14615
14654
  bundleType: 0,
14616
- version: "19.0.0-rc-6d3110b4d9-20240531",
14655
+ version: "19.0.0-rc-9598c41a20-20240603",
14617
14656
  rendererPackageName: "react-dom"
14618
14657
  };
14619
- var internals$jscomp$inline_2035 = {
14620
- bundleType: devToolsConfig$jscomp$inline_1657.bundleType,
14621
- version: devToolsConfig$jscomp$inline_1657.version,
14622
- rendererPackageName: devToolsConfig$jscomp$inline_1657.rendererPackageName,
14623
- rendererConfig: devToolsConfig$jscomp$inline_1657.rendererConfig,
14658
+ var internals$jscomp$inline_2036 = {
14659
+ bundleType: devToolsConfig$jscomp$inline_1658.bundleType,
14660
+ version: devToolsConfig$jscomp$inline_1658.version,
14661
+ rendererPackageName: devToolsConfig$jscomp$inline_1658.rendererPackageName,
14662
+ rendererConfig: devToolsConfig$jscomp$inline_1658.rendererConfig,
14624
14663
  overrideHookState: null,
14625
14664
  overrideHookStateDeletePath: null,
14626
14665
  overrideHookStateRenamePath: null,
@@ -14636,26 +14675,26 @@ var internals$jscomp$inline_2035 = {
14636
14675
  return null === fiber ? null : fiber.stateNode;
14637
14676
  },
14638
14677
  findFiberByHostInstance:
14639
- devToolsConfig$jscomp$inline_1657.findFiberByHostInstance ||
14678
+ devToolsConfig$jscomp$inline_1658.findFiberByHostInstance ||
14640
14679
  emptyFindFiberByHostInstance,
14641
14680
  findHostInstancesForRefresh: null,
14642
14681
  scheduleRefresh: null,
14643
14682
  scheduleRoot: null,
14644
14683
  setRefreshHandler: null,
14645
14684
  getCurrentFiber: null,
14646
- reconcilerVersion: "19.0.0-rc-6d3110b4d9-20240531"
14685
+ reconcilerVersion: "19.0.0-rc-9598c41a20-20240603"
14647
14686
  };
14648
14687
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
14649
- var hook$jscomp$inline_2036 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
14688
+ var hook$jscomp$inline_2037 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
14650
14689
  if (
14651
- !hook$jscomp$inline_2036.isDisabled &&
14652
- hook$jscomp$inline_2036.supportsFiber
14690
+ !hook$jscomp$inline_2037.isDisabled &&
14691
+ hook$jscomp$inline_2037.supportsFiber
14653
14692
  )
14654
14693
  try {
14655
- (rendererID = hook$jscomp$inline_2036.inject(
14656
- internals$jscomp$inline_2035
14694
+ (rendererID = hook$jscomp$inline_2037.inject(
14695
+ internals$jscomp$inline_2036
14657
14696
  )),
14658
- (injectedHook = hook$jscomp$inline_2036);
14697
+ (injectedHook = hook$jscomp$inline_2037);
14659
14698
  } catch (err) {}
14660
14699
  }
14661
14700
  exports.createRoot = function (container, options) {
@@ -14749,4 +14788,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
14749
14788
  listenToAllSupportedEvents(container);
14750
14789
  return new ReactDOMHydrationRoot(initialChildren);
14751
14790
  };
14752
- exports.version = "19.0.0-rc-6d3110b4d9-20240531";
14791
+ exports.version = "19.0.0-rc-9598c41a20-20240603";