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
@@ -405,18 +405,45 @@ function getServerReferenceBoundArguments(config, serverReference) {
405
405
  return serverReference.$$bound;
406
406
  }
407
407
 
408
- const ReactDOMSharedInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
409
-
410
- const ReactDOMCurrentDispatcher = ReactDOMSharedInternals.ReactDOMCurrentDispatcher;
411
- const previousDispatcher = ReactDOMCurrentDispatcher.current;
412
- ReactDOMCurrentDispatcher.current = {
413
- prefetchDNS,
414
- preconnect,
415
- preload,
416
- preloadModule: preloadModule$1,
417
- preinitStyle,
418
- preinitScript,
419
- preinitModuleScript
408
+ const ReactDOMSharedInternals = ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
409
+
410
+ const previousDispatcher = ReactDOMSharedInternals.d;
411
+ /* ReactDOMCurrentDispatcher */
412
+
413
+ ReactDOMSharedInternals.d
414
+ /* ReactDOMCurrentDispatcher */
415
+ = {
416
+ f
417
+ /* flushSyncWork */
418
+ : previousDispatcher.f
419
+ /* flushSyncWork */
420
+ ,
421
+ r
422
+ /* requestFormReset */
423
+ : previousDispatcher.r
424
+ /* requestFormReset */
425
+ ,
426
+ D
427
+ /* prefetchDNS */
428
+ : prefetchDNS,
429
+ C
430
+ /* preconnect */
431
+ : preconnect,
432
+ L
433
+ /* preload */
434
+ : preload,
435
+ m
436
+ /* preloadModule */
437
+ : preloadModule$1,
438
+ X
439
+ /* preinitScript */
440
+ : preinitScript,
441
+ S
442
+ /* preinitStyle */
443
+ : preinitStyle,
444
+ M
445
+ /* preinitModuleScript */
446
+ : preinitModuleScript
420
447
  };
421
448
 
422
449
  function prefetchDNS(href) {
@@ -435,7 +462,9 @@ function prefetchDNS(href) {
435
462
  hints.add(key);
436
463
  emitHint(request, 'D', href);
437
464
  } else {
438
- previousDispatcher.prefetchDNS(href);
465
+ previousDispatcher.D(
466
+ /* prefetchDNS */
467
+ href);
439
468
  }
440
469
  }
441
470
  }
@@ -461,7 +490,9 @@ function preconnect(href, crossOrigin) {
461
490
  emitHint(request, 'C', href);
462
491
  }
463
492
  } else {
464
- previousDispatcher.preconnect(href, crossOrigin);
493
+ previousDispatcher.C(
494
+ /* preconnect */
495
+ href, crossOrigin);
465
496
  }
466
497
  }
467
498
  }
@@ -494,7 +525,9 @@ function preload(href, as, options) {
494
525
  emitHint(request, 'L', [href, as]);
495
526
  }
496
527
  } else {
497
- previousDispatcher.preload(href, as, options);
528
+ previousDispatcher.L(
529
+ /* preload */
530
+ href, as, options);
498
531
  }
499
532
  }
500
533
  }
@@ -521,7 +554,9 @@ function preloadModule$1(href, options) {
521
554
  return emitHint(request, 'm', href);
522
555
  }
523
556
  } else {
524
- previousDispatcher.preloadModule(href, options);
557
+ previousDispatcher.m(
558
+ /* preloadModule */
559
+ href, options);
525
560
  }
526
561
  }
527
562
  }
@@ -550,7 +585,9 @@ function preinitStyle(href, precedence, options) {
550
585
  return emitHint(request, 'S', href);
551
586
  }
552
587
  } else {
553
- previousDispatcher.preinitStyle(href, precedence, options);
588
+ previousDispatcher.S(
589
+ /* preinitStyle */
590
+ href, precedence, options);
554
591
  }
555
592
  }
556
593
  }
@@ -577,7 +614,9 @@ function preinitScript(src, options) {
577
614
  return emitHint(request, 'X', src);
578
615
  }
579
616
  } else {
580
- previousDispatcher.preinitScript(src, options);
617
+ previousDispatcher.X(
618
+ /* preinitScript */
619
+ src, options);
581
620
  }
582
621
  }
583
622
  }
@@ -604,7 +643,9 @@ function preinitModuleScript(src, options) {
604
643
  return emitHint(request, 'M', src);
605
644
  }
606
645
  } else {
607
- previousDispatcher.preinitModuleScript(src, options);
646
+ previousDispatcher.M(
647
+ /* preinitModuleScript */
648
+ src, options);
608
649
  }
609
650
  }
610
651
  } // Flight normally encodes undefined as a special character however for directive option
