react-server-dom-webpack 19.0.0-rc-512b09b2-20240718 → 19.0.0-rc-f6cce072-20240723

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.
@@ -175,6 +175,12 @@
175
175
  ((hasProperties = !0), (trimmed[key] = options[key]));
176
176
  return hasProperties ? trimmed : null;
177
177
  }
178
+ function prepareStackTrace(error, structuredStackTrace) {
179
+ error = (error.name || "Error") + ": " + (error.message || "");
180
+ for (var i = 0; i < structuredStackTrace.length; i++)
181
+ error += "\n at " + structuredStackTrace[i].toString();
182
+ return error;
183
+ }
178
184
  function createTemporaryReference(temporaryReferences, id) {
179
185
  var reference = Object.defineProperties(
180
186
  function () {
@@ -327,8 +333,8 @@
327
333
  return value.$$typeof === CLIENT_REFERENCE_TAG
328
334
  ? "client"
329
335
  : (value = value.displayName || value.name)
330
- ? "function " + value
331
- : "function";
336
+ ? "function " + value
337
+ : "function";
332
338
  default:
333
339
  return String(value);
334
340
  }
@@ -371,8 +377,8 @@
371
377
  "string" === typeof value
372
378
  ? value
373
379
  : "object" === typeof value && null !== value
374
- ? "{" + describeObjectForErrorMessage(value) + "}"
375
- : "{" + describeValueForErrorMessage(value) + "}";
380
+ ? "{" + describeObjectForErrorMessage(value) + "}"
381
+ : "{" + describeValueForErrorMessage(value) + "}";
376
382
  "" + i === expandedName
377
383
  ? ((start = objKind.length),
378
384
  (length = value.length),
@@ -458,15 +464,12 @@
458
464
  return void 0 === expandedName
459
465
  ? objKind
460
466
  : -1 < start && 0 < length
461
- ? ((objectOrArray = " ".repeat(start) + "^".repeat(length)),
462
- "\n " + objKind + "\n " + objectOrArray)
463
- : "\n " + objKind;
467
+ ? ((objectOrArray = " ".repeat(start) + "^".repeat(length)),
468
+ "\n " + objKind + "\n " + objectOrArray)
469
+ : "\n " + objKind;
464
470
  }
465
- function prepareStackTrace(error, structuredStackTrace) {
466
- error = (error.name || "Error") + ": " + (error.message || "");
467
- for (var i = 0; i < structuredStackTrace.length; i++)
468
- error += "\n at " + structuredStackTrace[i].toString();
469
- return error;
471
+ function isNotExternal(stackFrame) {
472
+ return !externalRegExp.test(stackFrame[1]);
470
473
  }
471
474
  function getCurrentStackInDEV() {
472
475
  return "";
@@ -527,12 +530,12 @@
527
530
  return "Server";
528
531
  }
529
532
  : "function" !== typeof environmentName
530
- ? function () {
531
- return environmentName;
532
- }
533
- : environmentName;
533
+ ? function () {
534
+ return environmentName;
535
+ }
536
+ : environmentName;
534
537
  this.didWarnForKey = null;
535
- model = createTask(this, model, null, !1, abortSet);
538
+ model = createTask(this, model, null, !1, abortSet, null);
536
539
  pingedTasks.push(model);
537
540
  }
538
541
  function resolveRequest() {
@@ -549,7 +552,8 @@
549
552
  null,
550
553
  task.keyPath,
551
554
  task.implicitSlot,
552
- request.abortableTasks
555
+ request.abortableTasks,
556
+ task.debugOwner
553
557
  );
554
558
  (task = thenable._debugInfo) &&
555
559
  forwardDebugInfo(request, newTask.id, task);
@@ -646,7 +650,8 @@
646
650
  task.model,
647
651
  task.keyPath,
648
652
  task.implicitSlot,
649
- request.abortableTasks
653
+ request.abortableTasks,
654
+ task.debugOwner
650
655
  );
651
656
  request.abortableTasks.delete(streamTask);
652
657
  request.pendingChunks++;
@@ -658,9 +663,6 @@
658
663
  reader.read().then(progress, error);
659
664
  return serializeByValueID(streamTask.id);
660
665
  }
