react-dom 19.2.0-canary-3fbfb9ba-20250409 → 19.2.0-canary-1d6c8168-20250411

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.
@@ -2098,19 +2098,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
2098
2098
  }
2099
2099
  var isInputEventSupported = !1;
2100
2100
  if (canUseDOM) {
2101
- var JSCompiler_inline_result$jscomp$300;
2101
+ var JSCompiler_inline_result$jscomp$302;
2102
2102
  if (canUseDOM) {
2103
- var isSupported$jscomp$inline_438 = "oninput" in document;
2104
- if (!isSupported$jscomp$inline_438) {
2105
- var element$jscomp$inline_439 = document.createElement("div");
2106
- element$jscomp$inline_439.setAttribute("oninput", "return;");
2107
- isSupported$jscomp$inline_438 =
2108
- "function" === typeof element$jscomp$inline_439.oninput;
2103
+ var isSupported$jscomp$inline_441 = "oninput" in document;
2104
+ if (!isSupported$jscomp$inline_441) {
2105
+ var element$jscomp$inline_442 = document.createElement("div");
2106
+ element$jscomp$inline_442.setAttribute("oninput", "return;");
2107
+ isSupported$jscomp$inline_441 =
2108
+ "function" === typeof element$jscomp$inline_442.oninput;
2109
2109
  }
2110
- JSCompiler_inline_result$jscomp$300 = isSupported$jscomp$inline_438;
2111
- } else JSCompiler_inline_result$jscomp$300 = !1;
2110
+ JSCompiler_inline_result$jscomp$302 = isSupported$jscomp$inline_441;
2111
+ } else JSCompiler_inline_result$jscomp$302 = !1;
2112
2112
  isInputEventSupported =
2113
- JSCompiler_inline_result$jscomp$300 &&
2113
+ JSCompiler_inline_result$jscomp$302 &&
2114
2114
  (!document.documentMode || 9 < document.documentMode);
2115
2115
  }
2116
2116
  function stopWatchingForValueChange() {
@@ -6324,9 +6324,13 @@ function updateSimpleMemoComponent(
6324
6324
  renderLanes
6325
6325
  );
6326
6326
  }
