react-markup 0.0.0-experimental-23884812-20250520 → 0.0.0-experimental-99efc627-20250523
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.
|
@@ -5919,8 +5919,8 @@
|
|
|
5919
5919
|
? null
|
|
5920
5920
|
: {
|
|
5921
5921
|
update: parentViewTransition.update,
|
|
5922
|
-
enter:
|
|
5923
|
-
exit:
|
|
5922
|
+
enter: "none",
|
|
5923
|
+
exit: "none",
|
|
5924
5924
|
share: parentViewTransition.update,
|
|
5925
5925
|
name: parentViewTransition.autoName,
|
|
5926
5926
|
autoName: parentViewTransition.autoName,
|
|
@@ -5962,11 +5962,11 @@
|
|
|
5962
5962
|
),
|
|
5963
5963
|
formatContext.nameIdx++),
|
|
5964
5964
|
pushStringAttribute(target, "vt-update", formatContext.update),
|
|
5965
|
-
|
|
5965
|
+
"none" !== formatContext.enter &&
|
|
5966
5966
|
pushStringAttribute(target, "vt-enter", formatContext.enter),
|
|
5967
|
-
|
|
5967
|
+
"none" !== formatContext.exit &&
|
|
5968
5968
|
pushStringAttribute(target, "vt-exit", formatContext.exit),
|
|
5969
|
-
|
|
5969
|
+
"none" !== formatContext.share &&
|
|
5970
5970
|
pushStringAttribute(target, "vt-share", formatContext.share));
|
|
5971
5971
|
}
|
|
5972
5972
|
function pushStyleAttribute(target, style) {
|
|
@@ -11385,6 +11385,35 @@
|
|
|
11385
11385
|
task.componentStack = previousComponentStack;
|
|
11386
11386
|
task.debugTask = previousDebugTask;
|
|
11387
11387
|
}
|
|
11388
|
+
function trackPostponedBoundary(request, trackedPostpones, boundary) {
|
|
11389
|
+
boundary.status = 5;
|
|
11390
|
+
boundary.rootSegmentID = request.nextSegmentId++;
|
|
11391
|
+
request = boundary.trackedContentKeyPath;
|
|
11392
|
+
if (null === request)
|
|
11393
|
+
throw Error(
|
|
11394
|
+
"It should not be possible to postpone at the root. This is a bug in React."
|
|
11395
|
+
);
|
|
11396
|
+
var fallbackReplayNode = boundary.trackedFallbackNode,
|
|
11397
|
+
children = [],
|
|
11398
|
+
boundaryNode = trackedPostpones.workingMap.get(request);
|
|
11399
|
+
if (void 0 === boundaryNode)
|
|
11400
|
+
return (
|
|
11401
|
+
(boundary = [
|
|
11402
|
+
request[1],
|
|
11403
|
+
request[2],
|
|
11404
|
+
children,
|
|
11405
|
+
null,
|
|
11406
|
+
fallbackReplayNode,
|
|
11407
|
+
boundary.rootSegmentID
|
|
11408
|
+
]),
|
|
11409
|
+
trackedPostpones.workingMap.set(request, boundary),
|
|
11410
|
+
addToReplayParent(boundary, request[0], trackedPostpones),
|
|
11411
|
+
boundary
|
|
11412
|
+
);
|
|
11413
|
+
boundaryNode[4] = fallbackReplayNode;
|
|
11414
|
+
boundaryNode[5] = boundary.rootSegmentID;
|
|
11415
|
+
return boundaryNode;
|
|
11416
|
+
}
|
|
11388
11417
|
function trackPostpone(request, trackedPostpones, task, segment) {
|
|
11389
11418
|
segment.status = 5;
|
|
11390
11419
|
var keyPath = task.keyPath,
|
|
@@ -11396,51 +11425,22 @@
|
|
|
11396
11425
|
(request.completedRootSegment.status = 5);
|
|
11397
11426
|
else {
|
|
11398
11427
|
if (null !== boundary && 0 === boundary.status) {
|
|
11399
|
-
|
|
11400
|
-
|
|
11401
|
-
|
|
11402
|
-
|
|
11403
|
-
|
|
11404
|
-
|
|
11405
|
-
|
|
11406
|
-
|
|
11407
|
-
|
|
11408
|
-
if (boundaryKeyPath === keyPath && -1 === task.childIndex) {
|
|
11428
|
+
var boundaryNode = trackPostponedBoundary(
|
|
11429
|
+
request,
|
|
11430
|
+
trackedPostpones,
|
|
11431
|
+
boundary
|
|
11432
|
+
);
|
|
11433
|
+
if (
|
|
11434
|
+
boundary.trackedContentKeyPath === keyPath &&
|
|
11435
|
+
-1 === task.childIndex
|
|
11436
|
+
) {
|
|
11409
11437
|
-1 === segment.id &&
|
|
11410
11438
|
(segment.id = segment.parentFlushed
|
|
11411
11439
|
? boundary.rootSegmentID
|
|
11412
11440
|
: request.nextSegmentId++);
|
|
11413
|
-
|
|
11414
|
-
boundaryKeyPath[1],
|
|
11415
|
-
boundaryKeyPath[2],
|
|
11416
|
-
children,
|
|
11417
|
-
segment.id,
|
|
11418
|
-
fallbackReplayNode,
|
|
11419
|
-
boundary.rootSegmentID
|
|
11420
|
-
];
|
|
11421
|
-
trackedPostpones.workingMap.set(boundaryKeyPath, segment);
|
|
11422
|
-
addToReplayParent(segment, boundaryKeyPath[0], trackedPostpones);
|
|
11441
|
+
boundaryNode[3] = segment.id;
|
|
11423
11442
|
return;
|
|
11424
11443
|
}
|
|
11425
|
-
var _boundaryNode = trackedPostpones.workingMap.get(boundaryKeyPath);
|
|
11426
|
-
void 0 === _boundaryNode
|
|
11427
|
-
? ((_boundaryNode = [
|
|
11428
|
-
boundaryKeyPath[1],
|
|
11429
|
-
boundaryKeyPath[2],
|
|
11430
|
-
children,
|
|
11431
|
-
null,
|
|
11432
|
-
fallbackReplayNode,
|
|
11433
|
-
boundary.rootSegmentID
|
|
11434
|
-
]),
|
|
11435
|
-
trackedPostpones.workingMap.set(boundaryKeyPath, _boundaryNode),
|
|
11436
|
-
addToReplayParent(
|
|
11437
|
-
_boundaryNode,
|
|
11438
|
-
boundaryKeyPath[0],
|
|
11439
|
-
trackedPostpones
|
|
11440
|
-
))
|
|
11441
|
-
: ((boundaryKeyPath = _boundaryNode),
|
|
11442
|
-
(boundaryKeyPath[4] = fallbackReplayNode),
|
|
11443
|
-
(boundaryKeyPath[5] = boundary.rootSegmentID));
|
|
11444
11444
|
}
|
|
11445
11445
|
-1 === segment.id &&
|
|
11446
11446
|
(segment.id =
|
|
@@ -11467,15 +11467,15 @@
|
|
|
11467
11467
|
}
|
|
11468
11468
|
else if (
|
|
11469
11469
|
((boundary = trackedPostpones.workingMap),
|
|
11470
|
-
(
|
|
11471
|
-
void 0 ===
|
|
11470
|
+
(boundaryNode = boundary.get(keyPath)),
|
|
11471
|
+
void 0 === boundaryNode)
|
|
11472
11472
|
)
|
|
11473
11473
|
(request = {}),
|
|
11474
|
-
(
|
|
11475
|
-
boundary.set(keyPath,
|
|
11476
|
-
addToReplayParent(
|
|
11477
|
-
else if (((request =
|
|
11478
|
-
request =
|
|
11474
|
+
(boundaryNode = [keyPath[1], keyPath[2], [], request]),
|
|
11475
|
+
boundary.set(keyPath, boundaryNode),
|
|
11476
|
+
addToReplayParent(boundaryNode, keyPath[0], trackedPostpones);
|
|
11477
|
+
else if (((request = boundaryNode[3]), null === request))
|
|
11478
|
+
request = boundaryNode[3] = {};
|
|
11479
11479
|
else if ("number" === typeof request)
|
|
11480
11480
|
throw Error(
|
|
11481
11481
|
"It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React."
|
|
@@ -12027,45 +12027,72 @@
|
|
|
12027
12027
|
}
|
|
12028
12028
|
request.pendingRootTasks--;
|
|
12029
12029
|
0 === request.pendingRootTasks && completeShell(request);
|
|
12030
|
-
} else
|
|
12031
|
-
boundary.pendingTasks
|
|
12032
|
-
|
|
12033
|
-
(0 === boundary.
|
|
12034
|
-
|
|
12035
|
-
|
|
12036
|
-
|
|
12037
|
-
|
|
12038
|
-
|
|
12039
|
-
|
|
12040
|
-
|
|
12041
|
-
|
|
12042
|
-
|
|
12043
|
-
|
|
12044
|
-
|
|
12045
|
-
|
|
12046
|
-
|
|
12047
|
-
|
|
12048
|
-
|
|
12049
|
-
|
|
12050
|
-
|
|
12051
|
-
|
|
12052
|
-
|
|
12053
|
-
|
|
12054
|
-
|
|
12055
|
-
|
|
12056
|
-
|
|
12057
|
-
|
|
12058
|
-
|
|
12059
|
-
|
|
12060
|
-
|
|
12061
|
-
|
|
12062
|
-
|
|
12063
|
-
|
|
12064
|
-
|
|
12065
|
-
|
|
12066
|
-
|
|
12067
|
-
|
|
12068
|
-
|
|
12030
|
+
} else if ((boundary.pendingTasks--, 4 !== boundary.status))
|
|
12031
|
+
if (0 === boundary.pendingTasks)
|
|
12032
|
+
if (
|
|
12033
|
+
(0 === boundary.status && (boundary.status = 1),
|
|
12034
|
+
null !== segment &&
|
|
12035
|
+
segment.parentFlushed &&
|
|
12036
|
+
1 === segment.status &&
|
|
12037
|
+
queueCompletedSegment(boundary, segment),
|
|
12038
|
+
boundary.parentFlushed &&
|
|
12039
|
+
request.completedBoundaries.push(boundary),
|
|
12040
|
+
1 === boundary.status)
|
|
12041
|
+
)
|
|
12042
|
+
(row = boundary.row),
|
|
12043
|
+
null !== row &&
|
|
12044
|
+
hoistHoistables(row.hoistables, boundary.contentState),
|
|
12045
|
+
500 < boundary.byteSize ||
|
|
12046
|
+
(boundary.fallbackAbortableTasks.forEach(
|
|
12047
|
+
abortTaskSoft,
|
|
12048
|
+
request
|
|
12049
|
+
),
|
|
12050
|
+
boundary.fallbackAbortableTasks.clear(),
|
|
12051
|
+
null !== row &&
|
|
12052
|
+
0 === --row.pendingTasks &&
|
|
12053
|
+
finishSuspenseListRow(request, row)),
|
|
12054
|
+
0 === request.pendingRootTasks &&
|
|
12055
|
+
null === request.trackedPostpones &&
|
|
12056
|
+
null !== boundary.contentPreamble &&
|
|
12057
|
+
preparePreamble(request);
|
|
12058
|
+
else {
|
|
12059
|
+
if (
|
|
12060
|
+
5 === boundary.status &&
|
|
12061
|
+
((boundary = boundary.row), null !== boundary)
|
|
12062
|
+
) {
|
|
12063
|
+
if (null !== request.trackedPostpones) {
|
|
12064
|
+
row = request.trackedPostpones;
|
|
12065
|
+
var postponedRow = boundary.next;
|
|
12066
|
+
if (
|
|
12067
|
+
null !== postponedRow &&
|
|
12068
|
+
((segment = postponedRow.boundaries), null !== segment)
|
|
12069
|
+
)
|
|
12070
|
+
for (
|
|
12071
|
+
postponedRow.boundaries = null, postponedRow = 0;
|
|
12072
|
+
postponedRow < segment.length;
|
|
12073
|
+
postponedRow++
|
|
12074
|
+
) {
|
|
12075
|
+
var postponedBoundary = segment[postponedRow];
|
|
12076
|
+
trackPostponedBoundary(request, row, postponedBoundary);
|
|
12077
|
+
finishedTask(request, postponedBoundary, null, null);
|
|
12078
|
+
}
|
|
12079
|
+
}
|
|
12080
|
+
0 === --boundary.pendingTasks &&
|
|
12081
|
+
finishSuspenseListRow(request, boundary);
|
|
12082
|
+
}
|
|
12083
|
+
}
|
|
12084
|
+
else
|
|
12085
|
+
null !== segment &&
|
|
12086
|
+
segment.parentFlushed &&
|
|
12087
|
+
1 === segment.status &&
|
|
12088
|
+
(queueCompletedSegment(boundary, segment),
|
|
12089
|
+
1 === boundary.completedSegments.length &&
|
|
12090
|
+
boundary.parentFlushed &&
|
|
12091
|
+
request.partialBoundaries.push(boundary)),
|
|
12092
|
+
(boundary = boundary.row),
|
|
12093
|
+
null !== boundary &&
|
|
12094
|
+
boundary.together &&
|
|
12095
|
+
tryToResolveTogetherRow(request, boundary);
|
|
12069
12096
|
0 === request.allPendingTasks && completeAll(request);
|
|
12070
12097
|
}
|
|
12071
12098
|
function performWork(request$jscomp$1) {
|
|
@@ -12589,13 +12616,13 @@
|
|
|
12589
12616
|
0 === (completedSegments.instructions & 2) &&
|
|
12590
12617
|
((completedSegments.instructions |= 2),
|
|
12591
12618
|
destination.push(
|
|
12592
|
-
'$RB=[];$RV=function(){$RT=performance.now();
|
|
12619
|
+
'$RB=[];$RV=function(c){$RT=performance.now();for(var a=0;a<c.length;a+=2){var b=c[a],h=c[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var d=b.data;if("/$"===d||"/&"===d)if(0===g)break;else g--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||g++}d=b.nextSibling;e.removeChild(b);b=d}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}c.length=0};$RC=function(c,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),c=document.getElementById(c))c.previousSibling.data="$~",$RB.push(c,a),2===$RB.length&&setTimeout($RV.bind(null,$RB),("number"!==typeof $RT?0:$RT)+300-performance.now())};'
|
|
12593
12620
|
)),
|
|
12594
12621
|
requiresViewTransitions &&
|
|
12595
12622
|
0 === (completedSegments.instructions & 256) &&
|
|
12596
12623
|
((completedSegments.instructions |= 256),
|
|
12597
12624
|
destination.push(
|
|
12598
|
-
|
|
12625
|
+
'$RV=function(w,f){function h(b,d){var k=b.getAttribute(d);k&&(d=b.style,l.push(b,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(b=b.getAttribute("vt-name"))||(b="\\u00abT"+F++ +"\\u00bb"),d.viewTransitionName=b,x=!0)}var x=!1,F=0,l=[];try{var e=document.__reactViewTransition;if(e){e.finished.finally($RV.bind(null,f));return}var m=new Map;for(e=1;e<f.length;e+=2)for(var g=f[e].querySelectorAll("[vt-share]"),c=0;c<g.length;c++){var a=g[c];m.set(a.getAttribute("vt-name"),a)}for(g=0;g<f.length;g+=2){var y=f[g],t=y.parentNode;if(t){var r=t.getBoundingClientRect();if(r.left||r.top||r.width||r.height){a=y;for(e=0;a;){if(8===a.nodeType){var p=a.data;if("/$"===p)if(0===e)break;else e--;else"$"!==p&&"$?"!==p&&"$~"!==p&&"$!"!==p||e++}else if(1===a.nodeType){c=a;var z=c.getAttribute("vt-name"),u=m.get(z);h(c,u?"vt-share":"vt-exit");u&&(h(u,"vt-share"),m.set(z,null));var A=c.querySelectorAll("[vt-share]");for(c=0;c<A.length;c++){var B=A[c],C=B.getAttribute("vt-name"),D=m.get(C);\nD&&(h(B,"vt-share"),h(D,"vt-share"),m.set(C,null))}}a=a.nextSibling}for(var q=f[g+1].firstElementChild;q;)null!==m.get(q.getAttribute("vt-name"))&&h(q,"vt-enter"),q=q.nextElementSibling;a=t;do for(var n=a.firstElementChild;n;){var E=n.getAttribute("vt-update");E&&"none"!==E&&!l.includes(n)&&h(n,"vt-update");n=n.nextElementSibling}while((a=a.parentNode)&&1===a.nodeType&&"none"!==a.getAttribute("vt-update"))}}}if(x){var v=document.__reactViewTransition=document.startViewTransition({update:w.bind(null,\nf),types:[]});v.ready.finally(function(){for(var b=l.length-3;0<=b;b-=3){var d=l[b],k=d.style;k.viewTransitionName=l[b+1];k.viewTransitionClass=l[b+1];""===d.getAttribute("style")&&d.removeAttribute("style")}});v.finished.finally(function(){document.__reactViewTransition===v&&(document.__reactViewTransition=null)});$RB=[];return}}catch(b){}w(f)}.bind(null,$RV);'
|
|
12599
12626
|
)),
|
|
12600
12627
|
0 === (completedSegments.instructions & 8)
|
|
12601
12628
|
? ((completedSegments.instructions |= 8),
|
|
@@ -12606,13 +12633,13 @@
|
|
|
12606
12633
|
: (0 === (completedSegments.instructions & 2) &&
|
|
12607
12634
|
((completedSegments.instructions |= 2),
|
|
12608
12635
|
destination.push(
|
|
12609
|
-
'$RB=[];$RV=function(){$RT=performance.now();
|
|
12636
|
+
'$RB=[];$RV=function(c){$RT=performance.now();for(var a=0;a<c.length;a+=2){var b=c[a],h=c[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var d=b.data;if("/$"===d||"/&"===d)if(0===g)break;else g--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||g++}d=b.nextSibling;e.removeChild(b);b=d}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}c.length=0};$RC=function(c,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),c=document.getElementById(c))c.previousSibling.data="$~",$RB.push(c,a),2===$RB.length&&setTimeout($RV.bind(null,$RB),("number"!==typeof $RT?0:$RT)+300-performance.now())};'
|
|
12610
12637
|
)),
|
|
12611
12638
|
requiresViewTransitions &&
|
|
12612
12639
|
0 === (completedSegments.instructions & 256) &&
|
|
12613
12640
|
((completedSegments.instructions |= 256),
|
|
12614
12641
|
destination.push(
|
|
12615
|
-
|
|
12642
|
+
'$RV=function(w,f){function h(b,d){var k=b.getAttribute(d);k&&(d=b.style,l.push(b,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(b=b.getAttribute("vt-name"))||(b="\\u00abT"+F++ +"\\u00bb"),d.viewTransitionName=b,x=!0)}var x=!1,F=0,l=[];try{var e=document.__reactViewTransition;if(e){e.finished.finally($RV.bind(null,f));return}var m=new Map;for(e=1;e<f.length;e+=2)for(var g=f[e].querySelectorAll("[vt-share]"),c=0;c<g.length;c++){var a=g[c];m.set(a.getAttribute("vt-name"),a)}for(g=0;g<f.length;g+=2){var y=f[g],t=y.parentNode;if(t){var r=t.getBoundingClientRect();if(r.left||r.top||r.width||r.height){a=y;for(e=0;a;){if(8===a.nodeType){var p=a.data;if("/$"===p)if(0===e)break;else e--;else"$"!==p&&"$?"!==p&&"$~"!==p&&"$!"!==p||e++}else if(1===a.nodeType){c=a;var z=c.getAttribute("vt-name"),u=m.get(z);h(c,u?"vt-share":"vt-exit");u&&(h(u,"vt-share"),m.set(z,null));var A=c.querySelectorAll("[vt-share]");for(c=0;c<A.length;c++){var B=A[c],C=B.getAttribute("vt-name"),D=m.get(C);\nD&&(h(B,"vt-share"),h(D,"vt-share"),m.set(C,null))}}a=a.nextSibling}for(var q=f[g+1].firstElementChild;q;)null!==m.get(q.getAttribute("vt-name"))&&h(q,"vt-enter"),q=q.nextElementSibling;a=t;do for(var n=a.firstElementChild;n;){var E=n.getAttribute("vt-update");E&&"none"!==E&&!l.includes(n)&&h(n,"vt-update");n=n.nextElementSibling}while((a=a.parentNode)&&1===a.nodeType&&"none"!==a.getAttribute("vt-update"))}}}if(x){var v=document.__reactViewTransition=document.startViewTransition({update:w.bind(null,\nf),types:[]});v.ready.finally(function(){for(var b=l.length-3;0<=b;b-=3){var d=l[b],k=d.style;k.viewTransitionName=l[b+1];k.viewTransitionClass=l[b+1];""===d.getAttribute("style")&&d.removeAttribute("style")}});v.finished.finally(function(){document.__reactViewTransition===v&&(document.__reactViewTransition=null)});$RB=[];return}}catch(b){}w(f)}.bind(null,$RV);'
|
|
12616
12643
|
)),
|
|
12617
12644
|
destination.push('$RC("')))
|
|
12618
12645
|
: requiresStyleInsertion
|
|
@@ -14578,5 +14605,5 @@
|
|
|
14578
14605
|
});
|
|
14579
14606
|
});
|
|
14580
14607
|
};
|
|
14581
|
-
exports.version = "19.2.0-experimental-
|
|
14608
|
+
exports.version = "19.2.0-experimental-99efc627-20250523";
|
|
14582
14609
|
})();
|