react-server-dom-webpack 19.0.0-canary-e3ebcd54b-20240405 → 19.0.0-canary-adb717393-20240411

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.
Files changed (38) hide show
  1. package/cjs/react-server-dom-webpack-client.browser.development.js +136 -97
  2. package/cjs/react-server-dom-webpack-client.browser.production.js +106 -65
  3. package/cjs/react-server-dom-webpack-client.browser.production.min.js +24 -23
  4. package/cjs/react-server-dom-webpack-client.browser.production.min.js.map +1 -1
  5. package/cjs/react-server-dom-webpack-client.edge.development.js +144 -105
  6. package/cjs/react-server-dom-webpack-client.edge.production.js +114 -73
  7. package/cjs/react-server-dom-webpack-client.edge.production.min.js +24 -23
  8. package/cjs/react-server-dom-webpack-client.edge.production.min.js.map +1 -1
  9. package/cjs/react-server-dom-webpack-client.node.development.js +144 -105
  10. package/cjs/react-server-dom-webpack-client.node.production.js +114 -73
  11. package/cjs/react-server-dom-webpack-client.node.production.min.js +26 -25
  12. package/cjs/react-server-dom-webpack-client.node.production.min.js.map +1 -1
  13. package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +144 -105
  14. package/cjs/react-server-dom-webpack-client.node.unbundled.production.js +114 -73
  15. package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +33 -32
  16. package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js.map +1 -1
  17. package/cjs/react-server-dom-webpack-node-register.js.map +1 -1
  18. package/cjs/react-server-dom-webpack-server.browser.development.js +349 -56
  19. package/cjs/react-server-dom-webpack-server.browser.production.js +93 -36
  20. package/cjs/react-server-dom-webpack-server.browser.production.min.js +68 -68
  21. package/cjs/react-server-dom-webpack-server.browser.production.min.js.map +1 -1
  22. package/cjs/react-server-dom-webpack-server.edge.development.js +349 -56
  23. package/cjs/react-server-dom-webpack-server.edge.production.js +93 -36
  24. package/cjs/react-server-dom-webpack-server.edge.production.min.js +58 -58
  25. package/cjs/react-server-dom-webpack-server.edge.production.min.js.map +1 -1
  26. package/cjs/react-server-dom-webpack-server.node.development.js +349 -56
  27. package/cjs/react-server-dom-webpack-server.node.production.js +93 -36
  28. package/cjs/react-server-dom-webpack-server.node.production.min.js +56 -56
  29. package/cjs/react-server-dom-webpack-server.node.production.min.js.map +1 -1
  30. package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +349 -56
  31. package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +93 -36
  32. package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +53 -53
  33. package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js.map +1 -1
  34. package/package.json +3 -3
  35. package/umd/react-server-dom-webpack-client.browser.development.js +136 -97
  36. package/umd/react-server-dom-webpack-client.browser.production.min.js +25 -25
  37. package/umd/react-server-dom-webpack-server.browser.development.js +349 -56
  38. package/umd/react-server-dom-webpack-server.browser.production.min.js +54 -54
@@ -241,19 +241,21 @@
241
241
  return __webpack_chunk_load__(chunkId);
242
242
  }
243
243
 
244
- var ReactDOMSharedInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
244
+ var ReactDOMSharedInternals = ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
245
245
 
246
246
  // This client file is in the shared folder because it applies to both SSR and browser contexts.
