react-markup 0.0.0-experimental-4a45ba92-20250515 → 0.0.0-experimental-462d08f9-20250517

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.
@@ -1087,7 +1087,8 @@
1087
1087
  nameIdx: 0
1088
1088
  };
1089
1089
  }
1090
- function getSuspenseFallbackFormatContext(parentContext) {
1090
+ function getSuspenseFallbackFormatContext(resumableState, parentContext) {
1091
+ parentContext.tagScope & 32 && (resumableState.instructions |= 128);
1091
1092
  return createFormatContext(
1092
1093
  parentContext.insertionMode,
1093
1094
  parentContext.selectedValue,
@@ -1095,7 +1096,7 @@
1095
1096
  getSuspenseViewTransition(parentContext.viewTransition)
1096
1097
  );
1097
1098
  }
1098
- function getSuspenseContentFormatContext(parentContext) {
1099
+ function getSuspenseContentFormatContext(resumableState, parentContext) {
1099
1100
  return createFormatContext(
1100
1101
  parentContext.insertionMode,
1101
1102
  parentContext.selectedValue,
@@ -5633,8 +5634,10 @@
5633
5634
  var _prevKeyPath = task.keyPath,
5634
5635
  _prevContext = task.formatContext;
5635
5636
  task.keyPath = keyPath;
5636
- task.formatContext =
5637
- getSuspenseContentFormatContext(_prevContext);
5637
+ task.formatContext = getSuspenseContentFormatContext(
5638
+ request.resumableState,
5639
+ _prevContext
5640
+ );
5638
5641
  var _content = props.children;
5639
5642
  try {
5640
5643
  renderNode(request, task, _content, -1);
@@ -5707,8 +5710,10 @@
5707
5710
  task.blockedSegment = boundarySegment;
5708
5711
  task.blockedPreamble = newBoundary.fallbackPreamble;
5709
5712
  task.keyPath = fallbackKeyPath;
5710
- task.formatContext =
5711
- getSuspenseFallbackFormatContext(prevContext$jscomp$1);
5713
+ task.formatContext = getSuspenseFallbackFormatContext(
5714
+ request.resumableState,
5715
+ prevContext$jscomp$1
5716
+ );
5712
5717
  boundarySegment.status = 6;
5713
5718
  try {
5714
5719
  renderNode(request, task, fallback, -1),
@@ -5735,7 +5740,10 @@
5735
5740
  newBoundary.contentState,
5736
5741
  task.abortSet,
5737
5742
  keyPath,
5738
- getSuspenseContentFormatContext(task.formatContext),
5743
+ getSuspenseContentFormatContext(
5744
+ request.resumableState,
5745
+ task.formatContext
5746
+ ),
5739
5747
  task.context,
5740
5748
  task.treeContext,
5741
5749
  task.componentStack,
@@ -5750,8 +5758,10 @@
5750
5758
  task.hoistableState = newBoundary.contentState;
5751
5759
  task.blockedSegment = contentRootSegment;
5752
5760
  task.keyPath = keyPath;
5753
- task.formatContext =
5754
- getSuspenseContentFormatContext(prevContext$jscomp$1);
5761
+ task.formatContext = getSuspenseContentFormatContext(
5762
+ request.resumableState,
5763
+ prevContext$jscomp$1
5764
+ );
5755
5765
  contentRootSegment.status = 6;
5756
5766
  try {
5757
5767
  if (
@@ -5821,7 +5831,10 @@
5821
5831
  newBoundary.fallbackState,
5822
5832
  fallbackAbortSet,
5823
5833
  [keyPath[0], "Suspense Fallback", keyPath[2]],
5824
- getSuspenseFallbackFormatContext(task.formatContext),
5834
+ getSuspenseFallbackFormatContext(
5835
+ request.resumableState,
5836
+ task.formatContext
5837
+ ),
5825
5838
  task.context,
5826
5839
  task.treeContext,
5827
5840
  task.componentStack,
@@ -6078,7 +6091,10 @@
6078
6091
  task.blockedBoundary = props;
6079
6092
  task.hoistableState = props.contentState;
6080
6093
  task.keyPath = keyPath;
6081
- task.formatContext = getSuspenseContentFormatContext(prevContext);
6094
+ task.formatContext = getSuspenseContentFormatContext(
6095
+ request.resumableState,
6096
+ prevContext
6097
+ );
6082
6098
  task.replay = { nodes: ref, slots: name, pendingTasks: 1 };
6083
6099
  try {
6084
6100
  renderNode(request, task, content, -1);
@@ -6134,7 +6150,10 @@
6134
6150
  props.fallbackState,
6135
6151
  fallbackAbortSet,
6136
6152
  [keyPath[0], "Suspense Fallback", keyPath[2]],
6137
- getSuspenseFallbackFormatContext(task.formatContext),
6153
+ getSuspenseFallbackFormatContext(
6154
+ request.resumableState,
6155
+ task.formatContext
6156
+ ),
6138
6157
  task.context,
6139
6158
  task.treeContext,
6140
6159
  task.componentStack,
@@ -7130,6 +7149,7 @@
7130
7149
  } else boundary.completedSegments.push(segment);
7131
7150
  }
7132
7151
  function finishedTask(request, boundary, segment) {
7152
+ request.allPendingTasks--;
7133
7153
  if (null === boundary) {
7134
7154
  if (null !== segment && segment.parentFlushed) {
7135
7155
  if (null !== request.completedRootSegment)
@@ -7169,7 +7189,6 @@
7169
7189
  1 === boundary.completedSegments.length &&
7170
7190
  boundary.parentFlushed &&
7171
7191
  request.partialBoundaries.push(boundary)));
7172
- request.allPendingTasks--;
7173
7192
  0 === request.allPendingTasks && completeAll(request);
7174
7193
  }
7175
7194
  function performWork(request$jscomp$1) {
@@ -7652,7 +7671,8 @@
7652
7671
  request = request.renderState;
7653
7672
  i = boundary.rootSegmentID;
7654
7673
  boundary = boundary.contentState;
7655
- var requiresStyleInsertion = request.stylesToHoist;
7674
+ var requiresStyleInsertion = request.stylesToHoist,
7675
+ requiresViewTransitions = 0 !== (completedSegments.instructions & 128);
7656
7676
  request.stylesToHoist = !1;
7657
7677
  var scriptFormat = 0 === completedSegments.streamingFormat;
7658
7678
  scriptFormat
@@ -7665,7 +7685,13 @@
7665
7685
  0 === (completedSegments.instructions & 2) &&
7666
7686
  ((completedSegments.instructions |= 2),
7667
7687
  destination.push(
7668
- '$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())};'
7688
+ '$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
7689
+ )),
7690
+ requiresViewTransitions &&
7691
+ 0 === (completedSegments.instructions & 256) &&
7692
+ ((completedSegments.instructions |= 256),
7693
+ destination.push(
7694
+ "$RV=function(a){try{var b=document.__reactViewTransition;if(b){b.finished.then($RV,$RV);return}if(window._useVT){var c=document.__reactViewTransition=document.startViewTransition({update:a,types:[]});c.finished.finally(function(){document.__reactViewTransition===c&&(document.__reactViewTransition=null)});return}}catch(d){}a()}.bind(null,$RV);"
7669
7695
  )),
7670
7696
  0 === (completedSegments.instructions & 8)
7671
7697
  ? ((completedSegments.instructions |= 8),
@@ -7673,12 +7699,18 @@
7673
7699
  '$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("'
7674
7700
  ))
7675
7701
  : destination.push('$RR("'))
7676
- : 0 === (completedSegments.instructions & 2)
7677
- ? ((completedSegments.instructions |= 2),
7702
+ : (0 === (completedSegments.instructions & 2) &&
7703
+ ((completedSegments.instructions |= 2),
7678
7704
  destination.push(
7679
- '$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("'
7680
- ))
7681
- : destination.push('$RC("'))
7705
+ '$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
7706
+ )),
7707
+ requiresViewTransitions &&
7708
+ 0 === (completedSegments.instructions & 256) &&
7709
+ ((completedSegments.instructions |= 256),
7710
+ destination.push(
7711
+ "$RV=function(a){try{var b=document.__reactViewTransition;if(b){b.finished.then($RV,$RV);return}if(window._useVT){var c=document.__reactViewTransition=document.startViewTransition({update:a,types:[]});c.finished.finally(function(){document.__reactViewTransition===c&&(document.__reactViewTransition=null)});return}}catch(d){}a()}.bind(null,$RV);"
7712
+ )),
7713
+ destination.push('$RC("')))
7682
7714
  : requiresStyleInsertion
7683
7715
  ? destination.push('<template data-rri="" data-bid="')
7684
7716
  : destination.push('<template data-rci="" data-bid="');
@@ -7699,12 +7731,11 @@
7699
7731
  ? destination.push(")\x3c/script>")
7700
7732
  : destination.push('"></template>');
7701
7733
  request = request.bootstrapChunks;
7702
- for (boundary = 0; boundary < request.length - 1; boundary++)
7703
- destination.push(request[boundary]);
7704
- boundary < request.length
7705
- ? ((boundary = request[boundary]),
7734
+ for (i = 0; i < request.length - 1; i++) destination.push(request[i]);
7735
+ i < request.length
7736
+ ? ((i = request[i]),
7706
7737
  (request.length = 0),
7707
- (destination = destination.push(boundary)))
7738
+ (destination = destination.push(i)))
7708
7739
  : (destination = !0);
7709
7740
  return destination && completedSegments;
7710
7741
  }
@@ -9172,5 +9203,5 @@
9172
9203
  });
