react-markup 0.0.0-experimental-408d055a-20250430 → 0.0.0-experimental-f7396427-20250501
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.
|
@@ -7535,21 +7535,24 @@
|
|
|
7535
7535
|
? (destination.push(request.startInlineScript),
|
|
7536
7536
|
destination.push(endOfStartTag),
|
|
7537
7537
|
requiresStyleInsertion
|
|
7538
|
-
? 0 === (completedSegments.instructions &
|
|
7539
|
-
|
|
7538
|
+
? (0 === (completedSegments.instructions & 4) &&
|
|
7539
|
+
((completedSegments.instructions |= 4),
|
|
7540
|
+
destination.push(clientRenderScriptFunctionOnly)),
|
|
7541
|
+
0 === (completedSegments.instructions & 2) &&
|
|
7542
|
+
((completedSegments.instructions |= 2),
|
|
7540
7543
|
destination.push(
|
|
7541
|
-
'$RC=function(
|
|
7542
|
-
))
|
|
7543
|
-
|
|
7544
|
+
'$RB=[];$RC=function(d,c){function m(){$RT=performance.now();var f=$RB;$RB=[];for(var e=0;e<f.length;e+=2){var a=f[e],l=f[e+1],g=a.parentNode;if(g){var h=a.previousSibling,k=0;do{if(a&&8===a.nodeType){var b=a.data;if("/$"===b||"/&"===b)if(0===k)break;else k--;else"$"!==b&&"$?"!==b&&"$~"!==b&&"$!"!==b&&"&"!==b||k++}b=a.nextSibling;g.removeChild(a);a=b}while(a);for(;l.firstChild;)g.insertBefore(l.firstChild,a);h.data="$";h._reactRetry&&h._reactRetry()}}}if(c=document.getElementById(c))if(c.parentNode.removeChild(c),d=\ndocument.getElementById(d))d.previousSibling.data="$~",$RB.push(d,c),2===$RB.length&&setTimeout(m,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
|
|
7545
|
+
)),
|
|
7546
|
+
0 === (completedSegments.instructions & 8)
|
|
7544
7547
|
? ((completedSegments.instructions |= 8),
|
|
7545
7548
|
destination.push(
|
|
7546
|
-
'$RM=new Map
|
|
7549
|
+
'$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'
|
|
7547
7550
|
))
|
|
7548
|
-
: destination.push('$RR("')
|
|
7551
|
+
: destination.push('$RR("'))
|
|
7549
7552
|
: 0 === (completedSegments.instructions & 2)
|
|
7550
7553
|
? ((completedSegments.instructions |= 2),
|
|
7551
7554
|
destination.push(
|
|
7552
|
-
'$RC=function(
|
|
7555
|
+
'$RB=[];$RC=function(d,c){function m(){$RT=performance.now();var f=$RB;$RB=[];for(var e=0;e<f.length;e+=2){var a=f[e],l=f[e+1],g=a.parentNode;if(g){var h=a.previousSibling,k=0;do{if(a&&8===a.nodeType){var b=a.data;if("/$"===b||"/&"===b)if(0===k)break;else k--;else"$"!==b&&"$?"!==b&&"$~"!==b&&"$!"!==b&&"&"!==b||k++}b=a.nextSibling;g.removeChild(a);a=b}while(a);for(;l.firstChild;)g.insertBefore(l.firstChild,a);h.data="$";h._reactRetry&&h._reactRetry()}}}if(c=document.getElementById(c))if(c.parentNode.removeChild(c),d=\ndocument.getElementById(d))d.previousSibling.data="$~",$RB.push(d,c),2===$RB.length&&setTimeout(m,("number"!==typeof $RT?0:$RT)+300-performance.now())};$RC("'
|
|
7553
7556
|
))
|
|
7554
7557
|
: destination.push('$RC("'))
|
|
7555
7558
|
: requiresStyleInsertion
|
|
@@ -7645,11 +7648,7 @@
|
|
|
7645
7648
|
flushedByteSize = request.byteSize;
|
|
7646
7649
|
var resumableState = request.resumableState,
|
|
7647
7650
|
renderState = request.renderState;
|
|
7648
|
-
if (
|
|
7649
|
-
(0 !== request.allPendingTasks ||
|
|
7650
|
-
null !== request.trackedPostpones) &&
|
|
7651
|
-
renderState.externalRuntimeScript
|
|
7652
|
-
) {
|
|
7651
|
+
if (renderState.externalRuntimeScript) {
|
|
7653
7652
|
var _renderState$external = renderState.externalRuntimeScript,
|
|
7654
7653
|
src = _renderState$external.src,
|
|
7655
7654
|
chunks = _renderState$external.chunks;
|
|
@@ -7945,7 +7944,6 @@
|
|
|
7945
7944
|
}
|
|
7946
7945
|
} finally {
|
|
7947
7946
|
0 === request.allPendingTasks &&
|
|
7948
|
-
0 === request.pingedTasks.length &&
|
|
7949
7947
|
0 === request.clientRenderedBoundaries.length &&
|
|
7950
7948
|
0 === request.completedBoundaries.length &&
|
|
7951
7949
|
((request.flushScheduled = !1),
|
|
@@ -8771,6 +8769,8 @@
|
|
|
8771
8769
|
validatedTagCache = new Map(),
|
|
8772
8770
|
doctypeChunk = "<!DOCTYPE html>",
|
|
8773
8771
|
endTagCache = new Map(),
|
|
8772
|
+
clientRenderScriptFunctionOnly =
|
|
8773
|
+
'$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};',
|
|
8774
8774
|
regexForJSStringsInInstructionScripts = /[<\u2028\u2029]/g,
|
|
8775
8775
|
regexForJSStringsInScripts = /[&><\u2028\u2029]/g,
|
|
8776
8776
|
currentlyRenderingBoundaryHasStylesToHoist = !1,
|
|
@@ -9054,5 +9054,5 @@
|
|
|
9054
9054
|
});
|
|
9055
9055
|
});
|
|
9056
9056
|
};
|
|
9057
|
-
exports.version = "19.2.0-experimental-
|
|
9057
|
+
exports.version = "19.2.0-experimental-f7396427-20250501";
|
|
9058
9058
|
})();
|
|
@@ -5641,21 +5641,26 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
|
5641
5641
|
? (destination.push(request.startInlineScript),
|
|
5642
5642
|
destination.push(">"),
|
|
5643
5643
|
requiresStyleInsertion
|
|
5644
|
-
? 0 === (completedSegments.instructions &
|
|
5645
|
-
|
|
5644
|
+
? (0 === (completedSegments.instructions & 4) &&
|
|
5645
|
+
((completedSegments.instructions |= 4),
|
|
5646
5646
|
destination.push(
|
|
5647
|
-
'$
|
|
5648
|
-
))
|
|
5649
|
-
|
|
5647
|
+
'$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'
|
|
5648
|
+
)),
|
|
5649
|
+
0 === (completedSegments.instructions & 2) &&
|
|
5650
|
+
((completedSegments.instructions |= 2),
|
|
5651
|
+
destination.push(
|
|
5652
|
+
'$RB=[];$RC=function(d,c){function m(){$RT=performance.now();var f=$RB;$RB=[];for(var e=0;e<f.length;e+=2){var a=f[e],l=f[e+1],g=a.parentNode;if(g){var h=a.previousSibling,k=0;do{if(a&&8===a.nodeType){var b=a.data;if("/$"===b||"/&"===b)if(0===k)break;else k--;else"$"!==b&&"$?"!==b&&"$~"!==b&&"$!"!==b&&"&"!==b||k++}b=a.nextSibling;g.removeChild(a);a=b}while(a);for(;l.firstChild;)g.insertBefore(l.firstChild,a);h.data="$";h._reactRetry&&h._reactRetry()}}}if(c=document.getElementById(c))if(c.parentNode.removeChild(c),d=\ndocument.getElementById(d))d.previousSibling.data="$~",$RB.push(d,c),2===$RB.length&&setTimeout(m,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
|
|
5653
|
+
)),
|
|
5654
|
+
0 === (completedSegments.instructions & 8)
|
|
5650
5655
|
? ((completedSegments.instructions |= 8),
|
|
5651
5656
|
destination.push(
|
|
5652
|
-
'$RM=new Map
|
|
5657
|
+
'$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'
|
|
5653
5658
|
))
|
|
5654
|
-
: destination.push('$RR("')
|
|
5659
|
+
: destination.push('$RR("'))
|
|
5655
5660
|
: 0 === (completedSegments.instructions & 2)
|
|
5656
5661
|
? ((completedSegments.instructions |= 2),
|
|
5657
5662
|
destination.push(
|
|
5658
|
-
'$RC=function(
|
|
5663
|
+
'$RB=[];$RC=function(d,c){function m(){$RT=performance.now();var f=$RB;$RB=[];for(var e=0;e<f.length;e+=2){var a=f[e],l=f[e+1],g=a.parentNode;if(g){var h=a.previousSibling,k=0;do{if(a&&8===a.nodeType){var b=a.data;if("/$"===b||"/&"===b)if(0===k)break;else k--;else"$"!==b&&"$?"!==b&&"$~"!==b&&"$!"!==b&&"&"!==b||k++}b=a.nextSibling;g.removeChild(a);a=b}while(a);for(;l.firstChild;)g.insertBefore(l.firstChild,a);h.data="$";h._reactRetry&&h._reactRetry()}}}if(c=document.getElementById(c))if(c.parentNode.removeChild(c),d=\ndocument.getElementById(d))d.previousSibling.data="$~",$RB.push(d,c),2===$RB.length&&setTimeout(m,("number"!==typeof $RT?0:$RT)+300-performance.now())};$RC("'
|
|
5659
5664
|
))
|
|
5660
5665
|
: destination.push('$RC("'))
|
|
5661
5666
|
: requiresStyleInsertion
|
|
@@ -5741,11 +5746,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
5741
5746
|
flushedByteSize = request.byteSize;
|
|
5742
5747
|
var resumableState = request.resumableState,
|
|
5743
5748
|
renderState = request.renderState;
|
|
5744
|
-
if (
|
|
5745
|
-
(0 !== request.allPendingTasks ||
|
|
5746
|
-
null !== request.trackedPostpones) &&
|
|
5747
|
-
renderState.externalRuntimeScript
|
|
5748
|
-
) {
|
|
5749
|
+
if (renderState.externalRuntimeScript) {
|
|
5749
5750
|
var _renderState$external = renderState.externalRuntimeScript,
|
|
5750
5751
|
src = _renderState$external.src,
|
|
5751
5752
|
chunks = _renderState$external.chunks;
|
|
@@ -5966,7 +5967,6 @@ function flushCompletedQueues(request, destination) {
|
|
|
5966
5967
|
}
|
|
5967
5968
|
} finally {
|
|
5968
5969
|
0 === request.allPendingTasks &&
|
|
5969
|
-
0 === request.pingedTasks.length &&
|
|
5970
5970
|
0 === request.clientRenderedBoundaries.length &&
|
|
5971
5971
|
0 === request.completedBoundaries.length &&
|
|
5972
5972
|
((request.flushScheduled = !1),
|
|
@@ -6089,4 +6089,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
6089
6089
|
});
|
|
6090
6090
|
});
|
|
6091
6091
|
};
|
|
6092
|
-
exports.version = "19.2.0-experimental-
|
|
6092
|
+
exports.version = "19.2.0-experimental-f7396427-20250501";
|
|
@@ -1359,6 +1359,20 @@
|
|
|
1359
1359
|
getAsyncIterator = getAsyncIterator.call(children);
|
|
1360
1360
|
return serializeAsyncIterable(request, task, children, getAsyncIterator);
|
|
1361
1361
|
}
|
|
1362
|
+
function deferTask(request, task) {
|
|
1363
|
+
task = createTask(
|
|
1364
|
+
request,
|
|
1365
|
+
task.model,
|
|
1366
|
+
task.keyPath,
|
|
1367
|
+
task.implicitSlot,
|
|
1368
|
+
request.abortableTasks,
|
|
1369
|
+
task.debugOwner,
|
|
1370
|
+
task.debugStack,
|
|
1371
|
+
task.debugTask
|
|
1372
|
+
);
|
|
1373
|
+
pingTask$1(request, task);
|
|
1374
|
+
return "$L" + task.id.toString(16);
|
|
1375
|
+
}
|
|
1362
1376
|
function outlineTask(request, task) {
|
|
1363
1377
|
task = createTask(
|
|
1364
1378
|
request,
|
|
@@ -1741,6 +1755,7 @@
|
|
|
1741
1755
|
value
|
|
1742
1756
|
) {
|
|
1743
1757
|
task.model = value;
|
|
1758
|
+
serializedSize += parentPropertyName.length;
|
|
1744
1759
|
if (value === REACT_ELEMENT_TYPE) return "$";
|
|
1745
1760
|
if (null === value) return null;
|
|
1746
1761
|
if ("object" === typeof value) {
|
|
@@ -1761,6 +1776,7 @@
|
|
|
1761
1776
|
_existingReference + ":" + parentPropertyName),
|
|
1762
1777
|
_writtenObjects.set(value, elementReference)));
|
|
1763
1778
|
}
|
|
1779
|
+
if (serializedSize > MAX_ROW_SIZE) return deferTask(request, task);
|
|
1764
1780
|
if ((_existingReference = value._debugInfo)) {
|
|
1765
1781
|
if (null === debugID) return outlineTask(request, task);
|
|
1766
1782
|
forwardDebugInfo(request, debugID, _existingReference);
|
|
@@ -1786,6 +1802,7 @@
|
|
|
1786
1802
|
_writtenObjects.set(request, elementReference));
|
|
1787
1803
|
return request;
|
|
1788
1804
|
case REACT_LAZY_TYPE:
|
|
1805
|
+
if (serializedSize > MAX_ROW_SIZE) return deferTask(request, task);
|
|
1789
1806
|
task.thenableState = null;
|
|
1790
1807
|
elementReference = callLazyInitInDEV$1(value);
|
|
1791
1808
|
if (request.status === ABORTING$1) throw null;
|
|
@@ -1956,6 +1973,7 @@
|
|
|
1956
1973
|
return (
|
|
1957
1974
|
(request = TaintRegistryValues.get(value)),
|
|
1958
1975
|
void 0 !== request && throwTaintViolation(request.message),
|
|
1976
|
+
(serializedSize += value.length),
|
|
1959
1977
|
"Z" === value[value.length - 1] &&
|
|
1960
1978
|
parent[parentPropertyName] instanceof Date
|
|
1961
1979
|
? "$D" + value
|
|
@@ -2506,34 +2524,41 @@
|
|
|
2506
2524
|
}
|
|
2507
2525
|
function emitChunk(request, task, value) {
|
|
2508
2526
|
var id = task.id;
|
|
2509
|
-
value instanceof ArrayBuffer
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2527
|
+
if (value instanceof ArrayBuffer)
|
|
2528
|
+
emitTypedArrayChunk(request, id, "A", new Uint8Array(value));
|
|
2529
|
+
else if (value instanceof Int8Array)
|
|
2530
|
+
emitTypedArrayChunk(request, id, "O", value);
|
|
2531
|
+
else if (value instanceof Uint8Array)
|
|
2532
|
+
emitTypedArrayChunk(request, id, "o", value);
|
|
2533
|
+
else if (value instanceof Uint8ClampedArray)
|
|
2534
|
+
emitTypedArrayChunk(request, id, "U", value);
|
|
2535
|
+
else if (value instanceof Int16Array)
|
|
2536
|
+
emitTypedArrayChunk(request, id, "S", value);
|
|
2537
|
+
else if (value instanceof Uint16Array)
|
|
2538
|
+
emitTypedArrayChunk(request, id, "s", value);
|
|
2539
|
+
else if (value instanceof Int32Array)
|
|
2540
|
+
emitTypedArrayChunk(request, id, "L", value);
|
|
2541
|
+
else if (value instanceof Uint32Array)
|
|
2542
|
+
emitTypedArrayChunk(request, id, "l", value);
|
|
2543
|
+
else if (value instanceof Float32Array)
|
|
2544
|
+
emitTypedArrayChunk(request, id, "G", value);
|
|
2545
|
+
else if (value instanceof Float64Array)
|
|
2546
|
+
emitTypedArrayChunk(request, id, "g", value);
|
|
2547
|
+
else if (value instanceof BigInt64Array)
|
|
2548
|
+
emitTypedArrayChunk(request, id, "M", value);
|
|
2549
|
+
else if (value instanceof BigUint64Array)
|
|
2550
|
+
emitTypedArrayChunk(request, id, "m", value);
|
|
2551
|
+
else if (value instanceof DataView)
|
|
2552
|
+
emitTypedArrayChunk(request, id, "V", value);
|
|
2553
|
+
else {
|
|
2554
|
+
id = serializedSize;
|
|
2555
|
+
try {
|
|
2556
|
+
var json = stringify(value, task.toJSON);
|
|
2557
|
+
emitModelChunk(request, task.id, json);
|
|
2558
|
+
} finally {
|
|
2559
|
+
serializedSize = id;
|
|
2560
|
+
}
|
|
2561
|
+
}
|
|
2537
2562
|
}
|
|
2538
2563
|
function erroredTask$1(request, task, error) {
|
|
2539
2564
|
task.timed && emitTimingChunk(request, task.id, performance.now());
|
|
@@ -11896,21 +11921,24 @@
|
|
|
11896
11921
|
? (destination.push(request.startInlineScript),
|
|
11897
11922
|
destination.push(endOfStartTag),
|
|
11898
11923
|
requiresStyleInsertion
|
|
11899
|
-
? 0 === (completedSegments.instructions &
|
|
11900
|
-
|
|
11924
|
+
? (0 === (completedSegments.instructions & 4) &&
|
|
11925
|
+
((completedSegments.instructions |= 4),
|
|
11926
|
+
destination.push(clientRenderScriptFunctionOnly)),
|
|
11927
|
+
0 === (completedSegments.instructions & 2) &&
|
|
11928
|
+
((completedSegments.instructions |= 2),
|
|
11901
11929
|
destination.push(
|
|
11902
|
-
'$RC=function(
|
|
11903
|
-
))
|
|
11904
|
-
|
|
11930
|
+
'$RB=[];$RC=function(d,c){function m(){$RT=performance.now();var f=$RB;$RB=[];for(var e=0;e<f.length;e+=2){var a=f[e],l=f[e+1],g=a.parentNode;if(g){var h=a.previousSibling,k=0;do{if(a&&8===a.nodeType){var b=a.data;if("/$"===b||"/&"===b)if(0===k)break;else k--;else"$"!==b&&"$?"!==b&&"$~"!==b&&"$!"!==b&&"&"!==b||k++}b=a.nextSibling;g.removeChild(a);a=b}while(a);for(;l.firstChild;)g.insertBefore(l.firstChild,a);h.data="$";h._reactRetry&&h._reactRetry()}}}if(c=document.getElementById(c))if(c.parentNode.removeChild(c),d=\ndocument.getElementById(d))d.previousSibling.data="$~",$RB.push(d,c),2===$RB.length&&setTimeout(m,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
|
|
11931
|
+
)),
|
|
11932
|
+
0 === (completedSegments.instructions & 8)
|
|
11905
11933
|
? ((completedSegments.instructions |= 8),
|
|
11906
11934
|
destination.push(
|
|
11907
|
-
'$RM=new Map
|
|
11935
|
+
'$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'
|
|
11908
11936
|
))
|
|
11909
|
-
: destination.push('$RR("')
|
|
11937
|
+
: destination.push('$RR("'))
|
|
11910
11938
|
: 0 === (completedSegments.instructions & 2)
|
|
11911
11939
|
? ((completedSegments.instructions |= 2),
|
|
11912
11940
|
destination.push(
|
|
11913
|
-
'$RC=function(
|
|
11941
|
+
'$RB=[];$RC=function(d,c){function m(){$RT=performance.now();var f=$RB;$RB=[];for(var e=0;e<f.length;e+=2){var a=f[e],l=f[e+1],g=a.parentNode;if(g){var h=a.previousSibling,k=0;do{if(a&&8===a.nodeType){var b=a.data;if("/$"===b||"/&"===b)if(0===k)break;else k--;else"$"!==b&&"$?"!==b&&"$~"!==b&&"$!"!==b&&"&"!==b||k++}b=a.nextSibling;g.removeChild(a);a=b}while(a);for(;l.firstChild;)g.insertBefore(l.firstChild,a);h.data="$";h._reactRetry&&h._reactRetry()}}}if(c=document.getElementById(c))if(c.parentNode.removeChild(c),d=\ndocument.getElementById(d))d.previousSibling.data="$~",$RB.push(d,c),2===$RB.length&&setTimeout(m,("number"!==typeof $RT?0:$RT)+300-performance.now())};$RC("'
|
|
11914
11942
|
))
|
|
11915
11943
|
: destination.push('$RC("'))
|
|
11916
11944
|
: requiresStyleInsertion
|
|
@@ -12006,11 +12034,7 @@
|
|
|
12006
12034
|
flushedByteSize = request.byteSize;
|
|
12007
12035
|
var resumableState = request.resumableState,
|
|
12008
12036
|
renderState = request.renderState;
|
|
12009
|
-
if (
|
|
12010
|
-
(0 !== request.allPendingTasks ||
|
|
12011
|
-
null !== request.trackedPostpones) &&
|
|
12012
|
-
renderState.externalRuntimeScript
|
|
12013
|
-
) {
|
|
12037
|
+
if (renderState.externalRuntimeScript) {
|
|
12014
12038
|
var _renderState$external = renderState.externalRuntimeScript,
|
|
12015
12039
|
src = _renderState$external.src,
|
|
12016
12040
|
chunks = _renderState$external.chunks;
|
|
@@ -12306,7 +12330,6 @@
|
|
|
12306
12330
|
}
|
|
12307
12331
|
} finally {
|
|
12308
12332
|
0 === request.allPendingTasks &&
|
|
12309
|
-
0 === request.pingedTasks.length &&
|
|
12310
12333
|
0 === request.clientRenderedBoundaries.length &&
|
|
12311
12334
|
0 === request.completedBoundaries.length &&
|
|
12312
12335
|
((request.flushScheduled = !1),
|
|
@@ -12636,6 +12659,8 @@
|
|
|
12636
12659
|
ReactSharedInternalsServer.TaintRegistryPendingRequests,
|
|
12637
12660
|
currentRequest = null,
|
|
12638
12661
|
debugID = null,
|
|
12662
|
+
serializedSize = 0,
|
|
12663
|
+
MAX_ROW_SIZE = 3200,
|
|
12639
12664
|
modelRoot = !1,
|
|
12640
12665
|
emptyRoot = {},
|
|
12641
12666
|
bind$1 = Function.prototype.bind,
|
|
@@ -13463,6 +13488,8 @@
|
|
|
13463
13488
|
validatedTagCache = new Map(),
|
|
13464
13489
|
doctypeChunk = "<!DOCTYPE html>",
|
|
13465
13490
|
endTagCache = new Map(),
|
|
13491
|
+
clientRenderScriptFunctionOnly =
|
|
13492
|
+
'$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};',
|
|
13466
13493
|
regexForJSStringsInInstructionScripts = /[<\u2028\u2029]/g,
|
|
13467
13494
|
regexForJSStringsInScripts = /[&><\u2028\u2029]/g,
|
|
13468
13495
|
currentlyRenderingBoundaryHasStylesToHoist = !1,
|
|
@@ -13867,5 +13894,5 @@
|
|
|
13867
13894
|
});
|
|
13868
13895
|
});
|
|
13869
13896
|
};
|
|
13870
|
-
exports.version = "19.2.0-experimental-
|
|
13897
|
+
exports.version = "19.2.0-experimental-f7396427-20250501";
|
|
13871
13898
|
})();
|
|
@@ -922,6 +922,18 @@ function renderFragment(request, task, children) {
|
|
|
922
922
|
task.implicitSlot ? [request] : request)
|
|
923
923
|
: children;
|
|
924
924
|
}
|
|
925
|
+
var serializedSize = 0;
|
|
926
|
+
function deferTask(request, task) {
|
|
927
|
+
task = createTask(
|
|
928
|
+
request,
|
|
929
|
+
task.model,
|
|
930
|
+
task.keyPath,
|
|
931
|
+
task.implicitSlot,
|
|
932
|
+
request.abortableTasks
|
|
933
|
+
);
|
|
934
|
+
pingTask$1(request, task);
|
|
935
|
+
return "$L" + task.id.toString(16);
|
|
936
|
+
}
|
|
925
937
|
function renderElement$1(request, task, type, key, ref, props) {
|
|
926
938
|
if (null !== ref && void 0 !== ref)
|
|
927
939
|
throw Error(
|
|
@@ -1155,6 +1167,7 @@ function renderModelDestructive(
|
|
|
1155
1167
|
value
|
|
1156
1168
|
) {
|
|
1157
1169
|
task.model = value;
|
|
1170
|
+
serializedSize += parentPropertyName.length;
|
|
1158
1171
|
if (value === REACT_ELEMENT_TYPE) return "$";
|
|
1159
1172
|
if (null === value) return null;
|
|
1160
1173
|
if ("object" === typeof value) {
|
|
@@ -1174,6 +1187,7 @@ function renderModelDestructive(
|
|
|
1174
1187
|
((elementReference = parent + ":" + parentPropertyName),
|
|
1175
1188
|
writtenObjects.set(value, elementReference)));
|
|
1176
1189
|
}
|
|
1190
|
+
if (3200 < serializedSize) return deferTask(request, task);
|
|
1177
1191
|
parentPropertyName = value.props;
|
|
1178
1192
|
parent = parentPropertyName.ref;
|
|
1179
1193
|
value = renderElement$1(
|
|
@@ -1191,6 +1205,7 @@ function renderModelDestructive(
|
|
|
1191
1205
|
writtenObjects.set(value, elementReference));
|
|
1192
1206
|
return value;
|
|
1193
1207
|
case REACT_LAZY_TYPE:
|
|
1208
|
+
if (3200 < serializedSize) return deferTask(request, task);
|
|
1194
1209
|
task.thenableState = null;
|
|
1195
1210
|
parentPropertyName = value._init;
|
|
1196
1211
|
value = parentPropertyName(value._payload);
|
|
@@ -1344,6 +1359,7 @@ function renderModelDestructive(
|
|
|
1344
1359
|
if ("string" === typeof value) {
|
|
1345
1360
|
request = TaintRegistryValues.get(value);
|
|
1346
1361
|
void 0 !== request && throwTaintViolation(request.message);
|
|
1362
|
+
serializedSize += value.length;
|
|
1347
1363
|
if (
|
|
1348
1364
|
"Z" === value[value.length - 1] &&
|
|
1349
1365
|
parent[parentPropertyName] instanceof Date
|
|
@@ -1505,34 +1521,41 @@ function emitTypedArrayChunk(request, id, tag, typedArray) {
|
|
|
1505
1521
|
}
|
|
1506
1522
|
function emitChunk(request, task, value) {
|
|
1507
1523
|
var id = task.id;
|
|
1508
|
-
value instanceof ArrayBuffer
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1524
|
+
if (value instanceof ArrayBuffer)
|
|
1525
|
+
emitTypedArrayChunk(request, id, "A", new Uint8Array(value));
|
|
1526
|
+
else if (value instanceof Int8Array)
|
|
1527
|
+
emitTypedArrayChunk(request, id, "O", value);
|
|
1528
|
+
else if (value instanceof Uint8Array)
|
|
1529
|
+
emitTypedArrayChunk(request, id, "o", value);
|
|
1530
|
+
else if (value instanceof Uint8ClampedArray)
|
|
1531
|
+
emitTypedArrayChunk(request, id, "U", value);
|
|
1532
|
+
else if (value instanceof Int16Array)
|
|
1533
|
+
emitTypedArrayChunk(request, id, "S", value);
|
|
1534
|
+
else if (value instanceof Uint16Array)
|
|
1535
|
+
emitTypedArrayChunk(request, id, "s", value);
|
|
1536
|
+
else if (value instanceof Int32Array)
|
|
1537
|
+
emitTypedArrayChunk(request, id, "L", value);
|
|
1538
|
+
else if (value instanceof Uint32Array)
|
|
1539
|
+
emitTypedArrayChunk(request, id, "l", value);
|
|
1540
|
+
else if (value instanceof Float32Array)
|
|
1541
|
+
emitTypedArrayChunk(request, id, "G", value);
|
|
1542
|
+
else if (value instanceof Float64Array)
|
|
1543
|
+
emitTypedArrayChunk(request, id, "g", value);
|
|
1544
|
+
else if (value instanceof BigInt64Array)
|
|
1545
|
+
emitTypedArrayChunk(request, id, "M", value);
|
|
1546
|
+
else if (value instanceof BigUint64Array)
|
|
1547
|
+
emitTypedArrayChunk(request, id, "m", value);
|
|
1548
|
+
else if (value instanceof DataView)
|
|
1549
|
+
emitTypedArrayChunk(request, id, "V", value);
|
|
1550
|
+
else {
|
|
1551
|
+
id = serializedSize;
|
|
1552
|
+
try {
|
|
1553
|
+
var json = stringify(value, task.toJSON);
|
|
1554
|
+
emitModelChunk(request, task.id, json);
|
|
1555
|
+
} finally {
|
|
1556
|
+
serializedSize = id;
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1536
1559
|
}
|
|
1537
1560
|
function erroredTask$1(request, task, error) {
|
|
1538
1561
|
task.status = 4;
|
|
@@ -8344,21 +8367,26 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
|
8344
8367
|
? (destination.push(request.startInlineScript),
|
|
8345
8368
|
destination.push(">"),
|
|
8346
8369
|
requiresStyleInsertion
|
|
8347
|
-
? 0 === (completedSegments.instructions &
|
|
8348
|
-
|
|
8370
|
+
? (0 === (completedSegments.instructions & 4) &&
|
|
8371
|
+
((completedSegments.instructions |= 4),
|
|
8349
8372
|
destination.push(
|
|
8350
|
-
'$
|
|
8351
|
-
))
|
|
8352
|
-
|
|
8373
|
+
'$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'
|
|
8374
|
+
)),
|
|
8375
|
+
0 === (completedSegments.instructions & 2) &&
|
|
8376
|
+
((completedSegments.instructions |= 2),
|
|
8377
|
+
destination.push(
|
|
8378
|
+
'$RB=[];$RC=function(d,c){function m(){$RT=performance.now();var f=$RB;$RB=[];for(var e=0;e<f.length;e+=2){var a=f[e],l=f[e+1],g=a.parentNode;if(g){var h=a.previousSibling,k=0;do{if(a&&8===a.nodeType){var b=a.data;if("/$"===b||"/&"===b)if(0===k)break;else k--;else"$"!==b&&"$?"!==b&&"$~"!==b&&"$!"!==b&&"&"!==b||k++}b=a.nextSibling;g.removeChild(a);a=b}while(a);for(;l.firstChild;)g.insertBefore(l.firstChild,a);h.data="$";h._reactRetry&&h._reactRetry()}}}if(c=document.getElementById(c))if(c.parentNode.removeChild(c),d=\ndocument.getElementById(d))d.previousSibling.data="$~",$RB.push(d,c),2===$RB.length&&setTimeout(m,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
|
|
8379
|
+
)),
|
|
8380
|
+
0 === (completedSegments.instructions & 8)
|
|
8353
8381
|
? ((completedSegments.instructions |= 8),
|
|
8354
8382
|
destination.push(
|
|
8355
|
-
'$RM=new Map
|
|
8383
|
+
'$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'
|
|
8356
8384
|
))
|
|
8357
|
-
: destination.push('$RR("')
|
|
8385
|
+
: destination.push('$RR("'))
|
|
8358
8386
|
: 0 === (completedSegments.instructions & 2)
|
|
8359
8387
|
? ((completedSegments.instructions |= 2),
|
|
8360
8388
|
destination.push(
|
|
8361
|
-
'$RC=function(
|
|
8389
|
+
'$RB=[];$RC=function(d,c){function m(){$RT=performance.now();var f=$RB;$RB=[];for(var e=0;e<f.length;e+=2){var a=f[e],l=f[e+1],g=a.parentNode;if(g){var h=a.previousSibling,k=0;do{if(a&&8===a.nodeType){var b=a.data;if("/$"===b||"/&"===b)if(0===k)break;else k--;else"$"!==b&&"$?"!==b&&"$~"!==b&&"$!"!==b&&"&"!==b||k++}b=a.nextSibling;g.removeChild(a);a=b}while(a);for(;l.firstChild;)g.insertBefore(l.firstChild,a);h.data="$";h._reactRetry&&h._reactRetry()}}}if(c=document.getElementById(c))if(c.parentNode.removeChild(c),d=\ndocument.getElementById(d))d.previousSibling.data="$~",$RB.push(d,c),2===$RB.length&&setTimeout(m,("number"!==typeof $RT?0:$RT)+300-performance.now())};$RC("'
|
|
8362
8390
|
))
|
|
8363
8391
|
: destination.push('$RC("'))
|
|
8364
8392
|
: requiresStyleInsertion
|
|
@@ -8444,11 +8472,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
8444
8472
|
flushedByteSize = request.byteSize;
|
|
8445
8473
|
var resumableState = request.resumableState,
|
|
8446
8474
|
renderState = request.renderState;
|
|
8447
|
-
if (
|
|
8448
|
-
(0 !== request.allPendingTasks ||
|
|
8449
|
-
null !== request.trackedPostpones) &&
|
|
8450
|
-
renderState.externalRuntimeScript
|
|
8451
|
-
) {
|
|
8475
|
+
if (renderState.externalRuntimeScript) {
|
|
8452
8476
|
var _renderState$external = renderState.externalRuntimeScript,
|
|
8453
8477
|
src = _renderState$external.src,
|
|
8454
8478
|
chunks = _renderState$external.chunks;
|
|
@@ -8669,7 +8693,6 @@ function flushCompletedQueues(request, destination) {
|
|
|
8669
8693
|
}
|
|
8670
8694
|
} finally {
|
|
8671
8695
|
0 === request.allPendingTasks &&
|
|
8672
|
-
0 === request.pingedTasks.length &&
|
|
8673
8696
|
0 === request.clientRenderedBoundaries.length &&
|
|
8674
8697
|
0 === request.completedBoundaries.length &&
|
|
8675
8698
|
((request.flushScheduled = !1),
|
|
@@ -9029,4 +9052,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
9029
9052
|
});
|
|
9030
9053
|
});
|
|
9031
9054
|
};
|
|
9032
|
-
exports.version = "19.2.0-experimental-
|
|
9055
|
+
exports.version = "19.2.0-experimental-f7396427-20250501";
|
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-f7396427-20250501",
|
|
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-f7396427-20250501"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"LICENSE",
|