661
- function callIteratorInDEV(iterator, progress, error) {
662
- iterator.next().then(progress, error);
663
- }
664
666
  function serializeAsyncIterable(request, task, iterable, iterator) {
665
667
  function progress(entry) {
666
668
  if (!aborted)
@@ -711,7 +713,8 @@
711
713
  task.model,
712
714
  task.keyPath,
713
715
  task.implicitSlot,
714
- request.abortableTasks
716
+ request.abortableTasks,
717
+ task.debugOwner
715
718
  );
716
719
  request.abortableTasks.delete(streamTask);
717
720
  request.pendingChunks++;
@@ -766,20 +769,6 @@
766
769
  lazyType._debugInfo = wakeable._debugInfo || [];
767
770
  return lazyType;
768
771
  }
769
- function callComponentInDEV(Component, props, componentDebugInfo) {
770
- currentOwner = componentDebugInfo;
771
- try {
772
- return supportsComponentStorage
773
- ? componentStorage.run(componentDebugInfo, Component, props, void 0)
774
- : Component(props, void 0);
775
- } finally {
776
- currentOwner = null;
777
- }
778
- }
779
- function callLazyInitInDEV(lazy) {
780
- var init = lazy._init;
781
- return init(lazy._payload);
782
- }
783
772
  function callWithDebugContextInDEV(task, callback, arg) {
784
773
  currentOwner = { env: task.environmentName, owner: task.debugOwner };
785
774
  try {
@@ -939,7 +928,8 @@
939
928
  task.model,
940
929
  task.keyPath,
941
930
  task.implicitSlot,
942
- request.abortableTasks
931
+ request.abortableTasks,
932
+ task.debugOwner
943
933
  );
944
934
  retryTask(request, task);
945
935
  return 1 === task.status
@@ -1016,7 +1006,14 @@
1016
1006
  return performWork(request);
1017
1007
  }));
1018
1008
  }
1019
- function createTask(request, model, keyPath, implicitSlot, abortSet) {
1009
+ function createTask(
1010
+ request,
1011
+ model,
1012
+ keyPath,
1013
+ implicitSlot,
1014
+ abortSet,
1015
+ debugOwner
1016
+ ) {
1020
1017
  request.pendingChunks++;
1021
1018
  var id = request.nextChunkId++;
1022
1019
  "object" !== typeof model ||
@@ -1062,6 +1059,7 @@
1062
1059
  thenableState: null
1063
1060
  };
1064
1061
  task.environmentName = request.environmentName();
1062
+ task.debugOwner = debugOwner;
1065
1063
  abortSet.add(task);
1066
1064
  return task;
1067
1065
  }
@@ -1077,10 +1075,10 @@
1077
1075
  ? "$-0"
1078
1076
  : number
1079
1077
  : Infinity === number
1080
- ? "$Infinity"
1081
- : -Infinity === number
1082
- ? "$-Infinity"
1083
- : "$NaN";
1078
+ ? "$Infinity"
1079
+ : -Infinity === number
1080
+ ? "$-Infinity"
1081
+ : "$NaN";
1084
1082
  }
1085
1083
  function encodeReferenceChunk(request, id, reference) {
1086
1084
  request = stringify(reference);
@@ -1145,7 +1143,14 @@
1145
1143
  }
1146
1144
  }
1147
1145
  function outlineModel(request, value) {
1148
- value = createTask(request, value, null, !1, request.abortableTasks);
1146
+ value = createTask(
1147
+ request,
1148
+ value,
1149
+ null,
1150
+ !1,
1151
+ request.abortableTasks,
1152
+ null
1153
+ );
1149
1154
  retryTask(request, value);
1150
1155
  return value.id;
1151
1156
  }
@@ -1210,7 +1215,14 @@
1210
1215
  }
1211
1216
  }
1212
1217
  var model = [blob.type],
1213
- newTask = createTask(request, model, null, !1, request.abortableTasks),
1218
+ newTask = createTask(
1219
+ request,
1220
+ model,
1221
+ null,
1222
+ !1,
1223
+ request.abortableTasks,
1224
+ null
1225
+ ),
1214
1226
  reader = blob.stream().getReader(),
1215
1227
  aborted = !1;
1216
1228
  request.abortListeners.add(error);
@@ -1249,7 +1261,8 @@
1249
1261
  task.model,
1250
1262
  task.keyPath,
1251
1263
  task.implicitSlot,
1252
- request.abortableTasks
1264
+ request.abortableTasks,
1265
+ task.debugOwner
1253
1266
  );
1254
1267
  value = request.ping;
1255
1268
  key.then(value, value);