6327
- function updateOffscreenComponent(current, workInProgress, renderLanes) {
6328
- var nextProps = workInProgress.pendingProps,
6329
- nextChildren = nextProps.children,
6327
+ function updateOffscreenComponent(
6328
+ current,
6329
+ workInProgress,
6330
+ renderLanes,
6331
+ nextProps
6332
+ ) {
6333
+ var nextChildren = nextProps.children,
6330
6334
  prevState = null !== current ? current.memoizedState : null;
6331
6335
  if ("hidden" === nextProps.mode) {
6332
6336
  if (0 !== (workInProgress.flags & 128)) {
@@ -6783,108 +6787,77 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
6783
6787
  showFallback
6784
6788
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
6785
6789
  : reuseSuspenseHandlerOnStack(workInProgress);
6786
- if (isHydrating) {
6787
- var nextInstance = nextHydratableInstance,
6788
- JSCompiler_temp$jscomp$0;
6789
- if ((JSCompiler_temp$jscomp$0 = nextInstance)) {
6790
- c: {
6791
- JSCompiler_temp$jscomp$0 = nextInstance;
6792
- for (
6793
- nextInstance = rootOrSingletonContext;
6794
- 8 !== JSCompiler_temp$jscomp$0.nodeType;
6795
-
6796
- ) {
6797
- if (!nextInstance) {
6798
- nextInstance = null;
6799
- break c;
6800
- }
6801
- JSCompiler_temp$jscomp$0 = getNextHydratable(
6802
- JSCompiler_temp$jscomp$0.nextSibling
6803
- );
6804
- if (null === JSCompiler_temp$jscomp$0) {
6805
- nextInstance = null;
6806
- break c;
6807
- }
6790
+ if ((current = nextHydratableInstance)) {
6791
+ a: {
6792
+ renderLanes = current;
6793
+ for (current = rootOrSingletonContext; 8 !== renderLanes.nodeType; ) {
6794
+ if (!current) {
6795
+ current = null;
6796
+ break a;
6797
+ }
6798
+ renderLanes = getNextHydratable(renderLanes.nextSibling);
6799
+ if (null === renderLanes) {
6800
+ current = null;
6801
+ break a;
6808
6802
  }
6809
- nextInstance = JSCompiler_temp$jscomp$0;
6810
6803
  }
6811
- null !== nextInstance
6812
- ? ((workInProgress.memoizedState = {
6813
- dehydrated: nextInstance,
6814
- treeContext:
6815
- null !== treeContextProvider
6816
- ? { id: treeContextId, overflow: treeContextOverflow }
6817
- : null,
6818
- retryLane: 536870912,
6819
- hydrationErrors: null
6820
- }),
6821
- (JSCompiler_temp$jscomp$0 = createFiberImplClass(
6822
- 18,
6823
- null,
6824
- null,
6825
- 0
6826
- )),
6827
- (JSCompiler_temp$jscomp$0.stateNode = nextInstance),
6828
- (JSCompiler_temp$jscomp$0.return = workInProgress),
6829
- (workInProgress.child = JSCompiler_temp$jscomp$0),
6830
- (hydrationParentFiber = workInProgress),
6831
- (nextHydratableInstance = null),
6832
- (JSCompiler_temp$jscomp$0 = !0))
6833
- : (JSCompiler_temp$jscomp$0 = !1);
6804
+ current = renderLanes;
6834
6805
  }
6835
- JSCompiler_temp$jscomp$0 || throwOnHydrationMismatch(workInProgress);
6836
- }
6837
- nextInstance = workInProgress.memoizedState;
6838
- if (
6839
- null !== nextInstance &&
6840
- ((nextInstance = nextInstance.dehydrated), null !== nextInstance)
6841
- )
6842
- return (
6843
- isSuspenseInstanceFallback(nextInstance)
6844
- ? (workInProgress.lanes = 32)
6845
- : (workInProgress.lanes = 536870912),
6846
- null
6847
- );
6848
- popSuspenseHandler(workInProgress);
6806
+ null !== current &&
6807
+ ((workInProgress.memoizedState = {
6808
+ dehydrated: current,
6809
+ treeContext:
6810
+ null !== treeContextProvider
6811
+ ? { id: treeContextId, overflow: treeContextOverflow }
6812
+ : null,
6813
+ retryLane: 536870912,
6814
+ hydrationErrors: null
6815
+ }),
6816
+ (renderLanes = createFiberImplClass(18, null, null, 0)),
6817
+ (renderLanes.stateNode = current),
6818
+ (renderLanes.return = workInProgress),
6819
+ (workInProgress.child = renderLanes),
6820
+ (hydrationParentFiber = workInProgress),
6821
+ (nextHydratableInstance = null));
6822
+ } else current = null;
6823
+ if (null === current) throw throwOnHydrationMismatch(workInProgress);
6824
+ isSuspenseInstanceFallback(current)
6825
+ ? (workInProgress.lanes = 32)
6826
+ : (workInProgress.lanes = 536870912);
6827
+ return null;
6849
6828
  }
6850
- nextInstance = nextProps.children;
6829
+ var nextPrimaryChildren = nextProps.children;
6851
6830
  nextProps = nextProps.fallback;
6852
- if (showFallback)
6853
- return (
6854
- reuseSuspenseHandlerOnStack(workInProgress),
6855
- (showFallback = workInProgress.mode),
6856
- (nextInstance = mountWorkInProgressOffscreenFiber(
6857
- { mode: "hidden", children: nextInstance },
6858
- showFallback
6859
- )),
6860
- (nextProps = createFiberFromFragment(
6861
- nextProps,
6862
- showFallback,
6863
- renderLanes,
6864
- null
6865
- )),
6866
- (nextInstance.return = workInProgress),
6867
- (nextProps.return = workInProgress),
6868
- (nextInstance.sibling = nextProps),
6869
- (workInProgress.child = nextInstance),
6870
- (showFallback = workInProgress.child),
6871
- (showFallback.memoizedState = mountSuspenseOffscreenState(renderLanes)),
6872
- (showFallback.childLanes = getRemainingWorkInPrimaryTree(
6873
- current,
6874
- JSCompiler_temp,
6875
- renderLanes
6876
- )),
6877
- (workInProgress.memoizedState = SUSPENDED_MARKER),
6878
- nextProps
6831
+ if (showFallback) {
6832
+ reuseSuspenseHandlerOnStack(workInProgress);
6833
+ var mode = workInProgress.mode;
6834
+ nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
6835
+ { mode: "hidden", children: nextPrimaryChildren },
6836
+ mode
6879
6837
  );
6838
+ nextProps = createFiberFromFragment(nextProps, mode, renderLanes, null);
6839
+ nextPrimaryChildren.return = workInProgress;
6840
+ nextProps.return = workInProgress;
6841
+ nextPrimaryChildren.sibling = nextProps;
6842
+ workInProgress.child = nextPrimaryChildren;
6843
+ nextPrimaryChildren = workInProgress.child;
6844
+ nextPrimaryChildren.memoizedState =
6845
+ mountSuspenseOffscreenState(renderLanes);
6846
+ nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
6847
+ current,
6848
+ JSCompiler_temp,
6849
+ renderLanes
6850
+ );
6851
+ workInProgress.memoizedState = SUSPENDED_MARKER;
6852
+ return nextProps;
6853
+ }
6880
6854
  pushPrimaryTreeSuspenseHandler(workInProgress);
6881
- return mountSuspensePrimaryChildren(workInProgress, nextInstance);
6855
+ return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren);
6882
6856
  }
6883
- JSCompiler_temp$jscomp$0 = current.memoizedState;
6857
+ mode = current.memoizedState;
6884
6858
  if (
6885
- null !== JSCompiler_temp$jscomp$0 &&
6886
- ((nextInstance = JSCompiler_temp$jscomp$0.dehydrated),
6887
- null !== nextInstance)
6859
+ null !== mode &&
6860
+ ((nextPrimaryChildren = mode.dehydrated), null !== nextPrimaryChildren)
6888
6861
  ) {
6889
6862
  if (didSuspend)
6890
6863
  workInProgress.flags & 256
@@ -6901,22 +6874,22 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
6901
6874
  (workInProgress.flags |= 128),
6902
6875
  (workInProgress = null))
6903
6876
  : (reuseSuspenseHandlerOnStack(workInProgress),
6904
- (showFallback = nextProps.fallback),
6905
- (nextInstance = workInProgress.mode),
6877
+ (nextPrimaryChildren = nextProps.fallback),
6878
+ (mode = workInProgress.mode),
6906
6879
  (nextProps = mountWorkInProgressOffscreenFiber(
6907
6880
  { mode: "visible", children: nextProps.children },
6908
- nextInstance
6881
+ mode
6909
6882
  )),
6910
- (showFallback = createFiberFromFragment(
6911
- showFallback,
6912
- nextInstance,
6883
+ (nextPrimaryChildren = createFiberFromFragment(
6884
+ nextPrimaryChildren,
6885
+ mode,
6913
6886
  renderLanes,
6914
6887
  null
6915
6888
  )),
6916
- (showFallback.flags |= 2),
6889
+ (nextPrimaryChildren.flags |= 2),
6917
6890
  (nextProps.return = workInProgress),
6918
- (showFallback.return = workInProgress),
6919
- (nextProps.sibling = showFallback),
6891
+ (nextPrimaryChildren.return = workInProgress),
6892
+ (nextProps.sibling = nextPrimaryChildren),
6920
6893
  (workInProgress.child = nextProps),
6921
6894
  reconcileChildFibers(
6922
6895
  workInProgress,
@@ -6933,13 +6906,14 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
6933
6906
  renderLanes
6934
6907
  )),
6935
6908
  (workInProgress.memoizedState = SUSPENDED_MARKER),
6936
- (workInProgress = showFallback));
6909
+ (workInProgress = nextPrimaryChildren));
6937
6910
  else if (
6938
6911
  (pushPrimaryTreeSuspenseHandler(workInProgress),
6939
- isSuspenseInstanceFallback(nextInstance))
6912
+ isSuspenseInstanceFallback(nextPrimaryChildren))
6940
6913
  ) {
6941
6914
  JSCompiler_temp =
6942
- nextInstance.nextSibling && nextInstance.nextSibling.dataset;
6915
+ nextPrimaryChildren.nextSibling &&
6916
+ nextPrimaryChildren.nextSibling.dataset;
6943
6917
  if (JSCompiler_temp) var digest = JSCompiler_temp.dgst;
6944
6918
  JSCompiler_temp = digest;
6945
6919
  nextProps = Error(formatProdErrorMessage(419));
@@ -6969,28 +6943,28 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
6969
6943
  0 !== (nextProps & (JSCompiler_temp.suspendedLanes | renderLanes))
6970
6944
  ? 0
6971
6945
  : nextProps),
6972
- 0 !== nextProps && nextProps !== JSCompiler_temp$jscomp$0.retryLane)
6946
+ 0 !== nextProps && nextProps !== mode.retryLane)
6973
6947
  )
