react-server-dom-webpack 18.3.0-canary-034130c02-20240303 → 18.3.0-canary-0066e0b68-20240306

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 (37) hide show
  1. package/cjs/react-server-dom-webpack-client.browser.development.js +83 -85
  2. package/cjs/react-server-dom-webpack-client.browser.production.js +84 -86
  3. package/cjs/react-server-dom-webpack-client.browser.production.min.js +3 -3
  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 +83 -85
  6. package/cjs/react-server-dom-webpack-client.edge.production.js +84 -86
  7. package/cjs/react-server-dom-webpack-client.edge.production.min.js +3 -3
  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 +83 -85
  10. package/cjs/react-server-dom-webpack-client.node.production.js +84 -86
  11. package/cjs/react-server-dom-webpack-client.node.production.min.js +2 -2
  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 +83 -85
  14. package/cjs/react-server-dom-webpack-client.node.unbundled.production.js +84 -86
  15. package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +2 -2
  16. package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js.map +1 -1
  17. package/cjs/react-server-dom-webpack-server.browser.development.js +28 -16
  18. package/cjs/react-server-dom-webpack-server.browser.production.js +29 -17
  19. package/cjs/react-server-dom-webpack-server.browser.production.min.js +53 -53
  20. package/cjs/react-server-dom-webpack-server.browser.production.min.js.map +1 -1
  21. package/cjs/react-server-dom-webpack-server.edge.development.js +28 -16
  22. package/cjs/react-server-dom-webpack-server.edge.production.js +29 -17
  23. package/cjs/react-server-dom-webpack-server.edge.production.min.js +59 -58
  24. package/cjs/react-server-dom-webpack-server.edge.production.min.js.map +1 -1
  25. package/cjs/react-server-dom-webpack-server.node.development.js +28 -16
  26. package/cjs/react-server-dom-webpack-server.node.production.js +29 -17
  27. package/cjs/react-server-dom-webpack-server.node.production.min.js +60 -60
  28. package/cjs/react-server-dom-webpack-server.node.production.min.js.map +1 -1
  29. package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +28 -16
  30. package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +29 -17
  31. package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +60 -60
  32. package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js.map +1 -1
  33. package/package.json +3 -3
  34. package/umd/react-server-dom-webpack-client.browser.development.js +83 -85
  35. package/umd/react-server-dom-webpack-client.browser.production.min.js +2 -2
  36. package/umd/react-server-dom-webpack-server.browser.development.js +28 -16
  37. package/umd/react-server-dom-webpack-server.browser.production.min.js +50 -50
@@ -529,7 +529,9 @@ function getServerReferenceBoundArguments(config, serverReference) {
529
529
 
530
530
  var ReactDOMSharedInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
531
531
 
532
- var ReactDOMFlightServerDispatcher = {
532
+ var ReactDOMCurrentDispatcher = ReactDOMSharedInternals.ReactDOMCurrentDispatcher;
533
+ var previousDispatcher = ReactDOMCurrentDispatcher.current;
534
+ ReactDOMCurrentDispatcher.current = {
533
535
  prefetchDNS: prefetchDNS,
534
536
  preconnect: preconnect,
535
537
  preload: preload,
@@ -555,6 +557,8 @@ function prefetchDNS(href) {
555
557
 
556
558
  hints.add(key);
557
559
  emitHint(request, 'D', href);
560
+ } else {
561
+ previousDispatcher.prefetchDNS(href);
558
562
  }
559
563
  }
560
564
  }
@@ -581,6 +585,8 @@ function preconnect(href, crossOrigin) {
581
585
  } else {
582
586
  emitHint(request, 'C', href);
583
587
  }
588
+ } else {
589
+ previousDispatcher.preconnect(href, crossOrigin);
584
590
  }
585
591
  }
586
592
  }
@@ -614,6 +620,8 @@ function preload(href, as, options) {
614
620
  } else {
615
621
  emitHint(request, 'L', [href, as]);
616
622
  }
623
+ } else {
624
+ previousDispatcher.preload(href, as, options);
617
625
  }
618
626
  }
619
627
  }
@@ -641,6 +649,8 @@ function preloadModule$1(href, options) {
641
649
  } else {
642
650
  return emitHint(request, 'm', href);
643
651
  }
652
+ } else {
653
+ previousDispatcher.preloadModule(href, options);
644
654
  }
645
655
  }
646
656
  }
@@ -670,19 +680,21 @@ function preinitStyle(href, precedence, options) {
670
680
  } else {
671
681
  return emitHint(request, 'S', href);
672
682
  }
683
+ } else {
684
+ previousDispatcher.preinitStyle(href, precedence, options);
673
685
  }
674
686
  }
675
687
  }
676
688
  }
677
689
 