@@ -1458,13 +1471,14 @@
1458
1471
  describeObjectForErrorMessage(parent, parentPropertyName)
1459
1472
  );
1460
1473
  if (
1461
- "object" === typeof value.task &&
1462
- null !== value.task &&
1463
- "function" === typeof value.task.run &&
1474
+ (("object" === typeof value.debugTask &&
1475
+ null !== value.debugTask &&
1476
+ "function" === typeof value.debugTask.run) ||
1477
+ value.debugStack instanceof Error) &&
1478
+ "undefined" === typeof value.stack &&
1464
1479
  "string" === typeof value.name &&
1465
1480
  "string" === typeof value.env &&
1466
- void 0 !== value.owner &&
1467
- "undefined" === typeof value.stack
1481
+ void 0 !== value.owner
1468
1482
  )
1469
1483
  return { name: value.name, env: value.env, owner: value.owner };
1470
1484
  if ("Object" !== objectName(value))
@@ -1500,10 +1514,10 @@
1500
1514
  parent[parentPropertyName] instanceof Date
1501
1515
  ? "$D" + value
1502
1516
  : 1024 <= value.length && null !== byteLengthOfChunk
1503
- ? serializeLargeTextString(request, value)
1504
- : "$" === value[0]
1505
- ? "$" + value
1506
- : value;
1517
+ ? serializeLargeTextString(request, value)
1518
+ : "$" === value[0]
1519
+ ? "$" + value
1520
+ : value;
1507
1521
  if ("boolean" === typeof value) return value;
1508
1522
  if ("number" === typeof value) return serializeNumber(value);
1509
1523
  if ("undefined" === typeof value) return "$undefined";
@@ -1596,8 +1610,8 @@
1596
1610
  )
1597
1611
  : callWithDebugContextInDEV(task, onError, error)
1598
1612
  : supportsRequestStorage
1599
- ? requestStorage.run(void 0, onError, error)
1600
- : onError(error);
1613
+ ? requestStorage.run(void 0, onError, error)
1614
+ : onError(error);
1601
1615
  } finally {
1602
1616
  currentRequest = prevRequest;
1603
1617
  }
@@ -1616,8 +1630,7 @@
1616
1630
  : ((request.status = 2), (request.fatalError = error));
1617
1631
  }
1618
1632
  function emitErrorChunk(request, id, digest, error) {
1619
- var stack = "",
1620
- env = request.environmentName();
1633
+ var env = request.environmentName();
1621
1634
  try {
1622
1635
  if (error instanceof Error) {
1623
1636
  var message = String(error.message);
@@ -1625,24 +1638,66 @@
1625
1638
  var previousPrepare = Error.prepareStackTrace;
1626
1639
  Error.prepareStackTrace = prepareStackTrace;
1627
1640
  try {
1628
- stack = String(error.stack);
1641
+ var stack = String(error.stack);
1629
1642
  break a;
1630
1643
  } finally {
1631
1644
  Error.prepareStackTrace = previousPrepare;
1632
1645
  }
1633
1646
  stack = void 0;
1634
1647
  }
1648
+ stack.startsWith("Error: react-stack-top-frame\n") &&
1649
+ (stack = stack.slice(29));
1650
+ var idx = stack.indexOf("react-stack-bottom-frame");
1651
+ -1 !== idx && (idx = stack.lastIndexOf("\n", idx));
1652
+ -1 !== idx && (stack = stack.slice(0, idx));
1653
+ var frames = stack.split("\n");
1654
+ stack = [];
1655
+ for (
1656
+ previousPrepare = 0;
1657
+ previousPrepare < frames.length;
1658
+ previousPrepare++
1659
+ ) {
1660
+ var parsed = frameRegExp.exec(frames[previousPrepare]);
1661
+ if (parsed) {
1662
+ var name = parsed[1] || "";
1663
+ "<anonymous>" === name && (name = "");
1664
+ var filename = parsed[2] || parsed[5] || "";
1665
+ "<anonymous>" === filename && (filename = "");
1666
+ stack.push([
1667
+ name,
1668
+ filename,
1669
+ +(parsed[3] || parsed[6]),
1670
+ +(parsed[4] || parsed[7])
1671
+ ]);
1672
+ }
1673
+ }
1674
+ var stack$jscomp$0 = stack.filter(isNotExternal);
1675
+ for (frames = 0; frames < stack$jscomp$0.length; frames++) {
1676
+ var callsite = stack$jscomp$0[frames],
1677
+ url = callsite[1];
1678
+ if (url.startsWith("rsc://React/")) {
1679
+ var suffixIdx = url.lastIndexOf("?");
1680
+ -1 < suffixIdx && (callsite[1] = url.slice(12, suffixIdx));
1681
+ }
1682
+ }
1683
+ var stack$jscomp$1 = stack$jscomp$0;
1635
1684
  var errorEnv = error.environmentName;
1636
1685
  "string" === typeof errorEnv && (env = errorEnv);
1637
1686
  } else
1638
- message =
1687
+ (message =
1639
1688
  "object" === typeof error && null !== error
1640
1689
  ? describeObjectForErrorMessage(error)
1641
- : String(error);
1690
+ : String(error)),
1691
+ (stack$jscomp$1 = []);
1642
1692
  } catch (x) {
1643
1693
  message = "An error occurred but serializing the error message failed.";
1644
1694
  }
