react-server-dom-webpack 19.2.0-canary-d85ec5f5-20250716 → 19.2.0-canary-e9638c33-20250721

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1086,7 +1086,7 @@
1086
1086
  this.status = status;
1087
1087
  this.value = value;
1088
1088
  this.reason = reason;
1089
- this._debugInfo = null;
1089
+ this._debugInfo = this._debugChunk = null;
1090
1090
  }
1091
1091
  function unwrapWeakResponse(weakResponse) {
1092
1092
  weakResponse = weakResponse.weak.deref();
@@ -1215,13 +1215,30 @@
1215
1215
  }
1216
1216
  }
1217
1217
  function triggerErrorOnChunk(response, chunk, error) {
1218
- "pending" !== chunk.status && "blocked" !== chunk.status
1219
- ? chunk.reason.error(error)
1220
- : (releasePendingChunk(response, chunk),
1221
- (response = chunk.reason),
1222
- (chunk.status = "rejected"),
1223
- (chunk.reason = error),
1224
- null !== response && rejectChunk(response, error));
1218
+ if ("pending" !== chunk.status && "blocked" !== chunk.status)
1219
+ chunk.reason.error(error);
1220
+ else {
1221
+ releasePendingChunk(response, chunk);
1222
+ var listeners = chunk.reason;
1223
+ if ("pending" === chunk.status && null != chunk._debugChunk) {
1224
+ var prevHandler = initializingHandler;
1225
+ initializingHandler = null;
1226
+ chunk.status = "blocked";
1227
+ chunk.value = null;
1228
+ chunk.reason = null;
1229
+ try {
1230
+ initializeDebugChunk(response, chunk), (chunk._debugChunk = null);
1231
+ } finally {
1232
+ initializingHandler = prevHandler;
1233
+ }
1234
+ }
1235
+ chunk.status = "rejected";
1236
+ chunk.reason = error;
1237
+ null !== listeners && rejectChunk(listeners, error);
1238
+ }
1239
+ }
1240
+ function createResolvedModelChunk(response, value) {
1241
+ return new ReactPromise("resolved_model", value, response);
1225
1242
  }
1226
1243
  function createResolvedIteratorResultChunk(response, value, done) {
1227
1244
  return new ReactPromise(
@@ -1262,11 +1279,69 @@
1262
1279
  var rejectListeners = chunk.reason;
1263
1280
  chunk.status = "resolved_module";
1264
1281
  chunk.value = value;
1282
+ chunk._debugInfo = null;
1265
1283
  null !== response &&
1266
1284
  (initializeModuleChunk(chunk),
1267
1285
  wakeChunkIfInitialized(chunk, response, rejectListeners));
1268
1286
  }
1269
1287
  }
