react-markup 0.0.0-experimental-dffacc7b-20250717 → 0.0.0-experimental-e9638c33-20250721
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.
|
@@ -1359,11 +1359,12 @@
|
|
|
1359
1359
|
task.debugStack,
|
|
1360
1360
|
task.debugTask
|
|
1361
1361
|
);
|
|
1362
|
+
(task = iterable._debugInfo) &&
|
|
1363
|
+
forwardDebugInfo(request, streamTask, task);
|
|
1362
1364
|
request.pendingChunks++;
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
(
|
|
1366
|
-
forwardDebugInfo(request, streamTask, iterable);
|
|
1365
|
+
isIterator =
|
|
1366
|
+
streamTask.id.toString(16) + ":" + (isIterator ? "x" : "X") + "\n";
|
|
1367
|
+
request.completedRegularChunks.push(isIterator);
|
|
1367
1368
|
request.cacheController.signal.addEventListener("abort", abortIterable);
|
|
1368
1369
|
callIteratorInDEV(iterator, progress, error);
|
|
1369
1370
|
return serializeByValueID$1(streamTask.id);
|
|
@@ -4767,7 +4768,7 @@
|
|
|
4767
4768
|
this.value = value;
|
|
4768
4769
|
this.reason = reason;
|
|
4769
4770
|
this._children = [];
|
|
4770
|
-
this._debugInfo = null;
|
|
4771
|
+
this._debugInfo = this._debugChunk = null;
|
|
4771
4772
|
}
|
|
4772
4773
|
function unwrapWeakResponse(weakResponse) {
|
|
4773
4774
|
weakResponse = weakResponse.weak.deref();
|
|
@@ -4899,13 +4900,33 @@
|
|
|
4899
4900
|
}
|
|
4900
4901
|
}
|
|
4901
4902
|
function triggerErrorOnChunk(response, chunk, error) {
|
|
4902
|
-
"pending" !== chunk.status && "blocked" !== chunk.status
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4903
|
+
if ("pending" !== chunk.status && "blocked" !== chunk.status)
|
|
4904
|
+
chunk.reason.error(error);
|
|
4905
|
+
else {
|
|
4906
|
+
releasePendingChunk(response, chunk);
|
|
4907
|
+
var listeners = chunk.reason;
|
|
4908
|
+
if ("pending" === chunk.status && null != chunk._debugChunk) {
|
|
4909
|
+
var prevHandler = initializingHandler,
|
|
4910
|
+
prevChunk = initializingChunk;
|
|
4911
|
+
initializingHandler = null;
|
|
4912
|
+
chunk.status = "blocked";
|
|
4913
|
+
chunk.value = null;
|
|
4914
|
+
chunk.reason = null;
|
|
4915
|
+
initializingChunk = chunk;
|
|
4916
|
+
try {
|
|
4917
|
+
initializeDebugChunk(response, chunk), (chunk._debugChunk = null);
|
|
4918
|
+
} finally {
|
|
4919
|
+
(initializingHandler = prevHandler),
|
|
4920
|
+
(initializingChunk = prevChunk);
|
|
4921
|
+
}
|
|
4922
|
+
}
|
|
4923
|
+
chunk.status = "rejected";
|
|
4924
|
+
chunk.reason = error;
|
|
4925
|
+
null !== listeners && rejectChunk(listeners, error);
|
|
4926
|
+
}
|
|
4927
|
+
}
|
|
4928
|
+
function createResolvedModelChunk(response, value) {
|
|
4929
|
+
return new ReactPromise("resolved_model", value, response);
|
|
4909
4930
|
}
|
|
4910
4931
|
function createResolvedIteratorResultChunk(response, value, done) {
|
|
4911
4932
|
return new ReactPromise(
|
|
@@ -4939,6 +4960,63 @@
|
|
|
4939
4960
|
wakeChunkIfInitialized(chunk, resolveListeners, rejectListeners));
|
|
4940
4961
|
}
|
|
4941
4962
|
}
|
|
4963
|
+
function initializeDebugChunk(response, chunk) {
|
|
4964
|
+
var debugChunk = chunk._debugChunk;
|
|
4965
|
+
if (null !== debugChunk) {
|
|
4966
|
+
var debugInfo = chunk._debugInfo || (chunk._debugInfo = []);
|
|
4967
|
+
try {
|
|
4968
|
+
if ("resolved_model" === debugChunk.status) {
|
|
4969
|
+
for (
|
|
4970
|
+
var idx = debugInfo.length, c = debugChunk._debugChunk;
|
|
4971
|
+
null !== c;
|
|
4972
|
+
|
|
4973
|
+
)
|
|
4974
|
+
"fulfilled" !== c.status && idx++, (c = c._debugChunk);
|
|
4975
|
+
initializeModelChunk(debugChunk);
|
|
4976
|
+
switch (debugChunk.status) {
|
|
4977
|
+
case "fulfilled":
|
|
4978
|
+
debugInfo[idx] = initializeDebugInfo(
|
|
4979
|
+
response,
|
|
4980
|
+
debugChunk.value
|
|
4981
|
+
);
|
|
4982
|
+
break;
|
|
4983
|
+
case "blocked":
|
|
4984
|
+
case "pending":
|
|
4985
|
+
waitForReference(
|
|
4986
|
+
debugChunk,
|
|
4987
|
+
debugInfo,
|
|
4988
|
+
"" + idx,
|
|
4989
|
+
response,
|
|
4990
|
+
initializeDebugInfo,
|
|
4991
|
+
[""]
|
|
4992
|
+
);
|
|
4993
|
+
break;
|
|
4994
|
+
default:
|
|
4995
|
+
throw debugChunk.reason;
|
|
4996
|
+
}
|
|
4997
|
+
} else
|
|
4998
|
+
switch (debugChunk.status) {
|
|
4999
|
+
case "fulfilled":
|
|
5000
|
+
break;
|
|
5001
|
+
case "blocked":
|
|
5002
|
+
case "pending":
|
|
5003
|
+
waitForReference(
|
|
5004
|
+
debugChunk,
|
|
5005
|
+
{},
|
|
5006
|
+
"",
|
|
5007
|
+
response,
|
|
5008
|
+
initializeDebugInfo,
|
|
5009
|
+
[""]
|
|
5010
|
+
);
|
|
5011
|
+
break;
|
|
5012
|
+
default:
|
|
5013
|
+
throw debugChunk.reason;
|
|
5014
|
+
}
|
|
5015
|
+
} catch (error) {
|
|
5016
|
+
triggerErrorOnChunk(response, chunk, error);
|
|
5017
|
+
}
|
|
5018
|
+
}
|
|
5019
|
+
}
|
|
4942
5020
|
function initializeModelChunk(chunk) {
|
|
4943
5021
|
var prevHandler = initializingHandler,
|
|
4944
5022
|
prevChunk = initializingChunk;
|
|
@@ -4949,6 +5027,8 @@
|
|
|
4949
5027
|
chunk.value = null;
|
|
4950
5028
|
chunk.reason = null;
|
|
4951
5029
|
initializingChunk = chunk;
|
|
5030
|
+
initializeDebugChunk(response, chunk);
|
|
5031
|
+
chunk._debugChunk = null;
|
|
4952
5032
|
try {
|
|
4953
5033
|
var value = JSON.parse(resolvedModel, response._fromJSON),
|
|
4954
5034
|
resolveListeners = chunk.value;
|
|
@@ -4957,7 +5037,7 @@
|
|
|
4957
5037
|
(chunk.reason = null),
|
|
4958
5038
|
wakeChunk(resolveListeners, value));
|
|
4959
5039
|
if (null !== initializingHandler) {
|
|
4960
|
-
if (initializingHandler.errored) throw initializingHandler.
|
|
5040
|
+
if (initializingHandler.errored) throw initializingHandler.reason;
|
|
4961
5041
|
if (0 < initializingHandler.deps) {
|
|
4962
5042
|
initializingHandler.value = value;
|
|
4963
5043
|
initializingHandler.chunk = chunk;
|
|
@@ -5151,6 +5231,7 @@
|
|
|
5151
5231
|
((parentObject = key.value),
|
|
5152
5232
|
(key.status = "fulfilled"),
|
|
5153
5233
|
(key.value = handler.value),
|
|
5234
|
+
(key.reason = handler.reason),
|
|
5154
5235
|
null !== parentObject && wakeChunk(parentObject, handler.value)));
|
|
5155
5236
|
}
|
|
5156
5237
|
function rejectReference(reference, error) {
|
|
@@ -5159,7 +5240,8 @@
|
|
|
5159
5240
|
if (!handler.errored) {
|
|
5160
5241
|
var blockedValue = handler.value;
|
|
5161
5242
|
handler.errored = !0;
|
|
5162
|
-
handler.value =
|
|
5243
|
+
handler.value = null;
|
|
5244
|
+
handler.reason = error;
|
|
5163
5245
|
handler = handler.chunk;
|
|
5164
5246
|
if (null !== handler && "blocked" === handler.status) {
|
|
5165
5247
|
if (
|
|
@@ -5205,6 +5287,7 @@
|
|
|
5205
5287
|
parent: null,
|
|
5206
5288
|
chunk: null,
|
|
5207
5289
|
value: null,
|
|
5290
|
+
reason: null,
|
|
5208
5291
|
deps: 1,
|
|
5209
5292
|
errored: !1
|
|
5210
5293
|
};
|
|
@@ -5284,6 +5367,7 @@
|
|
|
5284
5367
|
parent: null,
|
|
5285
5368
|
chunk: null,
|
|
5286
5369
|
value: null,
|
|
5370
|
+
reason: null,
|
|
5287
5371
|
deps: 1,
|
|
5288
5372
|
errored: !1
|
|
5289
5373
|
}),
|
|
@@ -5293,11 +5377,13 @@
|
|
|
5293
5377
|
return (
|
|
5294
5378
|
initializingHandler
|
|
5295
5379
|
? ((initializingHandler.errored = !0),
|
|
5296
|
-
(initializingHandler.value =
|
|
5380
|
+
(initializingHandler.value = null),
|
|
5381
|
+
(initializingHandler.reason = value.reason))
|
|
5297
5382
|
: (initializingHandler = {
|
|
5298
5383
|
parent: null,
|
|
5299
5384
|
chunk: null,
|
|
5300
|
-
value:
|
|
5385
|
+
value: null,
|
|
5386
|
+
reason: value.reason,
|
|
5301
5387
|
deps: 0,
|
|
5302
5388
|
errored: !0
|
|
5303
5389
|
}),
|
|
@@ -5340,6 +5426,7 @@
|
|
|
5340
5426
|
parent: null,
|
|
5341
5427
|
chunk: null,
|
|
5342
5428
|
value: null,
|
|
5429
|
+
reason: null,
|
|
5343
5430
|
deps: 1,
|
|
5344
5431
|
errored: !1
|
|
5345
5432
|
}),
|
|
@@ -5349,11 +5436,13 @@
|
|
|
5349
5436
|
return (
|
|
5350
5437
|
initializingHandler
|
|
5351
5438
|
? ((initializingHandler.errored = !0),
|
|
5352
|
-
(initializingHandler.value =
|
|
5439
|
+
(initializingHandler.value = null),
|
|
5440
|
+
(initializingHandler.reason = id.reason))
|
|
5353
5441
|
: (initializingHandler = {
|
|
5354
5442
|
parent: null,
|
|
5355
5443
|
chunk: null,
|
|
5356
|
-
value:
|
|
5444
|
+
value: null,
|
|
5445
|
+
reason: id.reason,
|
|
5357
5446
|
deps: 0,
|
|
5358
5447
|
errored: !0
|
|
5359
5448
|
}),
|
|
@@ -5412,6 +5501,7 @@
|
|
|
5412
5501
|
parent: initializingHandler,
|
|
5413
5502
|
chunk: null,
|
|
5414
5503
|
value: null,
|
|
5504
|
+
reason: null,
|
|
5415
5505
|
deps: 0,
|
|
5416
5506
|
errored: !1
|
|
5417
5507
|
}),
|
|
@@ -5643,6 +5733,7 @@
|
|
|
5643
5733
|
));
|
|
5644
5734
|
this._debugFindSourceMapURL = findSourceMapURL;
|
|
5645
5735
|
this._debugChannel = debugChannel;
|
|
5736
|
+
this._blockedConsole = null;
|
|
5646
5737
|
this._replayConsole = replayConsole;
|
|
5647
5738
|
this._rootEnvironmentName = environmentName;
|
|
5648
5739
|
debugChannel &&
|
|
@@ -5652,51 +5743,44 @@
|
|
|
5652
5743
|
replayConsole && markAllTracksInOrder();
|
|
5653
5744
|
this._fromJSON = createFromJSONCallback(this);
|
|
5654
5745
|
}
|
|
5655
|
-
function resolveDebugHalt(response, id) {
|
|
5656
|
-
var chunks = response._chunks,
|
|
5657
|
-
chunk = chunks.get(id);
|
|
5658
|
-
chunk || chunks.set(id, (chunk = createPendingChunk(response)));
|
|
5659
|
-
if ("pending" === chunk.status || "blocked" === chunk.status)
|
|
5660
|
-
releasePendingChunk(response, chunk),
|
|
5661
|
-
(response = chunk),
|
|
5662
|
-
(response.status = "halted"),
|
|
5663
|
-
(response.value = null),
|
|
5664
|
-
(response.reason = null);
|
|
5665
|
-
}
|
|
5666
|
-
function resolveModel(response, id, model) {
|
|
5667
|
-
var chunks = response._chunks,
|
|
5668
|
-
chunk = chunks.get(id);
|
|
5669
|
-
chunk
|
|
5670
|
-
? resolveModelChunk(response, chunk, model)
|
|
5671
|
-
: chunks.set(id, new ReactPromise("resolved_model", model, response));
|
|
5672
|
-
}
|
|
5673
|
-
function resolveText(response, id, text) {
|
|
5674
|
-
var chunks = response._chunks,
|
|
5675
|
-
chunk = chunks.get(id);
|
|
5676
|
-
chunk && "pending" !== chunk.status
|
|
5677
|
-
? chunk.reason.enqueueValue(text)
|
|
5678
|
-
: (chunk && releasePendingChunk(response, chunk),
|
|
5679
|
-
chunks.set(id, new ReactPromise("fulfilled", text, null)));
|
|
5680
|
-
}
|
|
5681
|
-
function resolveModule(response, id, model) {
|
|
5682
|
-
response._chunks.get(id);
|
|
5683
|
-
JSON.parse(model, response._fromJSON);
|
|
5684
|
-
throw Error(
|
|
5685
|
-
"renderToHTML should not have emitted Client References. This is a bug in React."
|
|
5686
|
-
);
|
|
5687
|
-
}
|
|
5688
5746
|
function resolveStream(response, id, stream, controller) {
|
|
5689
5747
|
var chunks = response._chunks,
|
|
5690
5748
|
chunk = chunks.get(id);
|
|
5691
|
-
chunk
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5749
|
+
if (!chunk)
|
|
5750
|
+
chunks.set(id, new ReactPromise("fulfilled", stream, controller));
|
|
5751
|
+
else if ("pending" === chunk.status) {
|
|
5752
|
+
releasePendingChunk(response, chunk);
|
|
5753
|
+
id = chunk.value;
|
|
5754
|
+
if (null != chunk._debugChunk) {
|
|
5755
|
+
chunks = initializingHandler;
|
|
5756
|
+
var prevChunk = initializingChunk;
|
|
5757
|
+
initializingHandler = null;
|
|
5758
|
+
chunk.status = "blocked";
|
|
5759
|
+
chunk.value = null;
|
|
5760
|
+
chunk.reason = null;
|
|
5761
|
+
initializingChunk = chunk;
|
|
5762
|
+
try {
|
|
5763
|
+
if (
|
|
5764
|
+
(initializeDebugChunk(response, chunk),
|
|
5765
|
+
(chunk._debugChunk = null),
|
|
5766
|
+
null !== initializingHandler &&
|
|
5767
|
+
!initializingHandler.errored &&
|
|
5768
|
+
0 < initializingHandler.deps)
|
|
5769
|
+
) {
|
|
5770
|
+
initializingHandler.value = stream;
|
|
5771
|
+
initializingHandler.reason = controller;
|
|
5772
|
+
initializingHandler.chunk = chunk;
|
|
5773
|
+
return;
|
|
5774
|
+
}
|
|
5775
|
+
} finally {
|
|
5776
|
+
(initializingHandler = chunks), (initializingChunk = prevChunk);
|
|
5777
|
+
}
|
|
5778
|
+
}
|
|
5779
|
+
chunk.status = "fulfilled";
|
|
5780
|
+
chunk.value = stream;
|
|
5781
|
+
chunk.reason = controller;
|
|
5782
|
+
null !== id && wakeChunk(id, chunk.value);
|
|
5783
|
+
}
|
|
5700
5784
|
}
|
|
5701
5785
|
function startReadableStream(response, id, type) {
|
|
5702
5786
|
var controller = null;
|
|
@@ -5717,7 +5801,7 @@
|
|
|
5717
5801
|
},
|
|
5718
5802
|
enqueueModel: function (json) {
|
|
5719
5803
|
if (null === previousBlockedChunk) {
|
|
5720
|
-
var chunk =
|
|
5804
|
+
var chunk = createResolvedModelChunk(response, json);
|
|
5721
5805
|
initializeModelChunk(chunk);
|
|
5722
5806
|
"fulfilled" === chunk.status
|
|
5723
5807
|
? controller.enqueue(chunk.value)
|
|
@@ -5879,11 +5963,6 @@
|
|
|
5879
5963
|
}
|
|
5880
5964
|
);
|
|
5881
5965
|
}
|
|
5882
|
-
function stopStream(response, id, row) {
|
|
5883
|
-
(response = response._chunks.get(id)) &&
|
|
5884
|
-
"fulfilled" === response.status &&
|
|
5885
|
-
response.reason.close("" === row ? '"$undefined"' : row);
|
|
5886
|
-
}
|
|
5887
5966
|
function resolveErrorDev(response, errorInfo) {
|
|
5888
5967
|
var name = errorInfo.name,
|
|
5889
5968
|
env = errorInfo.env;
|
|
@@ -5904,25 +5983,6 @@
|
|
|
5904
5983
|
response.environmentName = env;
|
|
5905
5984
|
return response;
|
|
5906
5985
|
}
|
|
5907
|
-
function resolvePostponeDev(response, id, reason, stack, env) {
|
|
5908
|
-
reason = buildFakeCallStack(
|
|
5909
|
-
response,
|
|
5910
|
-
stack,
|
|
5911
|
-
env,
|
|
5912
|
-
!1,
|
|
5913
|
-
Error.bind(null, reason || "")
|
|
5914
|
-
);
|
|
5915
|
-
stack = response._debugRootTask;
|
|
5916
|
-
reason = null != stack ? stack.run(reason) : reason();
|
|
5917
|
-
reason.$$typeof = REACT_POSTPONE_TYPE;
|
|
5918
|
-
stack = response._chunks;
|
|
5919
|
-
(env = stack.get(id))
|
|
5920
|
-
? triggerErrorOnChunk(response, env, reason)
|
|
5921
|
-
: stack.set(id, createErrorChunk(response, reason));
|
|
5922
|
-
}
|
|
5923
|
-
function resolveHint(response, code, model) {
|
|
5924
|
-
JSON.parse(model, response._fromJSON);
|
|
5925
|
-
}
|
|
5926
5986
|
function createFakeFunction(
|
|
5927
5987
|
name,
|
|
5928
5988
|
filename,
|
|
@@ -6134,7 +6194,7 @@
|
|
|
6134
6194
|
(owner.debugLocation = debugInfo.debugStack));
|
|
6135
6195
|
}
|
|
6136
6196
|
}
|
|
6137
|
-
function
|
|
6197
|
+
function initializeDebugInfo(response, debugInfo) {
|
|
6138
6198
|
void 0 !== debugInfo.stack && initializeFakeTask(response, debugInfo);
|
|
6139
6199
|
if (null == debugInfo.owner && null != response._debugRootOwner) {
|
|
6140
6200
|
var _componentInfoOrAsyncInfo = debugInfo;
|
|
@@ -6146,29 +6206,43 @@
|
|
|
6146
6206
|
void 0 !== debugInfo.stack && initializeFakeStack(response, debugInfo);
|
|
6147
6207
|
"number" === typeof debugInfo.time &&
|
|
6148
6208
|
(debugInfo = { time: debugInfo.time + response._timeOrigin });
|
|
6149
|
-
|
|
6150
|
-
(response._debugInfo || (response._debugInfo = [])).push(debugInfo);
|
|
6209
|
+
return debugInfo;
|
|
6151
6210
|
}
|
|
6152
6211
|
function getCurrentStackInDEV$1() {
|
|
6153
6212
|
var owner = currentOwnerInDEV;
|
|
6154
6213
|
return null === owner ? "" : getOwnerStackByComponentInfoInDev(owner);
|
|
6155
6214
|
}
|
|
6156
|
-
function resolveConsoleEntry(response,
|
|
6215
|
+
function resolveConsoleEntry(response, json) {
|
|
6157
6216
|
if (response._replayConsole) {
|
|
6158
|
-
var
|
|
6159
|
-
|
|
6160
|
-
|
|
6161
|
-
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6217
|
+
var blockedChunk = response._blockedConsole;
|
|
6218
|
+
if (null == blockedChunk)
|
|
6219
|
+
(blockedChunk = createResolvedModelChunk(response, json)),
|
|
6220
|
+
initializeModelChunk(blockedChunk),
|
|
6221
|
+
"fulfilled" === blockedChunk.status
|
|
6222
|
+
? replayConsoleWithCallStackInDEV(response, blockedChunk.value)
|
|
6223
|
+
: (blockedChunk.then(
|
|
6224
|
+
function (v) {
|
|
6225
|
+
return replayConsoleWithCallStackInDEV(response, v);
|
|
6226
|
+
},
|
|
6227
|
+
function () {}
|
|
6228
|
+
),
|
|
6229
|
+
(response._blockedConsole = blockedChunk));
|
|
6230
|
+
else {
|
|
6231
|
+
var _chunk4 = createPendingChunk(response);
|
|
6232
|
+
_chunk4.then(
|
|
6233
|
+
function (v) {
|
|
6234
|
+
return replayConsoleWithCallStackInDEV(response, v);
|
|
6235
|
+
},
|
|
6236
|
+
function () {}
|
|
6237
|
+
);
|
|
6238
|
+
response._blockedConsole = _chunk4;
|
|
6239
|
+
var unblock = function () {
|
|
6240
|
+
response._blockedConsole === _chunk4 &&
|
|
6241
|
+
(response._blockedConsole = null);
|
|
6242
|
+
resolveModelChunk(response, _chunk4, json);
|
|
6243
|
+
};
|
|
6244
|
+
blockedChunk.then(unblock, unblock);
|
|
6245
|
+
}
|
|
6172
6246
|
}
|
|
6173
6247
|
}
|
|
6174
6248
|
function initializeIOInfo(response, ioInfo) {
|
|
@@ -6203,7 +6277,7 @@
|
|
|
6203
6277
|
chunk
|
|
6204
6278
|
? (resolveModelChunk(response, chunk, model),
|
|
6205
6279
|
"resolved_model" === chunk.status && initializeModelChunk(chunk))
|
|
6206
|
-
: ((chunk =
|
|
6280
|
+
: ((chunk = createResolvedModelChunk(response, model)),
|
|
6207
6281
|
chunks.set(id, chunk),
|
|
6208
6282
|
initializeModelChunk(chunk));
|
|
6209
6283
|
"fulfilled" === chunk.status
|
|
@@ -6740,73 +6814,6 @@
|
|
|
6740
6814
|
));
|
|
6741
6815
|
}
|
|
6742
6816
|
}
|
|
6743
|
-
function processFullStringRow(response, id, tag, row) {
|
|
6744
|
-
switch (tag) {
|
|
6745
|
-
case 73:
|
|
6746
|
-
resolveModule(response, id, row);
|
|
6747
|
-
break;
|
|
6748
|
-
case 72:
|
|
6749
|
-
resolveHint(response, row[0], row.slice(1));
|
|
6750
|
-
break;
|
|
6751
|
-
case 69:
|
|
6752
|
-
row = JSON.parse(row);
|
|
6753
|
-
tag = resolveErrorDev(response, row);
|
|
6754
|
-
tag.digest = row.digest;
|
|
6755
|
-
row = response._chunks;
|
|
6756
|
-
var chunk = row.get(id);
|
|
6757
|
-
chunk
|
|
6758
|
-
? triggerErrorOnChunk(response, chunk, tag)
|
|
6759
|
-
: row.set(id, createErrorChunk(response, tag));
|
|
6760
|
-
break;
|
|
6761
|
-
case 84:
|
|
6762
|
-
resolveText(response, id, row);
|
|
6763
|
-
break;
|
|
6764
|
-
case 78:
|
|
6765
|
-
response._timeOrigin = +row - performance.timeOrigin;
|
|
6766
|
-
break;
|
|
6767
|
-
case 68:
|
|
6768
|
-
tag = new ReactPromise("resolved_model", row, response);
|
|
6769
|
-
initializeModelChunk(tag);
|
|
6770
|
-
"fulfilled" === tag.status
|
|
6771
|
-
? resolveDebugInfo(response, id, tag.value)
|
|
6772
|
-
: tag.then(
|
|
6773
|
-
function (v) {
|
|
6774
|
-
return resolveDebugInfo(response, id, v);
|
|
6775
|
-
},
|
|
6776
|
-
function () {}
|
|
6777
|
-
);
|
|
6778
|
-
break;
|
|
6779
|
-
case 74:
|
|
6780
|
-
resolveIOInfo(response, id, row);
|
|
6781
|
-
break;
|
|
6782
|
-
case 87:
|
|
6783
|
-
resolveConsoleEntry(response, row);
|
|
6784
|
-
break;
|
|
6785
|
-
case 82:
|
|
6786
|
-
startReadableStream(response, id, void 0);
|
|
6787
|
-
break;
|
|
6788
|
-
case 114:
|
|
6789
|
-
startReadableStream(response, id, "bytes");
|
|
6790
|
-
break;
|
|
6791
|
-
case 88:
|
|
6792
|
-
startAsyncIterable(response, id, !1);
|
|
6793
|
-
break;
|
|
6794
|
-
case 120:
|
|
6795
|
-
startAsyncIterable(response, id, !0);
|
|
6796
|
-
break;
|
|
6797
|
-
case 67:
|
|
6798
|
-
stopStream(response, id, row);
|
|
6799
|
-
break;
|
|
6800
|
-
case 80:
|
|
6801
|
-
tag = JSON.parse(row);
|
|
6802
|
-
resolvePostponeDev(response, id, tag.reason, tag.stack, tag.env);
|
|
6803
|
-
break;
|
|
6804
|
-
default:
|
|
6805
|
-
"" === row
|
|
6806
|
-
? resolveDebugHalt(response, id)
|
|
6807
|
-
: resolveModel(response, id, row);
|
|
6808
|
-
}
|
|
6809
|
-
}
|
|
6810
6817
|
function createFromJSONCallback(response) {
|
|
6811
6818
|
return function (key, value) {
|
|
6812
6819
|
if ("string" === typeof value)
|
|
@@ -6857,7 +6864,7 @@
|
|
|
6857
6864
|
validated = initializingHandler;
|
|
6858
6865
|
initializingHandler = validated.parent;
|
|
6859
6866
|
if (validated.errored) {
|
|
6860
|
-
key = createErrorChunk(response, validated.
|
|
6867
|
+
key = createErrorChunk(response, validated.reason);
|
|
6861
6868
|
initializeElement(response, value);
|
|
6862
6869
|
validated = {
|
|
6863
6870
|
name: getComponentNameFromType(value.type) || "",
|
|
@@ -15392,14 +15399,12 @@
|
|
|
15392
15399
|
),
|
|
15393
15400
|
currentOwnerInDEV = null,
|
|
15394
15401
|
replayConsoleWithCallStack = {
|
|
15395
|
-
react_stack_bottom_frame: function (
|
|
15396
|
-
|
|
15397
|
-
|
|
15398
|
-
|
|
15399
|
-
|
|
15400
|
-
|
|
15401
|
-
args
|
|
15402
|
-
) {
|
|
15402
|
+
react_stack_bottom_frame: function (response, payload) {
|
|
15403
|
+
var methodName = payload[0],
|
|
15404
|
+
stackTrace = payload[1],
|
|
15405
|
+
owner = payload[2],
|
|
15406
|
+
env = payload[3];
|
|
15407
|
+
payload = payload.slice(4);
|
|
15403
15408
|
var prevStack = ReactSharedInternals.getCurrentStack;
|
|
15404
15409
|
ReactSharedInternals.getCurrentStack = getCurrentStackInDEV$1;
|
|
15405
15410
|
currentOwnerInDEV = null === owner ? response._debugRootOwner : owner;
|
|
@@ -15409,7 +15414,7 @@
|
|
|
15409
15414
|
stackTrace,
|
|
15410
15415
|
env,
|
|
15411
15416
|
!1,
|
|
15412
|
-
bindToConsole(methodName,
|
|
15417
|
+
bindToConsole(methodName, payload, env)
|
|
15413
15418
|
);
|
|
15414
15419
|
if (null != owner) {
|
|
15415
15420
|
var task = initializeFakeTask(response, owner);
|
|
@@ -16346,11 +16351,11 @@
|
|
|
16346
16351
|
flushedByteSize = 0;
|
|
16347
16352
|
exports.experimental_renderToHTML = function (children, options) {
|
|
16348
16353
|
return new Promise(function (resolve, reject) {
|
|
16349
|
-
var
|
|
16350
|
-
|
|
16351
|
-
|
|
16352
|
-
|
|
16353
|
-
|
|
16354
|
+
var JSCompiler_object_inline__rowState_1637 = 0,
|
|
16355
|
+
JSCompiler_object_inline__rowID_1638 = 0,
|
|
16356
|
+
JSCompiler_object_inline__rowTag_1639 = 0,
|
|
16357
|
+
JSCompiler_object_inline__rowLength_1640 = 0,
|
|
16358
|
+
JSCompiler_object_inline__buffer_1641 = [],
|
|
16354
16359
|
buffer = "",
|
|
16355
16360
|
stashErrorIdx = 1,
|
|
16356
16361
|
stashedErrors = new Map(),
|
|
@@ -16444,24 +16449,24 @@
|
|
|
16444
16449
|
}
|
|
16445
16450
|
startWork$1(flightRequest);
|
|
16446
16451
|
startFlowing$1(flightRequest, {
|
|
16447
|
-
push: function (chunk) {
|
|
16448
|
-
if (null !== chunk) {
|
|
16452
|
+
push: function (chunk$jscomp$0) {
|
|
16453
|
+
if (null !== chunk$jscomp$0) {
|
|
16449
16454
|
if (void 0 !== flightResponse.weak.deref()) {
|
|
16450
16455
|
for (
|
|
16451
16456
|
var response = unwrapWeakResponse(flightResponse),
|
|
16452
16457
|
i = 0,
|
|
16453
|
-
rowState =
|
|
16454
|
-
rowID =
|
|
16455
|
-
rowTag =
|
|
16456
|
-
rowLength =
|
|
16457
|
-
chunkLength = chunk.length;
|
|
16458
|
+
rowState = JSCompiler_object_inline__rowState_1637,
|
|
16459
|
+
rowID = JSCompiler_object_inline__rowID_1638,
|
|
16460
|
+
rowTag = JSCompiler_object_inline__rowTag_1639,
|
|
16461
|
+
rowLength = JSCompiler_object_inline__rowLength_1640,
|
|
16462
|
+
chunkLength = chunk$jscomp$0.length;
|
|
16458
16463
|
i < chunkLength;
|
|
16459
16464
|
|
|
16460
16465
|
) {
|
|
16461
16466
|
var lastIdx = -1;
|
|
16462
16467
|
switch (rowState) {
|
|
16463
16468
|
case 0:
|
|
16464
|
-
lastIdx = chunk.charCodeAt(i++);
|
|
16469
|
+
lastIdx = chunk$jscomp$0.charCodeAt(i++);
|
|
16465
16470
|
58 === lastIdx
|
|
16466
16471
|
? (rowState = 1)
|
|
16467
16472
|
: (rowID =
|
|
@@ -16469,7 +16474,7 @@
|
|
|
16469
16474
|
(96 < lastIdx ? lastIdx - 87 : lastIdx - 48));
|
|
16470
16475
|
continue;
|
|
16471
16476
|
case 1:
|
|
16472
|
-
rowState = chunk.charCodeAt(i);
|
|
16477
|
+
rowState = chunk$jscomp$0.charCodeAt(i);
|
|
16473
16478
|
84 === rowState ||
|
|
16474
16479
|
65 === rowState ||
|
|
16475
16480
|
79 === rowState ||
|
|
@@ -16492,7 +16497,7 @@
|
|
|
16492
16497
|
: ((rowTag = 0), (rowState = 3));
|
|
16493
16498
|
continue;
|
|
16494
16499
|
case 2:
|
|
16495
|
-
lastIdx = chunk.charCodeAt(i++);
|
|
16500
|
+
lastIdx = chunk$jscomp$0.charCodeAt(i++);
|
|
16496
16501
|
44 === lastIdx
|
|
16497
16502
|
? (rowState = 4)
|
|
16498
16503
|
: (rowLength =
|
|
@@ -16500,7 +16505,7 @@
|
|
|
16500
16505
|
(96 < lastIdx ? lastIdx - 87 : lastIdx - 48));
|
|
16501
16506
|
continue;
|
|
16502
16507
|
case 3:
|
|
16503
|
-
lastIdx = chunk.indexOf("\n", i);
|
|
16508
|
+
lastIdx = chunk$jscomp$0.indexOf("\n", i);
|
|
16504
16509
|
break;
|
|
16505
16510
|
case 4:
|
|
16506
16511
|
if (84 !== rowTag)
|
|
@@ -16508,34 +16513,163 @@
|
|
|
16508
16513
|
"Binary RSC chunks cannot be encoded as strings. This is a bug in the wiring of the React streams."
|
|
16509
16514
|
);
|
|
16510
16515
|
if (
|
|
16511
|
-
rowLength < chunk.length ||
|
|
16512
|
-
chunk.length > 3 * rowLength
|
|
16516
|
+
rowLength < chunk$jscomp$0.length ||
|
|
16517
|
+
chunk$jscomp$0.length > 3 * rowLength
|
|
16513
16518
|
)
|
|
16514
16519
|
throw Error(
|
|
16515
16520
|
"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams."
|
|
16516
16521
|
);
|
|
16517
|
-
lastIdx = chunk.length;
|
|
16522
|
+
lastIdx = chunk$jscomp$0.length;
|
|
16518
16523
|
}
|
|
16519
16524
|
if (-1 < lastIdx) {
|
|
16520
|
-
if (0 <
|
|
16525
|
+
if (0 < JSCompiler_object_inline__buffer_1641.length)
|
|
16521
16526
|
throw Error(
|
|
16522
16527
|
"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams."
|
|
16523
16528
|
);
|
|
16524
|
-
|
|
16525
|
-
|
|
16529
|
+
rowLength = chunk$jscomp$0.slice(i, lastIdx);
|
|
16530
|
+
i = response;
|
|
16531
|
+
switch (rowTag) {
|
|
16532
|
+
case 73:
|
|
16533
|
+
throw (
|
|
16534
|
+
(i._chunks.get(rowID),
|
|
16535
|
+
JSON.parse(rowLength, i._fromJSON),
|
|
16536
|
+
Error(
|
|
16537
|
+
"renderToHTML should not have emitted Client References. This is a bug in React."
|
|
16538
|
+
))
|
|
16539
|
+
);
|
|
16540
|
+
case 72:
|
|
16541
|
+
rowID = rowLength.slice(1);
|
|
16542
|
+
JSON.parse(rowID, i._fromJSON);
|
|
16543
|
+
break;
|
|
16544
|
+
case 69:
|
|
16545
|
+
rowTag = i._chunks;
|
|
16546
|
+
var chunk = rowTag.get(rowID),
|
|
16547
|
+
errorInfo = JSON.parse(rowLength);
|
|
16548
|
+
rowLength = resolveErrorDev(i, errorInfo);
|
|
16549
|
+
rowLength.digest = errorInfo.digest;
|
|
16550
|
+
chunk
|
|
16551
|
+
? triggerErrorOnChunk(i, chunk, rowLength)
|
|
16552
|
+
: rowTag.set(rowID, createErrorChunk(i, rowLength));
|
|
16553
|
+
break;
|
|
16554
|
+
case 84:
|
|
16555
|
+
rowTag = i._chunks;
|
|
16556
|
+
(chunk = rowTag.get(rowID)) &&
|
|
16557
|
+
"pending" !== chunk.status
|
|
16558
|
+
? chunk.reason.enqueueValue(rowLength)
|
|
16559
|
+
: (chunk && releasePendingChunk(i, chunk),
|
|
16560
|
+
rowTag.set(
|
|
16561
|
+
rowID,
|
|
16562
|
+
new ReactPromise("fulfilled", rowLength, null)
|
|
16563
|
+
));
|
|
16564
|
+
break;
|
|
16565
|
+
case 78:
|
|
16566
|
+
i._timeOrigin = +rowLength - performance.timeOrigin;
|
|
16567
|
+
break;
|
|
16568
|
+
case 68:
|
|
16569
|
+
rowID = getChunk(i, rowID);
|
|
16570
|
+
"fulfilled" !== rowID.status &&
|
|
16571
|
+
"rejected" !== rowID.status &&
|
|
16572
|
+
"halted" !== rowID.status &&
|
|
16573
|
+
"blocked" !== rowID.status &&
|
|
16574
|
+
"resolved_module" !== rowID.status &&
|
|
16575
|
+
((rowTag = rowID._debugChunk),
|
|
16576
|
+
(chunk = createResolvedModelChunk(i, rowLength)),
|
|
16577
|
+
(chunk._debugChunk = rowTag),
|
|
16578
|
+
(rowID._debugChunk = chunk),
|
|
16579
|
+
initializeDebugChunk(i, rowID),
|
|
16580
|
+
"blocked" === chunk.status &&
|
|
16581
|
+
void 0 === i._debugChannel &&
|
|
16582
|
+
'"' === rowLength[0] &&
|
|
16583
|
+
"$" === rowLength[1] &&
|
|
16584
|
+
((rowLength = rowLength
|
|
16585
|
+
.slice(2, rowLength.length - 1)
|
|
16586
|
+
.split(":")),
|
|
16587
|
+
(rowLength = parseInt(rowLength[0], 16)),
|
|
16588
|
+
"pending" === getChunk(i, rowLength).status &&
|
|
16589
|
+
(rowID._debugChunk = null)));
|
|
16590
|
+
break;
|
|
16591
|
+
case 74:
|
|
16592
|
+
resolveIOInfo(i, rowID, rowLength);
|
|
16593
|
+
break;
|
|
16594
|
+
case 87:
|
|
16595
|
+
resolveConsoleEntry(i, rowLength);
|
|
16596
|
+
break;
|
|
16597
|
+
case 82:
|
|
16598
|
+
startReadableStream(i, rowID, void 0);
|
|
16599
|
+
break;
|
|
16600
|
+
case 114:
|
|
16601
|
+
startReadableStream(i, rowID, "bytes");
|
|
16602
|
+
break;
|
|
16603
|
+
case 88:
|
|
16604
|
+
startAsyncIterable(i, rowID, !1);
|
|
16605
|
+
break;
|
|
16606
|
+
case 120:
|
|
16607
|
+
startAsyncIterable(i, rowID, !0);
|
|
16608
|
+
break;
|
|
16609
|
+
case 67:
|
|
16610
|
+
(i = i._chunks.get(rowID)) &&
|
|
16611
|
+
"fulfilled" === i.status &&
|
|
16612
|
+
i.reason.close(
|
|
16613
|
+
"" === rowLength ? '"$undefined"' : rowLength
|
|
16614
|
+
);
|
|
16615
|
+
break;
|
|
16616
|
+
case 80:
|
|
16617
|
+
rowLength = JSON.parse(rowLength);
|
|
16618
|
+
rowLength = buildFakeCallStack(
|
|
16619
|
+
i,
|
|
16620
|
+
rowLength.stack,
|
|
16621
|
+
rowLength.env,
|
|
16622
|
+
!1,
|
|
16623
|
+
Error.bind(null, rowLength.reason || "")
|
|
16624
|
+
);
|
|
16625
|
+
rowTag = i._debugRootTask;
|
|
16626
|
+
rowLength =
|
|
16627
|
+
null != rowTag ? rowTag.run(rowLength) : rowLength();
|
|
16628
|
+
rowLength.$$typeof = REACT_POSTPONE_TYPE;
|
|
16629
|
+
rowTag = i._chunks;
|
|
16630
|
+
(chunk = rowTag.get(rowID))
|
|
16631
|
+
? triggerErrorOnChunk(i, chunk, rowLength)
|
|
16632
|
+
: rowTag.set(rowID, createErrorChunk(i, rowLength));
|
|
16633
|
+
break;
|
|
16634
|
+
default:
|
|
16635
|
+
if ("" === rowLength) {
|
|
16636
|
+
if (
|
|
16637
|
+
((rowLength = i._chunks),
|
|
16638
|
+
(rowTag = rowLength.get(rowID)) ||
|
|
16639
|
+
rowLength.set(
|
|
16640
|
+
rowID,
|
|
16641
|
+
(rowTag = createPendingChunk(i))
|
|
16642
|
+
),
|
|
16643
|
+
"pending" === rowTag.status ||
|
|
16644
|
+
"blocked" === rowTag.status)
|
|
16645
|
+
)
|
|
16646
|
+
releasePendingChunk(i, rowTag),
|
|
16647
|
+
(i = rowTag),
|
|
16648
|
+
(i.status = "halted"),
|
|
16649
|
+
(i.value = null),
|
|
16650
|
+
(i.reason = null);
|
|
16651
|
+
} else
|
|
16652
|
+
(rowTag = i._chunks),
|
|
16653
|
+
(chunk = rowTag.get(rowID))
|
|
16654
|
+
? resolveModelChunk(i, chunk, rowLength)
|
|
16655
|
+
: rowTag.set(
|
|
16656
|
+
rowID,
|
|
16657
|
+
createResolvedModelChunk(i, rowLength)
|
|
16658
|
+
);
|
|
16659
|
+
}
|
|
16526
16660
|
i = lastIdx;
|
|
16527
16661
|
3 === rowState && i++;
|
|
16528
16662
|
rowLength = rowID = rowTag = rowState = 0;
|
|
16529
|
-
|
|
16530
|
-
} else if (chunk.length !== i)
|
|
16663
|
+
JSCompiler_object_inline__buffer_1641.length = 0;
|
|
16664
|
+
} else if (chunk$jscomp$0.length !== i)
|
|
16531
16665
|
throw Error(
|
|
16532
16666
|
"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams."
|
|
16533
16667
|
);
|
|
16534
16668
|
}
|
|
16535
|
-
|
|
16536
|
-
|
|
16537
|
-
|
|
16538
|
-
|
|
16669
|
+
JSCompiler_object_inline__rowState_1637 = rowState;
|
|
16670
|
+
JSCompiler_object_inline__rowID_1638 = rowID;
|
|
16671
|
+
JSCompiler_object_inline__rowTag_1639 = rowTag;
|
|
16672
|
+
JSCompiler_object_inline__rowLength_1640 = rowLength;
|
|
16539
16673
|
}
|
|
16540
16674
|
} else
|
|
16541
16675
|
reportGlobalError(flightResponse, Error("Connection closed."));
|
|
@@ -16559,5 +16693,5 @@
|
|
|
16559
16693
|
});
|
|
16560
16694
|
});
|
|
16561
16695
|
};
|
|
16562
|
-
exports.version = "19.2.0-experimental-
|
|
16696
|
+
exports.version = "19.2.0-experimental-e9638c33-20250721";
|
|
16563
16697
|
})();
|
|
@@ -2606,7 +2606,7 @@ function initializeModelChunk(chunk) {
|
|
|
2606
2606
|
(chunk.reason = null),
|
|
2607
2607
|
wakeChunk(resolveListeners, value));
|
|
2608
2608
|
if (null !== initializingHandler) {
|
|
2609
|
-
if (initializingHandler.errored) throw initializingHandler.
|
|
2609
|
+
if (initializingHandler.errored) throw initializingHandler.reason;
|
|
2610
2610
|
if (0 < initializingHandler.deps) {
|
|
2611
2611
|
initializingHandler.value = value;
|
|
2612
2612
|
initializingHandler.chunk = chunk;
|
|
@@ -2723,6 +2723,7 @@ function fulfillReference(reference, value) {
|
|
|
2723
2723
|
((parentObject = key.value),
|
|
2724
2724
|
(key.status = "fulfilled"),
|
|
2725
2725
|
(key.value = handler.value),
|
|
2726
|
+
(key.reason = handler.reason),
|
|
2726
2727
|
null !== parentObject && wakeChunk(parentObject, handler.value)));
|
|
2727
2728
|
}
|
|
2728
2729
|
function rejectReference(reference, error) {
|
|
@@ -2730,7 +2731,8 @@ function rejectReference(reference, error) {
|
|
|
2730
2731
|
reference = reference.response;
|
|
2731
2732
|
handler.errored ||
|
|
2732
2733
|
((handler.errored = !0),
|
|
2733
|
-
(handler.value =
|
|
2734
|
+
(handler.value = null),
|
|
2735
|
+
(handler.reason = error),
|
|
2734
2736
|
(handler = handler.chunk),
|
|
2735
2737
|
null !== handler &&
|
|
2736
2738
|
"blocked" === handler.status &&
|
|
@@ -2752,6 +2754,7 @@ function waitForReference(
|
|
|
2752
2754
|
parent: null,
|
|
2753
2755
|
chunk: null,
|
|
2754
2756
|
value: null,
|
|
2757
|
+
reason: null,
|
|
2755
2758
|
deps: 1,
|
|
2756
2759
|
errored: !1
|
|
2757
2760
|
};
|
|
@@ -2828,6 +2831,7 @@ function getOutlinedModel(response, reference, parentObject, key, map) {
|
|
|
2828
2831
|
parent: null,
|
|
2829
2832
|
chunk: null,
|
|
2830
2833
|
value: null,
|
|
2834
|
+
reason: null,
|
|
2831
2835
|
deps: 1,
|
|
2832
2836
|
errored: !1
|
|
2833
2837
|
}),
|
|
@@ -2837,11 +2841,13 @@ function getOutlinedModel(response, reference, parentObject, key, map) {
|
|
|
2837
2841
|
return (
|
|
2838
2842
|
initializingHandler
|
|
2839
2843
|
? ((initializingHandler.errored = !0),
|
|
2840
|
-
(initializingHandler.value =
|
|
2844
|
+
(initializingHandler.value = null),
|
|
2845
|
+
(initializingHandler.reason = value.reason))
|
|
2841
2846
|
: (initializingHandler = {
|
|
2842
2847
|
parent: null,
|
|
2843
2848
|
chunk: null,
|
|
2844
|
-
value:
|
|
2849
|
+
value: null,
|
|
2850
|
+
reason: value.reason,
|
|
2845
2851
|
deps: 0,
|
|
2846
2852
|
errored: !0
|
|
2847
2853
|
}),
|
|
@@ -2863,6 +2869,7 @@ function getOutlinedModel(response, reference, parentObject, key, map) {
|
|
|
2863
2869
|
parent: null,
|
|
2864
2870
|
chunk: null,
|
|
2865
2871
|
value: null,
|
|
2872
|
+
reason: null,
|
|
2866
2873
|
deps: 1,
|
|
2867
2874
|
errored: !1
|
|
2868
2875
|
}),
|
|
@@ -2872,11 +2879,13 @@ function getOutlinedModel(response, reference, parentObject, key, map) {
|
|
|
2872
2879
|
return (
|
|
2873
2880
|
initializingHandler
|
|
2874
2881
|
? ((initializingHandler.errored = !0),
|
|
2875
|
-
(initializingHandler.value =
|
|
2882
|
+
(initializingHandler.value = null),
|
|
2883
|
+
(initializingHandler.reason = id.reason))
|
|
2876
2884
|
: (initializingHandler = {
|
|
2877
2885
|
parent: null,
|
|
2878
2886
|
chunk: null,
|
|
2879
|
-
value:
|
|
2887
|
+
value: null,
|
|
2888
|
+
reason: id.reason,
|
|
2880
2889
|
deps: 0,
|
|
2881
2890
|
errored: !0
|
|
2882
2891
|
}),
|
|
@@ -2915,6 +2924,7 @@ function parseModelString(response, parentObject, key, value) {
|
|
|
2915
2924
|
parent: initializingHandler,
|
|
2916
2925
|
chunk: null,
|
|
2917
2926
|
value: null,
|
|
2927
|
+
reason: null,
|
|
2918
2928
|
deps: 0,
|
|
2919
2929
|
errored: !1
|
|
2920
2930
|
}),
|
|
@@ -3248,7 +3258,7 @@ function createFromJSONCallback(response) {
|
|
|
3248
3258
|
(initializingHandler = value.parent),
|
|
3249
3259
|
value.errored)
|
|
3250
3260
|
)
|
|
3251
|
-
(key = createErrorChunk(response, value.
|
|
3261
|
+
(key = createErrorChunk(response, value.reason)),
|
|
3252
3262
|
(key = createLazyChunkWrapper(key));
|
|
3253
3263
|
else if (0 < value.deps) {
|
|
3254
3264
|
var blockedChunk = new ReactPromise("blocked", null, null);
|
|
@@ -9620,21 +9630,21 @@ function noServerCallOrFormAction() {
|
|
|
9620
9630
|
}
|
|
9621
9631
|
exports.experimental_renderToHTML = function (children, options) {
|
|
9622
9632
|
return new Promise(function (resolve, reject) {
|
|
9623
|
-
var
|
|
9624
|
-
|
|
9625
|
-
|
|
9626
|
-
|
|
9627
|
-
|
|
9633
|
+
var JSCompiler_object_inline__rowState_1676 = 0,
|
|
9634
|
+
JSCompiler_object_inline__rowID_1677 = 0,
|
|
9635
|
+
JSCompiler_object_inline__rowTag_1678 = 0,
|
|
9636
|
+
JSCompiler_object_inline__rowLength_1679 = 0,
|
|
9637
|
+
JSCompiler_object_inline__buffer_1680 = [],
|
|
9628
9638
|
flightDestination = {
|
|
9629
9639
|
push: function (chunk) {
|
|
9630
9640
|
if (null !== chunk) {
|
|
9631
9641
|
for (
|
|
9632
9642
|
var response = flightResponse,
|
|
9633
9643
|
i = 0,
|
|
9634
|
-
rowState =
|
|
9635
|
-
rowID =
|
|
9636
|
-
rowTag =
|
|
9637
|
-
rowLength =
|
|
9644
|
+
rowState = JSCompiler_object_inline__rowState_1676,
|
|
9645
|
+
rowID = JSCompiler_object_inline__rowID_1677,
|
|
9646
|
+
rowTag = JSCompiler_object_inline__rowTag_1678,
|
|
9647
|
+
rowLength = JSCompiler_object_inline__rowLength_1679,
|
|
9638
9648
|
chunkLength = chunk.length;
|
|
9639
9649
|
i < chunkLength;
|
|
9640
9650
|
|
|
@@ -9695,7 +9705,7 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
9695
9705
|
lastIdx = chunk.length;
|
|
9696
9706
|
}
|
|
9697
9707
|
if (-1 < lastIdx) {
|
|
9698
|
-
if (0 <
|
|
9708
|
+
if (0 < JSCompiler_object_inline__buffer_1680.length)
|
|
9699
9709
|
throw Error(
|
|
9700
9710
|
"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams."
|
|
9701
9711
|
);
|
|
@@ -9714,11 +9724,12 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
9714
9724
|
JSON.parse(rowID, response._fromJSON);
|
|
9715
9725
|
break;
|
|
9716
9726
|
case 69:
|
|
9717
|
-
rowTag = JSON.parse(i);
|
|
9718
|
-
i = resolveErrorProd();
|
|
9719
|
-
i.digest = rowTag.digest;
|
|
9720
9727
|
rowTag = response._chunks;
|
|
9721
|
-
|
|
9728
|
+
rowLength = rowTag.get(rowID);
|
|
9729
|
+
var errorInfo = JSON.parse(i);
|
|
9730
|
+
i = resolveErrorProd();
|
|
9731
|
+
i.digest = errorInfo.digest;
|
|
9732
|
+
rowLength
|
|
9722
9733
|
? triggerErrorOnChunk(response, rowLength, i)
|
|
9723
9734
|
: rowTag.set(rowID, createErrorChunk(response, i));
|
|
9724
9735
|
break;
|
|
@@ -9779,16 +9790,16 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
9779
9790
|
i = lastIdx;
|
|
9780
9791
|
3 === rowState && i++;
|
|
9781
9792
|
rowLength = rowID = rowTag = rowState = 0;
|
|
9782
|
-
|
|
9793
|
+
JSCompiler_object_inline__buffer_1680.length = 0;
|
|
9783
9794
|
} else if (chunk.length !== i)
|
|
9784
9795
|
throw Error(
|
|
9785
9796
|
"String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams."
|
|
9786
9797
|
);
|
|
9787
9798
|
}
|
|
9788
|
-
|
|
9789
|
-
|
|
9790
|
-
|
|
9791
|
-
|
|
9799
|
+
JSCompiler_object_inline__rowState_1676 = rowState;
|
|
9800
|
+
JSCompiler_object_inline__rowID_1677 = rowID;
|
|
9801
|
+
JSCompiler_object_inline__rowTag_1678 = rowTag;
|
|
9802
|
+
JSCompiler_object_inline__rowLength_1679 = rowLength;
|
|
9792
9803
|
} else reportGlobalError(flightResponse, Error("Connection closed."));
|
|
9793
9804
|
return !0;
|
|
9794
9805
|
},
|
|
@@ -9908,4 +9919,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
9908
9919
|
});
|
|
9909
9920
|
});
|
|
9910
9921
|
};
|
|
9911
|
-
exports.version = "19.2.0-experimental-
|
|
9922
|
+
exports.version = "19.2.0-experimental-e9638c33-20250721";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-markup",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-e9638c33-20250721",
|
|
4
4
|
"description": "React package generating embedded markup such as e-mails with support for Server Components.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://react.dev/",
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"react": "0.0.0-experimental-
|
|
20
|
+
"react": "0.0.0-experimental-e9638c33-20250721"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"LICENSE",
|