1645
- digest = { digest: digest, message: message, stack: stack, env: env };
1695
+ digest = {
1696
+ digest: digest,
1697
+ message: message,
1698
+ stack: stack$jscomp$1,
1699
+ env: env
1700
+ };
1646
1701
  id = id.toString(16) + ":E" + stringify(digest) + "\n";
1647
1702
  id = stringToChunk(id);
1648
1703
  request.completedErrorChunks.push(id);
@@ -1743,55 +1798,70 @@
1743
1798
  return void 0 !== parent
1744
1799
  ? parent
1745
1800
  : isArrayImpl(value)
1746
- ? value
1747
- : value instanceof Map
1748
- ? ((value = Array.from(value)),
1749
- "$Q" + outlineConsoleValue(request, counter, value).toString(16))
1750
- : value instanceof Set
1751
- ? ((value = Array.from(value)),
1752
- "$W" + outlineConsoleValue(request, counter, value).toString(16))
1753
- : "function" === typeof FormData && value instanceof FormData
1754
- ? serializeFormData(request, value)
1755
- : value instanceof ArrayBuffer
1756
- ? serializeTypedArray(request, "A", new Uint8Array(value))
1757
- : value instanceof Int8Array
1758
- ? serializeTypedArray(request, "O", value)
1759
- : value instanceof Uint8Array
1760
- ? serializeTypedArray(request, "o", value)
1761
- : value instanceof Uint8ClampedArray
1762
- ? serializeTypedArray(request, "U", value)
1763
- : value instanceof Int16Array
1764
- ? serializeTypedArray(request, "S", value)
1765
- : value instanceof Uint16Array
1766
- ? serializeTypedArray(request, "s", value)
1767
- : value instanceof Int32Array
1768
- ? serializeTypedArray(request, "L", value)
1769
- : value instanceof Uint32Array
1770
- ? serializeTypedArray(request, "l", value)
1771
- : value instanceof Float32Array
1772
- ? serializeTypedArray(request, "G", value)
1773
- : value instanceof Float64Array
1774
- ? serializeTypedArray(request, "g", value)
1775
- : value instanceof BigInt64Array
1776
- ? serializeTypedArray(request, "M", value)
1777
- : value instanceof BigUint64Array
1778
- ? serializeTypedArray(request, "m", value)
1779
- : value instanceof DataView
1780
- ? serializeTypedArray(request, "V", value)
1781
- : "function" === typeof Blob && value instanceof Blob
1782
- ? serializeBlob(request, value)
1783
- : getIteratorFn(value)
1784
- ? Array.from(value)
1785
- : value;
1801
+ ? value
1802
+ : value instanceof Map
1803
+ ? ((value = Array.from(value)),
1804
+ "$Q" +
1805
+ outlineConsoleValue(request, counter, value).toString(16))
1806
+ : value instanceof Set
1807
+ ? ((value = Array.from(value)),
1808
+ "$W" +
1809
+ outlineConsoleValue(request, counter, value).toString(16))
1810
+ : "function" === typeof FormData && value instanceof FormData
1811
+ ? serializeFormData(request, value)
1812
+ : value instanceof ArrayBuffer
1813
+ ? serializeTypedArray(request, "A", new Uint8Array(value))
1814
+ : value instanceof Int8Array
1815
+ ? serializeTypedArray(request, "O", value)
1816
+ : value instanceof Uint8Array
1817
+ ? serializeTypedArray(request, "o", value)
1818
+ : value instanceof Uint8ClampedArray
1819
+ ? serializeTypedArray(request, "U", value)
1820
+ : value instanceof Int16Array
1821
+ ? serializeTypedArray(request, "S", value)
1822
+ : value instanceof Uint16Array
1823
+ ? serializeTypedArray(request, "s", value)
1824
+ : value instanceof Int32Array
1825
+ ? serializeTypedArray(request, "L", value)
1826
+ : value instanceof Uint32Array
1827
+ ? serializeTypedArray(request, "l", value)
1828
+ : value instanceof Float32Array
1829
+ ? serializeTypedArray(request, "G", value)
1830
+ : value instanceof Float64Array
1831
+ ? serializeTypedArray(request, "g", value)
1832
+ : value instanceof BigInt64Array
1833
+ ? serializeTypedArray(
1834
+ request,
1835
+ "M",
1836
+ value
1837
+ )
1838
+ : value instanceof BigUint64Array
1839
+ ? serializeTypedArray(
1840
+ request,
1841
+ "m",
1842
+ value
1843
+ )
1844
+ : value instanceof DataView
1845
+ ? serializeTypedArray(
1846
+ request,
1847
+ "V",
1848
+ value
1849
+ )
1850
+ : "function" === typeof Blob &&
1851
+ value instanceof Blob
1852
+ ? serializeBlob(request, value)
1853
+ : getIteratorFn(value)
1854
+ ? Array.from(value)
1855
+ : value;
1786
1856
  }