678
- function preinitScript(href, options) {
690
+ function preinitScript(src, options) {
679
691
  {
680
- if (typeof href === 'string') {
692
+ if (typeof src === 'string') {
681
693
  var request = resolveRequest();
682
694
 
683
695
  if (request) {
684
696
  var hints = getHints(request);
685
- var key = 'X|' + href;
697
+ var key = 'X|' + src;
686
698
 
687
699
  if (hints.has(key)) {
688
700
  // duplicate hint
@@ -693,23 +705,25 @@ function preinitScript(href, options) {
693
705
  var trimmed = trimOptions(options);
694
706
 
695
707
  if (trimmed) {
696
- return emitHint(request, 'X', [href, trimmed]);
708
+ return emitHint(request, 'X', [src, trimmed]);
697
709
  } else {
698
- return emitHint(request, 'X', href);
710
+ return emitHint(request, 'X', src);
699
711
  }
712
+ } else {
713
+ previousDispatcher.preinitScript(src, options);
700
714
  }
701
715
  }
702
716
  }
703
717
  }
704
718
 
705
- function preinitModuleScript(href, options) {
719
+ function preinitModuleScript(src, options) {
706
720
  {
707
- if (typeof href === 'string') {
721
+ if (typeof src === 'string') {
708
722
  var request = resolveRequest();
709
723
 
710
724
  if (request) {
711
725
  var hints = getHints(request);
712
- var key = 'M|' + href;
726
+ var key = 'M|' + src;
713
727
 
714
728
  if (hints.has(key)) {
715
729
  // duplicate hint
@@ -720,10 +734,12 @@ function preinitModuleScript(href, options) {
720
734
  var trimmed = trimOptions(options);
721
735
 
722
736
  if (trimmed) {
723
- return emitHint(request, 'M', [href, trimmed]);
737
+ return emitHint(request, 'M', [src, trimmed]);
724
738
  } else {
725
- return emitHint(request, 'M', href);
739
+ return emitHint(request, 'M', src);
726
740
  }
741
+ } else {
742
+ previousDispatcher.preinitModuleScript(src, options);
727
743
  }
728
744
  }
729
745
  }
@@ -765,10 +781,7 @@ function getImagePreloadKey(href, imageSrcSet, imageSizes) {
765
781
  return "[image]" + uniquePart;
766
782
  }
767
783
 
768
- var ReactDOMCurrentDispatcher = ReactDOMSharedInternals.Dispatcher;
769
- function prepareHostDispatcher() {
770
- ReactDOMCurrentDispatcher.current = ReactDOMFlightServerDispatcher;
771
- } // Used to distinguish these contexts from ones used in other renderers.
784
+ // This module registers the host dispatcher so it needs to be imported
772
785
  // small, smaller than how we encode undefined, and is unambiguous. We could use
773
786
  // a different tuple structure to encode this instead but this makes the runtime
774
787
  // cost cheaper by eliminating a type checks in more positions.
@@ -1448,7 +1461,6 @@ function createRequest(model, bundlerConfig, onError, identifierPrefix, onPostpo
1448
1461
  throw new Error('Currently React only supports one RSC renderer at a time.');
1449
1462
  }
1450
1463
 
1451
- prepareHostDispatcher();
1452
1464
  ReactCurrentCache.current = DefaultCacheDispatcher;
1453
1465
  var abortSet = new Set();
1454
1466
  var pingedTasks = [];
@@ -13,8 +13,8 @@
13
13
  var util = require('util');
14
14
  require('crypto');
15
15
  var async_hooks = require('async_hooks');
16
- var React = require('react');
17
16
  var ReactDOM = require('react-dom');
17
+ var React = require('react');
18
18
 
19
19
  // -----------------------------------------------------------------------------
20
20
  const enablePostpone = false;
@@ -475,7 +475,9 @@ function getServerReferenceBoundArguments(config, serverReference) {
475
475
 
476
476
  const ReactDOMSharedInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
477
477
 
478
- const ReactDOMFlightServerDispatcher = {
478
+ const ReactDOMCurrentDispatcher = ReactDOMSharedInternals.ReactDOMCurrentDispatcher;
479
+ const previousDispatcher = ReactDOMCurrentDispatcher.current;
480
+ ReactDOMCurrentDispatcher.current = {
479
481
  prefetchDNS,
480
482
  preconnect,
481
483
  preload,
@@ -501,6 +503,8 @@ function prefetchDNS(href) {
501
503
 
502
504
  hints.add(key);
503
505
  emitHint(request, 'D', href);
506
+ } else {
507
+ previousDispatcher.prefetchDNS(href);
504
508
  }
505
509
  }
506
510
  }
@@ -527,6 +531,8 @@ function preconnect(href, crossOrigin) {
527
531
  } else {
528
532
  emitHint(request, 'C', href);
529
533
  }
534
+ } else {
535
+ previousDispatcher.preconnect(href, crossOrigin);
530
536
  }
531
537
  }
532
538
  }
@@ -560,6 +566,8 @@ function preload(href, as, options) {
560
566
  } else {
561
567
  emitHint(request, 'L', [href, as]);
562
568
  }
569
+ } else {
570
+ previousDispatcher.preload(href, as, options);
563
571
  }
564
572
  }
565
573
  }
@@ -587,6 +595,8 @@ function preloadModule$1(href, options) {
587
595
  } else {
588
596
  return emitHint(request, 'm', href);
589
597
  }
598
+ } else {
599
+ previousDispatcher.preloadModule(href, options);
590
600
  }
591
601
  }
592
602
  }
@@ -616,19 +626,21 @@ function preinitStyle(href, precedence, options) {
616
626
  } else {
617
627
  return emitHint(request, 'S', href);
618
628
  }
629
+ } else {
630
+ previousDispatcher.preinitStyle(href, precedence, options);
619
631
  }
620
632
  }
621
633
  }
622
634
  }
623
635
 