9173
9204
  });
9174
9205
  };
9175
- exports.version = "19.2.0-experimental-4a45ba92-20250515";
9206
+ exports.version = "19.2.0-experimental-462d08f9-20250517";
9176
9207
  })();
@@ -610,7 +610,8 @@ function getSuspenseViewTransition(parentViewTransition) {
610
610
  nameIdx: 0
611
611
  };
612
612
  }
613
- function getSuspenseFallbackFormatContext(parentContext) {
613
+ function getSuspenseFallbackFormatContext(resumableState, parentContext) {
614
+ parentContext.tagScope & 32 && (resumableState.instructions |= 128);
614
615
  return createFormatContext(
615
616
  parentContext.insertionMode,
616
617
  parentContext.selectedValue,
@@ -618,7 +619,7 @@ function getSuspenseFallbackFormatContext(parentContext) {
618
619
  getSuspenseViewTransition(parentContext.viewTransition)
619
620
  );
620
621
  }
621
- function getSuspenseContentFormatContext(parentContext) {
622
+ function getSuspenseContentFormatContext(resumableState, parentContext) {
622
623
  return createFormatContext(
623
624
  parentContext.insertionMode,
624
625
  parentContext.selectedValue,
@@ -4144,7 +4145,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
4144
4145
  var prevKeyPath$16 = task.keyPath,
4145
4146
  prevContext$17 = task.formatContext;
4146
4147
  task.keyPath = keyPath;
4147
- task.formatContext = getSuspenseContentFormatContext(prevContext$17);
4148
+ task.formatContext = getSuspenseContentFormatContext(
4149
+ request.resumableState,
4150
+ prevContext$17
4151
+ );
4148
4152
  var content$18 = props.children;
4149
4153
  try {
4150
4154
  renderNode(request, task, content$18, -1);
@@ -4208,8 +4212,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
4208
4212
  task.blockedSegment = boundarySegment;
4209
4213
  task.blockedPreamble = newBoundary.fallbackPreamble;
4210
4214
  task.keyPath = fallbackKeyPath;
4211
- task.formatContext =
4212
- getSuspenseFallbackFormatContext(prevContext$jscomp$1);
4215
+ task.formatContext = getSuspenseFallbackFormatContext(
4216
+ request.resumableState,
4217
+ prevContext$jscomp$1
4218
+ );
4213
4219
  boundarySegment.status = 6;
4214
4220
  try {
4215
4221
  renderNode(request, task, fallback, -1),
@@ -4236,7 +4242,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
4236
4242
  newBoundary.contentState,
4237
4243
  task.abortSet,
4238
4244
  keyPath,
4239
- getSuspenseContentFormatContext(task.formatContext),
4245
+ getSuspenseContentFormatContext(
4246
+ request.resumableState,
4247
+ task.formatContext
4248
+ ),
4240
4249
  task.context,
4241
4250
  task.treeContext,
4242
4251
  task.componentStack
@@ -4249,8 +4258,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
4249
4258
  task.hoistableState = newBoundary.contentState;
4250
4259
  task.blockedSegment = contentRootSegment;
4251
4260
  task.keyPath = keyPath;
4252
- task.formatContext =
4253
- getSuspenseContentFormatContext(prevContext$jscomp$1);
4261
+ task.formatContext = getSuspenseContentFormatContext(
4262
+ request.resumableState,
4263
+ prevContext$jscomp$1
4264
+ );
4254
4265
  contentRootSegment.status = 6;
4255
4266
  try {
4256
4267
  if (
@@ -4303,7 +4314,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
4303
4314
  newBoundary.fallbackState,
4304
4315
  fallbackAbortSet,
4305
4316
  [keyPath[0], "Suspense Fallback", keyPath[2]],
4306
- getSuspenseFallbackFormatContext(task.formatContext),
4317
+ getSuspenseFallbackFormatContext(
4318
+ request.resumableState,
4319
+ task.formatContext
4320
+ ),
4307
4321
  task.context,
4308
4322
  task.treeContext,
4309
4323
  task.componentStack
@@ -4547,8 +4561,10 @@ function retryNode(request, task) {
4547
4561
  task.blockedBoundary = props;
4548
4562
  task.hoistableState = props.contentState;
4549
4563
  task.keyPath = key;
4550
- task.formatContext =
4551
- getSuspenseContentFormatContext(prevContext);
4564
+ task.formatContext = getSuspenseContentFormatContext(
4565
+ request.resumableState,
4566
+ prevContext
4567
+ );
4552
4568
  task.replay = {
4553
4569
  nodes: replay,
4554
4570
  slots: name,
@@ -4606,7 +4622,10 @@ function retryNode(request, task) {
4606
4622
  props.fallbackState,
4607
4623
  fallbackAbortSet,
4608
4624
  [key[0], "Suspense Fallback", key[2]],
4609
- getSuspenseFallbackFormatContext(task.formatContext),
4625
+ getSuspenseFallbackFormatContext(
4626
+ request.resumableState,
4627
+ task.formatContext
4628
+ ),
4610
4629
  task.context,
4611
4630
  task.treeContext,
4612
4631
  task.componentStack
@@ -5342,6 +5361,7 @@ function queueCompletedSegment(boundary, segment) {
5342
5361
  } else boundary.completedSegments.push(segment);
5343
5362
  }
5344
5363
  function finishedTask(request, boundary, segment) {
5364
+ request.allPendingTasks--;
5345
5365
  if (null === boundary) {
5346
5366
  if (null !== segment && segment.parentFlushed) {
5347
5367
  if (null !== request.completedRootSegment)
@@ -5381,7 +5401,6 @@ function finishedTask(request, boundary, segment) {
5381
5401
  1 === boundary.completedSegments.length &&
5382
5402
  boundary.parentFlushed &&
5383
5403
  request.partialBoundaries.push(boundary)));
5384
- request.allPendingTasks--;
5385
5404
  0 === request.allPendingTasks && completeAll(request);
5386
5405
  }
5387
5406
  function performWork(request$jscomp$1) {
@@ -5796,7 +5815,8 @@ function flushCompletedBoundary(request, destination, boundary) {
5796
5815
  request = request.renderState;
5797
5816
  i = boundary.rootSegmentID;
5798
5817
  boundary = boundary.contentState;
5799
- var requiresStyleInsertion = request.stylesToHoist;
5818
+ var requiresStyleInsertion = request.stylesToHoist,
5819
+ requiresViewTransitions = 0 !== (completedSegments.instructions & 128);
5800
5820
  request.stylesToHoist = !1;
5801
5821
  var scriptFormat = 0 === completedSegments.streamingFormat;
5802
5822
  scriptFormat
@@ -5811,7 +5831,13 @@ function flushCompletedBoundary(request, destination, boundary) {
5811
5831
  0 === (completedSegments.instructions & 2) &&
5812
5832
  ((completedSegments.instructions |= 2),
5813
5833
  destination.push(
5814
- '$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())};'
5834
+ '$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
5835
+ )),
5836
+ requiresViewTransitions &&
5837
+ 0 === (completedSegments.instructions & 256) &&
5838
+ ((completedSegments.instructions |= 256),
5839
+ destination.push(
5840
+ "$RV=function(a){try{var b=document.__reactViewTransition;if(b){b.finished.then($RV,$RV);return}if(window._useVT){var c=document.__reactViewTransition=document.startViewTransition({update:a,types:[]});c.finished.finally(function(){document.__reactViewTransition===c&&(document.__reactViewTransition=null)});return}}catch(d){}a()}.bind(null,$RV);"
5815
5841
  )),
5816
5842
  0 === (completedSegments.instructions & 8)
5817
5843
  ? ((completedSegments.instructions |= 8),
@@ -5819,12 +5845,18 @@ function flushCompletedBoundary(request, destination, boundary) {
5819
5845
  '$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("'
5820
5846
  ))
5821
5847
  : destination.push('$RR("'))
5822
- : 0 === (completedSegments.instructions & 2)
5823
- ? ((completedSegments.instructions |= 2),
5848
+ : (0 === (completedSegments.instructions & 2) &&
5849
+ ((completedSegments.instructions |= 2),
5824
5850
  destination.push(
5825
- '$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("'
5826
- ))
5827
- : destination.push('$RC("'))
5851
+ '$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
5852
+ )),
5853
+ requiresViewTransitions &&
5854
+ 0 === (completedSegments.instructions & 256) &&
5855
+ ((completedSegments.instructions |= 256),
5856
+ destination.push(
5857
+ "$RV=function(a){try{var b=document.__reactViewTransition;if(b){b.finished.then($RV,$RV);return}if(window._useVT){var c=document.__reactViewTransition=document.startViewTransition({update:a,types:[]});c.finished.finally(function(){document.__reactViewTransition===c&&(document.__reactViewTransition=null)});return}}catch(d){}a()}.bind(null,$RV);"
5858
+ )),
5859
+ destination.push('$RC("')))
5828
5860
  : requiresStyleInsertion
5829
5861
  ? destination.push('<template data-rri="" data-bid="')
5830
5862
  : destination.push('<template data-rci="" data-bid="');
@@ -5845,12 +5877,11 @@ function flushCompletedBoundary(request, destination, boundary) {
5845
5877
  ? destination.push(")\x3c/script>")
5846
5878
  : destination.push('"></template>');
5847
5879
  request = request.bootstrapChunks;
5848
- for (boundary = 0; boundary < request.length - 1; boundary++)
5849
- destination.push(request[boundary]);
5850
- boundary < request.length
5851
- ? ((boundary = request[boundary]),
5880
+ for (i = 0; i < request.length - 1; i++) destination.push(request[i]);
5881
+ i < request.length
5882
+ ? ((i = request[i]),
5852
5883
  (request.length = 0),
5853
- (destination = destination.push(boundary)))
5884
+ (destination = destination.push(i)))
5854
5885
  : (destination = !0);
5855
5886
  return destination && completedSegments;
5856
5887
  }
@@ -6251,4 +6282,4 @@ exports.experimental_renderToHTML = function (children, options) {
6251
6282
  });
6252
6283
  });
6253
6284
  };
6254
- exports.version = "19.2.0-experimental-4a45ba92-20250515";
6285
+ exports.version = "19.2.0-experimental-462d08f9-20250517";
@@ -5927,7 +5927,8 @@
5927
5927
  nameIdx: 0
5928
5928
  };
5929
5929
  }
5930
- function getSuspenseFallbackFormatContext(parentContext) {
5930
+ function getSuspenseFallbackFormatContext(resumableState, parentContext) {
5931
+ parentContext.tagScope & 32 && (resumableState.instructions |= 128);
5931
5932
  return createFormatContext(
5932
5933
  parentContext.insertionMode,
5933
5934
  parentContext.selectedValue,
@@ -5935,7 +5936,7 @@
5935
5936
  getSuspenseViewTransition(parentContext.viewTransition)
5936
5937
  );
5937
5938
  }
5938
- function getSuspenseContentFormatContext(parentContext) {
5939
+ function getSuspenseContentFormatContext(resumableState, parentContext) {
5939
5940
  return createFormatContext(
5940
5941
  parentContext.insertionMode,
5941
5942
  parentContext.selectedValue,
@@ -10150,8 +10151,10 @@
10150
10151
  var _prevKeyPath = task.keyPath,
10151
10152
  _prevContext = task.formatContext;
10152
10153
  task.keyPath = keyPath;
10153
- task.formatContext =
10154
- getSuspenseContentFormatContext(_prevContext);
10154
+ task.formatContext = getSuspenseContentFormatContext(
10155
+ request.resumableState,
10156
+ _prevContext
10157
+ );
10155
10158
  var _content = props.children;
10156
10159
  try {
10157
10160
  renderNode(request, task, _content, -1);
@@ -10224,8 +10227,10 @@
10224
10227
  task.blockedSegment = boundarySegment;
10225
10228
  task.blockedPreamble = newBoundary.fallbackPreamble;
10226
10229
  task.keyPath = fallbackKeyPath;
10227
- task.formatContext =
10228
- getSuspenseFallbackFormatContext(prevContext$jscomp$1);
10230
+ task.formatContext = getSuspenseFallbackFormatContext(
10231
+ request.resumableState,
10232
+ prevContext$jscomp$1
10233
+ );
10229
10234
  boundarySegment.status = 6;
10230
10235
  try {
10231
10236
  renderNode(request, task, fallback, -1),
@@ -10252,7 +10257,10 @@
10252
10257
  newBoundary.contentState,
10253
10258
  task.abortSet,
10254
10259
  keyPath,
10255
- getSuspenseContentFormatContext(task.formatContext),
10260
+ getSuspenseContentFormatContext(
10261
+ request.resumableState,
10262
+ task.formatContext
10263
+ ),
10256
10264
  task.context,
10257
10265
  task.treeContext,
10258
10266
  task.componentStack,
@@ -10267,8 +10275,10 @@
10267
10275
  task.hoistableState = newBoundary.contentState;
10268
10276
  task.blockedSegment = contentRootSegment;
10269
10277
  task.keyPath = keyPath;
10270
- task.formatContext =
10271
- getSuspenseContentFormatContext(prevContext$jscomp$1);
10278
+ task.formatContext = getSuspenseContentFormatContext(
10279
+ request.resumableState,
10280
+ prevContext$jscomp$1
10281
+ );
10272
10282
  contentRootSegment.status = 6;
10273
10283
  try {
10274
10284
  if (
@@ -10338,7 +10348,10 @@
10338
10348
  newBoundary.fallbackState,
10339
10349
  fallbackAbortSet,
10340
10350
  [keyPath[0], "Suspense Fallback", keyPath[2]],
10341
- getSuspenseFallbackFormatContext(task.formatContext),
10351
+ getSuspenseFallbackFormatContext(
10352
+ request.resumableState,
10353
+ task.formatContext
10354
+ ),
10342
10355
  task.context,
10343
10356
  task.treeContext,
10344
10357
  task.componentStack,
@@ -10595,7 +10608,10 @@
10595
10608
  task.blockedBoundary = props;
10596
10609
  task.hoistableState = props.contentState;
10597
10610
  task.keyPath = keyPath;
10598
- task.formatContext = getSuspenseContentFormatContext(prevContext);
10611
+ task.formatContext = getSuspenseContentFormatContext(
10612
+ request.resumableState,
10613
+ prevContext
10614
+ );
10599
10615
  task.replay = { nodes: ref, slots: name, pendingTasks: 1 };
10600
10616
  try {
10601
10617
  renderNode(request, task, content, -1);
@@ -10651,7 +10667,10 @@
10651
10667
  props.fallbackState,
10652
10668
  fallbackAbortSet,
10653
10669
  [keyPath[0], "Suspense Fallback", keyPath[2]],
10654
- getSuspenseFallbackFormatContext(task.formatContext),
10670
+ getSuspenseFallbackFormatContext(
10671
+ request.resumableState,
10672
+ task.formatContext
10673
+ ),
10655
10674
  task.context,
10656
10675
  task.treeContext,
10657
10676
  task.componentStack,
@@ -11642,6 +11661,7 @@
11642
11661
  } else boundary.completedSegments.push(segment);
11643
11662
  }
11644
11663
  function finishedTask(request, boundary, segment) {
11664
+ request.allPendingTasks--;
11645
11665
  if (null === boundary) {
11646
11666
  if (null !== segment && segment.parentFlushed) {
11647
11667
  if (null !== request.completedRootSegment)
@@ -11681,7 +11701,6 @@
11681
11701
  1 === boundary.completedSegments.length &&
11682
11702
  boundary.parentFlushed &&
11683
11703
  request.partialBoundaries.push(boundary)));
11684
- request.allPendingTasks--;
11685
11704
  0 === request.allPendingTasks && completeAll(request);
11686
11705
  }
11687
11706
  function performWork(request$jscomp$1) {
@@ -12164,7 +12183,8 @@
12164
12183
  request = request.renderState;
12165
12184
  i = boundary.rootSegmentID;
12166
12185
  boundary = boundary.contentState;
12167
- var requiresStyleInsertion = request.stylesToHoist;
12186
+ var requiresStyleInsertion = request.stylesToHoist,
12187
+ requiresViewTransitions = 0 !== (completedSegments.instructions & 128);
12168
12188
  request.stylesToHoist = !1;
12169
12189
  var scriptFormat = 0 === completedSegments.streamingFormat;
12170
12190
  scriptFormat
@@ -12177,7 +12197,13 @@
12177
12197
  0 === (completedSegments.instructions & 2) &&
12178
12198
  ((completedSegments.instructions |= 2),
12179
12199
  destination.push(
12180
- '$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())};'
12200
+ '$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
12201
+ )),
12202
+ requiresViewTransitions &&
12203
+ 0 === (completedSegments.instructions & 256) &&
12204
+ ((completedSegments.instructions |= 256),
12205
+ destination.push(
12206
+ "$RV=function(a){try{var b=document.__reactViewTransition;if(b){b.finished.then($RV,$RV);return}if(window._useVT){var c=document.__reactViewTransition=document.startViewTransition({update:a,types:[]});c.finished.finally(function(){document.__reactViewTransition===c&&(document.__reactViewTransition=null)});return}}catch(d){}a()}.bind(null,$RV);"
12181
12207
  )),
12182
12208
  0 === (completedSegments.instructions & 8)
12183
12209
  ? ((completedSegments.instructions |= 8),
@@ -12185,12 +12211,18 @@
12185
12211
  '$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("'
12186
12212
  ))
12187
12213
  : destination.push('$RR("'))
12188
- : 0 === (completedSegments.instructions & 2)
12189
- ? ((completedSegments.instructions |= 2),
12214
+ : (0 === (completedSegments.instructions & 2) &&
12215
+ ((completedSegments.instructions |= 2),
12190
12216
  destination.push(
12191
- '$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("'
12192
- ))
12193
- : destination.push('$RC("'))
12217
+ '$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
12218
+ )),
12219
+ requiresViewTransitions &&
12220
+ 0 === (completedSegments.instructions & 256) &&
12221
+ ((completedSegments.instructions |= 256),
12222
+ destination.push(
12223
+ "$RV=function(a){try{var b=document.__reactViewTransition;if(b){b.finished.then($RV,$RV);return}if(window._useVT){var c=document.__reactViewTransition=document.startViewTransition({update:a,types:[]});c.finished.finally(function(){document.__reactViewTransition===c&&(document.__reactViewTransition=null)});return}}catch(d){}a()}.bind(null,$RV);"
12224
+ )),
12225
+ destination.push('$RC("')))
12194
12226
  : requiresStyleInsertion
12195
12227
  ? destination.push('<template data-rri="" data-bid="')
12196
12228
  : destination.push('<template data-rci="" data-bid="');
@@ -12211,12 +12243,11 @@
12211
12243
  ? destination.push(")\x3c/script>")
12212
12244
  : destination.push('"></template>');
12213
12245
  request = request.bootstrapChunks;
12214
- for (boundary = 0; boundary < request.length - 1; boundary++)
12215
- destination.push(request[boundary]);
12216
- boundary < request.length
12217
- ? ((boundary = request[boundary]),
12246
+ for (i = 0; i < request.length - 1; i++) destination.push(request[i]);
12247
+ i < request.length
12248
+ ? ((i = request[i]),
12218
12249
  (request.length = 0),
12219
- (destination = destination.push(boundary)))
12250
+ (destination = destination.push(i)))
12220
12251
  : (destination = !0);
12221
12252
  return destination && completedSegments;
12222
12253
  }
@@ -14143,5 +14174,5 @@
14143
14174
  });
14144
14175
  });
14145
14176
  };
14146
- exports.version = "19.2.0-experimental-4a45ba92-20250515";
14177
+ exports.version = "19.2.0-experimental-462d08f9-20250517";
14147
14178
  })();