1288
+ function initializeDebugChunk(response, chunk) {
1289
+ var debugChunk = chunk._debugChunk;
1290
+ if (null !== debugChunk) {
1291
+ var debugInfo = chunk._debugInfo || (chunk._debugInfo = []);
1292
+ try {
1293
+ if ("resolved_model" === debugChunk.status) {
1294
+ for (
1295
+ var idx = debugInfo.length, c = debugChunk._debugChunk;
1296
+ null !== c;
1297
+
1298
+ )
1299
+ "fulfilled" !== c.status && idx++, (c = c._debugChunk);
1300
+ initializeModelChunk(debugChunk);
1301
+ switch (debugChunk.status) {
1302
+ case "fulfilled":
1303
+ debugInfo[idx] = initializeDebugInfo(
1304
+ response,
1305
+ debugChunk.value
1306
+ );
1307
+ break;
1308
+ case "blocked":
1309
+ case "pending":
1310
+ waitForReference(
1311
+ debugChunk,
1312
+ debugInfo,
1313
+ "" + idx,
1314
+ response,
1315
+ initializeDebugInfo,
1316
+ [""]
1317
+ );
1318
+ break;
1319
+ default:
1320
+ throw debugChunk.reason;
1321
+ }
1322
+ } else
1323
+ switch (debugChunk.status) {
1324
+ case "fulfilled":
1325
+ break;
1326
+ case "blocked":
1327
+ case "pending":
1328
+ waitForReference(
1329
+ debugChunk,
1330
+ {},
1331
+ "",
1332
+ response,
1333
+ initializeDebugInfo,
1334
+ [""]
1335
+ );
1336
+ break;
1337
+ default:
1338
+ throw debugChunk.reason;
1339
+ }
1340
+ } catch (error) {
1341
+ triggerErrorOnChunk(response, chunk, error);
1342
+ }
1343
+ }
1344
+ }
1270
1345
  function initializeModelChunk(chunk) {
1271
1346
  var prevHandler = initializingHandler;
1272
1347
  initializingHandler = null;
@@ -1275,6 +1350,8 @@
1275
1350
  chunk.status = "blocked";
1276
1351
  chunk.value = null;
1277
1352
  chunk.reason = null;
1353
+ initializeDebugChunk(response, chunk);
1354
+ chunk._debugChunk = null;
1278
1355
  try {
1279
1356
  var value = JSON.parse(resolvedModel, response._fromJSON),
1280
1357
  resolveListeners = chunk.value;
@@ -1283,7 +1360,7 @@
1283
1360
  (chunk.reason = null),
1284
1361
  wakeChunk(resolveListeners, value));
1285
1362
  if (null !== initializingHandler) {
1286
- if (initializingHandler.errored) throw initializingHandler.value;
1363
+ if (initializingHandler.errored) throw initializingHandler.reason;
1287
1364
  if (0 < initializingHandler.deps) {
1288
1365
  initializingHandler.value = value;
1289
1366
  initializingHandler.chunk = chunk;
@@ -1477,6 +1554,7 @@
1477
1554
  ((parentObject = key.value),
1478
1555
  (key.status = "fulfilled"),
1479
1556
  (key.value = handler.value),
1557
+ (key.reason = handler.reason),
1480
1558
  null !== parentObject && wakeChunk(parentObject, handler.value)));
1481
1559
  }
1482
1560
  function rejectReference(reference, error) {
@@ -1485,7 +1563,8 @@
1485
1563
  if (!handler.errored) {
1486
1564
  var blockedValue = handler.value;
1487
1565
  handler.errored = !0;
1488
- handler.value = error;
1566
+ handler.value = null;
1567
+ handler.reason = error;
1489
1568
  handler = handler.chunk;
1490
1569
  if (null !== handler && "blocked" === handler.status) {
1491
1570
  if (
@@ -1531,6 +1610,7 @@
1531
1610
  parent: null,
1532
1611
  chunk: null,
1533
1612
  value: null,
1613
+ reason: null,
1534
1614
  deps: 1,
1535
1615
  errored: !1
1536
1616
  };
@@ -1585,6 +1665,7 @@
1585
1665
  parent: null,
1586
1666
  chunk: null,
1587
1667
  value: null,
1668
+ reason: null,
1588
1669
  deps: 1,
1589
1670
  errored: !1
1590
1671
  };
@@ -1633,7 +1714,8 @@
1633
1714
  if (!handler.errored) {
1634
1715
  var blockedValue = handler.value;
1635
1716
  handler.errored = !0;
1636
- handler.value = error;
1717
+ handler.value = null;
1718
+ handler.reason = error;
1637
1719
  var chunk = handler.chunk;
1638
1720
  if (null !== chunk && "blocked" === chunk.status) {
1639
1721
  if (
@@ -1704,6 +1786,7 @@
1704
1786
  parent: null,
1705
1787
  chunk: null,
1706
1788
  value: null,
1789
+ reason: null,
1707
1790
  deps: 1,
1708
1791
  errored: !1
1709
1792
  }),
@@ -1713,11 +1796,13 @@
1713
1796
  return (
1714
1797
  initializingHandler
1715
1798
  ? ((initializingHandler.errored = !0),
1716
- (initializingHandler.value = value.reason))
1799
+ (initializingHandler.value = null),
1800
+ (initializingHandler.reason = value.reason))
1717
1801
  : (initializingHandler = {
1718
1802
  parent: null,
1719
1803
  chunk: null,
1720
- value: value.reason,
1804
+ value: null,
1805
+ reason: value.reason,
1721
1806
  deps: 0,
1722
1807
  errored: !0
1723
1808
  }),
@@ -1760,6 +1845,7 @@
1760
1845
  parent: null,
1761
1846
  chunk: null,
1762
1847
  value: null,
1848
+ reason: null,
1763
1849
  deps: 1,
1764
1850
  errored: !1
1765
1851
  }),
@@ -1769,11 +1855,13 @@
1769
1855
  return (
1770
1856
  initializingHandler
1771
1857
  ? ((initializingHandler.errored = !0),
1772
- (initializingHandler.value = id.reason))
1858
+ (initializingHandler.value = null),
1859
+ (initializingHandler.reason = id.reason))
1773
1860
  : (initializingHandler = {
1774
1861
  parent: null,
1775
1862
  chunk: null,
1776
- value: id.reason,
1863
+ value: null,
1864
+ reason: id.reason,
1777
1865
  deps: 0,
1778
1866
  errored: !0
1779
1867
  }),
@@ -1832,6 +1920,7 @@
1832
1920
  parent: initializingHandler,
1833
1921
  chunk: null,
1834
1922
  value: null,
1923
+ reason: null,
1835
1924
  deps: 0,
1836
1925
  errored: !1
1837
1926
  }),