6974
6948
  throw (
6975
- ((JSCompiler_temp$jscomp$0.retryLane = nextProps),
6949
+ ((mode.retryLane = nextProps),
6976
6950
  enqueueConcurrentRenderForLane(current, nextProps),
6977
6951
  scheduleUpdateOnFiber(JSCompiler_temp, current, nextProps),
6978
6952
  SelectiveHydrationException)
6979
6953
  );
6980
- "$?" === nextInstance.data || renderDidSuspendDelayIfPossible();
6954
+ "$?" === nextPrimaryChildren.data || renderDidSuspendDelayIfPossible();
6981
6955
  workInProgress = retrySuspenseComponentWithoutHydrating(
6982
6956
  current,
6983
6957
  workInProgress,
6984
6958
  renderLanes
6985
6959
  );
6986
6960
  } else
6987
- "$?" === nextInstance.data
6961
+ "$?" === nextPrimaryChildren.data
6988
6962
  ? ((workInProgress.flags |= 192),
6989
6963
  (workInProgress.child = current.child),
6990
6964
  (workInProgress = null))
6991
- : ((current = JSCompiler_temp$jscomp$0.treeContext),
6965
+ : ((current = mode.treeContext),
6992
6966
  (nextHydratableInstance = getNextHydratable(
6993
- nextInstance.nextSibling
6967
+ nextPrimaryChildren.nextSibling
6994
6968
  )),
6995
6969
  (hydrationParentFiber = workInProgress),
6996
6970
  (isHydrating = !0),
@@ -7013,48 +6987,50 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
7013
6987
  if (showFallback)
7014
6988
  return (
7015
6989
  reuseSuspenseHandlerOnStack(workInProgress),
7016
- (showFallback = nextProps.fallback),
7017
- (nextInstance = workInProgress.mode),
7018
- (JSCompiler_temp$jscomp$0 = current.child),
7019
- (digest = JSCompiler_temp$jscomp$0.sibling),
7020
- (nextProps = createWorkInProgress(JSCompiler_temp$jscomp$0, {
6990
+ (nextPrimaryChildren = nextProps.fallback),
6991
+ (mode = workInProgress.mode),
6992
+ (showFallback = current.child),
6993
+ (digest = showFallback.sibling),
6994
+ (nextProps = createWorkInProgress(showFallback, {
7021
6995
  mode: "hidden",
7022
6996
  children: nextProps.children
7023
6997
  })),
7024
- (nextProps.subtreeFlags =
7025
- JSCompiler_temp$jscomp$0.subtreeFlags & 65011712),
6998
+ (nextProps.subtreeFlags = showFallback.subtreeFlags & 65011712),
7026
6999
  null !== digest
7027
- ? (showFallback = createWorkInProgress(digest, showFallback))
7028
- : ((showFallback = createFiberFromFragment(
7029
- showFallback,
7030
- nextInstance,
7000
+ ? (nextPrimaryChildren = createWorkInProgress(
7001
+ digest,
7002
+ nextPrimaryChildren
7003
+ ))
7004
+ : ((nextPrimaryChildren = createFiberFromFragment(
7005
+ nextPrimaryChildren,
7006
+ mode,
7031
7007
  renderLanes,
7032
7008
  null
7033
7009
  )),
7034
- (showFallback.flags |= 2)),
7035
- (showFallback.return = workInProgress),
7010
+ (nextPrimaryChildren.flags |= 2)),
7011
+ (nextPrimaryChildren.return = workInProgress),
7036
7012
  (nextProps.return = workInProgress),
7037
- (nextProps.sibling = showFallback),
7013
+ (nextProps.sibling = nextPrimaryChildren),
7038
7014
  (workInProgress.child = nextProps),
7039
- (nextProps = showFallback),
7040
- (showFallback = workInProgress.child),
7041
- (nextInstance = current.child.memoizedState),
7042
- null === nextInstance
7043
- ? (nextInstance = mountSuspenseOffscreenState(renderLanes))
7044
- : ((JSCompiler_temp$jscomp$0 = nextInstance.cachePool),
7045
- null !== JSCompiler_temp$jscomp$0
7015
+ (nextProps = nextPrimaryChildren),
7016
+ (nextPrimaryChildren = workInProgress.child),
7017
+ (mode = current.child.memoizedState),
7018
+ null === mode
7019
+ ? (mode = mountSuspenseOffscreenState(renderLanes))
7020
+ : ((showFallback = mode.cachePool),
7021
+ null !== showFallback
7046
7022
  ? ((digest = CacheContext._currentValue),
7047
- (JSCompiler_temp$jscomp$0 =
7048
- JSCompiler_temp$jscomp$0.parent !== digest
7023
+ (showFallback =
7024
+ showFallback.parent !== digest
7049
7025
  ? { parent: digest, pool: digest }
7050
- : JSCompiler_temp$jscomp$0))
7051
- : (JSCompiler_temp$jscomp$0 = getSuspendedCache()),
7052
- (nextInstance = {
7053
- baseLanes: nextInstance.baseLanes | renderLanes,
7054
- cachePool: JSCompiler_temp$jscomp$0
7026
+ : showFallback))
7027
+ : (showFallback = getSuspendedCache()),
7028
+ (mode = {
7029
+ baseLanes: mode.baseLanes | renderLanes,
7030
+ cachePool: showFallback
7055
7031
  })),
7056
- (showFallback.memoizedState = nextInstance),
7057
- (showFallback.childLanes = getRemainingWorkInPrimaryTree(
7032
+ (nextPrimaryChildren.memoizedState = mode),
7033
+ (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
7058
7034
  current,
7059
7035
  JSCompiler_temp,
7060
7036
  renderLanes
@@ -7347,10 +7323,14 @@ function attemptEarlyBailoutIfNoScheduledUpdate(
7347
7323
  if (stateNode) break;
7348
7324
  else return null;
7349
7325
  case 22:
7350
- case 23:
7351
7326
  return (
7352
7327
  (workInProgress.lanes = 0),
7353
- updateOffscreenComponent(current, workInProgress, renderLanes)
7328
+ updateOffscreenComponent(
7329
+ current,
7330
+ workInProgress,
7331
+ renderLanes,
7332
+ workInProgress.pendingProps
7333
+ )
7354
7334
  );
7355
7335
  case 24:
7356
7336
  pushProvider(workInProgress, CacheContext, current.memoizedState.cache);
@@ -7820,7 +7800,12 @@ function beginWork(current, workInProgress, renderLanes) {
7820
7800
  workInProgress
7821
7801
  );
7822
7802
  case 22:
7823
- return updateOffscreenComponent(current, workInProgress, renderLanes);
7803
+ return updateOffscreenComponent(
7804
+ current,
7805
+ workInProgress,
7806
+ renderLanes,
7807
+ workInProgress.pendingProps
7808
+ );
7824
7809
  case 24:
7825
7810
  return (
7826
7811
  prepareToReadContext(workInProgress),
@@ -8882,12 +8867,7 @@ function commitProfilerUpdate(
8882
8867
  commitStartTime
8883
8868
  );
8884
8869
  "function" === typeof onCommit &&
8885
- onCommit(
8886
- finishedWork.memoizedProps.id,
8887
- current,
8888
- effectDuration,
8889
- commitStartTime
8890
- );
8870
+ onCommit(id, current, effectDuration, commitStartTime);
8891
8871
  } catch (error) {
8892
8872
  captureCommitPhaseError(finishedWork, finishedWork.return, error);
8893
8873
  }
@@ -12495,20 +12475,20 @@ function extractEvents$1(
12495
12475
  }
12496
12476
  }
12497
12477
  for (
12498
- var i$jscomp$inline_1622 = 0;
12499
- i$jscomp$inline_1622 < simpleEventPluginEvents.length;
12500
- i$jscomp$inline_1622++
12478
+ var i$jscomp$inline_1627 = 0;
12479
+ i$jscomp$inline_1627 < simpleEventPluginEvents.length;
12480
+ i$jscomp$inline_1627++
12501
12481
  ) {
12502
- var eventName$jscomp$inline_1623 =
12503
- simpleEventPluginEvents[i$jscomp$inline_1622],
12504
- domEventName$jscomp$inline_1624 =
12505
- eventName$jscomp$inline_1623.toLowerCase(),
12506
- capitalizedEvent$jscomp$inline_1625 =
12507
- eventName$jscomp$inline_1623[0].toUpperCase() +
12508
- eventName$jscomp$inline_1623.slice(1);
12482
+ var eventName$jscomp$inline_1628 =
12483
+ simpleEventPluginEvents[i$jscomp$inline_1627],
12484
+ domEventName$jscomp$inline_1629 =
12485
+ eventName$jscomp$inline_1628.toLowerCase(),
12486
+ capitalizedEvent$jscomp$inline_1630 =
12487
+ eventName$jscomp$inline_1628[0].toUpperCase() +
12488
+ eventName$jscomp$inline_1628.slice(1);
12509
12489
  registerSimpleEvent(
12510
- domEventName$jscomp$inline_1624,
12511
- "on" + capitalizedEvent$jscomp$inline_1625
12490
+ domEventName$jscomp$inline_1629,
12491
+ "on" + capitalizedEvent$jscomp$inline_1630
12512
12492
  );
12513
12493
  }
12514
12494
  registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -14279,51 +14259,38 @@ function isSingletonScope(type) {
14279
14259
  }
14280
14260
  function clearSuspenseBoundary(parentInstance, suspenseInstance) {
14281
14261
  var node = suspenseInstance,
14282
- possiblePreambleContribution = 0,
14283
14262
  depth = 0;
14284
14263
  do {
14285
14264
  var nextNode = node.nextSibling;
14286
14265
  parentInstance.removeChild(node);
14287
14266
  if (nextNode && 8 === nextNode.nodeType)
14288
14267
  if (((node = nextNode.data), "/$" === node)) {
14289
- if (
14290
- 0 < possiblePreambleContribution &&
14291
- 8 > possiblePreambleContribution
14292
- ) {
14293
- node = possiblePreambleContribution;
14294
- var ownerDocument = parentInstance.ownerDocument;
14295
- node & 1 && releaseSingletonInstance(ownerDocument.documentElement);
14296
- node & 2 && releaseSingletonInstance(ownerDocument.body);
14297
- if (node & 4)
14298
- for (
14299
- node = ownerDocument.head,
14300
- releaseSingletonInstance(node),
14301
- ownerDocument = node.firstChild;
14302
- ownerDocument;
14303
-
14304
- ) {
14305
- var nextNode$jscomp$0 = ownerDocument.nextSibling,
14306
- nodeName = ownerDocument.nodeName;
14307
- ownerDocument[internalHoistableMarker] ||
14308
- "SCRIPT" === nodeName ||
14309
- "STYLE" === nodeName ||
14310
- ("LINK" === nodeName &&
14311
- "stylesheet" === ownerDocument.rel.toLowerCase()) ||
14312
- node.removeChild(ownerDocument);
14313
- ownerDocument = nextNode$jscomp$0;
14314
- }
14315
- }
14316
14268
  if (0 === depth) {
14317
14269
  parentInstance.removeChild(nextNode);
14318
14270
  retryIfBlockedOn(suspenseInstance);
14319
14271
  return;
14320
14272
  }
14321
14273
  depth--;
14274
+ } else if ("$" === node || "$?" === node || "$!" === node) depth++;
14275
+ else if ("html" === node)
14276
+ releaseSingletonInstance(parentInstance.ownerDocument.documentElement);
14277
+ else if ("head" === node) {
14278
+ node = parentInstance.ownerDocument.head;
14279
+ releaseSingletonInstance(node);
14280
+ for (var node$jscomp$0 = node.firstChild; node$jscomp$0; ) {
14281
+ var nextNode$jscomp$0 = node$jscomp$0.nextSibling,
14282
+ nodeName = node$jscomp$0.nodeName;
14283
+ node$jscomp$0[internalHoistableMarker] ||
14284
+ "SCRIPT" === nodeName ||
14285
+ "STYLE" === nodeName ||
14286
+ ("LINK" === nodeName &&
14287
+ "stylesheet" === node$jscomp$0.rel.toLowerCase()) ||
14288
+ node.removeChild(node$jscomp$0);
14289
+ node$jscomp$0 = nextNode$jscomp$0;
14290
+ }
14322
14291
  } else
14323
- "$" === node || "$?" === node || "$!" === node
14324
- ? depth++
14325
- : (possiblePreambleContribution = node.charCodeAt(0) - 48);
14326
- else possiblePreambleContribution = 0;
14292
+ "body" === node &&
14293
+ releaseSingletonInstance(parentInstance.ownerDocument.body);
14327
14294
  node = nextNode;
14328
14295
  } while (node);
14329
14296
  retryIfBlockedOn(suspenseInstance);
@@ -14808,26 +14775,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
14808
14775
  "string" === typeof pendingProps.precedence
14809
14776
  ) {
14810
14777
  type = getStyleKey(pendingProps.href);
14811
- var styles$261 = getResourcesFromRoot(
14778
+ var styles$263 = getResourcesFromRoot(
14812
14779
  JSCompiler_inline_result
14813
14780
  ).hoistableStyles,
14814
- resource$262 = styles$261.get(type);
14815
- resource$262 ||
14781
+ resource$264 = styles$263.get(type);
14782
+ resource$264 ||
14816
14783
  ((JSCompiler_inline_result =
14817
14784
  JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
14818
- (resource$262 = {
14785
+ (resource$264 = {
14819
14786
  type: "stylesheet",
14820
14787
  instance: null,
14821
14788
  count: 0,
14822
14789
  state: { loading: 0, preload: null }
14823
14790
  }),
14824
- styles$261.set(type, resource$262),
14825
- (styles$261 = JSCompiler_inline_result.querySelector(
14791
+ styles$263.set(type, resource$264),
14792
+ (styles$263 = JSCompiler_inline_result.querySelector(
14826
14793
  getStylesheetSelectorFromKey(type)
14827
14794
  )) &&
14828
- !styles$261._p &&
14829
- ((resource$262.instance = styles$261),
14830
- (resource$262.state.loading = 5)),
14795
+ !styles$263._p &&
14796
+ ((resource$264.instance = styles$263),
14797
+ (resource$264.state.loading = 5)),
14831
14798
  preloadPropsMap.has(type) ||
14832
14799
  ((pendingProps = {
14833
14800
  rel: "preload",
@@ -14840,16 +14807,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
14840
14807
  referrerPolicy: pendingProps.referrerPolicy
14841
14808
  }),
14842
14809
  preloadPropsMap.set(type, pendingProps),
14843
- styles$261 ||
14810
+ styles$263 ||
14844
14811
  preloadStylesheet(
14845
14812
  JSCompiler_inline_result,
14846
14813
  type,
14847
14814
  pendingProps,
14848
- resource$262.state
14815
+ resource$264.state
14849
14816
  )));
14850
14817
  if (currentProps && null === currentResource)
14851
14818
  throw Error(formatProdErrorMessage(528, ""));
14852
- return resource$262;
14819
+ return resource$264;
14853
14820
  }
14854
14821
  if (currentProps && null !== currentResource)
14855
14822
  throw Error(formatProdErrorMessage(529, ""));
@@ -14946,37 +14913,37 @@ function acquireResource(hoistableRoot, resource, props) {
14946
14913
  return (resource.instance = instance);
14947
14914
  case "stylesheet":
14948
14915
  styleProps = getStyleKey(props.href);
14949
- var instance$267 = hoistableRoot.querySelector(
14916
+ var instance$269 = hoistableRoot.querySelector(
14950
14917
  getStylesheetSelectorFromKey(styleProps)
14951
14918
  );
14952
- if (instance$267)
14919
+ if (instance$269)
14953
14920
  return (
14954
14921
  (resource.state.loading |= 4),
14955
- (resource.instance = instance$267),
14956
- markNodeAsHoistable(instance$267),
14957
- instance$267
14922
+ (resource.instance = instance$269),
14923
+ markNodeAsHoistable(instance$269),
14924
+ instance$269
14958
14925
  );
14959
14926
  instance = stylesheetPropsFromRawProps(props);
14960
14927
  (styleProps = preloadPropsMap.get(styleProps)) &&
14961
14928
  adoptPreloadPropsForStylesheet(instance, styleProps);
14962
- instance$267 = (
14929
+ instance$269 = (
14963
14930
  hoistableRoot.ownerDocument || hoistableRoot
14964
14931
  ).createElement("link");
14965
- markNodeAsHoistable(instance$267);
14966
- var linkInstance = instance$267;
14932
+ markNodeAsHoistable(instance$269);
14933
+ var linkInstance = instance$269;
14967
14934
  linkInstance._p = new Promise(function (resolve, reject) {
14968
14935
  linkInstance.onload = resolve;
14969
14936
  linkInstance.onerror = reject;
14970
14937
  });
14971
- setInitialProperties(instance$267, "link", instance);
14938
+ setInitialProperties(instance$269, "link", instance);
14972
14939
  resource.state.loading |= 4;
14973
- insertStylesheet(instance$267, props.precedence, hoistableRoot);
14974
- return (resource.instance = instance$267);
14940
+ insertStylesheet(instance$269, props.precedence, hoistableRoot);
14941
+ return (resource.instance = instance$269);
14975
14942
  case "script":
14976
- instance$267 = getScriptKey(props.src);
14943
+ instance$269 = getScriptKey(props.src);
14977
14944
  if (
14978
14945
  (styleProps = hoistableRoot.querySelector(
14979
- getScriptSelectorFromKey(instance$267)
14946
+ getScriptSelectorFromKey(instance$269)
14980
14947
  ))
14981
14948
  )
14982
14949
  return (
@@ -14985,7 +14952,7 @@ function acquireResource(hoistableRoot, resource, props) {
14985
14952
  styleProps
14986
14953
  );
14987
14954
  instance = props;
14988
- if ((styleProps = preloadPropsMap.get(instance$267)))
14955
+ if ((styleProps = preloadPropsMap.get(instance$269)))
14989
14956
  (instance = assign({}, props)),
14990
14957
  adoptPreloadPropsForScript(instance, styleProps);
14991
14958
  hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
@@ -16023,16 +15990,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
16023
15990
  0 === i && attemptExplicitHydrationTarget(target);
16024
15991
  }
16025
15992
  };
16026
- var isomorphicReactPackageVersion$jscomp$inline_1881 = React.version;
15993
+ var isomorphicReactPackageVersion$jscomp$inline_1886 = React.version;
16027
15994
  if (
16028
- "19.2.0-canary-3fbfb9ba-20250409" !==
16029
- isomorphicReactPackageVersion$jscomp$inline_1881
15995
+ "19.2.0-canary-1d6c8168-20250411" !==
15996
+ isomorphicReactPackageVersion$jscomp$inline_1886
16030
15997
  )
16031
15998
  throw Error(
16032
15999
  formatProdErrorMessage(
16033
16000
  527,
16034
- isomorphicReactPackageVersion$jscomp$inline_1881,
16035
- "19.2.0-canary-3fbfb9ba-20250409"
16001
+ isomorphicReactPackageVersion$jscomp$inline_1886,
16002
+ "19.2.0-canary-1d6c8168-20250411"
16036
16003
  )
16037
16004
  );
16038
16005
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16052,17 +16019,17 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
16052
16019
  null === componentOrElement ? null : componentOrElement.stateNode;
16053
16020
  return componentOrElement;
16054
16021
  };
16055
- var internals$jscomp$inline_1888 = {
16022
+ var internals$jscomp$inline_1893 = {
16056
16023
  bundleType: 0,
16057
- version: "19.2.0-canary-3fbfb9ba-20250409",
16024
+ version: "19.2.0-canary-1d6c8168-20250411",
16058
16025
  rendererPackageName: "react-dom",
16059
16026
  currentDispatcherRef: ReactSharedInternals,
16060
- reconcilerVersion: "19.2.0-canary-3fbfb9ba-20250409",
16027
+ reconcilerVersion: "19.2.0-canary-1d6c8168-20250411",
16061
16028
  getLaneLabelMap: function () {
16062
16029
  for (
16063
- var map = new Map(), lane = 1, index$284 = 0;
16064
- 31 > index$284;
16065
- index$284++
16030
+ var map = new Map(), lane = 1, index$286 = 0;
16031
+ 31 > index$286;
16032
+ index$286++
16066
16033
  ) {
16067
16034
  var label = getLabelForLane(lane);
16068
16035
  map.set(lane, label);
@@ -16075,16 +16042,16 @@ var internals$jscomp$inline_1888 = {
16075
16042
  }
16076
16043
  };
16077
16044
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
16078
- var hook$jscomp$inline_2323 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
16045
+ var hook$jscomp$inline_2328 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
16079
16046
  if (
16080
- !hook$jscomp$inline_2323.isDisabled &&
16081
- hook$jscomp$inline_2323.supportsFiber
16047
+ !hook$jscomp$inline_2328.isDisabled &&
16048
+ hook$jscomp$inline_2328.supportsFiber
16082
16049
  )
16083
16050
  try {
16084
- (rendererID = hook$jscomp$inline_2323.inject(
16085
- internals$jscomp$inline_1888
16051
+ (rendererID = hook$jscomp$inline_2328.inject(
16052
+ internals$jscomp$inline_1893
16086
16053
  )),
16087
- (injectedHook = hook$jscomp$inline_2323);
16054
+ (injectedHook = hook$jscomp$inline_2328);
16088
16055
  } catch (err) {}
16089
16056
  }
16090
16057
  function noop() {}
@@ -16337,7 +16304,7 @@ exports.useFormState = function (action, initialState, permalink) {
16337
16304
  exports.useFormStatus = function () {
16338
16305
  return ReactSharedInternals.H.useHostTransitionStatus();
16339
16306
  };
16340
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
16307
+ exports.version = "19.2.0-canary-1d6c8168-20250411";
16341
16308
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
16342
16309
  "function" ===
16343
16310
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&