624
- function preinitScript(href, options) {
636
+ function preinitScript(src, options) {
625
637
  {
626
- if (typeof href === 'string') {
638
+ if (typeof src === 'string') {
627
639
  const request = resolveRequest();
628
640
 
629
641
  if (request) {
630
642
  const hints = getHints(request);
631
- const key = 'X|' + href;
643
+ const key = 'X|' + src;
632
644
 
633
645
  if (hints.has(key)) {
634
646
  // duplicate hint
@@ -639,23 +651,25 @@ function preinitScript(href, options) {
639
651
  const trimmed = trimOptions(options);
640
652
 
641
653
  if (trimmed) {
642
- return emitHint(request, 'X', [href, trimmed]);
654
+ return emitHint(request, 'X', [src, trimmed]);
643
655
  } else {
644
- return emitHint(request, 'X', href);
656
+ return emitHint(request, 'X', src);
645
657
  }
658
+ } else {
659
+ previousDispatcher.preinitScript(src, options);
646
660
  }
647
661
  }
648
662
  }
649
663
  }
650
664
 
651
- function preinitModuleScript(href, options) {
665
+ function preinitModuleScript(src, options) {
652
666
  {
653
- if (typeof href === 'string') {
667
+ if (typeof src === 'string') {
654
668
  const request = resolveRequest();
655
669
 
656
670
  if (request) {
657
671
  const hints = getHints(request);
658
- const key = 'M|' + href;
672
+ const key = 'M|' + src;
659
673
 
660
674
  if (hints.has(key)) {
661
675
  // duplicate hint
@@ -666,10 +680,12 @@ function preinitModuleScript(href, options) {
666
680
  const trimmed = trimOptions(options);
667
681
 
668
682
  if (trimmed) {
669
- return emitHint(request, 'M', [href, trimmed]);
683
+ return emitHint(request, 'M', [src, trimmed]);
670
684
  } else {
671
- return emitHint(request, 'M', href);
685
+ return emitHint(request, 'M', src);
672
686
  }
687
+ } else {
688
+ previousDispatcher.preinitModuleScript(src, options);
673
689
  }
674
690
  }
675
691
  }
@@ -711,10 +727,7 @@ function getImagePreloadKey(href, imageSrcSet, imageSizes) {
711
727
  return "[image]" + uniquePart;
712
728
  }
713
729
 
714
- const ReactDOMCurrentDispatcher = ReactDOMSharedInternals.Dispatcher;
715
- function prepareHostDispatcher() {
716
- ReactDOMCurrentDispatcher.current = ReactDOMFlightServerDispatcher;
717
- } // Used to distinguish these contexts from ones used in other renderers.
730
+ // This module registers the host dispatcher so it needs to be imported
718
731
  // small, smaller than how we encode undefined, and is unambiguous. We could use
719
732
  // a different tuple structure to encode this instead but this makes the runtime
720
733
  // cost cheaper by eliminating a type checks in more positions.
@@ -1271,7 +1284,6 @@ function createRequest(model, bundlerConfig, onError, identifierPrefix, onPostpo
1271
1284
  throw new Error('Currently React only supports one RSC renderer at a time.');
1272
1285
  }
1273
1286
 
1274
- prepareHostDispatcher();
1275
1287
  ReactCurrentCache.current = DefaultCacheDispatcher;
1276
1288
  const abortSet = new Set();
1277
1289
  const pingedTasks = [];
@@ -7,76 +7,76 @@
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("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,m=0,q=!0;function r(a,b){a=a.write(b);q=q&&a}
11
- function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(r(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),r(a,ea.encode(b));else{var c=l;0<m&&(c=l.subarray(m));c=ea.encodeInto(b,c);var d=c.read;m+=c.written;d<b.length&&(r(a,l.subarray(0,m)),l=new Uint8Array(2048),m=ea.encodeInto(b.slice(d),l).written);2048===m&&(r(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(r(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),r(a,b)):(c=l.length-m,c<b.byteLength&&
12
- (0===c?r(a,l):(l.set(b.subarray(0,c),m),m+=c,r(a,l),b=b.subarray(c)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(r(a,l),l=new Uint8Array(2048),m=0)));return q}var ea=new aa.TextEncoder,v=Symbol.for("react.client.reference"),w=Symbol.for("react.server.reference");function x(a,b,c){return Object.defineProperties(a,{$$typeof:{value:v},$$id:{value:b},$$async:{value:c}})}var fa=Function.prototype.bind,ha=Array.prototype.slice;
13
- function ia(){var a=fa.apply(this,arguments);if(this.$$typeof===w){var b=ha.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:w},$$id:{value:this.$$id},$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:ia}})}return a}
14
- var ja=Promise.prototype,ka={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("util");require("crypto");var ca=require("async_hooks"),da=require("react-dom"),ea=require("react"),l=null,m=0,q=!0;function r(a,b){a=a.write(b);q=q&&a}
11
+ function u(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(r(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),r(a,fa.encode(b));else{var c=l;0<m&&(c=l.subarray(m));c=fa.encodeInto(b,c);var d=c.read;m+=c.written;d<b.length&&(r(a,l.subarray(0,m)),l=new Uint8Array(2048),m=fa.encodeInto(b.slice(d),l).written);2048===m&&(r(a,l),l=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(r(a,l.subarray(0,m)),l=new Uint8Array(2048),m=0),r(a,b)):(c=l.length-m,c<b.byteLength&&
12
+ (0===c?r(a,l):(l.set(b.subarray(0,c),m),m+=c,r(a,l),b=b.subarray(c)),l=new Uint8Array(2048),m=0),l.set(b,m),m+=b.byteLength,2048===m&&(r(a,l),l=new Uint8Array(2048),m=0)));return q}var fa=new ba.TextEncoder,v=Symbol.for("react.client.reference"),w=Symbol.for("react.server.reference");function x(a,b,c){return Object.defineProperties(a,{$$typeof:{value:v},$$id:{value:b},$$async:{value:c}})}var ha=Function.prototype.bind,ia=Array.prototype.slice;
13
+ function ja(){var a=ha.apply(this,arguments);if(this.$$typeof===w){var b=ia.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:w},$$id:{value:this.$$id},$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:ja}})}return a}
14
+ var ka=Promise.prototype,la={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.");
15
15
  }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.");}};
16
- function la(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=x(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.");
17
- },a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var d=x({},a.$$id,!0),e=new Proxy(d,ma);a.status="fulfilled";a.value=e;return a.then=x(function(f){return Promise.resolve(f(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=x(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.");
18
- },a.$$id+"#"+b,a.$$async),Object.defineProperty(d,"name",{value:b}),d=a[b]=new Proxy(d,ka));return d}
19
- var ma={get:function(a,b){return la(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:la(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(){return ja},set:function(){throw Error("Cannot assign to a client module from a server module.");}},ua={prefetchDNS:na,preconnect:oa,preload:pa,preloadModule:qa,preinitStyle:ra,preinitScript:sa,preinitModuleScript:ta};
20
- function na(a){if("string"===typeof a&&a){var b=y();if(b){var c=b.hints,d="D|"+a;c.has(d)||(c.add(d),z(b,"D",a))}}}function oa(a,b){if("string"===typeof a){var c=y();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))}}}
21
- function pa(a,b,c){if("string"===typeof a){var d=y();if(d){var e=d.hints,f="L";if("image"===b&&c){var g=c.imageSrcSet,k=c.imageSizes,h="";"string"===typeof g&&""!==g?(h+="["+g+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;f+="[image]"+h}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(c=A(c))?z(d,"L",[a,b,c]):z(d,"L",[a,b]))}}}function qa(a,b){if("string"===typeof a){var c=y();if(c){var d=c.hints,e="m|"+a;if(!d.has(e))return d.add(e),(b=A(b))?z(c,"m",[a,b]):z(c,"m",a)}}}
22
- function ra(a,b,c){if("string"===typeof a){var d=y();if(d){var e=d.hints,f="S|"+a;if(!e.has(f))return e.add(f),(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)}}}function sa(a,b){if("string"===typeof a){var c=y();if(c){var d=c.hints,e="X|"+a;if(!d.has(e))return d.add(e),(b=A(b))?z(c,"X",[a,b]):z(c,"X",a)}}}function ta(a,b){if("string"===typeof a){var c=y();if(c){var d=c.hints,e="M|"+a;if(!d.has(e))return d.add(e),(b=A(b))?z(c,"M",[a,b]):z(c,"M",a)}}}
23
- 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}var va=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,wa=new ba.AsyncLocalStorage,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"),D=Symbol.for("react.lazy"),Da=Symbol.for("react.memo_cache_sentinel");
24
- 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`");function Ga(){}
25
- 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(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 Fa;}}var E=null;
26
- 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}
27
- 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};
28
- 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)+":"}
29
- 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===v){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));}function Qa(){return(new AbortController).signal}
30
- function Ra(){var a=y();return a?a.cache:new Map}var Sa={getCacheSignal:function(){var a=Ra(),b=a.get(Qa);void 0===b&&(b=Qa(),a.set(Qa,b));return b},getCacheForType:function(a){var b=Ra(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},Ta=Array.isArray,Ua=Object.getPrototypeOf;function Va(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}
16
+ function ma(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=x(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.");
17
+ },a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var d=x({},a.$$id,!0),e=new Proxy(d,na);a.status="fulfilled";a.value=e;return a.then=x(function(f){return Promise.resolve(f(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=x(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.");
18
+ },a.$$id+"#"+b,a.$$async),Object.defineProperty(d,"name",{value:b}),d=a[b]=new Proxy(d,la));return d}
19
+ var na={get:function(a,b){return ma(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:ma(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(){return ka},set:function(){throw Error("Cannot assign to a client module from a server module.");}},oa=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDOMCurrentDispatcher,y=oa.current;
20
+ oa.current={prefetchDNS:pa,preconnect:qa,preload:ra,preloadModule:sa,preinitStyle:ta,preinitScript:ua,preinitModuleScript:va};function pa(a){if("string"===typeof a&&a){var b=z();if(b){var c=b.hints,d="D|"+a;c.has(d)||(c.add(d),A(b,"D",a))}else y.prefetchDNS(a)}}function qa(a,b){if("string"===typeof a){var c=z();if(c){var d=c.hints,e="C|"+(null==b?"null":b)+"|"+a;d.has(e)||(d.add(e),"string"===typeof b?A(c,"C",[a,b]):A(c,"C",a))}else y.preconnect(a,b)}}
21
+ function ra(a,b,c){if("string"===typeof a){var d=z();if(d){var e=d.hints,f="L";if("image"===b&&c){var g=c.imageSrcSet,k=c.imageSizes,h="";"string"===typeof g&&""!==g?(h+="["+g+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;f+="[image]"+h}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(c=B(c))?A(d,"L",[a,b,c]):A(d,"L",[a,b]))}else y.preload(a,b,c)}}
22
+ function sa(a,b){if("string"===typeof a){var c=z();if(c){var d=c.hints,e="m|"+a;if(d.has(e))return;d.add(e);return(b=B(b))?A(c,"m",[a,b]):A(c,"m",a)}y.preloadModule(a,b)}}function ta(a,b,c){if("string"===typeof a){var d=z();if(d){var e=d.hints,f="S|"+a;if(e.has(f))return;e.add(f);return(c=B(c))?A(d,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?A(d,"S",[a,b]):A(d,"S",a)}y.preinitStyle(a,b,c)}}
23
+ function ua(a,b){if("string"===typeof a){var c=z();if(c){var d=c.hints,e="X|"+a;if(d.has(e))return;d.add(e);return(b=B(b))?A(c,"X",[a,b]):A(c,"X",a)}y.preinitScript(a,b)}}function va(a,b){if("string"===typeof a){var c=z();if(c){var d=c.hints,e="M|"+a;if(d.has(e))return;d.add(e);return(b=B(b))?A(c,"M",[a,b]):A(c,"M",a)}y.preinitModuleScript(a,b)}}function B(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}
24
+ var wa=new ca.AsyncLocalStorage,C=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"),E=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`");
25
+ 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(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;}F=b;throw Fa;}}var F=null;
26
+ function Ia(){if(null===F)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=F;F=null;return a}var G=null,Ja=0,H=null;function Ka(){var a=H||[];H=null;return a}
27
+ var Pa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:I,useTransition:I,readContext:La,useContext:La,useReducer:I,useRef:I,useState:I,useInsertionEffect:I,useLayoutEffect:I,useImperativeHandle:I,useEffect:I,useId:Ma,useSyncExternalStore:I,useCacheRefresh:function(){return Na},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Da;return b},use:Oa};
28
+ function I(){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===G)throw Error("useId can only be used while React is rendering");var a=G.identifierCount++;return":"+G.identifierPrefix+"S"+a.toString(32)+":"}
29
+ function Oa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Ja;Ja+=1;null===H&&(H=[]);return Ha(H,a,b)}a.$$typeof===ya&&La()}if(a.$$typeof===v){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));}function Qa(){return(new AbortController).signal}
30
+ function Ra(){var a=z();return a?a.cache:new Map}var Sa={getCacheSignal:function(){var a=Ra(),b=a.get(Qa);void 0===b&&(b=Qa(),a.set(Qa,b));return b},getCacheForType:function(a){var b=Ra(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},Ta=Array.isArray,Ua=Object.getPrototypeOf;function Va(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}
31
31
  function Wa(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Ta(a))return"[...]";if(null!==a&&a.$$typeof===Xa)return"client";a=Va(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Xa?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}
32
- 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 D:var b=a._payload;a=a._init;try{return I(a(b))}catch(c){}}return""}var Xa=Symbol.for("react.client.reference");
33
- function J(a,b){var c=Va(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Ta(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?J(g):Wa(g);""+f===b?(c=e.length,d=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===B)e="<"+I(a.type)+"/>";else{if(a.$$typeof===Xa)return"client";e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var k=f[g],h=JSON.stringify(k);e+=('"'+k+'"'===h?k:h)+": ";h=a[k];h=
34
- "object"===typeof h&&null!==h?J(h):Wa(h);k===b?(c=e.length,d=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1<c&&0<d?(a=" ".repeat(c)+"^".repeat(d),"\n "+e+"\n "+a):"\n "+e}var Ya=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Za=ca.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
35
- if(!Za)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 $a=Object.prototype,K=JSON.stringify,ab=Za.ReactCurrentCache,bb=Ya.ReactCurrentDispatcher;function cb(a){console.error(a)}function db(){}
36
- function eb(a,b,c,d,e){if(null!==ab.current&&ab.current!==Sa)throw Error("Currently React only supports one RSC renderer at a time.");va.current=ua;ab.current=Sa;var f=new Set,g=[],k=new Set;b={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:f,pingedTasks:g,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,
37
- writtenServerReferences:new Map,writtenObjects:new WeakMap,identifierPrefix:d||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===c?cb:c,onPostpone:void 0===e?db:e};a=L(b,a,null,!1,f);g.push(a);return b}var M=null;function y(){if(M)return M;var a=wa.getStore();return a?a:null}
38
- function fb(a,b,c){var d=L(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return d.model=c.value,gb(a,d),d.id;case "rejected":return b=N(a,c.reason),O(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;gb(a,d)},function(e){d.status=4;e=N(a,e);O(a,d.id,e);a.abortableTasks.delete(d);
39
- null!==a.destination&&P(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;a.completedHintChunks.push(b+c+"\n");hb(a)}function ib(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}
40
- function jb(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:ib}}
41
- function kb(a,b,c,d,e){var f=b.thenableState;b.thenableState=null;Ja=0;G=f;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=jb(d)}e=b.keyPath;f=b.implicitSlot;null!==c?b.keyPath=null===e?c:e+","+c:null===e&&(b.implicitSlot=!0);a=Q(a,b,R,"",d);b.keyPath=e;b.implicitSlot=f;return a}
42
- function lb(a,b,c,d,e,f){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===v?[B,c,d,f]:kb(a,b,d,c,f);if("string"===typeof c)return[B,c,d,f];if("symbol"===typeof c)return c===xa&&null===d?(d=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=Q(a,b,R,"",f.children),b.implicitSlot=d,a):[B,c,d,f];if(null!=c&&"object"===typeof c){if(c.$$typeof===v)return[B,c,d,f];switch(c.$$typeof){case D:var g=
32
+ function J(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 J(a.render);case Ca:return J(a.type);case E:var b=a._payload;a=a._init;try{return J(a(b))}catch(c){}}return""}var Xa=Symbol.for("react.client.reference");
33
+ function K(a,b){var c=Va(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Ta(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?K(g):Wa(g);""+f===b?(c=e.length,d=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===C)e="<"+J(a.type)+"/>";else{if(a.$$typeof===Xa)return"client";e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var k=f[g],h=JSON.stringify(k);e+=('"'+k+'"'===h?k:h)+": ";h=a[k];h=
34
+ "object"===typeof h&&null!==h?K(h):Wa(h);k===b?(c=e.length,d=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1<c&&0<d?(a=" ".repeat(c)+"^".repeat(d),"\n "+e+"\n "+a):"\n "+e}var Ya=ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Za=ea.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
35
+ if(!Za)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 $a=Object.prototype,L=JSON.stringify,ab=Za.ReactCurrentCache,bb=Ya.ReactCurrentDispatcher;function cb(a){console.error(a)}function db(){}
36
+ function eb(a,b,c,d,e){if(null!==ab.current&&ab.current!==Sa)throw Error("Currently React only supports one RSC renderer at a time.");ab.current=Sa;var f=new Set,g=[],k=new Set;b={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortableTasks:f,pingedTasks:g,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,writtenServerReferences:new Map,
37
+ writtenObjects:new WeakMap,identifierPrefix:d||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===c?cb:c,onPostpone:void 0===e?db:e};a=M(b,a,null,!1,f);g.push(a);return b}var N=null;function z(){if(N)return N;var a=wa.getStore();return a?a:null}
38
+ function fb(a,b,c){var d=M(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return d.model=c.value,gb(a,d),d.id;case "rejected":return b=O(a,c.reason),P(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;gb(a,d)},function(e){d.status=4;e=O(a,e);P(a,d.id,e);a.abortableTasks.delete(d);
39
+ null!==a.destination&&Q(a,a.destination)});return d.id}function A(a,b,c){c=L(c);var d=a.nextChunkId++;b="H"+b;b=d.toString(16)+":"+b;a.completedHintChunks.push(b+c+"\n");hb(a)}function ib(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}
40
+ function jb(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:E,_payload:a,_init:ib}}
41
+ function kb(a,b,c,d,e){var f=b.thenableState;b.thenableState=null;Ja=0;H=f;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=jb(d)}e=b.keyPath;f=b.implicitSlot;null!==c?b.keyPath=null===e?c:e+","+c:null===e&&(b.implicitSlot=!0);a=R(a,b,S,"",d);b.keyPath=e;b.implicitSlot=f;return a}
42
+ function lb(a,b,c,d,e,f){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===v?[C,c,d,f]:kb(a,b,d,c,f);if("string"===typeof c)return[C,c,d,f];if("symbol"===typeof c)return c===xa&&null===d?(d=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=R(a,b,S,"",f.children),b.implicitSlot=d,a):[C,c,d,f];if(null!=c&&"object"===typeof c){if(c.$$typeof===v)return[C,c,d,f];switch(c.$$typeof){case E:var g=
43
43
  c._init;c=g(c._payload);return lb(a,b,c,d,e,f);case za:return kb(a,b,d,c.render,f);case Ca:return lb(a,b,c.type,d,e,f)}}throw Error("Unsupported Server Component type: "+Wa(c));}function gb(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return mb(a)}))}
44
- function L(a,b,c,d,e){a.pendingChunks++;var f=a.nextChunkId++;"object"===typeof b&&null!==b&&a.writtenObjects.set(b,f);var g={id:f,status:0,model:b,keyPath:c,implicitSlot:d,ping:function(){return gb(a,g)},toJSON:function(k,h){var p=g.keyPath,t=g.implicitSlot;try{var n=Q(a,g,this,k,h)}catch(Z){if(k=Z===Fa?Ia():Z,h=g.model,h="object"===typeof h&&null!==h&&(h.$$typeof===B||h.$$typeof===D),"object"===typeof k&&null!==k&&"function"===typeof k.then){n=L(a,g.model,g.keyPath,g.implicitSlot,a.abortableTasks);
45
- var C=n.ping;k.then(C,C);n.thenableState=Ka();g.keyPath=p;g.implicitSlot=t;n=h?"$L"+n.id.toString(16):S(n.id)}else if(g.keyPath=p,g.implicitSlot=t,h)a.pendingChunks++,p=a.nextChunkId++,t=N(a,k),O(a,p,t),n="$L"+p.toString(16);else throw k;}return n},thenableState:null};e.add(g);return g}function S(a){return"$"+a.toString(16)}function nb(a,b,c){a=K(c);return b.toString(16)+":"+a+"\n"}
46
- function ob(a,b,c,d){var e=d.$$async?d.$$id+"#async":d.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===B&&"1"===c?"$L"+g.toString(16):S(g);try{var k=a.bundlerConfig,h=d.$$id;g="";var p=k[h];if(p)g=p.name;else{var t=h.lastIndexOf("#");-1!==t&&(g=h.slice(t+1),p=k[h.slice(0,t)]);if(!p)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var n=!0===d.$$async?[p.id,p.chunks,g,1]:[p.id,p.chunks,
47
- g];a.pendingChunks++;var C=a.nextChunkId++,Z=K(n),Lb=C.toString(16)+":I"+Z+"\n";a.completedImportChunks.push(Lb);f.set(e,C);return b[0]===B&&"1"===c?"$L"+C.toString(16):S(C)}catch(Mb){return a.pendingChunks++,b=a.nextChunkId++,c=N(a,Mb),O(a,b,c),S(b)}}function T(a,b){b=L(a,b,null,!1,a.abortableTasks);pb(a,b);return b.id}var U=!1;
48
- function Q(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(U===e)U=null;else return-1===d?(a=T(a,e),S(a)):S(d);else c.set(e,-1);return lb(a,b,e.type,e.key,e.ref,e.props);case D:return b.thenableState=null,c=e._init,e=c(e._payload),Q(a,b,R,"",e)}if(e.$$typeof===v)return ob(a,c,d,e);c=a.writtenObjects;d=c.get(e);if("function"===typeof e.then){if(void 0!==d)if(U===e)U=null;else return"$@"+
49
- d.toString(16);a=fb(a,b,e);c.set(e,a);return"$@"+a.toString(16)}if(void 0!==d)if(U===e)U=null;else return-1===d?(a=T(a,e),S(a)):S(d);else c.set(e,-1);if(Ta(e))return 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"+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));
50
- return"$W"+T(a,e).toString(16)}null===e||"object"!==typeof e?a=null:(a=Ea&&e[Ea]||e["@@iterator"],a="function"===typeof a?a:null);if(a)return a=Array.from(e),a;a=Ua(e);if(a!==$a&&(null===a||null!==Ua(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.");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=
51
- a.nextChunkId++,c="string"===typeof e?Buffer.byteLength(e,"utf8"):e.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",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";if("function"===typeof e){if(e.$$typeof===v)return ob(a,c,d,e);if(e.$$typeof===w)return b=a.writtenServerReferences,
52
- 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(/^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.'+
53
- J(c,d));}if("symbol"===typeof e){b=a.writtenSymbols;var f=b.get(e);if(void 0!==f)return S(f);f=e.description;if(Symbol.for(f)!==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=nb(a,c,"$S"+f);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+
54
- " is not supported in Client Component props."+J(c,d));}function N(a,b){var c=M;M=null;try{var d=wa.run(void 0,a.onError,b)}finally{M=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||""}
55
- function qb(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}function O(a,b,c){c={digest:c};b=b.toString(16)+":E"+K(c)+"\n";a.completedErrorChunks.push(b)}var R={};
56
- function pb(a,b){if(0===b.status)try{U=b.model;var c=Q(a,b,R,"",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";a.completedRegularChunks.push(e);a.abortableTasks.delete(b);b.status=1}catch(h){var f=h===Fa?Ia():h;if("object"===typeof f&&null!==f&&"function"===typeof f.then){var g=b.ping;f.then(g,g);b.thenableState=Ka()}else{a.abortableTasks.delete(b);b.status=4;var k=N(a,f);O(a,b.id,k)}}finally{}}
57
- function mb(a){var b=bb.current;bb.current=Pa;var c=M;F=M=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<d.length;e++)pb(a,d[e]);null!==a.destination&&P(a,a.destination)}catch(f){N(a,f),qb(a,f)}finally{bb.current=b,F=null,M=c}}
58
- function P(a,b){l=new Uint8Array(2048);m=0;q=!0;try{for(var c=a.completedImportChunks,d=0;d<c.length;d++)if(a.pendingChunks--,!u(b,c[d])){a.destination=null;d++;break}c.splice(0,d);var e=a.completedHintChunks;for(d=0;d<e.length;d++)if(!u(b,e[d])){a.destination=null;d++;break}e.splice(0,d);var f=a.completedRegularChunks;for(d=0;d<f.length;d++)if(a.pendingChunks--,!u(b,f[d])){a.destination=null;d++;break}f.splice(0,d);var g=a.completedErrorChunks;for(d=0;d<g.length;d++)if(a.pendingChunks--,!u(b,g[d])){a.destination=
59
- null;d++;break}g.splice(0,d)}finally{a.flushScheduled=!1,l&&0<m&&b.write(l.subarray(0,m)),l=null,m=0,q=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function rb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return wa.run(a,mb,a)})}function hb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return P(a,b)})}}
60
- function sb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{P(a,b)}catch(c){N(a,c),qb(a,c)}}}
61
- function tb(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,f=N(a,e);O(a,d,f,e);c.forEach(function(g){g.status=3;var k=S(d);g=nb(a,g.id,k);a.completedErrorChunks.push(g)});c.clear()}null!==a.destination&&P(a,a.destination)}catch(g){N(a,g),qb(a,g)}}
44
+ function M(a,b,c,d,e){a.pendingChunks++;var f=a.nextChunkId++;"object"===typeof b&&null!==b&&a.writtenObjects.set(b,f);var g={id:f,status:0,model:b,keyPath:c,implicitSlot:d,ping:function(){return gb(a,g)},toJSON:function(k,h){var p=g.keyPath,t=g.implicitSlot;try{var n=R(a,g,this,k,h)}catch(aa){if(k=aa===Fa?Ia():aa,h=g.model,h="object"===typeof h&&null!==h&&(h.$$typeof===C||h.$$typeof===E),"object"===typeof k&&null!==k&&"function"===typeof k.then){n=M(a,g.model,g.keyPath,g.implicitSlot,a.abortableTasks);
45
+ var D=n.ping;k.then(D,D);n.thenableState=Ka();g.keyPath=p;g.implicitSlot=t;n=h?"$L"+n.id.toString(16):T(n.id)}else if(g.keyPath=p,g.implicitSlot=t,h)a.pendingChunks++,p=a.nextChunkId++,t=O(a,k),P(a,p,t),n="$L"+p.toString(16);else throw k;}return n},thenableState:null};e.add(g);return g}function T(a){return"$"+a.toString(16)}function nb(a,b,c){a=L(c);return b.toString(16)+":"+a+"\n"}
46
+ function ob(a,b,c,d){var e=d.$$async?d.$$id+"#async":d.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===C&&"1"===c?"$L"+g.toString(16):T(g);try{var k=a.bundlerConfig,h=d.$$id;g="";var p=k[h];if(p)g=p.name;else{var t=h.lastIndexOf("#");-1!==t&&(g=h.slice(t+1),p=k[h.slice(0,t)]);if(!p)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var n=!0===d.$$async?[p.id,p.chunks,g,1]:[p.id,p.chunks,
47
+ g];a.pendingChunks++;var D=a.nextChunkId++,aa=L(n),Lb=D.toString(16)+":I"+aa+"\n";a.completedImportChunks.push(Lb);f.set(e,D);return b[0]===C&&"1"===c?"$L"+D.toString(16):T(D)}catch(Mb){return a.pendingChunks++,b=a.nextChunkId++,c=O(a,Mb),P(a,b,c),T(b)}}function U(a,b){b=M(a,b,null,!1,a.abortableTasks);pb(a,b);return b.id}var V=!1;
48
+ function R(a,b,c,d,e){b.model=e;if(e===C)return"$";if(null===e)return null;if("object"===typeof e){switch(e.$$typeof){case C:c=a.writtenObjects;d=c.get(e);if(void 0!==d)if(V===e)V=null;else return-1===d?(a=U(a,e),T(a)):T(d);else c.set(e,-1);return lb(a,b,e.type,e.key,e.ref,e.props);case E:return b.thenableState=null,c=e._init,e=c(e._payload),R(a,b,S,"",e)}if(e.$$typeof===v)return ob(a,c,d,e);c=a.writtenObjects;d=c.get(e);if("function"===typeof e.then){if(void 0!==d)if(V===e)V=null;else return"$@"+
49
+ d.toString(16);a=fb(a,b,e);c.set(e,a);return"$@"+a.toString(16)}if(void 0!==d)if(V===e)V=null;else return-1===d?(a=U(a,e),T(a)):T(d);else c.set(e,-1);if(Ta(e))return 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"+U(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));
50
+ return"$W"+U(a,e).toString(16)}null===e||"object"!==typeof e?a=null:(a=Ea&&e[Ea]||e["@@iterator"],a="function"===typeof a?a:null);if(a)return a=Array.from(e),a;a=Ua(e);if(a!==$a&&(null===a||null!==Ua(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.");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=
51
+ a.nextChunkId++,c="string"===typeof e?Buffer.byteLength(e,"utf8"):e.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",a.completedRegularChunks.push(c,e),T(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";if("function"===typeof e){if(e.$$typeof===v)return ob(a,c,d,e);if(e.$$typeof===w)return b=a.writtenServerReferences,
52
+ 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=U(a,c),b.set(e,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+K(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.'+
53
+ K(c,d));}if("symbol"===typeof e){b=a.writtenSymbols;var f=b.get(e);if(void 0!==f)return T(f);f=e.description;if(Symbol.for(f)!==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.")+K(c,d));a.pendingChunks++;c=a.nextChunkId++;d=nb(a,c,"$S"+f);a.completedImportChunks.push(d);b.set(e,c);return T(c)}if("bigint"===typeof e)return"$n"+e.toString(10);throw Error("Type "+typeof e+
54
+ " is not supported in Client Component props."+K(c,d));}function O(a,b){var c=N;N=null;try{var d=wa.run(void 0,a.onError,b)}finally{N=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||""}
55
+ function qb(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}function P(a,b,c){c={digest:c};b=b.toString(16)+":E"+L(c)+"\n";a.completedErrorChunks.push(b)}var S={};
56
+ function pb(a,b){if(0===b.status)try{V=b.model;var c=R(a,b,S,"",b.model);V=c;b.keyPath=null;b.implicitSlot=!1;var d="object"===typeof c&&null!==c?L(c,b.toJSON):L(c),e=b.id.toString(16)+":"+d+"\n";a.completedRegularChunks.push(e);a.abortableTasks.delete(b);b.status=1}catch(h){var f=h===Fa?Ia():h;if("object"===typeof f&&null!==f&&"function"===typeof f.then){var g=b.ping;f.then(g,g);b.thenableState=Ka()}else{a.abortableTasks.delete(b);b.status=4;var k=O(a,f);P(a,b.id,k)}}finally{}}
57
+ function mb(a){var b=bb.current;bb.current=Pa;var c=N;G=N=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<d.length;e++)pb(a,d[e]);null!==a.destination&&Q(a,a.destination)}catch(f){O(a,f),qb(a,f)}finally{bb.current=b,G=null,N=c}}
58
+ function Q(a,b){l=new Uint8Array(2048);m=0;q=!0;try{for(var c=a.completedImportChunks,d=0;d<c.length;d++)if(a.pendingChunks--,!u(b,c[d])){a.destination=null;d++;break}c.splice(0,d);var e=a.completedHintChunks;for(d=0;d<e.length;d++)if(!u(b,e[d])){a.destination=null;d++;break}e.splice(0,d);var f=a.completedRegularChunks;for(d=0;d<f.length;d++)if(a.pendingChunks--,!u(b,f[d])){a.destination=null;d++;break}f.splice(0,d);var g=a.completedErrorChunks;for(d=0;d<g.length;d++)if(a.pendingChunks--,!u(b,g[d])){a.destination=
59
+ null;d++;break}g.splice(0,d)}finally{a.flushScheduled=!1,l&&0<m&&b.write(l.subarray(0,m)),l=null,m=0,q=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function rb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return wa.run(a,mb,a)})}function hb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return Q(a,b)})}}
60
+ function sb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Q(a,b)}catch(c){O(a,c),qb(a,c)}}}
61
+ function tb(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,f=O(a,e);P(a,d,f,e);c.forEach(function(g){g.status=3;var k=T(d);g=nb(a,g.id,k);a.completedErrorChunks.push(g)});c.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),qb(a,g)}}
62
62
  function ub(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 vb=new Map;
63
63
  function wb(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 xb(){}
64
64
  function yb(a){for(var b=a[1],c=[],d=0;d<b.length;){var e=b[d++];b[d++];var f=vb.get(e);if(void 0===f){f=__webpack_chunk_load__(e);c.push(f);var g=vb.set.bind(vb,e,null);f.then(g,xb);vb.set(e,f)}else null!==f&&c.push(f)}return 4===a.length?0===c.length?wb(a[0]):Promise.all(c).then(function(){return wb(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]]}function zb(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}zb.prototype=Object.create(Promise.prototype);
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]]}function zb(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}zb.prototype=Object.create(Promise.prototype);
66
66
  zb.prototype.then=function(a,b){switch(this.status){case "resolved_model":Ab(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 Bb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}
67
- function Cb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Bb(c,b)}}function Db(a,b,c,d,e,f){var g=ub(a._bundlerConfig,b);a=yb(g);if(c)c=Promise.all([c,a]).then(function(k){k=k[0];var h=V(g);return h.bind.apply(h,[null].concat(k))});else if(a)c=Promise.resolve(a).then(function(){return V(g)});else return V(g);c.then(Eb(d,e,f),Fb(d));return null}var W=null,X=null;
68
- function Ab(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 Gb(a,b){a._chunks.forEach(function(c){"pending"===c.status&&Cb(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 zb("resolved_model",d,null,a):new zb("pending",null,null,a),c.set(b,d));return d}function Eb(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&&Bb(e,d.value))}}function Fb(a){return function(b){return Cb(a,b)}}
70
- function Hb(a,b){a=Y(a,b);"resolved_model"===a.status&&Ab(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 "S":return Symbol.for(d.slice(2));case "F":return d=parseInt(d.slice(2),16),d=Hb(a,d),Db(a,d.id,d.bound,W,b,c);case "Q":return b=parseInt(d.slice(2),16),a=Hb(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=Hb(a,b),new Set(a);case "K":b=d.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,k){k.startsWith(e)&&f.append(k.slice(e.length),
72
- g)});return f;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":Ab(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=W,a.then(Eb(d,b,c),Fb(d)),null;default:throw a.reason;}}return d}
67
+ function Cb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Bb(c,b)}}function Db(a,b,c,d,e,f){var g=ub(a._bundlerConfig,b);a=yb(g);if(c)c=Promise.all([c,a]).then(function(k){k=k[0];var h=W(g);return h.bind.apply(h,[null].concat(k))});else if(a)c=Promise.resolve(a).then(function(){return W(g)});else return W(g);c.then(Eb(d,e,f),Fb(d));return null}var X=null,Y=null;
68
+ function Ab(a){var b=X,c=Y;X=a;Y=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.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{X=b,Y=c}}function Gb(a,b){a._chunks.forEach(function(c){"pending"===c.status&&Cb(c,b)})}
69
+ function Z(a,b){var c=a._chunks,d=c.get(b);d||(d=a._formData.get(a._prefix+b),d=null!=d?new zb("resolved_model",d,null,a):new zb("pending",null,null,a),c.set(b,d));return d}function Eb(a,b,c){if(Y){var d=Y;d.deps++}else d=Y={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&&Bb(e,d.value))}}function Fb(a){return function(b){return Cb(a,b)}}
70
+ function Hb(a,b){a=Z(a,b);"resolved_model"===a.status&&Ab(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),Z(a,b);case "S":return Symbol.for(d.slice(2));case "F":return d=parseInt(d.slice(2),16),d=Hb(a,d),Db(a,d.id,d.bound,X,b,c);case "Q":return b=parseInt(d.slice(2),16),a=Hb(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=Hb(a,b),new Set(a);case "K":b=d.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,k){k.startsWith(e)&&f.append(k.slice(e.length),
72
+ g)});return f;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=Z(a,d);switch(a.status){case "resolved_model":Ab(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=X,a.then(Eb(d,b,c),Fb(d)),null;default:throw a.reason;}}return d}
73
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(f,g){return"string"===typeof g?Ib(e,this,f,g):g}};return e}
74
74
  function Kb(a,b,c){a._formData.append(b,c);var d=a._prefix;if(b.startsWith(d)&&(a=a._chunks,b=+b.slice(d.length),(b=a.get(b))&&"pending"===b.status&&(d=b.value,a=b.reason,b.status="resolved_model",b.value=c,null!==d)))switch(Ab(b),b.status){case "fulfilled":Bb(d,b.value);break;case "pending":case "blocked":b.value=d;b.reason=a;break;case "rejected":a&&Bb(a,b.reason)}}function Nb(a){Gb(a,Error("Connection closed."))}