@@ -2055,6 +2144,7 @@
2055
2144
  ));
2056
2145
  this._debugFindSourceMapURL = findSourceMapURL;
2057
2146
  this._debugChannel = debugChannel;
2147
+ this._blockedConsole = null;
2058
2148
  this._replayConsole = replayConsole;
2059
2149
  this._rootEnvironmentName = environmentName;
2060
2150
  debugChannel &&
@@ -2072,32 +2162,6 @@
2072
2162
  _buffer: []
2073
2163
  };
2074
2164
  }
2075
- function resolveDebugHalt(response, id) {
2076
- var chunks = response._chunks,
2077
- chunk = chunks.get(id);
2078
- chunk || chunks.set(id, (chunk = createPendingChunk(response)));
2079
- if ("pending" === chunk.status || "blocked" === chunk.status)
2080
- releasePendingChunk(response, chunk),
2081
- (response = chunk),
2082
- (response.status = "halted"),
2083
- (response.value = null),
2084
- (response.reason = null);
2085
- }
2086
- function resolveModel(response, id, model) {
2087
- var chunks = response._chunks,
2088
- chunk = chunks.get(id);
2089
- chunk
2090
- ? resolveModelChunk(response, chunk, model)
2091
- : chunks.set(id, new ReactPromise("resolved_model", model, response));
2092
- }
2093
- function resolveText(response, id, text) {
2094
- var chunks = response._chunks,
2095
- chunk = chunks.get(id);
2096
- chunk && "pending" !== chunk.status
2097
- ? chunk.reason.enqueueValue(text)
2098
- : (chunk && releasePendingChunk(response, chunk),
2099
- chunks.set(id, new ReactPromise("fulfilled", text, null)));
2100
- }
2101
2165
  function resolveBuffer(response, id, buffer) {
2102
2166
  var chunks = response._chunks,
2103
2167
  chunk = chunks.get(id);
@@ -2146,15 +2210,39 @@
2146
2210
  function resolveStream(response, id, stream, controller) {
2147
2211
  var chunks = response._chunks,
2148
2212
  chunk = chunks.get(id);
2149
- chunk
2150
- ? "pending" === chunk.status &&
2151
- (releasePendingChunk(response, chunk),
2152
- (response = chunk.value),
2153
- (chunk.status = "fulfilled"),
2154
- (chunk.value = stream),
2155
- (chunk.reason = controller),
2156
- null !== response && wakeChunk(response, chunk.value))
2157
- : chunks.set(id, new ReactPromise("fulfilled", stream, controller));
2213
+ if (!chunk)
2214
+ chunks.set(id, new ReactPromise("fulfilled", stream, controller));
2215
+ else if ("pending" === chunk.status) {
2216
+ releasePendingChunk(response, chunk);
2217
+ id = chunk.value;
2218
+ if (null != chunk._debugChunk) {
2219
+ chunks = initializingHandler;
2220
+ initializingHandler = null;
2221
+ chunk.status = "blocked";
2222
+ chunk.value = null;
2223
+ chunk.reason = null;
2224
+ try {
2225
+ if (
2226
+ (initializeDebugChunk(response, chunk),
2227
+ (chunk._debugChunk = null),
2228
+ null !== initializingHandler &&
2229
+ !initializingHandler.errored &&
2230
+ 0 < initializingHandler.deps)
2231
+ ) {
2232
+ initializingHandler.value = stream;
2233
+ initializingHandler.reason = controller;
2234
+ initializingHandler.chunk = chunk;
2235
+ return;
2236
+ }
2237
+ } finally {
2238
+ initializingHandler = chunks;
2239
+ }
2240
+ }
2241
+ chunk.status = "fulfilled";
2242
+ chunk.value = stream;
2243
+ chunk.reason = controller;
2244
+ null !== id && wakeChunk(id, chunk.value);
2245
+ }
2158
2246
  }
2159
2247
  function startReadableStream(response, id, type) {
2160
2248
  var controller = null;
@@ -2175,7 +2263,7 @@
2175
2263
  },
2176
2264
  enqueueModel: function (json) {
2177
2265
  if (null === previousBlockedChunk) {
2178
- var chunk = new ReactPromise("resolved_model", json, response);
2266
+ var chunk = createResolvedModelChunk(response, json);
2179
2267
  initializeModelChunk(chunk);
2180
2268
  "fulfilled" === chunk.status
2181
2269
  ? controller.enqueue(chunk.value)
@@ -2337,11 +2425,6 @@
2337
2425
  }
2338
2426
  );
2339
2427
  }
