react-dom 19.2.0-canary-63779030-20250328 → 19.2.0-canary-e5dd82a7-20250401
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/react-dom-client.development.js +1074 -1019
- package/cjs/react-dom-client.production.js +231 -219
- package/cjs/react-dom-profiling.development.js +1074 -1019
- package/cjs/react-dom-profiling.profiling.js +240 -228
- package/cjs/react-dom-server-legacy.browser.development.js +1 -1
- package/cjs/react-dom-server-legacy.browser.production.js +1 -1
- package/cjs/react-dom-server-legacy.node.development.js +1 -1
- package/cjs/react-dom-server-legacy.node.production.js +1 -1
- package/cjs/react-dom-server.browser.development.js +3 -3
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +3 -3
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +3 -3
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +3 -3
- package/cjs/react-dom-server.node.production.js +3 -3
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
@@ -308,6 +308,194 @@ function popHostContext(fiber) {
|
|
308
308
|
(pop(hostTransitionProviderCursor),
|
309
309
|
(HostTransitionContext._currentValue = sharedNotPendingObject));
|
310
310
|
}
|
311
|
+
var prefix, suffix;
|
312
|
+
function describeBuiltInComponentFrame(name) {
|
313
|
+
if (void 0 === prefix)
|
314
|
+
try {
|
315
|
+
throw Error();
|
316
|
+
} catch (x) {
|
317
|
+
var match = x.stack.trim().match(/\n( *(at )?)/);
|
318
|
+
prefix = (match && match[1]) || "";
|
319
|
+
suffix =
|
320
|
+
-1 < x.stack.indexOf("\n at")
|
321
|
+
? " (<anonymous>)"
|
322
|
+
: -1 < x.stack.indexOf("@")
|
323
|
+
? "@unknown:0:0"
|
324
|
+
: "";
|
325
|
+
}
|
326
|
+
return "\n" + prefix + name + suffix;
|
327
|
+
}
|
328
|
+
var reentry = !1;
|
329
|
+
function describeNativeComponentFrame(fn, construct) {
|
330
|
+
if (!fn || reentry) return "";
|
331
|
+
reentry = !0;
|
332
|
+
var previousPrepareStackTrace = Error.prepareStackTrace;
|
333
|
+
Error.prepareStackTrace = void 0;
|
334
|
+
try {
|
335
|
+
var RunInRootFrame = {
|
336
|
+
DetermineComponentFrameRoot: function () {
|
337
|
+
try {
|
338
|
+
if (construct) {
|
339
|
+
var Fake = function () {
|
340
|
+
throw Error();
|
341
|
+
};
|
342
|
+
Object.defineProperty(Fake.prototype, "props", {
|
343
|
+
set: function () {
|
344
|
+
throw Error();
|
345
|
+
}
|
346
|
+
});
|
347
|
+
if ("object" === typeof Reflect && Reflect.construct) {
|
348
|
+
try {
|
349
|
+
Reflect.construct(Fake, []);
|
350
|
+
} catch (x) {
|
351
|
+
var control = x;
|
352
|
+
}
|
353
|
+
Reflect.construct(fn, [], Fake);
|
354
|
+
} else {
|
355
|
+
try {
|
356
|
+
Fake.call();
|
357
|
+
} catch (x$1) {
|
358
|
+
control = x$1;
|
359
|
+
}
|
360
|
+
fn.call(Fake.prototype);
|
361
|
+
}
|
362
|
+
} else {
|
363
|
+
try {
|
364
|
+
throw Error();
|
365
|
+
} catch (x$2) {
|
366
|
+
control = x$2;
|
367
|
+
}
|
368
|
+
(Fake = fn()) &&
|
369
|
+
"function" === typeof Fake.catch &&
|
370
|
+
Fake.catch(function () {});
|
371
|
+
}
|
372
|
+
} catch (sample) {
|
373
|
+
if (sample && control && "string" === typeof sample.stack)
|
374
|
+
return [sample.stack, control.stack];
|
375
|
+
}
|
376
|
+
return [null, null];
|
377
|
+
}
|
378
|
+
};
|
379
|
+
RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
380
|
+
"DetermineComponentFrameRoot";
|
381
|
+
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
382
|
+
RunInRootFrame.DetermineComponentFrameRoot,
|
383
|
+
"name"
|
384
|
+
);
|
385
|
+
namePropDescriptor &&
|
386
|
+
namePropDescriptor.configurable &&
|
387
|
+
Object.defineProperty(
|
388
|
+
RunInRootFrame.DetermineComponentFrameRoot,
|
389
|
+
"name",
|
390
|
+
{ value: "DetermineComponentFrameRoot" }
|
391
|
+
);
|
392
|
+
var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(),
|
393
|
+
sampleStack = _RunInRootFrame$Deter[0],
|
394
|
+
controlStack = _RunInRootFrame$Deter[1];
|
395
|
+
if (sampleStack && controlStack) {
|
396
|
+
var sampleLines = sampleStack.split("\n"),
|
397
|
+
controlLines = controlStack.split("\n");
|
398
|
+
for (
|
399
|
+
namePropDescriptor = RunInRootFrame = 0;
|
400
|
+
RunInRootFrame < sampleLines.length &&
|
401
|
+
!sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot");
|
402
|
+
|
403
|
+
)
|
404
|
+
RunInRootFrame++;
|
405
|
+
for (
|
406
|
+
;
|
407
|
+
namePropDescriptor < controlLines.length &&
|
408
|
+
!controlLines[namePropDescriptor].includes(
|
409
|
+
"DetermineComponentFrameRoot"
|
410
|
+
);
|
411
|
+
|
412
|
+
)
|
413
|
+
namePropDescriptor++;
|
414
|
+
if (
|
415
|
+
RunInRootFrame === sampleLines.length ||
|
416
|
+
namePropDescriptor === controlLines.length
|
417
|
+
)
|
418
|
+
for (
|
419
|
+
RunInRootFrame = sampleLines.length - 1,
|
420
|
+
namePropDescriptor = controlLines.length - 1;
|
421
|
+
1 <= RunInRootFrame &&
|
422
|
+
0 <= namePropDescriptor &&
|
423
|
+
sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor];
|
424
|
+
|
425
|
+
)
|
426
|
+
namePropDescriptor--;
|
427
|
+
for (
|
428
|
+
;
|
429
|
+
1 <= RunInRootFrame && 0 <= namePropDescriptor;
|
430
|
+
RunInRootFrame--, namePropDescriptor--
|
431
|
+
)
|
432
|
+
if (sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) {
|
433
|
+
if (1 !== RunInRootFrame || 1 !== namePropDescriptor) {
|
434
|
+
do
|
435
|
+
if (
|
436
|
+
(RunInRootFrame--,
|
437
|
+
namePropDescriptor--,
|
438
|
+
0 > namePropDescriptor ||
|
439
|
+
sampleLines[RunInRootFrame] !==
|
440
|
+
controlLines[namePropDescriptor])
|
441
|
+
) {
|
442
|
+
var frame =
|
443
|
+
"\n" +
|
444
|
+
sampleLines[RunInRootFrame].replace(" at new ", " at ");
|
445
|
+
fn.displayName &&
|
446
|
+
frame.includes("<anonymous>") &&
|
447
|
+
(frame = frame.replace("<anonymous>", fn.displayName));
|
448
|
+
return frame;
|
449
|
+
}
|
450
|
+
while (1 <= RunInRootFrame && 0 <= namePropDescriptor);
|
451
|
+
}
|
452
|
+
break;
|
453
|
+
}
|
454
|
+
}
|
455
|
+
} finally {
|
456
|
+
(reentry = !1), (Error.prepareStackTrace = previousPrepareStackTrace);
|
457
|
+
}
|
458
|
+
return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : "")
|
459
|
+
? describeBuiltInComponentFrame(previousPrepareStackTrace)
|
460
|
+
: "";
|
461
|
+
}
|
462
|
+
function describeFiber(fiber) {
|
463
|
+
switch (fiber.tag) {
|
464
|
+
case 26:
|
465
|
+
case 27:
|
466
|
+
case 5:
|
467
|
+
return describeBuiltInComponentFrame(fiber.type);
|
468
|
+
case 16:
|
469
|
+
return describeBuiltInComponentFrame("Lazy");
|
470
|
+
case 13:
|
471
|
+
return describeBuiltInComponentFrame("Suspense");
|
472
|
+
case 19:
|
473
|
+
return describeBuiltInComponentFrame("SuspenseList");
|
474
|
+
case 0:
|
475
|
+
case 15:
|
476
|
+
return describeNativeComponentFrame(fiber.type, !1);
|
477
|
+
case 11:
|
478
|
+
return describeNativeComponentFrame(fiber.type.render, !1);
|
479
|
+
case 1:
|
480
|
+
return describeNativeComponentFrame(fiber.type, !0);
|
481
|
+
case 31:
|
482
|
+
return describeBuiltInComponentFrame("Activity");
|
483
|
+
default:
|
484
|
+
return "";
|
485
|
+
}
|
486
|
+
}
|
487
|
+
function getStackByFiberInDevAndProd(workInProgress) {
|
488
|
+
try {
|
489
|
+
var info = "";
|
490
|
+
do
|
491
|
+
(info += describeFiber(workInProgress)),
|
492
|
+
(workInProgress = workInProgress.return);
|
493
|
+
while (workInProgress);
|
494
|
+
return info;
|
495
|
+
} catch (x) {
|
496
|
+
return "\nError generating stack: " + x.message + "\n" + x.stack;
|
497
|
+
}
|
498
|
+
}
|
311
499
|
var hasOwnProperty = Object.prototype.hasOwnProperty,
|
312
500
|
scheduleCallback$3 = Scheduler.unstable_scheduleCallback,
|
313
501
|
cancelCallback$1 = Scheduler.unstable_cancelCallback,
|
@@ -529,18 +717,18 @@ function markRootFinished(
|
|
529
717
|
0 < remainingLanes;
|
530
718
|
|
531
719
|
) {
|
532
|
-
var index$
|
533
|
-
lane = 1 << index$
|
534
|
-
entanglements[index$
|
535
|
-
expirationTimes[index$
|
536
|
-
var hiddenUpdatesForLane = hiddenUpdates[index$
|
720
|
+
var index$7 = 31 - clz32(remainingLanes),
|
721
|
+
lane = 1 << index$7;
|
722
|
+
entanglements[index$7] = 0;
|
723
|
+
expirationTimes[index$7] = -1;
|
724
|
+
var hiddenUpdatesForLane = hiddenUpdates[index$7];
|
537
725
|
if (null !== hiddenUpdatesForLane)
|
538
726
|
for (
|
539
|
-
hiddenUpdates[index$
|
540
|
-
index$
|
541
|
-
index$
|
727
|
+
hiddenUpdates[index$7] = null, index$7 = 0;
|
728
|
+
index$7 < hiddenUpdatesForLane.length;
|
729
|
+
index$7++
|
542
730
|
) {
|
543
|
-
var update = hiddenUpdatesForLane[index$
|
731
|
+
var update = hiddenUpdatesForLane[index$7];
|
544
732
|
null !== update && (update.lane &= -536870913);
|
545
733
|
}
|
546
734
|
remainingLanes &= ~lane;
|
@@ -565,10 +753,10 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {
|
|
565
753
|
function markRootEntangled(root, entangledLanes) {
|
566
754
|
var rootEntangledLanes = (root.entangledLanes |= entangledLanes);
|
567
755
|
for (root = root.entanglements; rootEntangledLanes; ) {
|
568
|
-
var index$
|
569
|
-
lane = 1 << index$
|
570
|
-
(lane & entangledLanes) | (root[index$
|
571
|
-
(root[index$
|
756
|
+
var index$8 = 31 - clz32(rootEntangledLanes),
|
757
|
+
lane = 1 << index$8;
|
758
|
+
(lane & entangledLanes) | (root[index$8] & entangledLanes) &&
|
759
|
+
(root[index$8] |= entangledLanes);
|
572
760
|
rootEntangledLanes &= ~lane;
|
573
761
|
}
|
574
762
|
}
|
@@ -752,8 +940,8 @@ function setValueForAttribute(node, name, value) {
|
|
752
940
|
node.removeAttribute(name);
|
753
941
|
return;
|
754
942
|
case "boolean":
|
755
|
-
var prefix$
|
756
|
-
if ("data-" !== prefix$
|
943
|
+
var prefix$10 = name.toLowerCase().slice(0, 5);
|
944
|
+
if ("data-" !== prefix$10 && "aria-" !== prefix$10) {
|
757
945
|
node.removeAttribute(name);
|
758
946
|
return;
|
759
947
|
}
|
@@ -789,194 +977,6 @@ function setValueForNamespacedAttribute(node, namespace, name, value) {
|
|
789
977
|
node.setAttributeNS(namespace, name, "" + value);
|
790
978
|
}
|
791
979
|
}
|
792
|
-
var prefix, suffix;
|
793
|
-
function describeBuiltInComponentFrame(name) {
|
794
|
-
if (void 0 === prefix)
|
795
|
-
try {
|
796
|
-
throw Error();
|
797
|
-
} catch (x) {
|
798
|
-
var match = x.stack.trim().match(/\n( *(at )?)/);
|
799
|
-
prefix = (match && match[1]) || "";
|
800
|
-
suffix =
|
801
|
-
-1 < x.stack.indexOf("\n at")
|
802
|
-
? " (<anonymous>)"
|
803
|
-
: -1 < x.stack.indexOf("@")
|
804
|
-
? "@unknown:0:0"
|
805
|
-
: "";
|
806
|
-
}
|
807
|
-
return "\n" + prefix + name + suffix;
|
808
|
-
}
|
809
|
-
var reentry = !1;
|
810
|
-
function describeNativeComponentFrame(fn, construct) {
|
811
|
-
if (!fn || reentry) return "";
|
812
|
-
reentry = !0;
|
813
|
-
var previousPrepareStackTrace = Error.prepareStackTrace;
|
814
|
-
Error.prepareStackTrace = void 0;
|
815
|
-
try {
|
816
|
-
var RunInRootFrame = {
|
817
|
-
DetermineComponentFrameRoot: function () {
|
818
|
-
try {
|
819
|
-
if (construct) {
|
820
|
-
var Fake = function () {
|
821
|
-
throw Error();
|
822
|
-
};
|
823
|
-
Object.defineProperty(Fake.prototype, "props", {
|
824
|
-
set: function () {
|
825
|
-
throw Error();
|
826
|
-
}
|
827
|
-
});
|
828
|
-
if ("object" === typeof Reflect && Reflect.construct) {
|
829
|
-
try {
|
830
|
-
Reflect.construct(Fake, []);
|
831
|
-
} catch (x) {
|
832
|
-
var control = x;
|
833
|
-
}
|
834
|
-
Reflect.construct(fn, [], Fake);
|
835
|
-
} else {
|
836
|
-
try {
|
837
|
-
Fake.call();
|
838
|
-
} catch (x$9) {
|
839
|
-
control = x$9;
|
840
|
-
}
|
841
|
-
fn.call(Fake.prototype);
|
842
|
-
}
|
843
|
-
} else {
|
844
|
-
try {
|
845
|
-
throw Error();
|
846
|
-
} catch (x$10) {
|
847
|
-
control = x$10;
|
848
|
-
}
|
849
|
-
(Fake = fn()) &&
|
850
|
-
"function" === typeof Fake.catch &&
|
851
|
-
Fake.catch(function () {});
|
852
|
-
}
|
853
|
-
} catch (sample) {
|
854
|
-
if (sample && control && "string" === typeof sample.stack)
|
855
|
-
return [sample.stack, control.stack];
|
856
|
-
}
|
857
|
-
return [null, null];
|
858
|
-
}
|
859
|
-
};
|
860
|
-
RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
861
|
-
"DetermineComponentFrameRoot";
|
862
|
-
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
863
|
-
RunInRootFrame.DetermineComponentFrameRoot,
|
864
|
-
"name"
|
865
|
-
);
|
866
|
-
namePropDescriptor &&
|
867
|
-
namePropDescriptor.configurable &&
|
868
|
-
Object.defineProperty(
|
869
|
-
RunInRootFrame.DetermineComponentFrameRoot,
|
870
|
-
"name",
|
871
|
-
{ value: "DetermineComponentFrameRoot" }
|
872
|
-
);
|
873
|
-
var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(),
|
874
|
-
sampleStack = _RunInRootFrame$Deter[0],
|
875
|
-
controlStack = _RunInRootFrame$Deter[1];
|
876
|
-
if (sampleStack && controlStack) {
|
877
|
-
var sampleLines = sampleStack.split("\n"),
|
878
|
-
controlLines = controlStack.split("\n");
|
879
|
-
for (
|
880
|
-
namePropDescriptor = RunInRootFrame = 0;
|
881
|
-
RunInRootFrame < sampleLines.length &&
|
882
|
-
!sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot");
|
883
|
-
|
884
|
-
)
|
885
|
-
RunInRootFrame++;
|
886
|
-
for (
|
887
|
-
;
|
888
|
-
namePropDescriptor < controlLines.length &&
|
889
|
-
!controlLines[namePropDescriptor].includes(
|
890
|
-
"DetermineComponentFrameRoot"
|
891
|
-
);
|
892
|
-
|
893
|
-
)
|
894
|
-
namePropDescriptor++;
|
895
|
-
if (
|
896
|
-
RunInRootFrame === sampleLines.length ||
|
897
|
-
namePropDescriptor === controlLines.length
|
898
|
-
)
|
899
|
-
for (
|
900
|
-
RunInRootFrame = sampleLines.length - 1,
|
901
|
-
namePropDescriptor = controlLines.length - 1;
|
902
|
-
1 <= RunInRootFrame &&
|
903
|
-
0 <= namePropDescriptor &&
|
904
|
-
sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor];
|
905
|
-
|
906
|
-
)
|
907
|
-
namePropDescriptor--;
|
908
|
-
for (
|
909
|
-
;
|
910
|
-
1 <= RunInRootFrame && 0 <= namePropDescriptor;
|
911
|
-
RunInRootFrame--, namePropDescriptor--
|
912
|
-
)
|
913
|
-
if (sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) {
|
914
|
-
if (1 !== RunInRootFrame || 1 !== namePropDescriptor) {
|
915
|
-
do
|
916
|
-
if (
|
917
|
-
(RunInRootFrame--,
|
918
|
-
namePropDescriptor--,
|
919
|
-
0 > namePropDescriptor ||
|
920
|
-
sampleLines[RunInRootFrame] !==
|
921
|
-
controlLines[namePropDescriptor])
|
922
|
-
) {
|
923
|
-
var frame =
|
924
|
-
"\n" +
|
925
|
-
sampleLines[RunInRootFrame].replace(" at new ", " at ");
|
926
|
-
fn.displayName &&
|
927
|
-
frame.includes("<anonymous>") &&
|
928
|
-
(frame = frame.replace("<anonymous>", fn.displayName));
|
929
|
-
return frame;
|
930
|
-
}
|
931
|
-
while (1 <= RunInRootFrame && 0 <= namePropDescriptor);
|
932
|
-
}
|
933
|
-
break;
|
934
|
-
}
|
935
|
-
}
|
936
|
-
} finally {
|
937
|
-
(reentry = !1), (Error.prepareStackTrace = previousPrepareStackTrace);
|
938
|
-
}
|
939
|
-
return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : "")
|
940
|
-
? describeBuiltInComponentFrame(previousPrepareStackTrace)
|
941
|
-
: "";
|
942
|
-
}
|
943
|
-
function describeFiber(fiber) {
|
944
|
-
switch (fiber.tag) {
|
945
|
-
case 26:
|
946
|
-
case 27:
|
947
|
-
case 5:
|
948
|
-
return describeBuiltInComponentFrame(fiber.type);
|
949
|
-
case 16:
|
950
|
-
return describeBuiltInComponentFrame("Lazy");
|
951
|
-
case 13:
|
952
|
-
return describeBuiltInComponentFrame("Suspense");
|
953
|
-
case 19:
|
954
|
-
return describeBuiltInComponentFrame("SuspenseList");
|
955
|
-
case 0:
|
956
|
-
case 15:
|
957
|
-
return describeNativeComponentFrame(fiber.type, !1);
|
958
|
-
case 11:
|
959
|
-
return describeNativeComponentFrame(fiber.type.render, !1);
|
960
|
-
case 1:
|
961
|
-
return describeNativeComponentFrame(fiber.type, !0);
|
962
|
-
case 31:
|
963
|
-
return describeBuiltInComponentFrame("Activity");
|
964
|
-
default:
|
965
|
-
return "";
|
966
|
-
}
|
967
|
-
}
|
968
|
-
function getStackByFiberInDevAndProd(workInProgress) {
|
969
|
-
try {
|
970
|
-
var info = "";
|
971
|
-
do
|
972
|
-
(info += describeFiber(workInProgress)),
|
973
|
-
(workInProgress = workInProgress.return);
|
974
|
-
while (workInProgress);
|
975
|
-
return info;
|
976
|
-
} catch (x) {
|
977
|
-
return "\nError generating stack: " + x.message + "\n" + x.stack;
|
978
|
-
}
|
979
|
-
}
|
980
980
|
function getToStringValue(value) {
|
981
981
|
switch (typeof value) {
|
982
982
|
case "bigint":
|
@@ -4524,6 +4524,7 @@ function updateReducerImpl(hook, current, reducer) {
|
|
4524
4524
|
{
|
4525
4525
|
lane: 0,
|
4526
4526
|
revertLane: 0,
|
4527
|
+
gesture: null,
|
4527
4528
|
action: update.action,
|
4528
4529
|
hasEagerState: update.hasEagerState,
|
4529
4530
|
eagerState: update.eagerState,
|
@@ -4540,6 +4541,7 @@ function updateReducerImpl(hook, current, reducer) {
|
|
4540
4541
|
(updateLane = {
|
4541
4542
|
lane: 0,
|
4542
4543
|
revertLane: update.revertLane,
|
4544
|
+
gesture: null,
|
4543
4545
|
action: update.action,
|
4544
4546
|
hasEagerState: update.hasEagerState,
|
4545
4547
|
eagerState: update.eagerState,
|
@@ -4561,6 +4563,7 @@ function updateReducerImpl(hook, current, reducer) {
|
|
4561
4563
|
(revertLane = {
|
4562
4564
|
lane: updateLane,
|
4563
4565
|
revertLane: update.revertLane,
|
4566
|
+
gesture: update.gesture,
|
4564
4567
|
action: update.action,
|
4565
4568
|
hasEagerState: update.hasEagerState,
|
4566
4569
|
eagerState: update.eagerState,
|
@@ -4776,7 +4779,10 @@ function runActionStateAction(actionQueue, node) {
|
|
4776
4779
|
} catch (error) {
|
4777
4780
|
onActionError(actionQueue, node, error);
|
4778
4781
|
} finally {
|
4779
|
-
|
4782
|
+
null !== prevTransition &&
|
4783
|
+
null !== currentTransition.types &&
|
4784
|
+
(prevTransition.types = currentTransition.types),
|
4785
|
+
(ReactSharedInternals.T = prevTransition);
|
4780
4786
|
}
|
4781
4787
|
} else
|
4782
4788
|
try {
|
@@ -5150,6 +5156,9 @@ function startTransition(fiber, queue, pendingState, finishedState, callback) {
|
|
5150
5156
|
);
|
5151
5157
|
} finally {
|
5152
5158
|
(ReactDOMSharedInternals.p = previousPriority),
|
5159
|
+
null !== prevTransition &&
|
5160
|
+
null !== currentTransition.types &&
|
5161
|
+
(prevTransition.types = currentTransition.types),
|
5153
5162
|
(ReactSharedInternals.T = prevTransition);
|
5154
5163
|
}
|
5155
5164
|
}
|
@@ -5241,6 +5250,7 @@ function dispatchReducerAction(fiber, queue, action) {
|
|
5241
5250
|
action = {
|
5242
5251
|
lane: lane,
|
5243
5252
|
revertLane: 0,
|
5253
|
+
gesture: null,
|
5244
5254
|
action: action,
|
5245
5255
|
hasEagerState: !1,
|
5246
5256
|
eagerState: null,
|
@@ -5261,6 +5271,7 @@ function dispatchSetStateInternal(fiber, queue, action, lane) {
|
|
5261
5271
|
var update = {
|
5262
5272
|
lane: lane,
|
5263
5273
|
revertLane: 0,
|
5274
|
+
gesture: null,
|
5264
5275
|
action: action,
|
5265
5276
|
hasEagerState: !1,
|
5266
5277
|
eagerState: null,
|
@@ -5302,6 +5313,7 @@ function dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) {
|
|
5302
5313
|
action = {
|
5303
5314
|
lane: 2,
|
5304
5315
|
revertLane: requestTransitionLane(),
|
5316
|
+
gesture: null,
|
5305
5317
|
action: action,
|
5306
5318
|
hasEagerState: !1,
|
5307
5319
|
eagerState: null,
|
@@ -10551,9 +10563,9 @@ function markRootSuspended(
|
|
10551
10563
|
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
|
10552
10564
|
didAttemptEntireTree = root.expirationTimes;
|
10553
10565
|
for (var lanes = suspendedLanes; 0 < lanes; ) {
|
10554
|
-
var index$
|
10555
|
-
lane = 1 << index$
|
10556
|
-
didAttemptEntireTree[index$
|
10566
|
+
var index$6 = 31 - clz32(lanes),
|
10567
|
+
lane = 1 << index$6;
|
10568
|
+
didAttemptEntireTree[index$6] = -1;
|
10557
10569
|
lanes &= ~lane;
|
10558
10570
|
}
|
10559
10571
|
0 !== spawnedLane &&
|
@@ -10615,9 +10627,9 @@ function prepareFreshStack(root, lanes) {
|
|
10615
10627
|
0 < allEntangledLanes;
|
10616
10628
|
|
10617
10629
|
) {
|
10618
|
-
var index$
|
10619
|
-
lane = 1 << index$
|
10620
|
-
lanes |= root[index$
|
10630
|
+
var index$4 = 31 - clz32(allEntangledLanes),
|
10631
|
+
lane = 1 << index$4;
|
10632
|
+
lanes |= root[index$4];
|
10621
10633
|
allEntangledLanes &= ~lane;
|
10622
10634
|
}
|
10623
10635
|
entangledRenderLanes = lanes;
|
@@ -11553,12 +11565,12 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
|
11553
11565
|
0 < lanes;
|
11554
11566
|
|
11555
11567
|
) {
|
11556
|
-
var index$
|
11557
|
-
lane = 1 << index$
|
11558
|
-
expirationTime = expirationTimes[index$
|
11568
|
+
var index$5 = 31 - clz32(lanes),
|
11569
|
+
lane = 1 << index$5,
|
11570
|
+
expirationTime = expirationTimes[index$5];
|
11559
11571
|
if (-1 === expirationTime) {
|
11560
11572
|
if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes))
|
11561
|
-
expirationTimes[index$
|
11573
|
+
expirationTimes[index$5] = computeExpirationTime(lane, currentTime);
|
11562
11574
|
} else expirationTime <= currentTime && (root.expiredLanes |= lane);
|
11563
11575
|
lanes &= ~lane;
|
11564
11576
|
}
|
@@ -15260,14 +15272,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15260
15272
|
};
|
15261
15273
|
var isomorphicReactPackageVersion$jscomp$inline_1779 = React.version;
|
15262
15274
|
if (
|
15263
|
-
"19.2.0-canary-
|
15275
|
+
"19.2.0-canary-e5dd82a7-20250401" !==
|
15264
15276
|
isomorphicReactPackageVersion$jscomp$inline_1779
|
15265
15277
|
)
|
15266
15278
|
throw Error(
|
15267
15279
|
formatProdErrorMessage(
|
15268
15280
|
527,
|
15269
15281
|
isomorphicReactPackageVersion$jscomp$inline_1779,
|
15270
|
-
"19.2.0-canary-
|
15282
|
+
"19.2.0-canary-e5dd82a7-20250401"
|
15271
15283
|
)
|
15272
15284
|
);
|
15273
15285
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15289,10 +15301,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15289
15301
|
};
|
15290
15302
|
var internals$jscomp$inline_2250 = {
|
15291
15303
|
bundleType: 0,
|
15292
|
-
version: "19.2.0-canary-
|
15304
|
+
version: "19.2.0-canary-e5dd82a7-20250401",
|
15293
15305
|
rendererPackageName: "react-dom",
|
15294
15306
|
currentDispatcherRef: ReactSharedInternals,
|
15295
|
-
reconcilerVersion: "19.2.0-canary-
|
15307
|
+
reconcilerVersion: "19.2.0-canary-e5dd82a7-20250401"
|
15296
15308
|
};
|
15297
15309
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
15298
15310
|
var hook$jscomp$inline_2251 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
@@ -15396,4 +15408,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
15396
15408
|
listenToAllSupportedEvents(container);
|
15397
15409
|
return new ReactDOMHydrationRoot(initialChildren);
|
15398
15410
|
};
|
15399
|
-
exports.version = "19.2.0-canary-
|
15411
|
+
exports.version = "19.2.0-canary-e5dd82a7-20250401";
|