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.
|
@@ -118,6 +118,7 @@ var CLIENT_REFERENCE_TAG$1 = Symbol.for("react.client.reference"),
|
|
|
118
118
|
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
119
119
|
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
120
120
|
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
|
|
121
|
+
REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"),
|
|
121
122
|
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
122
123
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
|
123
124
|
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
|
@@ -214,10 +215,6 @@ var HooksDispatcher$1 = {
|
|
|
214
215
|
useImperativeHandle: unsupportedHook,
|
|
215
216
|
useEffect: unsupportedHook,
|
|
216
217
|
useId: useId$1,
|
|
217
|
-
useHostTransitionStatus: unsupportedHook,
|
|
218
|
-
useOptimistic: unsupportedHook,
|
|
219
|
-
useFormState: unsupportedHook,
|
|
220
|
-
useActionState: unsupportedHook,
|
|
221
218
|
useSyncExternalStore: unsupportedHook,
|
|
222
219
|
useCacheRefresh: function () {
|
|
223
220
|
return unsupportedRefresh$1;
|
|
@@ -641,7 +638,19 @@ function serializeThenable(request, task, thenable) {
|
|
|
641
638
|
newTask.id
|
|
642
639
|
);
|
|
643
640
|
case "rejected":
|
|
644
|
-
return
|
|
641
|
+
return (
|
|
642
|
+
(task = thenable.reason),
|
|
643
|
+
"object" === typeof task &&
|
|
644
|
+
null !== task &&
|
|
645
|
+
task.$$typeof === REACT_POSTPONE_TYPE
|
|
646
|
+
? (logPostpone$1(request, task.message, newTask),
|
|
647
|
+
emitPostponeChunk(request, newTask.id))
|
|
648
|
+
: ((task = logRecoverableError$1(request, task, null)),
|
|
649
|
+
emitErrorChunk(request, newTask.id, task)),
|
|
650
|
+
(newTask.status = 4),
|
|
651
|
+
request.abortableTasks.delete(newTask),
|
|
652
|
+
newTask.id
|
|
653
|
+
);
|
|
645
654
|
default:
|
|
646
655
|
if (12 === request.status)
|
|
647
656
|
return (
|
|
@@ -674,7 +683,16 @@ function serializeThenable(request, task, thenable) {
|
|
|
674
683
|
},
|
|
675
684
|
function (reason) {
|
|
676
685
|
0 === newTask.status &&
|
|
677
|
-
(
|
|
686
|
+
("object" === typeof reason &&
|
|
687
|
+
null !== reason &&
|
|
688
|
+
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
689
|
+
? (logPostpone$1(request, reason.message, newTask),
|
|
690
|
+
emitPostponeChunk(request, newTask.id))
|
|
691
|
+
: ((reason = logRecoverableError$1(request, reason, newTask)),
|
|
692
|
+
emitErrorChunk(request, newTask.id, reason)),
|
|
693
|
+
(newTask.status = 4),
|
|
694
|
+
request.abortableTasks.delete(newTask),
|
|
695
|
+
enqueueFlush(request));
|
|
678
696
|
}
|
|
679
697
|
);
|
|
680
698
|
return newTask.id;
|
|
@@ -695,26 +713,43 @@ function serializeReadableStream(request, task, stream) {
|
|
|
695
713
|
emitChunk(request, streamTask, streamTask.model),
|
|
696
714
|
enqueueFlush(request),
|
|
697
715
|
reader.read().then(progress, error);
|
|
698
|
-
} catch (x$
|
|
699
|
-
error(x$
|
|
716
|
+
} catch (x$11) {
|
|
717
|
+
error(x$11);
|
|
700
718
|
}
|
|
701
719
|
}
|
|
702
720
|
function error(reason) {
|
|
703
|
-
aborted
|
|
704
|
-
|
|
705
|
-
request.abortListeners.delete(abortStream)
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
721
|
+
if (!aborted) {
|
|
722
|
+
aborted = !0;
|
|
723
|
+
request.abortListeners.delete(abortStream);
|
|
724
|
+
var digest = logRecoverableError$1(request, reason, streamTask);
|
|
725
|
+
emitErrorChunk(request, streamTask.id, digest);
|
|
726
|
+
enqueueFlush(request);
|
|
727
|
+
reader.cancel(reason).then(error, error);
|
|
728
|
+
}
|
|
709
729
|
}
|
|
710
730
|
function abortStream(reason) {
|
|
711
|
-
aborted
|
|
712
|
-
|
|
713
|
-
request.abortListeners.delete(abortStream)
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
731
|
+
if (!aborted) {
|
|
732
|
+
aborted = !0;
|
|
733
|
+
request.abortListeners.delete(abortStream);
|
|
734
|
+
if (
|
|
735
|
+
"object" === typeof reason &&
|
|
736
|
+
null !== reason &&
|
|
737
|
+
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
738
|
+
)
|
|
739
|
+
logPostpone$1(request, reason.message, streamTask),
|
|
740
|
+
21 === request.type
|
|
741
|
+
? request.pendingChunks--
|
|
742
|
+
: (emitPostponeChunk(request, streamTask.id),
|
|
743
|
+
enqueueFlush(request));
|
|
744
|
+
else {
|
|
745
|
+
var digest = logRecoverableError$1(request, reason, streamTask);
|
|
746
|
+
21 === request.type
|
|
747
|
+
? request.pendingChunks--
|
|
748
|
+
: (emitErrorChunk(request, streamTask.id, digest),
|
|
749
|
+
enqueueFlush(request));
|
|
750
|
+
}
|
|
751
|
+
reader.cancel(reason).then(error, error);
|
|
752
|
+
}
|
|
718
753
|
}
|
|
719
754
|
var supportsBYOB = stream.supportsBYOB;
|
|
720
755
|
if (void 0 === supportsBYOB)
|
|
@@ -769,28 +804,45 @@ function serializeAsyncIterable(request, task, iterable, iterator) {
|
|
|
769
804
|
emitChunk(request, streamTask, streamTask.model),
|
|
770
805
|
enqueueFlush(request),
|
|
771
806
|
iterator.next().then(progress, error);
|
|
772
|
-
} catch (x$
|
|
773
|
-
error(x$
|
|
807
|
+
} catch (x$12) {
|
|
808
|
+
error(x$12);
|
|
774
809
|
}
|
|
775
810
|
}
|
|
776
811
|
function error(reason) {
|
|
777
|
-
aborted
|
|
778
|
-
|
|
779
|
-
request.abortListeners.delete(abortIterable)
|
|
780
|
-
|
|
781
|
-
|
|
812
|
+
if (!aborted) {
|
|
813
|
+
aborted = !0;
|
|
814
|
+
request.abortListeners.delete(abortIterable);
|
|
815
|
+
var digest = logRecoverableError$1(request, reason, streamTask);
|
|
816
|
+
emitErrorChunk(request, streamTask.id, digest);
|
|
817
|
+
enqueueFlush(request);
|
|
782
818
|
"function" === typeof iterator.throw &&
|
|
783
|
-
iterator.throw(reason).then(error, error)
|
|
819
|
+
iterator.throw(reason).then(error, error);
|
|
820
|
+
}
|
|
784
821
|
}
|
|
785
822
|
function abortIterable(reason) {
|
|
786
|
-
aborted
|
|
787
|
-
|
|
788
|
-
request.abortListeners.delete(abortIterable)
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
823
|
+
if (!aborted) {
|
|
824
|
+
aborted = !0;
|
|
825
|
+
request.abortListeners.delete(abortIterable);
|
|
826
|
+
if (
|
|
827
|
+
"object" === typeof reason &&
|
|
828
|
+
null !== reason &&
|
|
829
|
+
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
830
|
+
)
|
|
831
|
+
logPostpone$1(request, reason.message, streamTask),
|
|
832
|
+
21 === request.type
|
|
833
|
+
? request.pendingChunks--
|
|
834
|
+
: (emitPostponeChunk(request, streamTask.id),
|
|
835
|
+
enqueueFlush(request));
|
|
836
|
+
else {
|
|
837
|
+
var digest = logRecoverableError$1(request, reason, streamTask);
|
|
838
|
+
21 === request.type
|
|
839
|
+
? request.pendingChunks--
|
|
840
|
+
: (emitErrorChunk(request, streamTask.id, digest),
|
|
841
|
+
enqueueFlush(request));
|
|
842
|
+
}
|
|
792
843
|
"function" === typeof iterator.throw &&
|
|
793
|
-
iterator.throw(reason).then(error, error)
|
|
844
|
+
iterator.throw(reason).then(error, error);
|
|
845
|
+
}
|
|
794
846
|
}
|
|
795
847
|
iterable = iterable === iterator;
|
|
796
848
|
var streamTask = createTask(
|
|
@@ -983,83 +1035,7 @@ function createTask(request, model, keyPath, implicitSlot, abortSet) {
|
|
|
983
1035
|
return pingTask$1(request, task);
|
|
984
1036
|
},
|
|
985
1037
|
toJSON: function (parentPropertyName, value) {
|
|
986
|
-
|
|
987
|
-
prevImplicitSlot = task.implicitSlot;
|
|
988
|
-
try {
|
|
989
|
-
var JSCompiler_inline_result = renderModelDestructive(
|
|
990
|
-
request,
|
|
991
|
-
task,
|
|
992
|
-
this,
|
|
993
|
-
parentPropertyName,
|
|
994
|
-
value
|
|
995
|
-
);
|
|
996
|
-
} catch (thrownValue) {
|
|
997
|
-
if (
|
|
998
|
-
((parentPropertyName = task.model),
|
|
999
|
-
(parentPropertyName =
|
|
1000
|
-
"object" === typeof parentPropertyName &&
|
|
1001
|
-
null !== parentPropertyName &&
|
|
1002
|
-
(parentPropertyName.$$typeof === REACT_ELEMENT_TYPE ||
|
|
1003
|
-
parentPropertyName.$$typeof === REACT_LAZY_TYPE)),
|
|
1004
|
-
12 === request.status)
|
|
1005
|
-
)
|
|
1006
|
-
(task.status = 3),
|
|
1007
|
-
21 === request.type
|
|
1008
|
-
? ((prevKeyPath = request.nextChunkId++),
|
|
1009
|
-
(prevKeyPath = parentPropertyName
|
|
1010
|
-
? "$L" + prevKeyPath.toString(16)
|
|
1011
|
-
: serializeByValueID$1(prevKeyPath)),
|
|
1012
|
-
(JSCompiler_inline_result = prevKeyPath))
|
|
1013
|
-
: ((prevKeyPath = request.fatalError),
|
|
1014
|
-
(JSCompiler_inline_result = parentPropertyName
|
|
1015
|
-
? "$L" + prevKeyPath.toString(16)
|
|
1016
|
-
: serializeByValueID$1(prevKeyPath)));
|
|
1017
|
-
else if (
|
|
1018
|
-
((value =
|
|
1019
|
-
thrownValue === SuspenseException$1
|
|
1020
|
-
? getSuspendedThenable$1()
|
|
1021
|
-
: thrownValue),
|
|
1022
|
-
"object" === typeof value &&
|
|
1023
|
-
null !== value &&
|
|
1024
|
-
"function" === typeof value.then)
|
|
1025
|
-
) {
|
|
1026
|
-
JSCompiler_inline_result = createTask(
|
|
1027
|
-
request,
|
|
1028
|
-
task.model,
|
|
1029
|
-
task.keyPath,
|
|
1030
|
-
task.implicitSlot,
|
|
1031
|
-
request.abortableTasks
|
|
1032
|
-
);
|
|
1033
|
-
var ping = JSCompiler_inline_result.ping;
|
|
1034
|
-
value.then(ping, ping);
|
|
1035
|
-
JSCompiler_inline_result.thenableState =
|
|
1036
|
-
getThenableStateAfterSuspending$1();
|
|
1037
|
-
task.keyPath = prevKeyPath;
|
|
1038
|
-
task.implicitSlot = prevImplicitSlot;
|
|
1039
|
-
JSCompiler_inline_result = parentPropertyName
|
|
1040
|
-
? "$L" + JSCompiler_inline_result.id.toString(16)
|
|
1041
|
-
: serializeByValueID$1(JSCompiler_inline_result.id);
|
|
1042
|
-
} else
|
|
1043
|
-
(task.keyPath = prevKeyPath),
|
|
1044
|
-
(task.implicitSlot = prevImplicitSlot),
|
|
1045
|
-
request.pendingChunks++,
|
|
1046
|
-
(prevKeyPath = request.nextChunkId++),
|
|
1047
|
-
"object" === typeof value &&
|
|
1048
|
-
null !== value &&
|
|
1049
|
-
value.$$typeof === REACT_POSTPONE_TYPE
|
|
1050
|
-
? (logPostpone$1(request, value.message, task),
|
|
1051
|
-
emitPostponeChunk(request, prevKeyPath))
|
|
1052
|
-
: ((prevImplicitSlot = logRecoverableError$1(
|
|
1053
|
-
request,
|
|
1054
|
-
value,
|
|
1055
|
-
task
|
|
1056
|
-
)),
|
|
1057
|
-
emitErrorChunk(request, prevKeyPath, prevImplicitSlot)),
|
|
1058
|
-
(JSCompiler_inline_result = parentPropertyName
|
|
1059
|
-
? "$L" + prevKeyPath.toString(16)
|
|
1060
|
-
: serializeByValueID$1(prevKeyPath));
|
|
1061
|
-
}
|
|
1062
|
-
return JSCompiler_inline_result;
|
|
1038
|
+
return renderModel(request, task, this, parentPropertyName, value);
|
|
1063
1039
|
},
|
|
1064
1040
|
thenableState: null
|
|
1065
1041
|
};
|
|
@@ -1102,21 +1078,37 @@ function serializeBlob(request, blob) {
|
|
|
1102
1078
|
);
|
|
1103
1079
|
}
|
|
1104
1080
|
function error(reason) {
|
|
1105
|
-
aborted
|
|
1106
|
-
|
|
1107
|
-
request.abortListeners.delete(abortBlob)
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1081
|
+
if (!aborted) {
|
|
1082
|
+
aborted = !0;
|
|
1083
|
+
request.abortListeners.delete(abortBlob);
|
|
1084
|
+
var digest = logRecoverableError$1(request, reason, newTask);
|
|
1085
|
+
emitErrorChunk(request, newTask.id, digest);
|
|
1086
|
+
enqueueFlush(request);
|
|
1087
|
+
reader.cancel(reason).then(error, error);
|
|
1088
|
+
}
|
|
1111
1089
|
}
|
|
1112
1090
|
function abortBlob(reason) {
|
|
1113
|
-
aborted
|
|
1114
|
-
|
|
1115
|
-
request.abortListeners.delete(abortBlob)
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1091
|
+
if (!aborted) {
|
|
1092
|
+
aborted = !0;
|
|
1093
|
+
request.abortListeners.delete(abortBlob);
|
|
1094
|
+
if (
|
|
1095
|
+
"object" === typeof reason &&
|
|
1096
|
+
null !== reason &&
|
|
1097
|
+
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
1098
|
+
)
|
|
1099
|
+
logPostpone$1(request, reason.message, newTask),
|
|
1100
|
+
21 === request.type
|
|
1101
|
+
? request.pendingChunks--
|
|
1102
|
+
: (emitPostponeChunk(request, newTask.id), enqueueFlush(request));
|
|
1103
|
+
else {
|
|
1104
|
+
var digest = logRecoverableError$1(request, reason, newTask);
|
|
1105
|
+
21 === request.type
|
|
1106
|
+
? request.pendingChunks--
|
|
1107
|
+
: (emitErrorChunk(request, newTask.id, digest),
|
|
1108
|
+
enqueueFlush(request));
|
|
1109
|
+
}
|
|
1110
|
+
reader.cancel(reason).then(error, error);
|
|
1111
|
+
}
|
|
1120
1112
|
}
|
|
1121
1113
|
var model = [blob.type],
|
|
1122
1114
|
newTask = createTask(request, model, null, !1, request.abortableTasks),
|
|
@@ -1127,6 +1119,76 @@ function serializeBlob(request, blob) {
|
|
|
1127
1119
|
return "$B" + newTask.id.toString(16);
|
|
1128
1120
|
}
|
|
1129
1121
|
var modelRoot = !1;
|
|
1122
|
+
function renderModel(request, task, parent, key, value) {
|
|
1123
|
+
var prevKeyPath = task.keyPath,
|
|
1124
|
+
prevImplicitSlot = task.implicitSlot;
|
|
1125
|
+
try {
|
|
1126
|
+
return renderModelDestructive(request, task, parent, key, value);
|
|
1127
|
+
} catch (thrownValue) {
|
|
1128
|
+
parent = task.model;
|
|
1129
|
+
parent =
|
|
1130
|
+
"object" === typeof parent &&
|
|
1131
|
+
null !== parent &&
|
|
1132
|
+
(parent.$$typeof === REACT_ELEMENT_TYPE ||
|
|
1133
|
+
parent.$$typeof === REACT_LAZY_TYPE);
|
|
1134
|
+
if (12 === request.status) {
|
|
1135
|
+
task.status = 3;
|
|
1136
|
+
if (21 === request.type)
|
|
1137
|
+
return (
|
|
1138
|
+
(task = request.nextChunkId++),
|
|
1139
|
+
(task = parent
|
|
1140
|
+
? "$L" + task.toString(16)
|
|
1141
|
+
: serializeByValueID$1(task)),
|
|
1142
|
+
task
|
|
1143
|
+
);
|
|
1144
|
+
task = request.fatalError;
|
|
1145
|
+
return parent ? "$L" + task.toString(16) : serializeByValueID$1(task);
|
|
1146
|
+
}
|
|
1147
|
+
key =
|
|
1148
|
+
thrownValue === SuspenseException$1
|
|
1149
|
+
? getSuspendedThenable$1()
|
|
1150
|
+
: thrownValue;
|
|
1151
|
+
if ("object" === typeof key && null !== key) {
|
|
1152
|
+
if ("function" === typeof key.then)
|
|
1153
|
+
return (
|
|
1154
|
+
(request = createTask(
|
|
1155
|
+
request,
|
|
1156
|
+
task.model,
|
|
1157
|
+
task.keyPath,
|
|
1158
|
+
task.implicitSlot,
|
|
1159
|
+
request.abortableTasks
|
|
1160
|
+
)),
|
|
1161
|
+
(value = request.ping),
|
|
1162
|
+
key.then(value, value),
|
|
1163
|
+
(request.thenableState = getThenableStateAfterSuspending$1()),
|
|
1164
|
+
(task.keyPath = prevKeyPath),
|
|
1165
|
+
(task.implicitSlot = prevImplicitSlot),
|
|
1166
|
+
parent
|
|
1167
|
+
? "$L" + request.id.toString(16)
|
|
1168
|
+
: serializeByValueID$1(request.id)
|
|
1169
|
+
);
|
|
1170
|
+
if (key.$$typeof === REACT_POSTPONE_TYPE)
|
|
1171
|
+
return (
|
|
1172
|
+
request.pendingChunks++,
|
|
1173
|
+
(value = request.nextChunkId++),
|
|
1174
|
+
logPostpone$1(request, key.message, task),
|
|
1175
|
+
emitPostponeChunk(request, value),
|
|
1176
|
+
(task.keyPath = prevKeyPath),
|
|
1177
|
+
(task.implicitSlot = prevImplicitSlot),
|
|
1178
|
+
parent ? "$L" + value.toString(16) : serializeByValueID$1(value)
|
|
1179
|
+
);
|
|
1180
|
+
}
|
|
1181
|
+
task.keyPath = prevKeyPath;
|
|
1182
|
+
task.implicitSlot = prevImplicitSlot;
|
|
1183
|
+
request.pendingChunks++;
|
|
1184
|
+
prevKeyPath = request.nextChunkId++;
|
|
1185
|
+
task = logRecoverableError$1(request, key, task);
|
|
1186
|
+
emitErrorChunk(request, prevKeyPath, task);
|
|
1187
|
+
return parent
|
|
1188
|
+
? "$L" + prevKeyPath.toString(16)
|
|
1189
|
+
: serializeByValueID$1(prevKeyPath);
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1130
1192
|
function renderModelDestructive(
|
|
1131
1193
|
request,
|
|
1132
1194
|
task,
|
|
@@ -1514,17 +1576,6 @@ function emitChunk(request, task, value) {
|
|
|
1514
1576
|
: ((value = stringify(value, task.toJSON)),
|
|
1515
1577
|
emitModelChunk(request, task.id, value));
|
|
1516
1578
|
}
|
|
1517
|
-
function erroredTask$1(request, task, error) {
|
|
1518
|
-
request.abortableTasks.delete(task);
|
|
1519
|
-
task.status = 4;
|
|
1520
|
-
"object" === typeof error &&
|
|
1521
|
-
null !== error &&
|
|
1522
|
-
error.$$typeof === REACT_POSTPONE_TYPE
|
|
1523
|
-
? (logPostpone$1(request, error.message, task),
|
|
1524
|
-
emitPostponeChunk(request, task.id))
|
|
1525
|
-
: ((error = logRecoverableError$1(request, error, task)),
|
|
1526
|
-
emitErrorChunk(request, task.id, error));
|
|
1527
|
-
}
|
|
1528
1579
|
var emptyRoot = {};
|
|
1529
1580
|
function retryTask$1(request, task) {
|
|
1530
1581
|
if (0 === task.status) {
|
|
@@ -1570,16 +1621,26 @@ function retryTask$1(request, task) {
|
|
|
1570
1621
|
thrownValue === SuspenseException$1
|
|
1571
1622
|
? getSuspendedThenable$1()
|
|
1572
1623
|
: thrownValue;
|
|
1573
|
-
if (
|
|
1574
|
-
"
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
x
|
|
1582
|
-
|
|
1624
|
+
if ("object" === typeof x && null !== x) {
|
|
1625
|
+
if ("function" === typeof x.then) {
|
|
1626
|
+
task.status = 0;
|
|
1627
|
+
task.thenableState = getThenableStateAfterSuspending$1();
|
|
1628
|
+
var ping = task.ping;
|
|
1629
|
+
x.then(ping, ping);
|
|
1630
|
+
return;
|
|
1631
|
+
}
|
|
1632
|
+
if (x.$$typeof === REACT_POSTPONE_TYPE) {
|
|
1633
|
+
request.abortableTasks.delete(task);
|
|
1634
|
+
task.status = 4;
|
|
1635
|
+
logPostpone$1(request, x.message, task);
|
|
1636
|
+
emitPostponeChunk(request, task.id);
|
|
1637
|
+
return;
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
request.abortableTasks.delete(task);
|
|
1641
|
+
task.status = 4;
|
|
1642
|
+
var digest = logRecoverableError$1(request, x, task);
|
|
1643
|
+
emitErrorChunk(request, task.id, digest);
|
|
1583
1644
|
}
|
|
1584
1645
|
} finally {
|
|
1585
1646
|
}
|
|
@@ -1679,24 +1740,25 @@ function abort$1(request, reason) {
|
|
|
1679
1740
|
11 >= request.status && (request.status = 12);
|
|
1680
1741
|
var abortableTasks = request.abortableTasks;
|
|
1681
1742
|
if (0 < abortableTasks.size) {
|
|
1682
|
-
if (
|
|
1683
|
-
abortableTasks.forEach(function (task) {
|
|
1684
|
-
5 !== task.status && ((task.status = 3), request.pendingChunks--);
|
|
1685
|
-
});
|
|
1686
|
-
else if (
|
|
1743
|
+
if (
|
|
1687
1744
|
"object" === typeof reason &&
|
|
1688
1745
|
null !== reason &&
|
|
1689
1746
|
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
1690
|
-
)
|
|
1691
|
-
logPostpone$1(request, reason.message, null)
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1747
|
+
)
|
|
1748
|
+
if ((logPostpone$1(request, reason.message, null), 21 === request.type))
|
|
1749
|
+
abortableTasks.forEach(function (task) {
|
|
1750
|
+
5 !== task.status && ((task.status = 3), request.pendingChunks--);
|
|
1751
|
+
});
|
|
1752
|
+
else {
|
|
1753
|
+
var errorId = request.nextChunkId++;
|
|
1754
|
+
request.fatalError = errorId;
|
|
1755
|
+
request.pendingChunks++;
|
|
1756
|
+
emitPostponeChunk(request, errorId, reason);
|
|
1757
|
+
abortableTasks.forEach(function (task) {
|
|
1758
|
+
return abortTask$1(task, request, errorId);
|
|
1759
|
+
});
|
|
1760
|
+
}
|
|
1761
|
+
else {
|
|
1700
1762
|
var error =
|
|
1701
1763
|
void 0 === reason
|
|
1702
1764
|
? Error("The render was aborted by the server without a reason.")
|
|
@@ -1705,14 +1767,20 @@ function abort$1(request, reason) {
|
|
|
1705
1767
|
"function" === typeof reason.then
|
|
1706
1768
|
? Error("The render was aborted by the server with a promise.")
|
|
1707
1769
|
: reason,
|
|
1708
|
-
digest = logRecoverableError$1(request, error, null)
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1770
|
+
digest = logRecoverableError$1(request, error, null);
|
|
1771
|
+
if (21 === request.type)
|
|
1772
|
+
abortableTasks.forEach(function (task) {
|
|
1773
|
+
5 !== task.status && ((task.status = 3), request.pendingChunks--);
|
|
1774
|
+
});
|
|
1775
|
+
else {
|
|
1776
|
+
var errorId$29 = request.nextChunkId++;
|
|
1777
|
+
request.fatalError = errorId$29;
|
|
1778
|
+
request.pendingChunks++;
|
|
1779
|
+
emitErrorChunk(request, errorId$29, digest, error);
|
|
1780
|
+
abortableTasks.forEach(function (task) {
|
|
1781
|
+
return abortTask$1(task, request, errorId$29);
|
|
1782
|
+
});
|
|
1783
|
+
}
|
|
1716
1784
|
}
|
|
1717
1785
|
abortableTasks.clear();
|
|
1718
1786
|
var onAllReady = request.onAllReady;
|
|
@@ -1720,7 +1788,7 @@ function abort$1(request, reason) {
|
|
|
1720
1788
|
}
|
|
1721
1789
|
var abortListeners = request.abortListeners;
|
|
1722
1790
|
if (0 < abortListeners.size) {
|
|
1723
|
-
var error$
|
|
1791
|
+
var error$30 =
|
|
1724
1792
|
"object" === typeof reason &&
|
|
1725
1793
|
null !== reason &&
|
|
1726
1794
|
reason.$$typeof === REACT_POSTPONE_TYPE
|
|
@@ -1733,15 +1801,15 @@ function abort$1(request, reason) {
|
|
|
1733
1801
|
? Error("The render was aborted by the server with a promise.")
|
|
1734
1802
|
: reason;
|
|
1735
1803
|
abortListeners.forEach(function (callback) {
|
|
1736
|
-
return callback(error$
|
|
1804
|
+
return callback(error$30);
|
|
1737
1805
|
});
|
|
1738
1806
|
abortListeners.clear();
|
|
1739
1807
|
}
|
|
1740
1808
|
null !== request.destination &&
|
|
1741
1809
|
flushCompletedChunks(request, request.destination);
|
|
1742
|
-
} catch (error$
|
|
1743
|
-
logRecoverableError$1(request, error$
|
|
1744
|
-
fatalError$1(request, error$
|
|
1810
|
+
} catch (error$31) {
|
|
1811
|
+
logRecoverableError$1(request, error$31, null),
|
|
1812
|
+
fatalError$1(request, error$31);
|
|
1745
1813
|
}
|
|
1746
1814
|
}
|
|
1747
1815
|
var bind$1 = Function.prototype.bind,
|
|
@@ -1848,11 +1916,11 @@ function processReply(
|
|
|
1848
1916
|
0 === pendingParts && resolve(data);
|
|
1849
1917
|
} else
|
|
1850
1918
|
try {
|
|
1851
|
-
var partJSON$
|
|
1852
|
-
data.append(formFieldPrefix + streamId, partJSON$
|
|
1919
|
+
var partJSON$32 = JSON.stringify(entry.value, resolveToJSON);
|
|
1920
|
+
data.append(formFieldPrefix + streamId, partJSON$32);
|
|
1853
1921
|
iterator.next().then(progress, reject);
|
|
1854
|
-
} catch (x$
|
|
1855
|
-
reject(x$
|
|
1922
|
+
} catch (x$33) {
|
|
1923
|
+
reject(x$33);
|
|
1856
1924
|
}
|
|
1857
1925
|
}
|
|
1858
1926
|
null === formData && (formData = new FormData());
|
|
@@ -1897,20 +1965,20 @@ function processReply(
|
|
|
1897
1965
|
"function" === typeof x.then
|
|
1898
1966
|
) {
|
|
1899
1967
|
pendingParts++;
|
|
1900
|
-
var lazyId$
|
|
1968
|
+
var lazyId$34 = nextPartId++;
|
|
1901
1969
|
parentReference = function () {
|
|
1902
1970
|
try {
|
|
1903
|
-
var partJSON$
|
|
1904
|
-
data$
|
|
1905
|
-
data$
|
|
1971
|
+
var partJSON$35 = serializeModel(value, lazyId$34),
|
|
1972
|
+
data$36 = formData;
|
|
1973
|
+
data$36.append(formFieldPrefix + lazyId$34, partJSON$35);
|
|
1906
1974
|
pendingParts--;
|
|
1907
|
-
0 === pendingParts && resolve(data$
|
|
1975
|
+
0 === pendingParts && resolve(data$36);
|
|
1908
1976
|
} catch (reason) {
|
|
1909
1977
|
reject(reason);
|
|
1910
1978
|
}
|
|
1911
1979
|
};
|
|
1912
1980
|
x.then(parentReference, parentReference);
|
|
1913
|
-
return "$" + lazyId$
|
|
1981
|
+
return "$" + lazyId$34.toString(16);
|
|
1914
1982
|
}
|
|
1915
1983
|
reject(x);
|
|
1916
1984
|
return null;
|
|
@@ -1924,9 +1992,9 @@ function processReply(
|
|
|
1924
1992
|
var promiseId = nextPartId++;
|
|
1925
1993
|
value.then(function (partValue) {
|
|
1926
1994
|
try {
|
|
1927
|
-
var partJSON$
|
|
1995
|
+
var partJSON$38 = serializeModel(partValue, promiseId);
|
|
1928
1996
|
partValue = formData;
|
|
1929
|
-
partValue.append(formFieldPrefix + promiseId, partJSON$
|
|
1997
|
+
partValue.append(formFieldPrefix + promiseId, partJSON$38);
|
|
1930
1998
|
pendingParts--;
|
|
1931
1999
|
0 === pendingParts && resolve(partValue);
|
|
1932
2000
|
} catch (reason) {
|
|
@@ -1950,11 +2018,11 @@ function processReply(
|
|
|
1950
2018
|
if (isArrayImpl(value)) return value;
|
|
1951
2019
|
if (value instanceof FormData) {
|
|
1952
2020
|
null === formData && (formData = new FormData());
|
|
1953
|
-
var data$
|
|
2021
|
+
var data$42 = formData;
|
|
1954
2022
|
key = nextPartId++;
|
|
1955
|
-
var prefix$
|
|
2023
|
+
var prefix$43 = formFieldPrefix + key + "_";
|
|
1956
2024
|
value.forEach(function (originalValue, originalKey) {
|
|
1957
|
-
data$
|
|
2025
|
+
data$42.append(prefix$43 + originalKey, originalValue);
|
|
1958
2026
|
});
|
|
1959
2027
|
return "$K" + key.toString(16);
|
|
1960
2028
|
}
|
|
@@ -2813,8 +2881,8 @@ function startReadableStream(response, id, type) {
|
|
|
2813
2881
|
(previousBlockedChunk = chunk));
|
|
2814
2882
|
} else {
|
|
2815
2883
|
chunk = previousBlockedChunk;
|
|
2816
|
-
var chunk$
|
|
2817
|
-
chunk$
|
|
2884
|
+
var chunk$63 = createPendingChunk(response);
|
|
2885
|
+
chunk$63.then(
|
|
2818
2886
|
function (v) {
|
|
2819
2887
|
return controller.enqueue(v);
|
|
2820
2888
|
},
|
|
@@ -2822,10 +2890,10 @@ function startReadableStream(response, id, type) {
|
|
|
2822
2890
|
return controller.error(e);
|
|
2823
2891
|
}
|
|
2824
2892
|
);
|
|
2825
|
-
previousBlockedChunk = chunk$
|
|
2893
|
+
previousBlockedChunk = chunk$63;
|
|
2826
2894
|
chunk.then(function () {
|
|
2827
|
-
previousBlockedChunk === chunk$
|
|
2828
|
-
resolveModelChunk(chunk$
|
|
2895
|
+
previousBlockedChunk === chunk$63 && (previousBlockedChunk = null);
|
|
2896
|
+
resolveModelChunk(chunk$63, json);
|
|
2829
2897
|
});
|
|
2830
2898
|
}
|
|
2831
2899
|
},
|
|
@@ -3710,8 +3778,8 @@ function pushAttribute(target, name, value) {
|
|
|
3710
3778
|
case "symbol":
|
|
3711
3779
|
return;
|
|
3712
3780
|
case "boolean":
|
|
3713
|
-
var prefix$
|
|
3714
|
-
if ("data-" !== prefix$
|
|
3781
|
+
var prefix$73 = name.toLowerCase().slice(0, 5);
|
|
3782
|
+
if ("data-" !== prefix$73 && "aria-" !== prefix$73) return;
|
|
3715
3783
|
}
|
|
3716
3784
|
target.push(" ", name, '="', escapeTextForBrowser(value), '"');
|
|
3717
3785
|
}
|
|
@@ -4446,10 +4514,10 @@ function pushStartInstance$1(
|
|
|
4446
4514
|
styleQueue.sheets.set(href, resource);
|
|
4447
4515
|
hoistableState && hoistableState.stylesheets.add(resource);
|
|
4448
4516
|
} else if (styleQueue) {
|
|
4449
|
-
var resource$
|
|
4450
|
-
resource$
|
|
4517
|
+
var resource$74 = styleQueue.sheets.get(href);
|
|
4518
|
+
resource$74 &&
|
|
4451
4519
|
hoistableState &&
|
|
4452
|
-
hoistableState.stylesheets.add(resource$
|
|
4520
|
+
hoistableState.stylesheets.add(resource$74);
|
|
4453
4521
|
}
|
|
4454
4522
|
textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e");
|
|
4455
4523
|
JSCompiler_inline_result$jscomp$4 = null;
|
|
@@ -5679,10 +5747,10 @@ function useActionState(action, initialState, permalink) {
|
|
|
5679
5747
|
var nextPostbackStateKey = null,
|
|
5680
5748
|
componentKeyPath = currentlyRenderingKeyPath;
|
|
5681
5749
|
request = request.formState;
|
|
5682
|
-
var isSignatureEqual$
|
|
5683
|
-
if (null !== request && "function" === typeof isSignatureEqual$
|
|
5750
|
+
var isSignatureEqual$77 = action.$$IS_SIGNATURE_EQUAL;
|
|
5751
|
+
if (null !== request && "function" === typeof isSignatureEqual$77) {
|
|
5684
5752
|
var postbackKey = request[1];
|
|
5685
|
-
isSignatureEqual$
|
|
5753
|
+
isSignatureEqual$77.call(action, request[2], request[3]) &&
|
|
5686
5754
|
((nextPostbackStateKey =
|
|
5687
5755
|
void 0 !== permalink
|
|
5688
5756
|
? "p" + permalink
|
|
@@ -5724,11 +5792,11 @@ function useActionState(action, initialState, permalink) {
|
|
|
5724
5792
|
});
|
|
5725
5793
|
return [initialState, action, !1];
|
|
5726
5794
|
}
|
|
5727
|
-
var boundAction$
|
|
5795
|
+
var boundAction$78 = action.bind(null, initialState);
|
|
5728
5796
|
return [
|
|
5729
5797
|
initialState,
|
|
5730
5798
|
function (payload) {
|
|
5731
|
-
boundAction$
|
|
5799
|
+
boundAction$78(payload);
|
|
5732
5800
|
},
|
|
5733
5801
|
!1
|
|
5734
5802
|
];
|
|
@@ -5758,81 +5826,80 @@ function clientHookNotSupported() {
|
|
|
5758
5826
|
);
|
|
5759
5827
|
}
|
|
5760
5828
|
var HooksDispatcher = {
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
return usable._currentValue2;
|
|
5769
|
-
}
|
|
5770
|
-
throw Error("An unsupported type was passed to use(): " + String(usable));
|
|
5771
|
-
},
|
|
5772
|
-
useContext: function (context) {
|
|
5773
|
-
resolveCurrentlyRenderingComponent();
|
|
5774
|
-
return context._currentValue2;
|
|
5775
|
-
},
|
|
5776
|
-
useMemo: useMemo,
|
|
5777
|
-
useReducer: clientHookNotSupported,
|
|
5778
|
-
useRef: clientHookNotSupported,
|
|
5779
|
-
useState: clientHookNotSupported,
|
|
5780
|
-
useInsertionEffect: clientHookNotSupported,
|
|
5781
|
-
useLayoutEffect: clientHookNotSupported,
|
|
5782
|
-
useCallback: function (callback, deps) {
|
|
5783
|
-
return useMemo(function () {
|
|
5784
|
-
return callback;
|
|
5785
|
-
}, deps);
|
|
5786
|
-
},
|
|
5787
|
-
useImperativeHandle: clientHookNotSupported,
|
|
5788
|
-
useEffect: clientHookNotSupported,
|
|
5789
|
-
useDebugValue: function () {},
|
|
5790
|
-
useDeferredValue: clientHookNotSupported,
|
|
5791
|
-
useTransition: clientHookNotSupported,
|
|
5792
|
-
useId: function () {
|
|
5793
|
-
var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
|
|
5794
|
-
var overflow = JSCompiler_inline_result.overflow;
|
|
5795
|
-
JSCompiler_inline_result = JSCompiler_inline_result.id;
|
|
5796
|
-
JSCompiler_inline_result =
|
|
5797
|
-
(
|
|
5798
|
-
JSCompiler_inline_result &
|
|
5799
|
-
~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
|
|
5800
|
-
).toString(32) + overflow;
|
|
5801
|
-
var resumableState = currentResumableState;
|
|
5802
|
-
if (null === resumableState)
|
|
5803
|
-
throw Error(
|
|
5804
|
-
"Invalid hook call. Hooks can only be called inside of the body of a function component."
|
|
5805
|
-
);
|
|
5806
|
-
overflow = localIdCounter++;
|
|
5807
|
-
JSCompiler_inline_result =
|
|
5808
|
-
":" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
|
|
5809
|
-
0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
|
|
5810
|
-
return JSCompiler_inline_result + ":";
|
|
5811
|
-
},
|
|
5812
|
-
useSyncExternalStore: clientHookNotSupported,
|
|
5813
|
-
useOptimistic: function (passthrough) {
|
|
5814
|
-
resolveCurrentlyRenderingComponent();
|
|
5815
|
-
return [passthrough, unsupportedSetOptimisticState];
|
|
5816
|
-
},
|
|
5817
|
-
useActionState: useActionState,
|
|
5818
|
-
useFormState: useActionState,
|
|
5819
|
-
useHostTransitionStatus: function () {
|
|
5820
|
-
resolveCurrentlyRenderingComponent();
|
|
5821
|
-
return sharedNotPendingObject;
|
|
5822
|
-
},
|
|
5823
|
-
useMemoCache: function (size) {
|
|
5824
|
-
for (var data = Array(size), i = 0; i < size; i++)
|
|
5825
|
-
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
5826
|
-
return data;
|
|
5827
|
-
},
|
|
5828
|
-
useCacheRefresh: function () {
|
|
5829
|
-
return unsupportedRefresh;
|
|
5830
|
-
},
|
|
5831
|
-
useEffectEvent: function () {
|
|
5832
|
-
return throwOnUseEffectEventCall;
|
|
5829
|
+
readContext: function (context) {
|
|
5830
|
+
return context._currentValue2;
|
|
5831
|
+
},
|
|
5832
|
+
use: function (usable) {
|
|
5833
|
+
if (null !== usable && "object" === typeof usable) {
|
|
5834
|
+
if ("function" === typeof usable.then) return unwrapThenable(usable);
|
|
5835
|
+
if (usable.$$typeof === REACT_CONTEXT_TYPE) return usable._currentValue2;
|
|
5833
5836
|
}
|
|
5837
|
+
throw Error("An unsupported type was passed to use(): " + String(usable));
|
|
5834
5838
|
},
|
|
5835
|
-
|
|
5839
|
+
useContext: function (context) {
|
|
5840
|
+
resolveCurrentlyRenderingComponent();
|
|
5841
|
+
return context._currentValue2;
|
|
5842
|
+
},
|
|
5843
|
+
useMemo: useMemo,
|
|
5844
|
+
useReducer: clientHookNotSupported,
|
|
5845
|
+
useRef: clientHookNotSupported,
|
|
5846
|
+
useState: clientHookNotSupported,
|
|
5847
|
+
useInsertionEffect: clientHookNotSupported,
|
|
5848
|
+
useLayoutEffect: clientHookNotSupported,
|
|
5849
|
+
useCallback: function (callback, deps) {
|
|
5850
|
+
return useMemo(function () {
|
|
5851
|
+
return callback;
|
|
5852
|
+
}, deps);
|
|
5853
|
+
},
|
|
5854
|
+
useImperativeHandle: clientHookNotSupported,
|
|
5855
|
+
useEffect: clientHookNotSupported,
|
|
5856
|
+
useDebugValue: function () {},
|
|
5857
|
+
useDeferredValue: clientHookNotSupported,
|
|
5858
|
+
useTransition: clientHookNotSupported,
|
|
5859
|
+
useId: function () {
|
|
5860
|
+
var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
|
|
5861
|
+
var overflow = JSCompiler_inline_result.overflow;
|
|
5862
|
+
JSCompiler_inline_result = JSCompiler_inline_result.id;
|
|
5863
|
+
JSCompiler_inline_result =
|
|
5864
|
+
(
|
|
5865
|
+
JSCompiler_inline_result &
|
|
5866
|
+
~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
|
|
5867
|
+
).toString(32) + overflow;
|
|
5868
|
+
var resumableState = currentResumableState;
|
|
5869
|
+
if (null === resumableState)
|
|
5870
|
+
throw Error(
|
|
5871
|
+
"Invalid hook call. Hooks can only be called inside of the body of a function component."
|
|
5872
|
+
);
|
|
5873
|
+
overflow = localIdCounter++;
|
|
5874
|
+
JSCompiler_inline_result =
|
|
5875
|
+
":" + resumableState.idPrefix + "R" + JSCompiler_inline_result;
|
|
5876
|
+
0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
|
|
5877
|
+
return JSCompiler_inline_result + ":";
|
|
5878
|
+
},
|
|
5879
|
+
useSyncExternalStore: clientHookNotSupported,
|
|
5880
|
+
useCacheRefresh: function () {
|
|
5881
|
+
return unsupportedRefresh;
|
|
5882
|
+
},
|
|
5883
|
+
useEffectEvent: function () {
|
|
5884
|
+
return throwOnUseEffectEventCall;
|
|
5885
|
+
},
|
|
5886
|
+
useMemoCache: function (size) {
|
|
5887
|
+
for (var data = Array(size), i = 0; i < size; i++)
|
|
5888
|
+
data[i] = REACT_MEMO_CACHE_SENTINEL;
|
|
5889
|
+
return data;
|
|
5890
|
+
},
|
|
5891
|
+
useHostTransitionStatus: function () {
|
|
5892
|
+
resolveCurrentlyRenderingComponent();
|
|
5893
|
+
return sharedNotPendingObject;
|
|
5894
|
+
},
|
|
5895
|
+
useOptimistic: function (passthrough) {
|
|
5896
|
+
resolveCurrentlyRenderingComponent();
|
|
5897
|
+
return [passthrough, unsupportedSetOptimisticState];
|
|
5898
|
+
}
|
|
5899
|
+
};
|
|
5900
|
+
HooksDispatcher.useFormState = useActionState;
|
|
5901
|
+
HooksDispatcher.useActionState = useActionState;
|
|
5902
|
+
var currentResumableState = null,
|
|
5836
5903
|
DefaultAsyncDispatcher = {
|
|
5837
5904
|
getCacheForType: function () {
|
|
5838
5905
|
throw Error("Not implemented.");
|
|
@@ -5842,7 +5909,7 @@ function describeComponentStackByType(type) {
|
|
|
5842
5909
|
if ("string" === typeof type) return describeBuiltInComponentFrame(type);
|
|
5843
5910
|
if ("function" === typeof type)
|
|
5844
5911
|
return type.prototype && type.prototype.isReactComponent
|
|
5845
|
-
? describeNativeComponentFrame(type, !0)
|
|
5912
|
+
? ((type = describeNativeComponentFrame(type, !0)), type)
|
|
5846
5913
|
: describeNativeComponentFrame(type, !1);
|
|
5847
5914
|
if ("object" === typeof type && null !== type) {
|
|
5848
5915
|
switch (type.$$typeof) {
|
|
@@ -6243,9 +6310,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6243
6310
|
var defaultProps = type.defaultProps;
|
|
6244
6311
|
if (defaultProps) {
|
|
6245
6312
|
newProps === props && (newProps = assign({}, newProps, props));
|
|
6246
|
-
for (var propName$
|
|
6247
|
-
void 0 === newProps[propName$
|
|
6248
|
-
(newProps[propName$
|
|
6313
|
+
for (var propName$87 in defaultProps)
|
|
6314
|
+
void 0 === newProps[propName$87] &&
|
|
6315
|
+
(newProps[propName$87] = defaultProps[propName$87]);
|
|
6249
6316
|
}
|
|
6250
6317
|
props = newProps;
|
|
6251
6318
|
newProps = emptyContextObject;
|
|
@@ -6355,7 +6422,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6355
6422
|
defaultProps = newProps.chunks;
|
|
6356
6423
|
initialState = request.resumableState;
|
|
6357
6424
|
ref = request.renderState;
|
|
6358
|
-
propName$
|
|
6425
|
+
propName$87 = task.hoistableState;
|
|
6359
6426
|
propName = task.formatContext;
|
|
6360
6427
|
var textEmbedded = newProps.lastPushedText,
|
|
6361
6428
|
isFallback = task.isFallback;
|
|
@@ -6379,7 +6446,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6379
6446
|
props,
|
|
6380
6447
|
initialState,
|
|
6381
6448
|
ref,
|
|
6382
|
-
propName$
|
|
6449
|
+
propName$87,
|
|
6383
6450
|
propName,
|
|
6384
6451
|
textEmbedded,
|
|
6385
6452
|
isFallback
|
|
@@ -6434,6 +6501,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6434
6501
|
else {
|
|
6435
6502
|
switch (type) {
|
|
6436
6503
|
case REACT_LEGACY_HIDDEN_TYPE:
|
|
6504
|
+
case REACT_DEBUG_TRACING_MODE_TYPE:
|
|
6437
6505
|
case REACT_STRICT_MODE_TYPE:
|
|
6438
6506
|
case REACT_PROFILER_TYPE:
|
|
6439
6507
|
case REACT_FRAGMENT_TYPE:
|
|
@@ -6475,13 +6543,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6475
6543
|
ref = props.fallback;
|
|
6476
6544
|
props = props.children;
|
|
6477
6545
|
var fallbackAbortSet = new Set();
|
|
6478
|
-
propName$
|
|
6546
|
+
propName$87 = createSuspenseBoundary(request, fallbackAbortSet);
|
|
6479
6547
|
null !== request.trackedPostpones &&
|
|
6480
|
-
(propName$
|
|
6548
|
+
(propName$87.trackedContentKeyPath = keyPath);
|
|
6481
6549
|
propName = createPendingSegment(
|
|
6482
6550
|
request,
|
|
6483
6551
|
contextType.chunks.length,
|
|
6484
|
-
propName$
|
|
6552
|
+
propName$87,
|
|
6485
6553
|
task.formatContext,
|
|
6486
6554
|
!1,
|
|
6487
6555
|
!1
|
|
@@ -6501,7 +6569,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6501
6569
|
newProps = [keyPath[0], "Suspense Fallback", keyPath[2]];
|
|
6502
6570
|
defaultProps = [newProps[1], newProps[2], [], null];
|
|
6503
6571
|
request.trackedPostpones.workingMap.set(newProps, defaultProps);
|
|
6504
|
-
propName$
|
|
6572
|
+
propName$87.trackedFallbackNode = defaultProps;
|
|
6505
6573
|
task.blockedSegment = propName;
|
|
6506
6574
|
task.keyPath = newProps;
|
|
6507
6575
|
propName.status = 6;
|
|
@@ -6519,9 +6587,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6519
6587
|
null,
|
|
6520
6588
|
props,
|
|
6521
6589
|
-1,
|
|
6522
|
-
propName$
|
|
6590
|
+
propName$87,
|
|
6523
6591
|
textEmbedded,
|
|
6524
|
-
propName$
|
|
6592
|
+
propName$87.contentState,
|
|
6525
6593
|
task.abortSet,
|
|
6526
6594
|
keyPath,
|
|
6527
6595
|
task.formatContext,
|
|
@@ -6533,8 +6601,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6533
6601
|
pushComponentStack(task);
|
|
6534
6602
|
request.pingedTasks.push(task);
|
|
6535
6603
|
} else {
|
|
6536
|
-
task.blockedBoundary = propName$
|
|
6537
|
-
task.hoistableState = propName$
|
|
6604
|
+
task.blockedBoundary = propName$87;
|
|
6605
|
+
task.hoistableState = propName$87.contentState;
|
|
6538
6606
|
task.blockedSegment = textEmbedded;
|
|
6539
6607
|
task.keyPath = keyPath;
|
|
6540
6608
|
textEmbedded.status = 6;
|
|
@@ -6542,17 +6610,17 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6542
6610
|
if (
|
|
6543
6611
|
(renderNode(request, task, props, -1),
|
|
6544
6612
|
(textEmbedded.status = 1),
|
|
6545
|
-
queueCompletedSegment(propName$
|
|
6546
|
-
0 === propName$
|
|
6613
|
+
queueCompletedSegment(propName$87, textEmbedded),
|
|
6614
|
+
0 === propName$87.pendingTasks && 0 === propName$87.status)
|
|
6547
6615
|
) {
|
|
6548
|
-
propName$
|
|
6616
|
+
propName$87.status = 1;
|
|
6549
6617
|
break a;
|
|
6550
6618
|
}
|
|
6551
|
-
} catch (thrownValue$
|
|
6552
|
-
(propName$
|
|
6619
|
+
} catch (thrownValue$82) {
|
|
6620
|
+
(propName$87.status = 4),
|
|
6553
6621
|
12 === request.status
|
|
6554
6622
|
? ((textEmbedded.status = 3), (newProps = request.fatalError))
|
|
6555
|
-
: ((textEmbedded.status = 4), (newProps = thrownValue$
|
|
6623
|
+
: ((textEmbedded.status = 4), (newProps = thrownValue$82)),
|
|
6556
6624
|
(defaultProps = getThrownInfo(task.componentStack)),
|
|
6557
6625
|
"object" === typeof newProps &&
|
|
6558
6626
|
null !== newProps &&
|
|
@@ -6564,8 +6632,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6564
6632
|
newProps,
|
|
6565
6633
|
defaultProps
|
|
6566
6634
|
)),
|
|
6567
|
-
(propName$
|
|
6568
|
-
untrackBoundary(request, propName$
|
|
6635
|
+
(propName$87.errorDigest = initialState),
|
|
6636
|
+
untrackBoundary(request, propName$87);
|
|
6569
6637
|
} finally {
|
|
6570
6638
|
(task.blockedBoundary = isFallback),
|
|
6571
6639
|
(task.hoistableState = propValue),
|
|
@@ -6579,7 +6647,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
6579
6647
|
-1,
|
|
6580
6648
|
isFallback,
|
|
6581
6649
|
propName,
|
|
6582
|
-
propName$
|
|
6650
|
+
propName$87.fallbackState,
|
|
6583
6651
|
fallbackAbortSet,
|
|
6584
6652
|
[keyPath[0], "Suspense Fallback", keyPath[2]],
|
|
6585
6653
|
task.formatContext,
|
|
@@ -7089,9 +7157,9 @@ function trackPostpone(request, trackedPostpones, task, segment) {
|
|
|
7089
7157
|
addToReplayParent(segment, boundaryKeyPath[0], trackedPostpones);
|
|
7090
7158
|
return;
|
|
7091
7159
|
}
|
|
7092
|
-
var boundaryNode$
|
|
7093
|
-
void 0 === boundaryNode$
|
|
7094
|
-
? ((boundaryNode$
|
|
7160
|
+
var boundaryNode$97 = trackedPostpones.workingMap.get(boundaryKeyPath);
|
|
7161
|
+
void 0 === boundaryNode$97
|
|
7162
|
+
? ((boundaryNode$97 = [
|
|
7095
7163
|
boundaryKeyPath[1],
|
|
7096
7164
|
boundaryKeyPath[2],
|
|
7097
7165
|
children,
|
|
@@ -7099,13 +7167,13 @@ function trackPostpone(request, trackedPostpones, task, segment) {
|
|
|
7099
7167
|
fallbackReplayNode,
|
|
7100
7168
|
boundary.rootSegmentID
|
|
7101
7169
|
]),
|
|
7102
|
-
trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$
|
|
7170
|
+
trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$97),
|
|
7103
7171
|
addToReplayParent(
|
|
7104
|
-
boundaryNode$
|
|
7172
|
+
boundaryNode$97,
|
|
7105
7173
|
boundaryKeyPath[0],
|
|
7106
7174
|
trackedPostpones
|
|
7107
7175
|
))
|
|
7108
|
-
: ((boundaryKeyPath = boundaryNode$
|
|
7176
|
+
: ((boundaryKeyPath = boundaryNode$97),
|
|
7109
7177
|
(boundaryKeyPath[4] = fallbackReplayNode),
|
|
7110
7178
|
(boundaryKeyPath[5] = boundary.rootSegmentID));
|
|
7111
7179
|
}
|
|
@@ -7258,15 +7326,15 @@ function renderNode(request, task, node, childIndex) {
|
|
|
7258
7326
|
chunkLength = segment.chunks.length;
|
|
7259
7327
|
try {
|
|
7260
7328
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
7261
|
-
} catch (thrownValue$
|
|
7329
|
+
} catch (thrownValue$109) {
|
|
7262
7330
|
if (
|
|
7263
7331
|
(resetHooksState(),
|
|
7264
7332
|
(segment.children.length = childrenLength),
|
|
7265
7333
|
(segment.chunks.length = chunkLength),
|
|
7266
7334
|
(childIndex =
|
|
7267
|
-
thrownValue$
|
|
7335
|
+
thrownValue$109 === SuspenseException
|
|
7268
7336
|
? getSuspendedThenable()
|
|
7269
|
-
: thrownValue$
|
|
7337
|
+
: thrownValue$109),
|
|
7270
7338
|
"object" === typeof childIndex && null !== childIndex)
|
|
7271
7339
|
) {
|
|
7272
7340
|
if ("function" === typeof childIndex.then) {
|
|
@@ -7462,16 +7530,16 @@ function abortTask(task, request, error) {
|
|
|
7462
7530
|
}
|
|
7463
7531
|
} else {
|
|
7464
7532
|
boundary.pendingTasks--;
|
|
7465
|
-
var trackedPostpones$
|
|
7533
|
+
var trackedPostpones$112 = request.trackedPostpones;
|
|
7466
7534
|
if (4 !== boundary.status) {
|
|
7467
|
-
if (null !== trackedPostpones$
|
|
7535
|
+
if (null !== trackedPostpones$112 && null !== segment)
|
|
7468
7536
|
return (
|
|
7469
7537
|
"object" === typeof error &&
|
|
7470
7538
|
null !== error &&
|
|
7471
7539
|
error.$$typeof === REACT_POSTPONE_TYPE
|
|
7472
7540
|
? logPostpone(request, error.message, errorInfo)
|
|
7473
7541
|
: logRecoverableError(request, error, errorInfo),
|
|
7474
|
-
trackPostpone(request, trackedPostpones$
|
|
7542
|
+
trackPostpone(request, trackedPostpones$112, task, segment),
|
|
7475
7543
|
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
7476
7544
|
return abortTask(fallbackTask, request, error);
|
|
7477
7545
|
}),
|
|
@@ -7769,13 +7837,13 @@ function performWork(request$jscomp$1) {
|
|
|
7769
7837
|
null !== request.trackedPostpones &&
|
|
7770
7838
|
x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
|
|
7771
7839
|
) {
|
|
7772
|
-
var trackedPostpones$
|
|
7840
|
+
var trackedPostpones$116 = request.trackedPostpones;
|
|
7773
7841
|
task.abortSet.delete(task);
|
|
7774
7842
|
var postponeInfo = getThrownInfo(task.componentStack);
|
|
7775
7843
|
logPostpone(request, x$jscomp$0.message, postponeInfo);
|
|
7776
7844
|
trackPostpone(
|
|
7777
7845
|
request,
|
|
7778
|
-
trackedPostpones$
|
|
7846
|
+
trackedPostpones$116,
|
|
7779
7847
|
task,
|
|
7780
7848
|
segment$jscomp$0
|
|
7781
7849
|
);
|
|
@@ -8207,11 +8275,11 @@ function flushCompletedQueues(request, destination) {
|
|
|
8207
8275
|
completedBoundaries.splice(0, i);
|
|
8208
8276
|
var partialBoundaries = request.partialBoundaries;
|
|
8209
8277
|
for (i = 0; i < partialBoundaries.length; i++) {
|
|
8210
|
-
var boundary$
|
|
8278
|
+
var boundary$119 = partialBoundaries[i];
|
|
8211
8279
|
a: {
|
|
8212
8280
|
clientRenderedBoundaries = request;
|
|
8213
8281
|
boundary = destination;
|
|
8214
|
-
var completedSegments = boundary$
|
|
8282
|
+
var completedSegments = boundary$119.completedSegments;
|
|
8215
8283
|
for (
|
|
8216
8284
|
JSCompiler_inline_result = 0;
|
|
8217
8285
|
JSCompiler_inline_result < completedSegments.length;
|
|
@@ -8221,7 +8289,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
8221
8289
|
!flushPartiallyCompletedSegment(
|
|
8222
8290
|
clientRenderedBoundaries,
|
|
8223
8291
|
boundary,
|
|
8224
|
-
boundary$
|
|
8292
|
+
boundary$119,
|
|
8225
8293
|
completedSegments[JSCompiler_inline_result]
|
|
8226
8294
|
)
|
|
8227
8295
|
) {
|
|
@@ -8233,7 +8301,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
8233
8301
|
completedSegments.splice(0, JSCompiler_inline_result);
|
|
8234
8302
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
|
8235
8303
|
boundary,
|
|
8236
|
-
boundary$
|
|
8304
|
+
boundary$119.contentState,
|
|
8237
8305
|
clientRenderedBoundaries.renderState
|
|
8238
8306
|
);
|
|
8239
8307
|
}
|
|
@@ -8305,8 +8373,8 @@ function abort(request, reason) {
|
|
|
8305
8373
|
}
|
|
8306
8374
|
null !== request.destination &&
|
|
8307
8375
|
flushCompletedQueues(request, request.destination);
|
|
8308
|
-
} catch (error$
|
|
8309
|
-
logRecoverableError(request, error$
|
|
8376
|
+
} catch (error$121) {
|
|
8377
|
+
logRecoverableError(request, error$121, {}), fatalError(request, error$121);
|
|
8310
8378
|
}
|
|
8311
8379
|
}
|
|
8312
8380
|
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
@@ -8438,7 +8506,6 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8438
8506
|
new ReactPromise("fulfilled", i, null, flightResponse)
|
|
8439
8507
|
);
|
|
8440
8508
|
break;
|
|
8441
|
-
case 78:
|
|
8442
8509
|
case 68:
|
|
8443
8510
|
case 87:
|
|
8444
8511
|
throw Error(
|
|
@@ -8623,4 +8690,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
8623
8690
|
});
|
|
8624
8691
|
});
|
|
8625
8692
|
};
|
|
8626
|
-
exports.version = "19.
|
|
8693
|
+
exports.version = "19.0.0-experimental-4b7d4530-20241218";
|