2340
- function stopStream(response, id, row) {
2341
- (response = response._chunks.get(id)) &&
2342
- "fulfilled" === response.status &&
2343
- response.reason.close("" === row ? '"$undefined"' : row);
2344
- }
2345
2428
  function resolveErrorDev(response, errorInfo) {
2346
2429
  var name = errorInfo.name,
2347
2430
  env = errorInfo.env;
@@ -2362,50 +2445,6 @@
2362
2445
  response.environmentName = env;
2363
2446
  return response;
2364
2447
  }
2365
- function resolveHint(response, code, model) {
2366
- response = JSON.parse(model, response._fromJSON);
2367
- model = ReactDOMSharedInternals.d;
2368
- switch (code) {
2369
- case "D":
2370
- model.D(response);
2371
- break;
2372
- case "C":
2373
- "string" === typeof response
2374
- ? model.C(response)
2375
- : model.C(response[0], response[1]);
2376
- break;
2377
- case "L":
2378
- code = response[0];
2379
- var as = response[1];
2380
- 3 === response.length
2381
- ? model.L(code, as, response[2])
2382
- : model.L(code, as);
2383
- break;
2384
- case "m":
2385
- "string" === typeof response
2386
- ? model.m(response)
2387
- : model.m(response[0], response[1]);
2388
- break;
2389
- case "X":
2390
- "string" === typeof response
2391
- ? model.X(response)
2392
- : model.X(response[0], response[1]);
2393
- break;
2394
- case "S":
2395
- "string" === typeof response
2396
- ? model.S(response)
2397
- : model.S(
2398
- response[0],
2399
- 0 === response[1] ? void 0 : response[1],
2400
- 3 === response.length ? response[2] : void 0
2401
- );
2402
- break;
2403
- case "M":
2404
- "string" === typeof response
2405
- ? model.M(response)
2406
- : model.M(response[0], response[1]);
2407
- }
2408
- }
2409
2448
  function createFakeFunction(
2410
2449
  name,
2411
2450
  filename,
@@ -2617,7 +2656,7 @@
2617
2656
  (owner.debugLocation = debugInfo.debugStack));