@@ -883,7 +924,7 @@ function prepareToUseHooksForRequest(request) {
883
924
  function resetHooksForRequest() {
884
925
  currentRequest$1 = null;
885
926
  }
886
- function prepareToUseHooksForComponent(prevThenableState) {
927
+ function prepareToUseHooksForComponent(prevThenableState, componentDebugInfo) {
887
928
  thenableIndexCounter = 0;
888
929
  thenableState = prevThenableState;
889
930
  }
@@ -892,6 +933,7 @@ function getThenableStateAfterSuspending() {
892
933
  // which is not really supported anymore, it will be empty. We use the empty set as a
893
934
  // marker to know if this was a replay of the same component or first attempt.
894
935
  const state = thenableState || createThenableState();
936
+
895
937
  thenableState = null;
896
938
  return state;
897
939
  }
@@ -1223,15 +1265,15 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
1223
1265
  return '\n ' + str;
1224
1266
  }
1225
1267
 
1226
- const ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1227
-
1228
- const ReactSharedServerInternals = // $FlowFixMe: It's defined in the one we resolve to.
1229
- React.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1268
+ const ReactSharedInternalsServer = // $FlowFixMe: It's defined in the one we resolve to.
1269
+ React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
1230
1270
 
1231
- if (!ReactSharedServerInternals) {
1271
+ if (!ReactSharedInternalsServer) {
1232
1272
  throw new Error('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.');
1233
1273
  }
1234
1274
 
1275
+ const ReactSharedInternals = ReactSharedInternalsServer;
1276
+
1235
1277
  const ObjectPrototype = Object.prototype;
1236
1278
  const stringify = JSON.stringify; // Serializable values
1237
1279
  // Thenable<ReactClientValue>
@@ -1244,8 +1286,6 @@ const ERRORED$1 = 4; // object reference status
1244
1286
 
1245
1287
  const SEEN_BUT_NOT_YET_OUTLINED = -1;
1246
1288
  const NEVER_OUTLINED = -2;
1247
- const ReactCurrentCache = ReactSharedServerInternals.ReactCurrentCache;
1248
- const ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;
1249
1289
 
1250
1290
  function defaultErrorHandler(error) {
1251
1291
  console['error'](error); // Don't transform to our wrapper
@@ -1258,11 +1298,11 @@ const OPEN = 0;
1258
1298
  const CLOSING = 1;
1259
1299
  const CLOSED = 2;
1260
1300
  function createRequest(model, bundlerConfig, onError, identifierPrefix, onPostpone, environmentName) {
1261
- if (ReactCurrentCache.current !== null && ReactCurrentCache.current !== DefaultCacheDispatcher) {
1301
+ if (ReactSharedInternals.C !== null && ReactSharedInternals.C !== DefaultCacheDispatcher) {
1262
1302
  throw new Error('Currently React only supports one RSC renderer at a time.');
1263
1303
  }
1264
1304
 
1265
- ReactCurrentCache.current = DefaultCacheDispatcher;
1305
+ ReactSharedInternals.C = DefaultCacheDispatcher;
1266
1306
  const abortSet = new Set();
1267
1307
  const pingedTasks = [];
1268
1308
  const cleanupQueue = [];
@@ -1446,7 +1486,7 @@ function createLazyWrapperAroundWakeable(wakeable) {
1446
1486
  return lazyType;
1447
1487
  }
1448
1488
 
1449
- function renderFunctionComponent(request, task, key, Component, props) {
1489
+ function renderFunctionComponent(request, task, key, Component, props, owner) {
1450
1490
  // Reset the task's thenable state before continuing, so that if a later
1451
1491
  // component suspends we can reuse the same task object. If the same
1452
1492
  // component suspends again, the thenable state will be restored.
@@ -1456,7 +1496,11 @@ function renderFunctionComponent(request, task, key, Component, props) {
1456
1496
  prepareToUseHooksForComponent(prevThenableState); // The secondArg is always undefined in Server Components since refs error early.
1457
1497
 
1458
1498
  const secondArg = undefined;
1459
- let result = Component(props, secondArg);
1499
+ let result;
1500
+
1501
+ {
1502
+ result = Component(props, secondArg);
1503
+ }
1460
1504
 
1461
1505
  if (typeof result === 'object' && result !== null && typeof result.then === 'function') {
1462
1506
  // When the return value is in children position we can resolve it immediately,
@@ -1530,7 +1574,8 @@ function renderFragment(request, task, children) {
1530
1574
  return children;
1531
1575
  }
1532
1576
 
1533
- function renderClientElement(task, type, key, props) {
1577
+ function renderClientElement(task, type, key, props, owner) // DEV-only
1578
+ {
1534
1579
  // the keys of any Server Components which are not serialized.
1535
1580
 
1536
1581
 
@@ -1563,7 +1608,8 @@ function renderClientElement(task, type, key, props) {
1563
1608
 
1564
1609
  let debugID = null;
1565
1610
 
1566
- function renderElement(request, task, type, key, ref, props) {
1611
+ function renderElement(request, task, type, key, ref, props, owner) // DEV only
1612
+ {
1567
1613
  if (ref !== null && ref !== undefined) {
1568
1614
  // When the ref moves to the regular props object this will implicitly
1569
1615
  // throw for functions. We could probably relax it to a DEV warning for other
@@ -1844,6 +1890,12 @@ function serializeMap(request, map) {
1844
1890
  return '$Q' + id.toString(16);
1845
1891
  }
1846
1892
 
1893
+ function serializeFormData(request, formData) {
1894
+ const entries = Array.from(formData.entries());
1895
+ const id = outlineModel(request, entries);
1896
+ return '$K' + id.toString(16);
1897
+ }
1898
+
1847
1899
  function serializeSet(request, set) {
1848
1900
  const entries = Array.from(set);
1849
1901
 
@@ -2080,6 +2132,11 @@ function renderModelDestructive(request, task, parent, parentPropertyName, value
2080
2132
 
2081
2133
  if (value instanceof Set) {
2082
2134
  return serializeSet(request, value);
2135
+ } // TODO: FormData is not available in old Node. Remove the typeof later.
2136
+
2137
+
2138
+ if (typeof FormData === 'function' && value instanceof FormData) {
2139
+ return serializeFormData(request, value);
2083
2140
  }
2084
2141
 
2085
2142
  const iteratorFn = getIteratorFn(value);
@@ -2361,8 +2418,8 @@ function retryTask(request, task) {
2361
2418
  }
2362
2419
 
2363
2420
  function performWork(request) {
2364
- const prevDispatcher = ReactCurrentDispatcher.current;
2365
- ReactCurrentDispatcher.current = HooksDispatcher;
2421
+ const prevDispatcher = ReactSharedInternals.H;
2422
+ ReactSharedInternals.H = HooksDispatcher;
2366
2423
  const prevRequest = currentRequest;
2367
2424
  currentRequest = request;
2368
2425
  prepareToUseHooksForRequest(request);
@@ -2383,7 +2440,7 @@ function performWork(request) {
2383
2440
  logRecoverableError(request, error);
2384
2441
  fatalError(request, error);
2385
2442
  } finally {
2386
- ReactCurrentDispatcher.current = prevDispatcher;
2443
+ ReactSharedInternals.H = prevDispatcher;
2387
2444
  resetHooksForRequest();
2388
2445
  currentRequest = prevRequest;
2389
2446
  }
@@ -7,75 +7,75 @@
7
7
  This source code is licensed under the MIT license found in the
8
8
  LICENSE file in the root directory of this source tree.
9
9
  */
10
- 'use strict';var aa=require("react-dom"),ba=require("react"),l=null,n=0;function p(a,b){if(0!==b.byteLength)if(2048<b.byteLength)0<n&&(a.enqueue(new Uint8Array(l.buffer,0,n)),l=new Uint8Array(2048),n=0),a.enqueue(b);else{var c=l.length-n;c<b.byteLength&&(0===c?a.enqueue(l):(l.set(b.subarray(0,c),n),a.enqueue(l),b=b.subarray(c)),l=new Uint8Array(2048),n=0);l.set(b,n);n+=b.byteLength}return!0}var q=new TextEncoder;function ca(a,b){"function"===typeof a.error?a.error(b):a.close()}
11
- var r=Symbol.for("react.client.reference"),t=Symbol.for("react.server.reference");function v(a,b,c){return Object.defineProperties(a,{$$typeof:{value:r},$$id:{value:b},$$async:{value:c}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function fa(){var a=da.apply(this,arguments);if(this.$$typeof===t){var b=ea.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:this.$$id},$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:fa}})}return a}
12
- var ha=Promise.prototype,ia={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");
10
+ 'use strict';var ba=require("react-dom"),ca=require("react"),l=null,n=0;function p(a,b){if(0!==b.byteLength)if(2048<b.byteLength)0<n&&(a.enqueue(new Uint8Array(l.buffer,0,n)),l=new Uint8Array(2048),n=0),a.enqueue(b);else{var c=l.length-n;c<b.byteLength&&(0===c?a.enqueue(l):(l.set(b.subarray(0,c),n),a.enqueue(l),b=b.subarray(c)),l=new Uint8Array(2048),n=0);l.set(b,n);n+=b.byteLength}return!0}var q=new TextEncoder;function da(a,b){"function"===typeof a.error?a.error(b):a.close()}
11
+ var r=Symbol.for("react.client.reference"),t=Symbol.for("react.server.reference");function v(a,b,c){return Object.defineProperties(a,{$$typeof:{value:r},$$id:{value:b},$$async:{value:c}})}var ea=Function.prototype.bind,fa=Array.prototype.slice;function ha(){var a=ea.apply(this,arguments);if(this.$$typeof===t){var b=fa.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:this.$$id},$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:ha}})}return a}
12
+ var ia=Promise.prototype,ja={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");
13
13
  }throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}};
14
- function ja(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "__esModule":var c=a.$$id;a.default=v(function(){throw Error("Attempted to call the default export of "+c+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");
15
- },a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var d=v({},a.$$id,!0),e=new Proxy(d,ka);a.status="fulfilled";a.value=e;return a.then=v(function(g){return Promise.resolve(g(e))},a.$$id+"#then",!1)}if("symbol"===typeof b)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");d=a[b];d||(d=v(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");
16
- },a.$$id+"#"+b,a.$$async),Object.defineProperty(d,"name",{value:b}),d=a[b]=new Proxy(d,ia));return d}
17
- var ka={get:function(a,b){return ja(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:ja(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(){return ha},set:function(){throw Error("Cannot assign to a client module from a server module.");}},la=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDOMCurrentDispatcher,w=la.current;
18
- la.current={prefetchDNS:ma,preconnect:na,preload:oa,preloadModule:pa,preinitStyle:qa,preinitScript:ra,preinitModuleScript:sa};function ma(a){if("string"===typeof a&&a){var b=x?x:null;if(b){var c=b.hints,d="D|"+a;c.has(d)||(c.add(d),z(b,"D",a))}else w.prefetchDNS(a)}}function na(a,b){if("string"===typeof a){var c=x?x:null;if(c){var d=c.hints,e="C|"+(null==b?"null":b)+"|"+a;d.has(e)||(d.add(e),"string"===typeof b?z(c,"C",[a,b]):z(c,"C",a))}else w.preconnect(a,b)}}
19
- function oa(a,b,c){if("string"===typeof a){var d=x?x:null;if(d){var e=d.hints,g="L";if("image"===b&&c){var f=c.imageSrcSet,h=c.imageSizes,k="";"string"===typeof f&&""!==f?(k+="["+f+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;g+="[image]"+k}else g+="["+b+"]"+a;e.has(g)||(e.add(g),(c=A(c))?z(d,"L",[a,b,c]):z(d,"L",[a,b]))}else w.preload(a,b,c)}}
20
- function pa(a,b){if("string"===typeof a){var c=x?x:null;if(c){var d=c.hints,e="m|"+a;if(d.has(e))return;d.add(e);return(b=A(b))?z(c,"m",[a,b]):z(c,"m",a)}w.preloadModule(a,b)}}function qa(a,b,c){if("string"===typeof a){var d=x?x:null;if(d){var e=d.hints,g="S|"+a;if(e.has(g))return;e.add(g);return(c=A(c))?z(d,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?z(d,"S",[a,b]):z(d,"S",a)}w.preinitStyle(a,b,c)}}
21
- function ra(a,b){if("string"===typeof a){var c=x?x:null;if(c){var d=c.hints,e="X|"+a;if(d.has(e))return;d.add(e);return(b=A(b))?z(c,"X",[a,b]):z(c,"X",a)}w.preinitScript(a,b)}}function sa(a,b){if("string"===typeof a){var c=x?x:null;if(c){var d=c.hints,e="M|"+a;if(d.has(e))return;d.add(e);return(b=A(b))?z(c,"M",[a,b]):z(c,"M",a)}w.preinitModuleScript(a,b)}}function A(a){if(null==a)return null;var b=!1,c={},d;for(d in a)null!=a[d]&&(b=!0,c[d]=a[d]);return b?c:null}
22
- var ta=Symbol.for("react.temporary.reference"),ua={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");
14
+ function ka(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "__esModule":var c=a.$$id;a.default=v(function(){throw Error("Attempted to call the default export of "+c+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");
15
+ },a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var e=v({},a.$$id,!0),d=new Proxy(e,la);a.status="fulfilled";a.value=d;return a.then=v(function(g){return Promise.resolve(g(d))},a.$$id+"#then",!1)}if("symbol"===typeof b)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");e=a[b];e||(e=v(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");
16
+ },a.$$id+"#"+b,a.$$async),Object.defineProperty(e,"name",{value:b}),e=a[b]=new Proxy(e,ja));return e}
17
+ var la={get:function(a,b){return ka(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:ka(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(){return ia},set:function(){throw Error("Cannot assign to a client module from a server module.");}},ma=ba.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,w=ma.d;ma.d={f:w.f,r:w.r,D:na,C:oa,L:pa,m:qa,X:ra,S:sa,M:ta};
18
+ function na(a){if("string"===typeof a&&a){var b=x?x:null;if(b){var c=b.hints,e="D|"+a;c.has(e)||(c.add(e),y(b,"D",a))}else w.D(a)}}function oa(a,b){if("string"===typeof a){var c=x?x:null;if(c){var e=c.hints,d="C|"+(null==b?"null":b)+"|"+a;e.has(d)||(e.add(d),"string"===typeof b?y(c,"C",[a,b]):y(c,"C",a))}else w.C(a,b)}}
19
+ function pa(a,b,c){if("string"===typeof a){var e=x?x:null;if(e){var d=e.hints,g="L";if("image"===b&&c){var f=c.imageSrcSet,h=c.imageSizes,k="";"string"===typeof f&&""!==f?(k+="["+f+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;g+="[image]"+k}else g+="["+b+"]"+a;d.has(g)||(d.add(g),(c=A(c))?y(e,"L",[a,b,c]):y(e,"L",[a,b]))}else w.L(a,b,c)}}
20
+ function qa(a,b){if("string"===typeof a){var c=x?x:null;if(c){var e=c.hints,d="m|"+a;if(e.has(d))return;e.add(d);return(b=A(b))?y(c,"m",[a,b]):y(c,"m",a)}w.m(a,b)}}function sa(a,b,c){if("string"===typeof a){var e=x?x:null;if(e){var d=e.hints,g="S|"+a;if(d.has(g))return;d.add(g);return(c=A(c))?y(e,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?y(e,"S",[a,b]):y(e,"S",a)}w.S(a,b,c)}}
21
+ function ra(a,b){if("string"===typeof a){var c=x?x:null;if(c){var e=c.hints,d="X|"+a;if(e.has(d))return;e.add(d);return(b=A(b))?y(c,"X",[a,b]):y(c,"X",a)}w.X(a,b)}}function ta(a,b){if("string"===typeof a){var c=x?x:null;if(c){var e=c.hints,d="M|"+a;if(e.has(d))return;e.add(d);return(b=A(b))?y(c,"M",[a,b]):y(c,"M",a)}w.M(a,b)}}function A(a){if(null==a)return null;var b=!1,c={},e;for(e in a)null!=a[e]&&(b=!0,c[e]=a[e]);return b?c:null}
22
+ var ua=Symbol.for("react.temporary.reference"),va={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");
23
23
  }throw Error("Cannot access "+String(b)+" on the server. You cannot dot into a temporary client reference from a server component. You can only pass the value through to the client.");},set:function(){throw Error("Cannot assign to a temporary client reference from a server module.");}};
24
- function va(a){a=Object.defineProperties(function(){throw Error("Attempted to call a temporary Client Reference from the server but it is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},{$$typeof:{value:ta},$$id:{value:a}});return new Proxy(a,ua)}
25
- var B=Symbol.for("react.element"),wa=Symbol.for("react.fragment"),xa=Symbol.for("react.context"),ya=Symbol.for("react.forward_ref"),za=Symbol.for("react.suspense"),Aa=Symbol.for("react.suspense_list"),Ba=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),Ca=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.postpone");var Da=Symbol.iterator,Ea=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`");
26
- function Fa(){}function Ga(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Fa,Fa),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}E=b;throw Ea;}}var E=null;
27
- function Ha(){if(null===E)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=E;E=null;return a}var F=null,Ia=0,G=null;function Ja(){var a=G||[];G=null;return a}
28
- var Oa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:H,useTransition:H,readContext:Ka,useContext:Ka,useReducer:H,useRef:H,useState:H,useInsertionEffect:H,useLayoutEffect:H,useImperativeHandle:H,useEffect:H,useId:La,useSyncExternalStore:H,useCacheRefresh:function(){return Ma},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Ca;return b},use:Na};
29
- function H(){throw Error("This Hook is not supported in Server Components.");}function Ma(){throw Error("Refreshing the cache is not supported in Server Components.");}function Ka(){throw Error("Cannot read a Client Context from a Server Component.");}function La(){if(null===F)throw Error("useId can only be used while React is rendering");var a=F.identifierCount++;return":"+F.identifierPrefix+"S"+a.toString(32)+":"}
30
- function Na(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Ia;Ia+=1;null===G&&(G=[]);return Ga(G,a,b)}a.$$typeof===xa&&Ka()}if(a.$$typeof===r){if(null!=a.value&&a.value.$$typeof===xa)throw Error("Cannot read a Client Context from a Server Component.");throw Error("Cannot use() an already resolved Client Reference.");}throw Error("An unsupported type was passed to use(): "+String(a));}
31
- var Pa={getCacheForType:function(a){var b=(b=x?x:null)?b.cache:new Map;var c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},Qa=Array.isArray,Ra=Object.getPrototypeOf;function Sa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}
32
- function Ta(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Qa(a))return"[...]";if(null!==a&&a.$$typeof===Ua)return"client";a=Sa(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Ua?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}
33
- function I(a){if("string"===typeof a)return a;switch(a){case za:return"Suspense";case Aa:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case ya:return I(a.render);case Ba:return I(a.type);case D:var b=a._payload;a=a._init;try{return I(a(b))}catch(c){}}return""}var Ua=Symbol.for("react.client.reference");
34
- function J(a,b){var c=Sa(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Qa(a)){var e="[";for(var g=0;g<a.length;g++){0<g&&(e+=", ");var f=a[g];f="object"===typeof f&&null!==f?J(f):Ta(f);""+g===b?(c=e.length,d=f.length,e+=f):e=10>f.length&&40>e.length+f.length?e+f:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+I(a.type)+"/>";else{if(a.$$typeof===Ua)return"client";e="{";g=Object.keys(a);for(f=0;f<g.length;f++){0<f&&(e+=", ");var h=g[f],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k=
35
- "object"===typeof k&&null!==k?J(k):Ta(k);h===b?(c=e.length,d=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<c&&0<d?(a=" ".repeat(c)+"^".repeat(d),"\n "+e+"\n "+a):"\n "+e}var Va=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Wa=ba.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
36
- if(!Wa)throw Error('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.');var Xa=Object.prototype,K=JSON.stringify,Ya=Wa.ReactCurrentCache,Za=Va.ReactCurrentDispatcher;function $a(a){console.error(a)}function ab(){}
37
- function bb(a,b,c,d,e){if(null!==Ya.current&&Ya.current!==Pa)throw Error("Currently React only supports one RSC renderer at a time.");Ya.current=Pa;var g=new Set,f=[],h=new Set;b={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:h,abortableTasks:g,pingedTasks:f,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,writtenServerReferences:new Map,
38
- writtenObjects:new WeakMap,identifierPrefix:d||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===c?$a:c,onPostpone:void 0===e?ab:e};a=L(b,a,null,!1,g);f.push(a);return b}var x=null;
39
- function cb(a,b,c){var d=L(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return d.model=c.value,db(a,d),d.id;case "rejected":return b=M(a,c.reason),N(a,d.id,b),d.id;default:"string"!==typeof c.status&&(c.status="pending",c.then(function(e){"pending"===c.status&&(c.status="fulfilled",c.value=e)},function(e){"pending"===c.status&&(c.status="rejected",c.reason=e)}))}c.then(function(e){d.model=e;db(a,d)},function(e){d.status=4;e=M(a,e);N(a,d.id,e);a.abortableTasks.delete(d);
40
- null!==a.destination&&O(a,a.destination)});return d.id}function z(a,b,c){c=K(c);var d=a.nextChunkId++;b="H"+b;b=d.toString(16)+":"+b;c=q.encode(b+c+"\n");a.completedHintChunks.push(c);!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(c=a.destination,a.flushScheduled=!0,O(a,c))}function eb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}
41
- function fb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:D,_payload:a,_init:eb}}
42
- function gb(a,b,c,d,e){var g=b.thenableState;b.thenableState=null;Ia=0;G=g;d=d(e,void 0);if("object"===typeof d&&null!==d&&"function"===typeof d.then){e=d;if("fulfilled"===e.status)return e.value;d=fb(d)}e=b.keyPath;g=b.implicitSlot;null!==c?b.keyPath=null===e?c:e+","+c:null===e&&(b.implicitSlot=!0);a=P(a,b,Q,"",d);b.keyPath=e;b.implicitSlot=g;return a}function hb(a,b,c){return null!==b.keyPath?(a=[B,wa,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}
43
- function R(a,b,c,d){var e=a.keyPath;null===c?c=e:null!==e&&(c=e+","+c);b=[B,b,c,d];return a.implicitSlot&&null!==c?[b]:b}
44
- function ib(a,b,c,d,e,g){if(null!==e&&void 0!==e)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===r||c.$$typeof===ta?R(b,c,d,g):gb(a,b,d,c,g);if("string"===typeof c)return R(b,c,d,g);if("symbol"===typeof c)return c===wa&&null===d?(d=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=P(a,b,Q,"",g.children),b.implicitSlot=d,a):R(b,c,d,g);if(null!=c&&"object"===typeof c){if(c.$$typeof===r)return R(b,c,d,g);switch(c.$$typeof){case D:var f=
45
- c._init;c=f(c._payload);return ib(a,b,c,d,e,g);case ya:return gb(a,b,d,c.render,g);case Ba:return ib(a,b,c.type,d,e,g)}}throw Error("Unsupported Server Component type: "+Ta(c));}function db(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,jb(a))}
46
- function L(a,b,c,d,e){a.pendingChunks++;var g=a.nextChunkId++;"object"!==typeof b||null===b||null!==c||d||a.writtenObjects.set(b,g);var f={id:g,status:0,model:b,keyPath:c,implicitSlot:d,ping:function(){return db(a,f)},toJSON:function(h,k){var m=f.keyPath,y=f.implicitSlot;try{var u=P(a,f,this,h,k)}catch(Z){if(h=Z===Ea?Ha():Z,k=f.model,k="object"===typeof k&&null!==k&&(k.$$typeof===B||k.$$typeof===D),"object"===typeof h&&null!==h&&"function"===typeof h.then){u=L(a,f.model,f.keyPath,f.implicitSlot,a.abortableTasks);
47
- var C=u.ping;h.then(C,C);u.thenableState=Ja();f.keyPath=m;f.implicitSlot=y;u=k?"$L"+u.id.toString(16):S(u.id)}else if(f.keyPath=m,f.implicitSlot=y,k)a.pendingChunks++,m=a.nextChunkId++,y=M(a,h),N(a,m,y),u="$L"+m.toString(16);else throw h;}return u},thenableState:null};e.add(f);return f}function S(a){return"$"+a.toString(16)}function kb(a,b,c){a=K(c);b=b.toString(16)+":"+a+"\n";return q.encode(b)}
48
- function lb(a,b,c,d){var e=d.$$async?d.$$id+"#async":d.$$id,g=a.writtenClientReferences,f=g.get(e);if(void 0!==f)return b[0]===B&&"1"===c?"$L"+f.toString(16):S(f);try{var h=a.bundlerConfig,k=d.$$id;f="";var m=h[k];if(m)f=m.name;else{var y=k.lastIndexOf("#");-1!==y&&(f=k.slice(y+1),m=h[k.slice(0,y)]);if(!m)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var u=!0===d.$$async?[m.id,m.chunks,f,1]:[m.id,m.chunks,
49
- f];a.pendingChunks++;var C=a.nextChunkId++,Z=K(u),Fb=C.toString(16)+":I"+Z+"\n",Gb=q.encode(Fb);a.completedImportChunks.push(Gb);g.set(e,C);return b[0]===B&&"1"===c?"$L"+C.toString(16):S(C)}catch(Hb){return a.pendingChunks++,b=a.nextChunkId++,c=M(a,Hb),N(a,b,c),S(b)}}function T(a,b){b=L(a,b,null,!1,a.abortableTasks);mb(a,b);return b.id}var U=!1;
50
- function P(a,b,c,d,e){b.model=e;if(e===B)return"$";if(null===e)return null;if("object"===typeof e){switch(e.$$typeof){case B:c=a.writtenObjects;d=c.get(e);if(void 0!==d){if(null===b.keyPath&&!b.implicitSlot)if(U===e)U=null;else return-1===d?(a=T(a,e),S(a)):S(d)}else c.set(e,-1),c.set(e.props,-2);c=e.props;d=c.ref;return ib(a,b,e.type,e.key,void 0!==d?d:null,c);case D:return b.thenableState=null,c=e._init,e=c(e._payload),P(a,b,Q,"",e)}if(e.$$typeof===r)return lb(a,c,d,e);c=a.writtenObjects;d=c.get(e);
51
- if("function"===typeof e.then){if(void 0!==d){if(null!==b.keyPath||b.implicitSlot)return"$@"+cb(a,b,e).toString(16);if(U===e)U=null;else return"$@"+d.toString(16)}a=cb(a,b,e);c.set(e,a);return"$@"+a.toString(16)}if(void 0!==d)if(U===e)U=null;else{if(-1===d)return a=T(a,e),S(a);if(-2!==d)return S(d)}else c.set(e,-1);if(Qa(e))return hb(a,b,e);if(e instanceof Map){e=Array.from(e);for(b=0;b<e.length;b++)c=e[b][0],"object"===typeof c&&null!==c&&(d=a.writtenObjects,void 0===d.get(c)&&d.set(c,-1));return"$Q"+
52
- T(a,e).toString(16)}if(e instanceof Set){e=Array.from(e);for(b=0;b<e.length;b++)c=e[b],"object"===typeof c&&null!==c&&(d=a.writtenObjects,void 0===d.get(c)&&d.set(c,-1));return"$W"+T(a,e).toString(16)}null===e||"object"!==typeof e?c=null:(c=Da&&e[Da]||e["@@iterator"],c="function"===typeof c?c:null);if(c)return hb(a,b,Array.from(e));a=Ra(e);if(a!==Xa&&(null===a||null!==Ra(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");
53
- return e}if("string"===typeof e){if("Z"===e[e.length-1]&&c[d]instanceof Date)return"$D"+e;if(1024<=e.length)return a.pendingChunks+=2,b=a.nextChunkId++,e=q.encode(e),c=e.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",c=q.encode(c),a.completedRegularChunks.push(c,e),S(b);a="$"===e[0]?"$"+e:e;return a}if("boolean"===typeof e)return e;if("number"===typeof e)return Number.isFinite(e)?0===e&&-Infinity===1/e?"$-0":e:Infinity===e?"$Infinity":-Infinity===e?"$-Infinity":"$NaN";if("undefined"===typeof e)return"$undefined";
54
- if("function"===typeof e){if(e.$$typeof===r)return lb(a,c,d,e);if(e.$$typeof===t)return b=a.writtenServerReferences,c=b.get(e),void 0!==c?a="$F"+c.toString(16):(c=e.$$bound,c={id:e.$$id,bound:c?Promise.resolve(c):null},a=T(a,c),b.set(e,a),a="$F"+a.toString(16)),a;if(e.$$typeof===ta)return"$T"+e.$$id;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+J(c,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.'+
55
- J(c,d));}if("symbol"===typeof e){b=a.writtenSymbols;var g=b.get(e);if(void 0!==g)return S(g);g=e.description;if(Symbol.for(g)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(e.description+") cannot be found among global symbols.")+J(c,d));a.pendingChunks++;c=a.nextChunkId++;d=kb(a,c,"$S"+g);a.completedImportChunks.push(d);b.set(e,c);return S(c)}if("bigint"===typeof e)return"$n"+e.toString(10);throw Error("Type "+typeof e+
56
- " is not supported in Client Component props."+J(c,d));}function M(a,b){var c=x;x=null;try{var d=a.onError;var e=d(b)}finally{x=c}if(null!=e&&"string"!==typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e||""}
57
- function nb(a,b){null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)}function N(a,b,c){c={digest:c};b=b.toString(16)+":E"+K(c)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)}var Q={};
58
- function mb(a,b){if(0===b.status)try{U=b.model;var c=P(a,b,Q,"",b.model);U=c;b.keyPath=null;b.implicitSlot=!1;var d="object"===typeof c&&null!==c?K(c,b.toJSON):K(c),e=b.id.toString(16)+":"+d+"\n",g=q.encode(e);a.completedRegularChunks.push(g);a.abortableTasks.delete(b);b.status=1}catch(m){var f=m===Ea?Ha():m;if("object"===typeof f&&null!==f&&"function"===typeof f.then){var h=b.ping;f.then(h,h);b.thenableState=Ja()}else{a.abortableTasks.delete(b);b.status=4;var k=M(a,f);N(a,b.id,k)}}finally{}}
59
- function jb(a){var b=Za.current;Za.current=Oa;var c=x;F=x=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<d.length;e++)mb(a,d[e]);null!==a.destination&&O(a,a.destination)}catch(g){M(a,g),nb(a,g)}finally{Za.current=b,F=null,x=c}}
60
- function O(a,b){l=new Uint8Array(2048);n=0;try{for(var c=a.completedImportChunks,d=0;d<c.length;d++)a.pendingChunks--,p(b,c[d]);c.splice(0,d);var e=a.completedHintChunks;for(d=0;d<e.length;d++)p(b,e[d]);e.splice(0,d);var g=a.completedRegularChunks;for(d=0;d<g.length;d++)a.pendingChunks--,p(b,g[d]);g.splice(0,d);var f=a.completedErrorChunks;for(d=0;d<f.length;d++)a.pendingChunks--,p(b,f[d]);f.splice(0,d)}finally{a.flushScheduled=!1,l&&0<n&&(b.enqueue(new Uint8Array(l.buffer,0,n)),l=null,n=0)}0===a.pendingChunks&&
61
- b.close()}function ob(a,b){try{var c=a.abortableTasks;if(0<c.size){a.pendingChunks++;var d=a.nextChunkId++,e=void 0===b?Error("The render was aborted by the server without a reason."):b,g=M(a,e);N(a,d,g,e);c.forEach(function(f){f.status=3;var h=S(d);f=kb(a,f.id,h);a.completedErrorChunks.push(f)});c.clear()}null!==a.destination&&O(a,a.destination)}catch(f){M(a,f),nb(a,f)}}
62
- function pb(a,b){var c="",d=a[b];if(d)c=d.name;else{var e=b.lastIndexOf("#");-1!==e&&(c=b.slice(e+1),d=a[b.slice(0,e)]);if(!d)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[d.id,d.chunks,c]}var qb=new Map;
63
- function rb(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 sb(){}
64
- function tb(a){for(var b=a[1],c=[],d=0;d<b.length;){var e=b[d++],g=b[d++],f=qb.get(e);void 0===f?(ub.set(e,g),g=__webpack_chunk_load__(e),c.push(g),f=qb.set.bind(qb,e,null),g.then(f,sb),qb.set(e,g)):null!==f&&c.push(f)}return 4===a.length?0===c.length?rb(a[0]):Promise.all(c).then(function(){return rb(a[0])}):0<c.length?Promise.all(c):null}
65
- function V(a){var b=__webpack_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}var ub=new Map,vb=__webpack_require__.u;__webpack_require__.u=function(a){var b=ub.get(a);return void 0!==b?b:vb(a)};function wb(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}wb.prototype=Object.create(Promise.prototype);
66
- wb.prototype.then=function(a,b){switch(this.status){case "resolved_model":xb(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":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)}};function yb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}
67
- function zb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&yb(c,b)}}function Ab(a,b,c,d,e,g){var f=pb(a._bundlerConfig,b);a=tb(f);if(c)c=Promise.all([c,a]).then(function(h){h=h[0];var k=V(f);return k.bind.apply(k,[null].concat(h))});else if(a)c=Promise.resolve(a).then(function(){return V(f)});else return V(f);c.then(Bb(d,e,g),Cb(d));return null}var W=null,X=null;
68
- function xb(a){var b=W,c=X;W=a;X=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==X&&0<X.deps?(X.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(e){a.status="rejected",a.reason=e}finally{W=b,X=c}}function Db(a,b){a._chunks.forEach(function(c){"pending"===c.status&&zb(c,b)})}
69
- function Y(a,b){var c=a._chunks,d=c.get(b);d||(d=a._formData.get(a._prefix+b),d=null!=d?new wb("resolved_model",d,null,a):new wb("pending",null,null,a),c.set(b,d));return d}function Bb(a,b,c){if(X){var d=X;d.deps++}else d=X={deps:1,value:null};return function(e){b[c]=e;d.deps--;0===d.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=d.value,null!==e&&yb(e,d.value))}}function Cb(a){return function(b){return zb(a,b)}}
70
- function Eb(a,b){a=Y(a,b);"resolved_model"===a.status&&xb(a);if("fulfilled"!==a.status)throw a.reason;return a.value}
71
- function Ib(a,b,c,d){if("$"===d[0])switch(d[1]){case "$":return d.slice(1);case "@":return b=parseInt(d.slice(2),16),Y(a,b);case "F":return d=parseInt(d.slice(2),16),d=Eb(a,d),Ab(a,d.id,d.bound,W,b,c);case "T":return va(d.slice(2));case "Q":return b=parseInt(d.slice(2),16),a=Eb(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=Eb(a,b),new Set(a);case "K":b=d.slice(2);var e=a._prefix+b+"_",g=new FormData;a._formData.forEach(function(f,h){h.startsWith(e)&&g.append(h.slice(e.length),f)});return g;
72
- case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=Y(a,d);switch(a.status){case "resolved_model":xb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=W,a.then(Bb(d,b,c),Cb(d)),null;default:throw a.reason;}}return d}
73
- function Jb(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,d=new Map,e={_bundlerConfig:a,_prefix:b,_formData:c,_chunks:d,_fromJSON:function(g,f){return"string"===typeof f?Ib(e,this,g,f):f}};return e}function Kb(a){Db(a,Error("Connection closed."))}function Lb(a,b,c){var d=pb(a,b);a=tb(d);return c?Promise.all([c,a]).then(function(e){e=e[0];var g=V(d);return g.bind.apply(g,[null].concat(e))}):a?Promise.resolve(a).then(function(){return V(d)}):Promise.resolve(V(d))}
74
- function Mb(a,b,c){a=Jb(b,c,a);Kb(a);a=Y(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=v({},a,!1);return new Proxy(a,ka)};
75
- exports.decodeAction=function(a,b){var c=new FormData,d=null;a.forEach(function(e,g){g.startsWith("$ACTION_")?g.startsWith("$ACTION_REF_")?(e="$ACTION_"+g.slice(12)+":",e=Mb(a,b,e),d=Lb(b,e.id,e.bound)):g.startsWith("$ACTION_ID_")&&(e=g.slice(11),d=Lb(b,e,null)):c.append(g,e)});return null===d?null:d.then(function(e){return e.bind(null,c)})};
76
- exports.decodeFormState=function(a,b,c){var d=b.get("$ACTION_KEY");if("string"!==typeof d)return Promise.resolve(null);var e=null;b.forEach(function(f,h){h.startsWith("$ACTION_REF_")&&(f="$ACTION_"+h.slice(12)+":",e=Mb(b,c,f))});if(null===e)return Promise.resolve(null);var g=e.id;return Promise.resolve(e.bound).then(function(f){return null===f?null:[a,d,g,f.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Jb(b,"",a);b=Y(a,0);Kb(a);return b};
77
- exports.registerClientReference=function(a,b,c){return v(a,b+"#"+c,!1)};exports.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:fa,configurable:!0}})};
78
- exports.renderToReadableStream=function(a,b,c){var d=bb(a,b,c?c.onError:void 0,c?c.identifierPrefix:void 0,c?c.onPostpone:void 0);if(c&&c.signal){var e=c.signal;if(e.aborted)ob(d,e.reason);else{var g=function(){ob(d,e.reason);e.removeEventListener("abort",g)};e.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(){d.flushScheduled=null!==d.destination;jb(d)},pull:function(f){if(1===d.status)d.status=2,ca(f,d.fatalError);else if(2!==d.status&&null===d.destination){d.destination=
79
- f;try{O(d,f)}catch(h){M(d,h),nb(d,h)}}},cancel:function(f){d.destination=null;ob(d,f)}},{highWaterMark:0})};
24
+ function wa(a){a=Object.defineProperties(function(){throw Error("Attempted to call a temporary Client Reference from the server but it is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},{$$typeof:{value:ua},$$id:{value:a}});return new Proxy(a,va)}
25
+ var B=Symbol.for("react.element"),xa=Symbol.for("react.fragment"),ya=Symbol.for("react.context"),za=Symbol.for("react.forward_ref"),Aa=Symbol.for("react.suspense"),Ba=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),Da=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.postpone");var Ea=Symbol.iterator,Fa=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`");
26
+ function Ga(){}function Ha(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Ga,Ga),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(e){if("pending"===b.status){var d=b;d.status="fulfilled";d.value=e}},function(e){if("pending"===b.status){var d=b;d.status="rejected";d.reason=e}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}E=b;throw Fa;}}var E=null;
27
+ function Ia(){if(null===E)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=E;E=null;return a}var F=null,Ja=0,G=null;function Ka(){var a=G||[];G=null;return a}
28
+ var Pa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:H,useTransition:H,readContext:La,useContext:La,useReducer:H,useRef:H,useState:H,useInsertionEffect:H,useLayoutEffect:H,useImperativeHandle:H,useEffect:H,useId:Ma,useSyncExternalStore:H,useCacheRefresh:function(){return Na},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Da;return b},use:Oa};
29
+ function H(){throw Error("This Hook is not supported in Server Components.");}function Na(){throw Error("Refreshing the cache is not supported in Server Components.");}function La(){throw Error("Cannot read a Client Context from a Server Component.");}function Ma(){if(null===F)throw Error("useId can only be used while React is rendering");var a=F.identifierCount++;return":"+F.identifierPrefix+"S"+a.toString(32)+":"}
30
+ function Oa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Ja;Ja+=1;null===G&&(G=[]);return Ha(G,a,b)}a.$$typeof===ya&&La()}if(a.$$typeof===r){if(null!=a.value&&a.value.$$typeof===ya)throw Error("Cannot read a Client Context from a Server Component.");throw Error("Cannot use() an already resolved Client Reference.");}throw Error("An unsupported type was passed to use(): "+String(a));}
31
+ var Qa={getCacheForType:function(a){var b=(b=x?x:null)?b.cache:new Map;var c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},Ra=Array.isArray,Sa=Object.getPrototypeOf;function Ta(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}
32
+ function Ua(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Ra(a))return"[...]";if(null!==a&&a.$$typeof===Va)return"client";a=Ta(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Va?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}
33
+ function I(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return I(a.render);case Ca:return I(a.type);case C:var b=a._payload;a=a._init;try{return I(a(b))}catch(c){}}return""}var Va=Symbol.for("react.client.reference");
34
+ function J(a,b){var c=Ta(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var e=0;if(Ra(a)){var d="[";for(var g=0;g<a.length;g++){0<g&&(d+=", ");var f=a[g];f="object"===typeof f&&null!==f?J(f):Ua(f);""+g===b?(c=d.length,e=f.length,d+=f):d=10>f.length&&40>d.length+f.length?d+f:d+"..."}d+="]"}else if(a.$$typeof===B)d="<"+I(a.type)+"/>";else{if(a.$$typeof===Va)return"client";d="{";g=Object.keys(a);for(f=0;f<g.length;f++){0<f&&(d+=", ");var h=g[f],k=JSON.stringify(h);d+=('"'+h+'"'===k?h:k)+": ";k=a[h];k=
35
+ "object"===typeof k&&null!==k?J(k):Ua(k);h===b?(c=d.length,e=k.length,d+=k):d=10>k.length&&40>d.length+k.length?d+k:d+"..."}d+="}"}return void 0===b?d:-1<c&&0<e?(a=" ".repeat(c)+"^".repeat(e),"\n "+d+"\n "+a):"\n "+d}var K=ca.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;if(!K)throw Error('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.');
36
+ var Wa=Object.prototype,L=JSON.stringify;function Xa(a){console.error(a)}function Ya(){}
37
+ function Za(a,b,c,e,d){if(null!==K.C&&K.C!==Qa)throw Error("Currently React only supports one RSC renderer at a time.");K.C=Qa;var g=new Set,f=[],h=new Set;b={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:h,abortableTasks:g,pingedTasks:f,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,writtenServerReferences:new Map,
38
+ writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===c?Xa:c,onPostpone:void 0===d?Ya:d};a=M(b,a,null,!1,g);f.push(a);return b}var x=null;
39
+ function $a(a,b,c){var e=M(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return e.model=c.value,ab(a,e),e.id;case "rejected":return b=N(a,c.reason),O(a,e.id,b),e.id;default:"string"!==typeof c.status&&(c.status="pending",c.then(function(d){"pending"===c.status&&(c.status="fulfilled",c.value=d)},function(d){"pending"===c.status&&(c.status="rejected",c.reason=d)}))}c.then(function(d){e.model=d;ab(a,e)},function(d){e.status=4;d=N(a,d);O(a,e.id,d);a.abortableTasks.delete(e);
40
+ null!==a.destination&&P(a,a.destination)});return e.id}function y(a,b,c){c=L(c);var e=a.nextChunkId++;b="H"+b;b=e.toString(16)+":"+b;c=q.encode(b+c+"\n");a.completedHintChunks.push(c);!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(c=a.destination,a.flushScheduled=!0,P(a,c))}function bb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}
41
+ function cb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:C,_payload:a,_init:bb}}
42
+ function db(a,b,c,e,d){var g=b.thenableState;b.thenableState=null;Ja=0;G=g;e=e(d,void 0);if("object"===typeof e&&null!==e&&"function"===typeof e.then){d=e;if("fulfilled"===d.status)return d.value;e=cb(e)}d=b.keyPath;g=b.implicitSlot;null!==c?b.keyPath=null===d?c:d+","+c:null===d&&(b.implicitSlot=!0);a=Q(a,b,R,"",e);b.keyPath=d;b.implicitSlot=g;return a}function eb(a,b,c){return null!==b.keyPath?(a=[B,xa,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}
43
+ function S(a,b,c,e){var d=a.keyPath;null===c?c=d:null!==d&&(c=d+","+c);b=[B,b,c,e];return a.implicitSlot&&null!==c?[b]:b}
44
+ function fb(a,b,c,e,d,g){if(null!==d&&void 0!==d)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===r||c.$$typeof===ua?S(b,c,e,g):db(a,b,e,c,g);if("string"===typeof c)return S(b,c,e,g);if("symbol"===typeof c)return c===xa&&null===e?(e=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=Q(a,b,R,"",g.children),b.implicitSlot=e,a):S(b,c,e,g);if(null!=c&&"object"===typeof c){if(c.$$typeof===r)return S(b,c,e,g);switch(c.$$typeof){case C:var f=
45
+ c._init;c=f(c._payload);return fb(a,b,c,e,d,g);case za:return db(a,b,e,c.render,g);case Ca:return fb(a,b,c.type,e,d,g)}}throw Error("Unsupported Server Component type: "+Ua(c));}function ab(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,gb(a))}
46
+ function M(a,b,c,e,d){a.pendingChunks++;var g=a.nextChunkId++;"object"!==typeof b||null===b||null!==c||e||a.writtenObjects.set(b,g);var f={id:g,status:0,model:b,keyPath:c,implicitSlot:e,ping:function(){return ab(a,f)},toJSON:function(h,k){var m=f.keyPath,z=f.implicitSlot;try{var u=Q(a,f,this,h,k)}catch(aa){if(h=aa===Fa?Ia():aa,k=f.model,k="object"===typeof k&&null!==k&&(k.$$typeof===B||k.$$typeof===C),"object"===typeof h&&null!==h&&"function"===typeof h.then){u=M(a,f.model,f.keyPath,f.implicitSlot,
47
+ a.abortableTasks);var D=u.ping;h.then(D,D);u.thenableState=Ka();f.keyPath=m;f.implicitSlot=z;u=k?"$L"+u.id.toString(16):T(u.id)}else if(f.keyPath=m,f.implicitSlot=z,k)a.pendingChunks++,m=a.nextChunkId++,z=N(a,h),O(a,m,z),u="$L"+m.toString(16);else throw h;}return u},thenableState:null};d.add(f);return f}function T(a){return"$"+a.toString(16)}function hb(a,b,c){a=L(c);b=b.toString(16)+":"+a+"\n";return q.encode(b)}
48
+ function ib(a,b,c,e){var d=e.$$async?e.$$id+"#async":e.$$id,g=a.writtenClientReferences,f=g.get(d);if(void 0!==f)return b[0]===B&&"1"===c?"$L"+f.toString(16):T(f);try{var h=a.bundlerConfig,k=e.$$id;f="";var m=h[k];if(m)f=m.name;else{var z=k.lastIndexOf("#");-1!==z&&(f=k.slice(z+1),m=h[k.slice(0,z)]);if(!m)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var u=!0===e.$$async?[m.id,m.chunks,f,1]:[m.id,m.chunks,
49
+ f];a.pendingChunks++;var D=a.nextChunkId++,aa=L(u),Cb=D.toString(16)+":I"+aa+"\n",Db=q.encode(Cb);a.completedImportChunks.push(Db);g.set(d,D);return b[0]===B&&"1"===c?"$L"+D.toString(16):T(D)}catch(Eb){return a.pendingChunks++,b=a.nextChunkId++,c=N(a,Eb),O(a,b,c),T(b)}}function U(a,b){b=M(a,b,null,!1,a.abortableTasks);jb(a,b);return b.id}var V=!1;
50
+ function Q(a,b,c,e,d){b.model=d;if(d===B)return"$";if(null===d)return null;if("object"===typeof d){switch(d.$$typeof){case B:c=a.writtenObjects;e=c.get(d);if(void 0!==e){if(null===b.keyPath&&!b.implicitSlot)if(V===d)V=null;else return-1===e?(a=U(a,d),T(a)):T(e)}else c.set(d,-1),c.set(d.props,-2);c=d.props;e=c.ref;return fb(a,b,d.type,d.key,void 0!==e?e:null,c);case C:return b.thenableState=null,c=d._init,d=c(d._payload),Q(a,b,R,"",d)}if(d.$$typeof===r)return ib(a,c,e,d);c=a.writtenObjects;e=c.get(d);
51
+ if("function"===typeof d.then){if(void 0!==e){if(null!==b.keyPath||b.implicitSlot)return"$@"+$a(a,b,d).toString(16);if(V===d)V=null;else return"$@"+e.toString(16)}a=$a(a,b,d);c.set(d,a);return"$@"+a.toString(16)}if(void 0!==e)if(V===d)V=null;else{if(-1===e)return a=U(a,d),T(a);if(-2!==e)return T(e)}else c.set(d,-1);if(Ra(d))return eb(a,b,d);if(d instanceof Map){d=Array.from(d);for(b=0;b<d.length;b++)c=d[b][0],"object"===typeof c&&null!==c&&(e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$Q"+
52
+ U(a,d).toString(16)}if(d instanceof Set){d=Array.from(d);for(b=0;b<d.length;b++)c=d[b],"object"===typeof c&&null!==c&&(e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$W"+U(a,d).toString(16)}if("function"===typeof FormData&&d instanceof FormData)return d=Array.from(d.entries()),"$K"+U(a,d).toString(16);null===d||"object"!==typeof d?c=null:(c=Ea&&d[Ea]||d["@@iterator"],c="function"===typeof c?c:null);if(c)return eb(a,b,Array.from(d));a=Sa(d);if(a!==Wa&&(null===a||null!==Sa(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");
53
+ return d}if("string"===typeof d){if("Z"===d[d.length-1]&&c[e]instanceof Date)return"$D"+d;if(1024<=d.length)return a.pendingChunks+=2,b=a.nextChunkId++,d=q.encode(d),c=d.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",c=q.encode(c),a.completedRegularChunks.push(c,d),T(b);a="$"===d[0]?"$"+d:d;return a}if("boolean"===typeof d)return d;if("number"===typeof d)return Number.isFinite(d)?0===d&&-Infinity===1/d?"$-0":d:Infinity===d?"$Infinity":-Infinity===d?"$-Infinity":"$NaN";if("undefined"===typeof d)return"$undefined";
54
+ if("function"===typeof d){if(d.$$typeof===r)return ib(a,c,e,d);if(d.$$typeof===t)return b=a.writtenServerReferences,c=b.get(d),void 0!==c?a="$F"+c.toString(16):(c=d.$$bound,c={id:d.$$id,bound:c?Promise.resolve(c):null},a=U(a,c),b.set(d,a),a="$F"+a.toString(16)),a;if(d.$$typeof===ua)return"$T"+d.$$id;if(/^on[A-Z]/.test(e))throw Error("Event handlers cannot be passed to Client Component props."+J(c,e)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.'+
55
+ J(c,e));}if("symbol"===typeof d){b=a.writtenSymbols;var g=b.get(d);if(void 0!==g)return T(g);g=d.description;if(Symbol.for(g)!==d)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(d.description+") cannot be found among global symbols.")+J(c,e));a.pendingChunks++;c=a.nextChunkId++;e=hb(a,c,"$S"+g);a.completedImportChunks.push(e);b.set(d,c);return T(c)}if("bigint"===typeof d)return"$n"+d.toString(10);throw Error("Type "+typeof d+
56
+ " is not supported in Client Component props."+J(c,e));}function N(a,b){var c=x;x=null;try{var e=a.onError;var d=e(b)}finally{x=c}if(null!=d&&"string"!==typeof d)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d||""}
57
+ function kb(a,b){null!==a.destination?(a.status=2,da(a.destination,b)):(a.status=1,a.fatalError=b)}function O(a,b,c){c={digest:c};b=b.toString(16)+":E"+L(c)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)}var R={};
58
+ function jb(a,b){if(0===b.status)try{V=b.model;var c=Q(a,b,R,"",b.model);V=c;b.keyPath=null;b.implicitSlot=!1;var e="object"===typeof c&&null!==c?L(c,b.toJSON):L(c),d=b.id.toString(16)+":"+e+"\n",g=q.encode(d);a.completedRegularChunks.push(g);a.abortableTasks.delete(b);b.status=1}catch(m){var f=m===Fa?Ia():m;if("object"===typeof f&&null!==f&&"function"===typeof f.then){var h=b.ping;f.then(h,h);b.thenableState=Ka()}else{a.abortableTasks.delete(b);b.status=4;var k=N(a,f);O(a,b.id,k)}}finally{}}
59
+ function gb(a){var b=K.H;K.H=Pa;var c=x;F=x=a;try{var e=a.pingedTasks;a.pingedTasks=[];for(var d=0;d<e.length;d++)jb(a,e[d]);null!==a.destination&&P(a,a.destination)}catch(g){N(a,g),kb(a,g)}finally{K.H=b,F=null,x=c}}
60
+ function P(a,b){l=new Uint8Array(2048);n=0;try{for(var c=a.completedImportChunks,e=0;e<c.length;e++)a.pendingChunks--,p(b,c[e]);c.splice(0,e);var d=a.completedHintChunks;for(e=0;e<d.length;e++)p(b,d[e]);d.splice(0,e);var g=a.completedRegularChunks;for(e=0;e<g.length;e++)a.pendingChunks--,p(b,g[e]);g.splice(0,e);var f=a.completedErrorChunks;for(e=0;e<f.length;e++)a.pendingChunks--,p(b,f[e]);f.splice(0,e)}finally{a.flushScheduled=!1,l&&0<n&&(b.enqueue(new Uint8Array(l.buffer,0,n)),l=null,n=0)}0===a.pendingChunks&&
61
+ b.close()}function lb(a,b){try{var c=a.abortableTasks;if(0<c.size){a.pendingChunks++;var e=a.nextChunkId++,d=void 0===b?Error("The render was aborted by the server without a reason."):b,g=N(a,d);O(a,e,g,d);c.forEach(function(f){f.status=3;var h=T(e);f=hb(a,f.id,h);a.completedErrorChunks.push(f)});c.clear()}null!==a.destination&&P(a,a.destination)}catch(f){N(a,f),kb(a,f)}}
62
+ function mb(a,b){var c="",e=a[b];if(e)c=e.name;else{var d=b.lastIndexOf("#");-1!==d&&(c=b.slice(d+1),e=a[b.slice(0,d)]);if(!e)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[e.id,e.chunks,c]}var nb=new Map;
63
+ function ob(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 pb(){}
64
+ function qb(a){for(var b=a[1],c=[],e=0;e<b.length;){var d=b[e++],g=b[e++],f=nb.get(d);void 0===f?(rb.set(d,g),g=__webpack_chunk_load__(d),c.push(g),f=nb.set.bind(nb,d,null),g.then(f,pb),nb.set(d,g)):null!==f&&c.push(f)}return 4===a.length?0===c.length?ob(a[0]):Promise.all(c).then(function(){return ob(a[0])}):0<c.length?Promise.all(c):null}
65
+ function W(a){var b=__webpack_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}var rb=new Map,sb=__webpack_require__.u;__webpack_require__.u=function(a){var b=rb.get(a);return void 0!==b?b:sb(a)};function tb(a,b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}tb.prototype=Object.create(Promise.prototype);
66
+ tb.prototype.then=function(a,b){switch(this.status){case "resolved_model":ub(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":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)}};function vb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}
67
+ function wb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&vb(c,b)}}function xb(a,b,c,e,d,g){var f=mb(a._bundlerConfig,b);a=qb(f);if(c)c=Promise.all([c,a]).then(function(h){h=h[0];var k=W(f);return k.bind.apply(k,[null].concat(h))});else if(a)c=Promise.resolve(a).then(function(){return W(f)});else return W(f);c.then(yb(e,d,g),zb(e));return null}var X=null,Y=null;
68
+ function ub(a){var b=X,c=Y;X=a;Y=null;try{var e=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=e,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=e)}catch(d){a.status="rejected",a.reason=d}finally{X=b,Y=c}}function Ab(a,b){a._chunks.forEach(function(c){"pending"===c.status&&wb(c,b)})}
69
+ function Z(a,b){var c=a._chunks,e=c.get(b);e||(e=a._formData.get(a._prefix+b),e=null!=e?new tb("resolved_model",e,null,a):new tb("pending",null,null,a),c.set(b,e));return e}function yb(a,b,c){if(Y){var e=Y;e.deps++}else e=Y={deps:1,value:null};return function(d){b[c]=d;e.deps--;0===e.deps&&"blocked"===a.status&&(d=a.value,a.status="fulfilled",a.value=e.value,null!==d&&vb(d,e.value))}}function zb(a){return function(b){return wb(a,b)}}
70
+ function Bb(a,b){a=Z(a,b);"resolved_model"===a.status&&ub(a);if("fulfilled"!==a.status)throw a.reason;return a.value}
71
+ function Fb(a,b,c,e){if("$"===e[0])switch(e[1]){case "$":return e.slice(1);case "@":return b=parseInt(e.slice(2),16),Z(a,b);case "F":return e=parseInt(e.slice(2),16),e=Bb(a,e),xb(a,e.id,e.bound,X,b,c);case "T":return wa(e.slice(2));case "Q":return b=parseInt(e.slice(2),16),a=Bb(a,b),new Map(a);case "W":return b=parseInt(e.slice(2),16),a=Bb(a,b),new Set(a);case "K":b=e.slice(2);var d=a._prefix+b+"_",g=new FormData;a._formData.forEach(function(f,h){h.startsWith(d)&&g.append(h.slice(d.length),f)});return g;
72
+ 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=Z(a,e);switch(a.status){case "resolved_model":ub(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return e=X,a.then(yb(e,b,c),zb(e)),null;default:throw a.reason;}}return e}
73
+ function Gb(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,e=new Map,d={_bundlerConfig:a,_prefix:b,_formData:c,_chunks:e,_fromJSON:function(g,f){return"string"===typeof f?Fb(d,this,g,f):f}};return d}function Hb(a){Ab(a,Error("Connection closed."))}function Ib(a,b,c){var e=mb(a,b);a=qb(e);return c?Promise.all([c,a]).then(function(d){d=d[0];var g=W(e);return g.bind.apply(g,[null].concat(d))}):a?Promise.resolve(a).then(function(){return W(e)}):Promise.resolve(W(e))}
74
+ function Jb(a,b,c){a=Gb(b,c,a);Hb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=v({},a,!1);return new Proxy(a,la)};
75
+ exports.decodeAction=function(a,b){var c=new FormData,e=null;a.forEach(function(d,g){g.startsWith("$ACTION_")?g.startsWith("$ACTION_REF_")?(d="$ACTION_"+g.slice(12)+":",d=Jb(a,b,d),e=Ib(b,d.id,d.bound)):g.startsWith("$ACTION_ID_")&&(d=g.slice(11),e=Ib(b,d,null)):c.append(g,d)});return null===e?null:e.then(function(d){return d.bind(null,c)})};
76
+ exports.decodeFormState=function(a,b,c){var e=b.get("$ACTION_KEY");if("string"!==typeof e)return Promise.resolve(null);var d=null;b.forEach(function(f,h){h.startsWith("$ACTION_REF_")&&(f="$ACTION_"+h.slice(12)+":",d=Jb(b,c,f))});if(null===d)return Promise.resolve(null);var g=d.id;return Promise.resolve(d.bound).then(function(f){return null===f?null:[a,e,g,f.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Gb(b,"",a);b=Z(a,0);Hb(a);return b};
77
+ exports.registerClientReference=function(a,b,c){return v(a,b+"#"+c,!1)};exports.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:ha,configurable:!0}})};
78
+ exports.renderToReadableStream=function(a,b,c){var e=Za(a,b,c?c.onError:void 0,c?c.identifierPrefix:void 0,c?c.onPostpone:void 0);if(c&&c.signal){var d=c.signal;if(d.aborted)lb(e,d.reason);else{var g=function(){lb(e,d.reason);d.removeEventListener("abort",g)};d.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(){e.flushScheduled=null!==e.destination;gb(e)},pull:function(f){if(1===e.status)e.status=2,da(f,e.fatalError);else if(2!==e.status&&null===e.destination){e.destination=
79
+ f;try{P(e,f)}catch(h){N(e,h),kb(e,h)}}},cancel:function(f){e.destination=null;lb(e,f)}},{highWaterMark:0})};
80
80
 
81
81
  //# sourceMappingURL=react-server-dom-webpack-server.browser.production.min.js.map