1787
1857
  if ("string" === typeof value)
1788
1858
  return "Z" === value[value.length - 1] && originalValue instanceof Date
1789
1859
  ? "$D" + value
1790
1860
  : 1024 <= value.length
1791
- ? serializeLargeTextString(request, value)
1792
- : "$" === value[0]
1793
- ? "$" + value
1794
- : value;
1861
+ ? serializeLargeTextString(request, value)
1862
+ : "$" === value[0]
1863
+ ? "$" + value
1864
+ : value;
1795
1865
  if ("boolean" === typeof value) return value;
1796
1866
  if ("number" === typeof value) return serializeNumber(value);
1797
1867
  if ("undefined" === typeof value) return "$undefined";
@@ -1799,10 +1869,10 @@
1799
1869
  return value.$$typeof === CLIENT_REFERENCE_TAG$1
1800
1870
  ? serializeClientReference(request, parent, parentPropertyName, value)
1801
1871
  : void 0 !== request.temporaryReferences &&
1802
- ((request = request.temporaryReferences.get(value)),
1803
- void 0 !== request)
1804
- ? "$T" + request
1805
- : "$E(" + (Function.prototype.toString.call(value) + ")");
1872
+ ((request = request.temporaryReferences.get(value)),
1873
+ void 0 !== request)
1874
+ ? "$T" + request
1875
+ : "$E(" + (Function.prototype.toString.call(value) + ")");
1806
1876
  if ("symbol" === typeof value) {
1807
1877
  counter = request.writtenSymbols.get(value);
1808
1878
  if (void 0 !== counter) return serializeByValueID(counter);
@@ -1849,33 +1919,33 @@
1849
1919
  "string" === typeof value && null !== byteLengthOfChunk
1850
1920
  ? emitTextChunk(request, id, value)
1851
1921
  : value instanceof ArrayBuffer
1852
- ? emitTypedArrayChunk(request, id, "A", new Uint8Array(value))
1853
- : value instanceof Int8Array
1854
- ? emitTypedArrayChunk(request, id, "O", value)
1855
- : value instanceof Uint8Array
1856
- ? emitTypedArrayChunk(request, id, "o", value)
1857
- : value instanceof Uint8ClampedArray
1858
- ? emitTypedArrayChunk(request, id, "U", value)
1859
- : value instanceof Int16Array
1860
- ? emitTypedArrayChunk(request, id, "S", value)
1861
- : value instanceof Uint16Array
1862
- ? emitTypedArrayChunk(request, id, "s", value)
1863
- : value instanceof Int32Array
1864
- ? emitTypedArrayChunk(request, id, "L", value)
1865
- : value instanceof Uint32Array
1866
- ? emitTypedArrayChunk(request, id, "l", value)
1867
- : value instanceof Float32Array
1868
- ? emitTypedArrayChunk(request, id, "G", value)
1869
- : value instanceof Float64Array
1870
- ? emitTypedArrayChunk(request, id, "g", value)
1871
- : value instanceof BigInt64Array
1872
- ? emitTypedArrayChunk(request, id, "M", value)
1873
- : value instanceof BigUint64Array
1874
- ? emitTypedArrayChunk(request, id, "m", value)
1875
- : value instanceof DataView
1876
- ? emitTypedArrayChunk(request, id, "V", value)
1877
- : ((value = stringify(value, task.toJSON)),
1878
- emitModelChunk(request, task.id, value));
1922
+ ? emitTypedArrayChunk(request, id, "A", new Uint8Array(value))
1923
+ : value instanceof Int8Array
1924
+ ? emitTypedArrayChunk(request, id, "O", value)
1925
+ : value instanceof Uint8Array
1926
+ ? emitTypedArrayChunk(request, id, "o", value)
1927
+ : value instanceof Uint8ClampedArray
1928
+ ? emitTypedArrayChunk(request, id, "U", value)
1929
+ : value instanceof Int16Array
1930
+ ? emitTypedArrayChunk(request, id, "S", value)
1931
+ : value instanceof Uint16Array
1932
+ ? emitTypedArrayChunk(request, id, "s", value)
1933
+ : value instanceof Int32Array
1934
+ ? emitTypedArrayChunk(request, id, "L", value)
1935
+ : value instanceof Uint32Array
1936
+ ? emitTypedArrayChunk(request, id, "l", value)
1937
+ : value instanceof Float32Array
1938
+ ? emitTypedArrayChunk(request, id, "G", value)
1939
+ : value instanceof Float64Array
1940
+ ? emitTypedArrayChunk(request, id, "g", value)
1941
+ : value instanceof BigInt64Array
1942
+ ? emitTypedArrayChunk(request, id, "M", value)
1943
+ : value instanceof BigUint64Array
1944
+ ? emitTypedArrayChunk(request, id, "m", value)
1945
+ : value instanceof DataView
1946
+ ? emitTypedArrayChunk(request, id, "V", value)
1947
+ : ((value = stringify(value, task.toJSON)),
1948
+ emitModelChunk(request, task.id, value));
1879
1949
  }