2618
2657
  }
2619
2658
  }
2620
- function resolveDebugInfo(response, id, debugInfo) {
2659
+ function initializeDebugInfo(response, debugInfo) {
2621
2660
  void 0 !== debugInfo.stack && initializeFakeTask(response, debugInfo);
2622
2661
  null == debugInfo.owner && null != response._debugRootOwner
2623
2662
  ? ((debugInfo.owner = response._debugRootOwner),
@@ -2626,8 +2665,7 @@
2626
2665
  (debugInfo.debugTask = response._debugRootTask))
2627
2666
  : void 0 !== debugInfo.stack &&
2628
2667
  initializeFakeStack(response, debugInfo);
2629
- response = getChunk(response, id);
2630
- (response._debugInfo || (response._debugInfo = [])).push(debugInfo);
2668
+ return debugInfo;
2631
2669
  }
2632
2670
  function getCurrentStackInDEV() {
2633
2671
  var owner = currentOwnerInDEV;
@@ -2684,22 +2722,37 @@
2684
2722
  }
2685
2723
  return JSCompiler_inline_result$jscomp$0;
2686
2724
  }
2687
- function resolveConsoleEntry(response, value) {
2725
+ function resolveConsoleEntry(response, json) {
2688
2726
  if (response._replayConsole) {
2689
- var payload = JSON.parse(value, response._fromJSON);
2690
- value = payload[0];
2691
- var stackTrace = payload[1],
2692
- owner = payload[2],
2693
- env = payload[3];
2694
- payload = payload.slice(4);
2695
- replayConsoleWithCallStackInDEV(
2696
- response,
2697
- value,
2698
- stackTrace,
2699
- owner,
2700
- env,
2701
- payload
2702
- );
2727
+ var blockedChunk = response._blockedConsole;
2728
+ if (null == blockedChunk)
2729
+ (blockedChunk = createResolvedModelChunk(response, json)),
2730
+ initializeModelChunk(blockedChunk),
2731
+ "fulfilled" === blockedChunk.status
2732
+ ? replayConsoleWithCallStackInDEV(response, blockedChunk.value)
2733
+ : (blockedChunk.then(
2734
+ function (v) {
2735
+ return replayConsoleWithCallStackInDEV(response, v);
2736
+ },
2737
+ function () {}
2738
+ ),
2739
+ (response._blockedConsole = blockedChunk));
2740
+ else {
2741
+ var _chunk4 = createPendingChunk(response);
2742
+ _chunk4.then(
2743
+ function (v) {
2744
+ return replayConsoleWithCallStackInDEV(response, v);
2745
+ },
2746
+ function () {}
2747
+ );
2748
+ response._blockedConsole = _chunk4;
2749
+ var unblock = function () {
2750
+ response._blockedConsole === _chunk4 &&
2751
+ (response._blockedConsole = null);
2752
+ resolveModelChunk(response, _chunk4, json);
2753
+ };
2754
+ blockedChunk.then(unblock, unblock);
2755
+ }
2703
2756
  }
2704
2757
  }
2705
2758
  function mergeBuffer(buffer, lastChunk) {
@@ -2799,33 +2852,89 @@
2799
2852
  resolveModule(response, id, row);
2800
2853
  break;
2801
2854
  case 72:
2802
- resolveHint(response, row[0], row.slice(1));
2855
+ id = row[0];
2856
+ row = row.slice(1);
2857
+ response = JSON.parse(row, response._fromJSON);
2858
+ row = ReactDOMSharedInternals.d;
2859
+ switch (id) {
2860
+ case "D":
2861
+ row.D(response);
2862
+ break;
2863
+ case "C":
2864
+ "string" === typeof response
2865
+ ? row.C(response)
2866
+ : row.C(response[0], response[1]);
2867
+ break;
2868
+ case "L":
2869
+ id = response[0];
2870
+ tag = response[1];
2871
+ 3 === response.length
2872
+ ? row.L(id, tag, response[2])
2873
+ : row.L(id, tag);
2874
+ break;
2875
+ case "m":
2876
+ "string" === typeof response
2877
+ ? row.m(response)
2878
+ : row.m(response[0], response[1]);
2879
+ break;
2880
+ case "X":
2881
+ "string" === typeof response
2882
+ ? row.X(response)
2883
+ : row.X(response[0], response[1]);
2884
+ break;
2885
+ case "S":
2886
+ "string" === typeof response
2887
+ ? row.S(response)
2888
+ : row.S(
2889
+ response[0],
2890
+ 0 === response[1] ? void 0 : response[1],
2891
+ 3 === response.length ? response[2] : void 0
2892
+ );
2893
+ break;
2894
+ case "M":
2895
+ "string" === typeof response
2896
+ ? row.M(response)
2897
+ : row.M(response[0], response[1]);
2898
+ }
2803
2899
  break;
2804
2900
  case 69:
2901
+ tag = response._chunks;
2902
+ var chunk = tag.get(id);
2805
2903
  row = JSON.parse(row);
2806
- tag = resolveErrorDev(response, row);
2807
- tag.digest = row.digest;
2808
- row = response._chunks;
2809
- var chunk = row.get(id);
2904
+ var error = resolveErrorDev(response, row);
2905
+ error.digest = row.digest;
2810
2906
  chunk
2811
- ? triggerErrorOnChunk(response, chunk, tag)
2812
- : row.set(id, new ReactPromise("rejected", null, tag));
2907
+ ? triggerErrorOnChunk(response, chunk, error)
2908
+ : tag.set(id, new ReactPromise("rejected", null, error));
2813
2909
  break;
2814
2910
  case 84:
2815
- resolveText(response, id, row);
2911
+ tag = response._chunks;
2912
+ (chunk = tag.get(id)) && "pending" !== chunk.status
2913
+ ? chunk.reason.enqueueValue(row)
2914
+ : (chunk && releasePendingChunk(response, chunk),
2915
+ tag.set(id, new ReactPromise("fulfilled", row, null)));
2816
2916
  break;
2817
2917
  case 78:
2818
2918
  case 68:
2819
- tag = new ReactPromise("resolved_model", row, response);
2820
- initializeModelChunk(tag);
2821
- "fulfilled" === tag.status
2822
- ? resolveDebugInfo(response, id, tag.value)
2823
- : tag.then(
2824
- function (v) {
2825
- return resolveDebugInfo(response, id, v);
2826
- },
2827
- function () {}
2828
- );
2919
+ id = getChunk(response, id);
2920
+ "fulfilled" !== id.status &&
2921
+ "rejected" !== id.status &&
2922
+ "halted" !== id.status &&
2923
+ "blocked" !== id.status &&
2924
+ "resolved_module" !== id.status &&
2925
+ ((tag = id._debugChunk),
2926
+ (chunk = createResolvedModelChunk(response, row)),
2927
+ (chunk._debugChunk = tag),
2928
+ (id._debugChunk = chunk),
2929
+ initializeDebugChunk(response, id),
2930
+ "blocked" === chunk.status &&
2931
+ void 0 === response._debugChannel &&
2932
+ '"' === row[0] &&
2933
+ "$" === row[1] &&
2934
+ ((row = row.slice(2, row.length - 1).split(":")),
2935
+ (row = parseInt(row[0], 16)),
2936
+ "pending" === getChunk(response, row).status &&
2937
+ (id._debugChunk = null)));
2829
2938
  break;
2830
2939
  case 74:
2831
2940
  case 87:
@@ -2844,12 +2953,28 @@
2844
2953
  startAsyncIterable(response, id, !0);
2845
2954
  break;
2846
2955
  case 67:
2847
- stopStream(response, id, row);
2956
+ (response = response._chunks.get(id)) &&
2957
+ "fulfilled" === response.status &&
2958
+ response.reason.close("" === row ? '"$undefined"' : row);
2848
2959
  break;
2849
2960
  default:
2850
- "" === row
2851
- ? resolveDebugHalt(response, id)
2852
- : resolveModel(response, id, row);
2961
+ if ("" === row) {
2962
+ if (
2963
+ ((row = response._chunks),
2964
+ (tag = row.get(id)) ||
2965
+ row.set(id, (tag = createPendingChunk(response))),
2966
+ "pending" === tag.status || "blocked" === tag.status)
2967
+ )
2968
+ releasePendingChunk(response, tag),
2969
+ (response = tag),
2970
+ (response.status = "halted"),
2971
+ (response.value = null),
2972
+ (response.reason = null);
2973
+ } else
2974
+ (tag = response._chunks),
2975
+ (chunk = tag.get(id))
2976
+ ? resolveModelChunk(response, chunk, row)
2977
+ : tag.set(id, createResolvedModelChunk(response, row));
2853
2978
  }
2854
2979
  }