75
- function Ob(a,b,c){var d=ub(a,b);a=yb(d);return c?Promise.all([c,a]).then(function(e){e=e[0];var f=V(d);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return V(d)}):Promise.resolve(V(d))}function Pb(a,b,c){a=Jb(b,c,a);Nb(a);a=Y(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function Qb(a,b){return function(){return sb(b,a)}}function Rb(a,b){return function(){a.destination=null;tb(a,Error(b))}}
76
- exports.createClientModuleProxy=function(a){a=x({},a,!1);return new Proxy(a,ma)};exports.decodeAction=function(a,b){var c=new FormData,d=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Pb(a,b,e),d=Ob(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),d=Ob(b,e,null)):c.append(f,e)});return null===d?null:d.then(function(e){return e.bind(null,c)})};
77
- 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(g,k){k.startsWith("$ACTION_REF_")&&(g="$ACTION_"+k.slice(12)+":",e=Pb(b,c,g))});if(null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(g){return null===g?null:[a,d,f,g.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);Nb(a);return b};
75
+ function Ob(a,b,c){var d=ub(a,b);a=yb(d);return c?Promise.all([c,a]).then(function(e){e=e[0];var f=W(d);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(d)}):Promise.resolve(W(d))}function Pb(a,b,c){a=Jb(b,c,a);Nb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function Qb(a,b){return function(){return sb(b,a)}}function Rb(a,b){return function(){a.destination=null;tb(a,Error(b))}}
76
+ exports.createClientModuleProxy=function(a){a=x({},a,!1);return new Proxy(a,na)};exports.decodeAction=function(a,b){var c=new FormData,d=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=Pb(a,b,e),d=Ob(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),d=Ob(b,e,null)):c.append(f,e)});return null===d?null:d.then(function(e){return e.bind(null,c)})};
77
+ 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(g,k){k.startsWith("$ACTION_REF_")&&(g="$ACTION_"+k.slice(12)+":",e=Pb(b,c,g))});if(null===e)return Promise.resolve(null);var f=e.id;return Promise.resolve(e.bound).then(function(g){return null===g?null:[a,d,f,g.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=Z(a,0);Nb(a);return b};
78
78
  exports.decodeReplyFromBusboy=function(a,b){var c=Jb(b,""),d=0,e=[];a.on("field",function(f,g){0<d?e.push(f,g):Kb(c,f,g)});a.on("file",function(f,g,k){var h=k.filename,p=k.mimeType;if("base64"===k.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");d++;var t=[];g.on("data",function(n){t.push(n)});g.on("end",function(){var n=
79
- new Blob(t,{type:p});c._formData.append(f,n,h);d--;if(0===d){for(n=0;n<e.length;n+=2)Kb(c,e[n],e[n+1]);e.length=0}})});a.on("finish",function(){Nb(c)});a.on("error",function(f){Gb(c,f)});return Y(c,0)};exports.registerClientReference=function(a,b,c){return x(a,b+"#"+c,!1)};exports.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:w},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:ia,configurable:!0}})};
79
+ new Blob(t,{type:p});c._formData.append(f,n,h);d--;if(0===d){for(n=0;n<e.length;n+=2)Kb(c,e[n],e[n+1]);e.length=0}})});a.on("finish",function(){Nb(c)});a.on("error",function(f){Gb(c,f)});return Z(c,0)};exports.registerClientReference=function(a,b,c){return x(a,b+"#"+c,!1)};exports.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:w},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:ja,configurable:!0}})};
80
80
  exports.renderToPipeableStream=function(a,b,c){var d=eb(a,b,c?c.onError:void 0,c?c.identifierPrefix:void 0,c?c.onPostpone:void 0),e=!1;rb(d);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;sb(d,f);f.on("drain",Qb(f,d));f.on("error",Rb(d,"The destination stream errored while writing data."));f.on("close",Rb(d,"The destination stream closed early."));return f},abort:function(f){tb(d,f)}}};
81
81
 
82
82
  //# sourceMappingURL=react-server-dom-webpack-server.node.production.min.js.map