1880
1950
  function retryTask(request, task) {
1881
1951
  if (0 === task.status) {
@@ -2077,10 +2147,12 @@
2077
2147
  "The render was aborted by the server without a reason."
2078
2148
  )
2079
2149
  : "object" === typeof reason &&
2080
- null !== reason &&
2081
- "function" === typeof reason.then
2082
- ? Error("The render was aborted by the server with a promise.")
2083
- : reason,
2150
+ null !== reason &&
2151
+ "function" === typeof reason.then
2152
+ ? Error(
2153
+ "The render was aborted by the server with a promise."
2154
+ )
2155
+ : reason,
2084
2156
  digest = logRecoverableError(request, error, null);
2085
2157
  emitErrorChunk(request, errorId, digest, error);
2086
2158
  abortableTasks.forEach(function (task) {
@@ -2099,10 +2171,10 @@
2099
2171
  void 0 === reason
2100
2172
  ? Error("The render was aborted by the server without a reason.")
2101
2173
  : "object" === typeof reason &&
2102
- null !== reason &&
2103
- "function" === typeof reason.then
2104
- ? Error("The render was aborted by the server with a promise.")
2105
- : reason;
2174
+ null !== reason &&
2175
+ "function" === typeof reason.then
2176
+ ? Error("The render was aborted by the server with a promise.")
2177
+ : reason;
2106
2178
  abortListeners.forEach(function (callback) {
2107
2179
  return callback(_error);
2108
2180
  });
@@ -2174,8 +2246,8 @@
2174
2246
  return requireAsyncModule(metadata[0]);
2175
2247
  })
2176
2248
  : 0 < promises.length
2177
- ? Promise.all(promises)
2178
- : null;
2249
+ ? Promise.all(promises)
2250
+ : null;
2179
2251
  }
2180
2252
  function requireModule(metadata) {
2181
2253
  var moduleExports = __webpack_require__(metadata[0]);
@@ -2186,10 +2258,10 @@
2186
2258
  return "*" === metadata[2]
2187
2259
  ? moduleExports
2188
2260
  : "" === metadata[2]
2189
- ? moduleExports.__esModule
2190
- ? moduleExports.default
2191
- : moduleExports
2192
- : moduleExports[metadata[2]];
2261
+ ? moduleExports.__esModule
2262
+ ? moduleExports.default
2263
+ : moduleExports
2264
+ : moduleExports[metadata[2]];
2193
2265
  }
