react-server-dom-webpack 18.3.0-canary-b7972822b-20230503 → 18.3.0-canary-b00e27342-20230505

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 (21) hide show
  1. package/cjs/react-server-dom-webpack-client.browser.development.js +1180 -1096
  2. package/cjs/react-server-dom-webpack-client.browser.production.min.js +27 -25
  3. package/cjs/react-server-dom-webpack-client.edge.development.js +722 -3
  4. package/cjs/react-server-dom-webpack-client.edge.production.min.js +24 -18
  5. package/cjs/react-server-dom-webpack-client.node.development.js +722 -3
  6. package/cjs/react-server-dom-webpack-client.node.production.min.js +25 -19
  7. package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +722 -3
  8. package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +24 -17
  9. package/cjs/react-server-dom-webpack-server.browser.development.js +82 -4
  10. package/cjs/react-server-dom-webpack-server.browser.production.min.js +43 -41
  11. package/cjs/react-server-dom-webpack-server.edge.development.js +82 -4
  12. package/cjs/react-server-dom-webpack-server.edge.production.min.js +49 -47
  13. package/cjs/react-server-dom-webpack-server.node.development.js +82 -4
  14. package/cjs/react-server-dom-webpack-server.node.production.min.js +54 -52
  15. package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +82 -4
  16. package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +53 -51
  17. package/package.json +3 -3
  18. package/umd/react-server-dom-webpack-client.browser.development.js +1180 -1096
  19. package/umd/react-server-dom-webpack-client.browser.production.min.js +21 -19
  20. package/umd/react-server-dom-webpack-server.browser.development.js +82 -4
  21. package/umd/react-server-dom-webpack-server.browser.production.min.js +41 -40
