react-markup 0.0.0-experimental-ef979d47-20241218 → 0.0.0-experimental-4b7d4530-20241218
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.
|
@@ -823,10 +823,8 @@
|
|
|
823
823
|
? defaultFilterStackFrame
|
|
824
824
|
: filterStackFrame;
|
|
825
825
|
this.didWarnForKey = null;
|
|
826
|
-
type = this
|
|
827
|
-
|
|
828
|
-
model = createTask(this, model, null, !1, abortSet, null, null, null);
|
|
829
|
-
pingedTasks.push(model);
|
|
826
|
+
type = createTask(this, model, null, !1, abortSet, null, null, null);
|
|
827
|
+
pingedTasks.push(type);
|
|
830
828
|
}
|
|
831
829
|
function noop$3() {}
|
|
832
830
|
function serializeThenable(request, task, thenable) {
|
|
@@ -850,7 +848,21 @@
|
|
|
850
848
|
newTask.id
|
|
851
849
|
);
|
|
852
850
|
case "rejected":
|
|
853
|
-
|
|
851
|
+
task = thenable.reason;
|
|
852
|
+
if (
|
|
853
|
+
"object" === typeof task &&
|
|
854
|
+
null !== task &&
|
|
855
|
+
task.$$typeof === REACT_POSTPONE_TYPE
|
|
856
|
+
)
|
|
857
|
+
logPostpone$1(request, task.message, newTask),
|
|
858
|
+
emitPostponeChunk(request, newTask.id, task);
|
|
859
|
+
else {
|
|
860
|
+
var digest = logRecoverableError$1(request, task, null);
|
|
861
|
+
emitErrorChunk(request, newTask.id, digest, task);
|
|
862
|
+
}
|
|
863
|
+
newTask.status = ERRORED$2;
|
|
864
|
+
request.abortableTasks.delete(newTask);
|
|
865
|
+
return newTask.id;
|
|
854
866
|
default:
|
|
855
867
|
if (request.status === ABORTING$1)
|
|
856
868
|
return (
|
|
@@ -882,11 +894,24 @@
|
|
|
882
894
|
pingTask$1(request, newTask);
|
|
883
895
|
},
|
|
884
896
|
function (reason) {
|
|
885
|
-
newTask.status === PENDING$3
|
|
886
|
-
|
|
897
|
+
if (newTask.status === PENDING$3) {
|
|
898
|
+
if (
|
|
899
|
+
"object" === typeof reason &&
|
|
900
|
+
null !== reason &&
|
|
901
|
+
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
902
|
+
)
|
|
903
|
+
logPostpone$1(request, reason.message, newTask),
|
|
904
|
+
emitPostponeChunk(request, newTask.id, reason);
|
|
905
|
+
else {
|
|
906
|
+
var _digest = logRecoverableError$1(request, reason, newTask);
|
|
907
|
+
emitErrorChunk(request, newTask.id, _digest, reason);
|
|
908
|
+
}
|
|
909
|
+
newTask.status = ERRORED$2;
|
|
910
|
+
request.abortableTasks.delete(newTask);
|
|
911
|
+
enqueueFlush(request);
|
|
912
|
+
}
|
|
887
913
|
}
|
|
888
914
|
);
|
|
889
|
-
newTask.timed = !0;
|
|
890
915
|
return newTask.id;
|
|
891
916
|
}
|
|
892
917
|
function serializeReadableStream(request, task, stream) {
|
|
@@ -910,22 +935,38 @@
|
|
|
910
935
|
}
|
|
911
936
|
}
|
|
912
937
|
function error(reason) {
|
|
913
|
-
aborted
|
|
914
|
-
|
|
915
|
-
request.abortListeners.delete(abortStream)
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
938
|
+
if (!aborted) {
|
|
939
|
+
aborted = !0;
|
|
940
|
+
request.abortListeners.delete(abortStream);
|
|
941
|
+
var digest = logRecoverableError$1(request, reason, streamTask);
|
|
942
|
+
emitErrorChunk(request, streamTask.id, digest, reason);
|
|
943
|
+
enqueueFlush(request);
|
|
944
|
+
reader.cancel(reason).then(error, error);
|
|
945
|
+
}
|
|
919
946
|
}
|
|
920
947
|
function abortStream(reason) {
|
|
921
|
-
aborted
|
|
922
|
-
|
|
923
|
-
request.abortListeners.delete(abortStream)
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
948
|
+
if (!aborted) {
|
|
949
|
+
aborted = !0;
|
|
950
|
+
request.abortListeners.delete(abortStream);
|
|
951
|
+
if (
|
|
952
|
+
"object" === typeof reason &&
|
|
953
|
+
null !== reason &&
|
|
954
|
+
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
955
|
+
)
|
|
956
|
+
logPostpone$1(request, reason.message, streamTask),
|
|
957
|
+
request.type === PRERENDER
|
|
958
|
+
? request.pendingChunks--
|
|
959
|
+
: (emitPostponeChunk(request, streamTask.id, reason),
|
|
960
|
+
enqueueFlush(request));
|
|
961
|
+
else {
|
|
962
|
+
var digest = logRecoverableError$1(request, reason, streamTask);
|
|
963
|
+
request.type === PRERENDER
|
|
964
|
+
? request.pendingChunks--
|
|
965
|
+
: (emitErrorChunk(request, streamTask.id, digest, reason),
|
|
966
|
+
enqueueFlush(request));
|
|
967
|
+
}
|
|
968
|
+
reader.cancel(reason).then(error, error);
|
|
969
|
+
}
|
|
929
970
|
}
|
|
930
971
|
var supportsBYOB = stream.supportsBYOB;
|
|
931
972
|
if (void 0 === supportsBYOB)
|
|
@@ -989,24 +1030,40 @@
|
|
|
989
1030
|
}
|
|
990
1031
|
}
|
|
991
1032
|
function error(reason) {
|
|
992
|
-
aborted
|
|
993
|
-
|
|
994
|
-
request.abortListeners.delete(abortIterable)
|
|
995
|
-
|
|
996
|
-
|
|
1033
|
+
if (!aborted) {
|
|
1034
|
+
aborted = !0;
|
|
1035
|
+
request.abortListeners.delete(abortIterable);
|
|
1036
|
+
var digest = logRecoverableError$1(request, reason, streamTask);
|
|
1037
|
+
emitErrorChunk(request, streamTask.id, digest, reason);
|
|
1038
|
+
enqueueFlush(request);
|
|
997
1039
|
"function" === typeof iterator.throw &&
|
|
998
|
-
iterator.throw(reason).then(error, error)
|
|
1040
|
+
iterator.throw(reason).then(error, error);
|
|
1041
|
+
}
|
|
999
1042
|
}
|
|
1000
1043
|
function abortIterable(reason) {
|
|
1001
|
-
aborted
|
|
1002
|
-
|
|
1003
|
-
request.abortListeners.delete(abortIterable)
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1044
|
+
if (!aborted) {
|
|
1045
|
+
aborted = !0;
|
|
1046
|
+
request.abortListeners.delete(abortIterable);
|
|
1047
|
+
if (
|
|
1048
|
+
"object" === typeof reason &&
|
|
1049
|
+
null !== reason &&
|
|
1050
|
+
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
1051
|
+
)
|
|
1052
|
+
logPostpone$1(request, reason.message, streamTask),
|
|
1053
|
+
request.type === PRERENDER
|
|
1054
|
+
? request.pendingChunks--
|
|
1055
|
+
: (emitPostponeChunk(request, streamTask.id, reason),
|
|
1056
|
+
enqueueFlush(request));
|
|
1057
|
+
else {
|
|
1058
|
+
var digest = logRecoverableError$1(request, reason, streamTask);
|
|
1059
|
+
request.type === PRERENDER
|
|
1060
|
+
? request.pendingChunks--
|
|
1061
|
+
: (emitErrorChunk(request, streamTask.id, digest, reason),
|
|
1062
|
+
enqueueFlush(request));
|
|
1063
|
+
}
|
|
1008
1064
|
"function" === typeof iterator.throw &&
|
|
1009
|
-
iterator.throw(reason).then(error, error)
|
|
1065
|
+
iterator.throw(reason).then(error, error);
|
|
1066
|
+
}
|
|
1010
1067
|
}
|
|
1011
1068
|
var isIterator = iterable === iterator,
|
|
1012
1069
|
streamTask = createTask(
|
|
@@ -1180,8 +1237,6 @@
|
|
|
1180
1237
|
componentDebugInfo.debugStack = task.debugStack;
|
|
1181
1238
|
componentDebugInfo.debugTask = task.debugTask;
|
|
1182
1239
|
outlineComponentInfo(request, componentDebugInfo);
|
|
1183
|
-
task.timed = !0;
|
|
1184
|
-
emitTimingChunk(request, componentDebugID, performance.now());
|
|
1185
1240
|
emitDebugChunk(request, componentDebugID, componentDebugInfo);
|
|
1186
1241
|
task.environmentName = componentEnv;
|
|
1187
1242
|
2 === validated &&
|
|
@@ -1425,7 +1480,6 @@
|
|
|
1425
1480
|
return task;
|
|
1426
1481
|
}
|
|
1427
1482
|
function pingTask$1(request, task) {
|
|
1428
|
-
task.timed = !0;
|
|
1429
1483
|
var pingedTasks = request.pingedTasks;
|
|
1430
1484
|
pingedTasks.push(task);
|
|
1431
1485
|
1 === pingedTasks.length &&
|
|
@@ -1484,8 +1538,7 @@
|
|
|
1484
1538
|
});
|
|
1485
1539
|
return renderModel(request, task, parent, parentPropertyName, value);
|
|
1486
1540
|
},
|
|
1487
|
-
thenableState: null
|
|
1488
|
-
timed: !1
|
|
1541
|
+
thenableState: null
|
|
1489
1542
|
};
|
|
1490
1543
|
task.environmentName = request.environmentName();
|
|
1491
1544
|
task.debugOwner = debugOwner;
|
|
@@ -1569,21 +1622,38 @@
|
|
|
1569
1622
|
);
|
|
1570
1623
|
}
|
|
1571
1624
|
function error(reason) {
|
|
1572
|
-
aborted
|
|
1573
|
-
|
|
1574
|
-
request.abortListeners.delete(abortBlob)
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1625
|
+
if (!aborted) {
|
|
1626
|
+
aborted = !0;
|
|
1627
|
+
request.abortListeners.delete(abortBlob);
|
|
1628
|
+
var digest = logRecoverableError$1(request, reason, newTask);
|
|
1629
|
+
emitErrorChunk(request, newTask.id, digest, reason);
|
|
1630
|
+
enqueueFlush(request);
|
|
1631
|
+
reader.cancel(reason).then(error, error);
|
|
1632
|
+
}
|
|
1578
1633
|
}
|
|
1579
1634
|
function abortBlob(reason) {
|
|
1580
|
-
aborted
|
|
1581
|
-
|
|
1582
|
-
request.abortListeners.delete(abortBlob)
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1635
|
+
if (!aborted) {
|
|
1636
|
+
aborted = !0;
|
|
1637
|
+
request.abortListeners.delete(abortBlob);
|
|
1638
|
+
if (
|
|
1639
|
+
"object" === typeof reason &&
|
|
1640
|
+
null !== reason &&
|
|
1641
|
+
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
1642
|
+
)
|
|
1643
|
+
logPostpone$1(request, reason.message, newTask),
|
|
1644
|
+
request.type === PRERENDER
|
|
1645
|
+
? request.pendingChunks--
|
|
1646
|
+
: (emitPostponeChunk(request, newTask.id, reason),
|
|
1647
|
+
enqueueFlush(request));
|
|
1648
|
+
else {
|
|
1649
|
+
var digest = logRecoverableError$1(request, reason, newTask);
|
|
1650
|
+
request.type === PRERENDER
|
|
1651
|
+
? request.pendingChunks--
|
|
1652
|
+
: (emitErrorChunk(request, newTask.id, digest, reason),
|
|
1653
|
+
enqueueFlush(request));
|
|
1654
|
+
}
|
|
1655
|
+
reader.cancel(reason).then(error, error);
|
|
1656
|
+
}
|
|
1587
1657
|
}
|
|
1588
1658
|
var model = [blob.type],
|
|
1589
1659
|
newTask = createTask(
|
|
@@ -1631,42 +1701,45 @@
|
|
|
1631
1701
|
thrownValue === SuspenseException$1
|
|
1632
1702
|
? getSuspendedThenable$1()
|
|
1633
1703
|
: thrownValue;
|
|
1634
|
-
if (
|
|
1635
|
-
"
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1704
|
+
if ("object" === typeof key && null !== key) {
|
|
1705
|
+
if ("function" === typeof key.then)
|
|
1706
|
+
return (
|
|
1707
|
+
(request = createTask(
|
|
1708
|
+
request,
|
|
1709
|
+
task.model,
|
|
1710
|
+
task.keyPath,
|
|
1711
|
+
task.implicitSlot,
|
|
1712
|
+
request.abortableTasks,
|
|
1713
|
+
task.debugOwner,
|
|
1714
|
+
task.debugStack,
|
|
1715
|
+
task.debugTask
|
|
1716
|
+
)),
|
|
1717
|
+
(value = request.ping),
|
|
1718
|
+
key.then(value, value),
|
|
1719
|
+
(request.thenableState = getThenableStateAfterSuspending$1()),
|
|
1720
|
+
(task.keyPath = prevKeyPath),
|
|
1721
|
+
(task.implicitSlot = prevImplicitSlot),
|
|
1722
|
+
parent
|
|
1723
|
+
? "$L" + request.id.toString(16)
|
|
1724
|
+
: serializeByValueID$1(request.id)
|
|
1725
|
+
);
|
|
1726
|
+
if (key.$$typeof === REACT_POSTPONE_TYPE)
|
|
1727
|
+
return (
|
|
1728
|
+
request.pendingChunks++,
|
|
1729
|
+
(value = request.nextChunkId++),
|
|
1730
|
+
logPostpone$1(request, key.message, task),
|
|
1731
|
+
emitPostponeChunk(request, value, key),
|
|
1732
|
+
(task.keyPath = prevKeyPath),
|
|
1733
|
+
(task.implicitSlot = prevImplicitSlot),
|
|
1734
|
+
parent ? "$L" + value.toString(16) : serializeByValueID$1(value)
|
|
1735
|
+
);
|
|
1736
|
+
}
|
|
1659
1737
|
task.keyPath = prevKeyPath;
|
|
1660
1738
|
task.implicitSlot = prevImplicitSlot;
|
|
1661
1739
|
request.pendingChunks++;
|
|
1662
1740
|
prevKeyPath = request.nextChunkId++;
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
key.$$typeof === REACT_POSTPONE_TYPE
|
|
1666
|
-
? (logPostpone$1(request, key.message, task),
|
|
1667
|
-
emitPostponeChunk(request, prevKeyPath, key))
|
|
1668
|
-
: ((task = logRecoverableError$1(request, key, task)),
|
|
1669
|
-
emitErrorChunk(request, prevKeyPath, task, key));
|
|
1741
|
+
task = logRecoverableError$1(request, key, task);
|
|
1742
|
+
emitErrorChunk(request, prevKeyPath, task, key);
|
|
1670
1743
|
return parent
|
|
1671
1744
|
? "$L" + prevKeyPath.toString(16)
|
|
1672
1745
|
: serializeByValueID$1(prevKeyPath);
|
|
@@ -2413,24 +2486,12 @@
|
|
|
2413
2486
|
}
|
|
2414
2487
|
request.completedRegularChunks.push(":W" + json + "\n");
|
|
2415
2488
|
}
|
|
2416
|
-
function emitTimeOriginChunk(request, timeOrigin) {
|
|
2417
|
-
request.pendingChunks++;
|
|
2418
|
-
request.completedRegularChunks.push(":N" + timeOrigin + "\n");
|
|
2419
|
-
}
|
|
2420
2489
|
function forwardDebugInfo(request, id, debugInfo) {
|
|
2421
2490
|
for (var i = 0; i < debugInfo.length; i++)
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
outlineComponentInfo(request, debugInfo[i]),
|
|
2427
|
-
emitDebugChunk(request, id, debugInfo[i]));
|
|
2428
|
-
}
|
|
2429
|
-
function emitTimingChunk(request, id, timestamp) {
|
|
2430
|
-
request.pendingChunks++;
|
|
2431
|
-
timestamp -= request.timeOrigin;
|
|
2432
|
-
id = id.toString(16) + ':D{"time":' + timestamp + "}\n";
|
|
2433
|
-
request.completedRegularChunks.push(id);
|
|
2491
|
+
request.pendingChunks++,
|
|
2492
|
+
"string" === typeof debugInfo[i].name &&
|
|
2493
|
+
outlineComponentInfo(request, debugInfo[i]),
|
|
2494
|
+
emitDebugChunk(request, id, debugInfo[i]);
|
|
2434
2495
|
}
|
|
2435
2496
|
function emitChunk(request, task, value) {
|
|
2436
2497
|
var id = task.id;
|
|
@@ -2463,22 +2524,6 @@
|
|
|
2463
2524
|
: ((value = stringify(value, task.toJSON)),
|
|
2464
2525
|
emitModelChunk(request, task.id, value));
|
|
2465
2526
|
}
|
|
2466
|
-
function erroredTask$1(request, task, error) {
|
|
2467
|
-
task.timed && emitTimingChunk(request, task.id, performance.now());
|
|
2468
|
-
request.abortableTasks.delete(task);
|
|
2469
|
-
task.status = ERRORED$2;
|
|
2470
|
-
if (
|
|
2471
|
-
"object" === typeof error &&
|
|
2472
|
-
null !== error &&
|
|
2473
|
-
error.$$typeof === REACT_POSTPONE_TYPE
|
|
2474
|
-
)
|
|
2475
|
-
logPostpone$1(request, error.message, task),
|
|
2476
|
-
emitPostponeChunk(request, task.id, error);
|
|
2477
|
-
else {
|
|
2478
|
-
var digest = logRecoverableError$1(request, error, task);
|
|
2479
|
-
emitErrorChunk(request, task.id, digest, error);
|
|
2480
|
-
}
|
|
2481
|
-
}
|
|
2482
2527
|
function retryTask$1(request, task) {
|
|
2483
2528
|
if (task.status === PENDING$3) {
|
|
2484
2529
|
var prevDebugID = debugID;
|
|
@@ -2497,19 +2542,22 @@
|
|
|
2497
2542
|
modelRoot = resolvedModel;
|
|
2498
2543
|
task.keyPath = null;
|
|
2499
2544
|
task.implicitSlot = !1;
|
|
2500
|
-
|
|
2501
|
-
currentEnv !== task.environmentName &&
|
|
2502
|
-
(request.pendingChunks++,
|
|
2503
|
-
emitDebugChunk(request, task.id, { env: currentEnv }));
|
|
2504
|
-
task.timed && emitTimingChunk(request, task.id, performance.now());
|
|
2505
|
-
if ("object" === typeof resolvedModel && null !== resolvedModel)
|
|
2545
|
+
if ("object" === typeof resolvedModel && null !== resolvedModel) {
|
|
2506
2546
|
request.writtenObjects.set(
|
|
2507
2547
|
resolvedModel,
|
|
2508
2548
|
serializeByValueID$1(task.id)
|
|
2509
|
-
)
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2549
|
+
);
|
|
2550
|
+
var currentEnv = (0, request.environmentName)();
|
|
2551
|
+
currentEnv !== task.environmentName &&
|
|
2552
|
+
(request.pendingChunks++,
|
|
2553
|
+
emitDebugChunk(request, task.id, { env: currentEnv }));
|
|
2554
|
+
emitChunk(request, task, resolvedModel);
|
|
2555
|
+
} else {
|
|
2556
|
+
var json = stringify(resolvedModel),
|
|
2557
|
+
_currentEnv = (0, request.environmentName)();
|
|
2558
|
+
_currentEnv !== task.environmentName &&
|
|
2559
|
+
(request.pendingChunks++,
|
|
2560
|
+
emitDebugChunk(request, task.id, { env: _currentEnv }));
|
|
2513
2561
|
emitModelChunk(request, task.id, json);
|
|
2514
2562
|
}
|
|
2515
2563
|
request.abortableTasks.delete(task);
|
|
@@ -2531,16 +2579,26 @@
|
|
|
2531
2579
|
thrownValue === SuspenseException$1
|
|
2532
2580
|
? getSuspendedThenable$1()
|
|
2533
2581
|
: thrownValue;
|
|
2534
|
-
if (
|
|
2535
|
-
"
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
x
|
|
2543
|
-
|
|
2582
|
+
if ("object" === typeof x && null !== x) {
|
|
2583
|
+
if ("function" === typeof x.then) {
|
|
2584
|
+
task.status = PENDING$3;
|
|
2585
|
+
task.thenableState = getThenableStateAfterSuspending$1();
|
|
2586
|
+
var ping = task.ping;
|
|
2587
|
+
x.then(ping, ping);
|
|
2588
|
+
return;
|
|
2589
|
+
}
|
|
2590
|
+
if (x.$$typeof === REACT_POSTPONE_TYPE) {
|
|
2591
|
+
request.abortableTasks.delete(task);
|
|
2592
|
+
task.status = ERRORED$2;
|
|
2593
|
+
logPostpone$1(request, x.message, task);
|
|
2594
|
+
emitPostponeChunk(request, task.id, x);
|
|
2595
|
+
return;
|
|
2596
|
+
}
|
|
2597
|
+
}
|
|
2598
|
+
request.abortableTasks.delete(task);
|
|
2599
|
+
task.status = ERRORED$2;
|
|
2600
|
+
var digest = logRecoverableError$1(request, x, task);
|
|
2601
|
+
emitErrorChunk(request, task.id, digest, x);
|
|
2544
2602
|
}
|
|
2545
2603
|
} finally {
|
|
2546
2604
|
debugID = prevDebugID;
|
|
@@ -2585,7 +2643,6 @@
|
|
|
2585
2643
|
function abortTask$1(task, request, errorId) {
|
|
2586
2644
|
task.status !== RENDERING$1 &&
|
|
2587
2645
|
((task.status = ABORTED$1),
|
|
2588
|
-
task.timed && emitTimingChunk(request, task.id, performance.now()),
|
|
2589
2646
|
(errorId = serializeByValueID$1(errorId)),
|
|
2590
2647
|
(task = encodeReferenceChunk(request, task.id, errorId)),
|
|
2591
2648
|
request.completedErrorChunks.push(task));
|
|
@@ -2670,25 +2727,29 @@
|
|
|
2670
2727
|
11 >= request.status && (request.status = ABORTING$1);
|
|
2671
2728
|
var abortableTasks = request.abortableTasks;
|
|
2672
2729
|
if (0 < abortableTasks.size) {
|
|
2673
|
-
if (
|
|
2674
|
-
abortableTasks.forEach(function (task) {
|
|
2675
|
-
task.status !== RENDERING$1 &&
|
|
2676
|
-
((task.status = ABORTED$1), request.pendingChunks--);
|
|
2677
|
-
});
|
|
2678
|
-
else if (
|
|
2730
|
+
if (
|
|
2679
2731
|
"object" === typeof reason &&
|
|
2680
2732
|
null !== reason &&
|
|
2681
2733
|
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
2682
|
-
)
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2734
|
+
)
|
|
2735
|
+
if (
|
|
2736
|
+
(logPostpone$1(request, reason.message, null),
|
|
2737
|
+
request.type === PRERENDER)
|
|
2738
|
+
)
|
|
2739
|
+
abortableTasks.forEach(function (task) {
|
|
2740
|
+
task.status !== RENDERING$1 &&
|
|
2741
|
+
((task.status = ABORTED$1), request.pendingChunks--);
|
|
2742
|
+
});
|
|
2743
|
+
else {
|
|
2744
|
+
var errorId = request.nextChunkId++;
|
|
2745
|
+
request.fatalError = errorId;
|
|
2746
|
+
request.pendingChunks++;
|
|
2747
|
+
emitPostponeChunk(request, errorId, reason);
|
|
2748
|
+
abortableTasks.forEach(function (task) {
|
|
2749
|
+
return abortTask$1(task, request, errorId);
|
|
2750
|
+
});
|
|
2751
|
+
}
|
|
2752
|
+
else {
|
|
2692
2753
|
var error =
|
|
2693
2754
|
void 0 === reason
|
|
2694
2755
|
? Error(
|
|
@@ -2701,14 +2762,21 @@
|
|
|
2701
2762
|
"The render was aborted by the server with a promise."
|
|
2702
2763
|
)
|
|
2703
2764
|
: reason,
|
|
2704
|
-
digest = logRecoverableError$1(request, error, null)
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2765
|
+
digest = logRecoverableError$1(request, error, null);
|
|
2766
|
+
if (request.type === PRERENDER)
|
|
2767
|
+
abortableTasks.forEach(function (task) {
|
|
2768
|
+
task.status !== RENDERING$1 &&
|
|
2769
|
+
((task.status = ABORTED$1), request.pendingChunks--);
|
|
2770
|
+
});
|
|
2771
|
+
else {
|
|
2772
|
+
var _errorId2 = request.nextChunkId++;
|
|
2773
|
+
request.fatalError = _errorId2;
|
|
2774
|
+
request.pendingChunks++;
|
|
2775
|
+
emitErrorChunk(request, _errorId2, digest, error);
|
|
2776
|
+
abortableTasks.forEach(function (task) {
|
|
2777
|
+
return abortTask$1(task, request, _errorId2);
|
|
2778
|
+
});
|
|
2779
|
+
}
|
|
2712
2780
|
}
|
|
2713
2781
|
abortableTasks.clear();
|
|
2714
2782
|
var onAllReady = request.onAllReady;
|
|
@@ -3477,7 +3545,6 @@
|
|
|
3477
3545
|
this.value = value;
|
|
3478
3546
|
this.reason = reason;
|
|
3479
3547
|
this._response = response;
|
|
3480
|
-
this._children = [];
|
|
3481
3548
|
this._debugInfo = null;
|
|
3482
3549
|
}
|
|
3483
3550
|
function readChunk(chunk) {
|
|
@@ -3570,14 +3637,12 @@
|
|
|
3570
3637
|
}
|
|
3571
3638
|
}
|
|
3572
3639
|
function initializeModelChunk(chunk) {
|
|
3573
|
-
var prevHandler = initializingHandler
|
|
3574
|
-
prevChunk = initializingChunk;
|
|
3640
|
+
var prevHandler = initializingHandler;
|
|
3575
3641
|
initializingHandler = null;
|
|
3576
3642
|
var resolvedModel = chunk.value;
|
|
3577
3643
|
chunk.status = "blocked";
|
|
3578
3644
|
chunk.value = null;
|
|
3579
3645
|
chunk.reason = null;
|
|
3580
|
-
initializingChunk = chunk;
|
|
3581
3646
|
try {
|
|
3582
3647
|
var value = JSON.parse(resolvedModel, chunk._response._fromJSON),
|
|
3583
3648
|
resolveListeners = chunk.value;
|
|
@@ -3598,7 +3663,7 @@
|
|
|
3598
3663
|
} catch (error) {
|
|
3599
3664
|
(chunk.status = "rejected"), (chunk.reason = error);
|
|
3600
3665
|
} finally {
|
|
3601
|
-
|
|
3666
|
+
initializingHandler = prevHandler;
|
|
3602
3667
|
}
|
|
3603
3668
|
}
|
|
3604
3669
|
function initializeModuleChunk(chunk) {
|
|
@@ -3614,15 +3679,6 @@
|
|
|
3614
3679
|
response._chunks.forEach(function (chunk) {
|
|
3615
3680
|
"pending" === chunk.status && triggerErrorOnChunk(chunk, error);
|
|
3616
3681
|
});
|
|
3617
|
-
supportsUserTiming &&
|
|
3618
|
-
performance.mark("Server Components Track", componentsTrackMarker);
|
|
3619
|
-
flushComponentPerformance(
|
|
3620
|
-
response,
|
|
3621
|
-
getChunk(response, 0),
|
|
3622
|
-
0,
|
|
3623
|
-
-Infinity,
|
|
3624
|
-
-Infinity
|
|
3625
|
-
);
|
|
3626
3682
|
}
|
|
3627
3683
|
function nullRefGetter() {
|
|
3628
3684
|
return null;
|
|
@@ -3763,9 +3819,6 @@
|
|
|
3763
3819
|
reference = reference.split(":");
|
|
3764
3820
|
var id = parseInt(reference[0], 16);
|
|
3765
3821
|
id = getChunk(response, id);
|
|
3766
|
-
null !== initializingChunk &&
|
|
3767
|
-
isArrayImpl(initializingChunk._children) &&
|
|
3768
|
-
initializingChunk._children.push(id);
|
|
3769
3822
|
switch (id.status) {
|
|
3770
3823
|
case "resolved_model":
|
|
3771
3824
|
initializeModelChunk(id);
|
|
@@ -3874,19 +3927,12 @@
|
|
|
3874
3927
|
return (
|
|
3875
3928
|
(parentObject = parseInt(value.slice(2), 16)),
|
|
3876
3929
|
(response = getChunk(response, parentObject)),
|
|
3877
|
-
null !== initializingChunk &&
|
|
3878
|
-
isArrayImpl(initializingChunk._children) &&
|
|
3879
|
-
initializingChunk._children.push(response),
|
|
3880
3930
|
createLazyChunkWrapper(response)
|
|
3881
3931
|
);
|
|
3882
3932
|
case "@":
|
|
3883
3933
|
if (2 === value.length) return new Promise(function () {});
|
|
3884
3934
|
parentObject = parseInt(value.slice(2), 16);
|
|
3885
|
-
|
|
3886
|
-
null !== initializingChunk &&
|
|
3887
|
-
isArrayImpl(initializingChunk._children) &&
|
|
3888
|
-
initializingChunk._children.push(response);
|
|
3889
|
-
return response;
|
|
3935
|
+
return getChunk(response, parentObject);
|
|
3890
3936
|
case "S":
|
|
3891
3937
|
return Symbol.for(value.slice(2));
|
|
3892
3938
|
case "F":
|
|
@@ -4023,7 +4069,6 @@
|
|
|
4023
4069
|
this._rowLength = this._rowTag = this._rowID = this._rowState = 0;
|
|
4024
4070
|
this._buffer = [];
|
|
4025
4071
|
this._tempRefs = temporaryReferences;
|
|
4026
|
-
this._timeOrigin = 0;
|
|
4027
4072
|
this._debugRootOwner = bundlerConfig =
|
|
4028
4073
|
void 0 === ReactSharedInteralsServer ||
|
|
4029
4074
|
null === ReactSharedInteralsServer.A
|
|
@@ -4447,13 +4492,10 @@
|
|
|
4447
4492
|
void 0 !== debugInfo.stack &&
|
|
4448
4493
|
initializeFakeTask(response, debugInfo, env);
|
|
4449
4494
|
null === debugInfo.owner && null != response._debugRootOwner
|
|
4450
|
-
? ((
|
|
4451
|
-
(
|
|
4452
|
-
(env.debugStack = response._debugRootStack))
|
|
4495
|
+
? ((debugInfo.owner = response._debugRootOwner),
|
|
4496
|
+
(debugInfo.debugStack = response._debugRootStack))
|
|
4453
4497
|
: void 0 !== debugInfo.stack &&
|
|
4454
4498
|
initializeFakeStack(response, debugInfo);
|
|
4455
|
-
"number" === typeof debugInfo.time &&
|
|
4456
|
-
(debugInfo = { time: debugInfo.time + response._timeOrigin });
|
|
4457
4499
|
response = getChunk(response, id);
|
|
4458
4500
|
(response._debugInfo || (response._debugInfo = [])).push(debugInfo);
|
|
4459
4501
|
}
|
|
@@ -4479,134 +4521,6 @@
|
|
|
4479
4521
|
);
|
|
4480
4522
|
}
|
|
4481
4523
|
}
|
|
4482
|
-
function flushComponentPerformance(
|
|
4483
|
-
response,
|
|
4484
|
-
root,
|
|
4485
|
-
trackIdx$jscomp$0,
|
|
4486
|
-
trackTime,
|
|
4487
|
-
parentEndTime
|
|
4488
|
-
) {
|
|
4489
|
-
if (!isArrayImpl(root._children)) {
|
|
4490
|
-
response = root._children;
|
|
4491
|
-
var previousEndTime = response.endTime;
|
|
4492
|
-
if (
|
|
4493
|
-
-Infinity < parentEndTime &&
|
|
4494
|
-
parentEndTime < previousEndTime &&
|
|
4495
|
-
null !== response.component
|
|
4496
|
-
) {
|
|
4497
|
-
var trackIdx = trackIdx$jscomp$0;
|
|
4498
|
-
root = parentEndTime;
|
|
4499
|
-
supportsUserTiming &&
|
|
4500
|
-
0 <= previousEndTime &&
|
|
4501
|
-
10 > trackIdx &&
|
|
4502
|
-
((parentEndTime = response.component.name),
|
|
4503
|
-
(reusableComponentDevToolDetails.color = "tertiary-light"),
|
|
4504
|
-
(reusableComponentDevToolDetails.track = trackNames[trackIdx]),
|
|
4505
|
-
(reusableComponentOptions.start = 0 > root ? 0 : root),
|
|
4506
|
-
(reusableComponentOptions.end = previousEndTime),
|
|
4507
|
-
performance.measure(
|
|
4508
|
-
parentEndTime + " [deduped]",
|
|
4509
|
-
reusableComponentOptions
|
|
4510
|
-
));
|
|
4511
|
-
}
|
|
4512
|
-
response.track = trackIdx$jscomp$0;
|
|
4513
|
-
return response;
|
|
4514
|
-
}
|
|
4515
|
-
var children = root._children;
|
|
4516
|
-
"resolved_model" === root.status && initializeModelChunk(root);
|
|
4517
|
-
if ((previousEndTime = root._debugInfo)) {
|
|
4518
|
-
for (trackIdx = 1; trackIdx < previousEndTime.length; trackIdx++)
|
|
4519
|
-
if ("string" === typeof previousEndTime[trackIdx].name) {
|
|
4520
|
-
var startTimeInfo = previousEndTime[trackIdx - 1];
|
|
4521
|
-
if ("number" === typeof startTimeInfo.time) {
|
|
4522
|
-
trackIdx = startTimeInfo.time;
|
|
4523
|
-
trackIdx < trackTime && trackIdx$jscomp$0++;
|
|
4524
|
-
trackTime = trackIdx;
|
|
4525
|
-
break;
|
|
4526
|
-
}
|
|
4527
|
-
}
|
|
4528
|
-
for (trackIdx = previousEndTime.length - 1; 0 <= trackIdx; trackIdx--)
|
|
4529
|
-
(startTimeInfo = previousEndTime[trackIdx]),
|
|
4530
|
-
"number" === typeof startTimeInfo.time &&
|
|
4531
|
-
startTimeInfo.time > parentEndTime &&
|
|
4532
|
-
(parentEndTime = startTimeInfo.time);
|
|
4533
|
-
}
|
|
4534
|
-
trackIdx = {
|
|
4535
|
-
track: trackIdx$jscomp$0,
|
|
4536
|
-
endTime: -Infinity,
|
|
4537
|
-
component: null
|
|
4538
|
-
};
|
|
4539
|
-
root._children = trackIdx;
|
|
4540
|
-
root = -Infinity;
|
|
4541
|
-
startTimeInfo = trackIdx$jscomp$0;
|
|
4542
|
-
var childTrackTime = trackTime;
|
|
4543
|
-
for (trackTime = 0; trackTime < children.length; trackTime++) {
|
|
4544
|
-
childTrackTime = flushComponentPerformance(
|
|
4545
|
-
response,
|
|
4546
|
-
children[trackTime],
|
|
4547
|
-
startTimeInfo,
|
|
4548
|
-
childTrackTime,
|
|
4549
|
-
parentEndTime
|
|
4550
|
-
);
|
|
4551
|
-
null !== childTrackTime.component &&
|
|
4552
|
-
(trackIdx.component = childTrackTime.component);
|
|
4553
|
-
startTimeInfo = childTrackTime.track;
|
|
4554
|
-
var childEndTime = childTrackTime.endTime;
|
|
4555
|
-
childTrackTime = childEndTime;
|
|
4556
|
-
childEndTime > root && (root = childEndTime);
|
|
4557
|
-
}
|
|
4558
|
-
if (previousEndTime)
|
|
4559
|
-
for (
|
|
4560
|
-
parentEndTime = 0, children = previousEndTime.length - 1;
|
|
4561
|
-
0 <= children;
|
|
4562
|
-
children--
|
|
4563
|
-
)
|
|
4564
|
-
if (
|
|
4565
|
-
((trackTime = previousEndTime[children]),
|
|
4566
|
-
"number" === typeof trackTime.time &&
|
|
4567
|
-
((parentEndTime = trackTime.time),
|
|
4568
|
-
parentEndTime > root && (root = parentEndTime)),
|
|
4569
|
-
"string" === typeof trackTime.name &&
|
|
4570
|
-
0 < children &&
|
|
4571
|
-
((childTrackTime = previousEndTime[children - 1]),
|
|
4572
|
-
"number" === typeof childTrackTime.time))
|
|
4573
|
-
) {
|
|
4574
|
-
startTimeInfo = trackIdx$jscomp$0;
|
|
4575
|
-
childTrackTime = childTrackTime.time;
|
|
4576
|
-
childEndTime = root;
|
|
4577
|
-
if (supportsUserTiming && 0 <= childEndTime && 10 > startTimeInfo) {
|
|
4578
|
-
var env = trackTime.env,
|
|
4579
|
-
name = trackTime.name,
|
|
4580
|
-
isPrimaryEnv = env === response._rootEnvironmentName,
|
|
4581
|
-
selfTime = parentEndTime - childTrackTime;
|
|
4582
|
-
reusableComponentDevToolDetails.color =
|
|
4583
|
-
0.5 > selfTime
|
|
4584
|
-
? isPrimaryEnv
|
|
4585
|
-
? "primary-light"
|
|
4586
|
-
: "secondary-light"
|
|
4587
|
-
: 50 > selfTime
|
|
4588
|
-
? isPrimaryEnv
|
|
4589
|
-
? "primary"
|
|
4590
|
-
: "secondary"
|
|
4591
|
-
: 500 > selfTime
|
|
4592
|
-
? isPrimaryEnv
|
|
4593
|
-
? "primary-dark"
|
|
4594
|
-
: "secondary-dark"
|
|
4595
|
-
: "error";
|
|
4596
|
-
reusableComponentDevToolDetails.track = trackNames[startTimeInfo];
|
|
4597
|
-
reusableComponentOptions.start =
|
|
4598
|
-
0 > childTrackTime ? 0 : childTrackTime;
|
|
4599
|
-
reusableComponentOptions.end = childEndTime;
|
|
4600
|
-
performance.measure(
|
|
4601
|
-
isPrimaryEnv || void 0 === env ? name : name + " [" + env + "]",
|
|
4602
|
-
reusableComponentOptions
|
|
4603
|
-
);
|
|
4604
|
-
}
|
|
4605
|
-
trackIdx.component = trackTime;
|
|
4606
|
-
}
|
|
4607
|
-
trackIdx.endTime = root;
|
|
4608
|
-
return trackIdx;
|
|
4609
|
-
}
|
|
4610
4524
|
function processFullStringRow(response, id, tag, row) {
|
|
4611
4525
|
switch (tag) {
|
|
4612
4526
|
case 73:
|
|
@@ -4628,9 +4542,6 @@
|
|
|
4628
4542
|
case 84:
|
|
4629
4543
|
resolveText(response, id, row);
|
|
4630
4544
|
break;
|
|
4631
|
-
case 78:
|
|
4632
|
-
response._timeOrigin = +row - performance.timeOrigin;
|
|
4633
|
-
break;
|
|
4634
4545
|
case 68:
|
|
4635
4546
|
tag = new ReactPromise("resolved_model", row, null, response);
|
|
4636
4547
|
initializeModelChunk(tag);
|
|
@@ -6830,7 +6741,7 @@
|
|
|
6830
6741
|
: children$jscomp$6;
|
|
6831
6742
|
Array.isArray(children$jscomp$6) && 1 < children$jscomp$6.length
|
|
6832
6743
|
? console.error(
|
|
6833
|
-
"React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be
|
|
6744
|
+
"React expects the `children` prop of <title> tags to be a string, number, bigint, or object with a novel `toString` method but found an Array with length %s instead. Browsers treat all child Nodes of <title> tags as Text content and React expects to be able to convert `children` of <title> tags to a single string value which is why Arrays of length greater than 1 are not supported. When using JSX it can be commong to combine text nodes and value nodes. For example: <title>hello {nameOfUser}</title>. While not immediately apparent, `children` in this case is an Array with length 2. If your `children` prop is using this form try rewriting it using a template string: <title>{`hello ${nameOfUser}`}</title>.",
|
|
6834
6745
|
children$jscomp$6.length
|
|
6835
6746
|
)
|
|
6836
6747
|
: "function" === typeof child || "symbol" === typeof child
|
|
@@ -8390,7 +8301,7 @@
|
|
|
8390
8301
|
if ("string" === typeof type) return describeBuiltInComponentFrame(type);
|
|
8391
8302
|
if ("function" === typeof type)
|
|
8392
8303
|
return type.prototype && type.prototype.isReactComponent
|
|
8393
|
-
? describeNativeComponentFrame(type, !0)
|
|
8304
|
+
? ((type = describeNativeComponentFrame(type, !0)), type)
|
|
8394
8305
|
: describeNativeComponentFrame(type, !1);
|
|
8395
8306
|
if ("object" === typeof type && null !== type) {
|
|
8396
8307
|
switch (type.$$typeof) {
|
|
@@ -9442,6 +9353,7 @@
|
|
|
9442
9353
|
} else {
|
|
9443
9354
|
switch (type) {
|
|
9444
9355
|
case REACT_LEGACY_HIDDEN_TYPE:
|
|
9356
|
+
case REACT_DEBUG_TRACING_MODE_TYPE:
|
|
9445
9357
|
case REACT_STRICT_MODE_TYPE:
|
|
9446
9358
|
case REACT_PROFILER_TYPE:
|
|
9447
9359
|
case REACT_FRAGMENT_TYPE:
|
|
@@ -11855,6 +11767,7 @@
|
|
|
11855
11767
|
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
11856
11768
|
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
11857
11769
|
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
|
|
11770
|
+
REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
|
|
11858
11771
|
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
11859
11772
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
|
11860
11773
|
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
@@ -11900,10 +11813,6 @@
|
|
|
11900
11813
|
":"
|
|
11901
11814
|
);
|
|
11902
11815
|
},
|
|
11903
|
-
useHostTransitionStatus: unsupportedHook,
|
|
11904
|
-
useOptimistic: unsupportedHook,
|
|
11905
|
-
useFormState: unsupportedHook,
|
|
11906
|
-
useActionState: unsupportedHook,
|
|
11907
11816
|
useSyncExternalStore: unsupportedHook,
|
|
11908
11817
|
useCacheRefresh: function () {
|
|
11909
11818
|
return unsupportedRefresh$1;
|
|
@@ -12051,33 +11960,6 @@
|
|
|
12051
11960
|
fakeServerFunctionIdx = 0,
|
|
12052
11961
|
FunctionBind = Function.prototype.bind,
|
|
12053
11962
|
ArraySlice = Array.prototype.slice,
|
|
12054
|
-
supportsUserTiming =
|
|
12055
|
-
"undefined" !== typeof performance &&
|
|
12056
|
-
"function" === typeof performance.measure,
|
|
12057
|
-
componentsTrackMarker = {
|
|
12058
|
-
startTime: 0.001,
|
|
12059
|
-
detail: {
|
|
12060
|
-
devtools: {
|
|
12061
|
-
color: "primary-light",
|
|
12062
|
-
track: "Primary",
|
|
12063
|
-
trackGroup: "Server Components \u269b"
|
|
12064
|
-
}
|
|
12065
|
-
}
|
|
12066
|
-
},
|
|
12067
|
-
reusableComponentDevToolDetails = {
|
|
12068
|
-
color: "primary",
|
|
12069
|
-
track: "",
|
|
12070
|
-
trackGroup: "Server Components \u269b"
|
|
12071
|
-
},
|
|
12072
|
-
reusableComponentOptions = {
|
|
12073
|
-
start: -0,
|
|
12074
|
-
end: -0,
|
|
12075
|
-
detail: { devtools: reusableComponentDevToolDetails }
|
|
12076
|
-
},
|
|
12077
|
-
trackNames =
|
|
12078
|
-
"Primary Parallel Parallel\u200b Parallel\u200b\u200b Parallel\u200b\u200b\u200b Parallel\u200b\u200b\u200b\u200b Parallel\u200b\u200b\u200b\u200b\u200b Parallel\u200b\u200b\u200b\u200b\u200b\u200b Parallel\u200b\u200b\u200b\u200b\u200b\u200b\u200b Parallel\u200b\u200b\u200b\u200b\u200b\u200b\u200b\u200b".split(
|
|
12079
|
-
" "
|
|
12080
|
-
),
|
|
12081
11963
|
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
12082
11964
|
ReactSharedInteralsServer =
|
|
12083
11965
|
React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
@@ -12111,7 +11993,6 @@
|
|
|
12111
11993
|
}
|
|
12112
11994
|
};
|
|
12113
11995
|
var initializingHandler = null,
|
|
12114
|
-
initializingChunk = null,
|
|
12115
11996
|
supportsCreateTask = !!console.createTask,
|
|
12116
11997
|
fakeFunctionCache = new Map(),
|
|
12117
11998
|
fakeFunctionIdx = 0,
|
|
@@ -13023,29 +12904,29 @@
|
|
|
13023
12904
|
return treeId + ":";
|
|
13024
12905
|
},
|
|
13025
12906
|
useSyncExternalStore: clientHookNotSupported,
|
|
13026
|
-
|
|
13027
|
-
|
|
13028
|
-
return [passthrough, unsupportedSetOptimisticState];
|
|
12907
|
+
useCacheRefresh: function () {
|
|
12908
|
+
return unsupportedRefresh;
|
|
13029
12909
|
},
|
|
13030
|
-
|
|
13031
|
-
|
|
13032
|
-
useHostTransitionStatus: function () {
|
|
13033
|
-
resolveCurrentlyRenderingComponent();
|
|
13034
|
-
return NotPending;
|
|
12910
|
+
useEffectEvent: function () {
|
|
12911
|
+
return throwOnUseEffectEventCall;
|
|
13035
12912
|
},
|
|
13036
12913
|
useMemoCache: function (size) {
|
|
13037
12914
|
for (var data = Array(size), i = 0; i < size; i++)
|
|
13038
12915
|
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
13039
12916
|
return data;
|
|
13040
12917
|
},
|
|
13041
|
-
|
|
13042
|
-
|
|
12918
|
+
useHostTransitionStatus: function () {
|
|
12919
|
+
resolveCurrentlyRenderingComponent();
|
|
12920
|
+
return NotPending;
|
|
13043
12921
|
},
|
|
13044
|
-
|
|
13045
|
-
|
|
12922
|
+
useOptimistic: function (passthrough) {
|
|
12923
|
+
resolveCurrentlyRenderingComponent();
|
|
12924
|
+
return [passthrough, unsupportedSetOptimisticState];
|
|
13046
12925
|
}
|
|
13047
|
-
}
|
|
13048
|
-
|
|
12926
|
+
};
|
|
12927
|
+
HooksDispatcher.useFormState = useActionState;
|
|
12928
|
+
HooksDispatcher.useActionState = useActionState;
|
|
12929
|
+
var currentResumableState = null,
|
|
13049
12930
|
currentTaskInDEV = null,
|
|
13050
12931
|
DefaultAsyncDispatcher = {
|
|
13051
12932
|
getCacheForType: function () {
|
|
@@ -13296,5 +13177,5 @@
|
|
|
13296
13177
|
});
|
|
13297
13178
|
});
|
|
13298
13179
|
};
|
|
13299
|
-
exports.version = "19.
|
|
13180
|
+
exports.version = "19.0.0-experimental-4b7d4530-20241218";
|
|
13300
13181
|
})();
|