react-server-dom-webpack 18.3.0-canary-a870b2d54-20240314 → 18.3.0-canary-14898b6a9-20240318

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 +85 -83
  2. package/cjs/react-server-dom-webpack-client.browser.production.js +86 -84
  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 +85 -83
  6. package/cjs/react-server-dom-webpack-client.edge.production.js +86 -84
  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 +85 -83
  10. package/cjs/react-server-dom-webpack-client.node.production.js +86 -84
  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 +85 -83
  14. package/cjs/react-server-dom-webpack-client.node.unbundled.production.js +86 -84
  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 +18 -37
  18. package/cjs/react-server-dom-webpack-server.browser.production.js +19 -32
  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 +18 -37
  22. package/cjs/react-server-dom-webpack-server.edge.production.js +19 -32
  23. package/cjs/react-server-dom-webpack-server.edge.production.min.js +58 -59
  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 +17 -36
  26. package/cjs/react-server-dom-webpack-server.node.production.js +18 -31
  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 +17 -36
  30. package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +18 -31
  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 +11 -5
  34. package/umd/react-server-dom-webpack-client.browser.development.js +85 -83
  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 +18 -37
  37. package/umd/react-server-dom-webpack-server.browser.production.min.js +50 -50
@@ -59,7 +59,7 @@
59
59
  function scheduleWork(callback) {
60
60
  callback();
61
61
  }
62
- var VIEW_SIZE = 512;
62
+ var VIEW_SIZE = 2048;
63
63
  var currentView = null;
64
64
  var writtenBytes = 0;
65
65
  function beginWriting(destination) {
@@ -72,15 +72,9 @@
72
72
  }
73
73
 
74
74
  if (chunk.byteLength > VIEW_SIZE) {
75
- {
76
- if (precomputedChunkSet.has(chunk)) {
77
- error('A large precomputed chunk was passed to writeChunk without being copied.' + ' Large chunks get enqueued directly and are not copied. This is incompatible with precomputed chunks because you cannot enqueue the same precomputed chunk twice.' + ' Use "cloneChunk" to make a copy of this large precomputed chunk before writing it. This is a bug in React.');
78
- }
79
- } // this chunk may overflow a single view which implies it was not
75
+ // this chunk may overflow a single view which implies it was not
80
76
  // one that is cached by the streaming renderer. We will enqueu
81
77
  // it directly and expect it is not re-used
82
-
83
-
84
78
  if (writtenBytes > 0) {
85
79
  destination.enqueue(new Uint8Array(currentView.buffer, 0, writtenBytes));
86
80
  currentView = new Uint8Array(VIEW_SIZE);
@@ -135,7 +129,6 @@
135
129
  function stringToChunk(content) {
136
130
  return textEncoder.encode(content);
137
131
  }
138
- var precomputedChunkSet = new Set() ;
139
132
  function byteLengthOfChunk(chunk) {
140
133
  return chunk.byteLength;
141
134
  }
@@ -459,9 +452,7 @@
459
452
 
460
453
  var ReactDOMSharedInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
461
454
 
462
- var ReactDOMCurrentDispatcher = ReactDOMSharedInternals.ReactDOMCurrentDispatcher;
463
- var previousDispatcher = ReactDOMCurrentDispatcher.current;
464
- ReactDOMCurrentDispatcher.current = {
455
+ var ReactDOMFlightServerDispatcher = {
465
456
  prefetchDNS: prefetchDNS,
466
457
  preconnect: preconnect,
467
458
  preload: preload,
@@ -487,8 +478,6 @@
487
478
 
488
479
  hints.add(key);
489
480
  emitHint(request, 'D', href);
490
- } else {
491
- previousDispatcher.prefetchDNS(href);
492
481
  }
493
482
  }
494
483
  }
@@ -515,8 +504,6 @@
515
504
  } else {
516
505
  emitHint(request, 'C', href);
517
506
  }
518
- } else {
519
- previousDispatcher.preconnect(href, crossOrigin);
520
507
  }
521
508
  }
522
509
  }
@@ -550,8 +537,6 @@
550
537
  } else {
551
538
  emitHint(request, 'L', [href, as]);
552
539
  }
553
- } else {
554
- previousDispatcher.preload(href, as, options);
555
540
  }
556
541
  }
557
542
  }
@@ -579,8 +564,6 @@
579
564
  } else {
580
565
  return emitHint(request, 'm', href);
581
566
  }
582
- } else {
583
- previousDispatcher.preloadModule(href, options);
584
567
  }
585
568
  }
586
569
  }
@@ -610,21 +593,19 @@
610
593
  } else {
611
594
  return emitHint(request, 'S', href);
612
595
  }
613
- } else {
614
- previousDispatcher.preinitStyle(href, precedence, options);
615
596
  }
616
597
  }
617
598
  }
618
599
  }
619
600
 