@@ -7,23 +7,25 @@
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
- (function(){'use strict';(function(m,t){"object"===typeof exports&&"undefined"!==typeof module?t(exports,require("react-dom"),require("react")):"function"===typeof define&&define.amd?define(["exports","react-dom","react"],t):(m="undefined"!==typeof globalThis?globalThis:m||self,t(m.ReactServerDOMClient={},m.ReactDOM,m.React))})(this,function(m,t,H){function P(a,b){if(a){var c=a[b.id];if(a=c[b.name])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b.id+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');
11
- c=b.name}return{id:a.id,chunks:a.chunks,name:c,async:!!b.async}}return b}function Q(){}function R(a){for(var b=a.chunks,c=[],d=0;d<b.length;d++){var e=b[d],g=v.get(e);if(void 0===g){g=__webpack_chunk_load__(e);c.push(g);var k=v.set.bind(v,e,null);g.then(k,Q);v.set(e,g)}else null!==g&&c.push(g)}if(a.async){if(b=C.get(a.id))return"fulfilled"===b.status?null:b;var h=Promise.all(c).then(function(){return __webpack_require__(a.id)});h.then(function(l){h.status="fulfilled";h.value=l},function(l){h.status=
12
- "rejected";h.reason=l});C.set(a.id,h);return h}return 0<c.length?Promise.all(c):null}function S(a){if(null===a||"object"!==typeof a)return null;a=I&&a[I]||a["@@iterator"];return"function"===typeof a?a:null}function p(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}function T(a){switch(a.status){case "resolved_model":u(a);break;case "resolved_module":w(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function x(a,
13
- b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function J(a,b,c){switch(a.status){case "fulfilled":x(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&x(c,a.reason)}}function y(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&x(c,b)}}function K(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(w(a),J(a,c,d))}}function u(a){var b=
14
- z,c=n;z=a;n=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==n&&0<n.deps?(n.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{z=b,n=c}}function w(a){try{var b=a.value;if(b.async){var c=C.get(b.id);if("fulfilled"===c.status)var d=c.value;else throw c.reason;}else d=__webpack_require__(b.id);var e="*"===b.name?d:""===b.name?d.__esModule?d.default:d:d[b.name];a.status="fulfilled";a.value=e}catch(g){a.status=
15
- "rejected",a.reason=g}}function A(a,b){a._chunks.forEach(function(c){"pending"===c.status&&y(c,b)})}function q(a,b){var c=a._chunks,d=c.get(b);d||(d=new p("pending",null,null,a),c.set(b,d));return d}function U(a,b,c){if(n){var d=n;d.deps++}else d=n={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&&x(e,d.value))}}function V(a){return function(b){return y(a,b)}}function W(a,b){var c=a._callServer;a=function(){var d=
16
- Array.prototype.slice.call(arguments),e=b.bound;return e?"fulfilled"===e.status?c(b.id,e.value.concat(d)):Promise.resolve(e).then(function(g){return c(b.id,g.concat(d))}):c(b.id,d)};D.set(a,b);return a}function X(a,b,c,d){if("$"===d[0]){if("$"===d)return E;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=q(a,b),{$$typeof:Y,_payload:a,_init:T};case "@":return b=parseInt(d.slice(2),16),q(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),F[a]||
17
- (F[a]=H.createServerContext(a,Z)),F[a].Provider;case "F":b=parseInt(d.slice(2),16);b=q(a,b);switch(b.status){case "resolved_model":u(b)}switch(b.status){case "fulfilled":return W(a,b.value);default:throw b.reason;}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=q(a,d);switch(a.status){case "resolved_model":u(a);break;case "resolved_module":w(a)}switch(a.status){case "fulfilled":return a.value;
18
- case "pending":case "blocked":return d=z,a.then(U(d,b,c),V(d)),null;default:throw a.reason;}}}return d}function aa(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function ba(a,b,c){var d=a._chunks,e=d.get(b);c=JSON.parse(c,a._fromJSON);var g=P(a._bundlerConfig,c);if(c=R(g)){if(e){var k=e;k.status="blocked"}else k=new p("blocked",null,null,a),d.set(b,k);c.then(function(){return K(k,g)},function(h){return y(k,h)})}else e?
19
- K(e,g):d.set(b,new p("resolved_module",g,null,a))}function L(a){A(a,Error("Connection closed."))}function M(a,b){if(""!==b){var c=b.indexOf(":",0),d=parseInt(b.slice(0,c),16);switch(b[c+1]){case "I":ba(a,d,b.slice(c+2));break;case "H":d=b[c+2];b=b.slice(c+3);a=JSON.parse(b,a._fromJSON);if(b=ca.current){if("string"===typeof a)c=a;else{c=a[0];var e=a[1]}switch(d){case "D":b.prefetchDNS(c,e);break;case "C":b.preconnect(c,e);break;case "L":b.preload(c,e);break;case "I":b.preinit(c,e)}}break;case "E":b=
20
- JSON.parse(b.slice(c+2)).digest;e=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");e.stack="Error: "+e.message;e.digest=b;b=a._chunks;(c=b.get(d))?y(c,e):b.set(d,new p("rejected",null,e,a));break;default:e=b.slice(c+1),c=a._chunks,(b=c.get(d))?"pending"===b.status&&(a=b.value,d=b.reason,
21
- b.status="resolved_model",b.value=e,null!==a&&(u(b),J(b,a,d))):c.set(d,new p("resolved_model",e,null,a))}}}function da(a){return function(b,c){return"string"===typeof c?X(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===E?{$$typeof:E,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}function ea(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}function fa(a,b,c,d){function e(l,f){if(null===f)return null;if("object"===
22
- typeof f){if("function"===typeof f.then){null===h&&(h=new FormData);k++;var N=g++;f.then(function(r){r=JSON.stringify(r,e);var B=h;B.append(b+N,r);k--;0===k&&c(B)},function(r){d(r)});return"$@"+N.toString(16)}if(f instanceof FormData){null===h&&(h=new FormData);var ha=h;l=g++;var ia=b+l+"_";f.forEach(function(r,B){ha.append(ia+B,r)});return"$K"+l.toString(16)}return!ja(f)&&S(f)?Array.from(f):f}if("string"===typeof f){if("Z"===f[f.length-1]&&this[l]instanceof Date)return"$D"+f;f="$"===f[0]?"$"+f:f;
23
- return f}if("boolean"===typeof f)return f;if("number"===typeof f)return ea(f);if("undefined"===typeof f)return"$undefined";if("function"===typeof f){f=D.get(f);if(void 0!==f)return f=JSON.stringify(f,e),null===h&&(h=new FormData),l=g++,h.set(b+l,f),"$F"+l.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof f){l=f.description;if(Symbol.for(l)!==f)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+
24
- (f.description+") cannot be found among global symbols."));return"$S"+l}if("bigint"===typeof f)return"$n"+f.toString(10);throw Error("Type "+typeof f+" is not supported as an argument to a Server Function.");}var g=1,k=0,h=null;a=JSON.stringify(a,e);null===h?c(a):(h.set(b+"0",a),0===k&&c(h))}function G(a){a=a&&a.callServer?a.callServer:void 0;var b=new TextDecoder,c=new Map;a={_bundlerConfig:null,_callServer:void 0!==a?a:aa,_chunks:c,_partialRow:"",_stringDecoder:b};a._fromJSON=da(a);return a}function O(a,
25
- b){function c(g){var k=g.value;if(g.done)L(a);else{g=k;k=a._stringDecoder;for(var h=g.indexOf(10);-1<h;){var l=a._partialRow;var f=g.subarray(0,h);f=k.decode(f);M(a,l+f);a._partialRow="";g=g.subarray(h+1);h=g.indexOf(10)}a._partialRow+=k.decode(g,ka);return e.read().then(c).catch(d)}}function d(g){A(a,g)}var e=b.getReader();e.read().then(c).catch(d)}var ka={stream:!0},v=new Map,C=new Map,ca=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,D=new WeakMap,E=Symbol.for("react.element"),
26
- Y=Symbol.for("react.lazy"),Z=Symbol.for("react.default_value"),I=Symbol.iterator,F=H.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;p.prototype=Object.create(Promise.prototype);p.prototype.then=function(a,b){switch(this.status){case "resolved_model":u(this);break;case "resolved_module":w(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=[]),
27
- this.reason.push(b));break;default:b(this.reason)}};var z=null,n=null,ja=Array.isArray;m.createFromFetch=function(a,b){var c=G(b);a.then(function(d){O(c,d.body)},function(d){A(c,d)});return q(c,0)};m.createFromReadableStream=function(a,b){b=G(b);O(b,a);return q(b,0)};m.createFromXHR=function(a,b){function c(k){k=a.responseText;for(var h=g,l=k.indexOf("\n",h);-1<l;)h=e._partialRow+k.slice(h,l),M(e,h),e._partialRow="",h=l+1,l=k.indexOf("\n",h);e._partialRow+=k.slice(h);g=k.length}function d(k){A(e,
28
- new TypeError("Network error"))}var e=G(b),g=0;a.addEventListener("progress",c);a.addEventListener("load",function(k){c();L(e)});a.addEventListener("error",d);a.addEventListener("abort",d);a.addEventListener("timeout",d);return q(e,0)};m.createServerReference=function(a,b){var c=function(){var d=Array.prototype.slice.call(arguments);return b(a,d)};D.set(c,{id:a,bound:null});return c};m.encodeReply=function(a){return new Promise(function(b,c){fa(a,"",b,c)})}});
10
+ (function(){'use strict';(function(m,t){"object"===typeof exports&&"undefined"!==typeof module?t(exports,require("react-dom"),require("react")):"function"===typeof define&&define.amd?define(["exports","react-dom","react"],t):(m="undefined"!==typeof globalThis?globalThis:m||self,t(m.ReactServerDOMClient={},m.ReactDOM,m.React))})(this,function(m,t,H){function S(a,b){if(a){var c=a[b.id];if(a=c[b.name])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b.id+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');
11
+ c=b.name}return{id:a.id,chunks:a.chunks,name:c,async:!!b.async}}return b}function T(){}function U(a){for(var b=a.chunks,c=[],d=0;d<b.length;d++){var e=b[d],f=v.get(e);if(void 0===f){f=__webpack_chunk_load__(e);c.push(f);var k=v.set.bind(v,e,null);f.then(k,T);v.set(e,f)}else null!==f&&c.push(f)}if(a.async){if(b=D.get(a.id))return"fulfilled"===b.status?null:b;var h=Promise.all(c).then(function(){return __webpack_require__(a.id)});h.then(function(l){h.status="fulfilled";h.value=l},function(l){h.status=
12
+ "rejected";h.reason=l});D.set(a.id,h);return h}return 0<c.length?Promise.all(c):null}function V(a){if(null===a||"object"!==typeof a)return null;a=I&&a[I]||a["@@iterator"];return"function"===typeof a?a:null}function W(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}function J(a,b,c,d){function e(l,g){if(null===g)return null;if("object"===typeof g){if("function"===typeof g.then){null===h&&(h=new FormData);k++;var K=f++;g.then(function(p){p=
13
+ JSON.stringify(p,e);var w=h;w.append(b+K,p);k--;0===k&&c(w)},function(p){d(p)});return"$@"+K.toString(16)}if(g instanceof FormData){null===h&&(h=new FormData);var X=h;l=f++;var Y=b+l+"_";g.forEach(function(p,w){X.append(Y+w,p)});return"$K"+l.toString(16)}return!Z(g)&&V(g)?Array.from(g):g}if("string"===typeof g){if("Z"===g[g.length-1]&&this[l]instanceof Date)return"$D"+g;g="$"===g[0]?"$"+g:g;return g}if("boolean"===typeof g)return g;if("number"===typeof g)return W(g);if("undefined"===typeof g)return"$undefined";
14
+ if("function"===typeof g){g=x.get(g);if(void 0!==g)return g=JSON.stringify(g,e),null===h&&(h=new FormData),l=f++,h.set(b+l,g),"$F"+l.toString(16);throw Error("Client Functions cannot be passed directly to Server Functions. Only Functions passed from the Server can be passed back again.");}if("symbol"===typeof g){l=g.description;if(Symbol.for(l)!==g)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+(g.description+") cannot be found among global symbols."));
15
+ return"$S"+l}if("bigint"===typeof g)return"$n"+g.toString(10);throw Error("Type "+typeof g+" is not supported as an argument to a Server Function.");}var f=1,k=0,h=null;a=JSON.stringify(a,e);null===h?c(a):(h.set(b+"0",a),0===k&&c(h))}function aa(a){var b,c,d=new Promise(function(e,f){b=e;c=f});J(a,"",function(e){if("string"===typeof e){var f=new FormData;f.append("0",e);e=f}d.status="fulfilled";d.value=e;b(e)},function(e){d.status="rejected";d.reason=e;c(e)});return d}function L(a){var b=x.get(this);
16
+ if(!b)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var c=null;if(null!==b.bound){c=M.get(b);c||(c=aa(b),M.set(b,c));if("rejected"===c.status)throw c.reason;if("fulfilled"!==c.status)throw c;b=c.value;var d=new FormData;b.forEach(function(e,f){d.append("$ACTION_"+a+":"+f,e)});c=d;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:c}}function q(a,b,c,d){this.status=
17
+ a;this.value=b;this.reason=c;this._response=d}function ba(a){switch(a.status){case "resolved_model":u(a);break;case "resolved_module":y(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":throw a;default:throw a.reason;}}function z(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function N(a,b,c){switch(a.status){case "fulfilled":z(b,a.value);break;case "pending":case "blocked":a.value=b;a.reason=c;break;case "rejected":c&&z(c,a.reason)}}function A(a,b){if("pending"===a.status||
18
+ "blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&z(c,b)}}function O(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.value,d=a.reason;a.status="resolved_module";a.value=b;null!==c&&(y(a),N(a,c,d))}}function u(a){var b=B,c=n;B=a;n=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==n&&0<n.deps?(n.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{B=b,n=c}}function y(a){try{var b=
19
+ a.value;if(b.async){var c=D.get(b.id);if("fulfilled"===c.status)var d=c.value;else throw c.reason;}else d=__webpack_require__(b.id);var e="*"===b.name?d:""===b.name?d.__esModule?d.default:d:d[b.name];a.status="fulfilled";a.value=e}catch(f){a.status="rejected",a.reason=f}}function C(a,b){a._chunks.forEach(function(c){"pending"===c.status&&A(c,b)})}function r(a,b){var c=a._chunks,d=c.get(b);d||(d=new q("pending",null,null,a),c.set(b,d));return d}function ca(a,b,c){if(n){var d=n;d.deps++}else d=n={deps:1,
20
+ 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&&z(e,d.value))}}function da(a){return function(b){return A(a,b)}}function ea(a,b){var c=a._callServer;a=function(){var d=Array.prototype.slice.call(arguments),e=b.bound;return e?"fulfilled"===e.status?c(b.id,e.value.concat(d)):Promise.resolve(e).then(function(f){return c(b.id,f.concat(d))}):c(b.id,d)};a.$$FORM_ACTION=L;x.set(a,b);return a}function fa(a,b,c,d){if("$"===
21
+ d[0]){if("$"===d)return E;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=r(a,b),{$$typeof:ha,_payload:a,_init:ba};case "@":return b=parseInt(d.slice(2),16),r(a,b);case "S":return Symbol.for(d.slice(2));case "P":return a=d.slice(2),F[a]||(F[a]=H.createServerContext(a,ia)),F[a].Provider;case "F":b=parseInt(d.slice(2),16);b=r(a,b);switch(b.status){case "resolved_model":u(b)}switch(b.status){case "fulfilled":return ea(a,b.value);default:throw b.reason;}case "I":return Infinity;
22
+ 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=r(a,d);switch(a.status){case "resolved_model":u(a);break;case "resolved_module":y(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=B,a.then(ca(d,b,c),da(d)),null;default:throw a.reason;}}}return d}function ja(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');
23
+ }function ka(a,b,c){var d=a._chunks,e=d.get(b);c=JSON.parse(c,a._fromJSON);var f=S(a._bundlerConfig,c);if(c=U(f)){if(e){var k=e;k.status="blocked"}else k=new q("blocked",null,null,a),d.set(b,k);c.then(function(){return O(k,f)},function(h){return A(k,h)})}else e?O(e,f):d.set(b,new q("resolved_module",f,null,a))}function P(a){C(a,Error("Connection closed."))}function Q(a,b){if(""!==b){var c=b.indexOf(":",0),d=parseInt(b.slice(0,c),16);switch(b[c+1]){case "I":ka(a,d,b.slice(c+2));break;case "H":d=b[c+
24
+ 2];b=b.slice(c+3);a=JSON.parse(b,a._fromJSON);if(b=la.current){if("string"===typeof a)c=a;else{c=a[0];var e=a[1]}switch(d){case "D":b.prefetchDNS(c,e);break;case "C":b.preconnect(c,e);break;case "L":b.preload(c,e);break;case "I":b.preinit(c,e)}}break;case "E":b=JSON.parse(b.slice(c+2)).digest;e=Error("An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.");
25
+ e.stack="Error: "+e.message;e.digest=b;b=a._chunks;(c=b.get(d))?A(c,e):b.set(d,new q("rejected",null,e,a));break;default:e=b.slice(c+1),c=a._chunks,(b=c.get(d))?"pending"===b.status&&(a=b.value,d=b.reason,b.status="resolved_model",b.value=e,null!==a&&(u(b),N(b,a,d))):c.set(d,new q("resolved_model",e,null,a))}}}function ma(a){return function(b,c){return"string"===typeof c?fa(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===E?{$$typeof:E,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}
26
+ function G(a){a=a&&a.callServer?a.callServer:void 0;var b=new TextDecoder,c=new Map;a={_bundlerConfig:null,_callServer:void 0!==a?a:ja,_chunks:c,_partialRow:"",_stringDecoder:b};a._fromJSON=ma(a);return a}function R(a,b){function c(f){var k=f.value;if(f.done)P(a);else{f=k;k=a._stringDecoder;for(var h=f.indexOf(10);-1<h;){var l=a._partialRow;var g=f.subarray(0,h);g=k.decode(g);Q(a,l+g);a._partialRow="";f=f.subarray(h+1);h=f.indexOf(10)}a._partialRow+=k.decode(f,na);return e.read().then(c).catch(d)}}
27
+ function d(f){C(a,f)}var e=b.getReader();e.read().then(c).catch(d)}var na={stream:!0},v=new Map,D=new Map,la=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,E=Symbol.for("react.element"),ha=Symbol.for("react.lazy"),ia=Symbol.for("react.default_value"),I=Symbol.iterator,Z=Array.isArray,x=new WeakMap,M=new WeakMap,F=H.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;q.prototype=Object.create(Promise.prototype);q.prototype.then=function(a,b){switch(this.status){case "resolved_model":u(this);
28
+ break;case "resolved_module":y(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)}};var B=null,n=null;m.createFromFetch=function(a,b){var c=G(b);a.then(function(d){R(c,d.body)},function(d){C(c,d)});return r(c,0)};m.createFromReadableStream=function(a,b){b=G(b);R(b,a);return r(b,0)};m.createFromXHR=function(a,
29
+ b){function c(k){k=a.responseText;for(var h=f,l=k.indexOf("\n",h);-1<l;)h=e._partialRow+k.slice(h,l),Q(e,h),e._partialRow="",h=l+1,l=k.indexOf("\n",h);e._partialRow+=k.slice(h);f=k.length}function d(k){C(e,new TypeError("Network error"))}var e=G(b),f=0;a.addEventListener("progress",c);a.addEventListener("load",function(k){c();P(e)});a.addEventListener("error",d);a.addEventListener("abort",d);a.addEventListener("timeout",d);return r(e,0)};m.createServerReference=function(a,b){var c=function(){var d=
30
+ Array.prototype.slice.call(arguments);return b(a,d)};c.$$FORM_ACTION=L;x.set(c,{id:a,bound:null});return c};m.encodeReply=function(a){return new Promise(function(b,c){J(a,"",b,c)})}});
29
31
  })();
@@ -2540,11 +2540,11 @@
2540
2540
  return new Chunk(RESOLVED_MODEL, value, null, response);
2541
2541
  }
2542
2542
 
2543
- function bindArgs(fn, args) {
2543
+ function bindArgs$1(fn, args) {
2544
2544
  return fn.bind.apply(fn, [null].concat(args));
2545
2545
  }
2546
2546
 
2547
- function loadServerReference(response, id, bound, parentChunk, parentObject, key) {
2547
+ function loadServerReference$1(response, id, bound, parentChunk, parentObject, key) {
2548
2548
  var serverReference = resolveServerReference(response._bundlerConfig, id); // We expect most servers to not really need this because you'd just have all
2549
2549
  // the relevant modules already loaded but it allows for lazy loading of code
2550
2550
  // if needed.
@@ -2555,7 +2555,7 @@
2555
2555
  if (bound) {
2556
2556
  promise = Promise.all([bound, preloadPromise]).then(function (_ref) {
2557
2557
  var args = _ref[0];
2558
- return bindArgs(requireModule(serverReference), args);
2558
+ return bindArgs$1(requireModule(serverReference), args);
2559
2559
  });
2560
2560
  } else {
2561
2561
  if (preloadPromise) {
@@ -2726,7 +2726,7 @@
2726
2726
 
2727
2727
 
2728
2728
  var metaData = _chunk.value;
2729
- return loadServerReference(response, metaData.id, metaData.bound, initializingChunk, parentObject, key);
2729
+ return loadServerReference$1(response, metaData.id, metaData.bound, initializingChunk, parentObject, key);
2730
2730
  }
2731
2731
 
2732
2732
  case 'K':
@@ -2852,6 +2852,83 @@
2852
2852
  reportGlobalError(response, new Error('Connection closed.'));
2853
2853
  }
2854
2854
 
2855
+ function bindArgs(fn, args) {
2856
+ return fn.bind.apply(fn, [null].concat(args));
2857
+ }
2858
+
2859
+ function loadServerReference(bundlerConfig, id, bound) {
2860
+ var serverReference = resolveServerReference(bundlerConfig, id); // We expect most servers to not really need this because you'd just have all
2861
+ // the relevant modules already loaded but it allows for lazy loading of code
2862
+ // if needed.
2863
+
2864
+ var preloadPromise = preloadModule(serverReference);
2865
+
2866
+ if (bound) {
2867
+ return Promise.all([bound, preloadPromise]).then(function (_ref) {
2868
+ var args = _ref[0];
2869
+ return bindArgs(requireModule(serverReference), args);
2870
+ });
2871
+ } else if (preloadPromise) {
2872
+ return Promise.resolve(preloadPromise).then(function () {
2873
+ return requireModule(serverReference);
2874
+ });
2875
+ } else {
2876
+ // Synchronously available
2877
+ return Promise.resolve(requireModule(serverReference));
2878
+ }
2879
+ }
2880
+
2881
+ function decodeAction(body, serverManifest) {
2882
+ // We're going to create a new formData object that holds all the fields except
2883
+ // the implementation details of the action data.
2884
+ var formData = new FormData();
2885
+ var action = null; // $FlowFixMe[prop-missing]
2886
+
2887
+ body.forEach(function (value, key) {
2888
+ if (!key.startsWith('$ACTION_')) {
2889
+ formData.append(key, value);
2890
+ return;
2891
+ } // Later actions may override earlier actions if a button is used to override the default
2892
+ // form action.
2893
+
2894
+
2895
+ if (key.startsWith('$ACTION_REF_')) {
2896
+ var formFieldPrefix = '$ACTION_' + key.slice(12) + ':'; // The data for this reference is encoded in multiple fields under this prefix.
2897
+
2898
+ var actionResponse = createResponse(serverManifest, formFieldPrefix, body);
2899
+ close(actionResponse);
2900
+ var refPromise = getRoot(actionResponse); // Force it to initialize
2901
+ // $FlowFixMe
2902
+
2903
+ refPromise.then(function () {});
2904
+
2905
+ if (refPromise.status !== 'fulfilled') {
2906
+ // $FlowFixMe
2907
+ throw refPromise.reason;
2908
+ }
2909
+
2910
+ var metaData = refPromise.value;
2911
+ action = loadServerReference(serverManifest, metaData.id, metaData.bound);
2912
+ return;
2913
+ }
2914
+
2915
+ if (key.startsWith('$ACTION_ID_')) {
2916
+ var id = key.slice(11);
2917
+ action = loadServerReference(serverManifest, id, null);
2918
+ return;
2919
+ }
2920
+ });
2921
+
2922
+ if (action === null) {
2923
+ return null;
2924
+ } // Return the action with the remaining FormData bound to the first argument.
2925
+
2926
+
2927
+ return action.then(function (fn) {
2928
+ return fn.bind(null, formData);
2929
+ });
2930
+ }
2931
+
2855
2932
  function renderToReadableStream(model, webpackMap, options) {
2856
2933
  var request = createRequest(model, webpackMap, options ? options.onError : undefined, options ? options.context : undefined, options ? options.identifierPrefix : undefined);
2857
2934
 
@@ -2898,6 +2975,7 @@
2898
2975
  return getRoot(response);
2899
2976
  }
2900
2977
 
2978
+ exports.decodeAction = decodeAction;
2901
2979
  exports.decodeReply = decodeReply;
2902
2980
  exports.renderToReadableStream = renderToReadableStream;
2903
2981
 
@@ -7,45 +7,46 @@
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
- (function(){'use strict';(function(w,F){"object"===typeof exports&&"undefined"!==typeof module?F(exports,require("react-dom"),require("react")):"function"===typeof define&&define.amd?define(["exports","react-dom","react"],F):(w="undefined"!==typeof globalThis?globalThis:w||self,F(w.ReactServerDOMServer={},w.ReactDOM,w.React))})(this,function(w,F,pa){function N(a,b){if(0!==b.length)if(512<b.length)0<n&&(a.enqueue(new Uint8Array(p.buffer,0,n)),p=new Uint8Array(512),n=0),a.enqueue(b);else{var d=p.length-n;d<b.length&&
11
- (0===d?a.enqueue(p):(p.set(b.subarray(0,d),n),a.enqueue(p),b=b.subarray(d)),p=new Uint8Array(512),n=0);p.set(b,n);n+=b.length}return!0}function qa(a,b){"function"===typeof a.error?a.error(b):a.close()}function ra(a,b,d){a=G(d,a.toJSON);b=b.toString(16)+":"+a+"\n";return H.encode(b)}function X(a,b,d){a=G(d);b=b.toString(16)+":"+a+"\n";return H.encode(b)}function O(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");
12
- }else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");O(a,d);b.context._currentValue=b.value}}}function sa(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&sa(a)}function ta(a){var b=a.parent;null!==b&&ta(b);a.context._currentValue=a.value}function ua(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?
13
- O(a,b):ua(a,b)}function va(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?O(a,d):va(a,d);b.context._currentValue=b.value}function Y(a){var b=r;b!==a&&(null===b?ta(a):null===a?sa(b):b.depth===a.depth?O(b,a):b.depth>a.depth?ua(b,a):va(b,a),r=a)}function wa(a,b){var d=a._currentValue;a._currentValue=b;var c=r;return r=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}function xa(){}
14
- function Ra(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(xa,xa),b=d);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(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}P=b;throw Z;}}function ya(){if(null===P)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");
15
- var a=P;P=null;return a}function za(){var a=x;x=null;return a}function Aa(a){return a._currentValue}function q(){throw Error("This Hook is not supported in Server Components.");}function Sa(){throw Error("Refreshing the cache is not supported in Server Components.");}function aa(){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 (.*)\]$/,function(b,d){return d})}function ba(a){switch(typeof a){case "string":return JSON.stringify(10>=
16
- a.length?a:a.slice(0,10)+"...");case "object":if(ca(a))return"[...]";a=Ca(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}}function Q(a){if("string"===typeof a)return a;switch(a){case Ta:return"Suspense";case Ua:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Da:return Q(a.render);case Ea:return Q(a.type);case I:var b=a._payload;a=a._init;try{return Q(a(b))}catch(d){}}return""}function C(a,b){var d=Ca(a);if("Object"!==d&&"Array"!==d)return d;
17
- d=-1;var c=0;if(ca(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?C(g):ba(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===m)e="<"+Q(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?C(k):ba(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+
18
- k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}function Va(a){console.error(a)}function Wa(a,b,d,c,e){if(null!==da.current&&da.current!==Fa)throw Error("Currently React only supports one RSC renderer at a time.");Xa.current=Ya;da.current=Fa;var f=new Set,g=[],h=new Set,k={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:h,abortableTasks:f,pingedTasks:g,
19
- completedImportChunks:[],completedHintChunks:[],completedJSONChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?Va:d,toJSON:function(t,y){return Za(k,this,t,y)}};k.pendingChunks++;b=$a(c);a=ea(k,a,b,f);g.push(a);return k}function ab(a,b){a.pendingChunks++;var d=ea(a,null,r,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,
20
- fa(a,d),d.id;case "rejected":var c=u(a,b.reason);D(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;fa(a,d)},function(e){d.status=4;e=u(a,e);D(a,d.id,e);null!==a.destination&&J(a,a.destination)});return d.id}function bb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;
21
- throw a;}function cb(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:I,_payload:a,_init:bb}}function K(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===R)return[m,
22
- b,d,e];S=0;x=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:cb(e):e}if("string"===typeof b)return[m,b,d,e];if("symbol"===typeof b)return b===db?e.children:[m,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===R)return[m,b,d,e];switch(b.$$typeof){case I:var g=b._init;b=g(b._payload);return K(a,b,d,c,e,f);case Da:return a=b.render,S=0,x=f,a(e,void 0);case Ea:return K(a,b.type,d,c,e,f);case Ga:return wa(b._context,e.value),[m,b,d,{value:e.value,
23
- children:e.children,__pop:Ha}]}}throw Error("Unsupported Server Component type: "+ba(b));}function fa(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,Ia(a))}function ea(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return fa(a,e)},thenableState:null};c.add(e);return e}function Ja(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===m&&"1"===d?"$L"+g.toString(16):"$"+
24
- g.toString(16);try{var h=a.bundlerConfig,k=c.$$id;g="";var t=h[k];if(t)g=t.name;else{var y=k.lastIndexOf("#");-1!==y&&(g=k.slice(y+1),t=h[k.slice(0,y)]);if(!t)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 z={id:t.id,chunks:t.chunks,name:g,async:!!c.$$async};a.pendingChunks++;var A=a.nextChunkId++,ha=G(z),B=A.toString(16)+":I"+ha+"\n";var eb=H.encode(B);a.completedImportChunks.push(eb);f.set(e,A);return b[0]===
25
- m&&"1"===d?"$L"+A.toString(16):"$"+A.toString(16)}catch(fb){return a.pendingChunks++,b=a.nextChunkId++,d=u(a,fb),D(a,b,d),"$"+b.toString(16)}}function Za(a,b,d,c){switch(c){case m:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===m||c.$$typeof===I);)try{switch(c.$$typeof){case m:var e=c;c=K(a,e.type,e.key,e.ref,e.props,null);break;case I:var f=c._init;c=f(c._payload)}}catch(g){d=g===Z?ya():g;if("object"===typeof d&&null!==d&&"function"===typeof d.then)return a.pendingChunks++,a=ea(a,c,r,
26
- a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=za(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;d=u(a,d);D(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===R)return Ja(a,b,d,c);if("function"===typeof c.then)return"$@"+ab(a,c).toString(16);if(c.$$typeof===Ga)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=X(a,d,"$P"+c),a.completedJSONChunks.push(c)),"$"+
27
- d.toString(16);if(c===Ha){a=r;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===Ka?a.context._defaultValue:c;r=a.parent;return}return!ca(c)&&(null===c||"object"!==typeof c?a=null:(a=La&&c[La]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===
28
- typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===R)return Ja(a,b,d,c);if(c.$$typeof===gb)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,e={id:c.$$id,bound:b?Promise.resolve(b):null},a.pendingChunks++,b=a.nextChunkId++,e=ra(a,b,e),a.completedJSONChunks.push(e),d.set(c,b),a="$F"+b.toString(16)),
10
+ (function(){'use strict';(function(u,G){"object"===typeof exports&&"undefined"!==typeof module?G(exports,require("react-dom"),require("react")):"function"===typeof define&&define.amd?define(["exports","react-dom","react"],G):(u="undefined"!==typeof globalThis?globalThis:u||self,G(u.ReactServerDOMServer={},u.ReactDOM,u.React))})(this,function(u,G,pa){function P(a,b){if(0!==b.length)if(512<b.length)0<n&&(a.enqueue(new Uint8Array(p.buffer,0,n)),p=new Uint8Array(512),n=0),a.enqueue(b);else{var d=p.length-n;d<b.length&&
11
+ (0===d?a.enqueue(p):(p.set(b.subarray(0,d),n),a.enqueue(p),b=b.subarray(d)),p=new Uint8Array(512),n=0);p.set(b,n);n+=b.length}return!0}function qa(a,b){"function"===typeof a.error?a.error(b):a.close()}function ra(a,b,d){a=H(d,a.toJSON);b=b.toString(16)+":"+a+"\n";return I.encode(b)}function Y(a,b,d){a=H(d);b=b.toString(16)+":"+a+"\n";return I.encode(b)}function Q(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");
12
+ }else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");Q(a,d);b.context._currentValue=b.value}}}function sa(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&sa(a)}function ta(a){var b=a.parent;null!==b&&ta(b);a.context._currentValue=a.value}function ua(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?
13
+ Q(a,b):ua(a,b)}function va(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?Q(a,d):va(a,d);b.context._currentValue=b.value}function Z(a){var b=r;b!==a&&(null===b?ta(a):null===a?sa(b):b.depth===a.depth?Q(b,a):b.depth>a.depth?ua(b,a):va(b,a),r=a)}function wa(a,b){var d=a._currentValue;a._currentValue=b;var c=r;return r=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}function xa(){}
14
+ function Wa(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(xa,xa),b=d);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(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}R=b;throw aa;}}function ya(){if(null===R)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");
15
+ var a=R;R=null;return a}function za(){var a=x;x=null;return a}function Aa(a){return a._currentValue}function q(){throw Error("This Hook is not supported in Server Components.");}function Xa(){throw Error("Refreshing the cache is not supported in Server Components.");}function ba(){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 (.*)\]$/,function(b,d){return d})}function ca(a){switch(typeof a){case "string":return JSON.stringify(10>=
16
+ a.length?a:a.slice(0,10)+"...");case "object":if(da(a))return"[...]";a=Ca(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}}function S(a){if("string"===typeof a)return a;switch(a){case Ya:return"Suspense";case Za:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Da:return S(a.render);case Ea:return S(a.type);case J:var b=a._payload;a=a._init;try{return S(a(b))}catch(d){}}return""}function C(a,b){var d=Ca(a);if("Object"!==d&&"Array"!==d)return d;
17
+ d=-1;var c=0;if(da(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?C(g):ca(g);""+f===b?(d=e.length,c=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===m)e="<"+S(a.type)+"/>";else{e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var h=f[g],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?C(k):ca(k);h===b?(d=e.length,c=k.length,e+=k):e=10>k.length&&40>e.length+
18
+ k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}function $a(a){console.error(a)}function ab(a,b,d,c,e){if(null!==ea.current&&ea.current!==Fa)throw Error("Currently React only supports one RSC renderer at a time.");bb.current=cb;ea.current=Fa;var f=new Set,g=[],h=new Set,k={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:h,abortableTasks:f,pingedTasks:g,
19
+ completedImportChunks:[],completedHintChunks:[],completedJSONChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||"",identifierCount:1,onError:void 0===d?$a:d,toJSON:function(t,y){return db(k,this,t,y)}};k.pendingChunks++;b=eb(c);a=fa(k,a,b,f);g.push(a);return k}function fb(a,b){a.pendingChunks++;var d=fa(a,null,r,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,
20
+ ha(a,d),d.id;case "rejected":var c=v(a,b.reason);D(a,d.id,c);return d.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){d.model=e;ha(a,d)},function(e){d.status=4;e=v(a,e);D(a,d.id,e);null!==a.destination&&K(a,a.destination)});return d.id}function gb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;
21
+ throw a;}function hb(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:J,_payload:a,_init:gb}}function L(a,b,d,c,e,f){if(null!==c&&void 0!==c)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===T)return[m,
22
+ b,d,e];U=0;x=f;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:hb(e):e}if("string"===typeof b)return[m,b,d,e];if("symbol"===typeof b)return b===ib?e.children:[m,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===T)return[m,b,d,e];switch(b.$$typeof){case J:var g=b._init;b=g(b._payload);return L(a,b,d,c,e,f);case Da:return a=b.render,U=0,x=f,a(e,void 0);case Ea:return L(a,b.type,d,c,e,f);case Ga:return wa(b._context,e.value),[m,b,d,{value:e.value,
23
+ children:e.children,__pop:Ha}]}}throw Error("Unsupported Server Component type: "+ca(b));}function ha(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&(a.flushScheduled=null!==a.destination,Ia(a))}function fa(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return ha(a,e)},thenableState:null};c.add(e);return e}function Ja(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===m&&"1"===d?"$L"+g.toString(16):"$"+
24
+ g.toString(16);try{var h=a.bundlerConfig,k=c.$$id;g="";var t=h[k];if(t)g=t.name;else{var y=k.lastIndexOf("#");-1!==y&&(g=k.slice(y+1),t=h[k.slice(0,y)]);if(!t)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 z={id:t.id,chunks:t.chunks,name:g,async:!!c.$$async};a.pendingChunks++;var A=a.nextChunkId++,ia=H(z),B=A.toString(16)+":I"+ia+"\n";var jb=I.encode(B);a.completedImportChunks.push(jb);f.set(e,A);return b[0]===
25
+ m&&"1"===d?"$L"+A.toString(16):"$"+A.toString(16)}catch(kb){return a.pendingChunks++,b=a.nextChunkId++,d=v(a,kb),D(a,b,d),"$"+b.toString(16)}}function db(a,b,d,c){switch(c){case m:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===m||c.$$typeof===J);)try{switch(c.$$typeof){case m:var e=c;c=L(a,e.type,e.key,e.ref,e.props,null);break;case J:var f=c._init;c=f(c._payload)}}catch(g){d=g===aa?ya():g;if("object"===typeof d&&null!==d&&"function"===typeof d.then)return a.pendingChunks++,a=fa(a,c,
26
+ r,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=za(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;d=v(a,d);D(a,c,d);return"$L"+c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===T)return Ja(a,b,d,c);if("function"===typeof c.then)return"$@"+fb(a,c).toString(16);if(c.$$typeof===Ga)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=Y(a,d,"$P"+c),a.completedJSONChunks.push(c)),
27
+ "$"+d.toString(16);if(c===Ha){a=r;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=c===Ka?a.context._defaultValue:c;r=a.parent;return}return!da(c)&&(null===c||"object"!==typeof c?a=null:(a=La&&c[La]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c){if("Z"===c[c.length-1]&&b[d]instanceof Date)return"$D"+c;a="$"===c[0]?"$"+c:c;return a}if("boolean"===typeof c)return c;if("number"===
28
+ typeof c)return a=c,Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN";if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===T)return Ja(a,b,d,c);if(c.$$typeof===lb)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,e={id:c.$$id,bound:b?Promise.resolve(b):null},a.pendingChunks++,b=a.nextChunkId++,e=ra(a,b,e),a.completedJSONChunks.push(e),d.set(c,b),a="$F"+b.toString(16)),
29
29
  a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+C(b,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".'+C(b,d));}if("symbol"===typeof c){e=a.writtenSymbols;f=e.get(c);if(void 0!==f)return"$"+f.toString(16);f=c.description;if(Symbol.for(f)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+
30
- (c.description+") cannot be found among global symbols.")+C(b,d));a.pendingChunks++;d=a.nextChunkId++;b=X(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return"$"+d.toString(16)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+C(b,d));}function u(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)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 "'+
31
- typeof b+'" instead');return b||""}function ia(a,b){null!==a.destination?(a.status=2,qa(a.destination,b)):(a.status=1,a.fatalError=b)}function D(a,b,d){d={digest:d};b=b.toString(16)+":E"+G(d)+"\n";b=H.encode(b);a.completedErrorChunks.push(b)}function E(a,b,d){var c=a.nextChunkId++;d=G(d);b="H"+b;c=c.toString(16)+":"+b;c=H.encode(c+d+"\n");a.completedHintChunks.push(c)}function Ia(a){var b=ja.current;ja.current=hb;var d=l;L=l=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=
32
- c[e];var g=a;if(0===f.status){Y(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===m){var k=h,t=f.thenableState;f.model=h;h=K(g,k.type,k.key,k.ref,k.props,t);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===m;)k=h,f.model=h,h=K(g,k.type,k.key,k.ref,k.props,null)}var y=ra(g,f.id,h);g.completedJSONChunks.push(y);g.abortableTasks.delete(f);f.status=1}catch(B){var z=B===Z?ya():B;if("object"===typeof z&&null!==z&&"function"===typeof z.then){var A=f.ping;z.then(A,
33
- A);f.thenableState=za()}else{g.abortableTasks.delete(f);f.status=4;var ha=u(g,z);D(g,f.id,ha)}}}}null!==a.destination&&J(a,a.destination)}catch(B){u(a,B),ia(a,B)}finally{ja.current=b,L=null,l=d}}function J(a,b){p=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,N(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)N(b,e[c]);e.splice(0,c);var f=a.completedJSONChunks;for(c=0;c<f.length;c++)a.pendingChunks--,N(b,f[c]);f.splice(0,
34
- c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,N(b,g[c]);g.splice(0,c)}finally{a.flushScheduled=!1,p&&0<n&&(b.enqueue(new Uint8Array(p.buffer,0,n)),p=null,n=0)}0===a.pendingChunks&&b.close()}function T(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;J(a,b)}}function Ma(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=u(a,void 0===b?Error("The render was aborted by the server without a reason."):b);a.pendingChunks++;
35
- var e=a.nextChunkId++;D(a,e,c);d.forEach(function(f){f.status=3;var g="$"+e.toString(16);f=X(a,f.id,g);a.completedErrorChunks.push(f)});d.clear()}null!==a.destination&&J(a,a.destination)}catch(f){u(a,f),ia(a,f)}}function $a(a){if(a){var b=r;Y(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];ka[e]||(ka[e]=pa.createServerContext(e,Ka));wa(ka[e],c)}a=r;Y(b);return a}return null}function ib(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,
36
- e)]);if(!c)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{id:c.id,chunks:c.chunks,name:d,async:!1}}function jb(){}function kb(a){for(var b=a.chunks,d=[],c=0;c<b.length;c++){var e=b[c],f=U.get(e);if(void 0===f){f=__webpack_chunk_load__(e);d.push(f);var g=U.set.bind(U,e,null);f.then(g,jb);U.set(e,f)}else null!==f&&d.push(f)}if(a.async){if(b=la.get(a.id))return"fulfilled"===b.status?null:b;var h=Promise.all(d).then(function(){return __webpack_require__(a.id)});
37
- h.then(function(k){h.status="fulfilled";h.value=k},function(k){h.status="rejected";h.reason=k});la.set(a.id,h);return h}return 0<d.length?Promise.all(d):null}function ma(a){if(a.async){var b=la.get(a.id);if("fulfilled"===b.status)b=b.value;else throw b.reason;}else b=__webpack_require__(a.id);return"*"===a.name?b:""===a.name?b.__esModule?b.default:b:b[a.name]}function V(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}function Na(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function Oa(a,
38
- b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Na(d,b)}}function lb(a,b,d,c,e,f){var g=ib(a._bundlerConfig,b);a=kb(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=ma(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return ma(g)});else return ma(g);d.then(Pa(c,e,f),Qa(c));return null}function na(a){var b=M,d=v;M=a;v=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==v&&0<v.deps?
39
- (v.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{M=b,v=d}}function mb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Oa(d,b)})}function W(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new V("resolved_model",c,null,a):new V("pending",null,null,a),d.set(b,c));return c}function Pa(a,b,d){if(v){var c=v;c.deps++}else c=v={deps:1,value:null};return function(e){b[d]=e;c.deps--;
40
- 0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Na(e,c.value))}}function Qa(a){return function(b){return Oa(a,b)}}function nb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),W(a,b);case "S":return Symbol.for(c.slice(2));case "F":c=parseInt(c.slice(2),16);c=W(a,c);"resolved_model"===c.status&&na(c);if("fulfilled"!==c.status)throw c.reason;c=c.value;return lb(a,c.id,c.bound,M,b,d);case "K":b=c.slice(2);
41
- var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length),g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=W(a,c);switch(a.status){case "resolved_model":na(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=M,a.then(Pa(c,
42
- b,d),Qa(c)),null;default:throw a.reason;}}return c}function ob(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?nb(e,this,f,g):g}};return e}var p=null,n=0,H=new TextEncoder,G=JSON.stringify,R=Symbol.for("react.client.reference"),gb=Symbol.for("react.server.reference"),Ya={prefetchDNS:function(a,b){if("string"===typeof a){var d=l?l:null;if(d){var c=d.hints,e=
43
- "D"+a;c.has(e)||(c.add(e),b?E(d,"D",[a,b]):E(d,"D",a),T(d))}}},preconnect:function(a,b){if("string"===typeof a){var d=l?l:null;if(d){var c=d.hints,e=null==b||"string"!==typeof b.crossOrigin?null:"use-credentials"===b.crossOrigin?"use-credentials":"";e="C"+(null===e?"null":e)+"|"+a;c.has(e)||(c.add(e),b?E(d,"C",[a,b]):E(d,"C",a),T(d))}}},preload:function(a,b){if("string"===typeof a){var d=l?l:null;if(d){var c=d.hints,e="L"+a;c.has(e)||(c.add(e),E(d,"L",[a,b]),T(d))}}},preinit:function(a,b){if("string"===
44
- typeof a){var d=l?l:null;if(d){var c=d.hints,e="I"+a;c.has(e)||(c.add(e),E(d,"I",[a,b]),T(d))}}}},Xa=F.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,m=Symbol.for("react.element"),db=Symbol.for("react.fragment"),Ga=Symbol.for("react.provider"),pb=Symbol.for("react.server_context"),Da=Symbol.for("react.forward_ref"),Ta=Symbol.for("react.suspense"),Ua=Symbol.for("react.suspense_list"),Ea=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),Ka=Symbol.for("react.default_value"),qb=Symbol.for("react.memo_cache_sentinel"),
45
- La=Symbol.iterator,r=null,Z=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`"),P=null,L=null,S=0,x=null,hb={useMemo:function(a){return a()},
46
- useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:q,useTransition:q,readContext:Aa,useContext:Aa,useReducer:q,useRef:q,useState:q,useInsertionEffect:q,useLayoutEffect:q,useImperativeHandle:q,useEffect:q,useId:function(){if(null===L)throw Error("useId can only be used while React is rendering");var a=L.identifierCount++;return":"+L.identifierPrefix+"S"+a.toString(32)+":"},useMutableSource:q,useSyncExternalStore:q,useCacheRefresh:function(){return Sa},useMemoCache:function(a){for(var b=
47
- Array(a),d=0;d<a;d++)b[d]=qb;return b},use:function(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=S;S+=1;null===x&&(x=[]);return Ra(x,a,b)}if(a.$$typeof===pb)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}},Fa={getCacheSignal:function(){var a=Ba(),b=a.get(aa);void 0===b&&(b=aa(),a.set(aa,b));return b},getCacheForType:function(a){var b=Ba(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},ca=Array.isArray,
48
- oa=pa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ka=oa.ContextRegistry,ja=oa.ReactCurrentDispatcher,da=oa.ReactCurrentCache,l=null,Ha={},U=new Map,la=new Map;V.prototype=Object.create(Promise.prototype);V.prototype.then=function(a,b){switch(this.status){case "resolved_model":na(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));
49
- break;default:b(this.reason)}};var M=null,v=null;w.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=ob(b,"",a);mb(a,Error("Connection closed."));return W(a,0)};w.renderToReadableStream=function(a,b,d){var c=Wa(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)Ma(c,e.reason);else{var f=function(){Ma(c,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",
50
- start:function(g){c.flushScheduled=null!==c.destination;Ia(c)},pull:function(g){if(1===c.status)c.status=2,qa(g,c.fatalError);else if(2!==c.status&&null===c.destination){c.destination=g;try{J(c,g)}catch(h){u(c,h),ia(c,h)}}},cancel:function(g){}},{highWaterMark:0})}});
30
+ (c.description+") cannot be found among global symbols.")+C(b,d));a.pendingChunks++;d=a.nextChunkId++;b=Y(a,d,"$S"+f);a.completedImportChunks.push(b);e.set(c,d);return"$"+d.toString(16)}if("bigint"===typeof c)return"$n"+c.toString(10);throw Error("Type "+typeof c+" is not supported in Client Component props."+C(b,d));}function v(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)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 "'+
31
+ typeof b+'" instead');return b||""}function ja(a,b){null!==a.destination?(a.status=2,qa(a.destination,b)):(a.status=1,a.fatalError=b)}function D(a,b,d){d={digest:d};b=b.toString(16)+":E"+H(d)+"\n";b=I.encode(b);a.completedErrorChunks.push(b)}function E(a,b,d){var c=a.nextChunkId++;d=H(d);b="H"+b;c=c.toString(16)+":"+b;c=I.encode(c+d+"\n");a.completedHintChunks.push(c)}function Ia(a){var b=ka.current;ka.current=mb;var d=l;M=l=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var f=
32
+ c[e];var g=a;if(0===f.status){Z(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===m){var k=h,t=f.thenableState;f.model=h;h=L(g,k.type,k.key,k.ref,k.props,t);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===m;)k=h,f.model=h,h=L(g,k.type,k.key,k.ref,k.props,null)}var y=ra(g,f.id,h);g.completedJSONChunks.push(y);g.abortableTasks.delete(f);f.status=1}catch(B){var z=B===aa?ya():B;if("object"===typeof z&&null!==z&&"function"===typeof z.then){var A=f.ping;z.then(A,
33
+ A);f.thenableState=za()}else{g.abortableTasks.delete(f);f.status=4;var ia=v(g,z);D(g,f.id,ia)}}}}null!==a.destination&&K(a,a.destination)}catch(B){v(a,B),ja(a,B)}finally{ka.current=b,M=null,l=d}}function K(a,b){p=new Uint8Array(512);n=0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)a.pendingChunks--,P(b,d[c]);d.splice(0,c);var e=a.completedHintChunks;for(c=0;c<e.length;c++)P(b,e[c]);e.splice(0,c);var f=a.completedJSONChunks;for(c=0;c<f.length;c++)a.pendingChunks--,P(b,f[c]);f.splice(0,
34
+ c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)a.pendingChunks--,P(b,g[c]);g.splice(0,c)}finally{a.flushScheduled=!1,p&&0<n&&(b.enqueue(new Uint8Array(p.buffer,0,n)),p=null,n=0)}0===a.pendingChunks&&b.close()}function V(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;K(a,b)}}function Ma(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=v(a,void 0===b?Error("The render was aborted by the server without a reason."):b);a.pendingChunks++;
35
+ var e=a.nextChunkId++;D(a,e,c);d.forEach(function(f){f.status=3;var g="$"+e.toString(16);f=Y(a,f.id,g);a.completedErrorChunks.push(f)});d.clear()}null!==a.destination&&K(a,a.destination)}catch(f){v(a,f),ja(a,f)}}function eb(a){if(a){var b=r;Z(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];la[e]||(la[e]=pa.createServerContext(e,Ka));wa(la[e],c)}a=r;Z(b);return a}return null}function Na(a,b){var d="",c=a[b];if(c)d=c.name;else{var e=b.lastIndexOf("#");-1!==e&&(d=b.slice(e+1),c=a[b.slice(0,
36
+ e)]);if(!c)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{id:c.id,chunks:c.chunks,name:d,async:!1}}function nb(){}function Oa(a){for(var b=a.chunks,d=[],c=0;c<b.length;c++){var e=b[c],f=W.get(e);if(void 0===f){f=__webpack_chunk_load__(e);d.push(f);var g=W.set.bind(W,e,null);f.then(g,nb);W.set(e,f)}else null!==f&&d.push(f)}if(a.async){if(b=ma.get(a.id))return"fulfilled"===b.status?null:b;var h=Promise.all(d).then(function(){return __webpack_require__(a.id)});
37
+ h.then(function(k){h.status="fulfilled";h.value=k},function(k){h.status="rejected";h.reason=k});ma.set(a.id,h);return h}return 0<d.length?Promise.all(d):null}function F(a){if(a.async){var b=ma.get(a.id);if("fulfilled"===b.status)b=b.value;else throw b.reason;}else b=__webpack_require__(a.id);return"*"===a.name?b:""===a.name?b.__esModule?b.default:b:b[a.name]}function X(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}function Pa(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function Qa(a,
38
+ b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&Pa(d,b)}}function ob(a,b,d,c,e,f){var g=Na(a._bundlerConfig,b);a=Oa(g);if(d)d=Promise.all([d,a]).then(function(h){h=h[0];var k=F(g);return k.bind.apply(k,[null].concat(h))});else if(a)d=Promise.resolve(a).then(function(){return F(g)});else return F(g);d.then(Ra(c,e,f),Sa(c));return null}function na(a){var b=N,d=w;N=a;w=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==w&&0<w.deps?
39
+ (w.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{N=b,w=d}}function pb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&Qa(d,b)})}function O(a,b){var d=a._chunks,c=d.get(b);c||(c=a._formData.get(a._prefix+b),c=null!=c?new X("resolved_model",c,null,a):new X("pending",null,null,a),d.set(b,c));return c}function Ra(a,b,d){if(w){var c=w;c.deps++}else c=w={deps:1,value:null};return function(e){b[d]=e;c.deps--;
40
+ 0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&Pa(e,c.value))}}function Sa(a){return function(b){return Qa(a,b)}}function qb(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.slice(1);case "@":return b=parseInt(c.slice(2),16),O(a,b);case "S":return Symbol.for(c.slice(2));case "F":c=parseInt(c.slice(2),16);c=O(a,c);"resolved_model"===c.status&&na(c);if("fulfilled"!==c.status)throw c.reason;c=c.value;return ob(a,c.id,c.bound,N,b,d);case "K":b=c.slice(2);
41
+ var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,h){h.startsWith(e)&&f.append(h.slice(e.length),g)});return f;case "I":return Infinity;case "-":return"$-0"===c?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(c.slice(2)));case "n":return BigInt(c.slice(2));default:c=parseInt(c.slice(1),16);a=O(a,c);switch(a.status){case "resolved_model":na(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=N,a.then(Ra(c,
42
+ b,d),Sa(c)),null;default:throw a.reason;}}return c}function Ta(a,b){var d=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,c=new Map,e={_bundlerConfig:a,_prefix:b,_formData:d,_chunks:c,_fromJSON:function(f,g){return"string"===typeof g?qb(e,this,f,g):g}};return e}function Ua(a){pb(a,Error("Connection closed."))}function Va(a,b,d){var c=Na(a,b);a=Oa(c);return d?Promise.all([d,a]).then(function(e){e=e[0];var f=F(c);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return F(c)}):
43
+ Promise.resolve(F(c))}var p=null,n=0,I=new TextEncoder,H=JSON.stringify,T=Symbol.for("react.client.reference"),lb=Symbol.for("react.server.reference"),cb={prefetchDNS:function(a,b){if("string"===typeof a){var d=l?l:null;if(d){var c=d.hints,e="D"+a;c.has(e)||(c.add(e),b?E(d,"D",[a,b]):E(d,"D",a),V(d))}}},preconnect:function(a,b){if("string"===typeof a){var d=l?l:null;if(d){var c=d.hints,e=null==b||"string"!==typeof b.crossOrigin?null:"use-credentials"===b.crossOrigin?"use-credentials":"";e="C"+(null===
44
+ e?"null":e)+"|"+a;c.has(e)||(c.add(e),b?E(d,"C",[a,b]):E(d,"C",a),V(d))}}},preload:function(a,b){if("string"===typeof a){var d=l?l:null;if(d){var c=d.hints,e="L"+a;c.has(e)||(c.add(e),E(d,"L",[a,b]),V(d))}}},preinit:function(a,b){if("string"===typeof a){var d=l?l:null;if(d){var c=d.hints,e="I"+a;c.has(e)||(c.add(e),E(d,"I",[a,b]),V(d))}}}},bb=G.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,m=Symbol.for("react.element"),ib=Symbol.for("react.fragment"),Ga=Symbol.for("react.provider"),
45
+ rb=Symbol.for("react.server_context"),Da=Symbol.for("react.forward_ref"),Ya=Symbol.for("react.suspense"),Za=Symbol.for("react.suspense_list"),Ea=Symbol.for("react.memo"),J=Symbol.for("react.lazy"),Ka=Symbol.for("react.default_value"),sb=Symbol.for("react.memo_cache_sentinel"),La=Symbol.iterator,r=null,aa=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`"),
46
+ R=null,M=null,U=0,x=null,mb={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:q,useTransition:q,readContext:Aa,useContext:Aa,useReducer:q,useRef:q,useState:q,useInsertionEffect:q,useLayoutEffect:q,useImperativeHandle:q,useEffect:q,useId:function(){if(null===M)throw Error("useId can only be used while React is rendering");var a=M.identifierCount++;return":"+M.identifierPrefix+"S"+a.toString(32)+":"},useMutableSource:q,useSyncExternalStore:q,
47
+ useCacheRefresh:function(){return Xa},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=sb;return b},use:function(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=U;U+=1;null===x&&(x=[]);return Wa(x,a,b)}if(a.$$typeof===rb)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}},Fa={getCacheSignal:function(){var a=Ba(),b=a.get(ba);void 0===b&&(b=ba(),a.set(ba,b));return b},getCacheForType:function(a){var b=
48
+ Ba(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},da=Array.isArray,oa=pa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,la=oa.ContextRegistry,ka=oa.ReactCurrentDispatcher,ea=oa.ReactCurrentCache,l=null,Ha={},W=new Map,ma=new Map;X.prototype=Object.create(Promise.prototype);X.prototype.then=function(a,b){switch(this.status){case "resolved_model":na(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));
49
+ b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};var N=null,w=null;u.decodeAction=function(a,b){var d=new FormData,c=null;a.forEach(function(e,f){if(f.startsWith("$ACTION_"))if(f.startsWith("$ACTION_REF_")){e="$ACTION_"+f.slice(12)+":";e=Ta(b,e,a);Ua(e);e=O(e,0);e.then(function(){});if("fulfilled"!==e.status)throw e.reason;e=e.value;c=Va(b,e.id,e.bound)}else f.startsWith("$ACTION_ID_")&&(e=f.slice(11),c=Va(b,e,null));else d.append(f,e)});return null===c?
50
+ null:c.then(function(e){return e.bind(null,d)})};u.decodeReply=function(a,b){if("string"===typeof a){var d=new FormData;d.append("0",a);a=d}a=Ta(b,"",a);Ua(a);return O(a,0)};u.renderToReadableStream=function(a,b,d){var c=ab(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0);if(d&&d.signal){var e=d.signal;if(e.aborted)Ma(c,e.reason);else{var f=function(){Ma(c,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(g){c.flushScheduled=
51
+ null!==c.destination;Ia(c)},pull:function(g){if(1===c.status)c.status=2,qa(g,c.fatalError);else if(2!==c.status&&null===c.destination){c.destination=g;try{K(c,g)}catch(h){v(c,h),ja(c,h)}}},cancel:function(g){}},{highWaterMark:0})}});
51
52
  })();