@@ -3559,7 +3559,8 @@ function getSuspenseViewTransition(parentViewTransition) {
3559
3559
  nameIdx: 0
3560
3560
  };
3561
3561
  }
3562
- function getSuspenseFallbackFormatContext(parentContext) {
3562
+ function getSuspenseFallbackFormatContext(resumableState, parentContext) {
3563
+ parentContext.tagScope & 32 && (resumableState.instructions |= 128);
3563
3564
  return createFormatContext(
3564
3565
  parentContext.insertionMode,
3565
3566
  parentContext.selectedValue,
@@ -3567,7 +3568,7 @@ function getSuspenseFallbackFormatContext(parentContext) {
3567
3568
  getSuspenseViewTransition(parentContext.viewTransition)
3568
3569
  );
3569
3570
  }
3570
- function getSuspenseContentFormatContext(parentContext) {
3571
+ function getSuspenseContentFormatContext(resumableState, parentContext) {
3571
3572
  return createFormatContext(
3572
3573
  parentContext.insertionMode,
3573
3574
  parentContext.selectedValue,
@@ -6880,7 +6881,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
6880
6881
  var prevKeyPath$81 = task.keyPath,
6881
6882
  prevContext$82 = task.formatContext;
6882
6883
  task.keyPath = keyPath;
6883
- task.formatContext = getSuspenseContentFormatContext(prevContext$82);
6884
+ task.formatContext = getSuspenseContentFormatContext(
6885
+ request.resumableState,
6886
+ prevContext$82
6887
+ );
6884
6888
  var content$83 = props.children;
6885
6889
  try {
6886
6890
  renderNode(request, task, content$83, -1);
@@ -6944,8 +6948,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
6944
6948
  task.blockedSegment = boundarySegment;
6945
6949
  task.blockedPreamble = newBoundary.fallbackPreamble;
6946
6950
  task.keyPath = fallbackKeyPath;
6947
- task.formatContext =
6948
- getSuspenseFallbackFormatContext(prevContext$jscomp$1);
6951
+ task.formatContext = getSuspenseFallbackFormatContext(
6952
+ request.resumableState,
6953
+ prevContext$jscomp$1
6954
+ );
6949
6955
  boundarySegment.status = 6;
6950
6956
  try {
6951
6957
  renderNode(request, task, fallback, -1),
@@ -6972,7 +6978,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
6972
6978
  newBoundary.contentState,
6973
6979
  task.abortSet,
6974
6980
  keyPath,
6975
- getSuspenseContentFormatContext(task.formatContext),
6981
+ getSuspenseContentFormatContext(
6982
+ request.resumableState,
6983
+ task.formatContext
6984
+ ),
6976
6985
  task.context,
6977
6986
  task.treeContext,
6978
6987
  task.componentStack
@@ -6985,8 +6994,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
6985
6994
  task.hoistableState = newBoundary.contentState;
6986
6995
  task.blockedSegment = contentRootSegment;
6987
6996
  task.keyPath = keyPath;
6988
- task.formatContext =
6989
- getSuspenseContentFormatContext(prevContext$jscomp$1);
6997
+ task.formatContext = getSuspenseContentFormatContext(
6998
+ request.resumableState,
6999
+ prevContext$jscomp$1
7000
+ );
6990
7001
  contentRootSegment.status = 6;
6991
7002
  try {
6992
7003
  if (
@@ -7039,7 +7050,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
7039
7050
  newBoundary.fallbackState,
7040
7051
  fallbackAbortSet,
7041
7052
  [keyPath[0], "Suspense Fallback", keyPath[2]],
7042
- getSuspenseFallbackFormatContext(task.formatContext),
7053
+ getSuspenseFallbackFormatContext(
7054
+ request.resumableState,
7055
+ task.formatContext
7056
+ ),
7043
7057
  task.context,
7044
7058
  task.treeContext,
7045
7059
  task.componentStack
@@ -7283,8 +7297,10 @@ function retryNode(request, task) {
7283
7297
  task.blockedBoundary = props;
7284
7298
  task.hoistableState = props.contentState;
7285
7299
  task.keyPath = key;
7286
- task.formatContext =
7287
- getSuspenseContentFormatContext(prevContext);
7300
+ task.formatContext = getSuspenseContentFormatContext(
7301
+ request.resumableState,
7302
+ prevContext
7303
+ );
7288
7304
  task.replay = {
7289
7305
  nodes: replay,
7290
7306
  slots: name,
@@ -7342,7 +7358,10 @@ function retryNode(request, task) {
7342
7358
  props.fallbackState,
7343
7359
  fallbackAbortSet,
7344
7360
  [key[0], "Suspense Fallback", key[2]],
7345
- getSuspenseFallbackFormatContext(task.formatContext),
7361
+ getSuspenseFallbackFormatContext(
7362
+ request.resumableState,
7363
+ task.formatContext
7364
+ ),
7346
7365
  task.context,
7347
7366
  task.treeContext,
7348
7367
  task.componentStack
@@ -8073,6 +8092,7 @@ function queueCompletedSegment(boundary, segment) {
8073
8092
  } else boundary.completedSegments.push(segment);
8074
8093
  }
8075
8094
  function finishedTask(request, boundary, segment) {
8095
+ request.allPendingTasks--;
8076
8096
  if (null === boundary) {
8077
8097
  if (null !== segment && segment.parentFlushed) {
8078
8098
  if (null !== request.completedRootSegment)
@@ -8112,7 +8132,6 @@ function finishedTask(request, boundary, segment) {
8112
8132
  1 === boundary.completedSegments.length &&
8113
8133
  boundary.parentFlushed &&
8114
8134
  request.partialBoundaries.push(boundary)));
8115
- request.allPendingTasks--;
8116
8135
  0 === request.allPendingTasks && completeAll(request);
8117
8136
  }
8118
8137
  function performWork(request$jscomp$1) {
@@ -8527,7 +8546,8 @@ function flushCompletedBoundary(request, destination, boundary) {
8527
8546
  request = request.renderState;
8528
8547
  i = boundary.rootSegmentID;
8529
8548
  boundary = boundary.contentState;
8530
- var requiresStyleInsertion = request.stylesToHoist;
8549
+ var requiresStyleInsertion = request.stylesToHoist,
8550
+ requiresViewTransitions = 0 !== (completedSegments.instructions & 128);
8531
8551
  request.stylesToHoist = !1;
8532
8552
  var scriptFormat = 0 === completedSegments.streamingFormat;
8533
8553
  scriptFormat
@@ -8542,7 +8562,13 @@ function flushCompletedBoundary(request, destination, boundary) {
8542
8562
  0 === (completedSegments.instructions & 2) &&
8543
8563
  ((completedSegments.instructions |= 2),
8544
8564
  destination.push(
8545
- '$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())};'
8565
+ '$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
8566
+ )),
8567
+ requiresViewTransitions &&
8568
+ 0 === (completedSegments.instructions & 256) &&
8569
+ ((completedSegments.instructions |= 256),
8570
+ destination.push(
8571
+ "$RV=function(a){try{var b=document.__reactViewTransition;if(b){b.finished.then($RV,$RV);return}if(window._useVT){var c=document.__reactViewTransition=document.startViewTransition({update:a,types:[]});c.finished.finally(function(){document.__reactViewTransition===c&&(document.__reactViewTransition=null)});return}}catch(d){}a()}.bind(null,$RV);"
8546
8572
  )),
8547
8573
  0 === (completedSegments.instructions & 8)
8548
8574
  ? ((completedSegments.instructions |= 8),
@@ -8550,12 +8576,18 @@ function flushCompletedBoundary(request, destination, boundary) {
8550
8576
  '$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("'
8551
8577
  ))
8552
8578
  : destination.push('$RR("'))
8553
- : 0 === (completedSegments.instructions & 2)
8554
- ? ((completedSegments.instructions |= 2),
8579
+ : (0 === (completedSegments.instructions & 2) &&
8580
+ ((completedSegments.instructions |= 2),
8555
8581
  destination.push(
8556
- '$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("'
8557
- ))
8558
- : destination.push('$RC("'))
8582
+ '$RB=[];$RV=function(){$RT=performance.now();var d=$RB;$RB=[];for(var a=0;a<d.length;a+=2){var b=d[a],h=d[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var c=b.data;if("/$"===c||"/&"===c)if(0===g)break;else g--;else"$"!==c&&"$?"!==c&&"$~"!==c&&"$!"!==c&&"&"!==c||g++}c=b.nextSibling;e.removeChild(b);b=c}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}};$RC=function(d,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),d=document.getElementById(d))d.previousSibling.data="$~",$RB.push(d,a),2===$RB.length&&setTimeout($RV,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
8583
+ )),
8584
+ requiresViewTransitions &&
8585
+ 0 === (completedSegments.instructions & 256) &&
8586
+ ((completedSegments.instructions |= 256),
8587
+ destination.push(
8588
+ "$RV=function(a){try{var b=document.__reactViewTransition;if(b){b.finished.then($RV,$RV);return}if(window._useVT){var c=document.__reactViewTransition=document.startViewTransition({update:a,types:[]});c.finished.finally(function(){document.__reactViewTransition===c&&(document.__reactViewTransition=null)});return}}catch(d){}a()}.bind(null,$RV);"
8589
+ )),
8590
+ destination.push('$RC("')))
8559
8591
  : requiresStyleInsertion
8560
8592
  ? destination.push('<template data-rri="" data-bid="')
8561
8593
  : destination.push('<template data-rci="" data-bid="');
@@ -8576,12 +8608,11 @@ function flushCompletedBoundary(request, destination, boundary) {
8576
8608
  ? destination.push(")\x3c/script>")
8577
8609
  : destination.push('"></template>');
8578
8610
  request = request.bootstrapChunks;
8579
- for (boundary = 0; boundary < request.length - 1; boundary++)
8580
- destination.push(request[boundary]);
8581
- boundary < request.length
8582
- ? ((boundary = request[boundary]),
8611
+ for (i = 0; i < request.length - 1; i++) destination.push(request[i]);
8612
+ i < request.length
8613
+ ? ((i = request[i]),
8583
8614
  (request.length = 0),
8584
- (destination = destination.push(boundary)))
8615
+ (destination = destination.push(i)))
8585
8616
  : (destination = !0);
8586
8617
  return destination && completedSegments;
8587
8618
  }
@@ -9219,4 +9250,4 @@ exports.experimental_renderToHTML = function (children, options) {
9219
9250
  });
9220
9251
  });
9221
9252
  };
9222
- exports.version = "19.2.0-experimental-4a45ba92-20250515";
9253
+ exports.version = "19.2.0-experimental-462d08f9-20250517";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-markup",
3
- "version": "0.0.0-experimental-4a45ba92-20250515",
3
+ "version": "0.0.0-experimental-462d08f9-20250517",
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-4a45ba92-20250515"
20
+ "react": "0.0.0-experimental-462d08f9-20250517"
21
21
  },
22
22
  "files": [
23
23
  "LICENSE",