620
- function preinitScript(src, options) {
601
+ function preinitScript(href, options) {
621
602
  {
622
- if (typeof src === 'string') {
603
+ if (typeof href === 'string') {
623
604
  var request = resolveRequest();
624
605
 
625
606
  if (request) {
626
607
  var hints = getHints(request);
627
- var key = 'X|' + src;
608
+ var key = 'X|' + href;
628
609
 
629
610
  if (hints.has(key)) {
630
611
  // duplicate hint
@@ -635,25 +616,23 @@
635
616
  var trimmed = trimOptions(options);
636
617
 
637
618
  if (trimmed) {
638
- return emitHint(request, 'X', [src, trimmed]);
619
+ return emitHint(request, 'X', [href, trimmed]);
639
620
  } else {
640
- return emitHint(request, 'X', src);
621
+ return emitHint(request, 'X', href);
641
622
  }
642
- } else {
643
- previousDispatcher.preinitScript(src, options);
644
623
  }
645
624
  }
646
625
  }
647
626
  }
648
627
 
649
- function preinitModuleScript(src, options) {
628
+ function preinitModuleScript(href, options) {
650
629
  {
651
- if (typeof src === 'string') {
630
+ if (typeof href === 'string') {
652
631
  var request = resolveRequest();
653
632
 
654
633
  if (request) {
655
634
  var hints = getHints(request);
656
- var key = 'M|' + src;
635
+ var key = 'M|' + href;
657
636
 
658
637
  if (hints.has(key)) {
659
638
  // duplicate hint
@@ -664,12 +643,10 @@
664
643
  var trimmed = trimOptions(options);
665
644
 
666
645
  if (trimmed) {
667
- return emitHint(request, 'M', [src, trimmed]);
646
+ return emitHint(request, 'M', [href, trimmed]);
668
647
  } else {
669
- return emitHint(request, 'M', src);
648
+ return emitHint(request, 'M', href);
670
649
  }
671
- } else {
672
- previousDispatcher.preinitModuleScript(src, options);
673
650
  }
674
651
  }
675
652
  }
@@ -711,7 +688,10 @@
711
688
  return "[image]" + uniquePart;
712
689
  }
713
690
 
714
- // This module registers the host dispatcher so it needs to be imported
691
+ var ReactDOMCurrentDispatcher = ReactDOMSharedInternals.Dispatcher;
692
+ function prepareHostDispatcher() {
693
+ ReactDOMCurrentDispatcher.current = ReactDOMFlightServerDispatcher;
694
+ } // Used to distinguish these contexts from ones used in other renderers.
715
695
  // small, smaller than how we encode undefined, and is unambiguous. We could use
716
696
  // a different tuple structure to encode this instead but this makes the runtime
717
697
  // cost cheaper by eliminating a type checks in more positions.
@@ -1391,6 +1371,7 @@
1391
1371
  throw new Error('Currently React only supports one RSC renderer at a time.');
1392
1372
  }
1393
1373
 
1374
+ prepareHostDispatcher();
1394
1375
  ReactCurrentCache.current = DefaultCacheDispatcher;
1395
1376
  var abortSet = new Set();
1396
1377
  var pingedTasks = [];
@@ -8,55 +8,55 @@
8
8
  * LICENSE file in the root directory of this source tree.
9
9
  */
10
10
 
11
- 'use strict';(function(){(function(p,L){"object"===typeof exports&&"undefined"!==typeof module?L(exports,require("react-dom"),require("react")):"function"===typeof define&&define.amd?define(["exports","react-dom","react"],L):(p="undefined"!==typeof globalThis?globalThis:p||self,L(p.ReactServerDOMServer={},p.ReactDOM,p.React))})(this,function(p,L,ta){function U(a,b){if(0!==b.byteLength)if(512<b.byteLength)0<q&&(a.enqueue(new Uint8Array(r.buffer,0,q)),r=new Uint8Array(512),q=0),a.enqueue(b);else{var c=
12
- r.length-q;c<b.byteLength&&(0===c?a.enqueue(r):(r.set(b.subarray(0,c),q),a.enqueue(r),b=b.subarray(c)),r=new Uint8Array(512),q=0);r.set(b,q);q+=b.byteLength}return!0}function ua(a,b){"function"===typeof a.error?a.error(b):a.close()}function E(a,b,c){return Object.defineProperties(a,{$$typeof:{value:F},$$id:{value:b},$$async:{value:c}})}function va(){var a=bb.apply(this,arguments);if(this.$$typeof===V){var b=cb.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:V},$$id:{value:this.$$id},
13
- $$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:va}})}return a}function wa(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=E(function(){throw Error("Attempted to call the default export of "+
14
- 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.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var d=E({},a.$$id,!0),e=new Proxy(d,xa);a.status="fulfilled";a.value=e;return a.then=E(function(g,f){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.");
15
- d=a[b];d||(d=E(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.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(d,"name",{value:b}),d=a[b]=new Proxy(d,db));return d}function M(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}function ya(){}function eb(a,
16
- b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(ya,ya),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;}W=b;throw da;}}function za(){if(null===W)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");
17
- var a=W;W=null;return a}function Aa(){var a=G||[];G=null;return a}function u(){throw Error("This Hook is not supported in Server Components.");}function fb(){throw Error("Refreshing the cache is not supported in Server Components.");}function ea(){throw Error("Cannot read a Client Context from a Server Component.");}function fa(){return(new AbortController).signal}function Ba(){var a=l?l:null;return a?a.cache:new Map}function Ca(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,
18
- function(b,c){return c})}function ha(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(ia(a))return"[...]";if(null!==a&&a.$$typeof===ja)return"client";a=Ca(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===ja?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}function X(a){if("string"===typeof a)return a;switch(a){case gb:return"Suspense";case hb:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Da:return X(a.render);
19
- case Ea:return X(a.type);case N:var b=a._payload;a=a._init;try{return X(a(b))}catch(c){}}return""}function H(a,b){var c=Ca(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(ia(a)){var e="[";for(var g=0;g<a.length;g++){0<g&&(e+=", ");var f=a[g];f="object"===typeof f&&null!==f?H(f):ha(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===v)e="<"+X(a.type)+"/>";else{if(a.$$typeof===ja)return"client";e="{";g=Object.keys(a);for(f=0;f<
20
- g.length;f++){0<f&&(e+=", ");var h=g[f],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?H(k):ha(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}function ib(a){console.error(a)}function jb(a){}function kb(a,b,c,d,e,g){if(null!==ka.current&&ka.current!==Fa)throw Error("Currently React only supports one RSC renderer at a time.");
21
- ka.current=Fa;var f=new Set;g=[];var h=new Set;b={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:h,abortableTasks:f,pingedTasks:g,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,writtenServerReferences:new Map,writtenObjects:new WeakMap,identifierPrefix:d||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===c?
22
- ib:c,onPostpone:void 0===e?jb:e};a=Y(b,a,null,!1,f);g.push(a);return b}function lb(a,b,c){var d=Y(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return d.model=c.value,la(a,d),d.id;case "rejected":return b=x(a,c.reason),I(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=
23
- e;la(a,d)},function(e){d.status=4;e=x(a,e);I(a,d.id,e);a.abortableTasks.delete(d);null!==a.destination&&O(a,a.destination)});return d.id}function n(a,b,c){c=J(c);var d=a.nextChunkId++;b="H"+b;b=d.toString(16)+":"+b;c=B.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 mb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function nb(a){switch(a.status){case "fulfilled":case "rejected":break;
24
- 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:N,_payload:a,_init:mb}}function Ga(a,b,c,d,e){var g=b.thenableState;b.thenableState=null;ma=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=nb(d)}e=b.keyPath;g=b.implicitSlot;null!==c?b.keyPath=null===e?
25
- c:e+","+c:null===e&&(b.implicitSlot=!0);a=P(a,b,Z,"",d);b.keyPath=e;b.implicitSlot=g;return a}function na(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===F?[v,c,d,g]:Ga(a,b,d,c,g);if("string"===typeof c)return[v,c,d,g];if("symbol"===typeof c)return c===ob&&null===d?(d=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=P(a,b,Z,"",g.children),b.implicitSlot=d,a):[v,c,d,g];
26
- if(null!=c&&"object"===typeof c){if(c.$$typeof===F)return[v,c,d,g];switch(c.$$typeof){case N:var f=c._init;c=f(c._payload);return na(a,b,c,d,e,g);case Da:return Ga(a,b,d,c.render,g);case Ea:return na(a,b,c.type,d,e,g)}}throw Error("Unsupported Server Component type: "+ha(c));}function la(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,Ha(a))}function Y(a,b,c,d,e){a.pendingChunks++;var g=a.nextChunkId++;"object"===typeof b&&null!==b&&a.writtenObjects.set(b,g);
27
- var f={id:g,status:0,model:b,keyPath:c,implicitSlot:d,ping:function(){return la(a,f)},toJSON:function(h,k){var m=f.keyPath,z=f.implicitSlot;try{var w=P(a,f,this,h,k)}catch(aa){if(h=aa===da?za():aa,k=f.model,k="object"===typeof k&&null!==k&&(k.$$typeof===v||k.$$typeof===N),"object"===typeof h&&null!==h&&"function"===typeof h.then){w=Y(a,f.model,f.keyPath,f.implicitSlot,a.abortableTasks);var C=w.ping;h.then(C,C);w.thenableState=Aa();f.keyPath=m;f.implicitSlot=z;w=k?"$L"+w.id.toString(16):t(w.id)}else if(f.keyPath=
28
- m,f.implicitSlot=z,k)a.pendingChunks++,m=a.nextChunkId++,z=x(a,h),I(a,m,z),w="$L"+m.toString(16);else throw h;}return w},thenableState:null};e.add(f);return f}function t(a){return"$"+a.toString(16)}function Ia(a,b,c){a=J(c);b=b.toString(16)+":"+a+"\n";return B.encode(b)}function Ja(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]===v&&"1"===c?"$L"+f.toString(16):t(f);try{var h=a.bundlerConfig,k=d.$$id;f="";var m=h[k];if(m)f=m.name;else{var z=
29
- 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 w=!0===d.$$async?[m.id,m.chunks,f,1]:[m.id,m.chunks,f];a.pendingChunks++;var C=a.nextChunkId++,aa=J(w),pb=C.toString(16)+":I"+aa+"\n",qb=B.encode(pb);a.completedImportChunks.push(qb);g.set(e,C);return b[0]===v&&"1"===c?"$L"+C.toString(16):t(C)}catch(rb){return a.pendingChunks++,b=a.nextChunkId++,
30
- c=x(a,rb),I(a,b,c),t(b)}}function Q(a,b){b=Y(a,b,null,!1,a.abortableTasks);Ka(a,b);return b.id}function P(a,b,c,d,e){b.model=e;if(e===v)return"$";if(null===e)return null;if("object"===typeof e){switch(e.$$typeof){case v:c=a.writtenObjects;d=c.get(e);if(void 0!==d)if(A===e)A=null;else return-1===d?(a=Q(a,e),t(a)):t(d);else c.set(e,-1);return na(a,b,e.type,e.key,e.ref,e.props);case N:return b.thenableState=null,c=e._init,e=c(e._payload),P(a,b,Z,"",e)}if(e.$$typeof===F)return Ja(a,c,d,e);c=a.writtenObjects;
31
- d=c.get(e);if("function"===typeof e.then){if(void 0!==d)if(A===e)A=null;else return"$@"+d.toString(16);a=lb(a,b,e);c.set(e,a);return"$@"+a.toString(16)}if(void 0!==d)if(A===e)A=null;else return-1===d?(a=Q(a,e),t(a)):t(d);else c.set(e,-1);if(ia(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"+Q(a,e).toString(16)}if(e instanceof Set){e=Array.from(e);for(b=0;b<e.length;b++)c=
32
- e[b],"object"===typeof c&&null!==c&&(d=a.writtenObjects,void 0===d.get(c)&&d.set(c,-1));return"$W"+Q(a,e).toString(16)}null===e||"object"!==typeof e?a=null:(a=La&&e[La]||e["@@iterator"],a="function"===typeof a?a:null);if(a)return a=Array.from(e),a;a=Ma(e);if(a!==sb&&(null===a||null!==Ma(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-
11
+ 'use strict';(function(){(function(p,D){"object"===typeof exports&&"undefined"!==typeof module?D(exports,require("react"),require("react-dom")):"function"===typeof define&&define.amd?define(["exports","react","react-dom"],D):(p="undefined"!==typeof globalThis?globalThis:p||self,D(p.ReactServerDOMServer={},p.React,p.ReactDOM))})(this,function(p,D,Za){function T(a,b){if(0!==b.byteLength)if(2048<b.byteLength)0<q&&(a.enqueue(new Uint8Array(r.buffer,0,q)),r=new Uint8Array(2048),q=0),a.enqueue(b);else{var c=
12
+ r.length-q;c<b.byteLength&&(0===c?a.enqueue(r):(r.set(b.subarray(0,c),q),a.enqueue(r),b=b.subarray(c)),r=new Uint8Array(2048),q=0);r.set(b,q);q+=b.byteLength}return!0}function sa(a,b){"function"===typeof a.error?a.error(b):a.close()}function E(a,b,c){return Object.defineProperties(a,{$$typeof:{value:F},$$id:{value:b},$$async:{value:c}})}function ta(){var a=$a.apply(this,arguments);if(this.$$typeof===U){var b=ab.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:U},$$id:{value:this.$$id},
13
+ $$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:ta}})}return a}function ua(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=E(function(){throw Error("Attempted to call the default export of "+
14
+ 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.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var d=E({},a.$$id,!0),e=new Proxy(d,va);a.status="fulfilled";a.value=e;return a.then=E(function(g,f){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.");
15
+ d=a[b];d||(d=E(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.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(d,"name",{value:b}),d=a[b]=new Proxy(d,bb));return d}function L(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}function wa(){}function cb(a,
16
+ b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(wa,wa),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;}V=b;throw ca;}}function xa(){if(null===V)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");
17
+ var a=V;V=null;return a}function ya(){var a=G||[];G=null;return a}function u(){throw Error("This Hook is not supported in Server Components.");}function db(){throw Error("Refreshing the cache is not supported in Server Components.");}function da(){throw Error("Cannot read a Client Context from a Server Component.");}function ea(){return(new AbortController).signal}function za(){var a=l?l:null;return a?a.cache:new Map}function Aa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,
18
+ function(b,c){return c})}function fa(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(ha(a))return"[...]";if(null!==a&&a.$$typeof===ia)return"client";a=Aa(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===ia?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}function W(a){if("string"===typeof a)return a;switch(a){case eb:return"Suspense";case fb:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Ba:return W(a.render);
19
+ case Ca:return W(a.type);case M:var b=a._payload;a=a._init;try{return W(a(b))}catch(c){}}return""}function H(a,b){var c=Aa(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(ha(a)){var e="[";for(var g=0;g<a.length;g++){0<g&&(e+=", ");var f=a[g];f="object"===typeof f&&null!==f?H(f):fa(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===v)e="<"+W(a.type)+"/>";else{if(a.$$typeof===ia)return"client";e="{";g=Object.keys(a);for(f=0;f<
20
+ g.length;f++){0<f&&(e+=", ");var h=g[f],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?H(k):fa(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}function gb(a){console.error(a)}function hb(a){}function ib(a,b,c,d,e,g){if(null!==ja.current&&ja.current!==Da)throw Error("Currently React only supports one RSC renderer at a time.");
21
+ jb.current=kb;ja.current=Da;var f=new Set;g=[];var h=new Set;b={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:h,abortableTasks:f,pingedTasks:g,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,writtenServerReferences:new Map,writtenObjects:new WeakMap,identifierPrefix:d||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===
22
+ c?gb:c,onPostpone:void 0===e?hb:e};a=X(b,a,null,!1,f);g.push(a);return b}function lb(a,b,c){var d=X(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return d.model=c.value,ka(a,d),d.id;case "rejected":return b=x(a,c.reason),I(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=
23
+ e;ka(a,d)},function(e){d.status=4;e=x(a,e);I(a,d.id,e);a.abortableTasks.delete(d);null!==a.destination&&N(a,a.destination)});return d.id}function n(a,b,c){c=J(c);var d=a.nextChunkId++;b="H"+b;b=d.toString(16)+":"+b;c=B.encode(b+c+"\n");a.completedHintChunks.push(c);!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(c=a.destination,a.flushScheduled=!0,N(a,c))}function mb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function nb(a){switch(a.status){case "fulfilled":case "rejected":break;
24
+ 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:M,_payload:a,_init:mb}}function Ea(a,b,c,d,e){var g=b.thenableState;b.thenableState=null;la=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=nb(d)}e=b.keyPath;g=b.implicitSlot;null!==c?b.keyPath=null===e?
25
+ c:e+","+c:null===e&&(b.implicitSlot=!0);a=O(a,b,Y,"",d);b.keyPath=e;b.implicitSlot=g;return a}function ma(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===F?[v,c,d,g]:Ea(a,b,d,c,g);if("string"===typeof c)return[v,c,d,g];if("symbol"===typeof c)return c===ob&&null===d?(d=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=O(a,b,Y,"",g.children),b.implicitSlot=d,a):[v,c,d,g];
26
+ if(null!=c&&"object"===typeof c){if(c.$$typeof===F)return[v,c,d,g];switch(c.$$typeof){case M:var f=c._init;c=f(c._payload);return ma(a,b,c,d,e,g);case Ba:return Ea(a,b,d,c.render,g);case Ca:return ma(a,b,c.type,d,e,g)}}throw Error("Unsupported Server Component type: "+fa(c));}function ka(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,Fa(a))}function X(a,b,c,d,e){a.pendingChunks++;var g=a.nextChunkId++;"object"===typeof b&&null!==b&&a.writtenObjects.set(b,g);
27
+ var f={id:g,status:0,model:b,keyPath:c,implicitSlot:d,ping:function(){return ka(a,f)},toJSON:function(h,k){var m=f.keyPath,z=f.implicitSlot;try{var w=O(a,f,this,h,k)}catch(Z){if(h=Z===ca?xa():Z,k=f.model,k="object"===typeof k&&null!==k&&(k.$$typeof===v||k.$$typeof===M),"object"===typeof h&&null!==h&&"function"===typeof h.then){w=X(a,f.model,f.keyPath,f.implicitSlot,a.abortableTasks);var C=w.ping;h.then(C,C);w.thenableState=ya();f.keyPath=m;f.implicitSlot=z;w=k?"$L"+w.id.toString(16):t(w.id)}else if(f.keyPath=
28
+ m,f.implicitSlot=z,k)a.pendingChunks++,m=a.nextChunkId++,z=x(a,h),I(a,m,z),w="$L"+m.toString(16);else throw h;}return w},thenableState:null};e.add(f);return f}function t(a){return"$"+a.toString(16)}function Ga(a,b,c){a=J(c);b=b.toString(16)+":"+a+"\n";return B.encode(b)}function Ha(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]===v&&"1"===c?"$L"+f.toString(16):t(f);try{var h=a.bundlerConfig,k=d.$$id;f="";var m=h[k];if(m)f=m.name;else{var z=
29
+ 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 w=!0===d.$$async?[m.id,m.chunks,f,1]:[m.id,m.chunks,f];a.pendingChunks++;var C=a.nextChunkId++,Z=J(w),pb=C.toString(16)+":I"+Z+"\n",qb=B.encode(pb);a.completedImportChunks.push(qb);g.set(e,C);return b[0]===v&&"1"===c?"$L"+C.toString(16):t(C)}catch(rb){return a.pendingChunks++,b=a.nextChunkId++,
30
+ c=x(a,rb),I(a,b,c),t(b)}}function P(a,b){b=X(a,b,null,!1,a.abortableTasks);Ia(a,b);return b.id}function O(a,b,c,d,e){b.model=e;if(e===v)return"$";if(null===e)return null;if("object"===typeof e){switch(e.$$typeof){case v:c=a.writtenObjects;d=c.get(e);if(void 0!==d)if(A===e)A=null;else return-1===d?(a=P(a,e),t(a)):t(d);else c.set(e,-1);return ma(a,b,e.type,e.key,e.ref,e.props);case M:return b.thenableState=null,c=e._init,e=c(e._payload),O(a,b,Y,"",e)}if(e.$$typeof===F)return Ha(a,c,d,e);c=a.writtenObjects;
31
+ d=c.get(e);if("function"===typeof e.then){if(void 0!==d)if(A===e)A=null;else return"$@"+d.toString(16);a=lb(a,b,e);c.set(e,a);return"$@"+a.toString(16)}if(void 0!==d)if(A===e)A=null;else return-1===d?(a=P(a,e),t(a)):t(d);else c.set(e,-1);if(ha(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"+P(a,e).toString(16)}if(e instanceof Set){e=Array.from(e);for(b=0;b<e.length;b++)c=
32
+ e[b],"object"===typeof c&&null!==c&&(d=a.writtenObjects,void 0===d.get(c)&&d.set(c,-1));return"$W"+P(a,e).toString(16)}null===e||"object"!==typeof e?a=null:(a=Ja&&e[Ja]||e["@@iterator"],a="function"===typeof a?a:null);if(a)return a=Array.from(e),a;a=Ka(e);if(a!==sb&&(null===a||null!==Ka(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-
33
33
  1]&&c[d]instanceof Date)return"$D"+e;if(1024<=e.length)return a.pendingChunks+=2,b=a.nextChunkId++,e=B.encode(e),c=e.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",c=B.encode(c),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===
34
- F)return Ja(a,c,d,e);if(e.$$typeof===V)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=Q(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."+H(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.'+
35
- H(c,d));}if("symbol"===typeof e){b=a.writtenSymbols;var g=b.get(e);if(void 0!==g)return t(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.")+H(c,d));a.pendingChunks++;c=a.nextChunkId++;d=Ia(a,c,"$S"+g);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+
36
- " is not supported in Client Component props."+H(c,d));}function x(a,b){var c=l;l=null;try{var d=a.onError;var e=d(b)}finally{l=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||""}function oa(a,b){null!==a.destination?(a.status=2,ua(a.destination,b)):(a.status=1,a.fatalError=b)}
37
- function I(a,b,c,d){c={digest:c};b=b.toString(16)+":E"+J(c)+"\n";b=B.encode(b);a.completedErrorChunks.push(b)}function Ka(a,b){if(0===b.status)try{A=b.model;var c=P(a,b,Z,"",b.model);A=c;b.keyPath=null;b.implicitSlot=!1;var d="object"===typeof c&&null!==c?J(c,b.toJSON):J(c),e=b.id.toString(16)+":"+d+"\n",g=B.encode(e);a.completedRegularChunks.push(g);a.abortableTasks.delete(b);b.status=1}catch(m){var f=m===da?za():m;if("object"===typeof f&&null!==f&&"function"===typeof f.then){var h=b.ping;f.then(h,
38
- h);b.thenableState=Aa()}else{a.abortableTasks.delete(b);b.status=4;var k=x(a,f);I(a,b.id,k)}}finally{}}function Ha(a){var b=pa.current;pa.current=tb;var c=l;R=l=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<d.length;e++)Ka(a,d[e]);null!==a.destination&&O(a,a.destination)}catch(g){x(a,g),oa(a,g)}finally{pa.current=b,R=null,l=c}}function O(a,b){r=new Uint8Array(512);q=0;try{for(var c=a.completedImportChunks,d=0;d<c.length;d++)a.pendingChunks--,U(b,c[d]);c.splice(0,d);var e=a.completedHintChunks;
39
- for(d=0;d<e.length;d++)U(b,e[d]);e.splice(0,d);var g=a.completedRegularChunks;for(d=0;d<g.length;d++)a.pendingChunks--,U(b,g[d]);g.splice(0,d);var f=a.completedErrorChunks;for(d=0;d<f.length;d++)a.pendingChunks--,U(b,f[d]);f.splice(0,d)}finally{a.flushScheduled=!1,r&&0<q&&(b.enqueue(new Uint8Array(r.buffer,0,q)),r=null,q=0)}0===a.pendingChunks&&b.close()}function qa(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."):
40
- b,g=x(a,e);I(a,d,g,e);c.forEach(function(f){f.status=3;var h=t(d);f=Ia(a,f.id,h);a.completedErrorChunks.push(f)});c.clear()}null!==a.destination&&O(a,a.destination)}catch(f){x(a,f),oa(a,f)}}function Na(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]}function Oa(a){var b=
41
- __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 ub(){}function Pa(a){for(var b=a[1],c=[],d=0;d<b.length;){var e=b[d++],g=b[d++],f=ba.get(e);void 0===f?(Qa.set(e,g),g=__webpack_chunk_load__(e),c.push(g),f=ba.set.bind(ba,e,null),g.then(f,ub),ba.set(e,g)):null!==f&&c.push(f)}return 4===a.length?0===c.length?Oa(a[0]):Promise.all(c).then(function(){return Oa(a[0])}):
42
- 0<c.length?Promise.all(c):null}function K(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 ca(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}function Ra(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Sa(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Ra(c,b)}}
43
- function vb(a,b,c,d,e,g){var f=Na(a._bundlerConfig,b);a=Pa(f);if(c)c=Promise.all([c,a]).then(function(h){h=h[0];var k=K(f);return k.bind.apply(k,[null].concat(h))});else if(a)c=Promise.resolve(a).then(function(){return K(f)});else return K(f);c.then(Ta(d,e,g),Ua(d));return null}function ra(a){var b=S,c=y;S=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",
44
- a.reason=e}finally{S=b,y=c}}function wb(a,b){a._chunks.forEach(function(c){"pending"===c.status&&Sa(c,b)})}function T(a,b){var c=a._chunks,d=c.get(b);d||(d=a._formData.get(a._prefix+b),d=null!=d?new ca("resolved_model",d,null,a):new ca("pending",null,null,a),c.set(b,d));return d}function Ta(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&&Ra(e,d.value))}}function Ua(a){return function(b){return Sa(a,
45
- b)}}function sa(a,b){a=T(a,b);"resolved_model"===a.status&&ra(a);if("fulfilled"!==a.status)throw a.reason;return a.value}function xb(a,b,c,d){if("$"===d[0])switch(d[1]){case "$":return d.slice(1);case "@":return b=parseInt(d.slice(2),16),T(a,b);case "S":return Symbol.for(d.slice(2));case "F":return d=parseInt(d.slice(2),16),d=sa(a,d),vb(a,d.id,d.bound,S,b,c);case "Q":return b=parseInt(d.slice(2),16),a=sa(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=sa(a,b),new Set(a);case "K":b=d.slice(2);
46
- 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;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=T(a,d);switch(a.status){case "resolved_model":ra(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=S,a.then(Ta(d,
47
- b,c),Ua(d)),null;default:throw a.reason;}}return d}function Va(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?xb(e,this,g,f):f}};return e}function Wa(a){wb(a,Error("Connection closed."))}function Xa(a,b,c){var d=Na(a,b);a=Pa(d);return c?Promise.all([c,a]).then(function(e){e=e[0];var g=K(d);return g.bind.apply(g,[null].concat(e))}):a?Promise.resolve(a).then(function(){return K(d)}):
48
- Promise.resolve(K(d))}function Ya(a,b,c){a=Va(b,c,a);Wa(a);a=T(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}var r=null,q=0,B=new TextEncoder,F=Symbol.for("react.client.reference"),V=Symbol.for("react.server.reference"),bb=Function.prototype.bind,cb=Array.prototype.slice,yb=Promise.prototype,db={get:function(a,b,c){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;
34
+ F)return Ha(a,c,d,e);if(e.$$typeof===U)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=P(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."+H(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.'+
35
+ H(c,d));}if("symbol"===typeof e){b=a.writtenSymbols;var g=b.get(e);if(void 0!==g)return t(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.")+H(c,d));a.pendingChunks++;c=a.nextChunkId++;d=Ga(a,c,"$S"+g);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+
36
+ " is not supported in Client Component props."+H(c,d));}function x(a,b){var c=l;l=null;try{var d=a.onError;var e=d(b)}finally{l=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||""}function na(a,b){null!==a.destination?(a.status=2,sa(a.destination,b)):(a.status=1,a.fatalError=b)}
37
+ function I(a,b,c,d){c={digest:c};b=b.toString(16)+":E"+J(c)+"\n";b=B.encode(b);a.completedErrorChunks.push(b)}function Ia(a,b){if(0===b.status)try{A=b.model;var c=O(a,b,Y,"",b.model);A=c;b.keyPath=null;b.implicitSlot=!1;var d="object"===typeof c&&null!==c?J(c,b.toJSON):J(c),e=b.id.toString(16)+":"+d+"\n",g=B.encode(e);a.completedRegularChunks.push(g);a.abortableTasks.delete(b);b.status=1}catch(m){var f=m===ca?xa():m;if("object"===typeof f&&null!==f&&"function"===typeof f.then){var h=b.ping;f.then(h,
38
+ h);b.thenableState=ya()}else{a.abortableTasks.delete(b);b.status=4;var k=x(a,f);I(a,b.id,k)}}finally{}}function Fa(a){var b=oa.current;oa.current=tb;var c=l;Q=l=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<d.length;e++)Ia(a,d[e]);null!==a.destination&&N(a,a.destination)}catch(g){x(a,g),na(a,g)}finally{oa.current=b,Q=null,l=c}}function N(a,b){r=new Uint8Array(2048);q=0;try{for(var c=a.completedImportChunks,d=0;d<c.length;d++)a.pendingChunks--,T(b,c[d]);c.splice(0,d);var e=a.completedHintChunks;
39
+ for(d=0;d<e.length;d++)T(b,e[d]);e.splice(0,d);var g=a.completedRegularChunks;for(d=0;d<g.length;d++)a.pendingChunks--,T(b,g[d]);g.splice(0,d);var f=a.completedErrorChunks;for(d=0;d<f.length;d++)a.pendingChunks--,T(b,f[d]);f.splice(0,d)}finally{a.flushScheduled=!1,r&&0<q&&(b.enqueue(new Uint8Array(r.buffer,0,q)),r=null,q=0)}0===a.pendingChunks&&b.close()}function pa(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."):
40
+ b,g=x(a,e);I(a,d,g,e);c.forEach(function(f){f.status=3;var h=t(d);f=Ga(a,f.id,h);a.completedErrorChunks.push(f)});c.clear()}null!==a.destination&&N(a,a.destination)}catch(f){x(a,f),na(a,f)}}function La(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]}function Ma(a){var b=
41
+ __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 ub(){}function Na(a){for(var b=a[1],c=[],d=0;d<b.length;){var e=b[d++],g=b[d++],f=aa.get(e);void 0===f?(Oa.set(e,g),g=__webpack_chunk_load__(e),c.push(g),f=aa.set.bind(aa,e,null),g.then(f,ub),aa.set(e,g)):null!==f&&c.push(f)}return 4===a.length?0===c.length?Ma(a[0]):Promise.all(c).then(function(){return Ma(a[0])}):
42
+ 0<c.length?Promise.all(c):null}function K(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 ba(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}function Pa(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Qa(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Pa(c,b)}}
43
+ function vb(a,b,c,d,e,g){var f=La(a._bundlerConfig,b);a=Na(f);if(c)c=Promise.all([c,a]).then(function(h){h=h[0];var k=K(f);return k.bind.apply(k,[null].concat(h))});else if(a)c=Promise.resolve(a).then(function(){return K(f)});else return K(f);c.then(Ra(d,e,g),Sa(d));return null}function qa(a){var b=R,c=y;R=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",
44
+ a.reason=e}finally{R=b,y=c}}function wb(a,b){a._chunks.forEach(function(c){"pending"===c.status&&Qa(c,b)})}function S(a,b){var c=a._chunks,d=c.get(b);d||(d=a._formData.get(a._prefix+b),d=null!=d?new ba("resolved_model",d,null,a):new ba("pending",null,null,a),c.set(b,d));return d}function Ra(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&&Pa(e,d.value))}}function Sa(a){return function(b){return Qa(a,
45
+ b)}}function ra(a,b){a=S(a,b);"resolved_model"===a.status&&qa(a);if("fulfilled"!==a.status)throw a.reason;return a.value}function xb(a,b,c,d){if("$"===d[0])switch(d[1]){case "$":return d.slice(1);case "@":return b=parseInt(d.slice(2),16),S(a,b);case "S":return Symbol.for(d.slice(2));case "F":return d=parseInt(d.slice(2),16),d=ra(a,d),vb(a,d.id,d.bound,R,b,c);case "Q":return b=parseInt(d.slice(2),16),a=ra(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=ra(a,b),new Set(a);case "K":b=d.slice(2);
46
+ 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;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=S(a,d);switch(a.status){case "resolved_model":qa(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=R,a.then(Ra(d,
47
+ b,c),Sa(d)),null;default:throw a.reason;}}return d}function Ta(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?xb(e,this,g,f):f}};return e}function Ua(a){wb(a,Error("Connection closed."))}function Va(a,b,c){var d=La(a,b);a=Na(d);return c?Promise.all([c,a]).then(function(e){e=e[0];var g=K(d);return g.bind.apply(g,[null].concat(e))}):a?Promise.resolve(a).then(function(){return K(d)}):
48
+ Promise.resolve(K(d))}function Wa(a,b,c){a=Ta(b,c,a);Ua(a);a=S(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}var r=null,q=0,B=new TextEncoder,F=Symbol.for("react.client.reference"),U=Symbol.for("react.server.reference"),$a=Function.prototype.bind,ab=Array.prototype.slice,yb=Promise.prototype,bb={get:function(a,b,c){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;
49
49
  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.");}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.");
50
- },set:function(){throw Error("Cannot assign to a client module from a server module.");}},xa={get:function(a,b,c){return wa(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:wa(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(a){return yb},set:function(){throw Error("Cannot assign to a client module from a server module.");}},Za=L.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDOMCurrentDispatcher,
51
- D=Za.current;Za.current={prefetchDNS:function(a){if("string"===typeof a&&a){var b=l?l:null;if(b){var c=b.hints,d="D|"+a;c.has(d)||(c.add(d),n(b,"D",a))}else D.prefetchDNS(a)}},preconnect:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var d=c.hints,e="C|"+(null==b?"null":b)+"|"+a;d.has(e)||(d.add(e),"string"===typeof b?n(c,"C",[a,b]):n(c,"C",a))}else D.preconnect(a,b)}},preload:function(a,b,c){if("string"===typeof a){var d=l?l:null;if(d){var e=d.hints,g="L";if("image"===b&&c){var f=c.imageSrcSet,
52
- 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=M(c))?n(d,"L",[a,b,c]):n(d,"L",[a,b]))}else D.preload(a,b,c)}},preloadModule:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var d=c.hints,e="m|"+a;if(d.has(e))return;d.add(e);return(b=M(b))?n(c,"m",[a,b]):n(c,"m",a)}D.preloadModule(a,b)}},preinitStyle:function(a,b,c){if("string"===typeof a){var d=l?l:null;if(d){var e=d.hints,
53
- g="S|"+a;if(e.has(g))return;e.add(g);return(c=M(c))?n(d,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?n(d,"S",[a,b]):n(d,"S",a)}D.preinitStyle(a,b,c)}},preinitScript:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var d=c.hints,e="X|"+a;if(d.has(e))return;d.add(e);return(b=M(b))?n(c,"X",[a,b]):n(c,"X",a)}D.preinitScript(a,b)}},preinitModuleScript:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var d=c.hints,e="M|"+a;if(d.has(e))return;d.add(e);return(b=M(b))?n(c,"M",
54
- [a,b]):n(c,"M",a)}D.preinitModuleScript(a,b)}}};var v=Symbol.for("react.element"),ob=Symbol.for("react.fragment"),$a=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),gb=Symbol.for("react.suspense"),hb=Symbol.for("react.suspense_list"),Ea=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),zb=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.postpone");var La=Symbol.iterator,da=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`"),
55
- W=null,R=null,ma=0,G=null,tb={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:u,useTransition:u,readContext:ea,useContext:ea,useReducer:u,useRef:u,useState:u,useInsertionEffect:u,useLayoutEffect:u,useImperativeHandle:u,useEffect:u,useId:function(){if(null===R)throw Error("useId can only be used while React is rendering");var a=R.identifierCount++;return":"+R.identifierPrefix+"S"+a.toString(32)+":"},useSyncExternalStore:u,useCacheRefresh:function(){return fb},
56
- useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=zb;return b},use:function(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=ma;ma+=1;null===G&&(G=[]);return eb(G,a,b)}a.$$typeof===$a&&ea()}if(a.$$typeof===F){if(null!=a.value&&a.value.$$typeof===$a)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));
57
- }},Fa={getCacheSignal:function(){var a=Ba(),b=a.get(fa);void 0===b&&(b=fa(),a.set(fa,b));return b},getCacheForType:function(a){var b=Ba(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},ia=Array.isArray,Ma=Object.getPrototypeOf,ja=Symbol.for("react.client.reference"),Ab=ta.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ab=ta.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;if(!ab)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.');
58
- var sb=Object.prototype,J=JSON.stringify,ka=ab.ReactCurrentCache,pa=Ab.ReactCurrentDispatcher,l=null,A=!1,Z={},ba=new Map,Qa=new Map,Bb=__webpack_require__.u;__webpack_require__.u=function(a){var b=Qa.get(a);return void 0!==b?b:Bb(a)};ca.prototype=Object.create(Promise.prototype);ca.prototype.then=function(a,b){switch(this.status){case "resolved_model":ra(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));
59
- b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};var S=null,y=null;p.createClientModuleProxy=function(a){a=E({},a,!1);return new Proxy(a,xa)};p.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=Ya(a,b,e),d=Xa(b,e.id,e.bound)):g.startsWith("$ACTION_ID_")&&(e=g.slice(11),d=Xa(b,e,null)):c.append(g,e)});return null===d?null:d.then(function(e){return e.bind(null,
60
- c)})};p.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=Ya(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]})};p.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Va(b,"",a);b=T(a,0);Wa(a);return b};
61
- p.registerClientReference=function(a,b,c){return E(a,b+"#"+c,!1)};p.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:V},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:va,configurable:!0}})};p.renderToReadableStream=function(a,b,c){var d=kb(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)qa(d,e.reason);else{var g=function(){qa(d,e.reason);
62
- e.removeEventListener("abort",g)};e.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(f){d.flushScheduled=null!==d.destination;Ha(d)},pull:function(f){if(1===d.status)d.status=2,ua(f,d.fatalError);else if(2!==d.status&&null===d.destination){d.destination=f;try{O(d,f)}catch(h){x(d,h),oa(d,h)}}},cancel:function(f){d.destination=null;qa(d,f)}},{highWaterMark:0})}})})();
50
+ },set:function(){throw Error("Cannot assign to a client module from a server module.");}},va={get:function(a,b,c){return ua(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:ua(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(a){return yb},set:function(){throw Error("Cannot assign to a client module from a server module.");}},kb={prefetchDNS:function(a){if("string"===typeof a&&a){var b=
51
+ l?l:null;if(b){var c=b.hints,d="D|"+a;c.has(d)||(c.add(d),n(b,"D",a))}}},preconnect:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var d=c.hints,e="C|"+(null==b?"null":b)+"|"+a;d.has(e)||(d.add(e),"string"===typeof b?n(c,"C",[a,b]):n(c,"C",a))}}},preload:function(a,b,c){if("string"===typeof a){var d=l?l: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+=
52
+ "[image]"+k}else g+="["+b+"]"+a;e.has(g)||(e.add(g),(c=L(c))?n(d,"L",[a,b,c]):n(d,"L",[a,b]))}}},preloadModule:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var d=c.hints,e="m|"+a;if(!d.has(e))return d.add(e),(b=L(b))?n(c,"m",[a,b]):n(c,"m",a)}}},preinitStyle:function(a,b,c){if("string"===typeof a){var d=l?l:null;if(d){var e=d.hints,g="S|"+a;if(!e.has(g))return e.add(g),(c=L(c))?n(d,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?n(d,"S",[a,b]):n(d,"S",a)}}},preinitScript:function(a,
53
+ b){if("string"===typeof a){var c=l?l:null;if(c){var d=c.hints,e="X|"+a;if(!d.has(e))return d.add(e),(b=L(b))?n(c,"X",[a,b]):n(c,"X",a)}}},preinitModuleScript:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var d=c.hints,e="M|"+a;if(!d.has(e))return d.add(e),(b=L(b))?n(c,"M",[a,b]):n(c,"M",a)}}}},jb=Za.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,v=Symbol.for("react.element"),ob=Symbol.for("react.fragment"),Xa=Symbol.for("react.context"),Ba=Symbol.for("react.forward_ref"),
54
+ eb=Symbol.for("react.suspense"),fb=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),zb=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.postpone");var Ja=Symbol.iterator,ca=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`"),
55
+ V=null,Q=null,la=0,G=null,tb={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:u,useTransition:u,readContext:da,useContext:da,useReducer:u,useRef:u,useState:u,useInsertionEffect:u,useLayoutEffect:u,useImperativeHandle:u,useEffect:u,useId:function(){if(null===Q)throw Error("useId can only be used while React is rendering");var a=Q.identifierCount++;return":"+Q.identifierPrefix+"S"+a.toString(32)+":"},useSyncExternalStore:u,useCacheRefresh:function(){return db},
56
+ useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=zb;return b},use:function(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=la;la+=1;null===G&&(G=[]);return cb(G,a,b)}a.$$typeof===Xa&&da()}if(a.$$typeof===F){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));
57
+ }},Da={getCacheSignal:function(){var a=za(),b=a.get(ea);void 0===b&&(b=ea(),a.set(ea,b));return b},getCacheForType:function(a){var b=za(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},ha=Array.isArray,Ka=Object.getPrototypeOf,ia=Symbol.for("react.client.reference"),Ab=D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ya=D.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;if(!Ya)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.');
58
+ var sb=Object.prototype,J=JSON.stringify,ja=Ya.ReactCurrentCache,oa=Ab.ReactCurrentDispatcher,l=null,A=!1,Y={},aa=new Map,Oa=new Map,Bb=__webpack_require__.u;__webpack_require__.u=function(a){var b=Oa.get(a);return void 0!==b?b:Bb(a)};ba.prototype=Object.create(Promise.prototype);ba.prototype.then=function(a,b){switch(this.status){case "resolved_model":qa(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));
59
+ b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};var R=null,y=null;p.createClientModuleProxy=function(a){a=E({},a,!1);return new Proxy(a,va)};p.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=Wa(a,b,e),d=Va(b,e.id,e.bound)):g.startsWith("$ACTION_ID_")&&(e=g.slice(11),d=Va(b,e,null)):c.append(g,e)});return null===d?null:d.then(function(e){return e.bind(null,
60
+ c)})};p.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=Wa(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]})};p.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Ta(b,"",a);b=S(a,0);Ua(a);return b};
61
+ p.registerClientReference=function(a,b,c){return E(a,b+"#"+c,!1)};p.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:U},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:ta,configurable:!0}})};p.renderToReadableStream=function(a,b,c){var d=ib(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)pa(d,e.reason);else{var g=function(){pa(d,e.reason);
62
+ e.removeEventListener("abort",g)};e.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(f){d.flushScheduled=null!==d.destination;Fa(d)},pull:function(f){if(1===d.status)d.status=2,sa(f,d.fatalError);else if(2!==d.status&&null===d.destination){d.destination=f;try{N(d,f)}catch(h){x(d,h),na(d,h)}}},cancel:function(f){d.destination=null;pa(d,f)}},{highWaterMark:0})}})})();