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
@@ -312,6 +312,194 @@ function popHostContext(fiber) {
|
|
312
312
|
(pop(hostTransitionProviderCursor),
|
313
313
|
(HostTransitionContext._currentValue = sharedNotPendingObject));
|
314
314
|
}
|
315
|
+
var prefix, suffix;
|
316
|
+
function describeBuiltInComponentFrame(name) {
|
317
|
+
if (void 0 === prefix)
|
318
|
+
try {
|
319
|
+
throw Error();
|
320
|
+
} catch (x) {
|
321
|
+
var match = x.stack.trim().match(/\n( *(at )?)/);
|
322
|
+
prefix = (match && match[1]) || "";
|
323
|
+
suffix =
|
324
|
+
-1 < x.stack.indexOf("\n at")
|
325
|
+
? " (<anonymous>)"
|
326
|
+
: -1 < x.stack.indexOf("@")
|
327
|
+
? "@unknown:0:0"
|
328
|
+
: "";
|
329
|
+
}
|
330
|
+
return "\n" + prefix + name + suffix;
|
331
|
+
}
|
332
|
+
var reentry = !1;
|
333
|
+
function describeNativeComponentFrame(fn, construct) {
|
334
|
+
if (!fn || reentry) return "";
|
335
|
+
reentry = !0;
|
336
|
+
var previousPrepareStackTrace = Error.prepareStackTrace;
|
337
|
+
Error.prepareStackTrace = void 0;
|
338
|
+
try {
|
339
|
+
var RunInRootFrame = {
|
340
|
+
DetermineComponentFrameRoot: function () {
|
341
|
+
try {
|
342
|
+
if (construct) {
|
343
|
+
var Fake = function () {
|
344
|
+
throw Error();
|
345
|
+
};
|
346
|
+
Object.defineProperty(Fake.prototype, "props", {
|
347
|
+
set: function () {
|
348
|
+
throw Error();
|
349
|
+
}
|
350
|
+
});
|
351
|
+
if ("object" === typeof Reflect && Reflect.construct) {
|
352
|
+
try {
|
353
|
+
Reflect.construct(Fake, []);
|
354
|
+
} catch (x) {
|
355
|
+
var control = x;
|
356
|
+
}
|
357
|
+
Reflect.construct(fn, [], Fake);
|
358
|
+
} else {
|
359
|
+
try {
|
360
|
+
Fake.call();
|
361
|
+
} catch (x$1) {
|
362
|
+
control = x$1;
|
363
|
+
}
|
364
|
+
fn.call(Fake.prototype);
|
365
|
+
}
|
366
|
+
} else {
|
367
|
+
try {
|
368
|
+
throw Error();
|
369
|
+
} catch (x$2) {
|
370
|
+
control = x$2;
|
371
|
+
}
|
372
|
+
(Fake = fn()) &&
|
373
|
+
"function" === typeof Fake.catch &&
|
374
|
+
Fake.catch(function () {});
|
375
|
+
}
|
376
|
+
} catch (sample) {
|
377
|
+
if (sample && control && "string" === typeof sample.stack)
|
378
|
+
return [sample.stack, control.stack];
|
379
|
+
}
|
380
|
+
return [null, null];
|
381
|
+
}
|
382
|
+
};
|
383
|
+
RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
384
|
+
"DetermineComponentFrameRoot";
|
385
|
+
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
386
|
+
RunInRootFrame.DetermineComponentFrameRoot,
|
387
|
+
"name"
|
388
|
+
);
|
389
|
+
namePropDescriptor &&
|
390
|
+
namePropDescriptor.configurable &&
|
391
|
+
Object.defineProperty(
|
392
|
+
RunInRootFrame.DetermineComponentFrameRoot,
|
393
|
+
"name",
|
394
|
+
{ value: "DetermineComponentFrameRoot" }
|
395
|
+
);
|
396
|
+
var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(),
|
397
|
+
sampleStack = _RunInRootFrame$Deter[0],
|
398
|
+
controlStack = _RunInRootFrame$Deter[1];
|
399
|
+
if (sampleStack && controlStack) {
|
400
|
+
var sampleLines = sampleStack.split("\n"),
|
401
|
+
controlLines = controlStack.split("\n");
|
402
|
+
for (
|
403
|
+
namePropDescriptor = RunInRootFrame = 0;
|
404
|
+
RunInRootFrame < sampleLines.length &&
|
405
|
+
!sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot");
|
406
|
+
|
407
|
+
)
|
408
|
+
RunInRootFrame++;
|
409
|
+
for (
|
410
|
+
;
|
411
|
+
namePropDescriptor < controlLines.length &&
|
412
|
+
!controlLines[namePropDescriptor].includes(
|
413
|
+
"DetermineComponentFrameRoot"
|
414
|
+
);
|
415
|
+
|
416
|
+
)
|
417
|
+
namePropDescriptor++;
|
418
|
+
if (
|
419
|
+
RunInRootFrame === sampleLines.length ||
|
420
|
+
namePropDescriptor === controlLines.length
|
421
|
+
)
|
422
|
+
for (
|
423
|
+
RunInRootFrame = sampleLines.length - 1,
|
424
|
+
namePropDescriptor = controlLines.length - 1;
|
425
|
+
1 <= RunInRootFrame &&
|
426
|
+
0 <= namePropDescriptor &&
|
427
|
+
sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor];
|
428
|
+
|
429
|
+
)
|
430
|
+
namePropDescriptor--;
|
431
|
+
for (
|
432
|
+
;
|
433
|
+
1 <= RunInRootFrame && 0 <= namePropDescriptor;
|
434
|
+
RunInRootFrame--, namePropDescriptor--
|
435
|
+
)
|
436
|
+
if (sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) {
|
437
|
+
if (1 !== RunInRootFrame || 1 !== namePropDescriptor) {
|
438
|
+
do
|
439
|
+
if (
|
440
|
+
(RunInRootFrame--,
|
441
|
+
namePropDescriptor--,
|
442
|
+
0 > namePropDescriptor ||
|
443
|
+
sampleLines[RunInRootFrame] !==
|
444
|
+
controlLines[namePropDescriptor])
|
445
|
+
) {
|
446
|
+
var frame =
|
447
|
+
"\n" +
|
448
|
+
sampleLines[RunInRootFrame].replace(" at new ", " at ");
|
449
|
+
fn.displayName &&
|
450
|
+
frame.includes("<anonymous>") &&
|
451
|
+
(frame = frame.replace("<anonymous>", fn.displayName));
|
452
|
+
return frame;
|
453
|
+
}
|
454
|
+
while (1 <= RunInRootFrame && 0 <= namePropDescriptor);
|
455
|
+
}
|
456
|
+
break;
|
457
|
+
}
|
458
|
+
}
|
459
|
+
} finally {
|
460
|
+
(reentry = !1), (Error.prepareStackTrace = previousPrepareStackTrace);
|
461
|
+
}
|
462
|
+
return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : "")
|
463
|
+
? describeBuiltInComponentFrame(previousPrepareStackTrace)
|
464
|
+
: "";
|
465
|
+
}
|
466
|
+
function describeFiber(fiber) {
|
467
|
+
switch (fiber.tag) {
|
468
|
+
case 26:
|
469
|
+
case 27:
|
470
|
+
case 5:
|
471
|
+
return describeBuiltInComponentFrame(fiber.type);
|
472
|
+
case 16:
|
473
|
+
return describeBuiltInComponentFrame("Lazy");
|
474
|
+
case 13:
|
475
|
+
return describeBuiltInComponentFrame("Suspense");
|
476
|
+
case 19:
|
477
|
+
return describeBuiltInComponentFrame("SuspenseList");
|
478
|
+
case 0:
|
479
|
+
case 15:
|
480
|
+
return describeNativeComponentFrame(fiber.type, !1);
|
481
|
+
case 11:
|
482
|
+
return describeNativeComponentFrame(fiber.type.render, !1);
|
483
|
+
case 1:
|
484
|
+
return describeNativeComponentFrame(fiber.type, !0);
|
485
|
+
case 31:
|
486
|
+
return describeBuiltInComponentFrame("Activity");
|
487
|
+
default:
|
488
|
+
return "";
|
489
|
+
}
|
490
|
+
}
|
491
|
+
function getStackByFiberInDevAndProd(workInProgress) {
|
492
|
+
try {
|
493
|
+
var info = "";
|
494
|
+
do
|
495
|
+
(info += describeFiber(workInProgress)),
|
496
|
+
(workInProgress = workInProgress.return);
|
497
|
+
while (workInProgress);
|
498
|
+
return info;
|
499
|
+
} catch (x) {
|
500
|
+
return "\nError generating stack: " + x.message + "\n" + x.stack;
|
501
|
+
}
|
502
|
+
}
|
315
503
|
var hasOwnProperty = Object.prototype.hasOwnProperty,
|
316
504
|
scheduleCallback$3 = Scheduler.unstable_scheduleCallback,
|
317
505
|
cancelCallback$1 = Scheduler.unstable_cancelCallback,
|
@@ -581,18 +769,18 @@ function markRootFinished(
|
|
581
769
|
0 < remainingLanes;
|
582
770
|
|
583
771
|
) {
|
584
|
-
var index$
|
585
|
-
lane = 1 << index$
|
586
|
-
entanglements[index$
|
587
|
-
expirationTimes[index$
|
588
|
-
var hiddenUpdatesForLane = hiddenUpdates[index$
|
772
|
+
var index$7 = 31 - clz32(remainingLanes),
|
773
|
+
lane = 1 << index$7;
|
774
|
+
entanglements[index$7] = 0;
|
775
|
+
expirationTimes[index$7] = -1;
|
776
|
+
var hiddenUpdatesForLane = hiddenUpdates[index$7];
|
589
777
|
if (null !== hiddenUpdatesForLane)
|
590
778
|
for (
|
591
|
-
hiddenUpdates[index$
|
592
|
-
index$
|
593
|
-
index$
|
779
|
+
hiddenUpdates[index$7] = null, index$7 = 0;
|
780
|
+
index$7 < hiddenUpdatesForLane.length;
|
781
|
+
index$7++
|
594
782
|
) {
|
595
|
-
var update = hiddenUpdatesForLane[index$
|
783
|
+
var update = hiddenUpdatesForLane[index$7];
|
596
784
|
null !== update && (update.lane &= -536870913);
|
597
785
|
}
|
598
786
|
remainingLanes &= ~lane;
|
@@ -617,10 +805,10 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {
|
|
617
805
|
function markRootEntangled(root, entangledLanes) {
|
618
806
|
var rootEntangledLanes = (root.entangledLanes |= entangledLanes);
|
619
807
|
for (root = root.entanglements; rootEntangledLanes; ) {
|
620
|
-
var index$
|
621
|
-
lane = 1 << index$
|
622
|
-
(lane & entangledLanes) | (root[index$
|
623
|
-
(root[index$
|
808
|
+
var index$8 = 31 - clz32(rootEntangledLanes),
|
809
|
+
lane = 1 << index$8;
|
810
|
+
(lane & entangledLanes) | (root[index$8] & entangledLanes) &&
|
811
|
+
(root[index$8] |= entangledLanes);
|
624
812
|
rootEntangledLanes &= ~lane;
|
625
813
|
}
|
626
814
|
}
|
@@ -666,9 +854,9 @@ function getBumpedLaneForHydrationByLane(lane) {
|
|
666
854
|
function addFiberToLanesMap(root, fiber, lanes) {
|
667
855
|
if (isDevToolsPresent)
|
668
856
|
for (root = root.pendingUpdatersLaneMap; 0 < lanes; ) {
|
669
|
-
var index$
|
670
|
-
lane = 1 << index$
|
671
|
-
root[index$
|
857
|
+
var index$10 = 31 - clz32(lanes),
|
858
|
+
lane = 1 << index$10;
|
859
|
+
root[index$10].add(fiber);
|
672
860
|
lanes &= ~lane;
|
673
861
|
}
|
674
862
|
}
|
@@ -680,16 +868,16 @@ function movePendingFibersToMemoized(root, lanes) {
|
|
680
868
|
0 < lanes;
|
681
869
|
|
682
870
|
) {
|
683
|
-
var index$
|
684
|
-
root = 1 << index$
|
685
|
-
index$
|
686
|
-
0 < index$
|
687
|
-
(index$
|
871
|
+
var index$11 = 31 - clz32(lanes);
|
872
|
+
root = 1 << index$11;
|
873
|
+
index$11 = pendingUpdatersLaneMap[index$11];
|
874
|
+
0 < index$11.size &&
|
875
|
+
(index$11.forEach(function (fiber) {
|
688
876
|
var alternate = fiber.alternate;
|
689
877
|
(null !== alternate && memoizedUpdaters.has(alternate)) ||
|
690
878
|
memoizedUpdaters.add(fiber);
|
691
879
|
}),
|
692
|
-
index$
|
880
|
+
index$11.clear());
|
693
881
|
lanes &= ~root;
|
694
882
|
}
|
695
883
|
}
|
@@ -834,8 +1022,8 @@ function setValueForAttribute(node, name, value) {
|
|
834
1022
|
node.removeAttribute(name);
|
835
1023
|
return;
|
836
1024
|
case "boolean":
|
837
|
-
var prefix$
|
838
|
-
if ("data-" !== prefix$
|
1025
|
+
var prefix$12 = name.toLowerCase().slice(0, 5);
|
1026
|
+
if ("data-" !== prefix$12 && "aria-" !== prefix$12) {
|
839
1027
|
node.removeAttribute(name);
|
840
1028
|
return;
|
841
1029
|
}
|
@@ -871,194 +1059,6 @@ function setValueForNamespacedAttribute(node, namespace, name, value) {
|
|
871
1059
|
node.setAttributeNS(namespace, name, "" + value);
|
872
1060
|
}
|
873
1061
|
}
|
874
|
-
var prefix, suffix;
|
875
|
-
function describeBuiltInComponentFrame(name) {
|
876
|
-
if (void 0 === prefix)
|
877
|
-
try {
|
878
|
-
throw Error();
|
879
|
-
} catch (x) {
|
880
|
-
var match = x.stack.trim().match(/\n( *(at )?)/);
|
881
|
-
prefix = (match && match[1]) || "";
|
882
|
-
suffix =
|
883
|
-
-1 < x.stack.indexOf("\n at")
|
884
|
-
? " (<anonymous>)"
|
885
|
-
: -1 < x.stack.indexOf("@")
|
886
|
-
? "@unknown:0:0"
|
887
|
-
: "";
|
888
|
-
}
|
889
|
-
return "\n" + prefix + name + suffix;
|
890
|
-
}
|
891
|
-
var reentry = !1;
|
892
|
-
function describeNativeComponentFrame(fn, construct) {
|
893
|
-
if (!fn || reentry) return "";
|
894
|
-
reentry = !0;
|
895
|
-
var previousPrepareStackTrace = Error.prepareStackTrace;
|
896
|
-
Error.prepareStackTrace = void 0;
|
897
|
-
try {
|
898
|
-
var RunInRootFrame = {
|
899
|
-
DetermineComponentFrameRoot: function () {
|
900
|
-
try {
|
901
|
-
if (construct) {
|
902
|
-
var Fake = function () {
|
903
|
-
throw Error();
|
904
|
-
};
|
905
|
-
Object.defineProperty(Fake.prototype, "props", {
|
906
|
-
set: function () {
|
907
|
-
throw Error();
|
908
|
-
}
|
909
|
-
});
|
910
|
-
if ("object" === typeof Reflect && Reflect.construct) {
|
911
|
-
try {
|
912
|
-
Reflect.construct(Fake, []);
|
913
|
-
} catch (x) {
|
914
|
-
var control = x;
|
915
|
-
}
|
916
|
-
Reflect.construct(fn, [], Fake);
|
917
|
-
} else {
|
918
|
-
try {
|
919
|
-
Fake.call();
|
920
|
-
} catch (x$11) {
|
921
|
-
control = x$11;
|
922
|
-
}
|
923
|
-
fn.call(Fake.prototype);
|
924
|
-
}
|
925
|
-
} else {
|
926
|
-
try {
|
927
|
-
throw Error();
|
928
|
-
} catch (x$12) {
|
929
|
-
control = x$12;
|
930
|
-
}
|
931
|
-
(Fake = fn()) &&
|
932
|
-
"function" === typeof Fake.catch &&
|
933
|
-
Fake.catch(function () {});
|
934
|
-
}
|
935
|
-
} catch (sample) {
|
936
|
-
if (sample && control && "string" === typeof sample.stack)
|
937
|
-
return [sample.stack, control.stack];
|
938
|
-
}
|
939
|
-
return [null, null];
|
940
|
-
}
|
941
|
-
};
|
942
|
-
RunInRootFrame.DetermineComponentFrameRoot.displayName =
|
943
|
-
"DetermineComponentFrameRoot";
|
944
|
-
var namePropDescriptor = Object.getOwnPropertyDescriptor(
|
945
|
-
RunInRootFrame.DetermineComponentFrameRoot,
|
946
|
-
"name"
|
947
|
-
);
|
948
|
-
namePropDescriptor &&
|
949
|
-
namePropDescriptor.configurable &&
|
950
|
-
Object.defineProperty(
|
951
|
-
RunInRootFrame.DetermineComponentFrameRoot,
|
952
|
-
"name",
|
953
|
-
{ value: "DetermineComponentFrameRoot" }
|
954
|
-
);
|
955
|
-
var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(),
|
956
|
-
sampleStack = _RunInRootFrame$Deter[0],
|
957
|
-
controlStack = _RunInRootFrame$Deter[1];
|
958
|
-
if (sampleStack && controlStack) {
|
959
|
-
var sampleLines = sampleStack.split("\n"),
|
960
|
-
controlLines = controlStack.split("\n");
|
961
|
-
for (
|
962
|
-
namePropDescriptor = RunInRootFrame = 0;
|
963
|
-
RunInRootFrame < sampleLines.length &&
|
964
|
-
!sampleLines[RunInRootFrame].includes("DetermineComponentFrameRoot");
|
965
|
-
|
966
|
-
)
|
967
|
-
RunInRootFrame++;
|
968
|
-
for (
|
969
|
-
;
|
970
|
-
namePropDescriptor < controlLines.length &&
|
971
|
-
!controlLines[namePropDescriptor].includes(
|
972
|
-
"DetermineComponentFrameRoot"
|
973
|
-
);
|
974
|
-
|
975
|
-
)
|
976
|
-
namePropDescriptor++;
|
977
|
-
if (
|
978
|
-
RunInRootFrame === sampleLines.length ||
|
979
|
-
namePropDescriptor === controlLines.length
|
980
|
-
)
|
981
|
-
for (
|
982
|
-
RunInRootFrame = sampleLines.length - 1,
|
983
|
-
namePropDescriptor = controlLines.length - 1;
|
984
|
-
1 <= RunInRootFrame &&
|
985
|
-
0 <= namePropDescriptor &&
|
986
|
-
sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor];
|
987
|
-
|
988
|
-
)
|
989
|
-
namePropDescriptor--;
|
990
|
-
for (
|
991
|
-
;
|
992
|
-
1 <= RunInRootFrame && 0 <= namePropDescriptor;
|
993
|
-
RunInRootFrame--, namePropDescriptor--
|
994
|
-
)
|
995
|
-
if (sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) {
|
996
|
-
if (1 !== RunInRootFrame || 1 !== namePropDescriptor) {
|
997
|
-
do
|
998
|
-
if (
|
999
|
-
(RunInRootFrame--,
|
1000
|
-
namePropDescriptor--,
|
1001
|
-
0 > namePropDescriptor ||
|
1002
|
-
sampleLines[RunInRootFrame] !==
|
1003
|
-
controlLines[namePropDescriptor])
|
1004
|
-
) {
|
1005
|
-
var frame =
|
1006
|
-
"\n" +
|
1007
|
-
sampleLines[RunInRootFrame].replace(" at new ", " at ");
|
1008
|
-
fn.displayName &&
|
1009
|
-
frame.includes("<anonymous>") &&
|
1010
|
-
(frame = frame.replace("<anonymous>", fn.displayName));
|
1011
|
-
return frame;
|
1012
|
-
}
|
1013
|
-
while (1 <= RunInRootFrame && 0 <= namePropDescriptor);
|
1014
|
-
}
|
1015
|
-
break;
|
1016
|
-
}
|
1017
|
-
}
|
1018
|
-
} finally {
|
1019
|
-
(reentry = !1), (Error.prepareStackTrace = previousPrepareStackTrace);
|
1020
|
-
}
|
1021
|
-
return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : "")
|
1022
|
-
? describeBuiltInComponentFrame(previousPrepareStackTrace)
|
1023
|
-
: "";
|
1024
|
-
}
|
1025
|
-
function describeFiber(fiber) {
|
1026
|
-
switch (fiber.tag) {
|
1027
|
-
case 26:
|
1028
|
-
case 27:
|
1029
|
-
case 5:
|
1030
|
-
return describeBuiltInComponentFrame(fiber.type);
|
1031
|
-
case 16:
|
1032
|
-
return describeBuiltInComponentFrame("Lazy");
|
1033
|
-
case 13:
|
1034
|
-
return describeBuiltInComponentFrame("Suspense");
|
1035
|
-
case 19:
|
1036
|
-
return describeBuiltInComponentFrame("SuspenseList");
|
1037
|
-
case 0:
|
1038
|
-
case 15:
|
1039
|
-
return describeNativeComponentFrame(fiber.type, !1);
|
1040
|
-
case 11:
|
1041
|
-
return describeNativeComponentFrame(fiber.type.render, !1);
|
1042
|
-
case 1:
|
1043
|
-
return describeNativeComponentFrame(fiber.type, !0);
|
1044
|
-
case 31:
|
1045
|
-
return describeBuiltInComponentFrame("Activity");
|
1046
|
-
default:
|
1047
|
-
return "";
|
1048
|
-
}
|
1049
|
-
}
|
1050
|
-
function getStackByFiberInDevAndProd(workInProgress) {
|
1051
|
-
try {
|
1052
|
-
var info = "";
|
1053
|
-
do
|
1054
|
-
(info += describeFiber(workInProgress)),
|
1055
|
-
(workInProgress = workInProgress.return);
|
1056
|
-
while (workInProgress);
|
1057
|
-
return info;
|
1058
|
-
} catch (x) {
|
1059
|
-
return "\nError generating stack: " + x.message + "\n" + x.stack;
|
1060
|
-
}
|
1061
|
-
}
|
1062
1062
|
function getToStringValue(value) {
|
1063
1063
|
switch (typeof value) {
|
1064
1064
|
case "bigint":
|
@@ -4672,6 +4672,7 @@ function updateReducerImpl(hook, current, reducer) {
|
|
4672
4672
|
{
|
4673
4673
|
lane: 0,
|
4674
4674
|
revertLane: 0,
|
4675
|
+
gesture: null,
|
4675
4676
|
action: update.action,
|
4676
4677
|
hasEagerState: update.hasEagerState,
|
4677
4678
|
eagerState: update.eagerState,
|
@@ -4688,6 +4689,7 @@ function updateReducerImpl(hook, current, reducer) {
|
|
4688
4689
|
(updateLane = {
|
4689
4690
|
lane: 0,
|
4690
4691
|
revertLane: update.revertLane,
|
4692
|
+
gesture: null,
|
4691
4693
|
action: update.action,
|
4692
4694
|
hasEagerState: update.hasEagerState,
|
4693
4695
|
eagerState: update.eagerState,
|
@@ -4709,6 +4711,7 @@ function updateReducerImpl(hook, current, reducer) {
|
|
4709
4711
|
(revertLane = {
|
4710
4712
|
lane: updateLane,
|
4711
4713
|
revertLane: update.revertLane,
|
4714
|
+
gesture: update.gesture,
|
4712
4715
|
action: update.action,
|
4713
4716
|
hasEagerState: update.hasEagerState,
|
4714
4717
|
eagerState: update.eagerState,
|
@@ -4924,7 +4927,10 @@ function runActionStateAction(actionQueue, node) {
|
|
4924
4927
|
} catch (error) {
|
4925
4928
|
onActionError(actionQueue, node, error);
|
4926
4929
|
} finally {
|
4927
|
-
|
4930
|
+
null !== prevTransition &&
|
4931
|
+
null !== currentTransition.types &&
|
4932
|
+
(prevTransition.types = currentTransition.types),
|
4933
|
+
(ReactSharedInternals.T = prevTransition);
|
4928
4934
|
}
|
4929
4935
|
} else
|
4930
4936
|
try {
|
@@ -5298,6 +5304,9 @@ function startTransition(fiber, queue, pendingState, finishedState, callback) {
|
|
5298
5304
|
);
|
5299
5305
|
} finally {
|
5300
5306
|
(ReactDOMSharedInternals.p = previousPriority),
|
5307
|
+
null !== prevTransition &&
|
5308
|
+
null !== currentTransition.types &&
|
5309
|
+
(prevTransition.types = currentTransition.types),
|
5301
5310
|
(ReactSharedInternals.T = prevTransition);
|
5302
5311
|
}
|
5303
5312
|
}
|
@@ -5389,6 +5398,7 @@ function dispatchReducerAction(fiber, queue, action) {
|
|
5389
5398
|
action = {
|
5390
5399
|
lane: lane,
|
5391
5400
|
revertLane: 0,
|
5401
|
+
gesture: null,
|
5392
5402
|
action: action,
|
5393
5403
|
hasEagerState: !1,
|
5394
5404
|
eagerState: null,
|
@@ -5411,6 +5421,7 @@ function dispatchSetStateInternal(fiber, queue, action, lane) {
|
|
5411
5421
|
var update = {
|
5412
5422
|
lane: lane,
|
5413
5423
|
revertLane: 0,
|
5424
|
+
gesture: null,
|
5414
5425
|
action: action,
|
5415
5426
|
hasEagerState: !1,
|
5416
5427
|
eagerState: null,
|
@@ -5452,6 +5463,7 @@ function dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) {
|
|
5452
5463
|
action = {
|
5453
5464
|
lane: 2,
|
5454
5465
|
revertLane: requestTransitionLane(),
|
5466
|
+
gesture: null,
|
5455
5467
|
action: action,
|
5456
5468
|
hasEagerState: !1,
|
5457
5469
|
eagerState: null,
|
@@ -11043,9 +11055,9 @@ function markRootSuspended(
|
|
11043
11055
|
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
|
11044
11056
|
didAttemptEntireTree = root.expirationTimes;
|
11045
11057
|
for (var lanes = suspendedLanes; 0 < lanes; ) {
|
11046
|
-
var index$
|
11047
|
-
lane = 1 << index$
|
11048
|
-
didAttemptEntireTree[index$
|
11058
|
+
var index$6 = 31 - clz32(lanes),
|
11059
|
+
lane = 1 << index$6;
|
11060
|
+
didAttemptEntireTree[index$6] = -1;
|
11049
11061
|
lanes &= ~lane;
|
11050
11062
|
}
|
11051
11063
|
0 !== spawnedLane &&
|
@@ -11107,9 +11119,9 @@ function prepareFreshStack(root, lanes) {
|
|
11107
11119
|
0 < allEntangledLanes;
|
11108
11120
|
|
11109
11121
|
) {
|
11110
|
-
var index$
|
11111
|
-
lane = 1 << index$
|
11112
|
-
lanes |= root[index$
|
11122
|
+
var index$4 = 31 - clz32(allEntangledLanes),
|
11123
|
+
lane = 1 << index$4;
|
11124
|
+
lanes |= root[index$4];
|
11113
11125
|
allEntangledLanes &= ~lane;
|
11114
11126
|
}
|
11115
11127
|
entangledRenderLanes = lanes;
|
@@ -12176,12 +12188,12 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
|
12176
12188
|
0 < lanes;
|
12177
12189
|
|
12178
12190
|
) {
|
12179
|
-
var index$
|
12180
|
-
lane = 1 << index$
|
12181
|
-
expirationTime = expirationTimes[index$
|
12191
|
+
var index$5 = 31 - clz32(lanes),
|
12192
|
+
lane = 1 << index$5,
|
12193
|
+
expirationTime = expirationTimes[index$5];
|
12182
12194
|
if (-1 === expirationTime) {
|
12183
12195
|
if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes))
|
12184
|
-
expirationTimes[index$
|
12196
|
+
expirationTimes[index$5] = computeExpirationTime(lane, currentTime);
|
12185
12197
|
} else expirationTime <= currentTime && (root.expiredLanes |= lane);
|
12186
12198
|
lanes &= ~lane;
|
12187
12199
|
}
|
@@ -15905,14 +15917,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15905
15917
|
};
|
15906
15918
|
var isomorphicReactPackageVersion$jscomp$inline_1875 = React.version;
|
15907
15919
|
if (
|
15908
|
-
"19.2.0-canary-
|
15920
|
+
"19.2.0-canary-e5dd82a7-20250401" !==
|
15909
15921
|
isomorphicReactPackageVersion$jscomp$inline_1875
|
15910
15922
|
)
|
15911
15923
|
throw Error(
|
15912
15924
|
formatProdErrorMessage(
|
15913
15925
|
527,
|
15914
15926
|
isomorphicReactPackageVersion$jscomp$inline_1875,
|
15915
|
-
"19.2.0-canary-
|
15927
|
+
"19.2.0-canary-e5dd82a7-20250401"
|
15916
15928
|
)
|
15917
15929
|
);
|
15918
15930
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15934,10 +15946,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15934
15946
|
};
|
15935
15947
|
var internals$jscomp$inline_1882 = {
|
15936
15948
|
bundleType: 0,
|
15937
|
-
version: "19.2.0-canary-
|
15949
|
+
version: "19.2.0-canary-e5dd82a7-20250401",
|
15938
15950
|
rendererPackageName: "react-dom",
|
15939
15951
|
currentDispatcherRef: ReactSharedInternals,
|
15940
|
-
reconcilerVersion: "19.2.0-canary-
|
15952
|
+
reconcilerVersion: "19.2.0-canary-e5dd82a7-20250401",
|
15941
15953
|
getLaneLabelMap: function () {
|
15942
15954
|
for (
|
15943
15955
|
var map = new Map(), lane = 1, index$282 = 0;
|
@@ -16217,7 +16229,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
16217
16229
|
exports.useFormStatus = function () {
|
16218
16230
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
16219
16231
|
};
|
16220
|
-
exports.version = "19.2.0-canary-
|
16232
|
+
exports.version = "19.2.0-canary-e5dd82a7-20250401";
|
16221
16233
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
16222
16234
|
"function" ===
|
16223
16235
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
@@ -9031,5 +9031,5 @@
|
|
9031
9031
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
9032
9032
|
);
|
9033
9033
|
};
|
9034
|
-
exports.version = "19.2.0-canary-
|
9034
|
+
exports.version = "19.2.0-canary-e5dd82a7-20250401";
|
9035
9035
|
})();
|
@@ -5889,4 +5889,4 @@ exports.renderToString = function (children, options) {
|
|
5889
5889
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
5890
5890
|
);
|
5891
5891
|
};
|
5892
|
-
exports.version = "19.2.0-canary-
|
5892
|
+
exports.version = "19.2.0-canary-e5dd82a7-20250401";
|
@@ -9031,5 +9031,5 @@
|
|
9031
9031
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
9032
9032
|
);
|
9033
9033
|
};
|
9034
|
-
exports.version = "19.2.0-canary-
|
9034
|
+
exports.version = "19.2.0-canary-e5dd82a7-20250401";
|
9035
9035
|
})();
|
@@ -5969,4 +5969,4 @@ exports.renderToString = function (children, options) {
|
|
5969
5969
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
5970
5970
|
);
|
5971
5971
|
};
|
5972
|
-
exports.version = "19.2.0-canary-
|
5972
|
+
exports.version = "19.2.0-canary-e5dd82a7-20250401";
|
@@ -7746,11 +7746,11 @@
|
|
7746
7746
|
}
|
7747
7747
|
function ensureCorrectIsomorphicReactVersion() {
|
7748
7748
|
var isomorphicReactPackageVersion = React.version;
|
7749
|
-
if ("19.2.0-canary-
|
7749
|
+
if ("19.2.0-canary-e5dd82a7-20250401" !== isomorphicReactPackageVersion)
|
7750
7750
|
throw Error(
|
7751
7751
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
7752
7752
|
(isomorphicReactPackageVersion +
|
7753
|
-
"\n - react-dom: 19.2.0-canary-
|
7753
|
+
"\n - react-dom: 19.2.0-canary-e5dd82a7-20250401\nLearn more: https://react.dev/warnings/version-mismatch")
|
7754
7754
|
);
|
7755
7755
|
}
|
7756
7756
|
var React = require("react"),
|
@@ -9420,5 +9420,5 @@
|
|
9420
9420
|
startWork(request);
|
9421
9421
|
});
|
9422
9422
|
};
|
9423
|
-
exports.version = "19.2.0-canary-
|
9423
|
+
exports.version = "19.2.0-canary-e5dd82a7-20250401";
|
9424
9424
|
})();
|