react-dom 19.1.0-canary-443b7ff2-20250303 → 19.1.0-canary-029e8bd6-20250306

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.
@@ -8976,32 +8976,32 @@
8976
8976
  return current;
8977
8977
  }
8978
8978
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
8979
- var JSCompiler_object_inline_digest_2467;
8980
- var JSCompiler_object_inline_stack_2468 = workInProgress.pendingProps;
8979
+ var JSCompiler_object_inline_digest_2471;
8980
+ var JSCompiler_object_inline_stack_2472 = workInProgress.pendingProps;
8981
8981
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
8982
- var JSCompiler_object_inline_componentStack_2469 = !1;
8982
+ var JSCompiler_object_inline_componentStack_2473 = !1;
8983
8983
  var didSuspend = 0 !== (workInProgress.flags & 128);
8984
- (JSCompiler_object_inline_digest_2467 = didSuspend) ||
8985
- (JSCompiler_object_inline_digest_2467 =
8984
+ (JSCompiler_object_inline_digest_2471 = didSuspend) ||
8985
+ (JSCompiler_object_inline_digest_2471 =
8986
8986
  null !== current && null === current.memoizedState
8987
8987
  ? !1
8988
8988
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
8989
- JSCompiler_object_inline_digest_2467 &&
8990
- ((JSCompiler_object_inline_componentStack_2469 = !0),
8989
+ JSCompiler_object_inline_digest_2471 &&
8990
+ ((JSCompiler_object_inline_componentStack_2473 = !0),
8991
8991
  (workInProgress.flags &= -129));
8992
- JSCompiler_object_inline_digest_2467 = 0 !== (workInProgress.flags & 32);
8992
+ JSCompiler_object_inline_digest_2471 = 0 !== (workInProgress.flags & 32);
8993
8993
  workInProgress.flags &= -33;
8994
8994
  if (null === current) {
8995
8995
  if (isHydrating) {
8996
- JSCompiler_object_inline_componentStack_2469
8996
+ JSCompiler_object_inline_componentStack_2473
8997
8997
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
8998
8998
  : reuseSuspenseHandlerOnStack(workInProgress);
8999
8999
  if (isHydrating) {
9000
- var JSCompiler_object_inline_message_2466 = nextHydratableInstance;
9000
+ var JSCompiler_object_inline_message_2470 = nextHydratableInstance;
9001
9001
  var JSCompiler_temp;
9002
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2466)) {
9002
+ if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2470)) {
9003
9003
  c: {
9004
- var instance = JSCompiler_object_inline_message_2466;
9004
+ var instance = JSCompiler_object_inline_message_2470;
9005
9005
  for (
9006
9006
  JSCompiler_temp = rootOrSingletonContext;
9007
9007
  8 !== instance.nodeType;
@@ -9043,77 +9043,77 @@
9043
9043
  JSCompiler_temp &&
9044
9044
  (warnNonHydratedInstance(
9045
9045
  workInProgress,
9046
- JSCompiler_object_inline_message_2466
9046
+ JSCompiler_object_inline_message_2470
9047
9047
  ),
9048
9048
  throwOnHydrationMismatch(workInProgress));
9049
9049
  }
9050
- JSCompiler_object_inline_message_2466 = workInProgress.memoizedState;
9050
+ JSCompiler_object_inline_message_2470 = workInProgress.memoizedState;
9051
9051
  if (
9052
- null !== JSCompiler_object_inline_message_2466 &&
9053
- ((JSCompiler_object_inline_message_2466 =
9054
- JSCompiler_object_inline_message_2466.dehydrated),
9055
- null !== JSCompiler_object_inline_message_2466)
9052
+ null !== JSCompiler_object_inline_message_2470 &&
9053
+ ((JSCompiler_object_inline_message_2470 =
9054
+ JSCompiler_object_inline_message_2470.dehydrated),
9055
+ null !== JSCompiler_object_inline_message_2470)
9056
9056
  )
9057
9057
  return (
9058
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2466)
9058
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2470)
9059
9059
  ? (workInProgress.lanes = 32)
9060
9060
  : (workInProgress.lanes = 536870912),
9061
9061
  null
9062
9062
  );
9063
9063
  popSuspenseHandler(workInProgress);
9064
9064
  }
9065
- JSCompiler_object_inline_message_2466 =
9066
- JSCompiler_object_inline_stack_2468.children;
9067
- JSCompiler_object_inline_stack_2468 =
9068
- JSCompiler_object_inline_stack_2468.fallback;
9069
- if (JSCompiler_object_inline_componentStack_2469)
9065
+ JSCompiler_object_inline_message_2470 =
9066
+ JSCompiler_object_inline_stack_2472.children;
9067
+ JSCompiler_object_inline_stack_2472 =
9068
+ JSCompiler_object_inline_stack_2472.fallback;
9069
+ if (JSCompiler_object_inline_componentStack_2473)
9070
9070
  return (
9071
9071
  reuseSuspenseHandlerOnStack(workInProgress),
9072
- (JSCompiler_object_inline_componentStack_2469 =
9072
+ (JSCompiler_object_inline_componentStack_2473 =
9073
9073
  workInProgress.mode),
9074
- (JSCompiler_object_inline_message_2466 =
9074
+ (JSCompiler_object_inline_message_2470 =
9075
9075
  mountWorkInProgressOffscreenFiber(
9076
9076
  {
9077
9077
  mode: "hidden",
9078
- children: JSCompiler_object_inline_message_2466
9078
+ children: JSCompiler_object_inline_message_2470
9079
9079
  },
9080
- JSCompiler_object_inline_componentStack_2469
9080
+ JSCompiler_object_inline_componentStack_2473
9081
9081
  )),
9082
- (JSCompiler_object_inline_stack_2468 = createFiberFromFragment(
9083
- JSCompiler_object_inline_stack_2468,
9084
- JSCompiler_object_inline_componentStack_2469,
9082
+ (JSCompiler_object_inline_stack_2472 = createFiberFromFragment(
9083
+ JSCompiler_object_inline_stack_2472,
9084
+ JSCompiler_object_inline_componentStack_2473,
9085
9085
  renderLanes,
9086
9086
  null
9087
9087
  )),
9088
- (JSCompiler_object_inline_message_2466.return = workInProgress),
9089
- (JSCompiler_object_inline_stack_2468.return = workInProgress),
9090
- (JSCompiler_object_inline_message_2466.sibling =
9091
- JSCompiler_object_inline_stack_2468),
9092
- (workInProgress.child = JSCompiler_object_inline_message_2466),
9093
- (JSCompiler_object_inline_componentStack_2469 =
9088
+ (JSCompiler_object_inline_message_2470.return = workInProgress),
9089
+ (JSCompiler_object_inline_stack_2472.return = workInProgress),
9090
+ (JSCompiler_object_inline_message_2470.sibling =
9091
+ JSCompiler_object_inline_stack_2472),
9092
+ (workInProgress.child = JSCompiler_object_inline_message_2470),
9093
+ (JSCompiler_object_inline_componentStack_2473 =
9094
9094
  workInProgress.child),
9095
- (JSCompiler_object_inline_componentStack_2469.memoizedState =
9095
+ (JSCompiler_object_inline_componentStack_2473.memoizedState =
9096
9096
  mountSuspenseOffscreenState(renderLanes)),
9097
- (JSCompiler_object_inline_componentStack_2469.childLanes =
9097
+ (JSCompiler_object_inline_componentStack_2473.childLanes =
9098
9098
  getRemainingWorkInPrimaryTree(
9099
9099
  current,
9100
- JSCompiler_object_inline_digest_2467,
9100
+ JSCompiler_object_inline_digest_2471,
9101
9101
  renderLanes
9102
9102
  )),
9103
9103
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9104
- JSCompiler_object_inline_stack_2468
9104
+ JSCompiler_object_inline_stack_2472
9105
9105
  );
9106
9106
  pushPrimaryTreeSuspenseHandler(workInProgress);
9107
9107
  return mountSuspensePrimaryChildren(
9108
9108
  workInProgress,
9109
- JSCompiler_object_inline_message_2466
9109
+ JSCompiler_object_inline_message_2470
9110
9110
  );
9111
9111
  }
9112
9112
  var prevState = current.memoizedState;
9113
9113
  if (
9114
9114
  null !== prevState &&
9115
- ((JSCompiler_object_inline_message_2466 = prevState.dehydrated),
9116
- null !== JSCompiler_object_inline_message_2466)
9115
+ ((JSCompiler_object_inline_message_2470 = prevState.dehydrated),
9116
+ null !== JSCompiler_object_inline_message_2470)
9117
9117
  ) {
9118
9118
  if (didSuspend)
9119
9119
  workInProgress.flags & 256
@@ -9130,94 +9130,94 @@
9130
9130
  (workInProgress.flags |= 128),
9131
9131
  (workInProgress = null))
9132
9132
  : (reuseSuspenseHandlerOnStack(workInProgress),
9133
- (JSCompiler_object_inline_componentStack_2469 =
9134
- JSCompiler_object_inline_stack_2468.fallback),
9135
- (JSCompiler_object_inline_message_2466 = workInProgress.mode),
9136
- (JSCompiler_object_inline_stack_2468 =
9133
+ (JSCompiler_object_inline_componentStack_2473 =
9134
+ JSCompiler_object_inline_stack_2472.fallback),
9135
+ (JSCompiler_object_inline_message_2470 = workInProgress.mode),
9136
+ (JSCompiler_object_inline_stack_2472 =
9137
9137
  mountWorkInProgressOffscreenFiber(
9138
9138
  {
9139
9139
  mode: "visible",
9140
- children: JSCompiler_object_inline_stack_2468.children
9140
+ children: JSCompiler_object_inline_stack_2472.children
9141
9141
  },
9142
- JSCompiler_object_inline_message_2466
9142
+ JSCompiler_object_inline_message_2470
9143
9143
  )),
9144
- (JSCompiler_object_inline_componentStack_2469 =
9144
+ (JSCompiler_object_inline_componentStack_2473 =
9145
9145
  createFiberFromFragment(
9146
- JSCompiler_object_inline_componentStack_2469,
9147
- JSCompiler_object_inline_message_2466,
9146
+ JSCompiler_object_inline_componentStack_2473,
9147
+ JSCompiler_object_inline_message_2470,
9148
9148
  renderLanes,
9149
9149
  null
9150
9150
  )),
9151
- (JSCompiler_object_inline_componentStack_2469.flags |= 2),
9152
- (JSCompiler_object_inline_stack_2468.return = workInProgress),
9153
- (JSCompiler_object_inline_componentStack_2469.return =
9151
+ (JSCompiler_object_inline_componentStack_2473.flags |= 2),
9152
+ (JSCompiler_object_inline_stack_2472.return = workInProgress),
9153
+ (JSCompiler_object_inline_componentStack_2473.return =
9154
9154
  workInProgress),
9155
- (JSCompiler_object_inline_stack_2468.sibling =
9156
- JSCompiler_object_inline_componentStack_2469),
9157
- (workInProgress.child = JSCompiler_object_inline_stack_2468),
9155
+ (JSCompiler_object_inline_stack_2472.sibling =
9156
+ JSCompiler_object_inline_componentStack_2473),
9157
+ (workInProgress.child = JSCompiler_object_inline_stack_2472),
9158
9158
  reconcileChildFibers(
9159
9159
  workInProgress,
9160
9160
  current.child,
9161
9161
  null,
9162
9162
  renderLanes
9163
9163
  ),
9164
- (JSCompiler_object_inline_stack_2468 = workInProgress.child),
9165
- (JSCompiler_object_inline_stack_2468.memoizedState =
9164
+ (JSCompiler_object_inline_stack_2472 = workInProgress.child),
9165
+ (JSCompiler_object_inline_stack_2472.memoizedState =
9166
9166
  mountSuspenseOffscreenState(renderLanes)),
9167
- (JSCompiler_object_inline_stack_2468.childLanes =
9167
+ (JSCompiler_object_inline_stack_2472.childLanes =
9168
9168
  getRemainingWorkInPrimaryTree(
9169
9169
  current,
9170
- JSCompiler_object_inline_digest_2467,
9170
+ JSCompiler_object_inline_digest_2471,
9171
9171
  renderLanes
9172
9172
  )),
9173
9173
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9174
9174
  (workInProgress =
9175
- JSCompiler_object_inline_componentStack_2469));
9175
+ JSCompiler_object_inline_componentStack_2473));
9176
9176
  else if (
9177
9177
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9178
9178
  isHydrating &&
9179
9179
  console.error(
9180
9180
  "We should not be hydrating here. This is a bug in React. Please file a bug."
9181
9181
  ),
9182
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2466))
9182
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2470))
9183
9183
  ) {
9184
- JSCompiler_object_inline_digest_2467 =
9185
- JSCompiler_object_inline_message_2466.nextSibling &&
9186
- JSCompiler_object_inline_message_2466.nextSibling.dataset;
9187
- if (JSCompiler_object_inline_digest_2467) {
9188
- JSCompiler_temp = JSCompiler_object_inline_digest_2467.dgst;
9189
- var message = JSCompiler_object_inline_digest_2467.msg;
9190
- instance = JSCompiler_object_inline_digest_2467.stck;
9191
- var componentStack = JSCompiler_object_inline_digest_2467.cstck;
9184
+ JSCompiler_object_inline_digest_2471 =
9185
+ JSCompiler_object_inline_message_2470.nextSibling &&
9186
+ JSCompiler_object_inline_message_2470.nextSibling.dataset;
9187
+ if (JSCompiler_object_inline_digest_2471) {
9188
+ JSCompiler_temp = JSCompiler_object_inline_digest_2471.dgst;
9189
+ var message = JSCompiler_object_inline_digest_2471.msg;
9190
+ instance = JSCompiler_object_inline_digest_2471.stck;
9191
+ var componentStack = JSCompiler_object_inline_digest_2471.cstck;
9192
9192
  }
9193
- JSCompiler_object_inline_message_2466 = message;
9194
- JSCompiler_object_inline_digest_2467 = JSCompiler_temp;
9195
- JSCompiler_object_inline_stack_2468 = instance;
9196
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2469 =
9193
+ JSCompiler_object_inline_message_2470 = message;
9194
+ JSCompiler_object_inline_digest_2471 = JSCompiler_temp;
9195
+ JSCompiler_object_inline_stack_2472 = instance;
9196
+ JSCompiler_temp = JSCompiler_object_inline_componentStack_2473 =
9197
9197
  componentStack;
9198
- JSCompiler_object_inline_componentStack_2469 =
9199
- JSCompiler_object_inline_message_2466
9200
- ? Error(JSCompiler_object_inline_message_2466)
9198
+ JSCompiler_object_inline_componentStack_2473 =
9199
+ JSCompiler_object_inline_message_2470
9200
+ ? Error(JSCompiler_object_inline_message_2470)
9201
9201
  : Error(
9202
9202
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9203
9203
  );
9204
- JSCompiler_object_inline_componentStack_2469.stack =
9205
- JSCompiler_object_inline_stack_2468 || "";
9206
- JSCompiler_object_inline_componentStack_2469.digest =
9207
- JSCompiler_object_inline_digest_2467;
9208
- JSCompiler_object_inline_digest_2467 =
9204
+ JSCompiler_object_inline_componentStack_2473.stack =
9205
+ JSCompiler_object_inline_stack_2472 || "";
9206
+ JSCompiler_object_inline_componentStack_2473.digest =
9207
+ JSCompiler_object_inline_digest_2471;
9208
+ JSCompiler_object_inline_digest_2471 =
9209
9209
  void 0 === JSCompiler_temp ? null : JSCompiler_temp;
9210
- JSCompiler_object_inline_stack_2468 = {
9211
- value: JSCompiler_object_inline_componentStack_2469,
9210
+ JSCompiler_object_inline_stack_2472 = {
9211
+ value: JSCompiler_object_inline_componentStack_2473,
9212
9212
  source: null,
9213
- stack: JSCompiler_object_inline_digest_2467
9213
+ stack: JSCompiler_object_inline_digest_2471
9214
9214
  };
9215
- "string" === typeof JSCompiler_object_inline_digest_2467 &&
9215
+ "string" === typeof JSCompiler_object_inline_digest_2471 &&
9216
9216
  CapturedStacks.set(
9217
- JSCompiler_object_inline_componentStack_2469,
9218
- JSCompiler_object_inline_stack_2468
9217
+ JSCompiler_object_inline_componentStack_2473,
9218
+ JSCompiler_object_inline_stack_2472
9219
9219
  );
9220
- queueHydrationError(JSCompiler_object_inline_stack_2468);
9220
+ queueHydrationError(JSCompiler_object_inline_stack_2472);
9221
9221
  workInProgress = retrySuspenseComponentWithoutHydrating(
9222
9222
  current,
9223
9223
  workInProgress,
@@ -9231,44 +9231,44 @@
9231
9231
  renderLanes,
9232
9232
  !1
9233
9233
  ),
9234
- (JSCompiler_object_inline_digest_2467 =
9234
+ (JSCompiler_object_inline_digest_2471 =
9235
9235
  0 !== (renderLanes & current.childLanes)),
9236
- didReceiveUpdate || JSCompiler_object_inline_digest_2467)
9236
+ didReceiveUpdate || JSCompiler_object_inline_digest_2471)
9237
9237
  ) {
9238
- JSCompiler_object_inline_digest_2467 = workInProgressRoot;
9238
+ JSCompiler_object_inline_digest_2471 = workInProgressRoot;
9239
9239
  if (
9240
- null !== JSCompiler_object_inline_digest_2467 &&
9241
- ((JSCompiler_object_inline_stack_2468 = renderLanes & -renderLanes),
9242
- (JSCompiler_object_inline_stack_2468 =
9243
- 0 !== (JSCompiler_object_inline_stack_2468 & 42)
9240
+ null !== JSCompiler_object_inline_digest_2471 &&
9241
+ ((JSCompiler_object_inline_stack_2472 = renderLanes & -renderLanes),
9242
+ (JSCompiler_object_inline_stack_2472 =
9243
+ 0 !== (JSCompiler_object_inline_stack_2472 & 42)
9244
9244
  ? 1
9245
9245
  : getBumpedLaneForHydrationByLane(
9246
- JSCompiler_object_inline_stack_2468
9246
+ JSCompiler_object_inline_stack_2472
9247
9247
  )),
9248
- (JSCompiler_object_inline_stack_2468 =
9248
+ (JSCompiler_object_inline_stack_2472 =
9249
9249
  0 !==
9250
- (JSCompiler_object_inline_stack_2468 &
9251
- (JSCompiler_object_inline_digest_2467.suspendedLanes |
9250
+ (JSCompiler_object_inline_stack_2472 &
9251
+ (JSCompiler_object_inline_digest_2471.suspendedLanes |
9252
9252
  renderLanes))
9253
9253
  ? 0
9254
- : JSCompiler_object_inline_stack_2468),
9255
- 0 !== JSCompiler_object_inline_stack_2468 &&
9256
- JSCompiler_object_inline_stack_2468 !== prevState.retryLane)
9254
+ : JSCompiler_object_inline_stack_2472),
9255
+ 0 !== JSCompiler_object_inline_stack_2472 &&
9256
+ JSCompiler_object_inline_stack_2472 !== prevState.retryLane)
9257
9257
  )
9258
9258
  throw (
9259
- ((prevState.retryLane = JSCompiler_object_inline_stack_2468),
9259
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2472),
9260
9260
  enqueueConcurrentRenderForLane(
9261
9261
  current,
9262
- JSCompiler_object_inline_stack_2468
9262
+ JSCompiler_object_inline_stack_2472
9263
9263
  ),
9264
9264
  scheduleUpdateOnFiber(
9265
- JSCompiler_object_inline_digest_2467,
9265
+ JSCompiler_object_inline_digest_2471,
9266
9266
  current,
9267
- JSCompiler_object_inline_stack_2468
9267
+ JSCompiler_object_inline_stack_2472
9268
9268
  ),
9269
9269
  SelectiveHydrationException)
9270
9270
  );
9271
- JSCompiler_object_inline_message_2466.data ===
9271
+ JSCompiler_object_inline_message_2470.data ===
9272
9272
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9273
9273
  workInProgress = retrySuspenseComponentWithoutHydrating(
9274
9274
  current,
@@ -9276,14 +9276,14 @@
9276
9276
  renderLanes
9277
9277
  );
9278
9278
  } else
9279
- JSCompiler_object_inline_message_2466.data ===
9279
+ JSCompiler_object_inline_message_2470.data ===
9280
9280
  SUSPENSE_PENDING_START_DATA
9281
9281
  ? ((workInProgress.flags |= 192),
9282
9282
  (workInProgress.child = current.child),
9283
9283
  (workInProgress = null))
9284
9284
  : ((current = prevState.treeContext),
9285
9285
  (nextHydratableInstance = getNextHydratable(
9286
- JSCompiler_object_inline_message_2466.nextSibling
9286
+ JSCompiler_object_inline_message_2470.nextSibling
9287
9287
  )),
9288
9288
  (hydrationParentFiber = workInProgress),
9289
9289
  (isHydrating = !0),
@@ -9301,57 +9301,57 @@
9301
9301
  (treeContextProvider = workInProgress)),
9302
9302
  (workInProgress = mountSuspensePrimaryChildren(
9303
9303
  workInProgress,
9304
- JSCompiler_object_inline_stack_2468.children
9304
+ JSCompiler_object_inline_stack_2472.children
9305
9305
  )),
9306
9306
  (workInProgress.flags |= 4096));
9307
9307
  return workInProgress;
9308
9308
  }
9309
- if (JSCompiler_object_inline_componentStack_2469)
9309
+ if (JSCompiler_object_inline_componentStack_2473)
9310
9310
  return (
9311
9311
  reuseSuspenseHandlerOnStack(workInProgress),
9312
- (JSCompiler_object_inline_componentStack_2469 =
9313
- JSCompiler_object_inline_stack_2468.fallback),
9314
- (JSCompiler_object_inline_message_2466 = workInProgress.mode),
9312
+ (JSCompiler_object_inline_componentStack_2473 =
9313
+ JSCompiler_object_inline_stack_2472.fallback),
9314
+ (JSCompiler_object_inline_message_2470 = workInProgress.mode),
9315
9315
  (JSCompiler_temp = current.child),
9316
9316
  (instance = JSCompiler_temp.sibling),
9317
- (JSCompiler_object_inline_stack_2468 = createWorkInProgress(
9317
+ (JSCompiler_object_inline_stack_2472 = createWorkInProgress(
9318
9318
  JSCompiler_temp,
9319
9319
  {
9320
9320
  mode: "hidden",
9321
- children: JSCompiler_object_inline_stack_2468.children
9321
+ children: JSCompiler_object_inline_stack_2472.children
9322
9322
  }
9323
9323
  )),
9324
- (JSCompiler_object_inline_stack_2468.subtreeFlags =
9324
+ (JSCompiler_object_inline_stack_2472.subtreeFlags =
9325
9325
  JSCompiler_temp.subtreeFlags & 65011712),
9326
9326
  null !== instance
9327
- ? (JSCompiler_object_inline_componentStack_2469 =
9327
+ ? (JSCompiler_object_inline_componentStack_2473 =
9328
9328
  createWorkInProgress(
9329
9329
  instance,
9330
- JSCompiler_object_inline_componentStack_2469
9330
+ JSCompiler_object_inline_componentStack_2473
9331
9331
  ))
9332
- : ((JSCompiler_object_inline_componentStack_2469 =
9332
+ : ((JSCompiler_object_inline_componentStack_2473 =
9333
9333
  createFiberFromFragment(
9334
- JSCompiler_object_inline_componentStack_2469,
9335
- JSCompiler_object_inline_message_2466,
9334
+ JSCompiler_object_inline_componentStack_2473,
9335
+ JSCompiler_object_inline_message_2470,
9336
9336
  renderLanes,
9337
9337
  null
9338
9338
  )),
9339
- (JSCompiler_object_inline_componentStack_2469.flags |= 2)),
9340
- (JSCompiler_object_inline_componentStack_2469.return =
9339
+ (JSCompiler_object_inline_componentStack_2473.flags |= 2)),
9340
+ (JSCompiler_object_inline_componentStack_2473.return =
9341
9341
  workInProgress),
9342
- (JSCompiler_object_inline_stack_2468.return = workInProgress),
9343
- (JSCompiler_object_inline_stack_2468.sibling =
9344
- JSCompiler_object_inline_componentStack_2469),
9345
- (workInProgress.child = JSCompiler_object_inline_stack_2468),
9346
- (JSCompiler_object_inline_stack_2468 =
9347
- JSCompiler_object_inline_componentStack_2469),
9348
- (JSCompiler_object_inline_componentStack_2469 = workInProgress.child),
9349
- (JSCompiler_object_inline_message_2466 = current.child.memoizedState),
9350
- null === JSCompiler_object_inline_message_2466
9351
- ? (JSCompiler_object_inline_message_2466 =
9342
+ (JSCompiler_object_inline_stack_2472.return = workInProgress),
9343
+ (JSCompiler_object_inline_stack_2472.sibling =
9344
+ JSCompiler_object_inline_componentStack_2473),
9345
+ (workInProgress.child = JSCompiler_object_inline_stack_2472),
9346
+ (JSCompiler_object_inline_stack_2472 =
9347
+ JSCompiler_object_inline_componentStack_2473),
9348
+ (JSCompiler_object_inline_componentStack_2473 = workInProgress.child),
9349
+ (JSCompiler_object_inline_message_2470 = current.child.memoizedState),
9350
+ null === JSCompiler_object_inline_message_2470
9351
+ ? (JSCompiler_object_inline_message_2470 =
9352
9352
  mountSuspenseOffscreenState(renderLanes))
9353
9353
  : ((JSCompiler_temp =
9354
- JSCompiler_object_inline_message_2466.cachePool),
9354
+ JSCompiler_object_inline_message_2470.cachePool),
9355
9355
  null !== JSCompiler_temp
9356
9356
  ? ((instance = CacheContext._currentValue),
9357
9357
  (JSCompiler_temp =
@@ -9359,37 +9359,37 @@
9359
9359
  ? { parent: instance, pool: instance }
9360
9360
  : JSCompiler_temp))
9361
9361
  : (JSCompiler_temp = getSuspendedCache()),
9362
- (JSCompiler_object_inline_message_2466 = {
9362
+ (JSCompiler_object_inline_message_2470 = {
9363
9363
  baseLanes:
9364
- JSCompiler_object_inline_message_2466.baseLanes | renderLanes,
9364
+ JSCompiler_object_inline_message_2470.baseLanes | renderLanes,
9365
9365
  cachePool: JSCompiler_temp
9366
9366
  })),
9367
- (JSCompiler_object_inline_componentStack_2469.memoizedState =
9368
- JSCompiler_object_inline_message_2466),
9369
- (JSCompiler_object_inline_componentStack_2469.childLanes =
9367
+ (JSCompiler_object_inline_componentStack_2473.memoizedState =
9368
+ JSCompiler_object_inline_message_2470),
9369
+ (JSCompiler_object_inline_componentStack_2473.childLanes =
9370
9370
  getRemainingWorkInPrimaryTree(
9371
9371
  current,
9372
- JSCompiler_object_inline_digest_2467,
9372
+ JSCompiler_object_inline_digest_2471,
9373
9373
  renderLanes
9374
9374
  )),
9375
9375
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9376
- JSCompiler_object_inline_stack_2468
9376
+ JSCompiler_object_inline_stack_2472
9377
9377
  );
9378
9378
  pushPrimaryTreeSuspenseHandler(workInProgress);
9379
9379
  renderLanes = current.child;
9380
9380
  current = renderLanes.sibling;
9381
9381
  renderLanes = createWorkInProgress(renderLanes, {
9382
9382
  mode: "visible",
9383
- children: JSCompiler_object_inline_stack_2468.children
9383
+ children: JSCompiler_object_inline_stack_2472.children
9384
9384
  });
9385
9385
  renderLanes.return = workInProgress;
9386
9386
  renderLanes.sibling = null;
9387
9387
  null !== current &&
9388
- ((JSCompiler_object_inline_digest_2467 = workInProgress.deletions),
9389
- null === JSCompiler_object_inline_digest_2467
9388
+ ((JSCompiler_object_inline_digest_2471 = workInProgress.deletions),
9389
+ null === JSCompiler_object_inline_digest_2471
9390
9390
  ? ((workInProgress.deletions = [current]),
9391
9391
  (workInProgress.flags |= 16))
9392
- : JSCompiler_object_inline_digest_2467.push(current));
9392
+ : JSCompiler_object_inline_digest_2471.push(current));
9393
9393
  workInProgress.child = renderLanes;
9394
9394
  workInProgress.memoizedState = null;
9395
9395
  return renderLanes;
@@ -13493,14 +13493,18 @@
13493
13493
  }
13494
13494
  function emitPendingHydrationWarnings() {
13495
13495
  var diffRoot = hydrationDiffRootDEV;
13496
- null !== diffRoot &&
13497
- ((hydrationDiffRootDEV = null),
13498
- (diffRoot = describeDiff(diffRoot)),
13499
- console.error(
13500
- "A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\n%s%s",
13501
- "https://react.dev/link/hydration-mismatch",
13502
- diffRoot
13503
- ));
13496
+ if (null !== diffRoot) {
13497
+ hydrationDiffRootDEV = null;
13498
+ for (var diff = describeDiff(diffRoot); 0 < diffRoot.children.length; )
13499
+ diffRoot = diffRoot.children[0];
13500
+ runWithFiberInDEV(diffRoot.fiber, function () {
13501
+ console.error(
13502
+ "A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\n%s%s",
13503
+ "https://react.dev/link/hydration-mismatch",
13504
+ diff
13505
+ );
13506
+ });
13507
+ }
13504
13508
  }
13505
13509
  function markUpdate(workInProgress) {
13506
13510
  workInProgress.flags |= 4;
@@ -15672,30 +15676,24 @@
15672
15676
  var prevExecutionContext = executionContext;
15673
15677
  executionContext |= CommitContext;
15674
15678
  try {
15675
- var rootContainer = root.containerInfo,
15676
- documentElement =
15679
+ var rootClone = root.gestureClone;
15680
+ if (null !== rootClone) {
15681
+ root.gestureClone = null;
15682
+ var rootContainer = root.containerInfo;
15683
+ var containerInstance =
15677
15684
  9 === rootContainer.nodeType
15678
- ? rootContainer.documentElement
15679
- : rootContainer.ownerDocument.documentElement;
15680
- null !== documentElement &&
15681
- "" === documentElement.style.viewTransitionName &&
15682
- ((documentElement.style.viewTransitionName = "none"),
15683
- documentElement.animate(
15684
- { opacity: [0, 0], pointerEvents: ["none", "none"] },
15685
- {
15686
- duration: 0,
15687
- fill: "forwards",
15688
- pseudoElement: "::view-transition-group(root)"
15689
- }
15690
- ),
15691
- documentElement.animate(
15692
- { width: [0, 0], height: [0, 0] },
15693
- {
15694
- duration: 0,
15695
- fill: "forwards",
15696
- pseudoElement: "::view-transition"
15697
- }
15698
- ));
15685
+ ? rootContainer.body
15686
+ : "HTML" === rootContainer.nodeName
15687
+ ? rootContainer.ownerDocument.body
15688
+ : rootContainer;
15689
+ var containerParent = containerInstance.parentNode;
15690
+ if (null === containerParent)
15691
+ throw Error(
15692
+ "Cannot use a useSwipeTransition() in a detached root."
15693
+ );
15694
+ containerParent.removeChild(rootClone);
15695
+ containerInstance.style.viewTransitionName = "root";
15696
+ }
15699
15697
  } finally {
15700
15698
  (executionContext = prevExecutionContext),
15701
15699
  (ReactDOMSharedInternals.p = previousPriority),
@@ -15736,11 +15734,16 @@
15736
15734
  var prevExecutionContext = executionContext;
15737
15735
  executionContext |= CommitContext;
15738
15736
  try {
15739
- var rootContainer = root.containerInfo,
15740
- documentElement =
15741
- 9 === rootContainer.nodeType
15742
- ? rootContainer.documentElement
15743
- : rootContainer.ownerDocument.documentElement;
15737
+ var rootContainer = root.containerInfo;
15738
+ var containerInstance =
15739
+ 9 === rootContainer.nodeType
15740
+ ? rootContainer.body
15741
+ : "HTML" === rootContainer.nodeName
15742
+ ? rootContainer.ownerDocument.body
15743
+ : rootContainer;
15744
+ "root" === containerInstance.style.viewTransitionName &&
15745
+ (containerInstance.style.viewTransitionName = "");
15746
+ var documentElement = containerInstance.ownerDocument.documentElement;
15744
15747
  null !== documentElement &&
15745
15748
  "none" === documentElement.style.viewTransitionName &&
15746
15749
  (documentElement.style.viewTransitionName = "");
@@ -17983,6 +17986,8 @@
17983
17986
  }
17984
17987
  return;
17985
17988
  case "dialog":
17989
+ listenToNonDelegatedEvent("beforetoggle", domElement);
17990
+ listenToNonDelegatedEvent("toggle", domElement);
17986
17991
  listenToNonDelegatedEvent("cancel", domElement);
17987
17992
  listenToNonDelegatedEvent("close", domElement);
17988
17993
  break;
@@ -24835,11 +24840,11 @@
24835
24840
  };
24836
24841
  (function () {
24837
24842
  var isomorphicReactPackageVersion = React.version;
24838
- if ("19.1.0-canary-443b7ff2-20250303" !== isomorphicReactPackageVersion)
24843
+ if ("19.1.0-canary-029e8bd6-20250306" !== isomorphicReactPackageVersion)
24839
24844
  throw Error(
24840
24845
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
24841
24846
  (isomorphicReactPackageVersion +
24842
- "\n - react-dom: 19.1.0-canary-443b7ff2-20250303\nLearn more: https://react.dev/warnings/version-mismatch")
24847
+ "\n - react-dom: 19.1.0-canary-029e8bd6-20250306\nLearn more: https://react.dev/warnings/version-mismatch")
24843
24848
  );
24844
24849
  })();
24845
24850
  ("function" === typeof Map &&
@@ -24876,10 +24881,10 @@
24876
24881
  !(function () {
24877
24882
  var internals = {
24878
24883
  bundleType: 1,
24879
- version: "19.1.0-canary-443b7ff2-20250303",
24884
+ version: "19.1.0-canary-029e8bd6-20250306",
24880
24885
  rendererPackageName: "react-dom",
24881
24886
  currentDispatcherRef: ReactSharedInternals,
24882
- reconcilerVersion: "19.1.0-canary-443b7ff2-20250303"
24887
+ reconcilerVersion: "19.1.0-canary-029e8bd6-20250306"
24883
24888
  };
24884
24889
  internals.overrideHookState = overrideHookState;
24885
24890
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25023,7 +25028,7 @@
25023
25028
  listenToAllSupportedEvents(container);
25024
25029
  return new ReactDOMHydrationRoot(initialChildren);
25025
25030
  };
25026
- exports.version = "19.1.0-canary-443b7ff2-20250303";
25031
+ exports.version = "19.1.0-canary-029e8bd6-20250306";
25027
25032
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25028
25033
  "function" ===
25029
25034
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&