247
- var ReactDOMCurrentDispatcher = ReactDOMSharedInternals.ReactDOMCurrentDispatcher;
248
247
  function dispatchHint(code, model) {
249
- var dispatcher = ReactDOMCurrentDispatcher.current;
248
+ var dispatcher = ReactDOMSharedInternals.d;
249
+ /* ReactDOMCurrentDispatcher */
250
250
 
251
251
  switch (code) {
252
252
  case 'D':
253
253
  {
254
254
  var refined = refineModel(code, model);
255
255
  var href = refined;
256
- dispatcher.prefetchDNS(href);
256
+ dispatcher.D(
257
+ /* prefetchDNS */
258
+ href);
257
259
  return;
258
260
  }
259
261
 
@@ -263,11 +265,15 @@
263
265
 
264
266
  if (typeof _refined === 'string') {
265
267
  var _href = _refined;
266
- dispatcher.preconnect(_href);
268
+ dispatcher.C(
269
+ /* preconnect */
270
+ _href);
267
271
  } else {
268
272
  var _href2 = _refined[0];
269
273
  var crossOrigin = _refined[1];
270
- dispatcher.preconnect(_href2, crossOrigin);
274
+ dispatcher.C(
275
+ /* preconnect */
276
+ _href2, crossOrigin);
271
277
  }
272
278
 
273
279
  return;
@@ -282,9 +288,13 @@
282
288
 
283
289
  if (_refined2.length === 3) {
284
290
  var options = _refined2[2];
285
- dispatcher.preload(_href3, as, options);
291
+ dispatcher.L(
292
+ /* preload */
293
+ _href3, as, options);
286
294
  } else {
287
- dispatcher.preload(_href3, as);
295
+ dispatcher.L(
296
+ /* preload */
297
+ _href3, as);
288
298
  }
289
299
 
290
300
  return;
@@ -296,46 +306,58 @@
296
306
 
297
307
  if (typeof _refined3 === 'string') {
298
308
  var _href4 = _refined3;
299
- dispatcher.preloadModule(_href4);
309
+ dispatcher.m(
310
+ /* preloadModule */
311
+ _href4);
300
312
  } else {
301
313
  var _href5 = _refined3[0];
302
314
  var _options = _refined3[1];
303
- dispatcher.preloadModule(_href5, _options);
315
+ dispatcher.m(
316
+ /* preloadModule */
317
+ _href5, _options);
304
318
  }
305
319
 
306
320
  return;
307
321
  }
308
322
 
309
- case 'S':
323
+ case 'X':
310
324
  {
311
325
  var _refined4 = refineModel(code, model);
312
326
 
313
327
  if (typeof _refined4 === 'string') {
314
328
  var _href6 = _refined4;
315
- dispatcher.preinitStyle(_href6);
329
+ dispatcher.X(
330
+ /* preinitScript */
331
+ _href6);
316
332
  } else {
317
333
  var _href7 = _refined4[0];
318
- var precedence = _refined4[1] === 0 ? undefined : _refined4[1];
319
-
320
- var _options2 = _refined4.length === 3 ? _refined4[2] : undefined;
321
-
322
- dispatcher.preinitStyle(_href7, precedence, _options2);
334
+ var _options2 = _refined4[1];
335
+ dispatcher.X(
336
+ /* preinitScript */
337
+ _href7, _options2);
323
338
  }
324
339
 
325
340
  return;
326
341
  }
327
342
 
328
- case 'X':
343
+ case 'S':
329
344
  {
330
345
  var _refined5 = refineModel(code, model);
331
346
 
332
347
  if (typeof _refined5 === 'string') {
333
348
  var _href8 = _refined5;
334
- dispatcher.preinitScript(_href8);
349
+ dispatcher.S(
350
+ /* preinitStyle */
351
+ _href8);
335
352
  } else {
336
353
  var _href9 = _refined5[0];
337
- var _options3 = _refined5[1];
338
- dispatcher.preinitScript(_href9, _options3);
354
+ var precedence = _refined5[1] === 0 ? undefined : _refined5[1];
355
+
356
+ var _options3 = _refined5.length === 3 ? _refined5[2] : undefined;
357
+
358
+ dispatcher.S(
359
+ /* preinitStyle */
360
+ _href9, precedence, _options3);
339
361
  }
340
362
 
341
363
  return;
@@ -347,11 +369,15 @@
347
369
 
348
370
  if (typeof _refined6 === 'string') {
349
371
  var _href10 = _refined6;
350
- dispatcher.preinitModuleScript(_href10);
372
+ dispatcher.M(
373
+ /* preinitModuleScript */
374
+ _href10);
351
375
  } else {
352
376
  var _href11 = _refined6[0];
353
377
  var _options4 = _refined6[1];
354
- dispatcher.preinitModuleScript(_href11, _options4);
378
+ dispatcher.M(
379
+ /* preinitModuleScript */
380
+ _href11, _options4);
355
381
  }
356
382
 
357
383
  return;
@@ -364,7 +390,7 @@
364
390
  return model;
365
391
  }
366
392
 
367
- var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
393
+ var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
368
394
 
369
395
  function error(format) {
370
396
  {
@@ -382,8 +408,7 @@
382
408
  // When changing this logic, you might want to also
383
409
  // update consoleWithStackDev.www.js as well.
384
410
  {
385
- var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
386
- var stack = ReactDebugCurrentFrame.getStackAddendum();
411
+ var stack = ReactSharedInternals.getStackAddendum();
387
412
 
388
413
  if (stack !== '') {
389
414
  format += '%s';
@@ -1500,7 +1525,8 @@
1500
1525
  }
1501
1526
  }
1502
1527
 
1503
- function createElement(type, key, props) {
1528
+ function createElement(type, key, props, owner) // DEV-only
1529
+ {
1504
1530
  var element;
1505
1531
 
1506
1532
  {
@@ -1510,7 +1536,7 @@
1510
1536
  type: type,
1511
1537
  key: key,
1512
1538
  props: props,
1513
- _owner: null
1539
+ _owner: owner
1514
1540
  };
1515
1541
  Object.defineProperty(element, 'ref', {
1516
1542
  enumerable: false,
@@ -1570,7 +1596,7 @@
1570
1596
  return chunk;
1571
1597
  }
1572
1598
 
1573
- function createModelResolver(chunk, parentObject, key, cyclic) {
1599
+ function createModelResolver(chunk, parentObject, key, cyclic, response, map) {
1574
1600
  var blocked;
1575
1601
 
1576
1602
  if (initializingChunkBlockedModel) {
@@ -1587,11 +1613,11 @@
1587
1613
  }
1588
1614
 
1589
1615
  return function (value) {
1590
- parentObject[key] = value; // If this is the root object for a model reference, where `blocked.value`
1616
+ parentObject[key] = map(response, value); // If this is the root object for a model reference, where `blocked.value`
1591
1617
  // is a stale `null`, the resolved value can be used directly.
1592
1618
 
1593
1619
  if (key === '' && blocked.value === null) {
1594
- blocked.value = value;
1620
+ blocked.value = parentObject[key];
1595
1621
  }
1596
1622
 
1597
1623
  blocked.deps--;
@@ -1647,28 +1673,80 @@
1647
1673
  return proxy;
1648
1674
  }
1649
1675
 
1650
- function getOutlinedModel(response, id) {
1676
+ function getOutlinedModel(response, id, parentObject, key, map) {
1651
1677
  var chunk = getChunk(response, id);
1652
1678
 
1653
1679
  switch (chunk.status) {
1654
1680
  case RESOLVED_MODEL:
1655
1681
  initializeModelChunk(chunk);
1656
1682
  break;
1683
+
1684
+ case RESOLVED_MODULE:
1685
+ initializeModuleChunk(chunk);
1686
+ break;
1657
1687
  } // The status might have changed after initialization.
1658
1688
 
1659
1689
 
1660
1690
  switch (chunk.status) {
1661
1691
  case INITIALIZED:
1662
- {
1663
- return chunk.value;
1692
+ var chunkValue = map(response, chunk.value);
1693
+
1694
+ if (chunk._debugInfo) {
1695
+ // If we have a direct reference to an object that was rendered by a synchronous
1696
+ // server component, it might have some debug info about how it was rendered.
1697
+ // We forward this to the underlying object. This might be a React Element or
1698
+ // an Array fragment.
1699
+ // If this was a string / number return value we lose the debug info. We choose
1700
+ // that tradeoff to allow sync server components to return plain values and not
1701
+ // use them as React Nodes necessarily. We could otherwise wrap them in a Lazy.
1702
+ if (typeof chunkValue === 'object' && chunkValue !== null && (Array.isArray(chunkValue) || chunkValue.$$typeof === REACT_ELEMENT_TYPE) && !chunkValue._debugInfo) {
1703
+ // We should maybe use a unique symbol for arrays but this is a React owned array.
1704
+ // $FlowFixMe[prop-missing]: This should be added to elements.
1705
+ Object.defineProperty(chunkValue, '_debugInfo', {
1706
+ configurable: false,
1707
+ enumerable: false,
1708
+ writable: true,
1709
+ value: chunk._debugInfo
1710
+ });
1711
+ }
1664
1712
  }
1665
- // We always encode it first in the stream so it won't be pending.
1713
+
1714
+ return chunkValue;
1715
+
1716
+ case PENDING:
1717
+ case BLOCKED:
1718
+ case CYCLIC:
1719
+ var parentChunk = initializingChunk;
1720
+ chunk.then(createModelResolver(parentChunk, parentObject, key, chunk.status === CYCLIC, response, map), createModelReject(parentChunk));
1721
+ return null;
1666
1722
 
1667
1723
  default:
1668
1724
  throw chunk.reason;
1669
1725
  }
1670
1726
  }
1671
1727
 
1728
+ function createMap(response, model) {
1729
+ return new Map(model);
1730
+ }
1731
+
1732
+ function createSet(response, model) {
1733
+ return new Set(model);
1734
+ }
1735
+
1736
+ function createFormData(response, model) {
1737
+ var formData = new FormData();
1738
+
1739
+ for (var i = 0; i < model.length; i++) {
1740
+ formData.append(model[i][0], model[i][1]);
1741
+ }
1742
+
1743
+ return formData;
1744
+ }
1745
+
1746
+ function createModel(response, model) {
1747
+ return model;
1748
+ }
1749
+
1672
1750
  function parseModelString(response, parentObject, key, value) {
1673
1751
  if (value[0] === '$') {
1674
1752
  if (value === '$') {
@@ -1719,8 +1797,7 @@
1719
1797
  // Server Reference
1720
1798
  var _id2 = parseInt(value.slice(2), 16);
1721
1799
 
1722
- var metadata = getOutlinedModel(response, _id2);
1723
- return createServerReferenceProxy(response, metadata);
1800
+ return getOutlinedModel(response, _id2, parentObject, key, createServerReferenceProxy);
1724
1801
  }
1725
1802
 
1726
1803
  case 'T':
@@ -1742,8 +1819,7 @@
1742
1819
  // Map
1743
1820
  var _id4 = parseInt(value.slice(2), 16);
1744
1821
 
1745
- var data = getOutlinedModel(response, _id4);
1746
- return new Map(data);
1822
+ return getOutlinedModel(response, _id4, parentObject, key, createMap);
1747
1823
  }
1748
1824
 
1749
1825
  case 'W':
@@ -1751,9 +1827,21 @@
1751
1827
  // Set
1752
1828
  var _id5 = parseInt(value.slice(2), 16);
1753
1829
 
1754
- var _data = getOutlinedModel(response, _id5);
1830
+ return getOutlinedModel(response, _id5, parentObject, key, createSet);
1831
+ }
1832
+
1833
+ case 'B':
1834
+ {
1755
1835
 
1756
- return new Set(_data);
1836
+ return undefined;
1837
+ }
1838
+
1839
+ case 'K':
1840
+ {
1841
+ // FormData
1842
+ var _id7 = parseInt(value.slice(2), 16);
1843
+
1844
+ return getOutlinedModel(response, _id7, parentObject, key, createFormData);
1757
1845
  }
1758
1846
 
1759
1847
  case 'I':
@@ -1817,59 +1905,9 @@
1817
1905
  default:
1818
1906
  {
1819
1907
  // We assume that anything else is a reference ID.
1820
- var _id6 = parseInt(value.slice(1), 16);
1821
-
1822
- var _chunk2 = getChunk(response, _id6);
1823
-
1824
- switch (_chunk2.status) {
1825
- case RESOLVED_MODEL:
1826
- initializeModelChunk(_chunk2);
1827
- break;
1828
-
1829
- case RESOLVED_MODULE:
1830
- initializeModuleChunk(_chunk2);
1831
- break;
1832
- } // The status might have changed after initialization.
1833
-
1834
-
1835
- switch (_chunk2.status) {
1836
- case INITIALIZED:
1837
- var chunkValue = _chunk2.value;
1838
-
1839
- if (_chunk2._debugInfo) {
1840
- // If we have a direct reference to an object that was rendered by a synchronous
1841
- // server component, it might have some debug info about how it was rendered.
1842
- // We forward this to the underlying object. This might be a React Element or
1843
- // an Array fragment.
1844
- // If this was a string / number return value we lose the debug info. We choose
1845
- // that tradeoff to allow sync server components to return plain values and not
1846
- // use them as React Nodes necessarily. We could otherwise wrap them in a Lazy.
1847
- if (typeof chunkValue === 'object' && chunkValue !== null && (Array.isArray(chunkValue) || chunkValue.$$typeof === REACT_ELEMENT_TYPE) && !chunkValue._debugInfo) {
1848
- // We should maybe use a unique symbol for arrays but this is a React owned array.
1849
- // $FlowFixMe[prop-missing]: This should be added to elements.
1850
- Object.defineProperty(chunkValue, '_debugInfo', {
1851
- configurable: false,
1852
- enumerable: false,
1853
- writable: true,
1854
- value: _chunk2._debugInfo
1855
- });
1856
- }
1857
- }
1908
+ var _id8 = parseInt(value.slice(1), 16);
1858
1909
 
1859
- return chunkValue;
1860
-
1861
- case PENDING:
1862
- case BLOCKED:
1863
- case CYCLIC:
1864
- var parentChunk = initializingChunk;
1865
-
1866
- _chunk2.then(createModelResolver(parentChunk, parentObject, key, _chunk2.status === CYCLIC), createModelReject(parentChunk));
1867
-
1868
- return null;
1869
-
1870
- default:
1871
- throw _chunk2.reason;
1872
- }
1910
+ return getOutlinedModel(response, _id8, parentObject, key, createModel);
1873
1911
  }
1874
1912
  }
1875
1913
  }
@@ -1883,7 +1921,7 @@
1883
1921
  if (tuple[0] === REACT_ELEMENT_TYPE) {
1884
1922
  // TODO: Consider having React just directly accept these arrays as elements.
1885
1923
  // Or even change the ReactElement type to be an array.
1886
- return createElement(tuple[1], tuple[2], tuple[3]);
1924
+ return createElement(tuple[1], tuple[2], tuple[3], tuple[4] );
1887
1925
  }
1888
1926
 
1889
1927
  return value;
@@ -2009,9 +2047,10 @@
2009
2047
  var payload = parseModel(response, value);
2010
2048
  var methodName = payload[0]; // TODO: Restore the fake stack before logging.
2011
2049
  // const stackTrace = payload[1];
2050
+ // const owner = payload[2];
2012
2051
 
2013
- var env = payload[2];
2014
- var args = payload.slice(3);
2052
+ var env = payload[3];
2053
+ var args = payload.slice(4);
2015
2054
  printToConsole(methodName, args, env);
2016
2055
  }
2017
2056
 
@@ -2070,7 +2109,7 @@
2070
2109
  :
2071
2110
  {
2072
2111
  {
2073
- var debugInfo = JSON.parse(row);
2112
+ var debugInfo = parseModel(response, row);
2074
2113
  resolveDebugInfo(response, id, debugInfo);
2075
2114
  return;
2076
2115
  } // Fallthrough to share the error with Console entries.
@@ -8,28 +8,28 @@
8
8
  * LICENSE file in the root directory of this source tree.
9
9
  */
10
10
 
11
- 'use strict';(function(){(function(t,z){"object"===typeof exports&&"undefined"!==typeof module?z(exports,require("react-dom")):"function"===typeof define&&define.amd?define(["exports","react-dom"],z):(t="undefined"!==typeof globalThis?globalThis:t||self,z(t.ReactServerDOMClient={},t.ReactDOM))})(this,function(t,z){function X(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');
12
- c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}function O(a){var b=__webpack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function Y(){}function Z(a){for(var b=a[1],c=[],e=0;e<b.length;){var k=b[e++],h=b[e++],m=E.get(k);void 0===m?(P.set(k,h),h=__webpack_chunk_load__(k),c.push(h),m=E.set.bind(E,k,null),h.then(m,Y),E.set(k,h)):null!==
13
- m&&c.push(m)}return 4===a.length?0===c.length?O(a[0]):Promise.all(c).then(function(){return O(a[0])}):0<c.length?Promise.all(c):null}function aa(a){if(null===a||"object"!==typeof a)return null;a=Q&&a[Q]||a["@@iterator"];return"function"===typeof a?a:null}function F(a,b){var c=a.length;a.push(b);return c}function ba(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}function ca(a,b,c,e,k){function h(q,d){if(null===d)return null;if("object"===
14
- typeof d){switch(d.$$typeof){case G:if(void 0===c)throw Error("React Element cannot be passed to Server Functions from the Client without a temporary reference set. Pass a TemporaryReferenceSet to the options.");return"$T"+F(c,d).toString(16);case R:q=d._payload;var f=d._init;null===l&&(l=new FormData);g++;try{var p=f(q),n=m++,u=JSON.stringify(p,h);l.append(b+n,u);return"$"+n.toString(16)}catch(r){if("object"===typeof r&&null!==r&&"function"===typeof r.then){g++;var A=m++;p=function(){try{var B=JSON.stringify(d,
15
- h),H=l;H.append(b+A,B);g--;0===g&&e(H)}catch(da){k(da)}};r.then(p,p);return"$"+A.toString(16)}k(r);return null}finally{g--}}if("function"===typeof d.then){null===l&&(l=new FormData);g++;var x=m++;d.then(function(r){try{var B=JSON.stringify(r,h);r=l;r.append(b+x,B);g--;0===g&&e(r)}catch(H){k(H)}},function(r){k(r)});return"$@"+x.toString(16)}if(ea(d))return d;if(d instanceof FormData){null===l&&(l=new FormData);var fa=l;p=m++;var ha=b+p+"_";d.forEach(function(r,B){fa.append(ha+B,r)});return"$K"+p.toString(16)}if(d instanceof
16
- Map)return p=JSON.stringify(Array.from(d),h),null===l&&(l=new FormData),n=m++,l.append(b+n,p),"$Q"+n.toString(16);if(d instanceof Set)return p=JSON.stringify(Array.from(d),h),null===l&&(l=new FormData),n=m++,l.append(b+n,p),"$W"+n.toString(16);if(aa(d))return Array.from(d);p=S(d);if(p!==ia&&(null===p||null!==S(p))){if(void 0===c)throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return"$T"+F(c,d).toString(16)}return d}if("string"===
17
- typeof d){if("Z"===d[d.length-1]&&this[q]instanceof Date)return"$D"+d;p="$"===d[0]?"$"+d:d;return p}if("boolean"===typeof d)return d;if("number"===typeof d)return ba(d);if("undefined"===typeof d)return"$undefined";if("function"===typeof d){p=L.get(d);if(void 0!==p)return p=JSON.stringify(p,h),null===l&&(l=new FormData),n=m++,l.set(b+n,p),"$F"+n.toString(16);if(void 0===c)throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");
18
- return"$T"+F(c,d).toString(16)}if("symbol"===typeof d){if(void 0===c)throw Error("Symbols cannot be passed to a Server Function without a temporary reference set. Pass a TemporaryReferenceSet to the options.");return"$T"+F(c,d).toString(16)}if("bigint"===typeof d)return"$n"+d.toString(10);throw Error("Type "+typeof d+" is not supported as an argument to a Server Function.");}var m=1,g=0,l=null;a=JSON.stringify(a,h);null===l?e(a):(l.set(b+"0",a),0===g&&e(l))}function ja(a,b,c){L.set(a,b)}function w(a,
19
- b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}function ka(a){switch(a.status){case "resolved_model":C(a);break;case "resolved_module":I(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function D(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function T(a,b,c){switch(a.status){case "fulfilled":D(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&D(c,
20
- a.reason)}}function J(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&D(c,b)}}function U(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,e=a.reason;a.status="resolved_module";a.value=b;null!==c&&(I(a),T(a,c,e))}}function C(a){var b=K,c=v;K=a;v=null;var e=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var k=JSON.parse(e,a._response._fromJSON);if(null!==v&&0<v.deps)v.value=k,a.status="blocked",a.value=null,a.reason=
21
- null;else{var h=a.value;a.status="fulfilled";a.value=k;null!==h&&D(h,k)}}catch(m){a.status="rejected",a.reason=m}finally{K=b,v=c}}function I(a){try{var b=a.value,c=__webpack_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var e="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=e}catch(k){a.status="rejected",a.reason=k}}function M(a,b){a._chunks.forEach(function(c){"pending"===c.status&&J(c,b)})}
22
- function y(a,b){var c=a._chunks,e=c.get(b);e||(e=new w("pending",null,null,a),c.set(b,e));return e}function la(a,b,c,e){if(v){var k=v;e||k.deps++}else k=v={deps:e?0:1,value:null};return function(h){b[c]=h;""===c&&null===k.value&&(k.value=h);k.deps--;0===k.deps&&"blocked"===a.status&&(h=a.value,a.status="fulfilled",a.value=k.value,null!==h&&D(h,k.value))}}function ma(a){return function(b){return J(a,b)}}function na(a,b){var c=a._callServer;a=function(){var e=Array.prototype.slice.call(arguments),k=
23
- b.bound;return k?"fulfilled"===k.status?c(b.id,k.value.concat(e)):Promise.resolve(k).then(function(h){return c(b.id,h.concat(e))}):c(b.id,e)};L.set(a,b);return a}function N(a,b){a=y(a,b);switch(a.status){case "resolved_model":C(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}}function oa(a,b,c,e){if("$"===e[0]){if("$"===e)return G;switch(e[1]){case "$":return e.slice(1);case "L":return b=parseInt(e.slice(2),16),a=y(a,b),{$$typeof:R,_payload:a,_init:ka};case "@":if(2===
24
- e.length)return new Promise(function(){});b=parseInt(e.slice(2),16);return y(a,b);case "S":return Symbol.for(e.slice(2));case "F":return b=parseInt(e.slice(2),16),b=N(a,b),na(a,b);case "T":b=parseInt(e.slice(2),16);a=a._tempRefs;if(null==a)throw Error("Missing a temporary reference set but the RSC response returned a temporary reference. Pass a temporaryReference option with the set that was used with the reply.");if(0>b||b>=a.length)throw Error("The RSC response contained a reference that doesn't exist in the temporary reference set. Always pass the matching set that was used to create the reply when parsing its response.");
25
- return a[b];case "Q":return b=parseInt(e.slice(2),16),a=N(a,b),new Map(a);case "W":return b=parseInt(e.slice(2),16),a=N(a,b),new Set(a);case "I":return Infinity;case "-":return"$-0"===e?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(e.slice(2)));case "n":return BigInt(e.slice(2));default:e=parseInt(e.slice(1),16);a=y(a,e);switch(a.status){case "resolved_model":C(a);break;case "resolved_module":I(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":return e=
26
- K,a.then(la(e,b,c,"cyclic"===a.status),ma(e)),null;default:throw a.reason;}}}return e}function pa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function qa(a,b,c){var e=a._chunks,k=e.get(b);c=JSON.parse(c,a._fromJSON);var h=X(a._bundlerConfig,c);if(c=Z(h)){if(k){var m=k;m.status="blocked"}else m=new w("blocked",null,null,a),e.set(b,m);c.then(function(){return U(m,h)},function(g){return J(m,g)})}else k?U(k,h):e.set(b,
27
- new w("resolved_module",h,null,a))}function ra(a){return function(b,c){return"string"===typeof c?oa(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===G?{$$typeof:G,type:c[1],key:c[2],ref:null,props:c[3]}:c,b):c}}function V(a){var b=a&&a.callServer?a.callServer:void 0;a=a&&a.temporaryReferences?a.temporaryReferences:void 0;var c=new Map;b={_bundlerConfig:null,_moduleLoading:null,_callServer:void 0!==b?b:pa,_encodeFormAction:void 0,_nonce:void 0,_chunks:c,_stringDecoder:new TextDecoder,_fromJSON:null,
28
- _rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[],_tempRefs:a};b._fromJSON=ra(b);return b}function W(a,b){function c(h){var m=h.value;if(h.done)M(a,Error("Connection closed."));else{var g=0,l=a._rowState,q=a._rowID,d=a._rowTag,f=a._rowLength;h=a._buffer;for(var p=m.length;g<p;){var n=-1;switch(l){case 0:n=m[g++];58===n?l=1:q=q<<4|(96<n?n-87:n-48);continue;case 1:l=m[g];84===l?(d=l,l=2,g++):64<l&&91>l?(d=l,l=3,g++):(d=0,l=3);continue;case 2:n=m[g++];44===n?l=4:f=f<<4|(96<n?n-87:n-48);continue;
29
- case 3:n=m.indexOf(10,g);break;case 4:n=g+f,n>m.length&&(n=-1)}var u=m.byteOffset+g;if(-1<n){g=new Uint8Array(m.buffer,u,n-g);f=a;u=d;var A=f._stringDecoder;d="";for(var x=0;x<h.length;x++)d+=A.decode(h[x],sa);d+=A.decode(g);switch(u){case 73:qa(f,q,d);break;case 72:q=d[0];d=d.slice(1);f=JSON.parse(d,f._fromJSON);d=ta.current;switch(q){case "D":d.prefetchDNS(f);break;case "C":"string"===typeof f?d.preconnect(f):d.preconnect(f[0],f[1]);break;case "L":q=f[0];g=f[1];3===f.length?d.preload(q,g,f[2]):
30
- d.preload(q,g);break;case "m":"string"===typeof f?d.preloadModule(f):d.preloadModule(f[0],f[1]);break;case "S":"string"===typeof f?d.preinitStyle(f):d.preinitStyle(f[0],0===f[1]?void 0:f[1],3===f.length?f[2]:void 0);break;case "X":"string"===typeof f?d.preinitScript(f):d.preinitScript(f[0],f[1]);break;case "M":"string"===typeof f?d.preinitModuleScript(f):d.preinitModuleScript(f[0],f[1])}break;case 69:d=JSON.parse(d);g=d.digest;d=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");
31
- d.stack="Error: "+d.message;d.digest=g;g=f._chunks;(u=g.get(q))?J(u,d):g.set(q,new w("rejected",null,d,f));break;case 84:f._chunks.set(q,new w("fulfilled",d,null,f));break;case 68:case 87:throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");default:g=f._chunks,(u=g.get(q))?(f=u,q=d,"pending"===f.status&&(d=f.value,g=f.reason,f.status="resolved_model",
32
- f.value=q,null!==d&&(C(f),T(f,d,g)))):g.set(q,new w("resolved_model",d,null,f))}g=n;3===l&&g++;f=q=d=l=0;h.length=0}else{m=new Uint8Array(m.buffer,u,m.byteLength-g);h.push(m);f-=m.byteLength;break}}a._rowState=l;a._rowID=q;a._rowTag=d;a._rowLength=f;return k.read().then(c).catch(e)}}function e(h){M(a,h)}var k=b.getReader();k.read().then(c).catch(e)}var sa={stream:!0},E=new Map,P=new Map,ua=__webpack_require__.u;__webpack_require__.u=function(a){var b=P.get(a);return void 0!==b?b:ua(a)};var ta=z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDOMCurrentDispatcher,
33
- G=Symbol.for("react.element"),R=Symbol.for("react.lazy"),Q=Symbol.iterator,ea=Array.isArray,S=Object.getPrototypeOf,ia=Object.prototype,L=new WeakMap;w.prototype=Object.create(Promise.prototype);w.prototype.then=function(a,b){switch(this.status){case "resolved_model":C(this);break;case "resolved_module":I(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=
34
- []),this.reason.push(b));break;default:b(this.reason)}};var K=null,v=null;t.createFromFetch=function(a,b){var c=V(b);a.then(function(e){W(c,e.body)},function(e){M(c,e)});return y(c,0)};t.createFromReadableStream=function(a,b){b=V(b);W(b,a);return y(b,0)};t.createServerReference=function(a,b,c){c=function(){var e=Array.prototype.slice.call(arguments);return b(a,e)};ja(c,{id:a,bound:null});return c};t.createTemporaryReferenceSet=function(){return[]};t.encodeReply=function(a,b){return new Promise(function(c,
35
- e){ca(a,"",b&&b.temporaryReferences?b.temporaryReferences:void 0,c,e)})}})})();
11
+ 'use strict';(function(){(function(t,y){"object"===typeof exports&&"undefined"!==typeof module?y(exports,require("react-dom")):"function"===typeof define&&define.amd?define(["exports","react-dom"],y):(t="undefined"!==typeof globalThis?globalThis:t||self,y(t.ReactServerDOMClient={},t.ReactDOM))})(this,function(t,y){function X(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');
12
+ c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}function O(a){var b=__webpack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function Y(){}function Z(a){for(var b=a[1],c=[],e=0;e<b.length;){var m=b[e++],k=b[e++],h=E.get(m);void 0===h?(P.set(m,k),k=__webpack_chunk_load__(m),c.push(k),h=E.set.bind(E,m,null),k.then(h,Y),E.set(m,k)):null!==
13
+ h&&c.push(h)}return 4===a.length?0===c.length?O(a[0]):Promise.all(c).then(function(){return O(a[0])}):0<c.length?Promise.all(c):null}function aa(a){if(null===a||"object"!==typeof a)return null;a=Q&&a[Q]||a["@@iterator"];return"function"===typeof a?a:null}function F(a,b){var c=a.length;a.push(b);return c}function ba(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}function ca(a,b,c,e,m){function k(q,d){if(null===d)return null;if("object"===
14
+ typeof d){switch(d.$$typeof){case G:if(void 0===c)throw Error("React Element cannot be passed to Server Functions from the Client without a temporary reference set. Pass a TemporaryReferenceSet to the options.");return"$T"+F(c,d).toString(16);case R:q=d._payload;var f=d._init;null===l&&(l=new FormData);g++;try{var p=f(q),n=h++,u=JSON.stringify(p,k);l.append(b+n,u);return"$"+n.toString(16)}catch(r){if("object"===typeof r&&null!==r&&"function"===typeof r.then){g++;var z=h++;p=function(){try{var A=JSON.stringify(d,
15
+ k),H=l;H.append(b+z,A);g--;0===g&&e(H)}catch(da){m(da)}};r.then(p,p);return"$"+z.toString(16)}m(r);return null}finally{g--}}if("function"===typeof d.then){null===l&&(l=new FormData);g++;var x=h++;d.then(function(r){try{var A=JSON.stringify(r,k);r=l;r.append(b+x,A);g--;0===g&&e(r)}catch(H){m(H)}},function(r){m(r)});return"$@"+x.toString(16)}if(ea(d))return d;if(d instanceof FormData){null===l&&(l=new FormData);var fa=l;p=h++;var ha=b+p+"_";d.forEach(function(r,A){fa.append(ha+A,r)});return"$K"+p.toString(16)}if(d instanceof
16
+ Map)return p=JSON.stringify(Array.from(d),k),null===l&&(l=new FormData),n=h++,l.append(b+n,p),"$Q"+n.toString(16);if(d instanceof Set)return p=JSON.stringify(Array.from(d),k),null===l&&(l=new FormData),n=h++,l.append(b+n,p),"$W"+n.toString(16);if(aa(d))return Array.from(d);p=S(d);if(p!==ia&&(null===p||null!==S(p))){if(void 0===c)throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return"$T"+F(c,d).toString(16)}return d}if("string"===
17
+ typeof d){if("Z"===d[d.length-1]&&this[q]instanceof Date)return"$D"+d;p="$"===d[0]?"$"+d:d;return p}if("boolean"===typeof d)return d;if("number"===typeof d)return ba(d);if("undefined"===typeof d)return"$undefined";if("function"===typeof d){p=M.get(d);if(void 0!==p)return p=JSON.stringify(p,k),null===l&&(l=new FormData),n=h++,l.set(b+n,p),"$F"+n.toString(16);if(void 0===c)throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");
18
+ return"$T"+F(c,d).toString(16)}if("symbol"===typeof d){if(void 0===c)throw Error("Symbols cannot be passed to a Server Function without a temporary reference set. Pass a TemporaryReferenceSet to the options.");return"$T"+F(c,d).toString(16)}if("bigint"===typeof d)return"$n"+d.toString(10);throw Error("Type "+typeof d+" is not supported as an argument to a Server Function.");}var h=1,g=0,l=null;a=JSON.stringify(a,k);null===l?e(a):(l.set(b+"0",a),0===g&&e(l))}function ja(a,b,c){M.set(a,b)}function w(a,
19
+ b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}function ka(a){switch(a.status){case "resolved_model":I(a);break;case "resolved_module":J(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function B(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function T(a,b,c){switch(a.status){case "fulfilled":B(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&B(c,
20
+ a.reason)}}function K(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&B(c,b)}}function U(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,e=a.reason;a.status="resolved_module";a.value=b;null!==c&&(J(a),T(a,c,e))}}function I(a){var b=L,c=v;L=a;v=null;var e=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var m=JSON.parse(e,a._response._fromJSON);if(null!==v&&0<v.deps)v.value=m,a.status="blocked",a.value=null,a.reason=
21
+ null;else{var k=a.value;a.status="fulfilled";a.value=m;null!==k&&B(k,m)}}catch(h){a.status="rejected",a.reason=h}finally{L=b,v=c}}function J(a){try{var b=a.value,c=__webpack_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var e="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:c[b[2]];a.status="fulfilled";a.value=e}catch(m){a.status="rejected",a.reason=m}}function N(a,b){a._chunks.forEach(function(c){"pending"===c.status&&K(c,b)})}
22
+ function C(a,b){var c=a._chunks,e=c.get(b);e||(e=new w("pending",null,null,a),c.set(b,e));return e}function la(a,b,c,e,m,k){if(v){var h=v;e||h.deps++}else h=v={deps:e?0:1,value:null};return function(g){b[c]=k(m,g);""===c&&null===h.value&&(h.value=b[c]);h.deps--;0===h.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=h.value,null!==g&&B(g,h.value))}}function ma(a){return function(b){return K(a,b)}}function na(a,b){var c=a._callServer;a=function(){var e=Array.prototype.slice.call(arguments),
23
+ m=b.bound;return m?"fulfilled"===m.status?c(b.id,m.value.concat(e)):Promise.resolve(m).then(function(k){return c(b.id,k.concat(e))}):c(b.id,e)};M.set(a,b);return a}function D(a,b,c,e,m){b=C(a,b);switch(b.status){case "resolved_model":I(b);break;case "resolved_module":J(b)}switch(b.status){case "fulfilled":return m(a,b.value);case "pending":case "blocked":case "cyclic":var k=L;b.then(la(k,c,e,"cyclic"===b.status,a,m),ma(k));return null;default:throw b.reason;}}function oa(a,b){return new Map(b)}function pa(a,
24
+ b){return new Set(b)}function qa(a,b){a=new FormData;for(var c=0;c<b.length;c++)a.append(b[c][0],b[c][1]);return a}function ra(a,b){return b}function sa(a,b,c,e){if("$"===e[0]){if("$"===e)return G;switch(e[1]){case "$":return e.slice(1);case "L":return b=parseInt(e.slice(2),16),a=C(a,b),{$$typeof:R,_payload:a,_init:ka};case "@":if(2===e.length)return new Promise(function(){});b=parseInt(e.slice(2),16);return C(a,b);case "S":return Symbol.for(e.slice(2));case "F":return e=parseInt(e.slice(2),16),D(a,
25
+ e,b,c,na);case "T":b=parseInt(e.slice(2),16);a=a._tempRefs;if(null==a)throw Error("Missing a temporary reference set but the RSC response returned a temporary reference. Pass a temporaryReference option with the set that was used with the reply.");if(0>b||b>=a.length)throw Error("The RSC response contained a reference that doesn't exist in the temporary reference set. Always pass the matching set that was used to create the reply when parsing its response.");return a[b];case "Q":return e=parseInt(e.slice(2),
26
+ 16),D(a,e,b,c,oa);case "W":return e=parseInt(e.slice(2),16),D(a,e,b,c,pa);case "B":return;case "K":return e=parseInt(e.slice(2),16),D(a,e,b,c,qa);case "I":return Infinity;case "-":return"$-0"===e?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(e.slice(2)));case "n":return BigInt(e.slice(2));default:return e=parseInt(e.slice(1),16),D(a,e,b,c,ra)}}return e}function ta(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');
27
+ }function ua(a,b,c){var e=a._chunks,m=e.get(b);c=JSON.parse(c,a._fromJSON);var k=X(a._bundlerConfig,c);if(c=Z(k)){if(m){var h=m;h.status="blocked"}else h=new w("blocked",null,null,a),e.set(b,h);c.then(function(){return U(h,k)},function(g){return K(h,g)})}else m?U(m,k):e.set(b,new w("resolved_module",k,null,a))}function va(a){return function(b,c){return"string"===typeof c?sa(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===G?{$$typeof:G,type:c[1],key:c[2],ref:null,props:c[3]}:c,b):c}}function V(a){var b=
28
+ a&&a.callServer?a.callServer:void 0;a=a&&a.temporaryReferences?a.temporaryReferences:void 0;var c=new Map;b={_bundlerConfig:null,_moduleLoading:null,_callServer:void 0!==b?b:ta,_encodeFormAction:void 0,_nonce:void 0,_chunks:c,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[],_tempRefs:a};b._fromJSON=va(b);return b}function W(a,b){function c(k){var h=k.value;if(k.done)N(a,Error("Connection closed."));else{var g=0,l=a._rowState,q=a._rowID,d=a._rowTag,
29
+ f=a._rowLength;k=a._buffer;for(var p=h.length;g<p;){var n=-1;switch(l){case 0:n=h[g++];58===n?l=1:q=q<<4|(96<n?n-87:n-48);continue;case 1:l=h[g];84===l?(d=l,l=2,g++):64<l&&91>l?(d=l,l=3,g++):(d=0,l=3);continue;case 2:n=h[g++];44===n?l=4:f=f<<4|(96<n?n-87:n-48);continue;case 3:n=h.indexOf(10,g);break;case 4:n=g+f,n>h.length&&(n=-1)}var u=h.byteOffset+g;if(-1<n){g=new Uint8Array(h.buffer,u,n-g);f=a;u=d;var z=f._stringDecoder;d="";for(var x=0;x<k.length;x++)d+=z.decode(k[x],wa);d+=z.decode(g);switch(u){case 73:ua(f,
30
+ q,d);break;case 72:q=d[0];d=d.slice(1);f=JSON.parse(d,f._fromJSON);d=xa.d;switch(q){case "D":d.D(f);break;case "C":"string"===typeof f?d.C(f):d.C(f[0],f[1]);break;case "L":q=f[0];g=f[1];3===f.length?d.L(q,g,f[2]):d.L(q,g);break;case "m":"string"===typeof f?d.m(f):d.m(f[0],f[1]);break;case "X":"string"===typeof f?d.X(f):d.X(f[0],f[1]);break;case "S":"string"===typeof f?d.S(f):d.S(f[0],0===f[1]?void 0:f[1],3===f.length?f[2]:void 0);break;case "M":"string"===typeof f?d.M(f):d.M(f[0],f[1])}break;case 69:d=
31
+ JSON.parse(d);g=d.digest;d=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");d.stack="Error: "+d.message;d.digest=g;g=f._chunks;(u=g.get(q))?K(u,d):g.set(q,new w("rejected",null,d,f));break;case 84:f._chunks.set(q,new w("fulfilled",d,null,f));break;case 68:case 87:throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");
32
+ default:g=f._chunks,(u=g.get(q))?(f=u,q=d,"pending"===f.status&&(d=f.value,g=f.reason,f.status="resolved_model",f.value=q,null!==d&&(I(f),T(f,d,g)))):g.set(q,new w("resolved_model",d,null,f))}g=n;3===l&&g++;f=q=d=l=0;k.length=0}else{h=new Uint8Array(h.buffer,u,h.byteLength-g);k.push(h);f-=h.byteLength;break}}a._rowState=l;a._rowID=q;a._rowTag=d;a._rowLength=f;return m.read().then(c).catch(e)}}function e(k){N(a,k)}var m=b.getReader();m.read().then(c).catch(e)}var wa={stream:!0},E=new Map,P=new Map,
33
+ ya=__webpack_require__.u;__webpack_require__.u=function(a){var b=P.get(a);return void 0!==b?b:ya(a)};var xa=y.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=Symbol.for("react.element"),R=Symbol.for("react.lazy"),Q=Symbol.iterator,ea=Array.isArray,S=Object.getPrototypeOf,ia=Object.prototype,M=new WeakMap;w.prototype=Object.create(Promise.prototype);w.prototype.then=function(a,b){switch(this.status){case "resolved_model":I(this);break;case "resolved_module":J(this)}switch(this.status){case "fulfilled":a(this.value);
34
+ break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};var L=null,v=null;t.createFromFetch=function(a,b){var c=V(b);a.then(function(e){W(c,e.body)},function(e){N(c,e)});return C(c,0)};t.createFromReadableStream=function(a,b){b=V(b);W(b,a);return C(b,0)};t.createServerReference=function(a,b,c){c=function(){var e=Array.prototype.slice.call(arguments);return b(a,
35
+ e)};ja(c,{id:a,bound:null});return c};t.createTemporaryReferenceSet=function(){return[]};t.encodeReply=function(a,b){return new Promise(function(c,e){ca(a,"",b&&b.temporaryReferences?b.temporaryReferences:void 0,c,e)})}})})();