2194
2266
  function Chunk(status, value, reason, response) {
2195
2267
  this.status = status;
@@ -2838,10 +2910,10 @@
2838
2910
  return fn.bind.apply(fn, [null].concat(_ref));
2839
2911
  })
2840
2912
  : bundlerConfig
2841
- ? Promise.resolve(bundlerConfig).then(function () {
2842
- return requireModule(serverReference);
2843
- })
2844
- : Promise.resolve(requireModule(serverReference));
2913
+ ? Promise.resolve(bundlerConfig).then(function () {
2914
+ return requireModule(serverReference);
2915
+ })
2916
+ : Promise.resolve(requireModule(serverReference));
2845
2917
  }
2846
2918
  function decodeBoundActionMetaData(body, serverManifest, formFieldPrefix) {
2847
2919
  body = createResponse(serverManifest, formFieldPrefix, void 0, body);
@@ -3037,8 +3109,8 @@
3037
3109
  options
3038
3110
  ])
3039
3111
  : "string" === typeof precedence
3040
- ? emitHint(request, "S", [href, precedence])
3041
- : emitHint(request, "S", href);
3112
+ ? emitHint(request, "S", [href, precedence])
3113
+ : emitHint(request, "S", href);
3042
3114
  }
3043
3115
  previousDispatcher.S(href, precedence, options);
3044
3116
  }
@@ -3059,7 +3131,9 @@
3059
3131
  }
3060
3132
  }
3061
3133
  };
3062
- var supportsRequestStorage = "function" === typeof AsyncLocalStorage,
3134
+ var frameRegExp =
3135
+ /^ {3} at (?:(.+) \(([^\)]+):(\d+):(\d+)\)|(?:async )?([^\)]+):(\d+):(\d+))$/,
3136
+ supportsRequestStorage = "function" === typeof AsyncLocalStorage,
3063
3137
  requestStorage = supportsRequestStorage ? new AsyncLocalStorage() : null,
3064
3138
  supportsComponentStorage = supportsRequestStorage,
3065
3139
  componentStorage = supportsComponentStorage
@@ -3220,11 +3294,50 @@
3220
3294
  'The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'
3221
3295
  );
3222
3296
  new ("function" === typeof WeakMap ? WeakMap : Map)();
3223
- var isArrayImpl = Array.isArray,
3297
+ var callComponent = {
3298
+ "react-stack-bottom-frame": function (
3299
+ Component,
3300
+ props,
3301
+ componentDebugInfo
3302
+ ) {
3303
+ currentOwner = componentDebugInfo;
3304
+ try {
3305
+ return supportsComponentStorage
3306
+ ? componentStorage.run(
3307
+ componentDebugInfo,
3308
+ Component,
3309
+ props,
3310
+ void 0
3311
+ )
3312
+ : Component(props, void 0);
3313
+ } finally {
3314
+ currentOwner = null;
3315
+ }
3316
+ }
3317
+ },
3318
+ callComponentInDEV =
3319
+ callComponent["react-stack-bottom-frame"].bind(callComponent),
3320
+ callLazyInit = {
3321
+ "react-stack-bottom-frame": function (lazy) {
3322
+ var init = lazy._init;
3323
+ return init(lazy._payload);
3324
+ }
3325
+ },
3326
+ callLazyInitInDEV =
3327
+ callLazyInit["react-stack-bottom-frame"].bind(callLazyInit),
3328
+ callIterator = {
3329
+ "react-stack-bottom-frame": function (iterator, progress, error) {
3330
+ iterator.next().then(progress, error);
3331
+ }
3332
+ },
3333
+ callIteratorInDEV =
3334
+ callIterator["react-stack-bottom-frame"].bind(callIterator),
3335
+ isArrayImpl = Array.isArray,
3224
3336
  getPrototypeOf = Object.getPrototypeOf,
3225
3337
  jsxPropsParents = new WeakMap(),
3226
3338
  jsxChildrenParents = new WeakMap(),
3227
3339
  CLIENT_REFERENCE_TAG = Symbol.for("react.client.reference"),
3340
+ externalRegExp = /\/node_modules\/|^node:|^$/,
3228
3341
  ObjectPrototype = Object.prototype,
3229
3342
  stringify = JSON.stringify,
3230
3343
  AbortSigil = {},