2855
2980
  function processBinaryChunk(weakResponse, streamState, chunk) {
@@ -2992,7 +3117,7 @@
2992
3117
  validated = initializingHandler;
2993
3118
  initializingHandler = validated.parent;
2994
3119
  if (validated.errored) {
2995
- key = new ReactPromise("rejected", null, validated.value);
3120
+ key = new ReactPromise("rejected", null, validated.reason);
2996
3121
  initializeElement(response, value);
2997
3122
  validated = {
2998
3123
  name: getComponentNameFromType(value.type) || "",
@@ -3168,14 +3293,12 @@
3168
3293
  ),
3169
3294
  currentOwnerInDEV = null,
3170
3295
  replayConsoleWithCallStack = {
3171
- react_stack_bottom_frame: function (
3172
- response,
3173
- methodName,
3174
- stackTrace,
3175
- owner,
3176
- env,
3177
- args
3178
- ) {
3296
+ react_stack_bottom_frame: function (response, payload) {
3297
+ var methodName = payload[0],
3298
+ stackTrace = payload[1],
3299
+ owner = payload[2],
3300
+ env = payload[3];
3301
+ payload = payload.slice(4);
3179
3302
  var prevStack = ReactSharedInternals.getCurrentStack;
3180
3303
  ReactSharedInternals.getCurrentStack = getCurrentStackInDEV;
3181
3304
  currentOwnerInDEV = null === owner ? response._debugRootOwner : owner;
@@ -3189,13 +3312,13 @@
3189
3312
  case "table":
3190
3313
  var JSCompiler_inline_result = bind$1.apply(
3191
3314
  console[methodName],
3192
- [console].concat(args)
3315
+ [console].concat(payload)
3193
3316
  );
3194
3317
  break a;
3195
3318
  case "assert":
3196
3319
  offset = 1;
3197
3320
  }
3198
- var newArgs = args.slice(0);
3321
+ var newArgs = payload.slice(0);
3199
3322
  "string" === typeof newArgs[offset]
3200
3323
  ? newArgs.splice(
3201
3324
  offset,