generated from erangel1/generic-template
initial commit. phase 1 complete
This commit is contained in:
Generated
Vendored
+21
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
Generated
Vendored
+2366
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+1785
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+40
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
React
|
||||
react-server-dom-turbopack-client.browser.production.min.js
|
||||
|
||||
Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
|
||||
This source code is licensed under the MIT license found in the
|
||||
LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
'use strict';var p=require("react-dom"),q={stream:!0},r=Object.prototype.hasOwnProperty;function u(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var w=new Map;
|
||||
function x(a){var b=__turbopack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function y(){}
|
||||
function z(a){for(var b=a[1],c=[],d=0;d<b.length;d++){var f=b[d],h=w.get(f);if(void 0===h){h=__turbopack_load__(f);c.push(h);var e=w.set.bind(w,f,null);h.then(e,y);w.set(f,h)}else null!==h&&c.push(h)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null}var A=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),C=Symbol.for("react.lazy"),D=Symbol.for("react.postpone"),F=Symbol.iterator;
|
||||
function G(a){if(null===a||"object"!==typeof a)return null;a=F&&a[F]||a["@@iterator"];return"function"===typeof a?a:null}var aa=Array.isArray,H=Object.getPrototypeOf,ba=Object.prototype,I=new WeakMap;function ca(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}
|
||||
function da(a,b,c,d){function f(k,g){if(null===g)return null;if("object"===typeof g){if("function"===typeof g.then){null===l&&(l=new FormData);e++;var n=h++;g.then(function(m){m=JSON.stringify(m,f);var t=l;t.append(b+n,m);e--;0===e&&c(t)},function(m){d(m)});return"$@"+n.toString(16)}if(aa(g))return g;if(g instanceof FormData){null===l&&(l=new FormData);var v=l;k=h++;var E=b+k+"_";g.forEach(function(m,t){v.append(E+t,m)});return"$K"+k.toString(16)}if(g instanceof Map)return g=JSON.stringify(Array.from(g),
|
||||
f),null===l&&(l=new FormData),k=h++,l.append(b+k,g),"$Q"+k.toString(16);if(g instanceof Set)return g=JSON.stringify(Array.from(g),f),null===l&&(l=new FormData),k=h++,l.append(b+k,g),"$W"+k.toString(16);if(G(g))return Array.from(g);k=H(g);if(k!==ba&&(null===k||null!==H(k)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return g}if("string"===typeof g){if("Z"===g[g.length-1]&&this[k]instanceof Date)return"$D"+g;
|
||||
g="$"===g[0]?"$"+g:g;return g}if("boolean"===typeof g)return g;if("number"===typeof g)return ca(g);if("undefined"===typeof g)return"$undefined";if("function"===typeof g){g=I.get(g);if(void 0!==g)return g=JSON.stringify(g,f),null===l&&(l=new FormData),k=h++,l.set(b+k,g),"$h"+k.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){k=g.description;if(Symbol.for(k)!==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."));return"$S"+k}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 h=1,e=0,l=null;a=JSON.stringify(a,f);null===l?c(a):(l.set(b+"0",a),0===e&&c(l))}function ea(a,b){I.set(a,b)}function J(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}J.prototype=Object.create(Promise.prototype);
|
||||
J.prototype.then=function(a,b){switch(this.status){case "resolved_model":K(this);break;case "resolved_module":L(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};
|
||||
function fa(a){switch(a.status){case "resolved_model":K(a);break;case "resolved_module":L(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function M(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function N(a,b,c){switch(a.status){case "fulfilled":M(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&M(c,a.reason)}}
|
||||
function O(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&M(c,b)}}function P(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&&(L(a),N(a,c,d))}}var Q=null,R=null;
|
||||
function K(a){var b=Q,c=R;Q=a;R=null;var d=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var f=JSON.parse(d,a._response._fromJSON);if(null!==R&&0<R.deps)R.value=f,a.status="blocked",a.value=null,a.reason=null;else{var h=a.value;a.status="fulfilled";a.value=f;null!==h&&M(h,f)}}catch(e){a.status="rejected",a.reason=e}finally{Q=b,R=c}}
|
||||
function L(a){try{var b=a.value,c=__turbopack_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:r.call(c,b[2])?c[b[2]]:void 0;a.status="fulfilled";a.value=d}catch(f){a.status="rejected",a.reason=f}}function S(a,b){a._chunks.forEach(function(c){"pending"===c.status&&O(c,b)})}function T(a,b){var c=a._chunks,d=c.get(b);d||(d=new J("pending",null,null,a),c.set(b,d));return d}
|
||||
function ha(a,b,c,d){if(R){var f=R;d||f.deps++}else f=R={deps:d?0:1,value:null};return function(h){b[c]=h;f.deps--;0===f.deps&&"blocked"===a.status&&(h=a.value,a.status="fulfilled",a.value=f.value,null!==h&&M(h,f.value))}}function ia(a){return function(b){return O(a,b)}}
|
||||
function ja(a,b){function c(){var f=Array.prototype.slice.call(arguments),h=b.bound;return h?"fulfilled"===h.status?d(b.id,h.value.concat(f)):Promise.resolve(h).then(function(e){return d(b.id,e.concat(f))}):d(b.id,f)}var d=a._callServer;I.set(c,b);return c}function U(a,b){a=T(a,b);switch(a.status){case "resolved_model":K(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}}
|
||||
function ka(a,b,c,d){if("$"===d[0]){if("$"===d)return B;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=T(a,b),{$$typeof:C,_payload:a,_init:fa};case "@":if(2===d.length)return new Promise(function(){});b=parseInt(d.slice(2),16);return T(a,b);case "S":return Symbol.for(d.slice(2));case "h":return b=parseInt(d.slice(2),16),b=U(a,b),ja(a,b);case "Q":return b=parseInt(d.slice(2),16),a=U(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=U(a,b),new Set(a);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":K(a);break;case "resolved_module":L(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":return d=Q,a.then(ha(d,b,c,"cyclic"===a.status),ia(d)),null;default:throw a.reason;}}}return d}
|
||||
function la(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function V(a,b,c,d,f){var h=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:la,_encodeFormAction:d,_nonce:f,_chunks:h,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ma(a);return a}function W(a,b,c){a._chunks.set(b,new J("fulfilled",c,null,a))}
|
||||
function na(a,b,c){var d=a._chunks,f=d.get(b);c=JSON.parse(c,a._fromJSON);var h=u(a._bundlerConfig,c);if(c=z(h)){if(f){var e=f;e.status="blocked"}else e=new J("blocked",null,null,a),d.set(b,e);c.then(function(){return P(e,h)},function(l){return O(e,l)})}else f?P(f,h):d.set(b,new J("resolved_module",h,null,a))}function X(a,b){for(var c=a.length,d=b.length,f=0;f<c;f++)d+=a[f].byteLength;d=new Uint8Array(d);for(var h=f=0;h<c;h++){var e=a[h];d.set(e,f);f+=e.byteLength}d.set(b,f);return d}
|
||||
function Y(a,b,c,d,f,h){c=0===c.length&&0===d.byteOffset%h?d:X(c,d);f=new f(c.buffer,c.byteOffset,c.byteLength/h);W(a,b,f)}
|
||||
function oa(a,b,c,d,f){switch(c){case 65:W(a,b,X(d,f).buffer);return;case 67:Y(a,b,d,f,Int8Array,1);return;case 99:W(a,b,0===d.length?f:X(d,f));return;case 85:Y(a,b,d,f,Uint8ClampedArray,1);return;case 83:Y(a,b,d,f,Int16Array,2);return;case 115:Y(a,b,d,f,Uint16Array,2);return;case 76:Y(a,b,d,f,Int32Array,4);return;case 108:Y(a,b,d,f,Uint32Array,4);return;case 70:Y(a,b,d,f,Float32Array,4);return;case 100:Y(a,b,d,f,Float64Array,8);return;case 78:Y(a,b,d,f,BigInt64Array,8);return;case 109:Y(a,b,d,f,
|
||||
BigUint64Array,8);return;case 86:Y(a,b,d,f,DataView,1);return}for(var h=a._stringDecoder,e="",l=0;l<d.length;l++)e+=h.decode(d[l],q);e+=h.decode(f);switch(c){case 73:na(a,b,e);break;case 72:b=e[0];e=e.slice(1);a=JSON.parse(e,a._fromJSON);if(e=A.current)switch(b){case "D":e.prefetchDNS(a);break;case "C":"string"===typeof a?e.preconnect(a):e.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?e.preload(b,c,a[2]):e.preload(b,c);break;case "m":"string"===typeof a?e.preloadModule(a):e.preloadModule(a[0],
|
||||
a[1]);break;case "S":"string"===typeof a?e.preinitStyle(a):e.preinitStyle(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case "X":"string"===typeof a?e.preinitScript(a):e.preinitScript(a[0],a[1]);break;case "M":"string"===typeof a?e.preinitModuleScript(a):e.preinitModuleScript(a[0],a[1])}break;case 69:c=JSON.parse(e).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=c;c=a._chunks;(d=c.get(b))?O(d,e):c.set(b,new J("rejected",null,e,a));break;case 84:a._chunks.set(b,new J("fulfilled",e,null,a));break;case 68:case 87:throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");case 80:e=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");
|
||||
e.$$typeof=D;e.stack="Error: "+e.message;c=a._chunks;(d=c.get(b))?O(d,e):c.set(b,new J("rejected",null,e,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status="resolved_model",c.value=e,null!==a&&(K(c),N(c,a,b))):d.set(b,new J("resolved_model",e,null,a))}}function ma(a){return function(b,c){return"string"===typeof c?ka(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===B?{$$typeof:B,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}
|
||||
function Z(a,b){function c(h){var e=h.value;if(h.done)S(a,Error("Connection closed."));else{var l=0,k=a._rowState;h=a._rowID;for(var g=a._rowTag,n=a._rowLength,v=a._buffer,E=e.length;l<E;){var m=-1;switch(k){case 0:m=e[l++];58===m?k=1:h=h<<4|(96<m?m-87:m-48);continue;case 1:k=e[l];84===k||65===k||67===k||99===k||85===k||83===k||115===k||76===k||108===k||70===k||100===k||78===k||109===k||86===k?(g=k,k=2,l++):64<k&&91>k?(g=k,k=3,l++):(g=0,k=3);continue;case 2:m=e[l++];44===m?k=4:n=n<<4|(96<m?m-87:m-
|
||||
48);continue;case 3:m=e.indexOf(10,l);break;case 4:m=l+n,m>e.length&&(m=-1)}var t=e.byteOffset+l;if(-1<m)n=new Uint8Array(e.buffer,t,m-l),oa(a,h,g,v,n),l=m,3===k&&l++,n=h=g=k=0,v.length=0;else{e=new Uint8Array(e.buffer,t,e.byteLength-l);v.push(e);n-=e.byteLength;break}}a._rowState=k;a._rowID=h;a._rowTag=g;a._rowLength=n;return f.read().then(c).catch(d)}}function d(h){S(a,h)}var f=b.getReader();f.read().then(c).catch(d)}
|
||||
exports.createFromFetch=function(a,b){var c=V(null,null,b&&b.callServer?b.callServer:void 0,void 0,void 0);a.then(function(d){Z(c,d.body)},function(d){S(c,d)});return T(c,0)};exports.createFromReadableStream=function(a,b){b=V(null,null,b&&b.callServer?b.callServer:void 0,void 0,void 0);Z(b,a);return T(b,0)};exports.createServerReference=function(a,b){function c(){var d=Array.prototype.slice.call(arguments);return b(a,d)}ea(c,{id:a,bound:null});return c};
|
||||
exports.encodeReply=function(a){return new Promise(function(b,c){da(a,"",b,c)})};
|
||||
|
||||
//# sourceMappingURL=react-server-dom-turbopack-client.browser.production.min.js.map
|
||||
Generated
Vendored
+2644
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+2050
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+47
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
React
|
||||
react-server-dom-turbopack-client.edge.production.min.js
|
||||
|
||||
Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
|
||||
This source code is licensed under the MIT license found in the
|
||||
LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
'use strict';var p=require("react-dom"),q={stream:!0},r=Object.prototype.hasOwnProperty;function aa(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var t=new Map;
|
||||
function v(a){var b=globalThis.__next_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 ba(){}
|
||||
function ca(a){for(var b=a[1],c=[],d=0;d<b.length;d++){var e=b[d],g=t.get(e);if(void 0===g){g=globalThis.__next_chunk_load__(e);c.push(g);var f=t.set.bind(t,e,null);g.then(f,ba);t.set(e,g)}else null!==g&&c.push(g)}return 4===a.length?0===c.length?v(a[0]):Promise.all(c).then(function(){return v(a[0])}):0<c.length?Promise.all(c):null}
|
||||
function da(a,b,c){if(null!==a)for(var d=0;d<b.length;d++){var e=c,g=x.current;if(g){var f=g.preinitScript,l=a.prefix+b[d];var h=a.crossOrigin;h="string"===typeof h?"use-credentials"===h?h:"":void 0;f.call(g,l,{crossOrigin:h,nonce:e})}}}var x=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,y=Symbol.for("react.element"),ea=Symbol.for("react.lazy"),fa=Symbol.for("react.postpone"),z=Symbol.iterator;
|
||||
function ha(a){if(null===a||"object"!==typeof a)return null;a=z&&a[z]||a["@@iterator"];return"function"===typeof a?a:null}var ia=Array.isArray,A=Object.getPrototypeOf,ja=Object.prototype,B=new WeakMap;function ka(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}
|
||||
function C(a,b,c,d){function e(h,k){if(null===k)return null;if("object"===typeof k){if("function"===typeof k.then){null===l&&(l=new FormData);f++;var n=g++;k.then(function(m){m=JSON.stringify(m,e);var u=l;u.append(b+n,m);f--;0===f&&c(u)},function(m){d(m)});return"$@"+n.toString(16)}if(ia(k))return k;if(k instanceof FormData){null===l&&(l=new FormData);var w=l;h=g++;var E=b+h+"_";k.forEach(function(m,u){w.append(E+u,m)});return"$K"+h.toString(16)}if(k instanceof Map)return k=JSON.stringify(Array.from(k),
|
||||
e),null===l&&(l=new FormData),h=g++,l.append(b+h,k),"$Q"+h.toString(16);if(k instanceof Set)return k=JSON.stringify(Array.from(k),e),null===l&&(l=new FormData),h=g++,l.append(b+h,k),"$W"+h.toString(16);if(ha(k))return Array.from(k);h=A(k);if(h!==ja&&(null===h||null!==A(h)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return k}if("string"===typeof k){if("Z"===k[k.length-1]&&this[h]instanceof Date)return"$D"+k;
|
||||
k="$"===k[0]?"$"+k:k;return k}if("boolean"===typeof k)return k;if("number"===typeof k)return ka(k);if("undefined"===typeof k)return"$undefined";if("function"===typeof k){k=B.get(k);if(void 0!==k)return k=JSON.stringify(k,e),null===l&&(l=new FormData),h=g++,l.set(b+h,k),"$h"+h.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 k){h=k.description;if(Symbol.for(h)!==k)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+
|
||||
(k.description+") cannot be found among global symbols."));return"$S"+h}if("bigint"===typeof k)return"$n"+k.toString(10);throw Error("Type "+typeof k+" is not supported as an argument to a Server Function.");}var g=1,f=0,l=null;a=JSON.stringify(a,e);null===l?c(a):(l.set(b+"0",a),0===f&&c(l))}var D=new WeakMap;
|
||||
function la(a){var b,c,d=new Promise(function(e,g){b=e;c=g});C(a,"",function(e){if("string"===typeof e){var g=new FormData;g.append("0",e);e=g}d.status="fulfilled";d.value=e;b(e)},function(e){d.status="rejected";d.reason=e;c(e)});return d}
|
||||
function ma(a){var b=B.get(this);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=D.get(b);c||(c=la(b),D.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,g){d.append("$ACTION_"+a+":"+g,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 F(a,b){var c=B.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(e){d.status="fulfilled";d.value=e},function(e){d.status="rejected";d.reason=e})),d;}}
|
||||
function G(a,b,c){Object.defineProperties(a,{$$FORM_ACTION:{value:void 0===c?ma:function(){var d=B.get(this);if(!d)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var e=d.bound;null===e&&(e=Promise.resolve([]));return c(d.id,e)}},$$IS_SIGNATURE_EQUAL:{value:F},bind:{value:H}});B.set(a,b)}var na=Function.prototype.bind,oa=Array.prototype.slice;
|
||||
function H(){var a=na.apply(this,arguments),b=B.get(this);if(b){var c=oa.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(e){return e.concat(c)}):Promise.resolve(c);Object.defineProperties(a,{$$FORM_ACTION:{value:this.$$FORM_ACTION},$$IS_SIGNATURE_EQUAL:{value:F},bind:{value:H}});B.set(a,{id:b.id,bound:d})}return a}function pa(a,b,c){function d(){var e=Array.prototype.slice.call(arguments);return b(a,e)}G(d,{id:a,bound:null},c);return d}
|
||||
function I(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}I.prototype=Object.create(Promise.prototype);I.prototype.then=function(a,b){switch(this.status){case "resolved_model":J(this);break;case "resolved_module":K(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};
|
||||
function qa(a){switch(a.status){case "resolved_model":J(a);break;case "resolved_module":K(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function L(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function M(a,b,c){switch(a.status){case "fulfilled":L(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&L(c,a.reason)}}
|
||||
function N(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&L(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&&(K(a),M(a,c,d))}}var P=null,Q=null;
|
||||
function J(a){var b=P,c=Q;P=a;Q=null;var d=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var e=JSON.parse(d,a._response._fromJSON);if(null!==Q&&0<Q.deps)Q.value=e,a.status="blocked",a.value=null,a.reason=null;else{var g=a.value;a.status="fulfilled";a.value=e;null!==g&&L(g,e)}}catch(f){a.status="rejected",a.reason=f}finally{P=b,Q=c}}
|
||||
function K(a){try{var b=a.value,c=globalThis.__next_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:r.call(c,b[2])?c[b[2]]:void 0;a.status="fulfilled";a.value=d}catch(e){a.status="rejected",a.reason=e}}function R(a,b){a._chunks.forEach(function(c){"pending"===c.status&&N(c,b)})}function S(a,b){var c=a._chunks,d=c.get(b);d||(d=new I("pending",null,null,a),c.set(b,d));return d}
|
||||
function ra(a,b,c,d){if(Q){var e=Q;d||e.deps++}else e=Q={deps:d?0:1,value:null};return function(g){b[c]=g;e.deps--;0===e.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=e.value,null!==g&&L(g,e.value))}}function sa(a){return function(b){return N(a,b)}}
|
||||
function ta(a,b){function c(){var e=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?d(b.id,g.value.concat(e)):Promise.resolve(g).then(function(f){return d(b.id,f.concat(e))}):d(b.id,e)}var d=a._callServer;G(c,b,a._encodeFormAction);return c}function T(a,b){a=S(a,b);switch(a.status){case "resolved_model":J(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}}
|
||||
function ua(a,b,c,d){if("$"===d[0]){if("$"===d)return y;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=S(a,b),{$$typeof:ea,_payload:a,_init:qa};case "@":if(2===d.length)return new Promise(function(){});b=parseInt(d.slice(2),16);return S(a,b);case "S":return Symbol.for(d.slice(2));case "h":return b=parseInt(d.slice(2),16),b=T(a,b),ta(a,b);case "Q":return b=parseInt(d.slice(2),16),a=T(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=T(a,b),new Set(a);
|
||||
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":J(a);break;case "resolved_module":K(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":return d=P,a.then(ra(d,b,c,"cyclic"===a.status),sa(d)),null;default:throw a.reason;}}}return d}
|
||||
function va(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function U(a,b,c){a._chunks.set(b,new I("fulfilled",c,null,a))}
|
||||
function wa(a,b,c){var d=a._chunks,e=d.get(b);c=JSON.parse(c,a._fromJSON);var g=aa(a._bundlerConfig,c);da(a._moduleLoading,c[1],a._nonce);if(c=ca(g)){if(e){var f=e;f.status="blocked"}else f=new I("blocked",null,null,a),d.set(b,f);c.then(function(){return O(f,g)},function(l){return N(f,l)})}else e?O(e,g):d.set(b,new I("resolved_module",g,null,a))}
|
||||
function V(a,b){for(var c=a.length,d=b.length,e=0;e<c;e++)d+=a[e].byteLength;d=new Uint8Array(d);for(var g=e=0;g<c;g++){var f=a[g];d.set(f,e);e+=f.byteLength}d.set(b,e);return d}function W(a,b,c,d,e,g){c=0===c.length&&0===d.byteOffset%g?d:V(c,d);e=new e(c.buffer,c.byteOffset,c.byteLength/g);U(a,b,e)}
|
||||
function xa(a,b,c,d,e){switch(c){case 65:U(a,b,V(d,e).buffer);return;case 67:W(a,b,d,e,Int8Array,1);return;case 99:U(a,b,0===d.length?e:V(d,e));return;case 85:W(a,b,d,e,Uint8ClampedArray,1);return;case 83:W(a,b,d,e,Int16Array,2);return;case 115:W(a,b,d,e,Uint16Array,2);return;case 76:W(a,b,d,e,Int32Array,4);return;case 108:W(a,b,d,e,Uint32Array,4);return;case 70:W(a,b,d,e,Float32Array,4);return;case 100:W(a,b,d,e,Float64Array,8);return;case 78:W(a,b,d,e,BigInt64Array,8);return;case 109:W(a,b,d,e,
|
||||
BigUint64Array,8);return;case 86:W(a,b,d,e,DataView,1);return}for(var g=a._stringDecoder,f="",l=0;l<d.length;l++)f+=g.decode(d[l],q);f+=g.decode(e);switch(c){case 73:wa(a,b,f);break;case 72:b=f[0];f=f.slice(1);a=JSON.parse(f,a._fromJSON);if(f=x.current)switch(b){case "D":f.prefetchDNS(a);break;case "C":"string"===typeof a?f.preconnect(a):f.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?f.preload(b,c,a[2]):f.preload(b,c);break;case "m":"string"===typeof a?f.preloadModule(a):f.preloadModule(a[0],
|
||||
a[1]);break;case "S":"string"===typeof a?f.preinitStyle(a):f.preinitStyle(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case "X":"string"===typeof a?f.preinitScript(a):f.preinitScript(a[0],a[1]);break;case "M":"string"===typeof a?f.preinitModuleScript(a):f.preinitModuleScript(a[0],a[1])}break;case 69:c=JSON.parse(f).digest;f=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.");
|
||||
f.stack="Error: "+f.message;f.digest=c;c=a._chunks;(d=c.get(b))?N(d,f):c.set(b,new I("rejected",null,f,a));break;case 84:a._chunks.set(b,new I("fulfilled",f,null,a));break;case 68:case 87:throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");case 80:f=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");
|
||||
f.$$typeof=fa;f.stack="Error: "+f.message;c=a._chunks;(d=c.get(b))?N(d,f):c.set(b,new I("rejected",null,f,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status="resolved_model",c.value=f,null!==a&&(J(c),M(c,a,b))):d.set(b,new I("resolved_model",f,null,a))}}function ya(a){return function(b,c){return"string"===typeof c?ua(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===y?{$$typeof:y,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}
|
||||
function X(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");}
|
||||
function Y(a){var b=a.ssrManifest.moduleMap,c=a.ssrManifest.moduleLoading,d=a.encodeFormAction;a="string"===typeof a.nonce?a.nonce:void 0;var e=new Map;b={_bundlerConfig:b,_moduleLoading:c,_callServer:void 0!==X?X:va,_encodeFormAction:d,_nonce:a,_chunks:e,_stringDecoder:new TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};b._fromJSON=ya(b);return b}
|
||||
function Z(a,b){function c(g){var f=g.value;if(g.done)R(a,Error("Connection closed."));else{var l=0,h=a._rowState;g=a._rowID;for(var k=a._rowTag,n=a._rowLength,w=a._buffer,E=f.length;l<E;){var m=-1;switch(h){case 0:m=f[l++];58===m?h=1:g=g<<4|(96<m?m-87:m-48);continue;case 1:h=f[l];84===h||65===h||67===h||99===h||85===h||83===h||115===h||76===h||108===h||70===h||100===h||78===h||109===h||86===h?(k=h,h=2,l++):64<h&&91>h?(k=h,h=3,l++):(k=0,h=3);continue;case 2:m=f[l++];44===m?h=4:n=n<<4|(96<m?m-87:m-
|
||||
48);continue;case 3:m=f.indexOf(10,l);break;case 4:m=l+n,m>f.length&&(m=-1)}var u=f.byteOffset+l;if(-1<m)n=new Uint8Array(f.buffer,u,m-l),xa(a,g,k,w,n),l=m,3===h&&l++,n=g=k=h=0,w.length=0;else{f=new Uint8Array(f.buffer,u,f.byteLength-l);w.push(f);n-=f.byteLength;break}}a._rowState=h;a._rowID=g;a._rowTag=k;a._rowLength=n;return e.read().then(c).catch(d)}}function d(g){R(a,g)}var e=b.getReader();e.read().then(c).catch(d)}
|
||||
exports.createFromFetch=function(a,b){var c=Y(b);a.then(function(d){Z(c,d.body)},function(d){R(c,d)});return S(c,0)};exports.createFromReadableStream=function(a,b){b=Y(b);Z(b,a);return S(b,0)};exports.createServerReference=function(a){return pa(a,X)};exports.encodeReply=function(a){return new Promise(function(b,c){C(a,"",b,c)})};
|
||||
|
||||
//# sourceMappingURL=react-server-dom-turbopack-client.edge.production.min.js.map
|
||||
Generated
Vendored
+2605
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+2009
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+46
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
React
|
||||
react-server-dom-turbopack-client.node.production.min.js
|
||||
|
||||
Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
|
||||
This source code is licensed under the MIT license found in the
|
||||
LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
'use strict';var n=require("util"),q=require("react-dom"),r={stream:!0},t=Object.prototype.hasOwnProperty;function v(a,b){if(a){var c=a[b[0]];if(a=c[b[2]])c=a.name;else{a=c["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');c=b[2]}return 4===b.length?[a.id,a.chunks,c,1]:[a.id,a.chunks,c]}return b}var w=new Map;
|
||||
function x(a){var b=globalThis.__next_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function y(){}
|
||||
function aa(a){for(var b=a[1],c=[],d=0;d<b.length;d++){var e=b[d],g=w.get(e);if(void 0===g){g=globalThis.__next_chunk_load__(e);c.push(g);var f=w.set.bind(w,e,null);g.then(f,y);w.set(e,g)}else null!==g&&c.push(g)}return 4===a.length?0===c.length?x(a[0]):Promise.all(c).then(function(){return x(a[0])}):0<c.length?Promise.all(c):null}
|
||||
function ba(a,b,c){if(null!==a)for(var d=0;d<b.length;d++){var e=c,g=z.current;if(g){var f=g.preinitScript,l=a.prefix+b[d];var k=a.crossOrigin;k="string"===typeof k?"use-credentials"===k?k:"":void 0;f.call(g,l,{crossOrigin:k,nonce:e})}}}var z=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,B=Symbol.for("react.element"),ca=Symbol.for("react.lazy"),da=Symbol.for("react.postpone"),C=Symbol.iterator;
|
||||
function ea(a){if(null===a||"object"!==typeof a)return null;a=C&&a[C]||a["@@iterator"];return"function"===typeof a?a:null}var fa=Array.isArray,D=Object.getPrototypeOf,ha=Object.prototype,F=new WeakMap;function ia(a){return Number.isFinite(a)?0===a&&-Infinity===1/a?"$-0":a:Infinity===a?"$Infinity":-Infinity===a?"$-Infinity":"$NaN"}
|
||||
function ja(a,b,c,d){function e(k,h){if(null===h)return null;if("object"===typeof h){if("function"===typeof h.then){null===l&&(l=new FormData);f++;var u=g++;h.then(function(p){p=JSON.stringify(p,e);var A=l;A.append(b+u,p);f--;0===f&&c(A)},function(p){d(p)});return"$@"+u.toString(16)}if(fa(h))return h;if(h instanceof FormData){null===l&&(l=new FormData);var E=l;k=g++;var m=b+k+"_";h.forEach(function(p,A){E.append(m+A,p)});return"$K"+k.toString(16)}if(h instanceof Map)return h=JSON.stringify(Array.from(h),
|
||||
e),null===l&&(l=new FormData),k=g++,l.append(b+k,h),"$Q"+k.toString(16);if(h instanceof Set)return h=JSON.stringify(Array.from(h),e),null===l&&(l=new FormData),k=g++,l.append(b+k,h),"$W"+k.toString(16);if(ea(h))return Array.from(h);k=D(h);if(k!==ha&&(null===k||null!==D(k)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return h}if("string"===typeof h){if("Z"===h[h.length-1]&&this[k]instanceof Date)return"$D"+h;
|
||||
h="$"===h[0]?"$"+h:h;return h}if("boolean"===typeof h)return h;if("number"===typeof h)return ia(h);if("undefined"===typeof h)return"$undefined";if("function"===typeof h){h=F.get(h);if(void 0!==h)return h=JSON.stringify(h,e),null===l&&(l=new FormData),k=g++,l.set(b+k,h),"$h"+k.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 h){k=h.description;if(Symbol.for(k)!==h)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+
|
||||
(h.description+") cannot be found among global symbols."));return"$S"+k}if("bigint"===typeof h)return"$n"+h.toString(10);throw Error("Type "+typeof h+" is not supported as an argument to a Server Function.");}var g=1,f=0,l=null;a=JSON.stringify(a,e);null===l?c(a):(l.set(b+"0",a),0===f&&c(l))}var G=new WeakMap;
|
||||
function ka(a){var b,c,d=new Promise(function(e,g){b=e;c=g});ja(a,"",function(e){if("string"===typeof e){var g=new FormData;g.append("0",e);e=g}d.status="fulfilled";d.value=e;b(e)},function(e){d.status="rejected";d.reason=e;c(e)});return d}
|
||||
function la(a){var b=F.get(this);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=G.get(b);c||(c=ka(b),G.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,g){d.append("$ACTION_"+a+":"+g,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 H(a,b){var c=F.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(c.id!==a)return!1;var d=c.bound;if(null===d)return 0===b;switch(d.status){case "fulfilled":return d.value.length===b;case "pending":throw d;case "rejected":throw d.reason;default:throw"string"!==typeof d.status&&(d.status="pending",d.then(function(e){d.status="fulfilled";d.value=e},function(e){d.status="rejected";d.reason=e})),d;}}
|
||||
function I(a,b,c){Object.defineProperties(a,{$$FORM_ACTION:{value:void 0===c?la:function(){var d=F.get(this);if(!d)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var e=d.bound;null===e&&(e=Promise.resolve([]));return c(d.id,e)}},$$IS_SIGNATURE_EQUAL:{value:H},bind:{value:J}});F.set(a,b)}var ma=Function.prototype.bind,na=Array.prototype.slice;
|
||||
function J(){var a=ma.apply(this,arguments),b=F.get(this);if(b){var c=na.call(arguments,1),d=null;d=null!==b.bound?Promise.resolve(b.bound).then(function(e){return e.concat(c)}):Promise.resolve(c);Object.defineProperties(a,{$$FORM_ACTION:{value:this.$$FORM_ACTION},$$IS_SIGNATURE_EQUAL:{value:H},bind:{value:J}});F.set(a,{id:b.id,bound:d})}return a}function oa(a,b,c){function d(){var e=Array.prototype.slice.call(arguments);return b(a,e)}I(d,{id:a,bound:null},c);return d}
|
||||
function K(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}K.prototype=Object.create(Promise.prototype);K.prototype.then=function(a,b){switch(this.status){case "resolved_model":L(this);break;case "resolved_module":M(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};
|
||||
function pa(a){switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function N(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function O(a,b,c){switch(a.status){case "fulfilled":N(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=c;break;case "rejected":c&&N(c,a.reason)}}
|
||||
function P(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&N(c,b)}}function Q(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&&(M(a),O(a,c,d))}}var R=null,S=null;
|
||||
function L(a){var b=R,c=S;R=a;S=null;var d=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var e=JSON.parse(d,a._response._fromJSON);if(null!==S&&0<S.deps)S.value=e,a.status="blocked",a.value=null,a.reason=null;else{var g=a.value;a.status="fulfilled";a.value=e;null!==g&&N(g,e)}}catch(f){a.status="rejected",a.reason=f}finally{R=b,S=c}}
|
||||
function M(a){try{var b=a.value,c=globalThis.__next_require__(b[0]);if(4===b.length&&"function"===typeof c.then)if("fulfilled"===c.status)c=c.value;else throw c.reason;var d="*"===b[2]?c:""===b[2]?c.__esModule?c.default:c:t.call(c,b[2])?c[b[2]]:void 0;a.status="fulfilled";a.value=d}catch(e){a.status="rejected",a.reason=e}}function T(a,b){a._chunks.forEach(function(c){"pending"===c.status&&P(c,b)})}function U(a,b){var c=a._chunks,d=c.get(b);d||(d=new K("pending",null,null,a),c.set(b,d));return d}
|
||||
function qa(a,b,c,d){if(S){var e=S;d||e.deps++}else e=S={deps:d?0:1,value:null};return function(g){b[c]=g;e.deps--;0===e.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=e.value,null!==g&&N(g,e.value))}}function ra(a){return function(b){return P(a,b)}}
|
||||
function sa(a,b){function c(){var e=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?d(b.id,g.value.concat(e)):Promise.resolve(g).then(function(f){return d(b.id,f.concat(e))}):d(b.id,e)}var d=a._callServer;I(c,b,a._encodeFormAction);return c}function V(a,b){a=U(a,b);switch(a.status){case "resolved_model":L(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}}
|
||||
function ta(a,b,c,d){if("$"===d[0]){if("$"===d)return B;switch(d[1]){case "$":return d.slice(1);case "L":return b=parseInt(d.slice(2),16),a=U(a,b),{$$typeof:ca,_payload:a,_init:pa};case "@":if(2===d.length)return new Promise(function(){});b=parseInt(d.slice(2),16);return U(a,b);case "S":return Symbol.for(d.slice(2));case "h":return b=parseInt(d.slice(2),16),b=V(a,b),sa(a,b);case "Q":return b=parseInt(d.slice(2),16),a=V(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=V(a,b),new Set(a);
|
||||
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=U(a,d);switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":return d=R,a.then(qa(d,b,c,"cyclic"===a.status),ra(d)),null;default:throw a.reason;}}}return d}
|
||||
function ua(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function va(a,b,c,d,e){var g=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==c?c:ua,_encodeFormAction:d,_nonce:e,_chunks:g,_stringDecoder:new n.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=wa(a);return a}function W(a,b,c){a._chunks.set(b,new K("fulfilled",c,null,a))}
|
||||
function xa(a,b,c){var d=a._chunks,e=d.get(b);c=JSON.parse(c,a._fromJSON);var g=v(a._bundlerConfig,c);ba(a._moduleLoading,c[1],a._nonce);if(c=aa(g)){if(e){var f=e;f.status="blocked"}else f=new K("blocked",null,null,a),d.set(b,f);c.then(function(){return Q(f,g)},function(l){return P(f,l)})}else e?Q(e,g):d.set(b,new K("resolved_module",g,null,a))}
|
||||
function X(a,b){for(var c=a.length,d=b.length,e=0;e<c;e++)d+=a[e].byteLength;d=new Uint8Array(d);for(var g=e=0;g<c;g++){var f=a[g];d.set(f,e);e+=f.byteLength}d.set(b,e);return d}function Y(a,b,c,d,e,g){c=0===c.length&&0===d.byteOffset%g?d:X(c,d);e=new e(c.buffer,c.byteOffset,c.byteLength/g);W(a,b,e)}
|
||||
function ya(a,b,c,d,e){switch(c){case 65:W(a,b,X(d,e).buffer);return;case 67:Y(a,b,d,e,Int8Array,1);return;case 99:W(a,b,0===d.length?e:X(d,e));return;case 85:Y(a,b,d,e,Uint8ClampedArray,1);return;case 83:Y(a,b,d,e,Int16Array,2);return;case 115:Y(a,b,d,e,Uint16Array,2);return;case 76:Y(a,b,d,e,Int32Array,4);return;case 108:Y(a,b,d,e,Uint32Array,4);return;case 70:Y(a,b,d,e,Float32Array,4);return;case 100:Y(a,b,d,e,Float64Array,8);return;case 78:Y(a,b,d,e,BigInt64Array,8);return;case 109:Y(a,b,d,e,
|
||||
BigUint64Array,8);return;case 86:Y(a,b,d,e,DataView,1);return}for(var g=a._stringDecoder,f="",l=0;l<d.length;l++)f+=g.decode(d[l],r);f+=g.decode(e);switch(c){case 73:xa(a,b,f);break;case 72:b=f[0];f=f.slice(1);a=JSON.parse(f,a._fromJSON);if(f=z.current)switch(b){case "D":f.prefetchDNS(a);break;case "C":"string"===typeof a?f.preconnect(a):f.preconnect(a[0],a[1]);break;case "L":b=a[0];c=a[1];3===a.length?f.preload(b,c,a[2]):f.preload(b,c);break;case "m":"string"===typeof a?f.preloadModule(a):f.preloadModule(a[0],
|
||||
a[1]);break;case "S":"string"===typeof a?f.preinitStyle(a):f.preinitStyle(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case "X":"string"===typeof a?f.preinitScript(a):f.preinitScript(a[0],a[1]);break;case "M":"string"===typeof a?f.preinitModuleScript(a):f.preinitModuleScript(a[0],a[1])}break;case 69:c=JSON.parse(f).digest;f=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.");
|
||||
f.stack="Error: "+f.message;f.digest=c;c=a._chunks;(d=c.get(b))?P(d,f):c.set(b,new K("rejected",null,f,a));break;case 84:a._chunks.set(b,new K("fulfilled",f,null,a));break;case 68:case 87:throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");case 80:f=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");
|
||||
f.$$typeof=da;f.stack="Error: "+f.message;c=a._chunks;(d=c.get(b))?P(d,f):c.set(b,new K("rejected",null,f,a));break;default:d=a._chunks,(c=d.get(b))?"pending"===c.status&&(a=c.value,b=c.reason,c.status="resolved_model",c.value=f,null!==a&&(L(c),O(c,a,b))):d.set(b,new K("resolved_model",f,null,a))}}function wa(a){return function(b,c){return"string"===typeof c?ta(a,this,b,c):"object"===typeof c&&null!==c?(b=c[0]===B?{$$typeof:B,type:c[1],key:c[2],ref:null,props:c[3],_owner:null}:c,b):c}}
|
||||
function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");}
|
||||
exports.createFromNodeStream=function(a,b,c){var d=va(b.moduleMap,b.moduleLoading,Z,c?c.encodeFormAction:void 0,c&&"string"===typeof c.nonce?c.nonce:void 0);a.on("data",function(e){for(var g=0,f=d._rowState,l=d._rowID,k=d._rowTag,h=d._rowLength,u=d._buffer,E=e.length;g<E;){var m=-1;switch(f){case 0:m=e[g++];58===m?f=1:l=l<<4|(96<m?m-87:m-48);continue;case 1:f=e[g];84===f||65===f||67===f||99===f||85===f||83===f||115===f||76===f||108===f||70===f||100===f||78===f||109===f||86===f?(k=f,f=2,g++):64<f&&
|
||||
91>f?(k=f,f=3,g++):(k=0,f=3);continue;case 2:m=e[g++];44===m?f=4:h=h<<4|(96<m?m-87:m-48);continue;case 3:m=e.indexOf(10,g);break;case 4:m=g+h,m>e.length&&(m=-1)}var p=e.byteOffset+g;if(-1<m)h=new Uint8Array(e.buffer,p,m-g),ya(d,l,k,u,h),g=m,3===f&&g++,h=l=k=f=0,u.length=0;else{e=new Uint8Array(e.buffer,p,e.byteLength-g);u.push(e);h-=e.byteLength;break}}d._rowState=f;d._rowID=l;d._rowTag=k;d._rowLength=h});a.on("error",function(e){T(d,e)});a.on("end",function(){T(d,Error("Connection closed."))});return U(d,
|
||||
0)};exports.createServerReference=function(a){return oa(a,Z)};
|
||||
|
||||
//# sourceMappingURL=react-server-dom-turbopack-client.node.production.min.js.map
|
||||
Generated
Vendored
+2553
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+1957
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+45
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
React
|
||||
react-server-dom-turbopack-client.node.unbundled.production.min.js
|
||||
|
||||
Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
|
||||
This source code is licensed under the MIT license found in the
|
||||
LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
'use strict';var n=require("util"),q=require("react-dom"),r={stream:!0};function t(a,b){var d=a[b[0]];if(a=d[b[2]])d=a.name;else{a=d["*"];if(!a)throw Error('Could not find the module "'+b[0]+'" in the React SSR Manifest. This is probably a bug in the React Server Components bundler.');d=b[2]}return{specifier:a.specifier,name:d,async:4===b.length}}var v=new Map;
|
||||
function w(a){var b=v.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var d=import(a.specifier);a.async&&(d=d.then(function(c){return c.default}));d.then(function(c){var e=d;e.status="fulfilled";e.value=c},function(c){var e=d;e.status="rejected";e.reason=c});v.set(a.specifier,d);return d}
|
||||
function x(a,b,d){if(null!==a)for(var c=0;c<b.length;c++){var e=d,g=y.current;if(g){var f=g.preinitScript,l=a.prefix+b[c];var k=a.crossOrigin;k="string"===typeof k?"use-credentials"===k?k:"":void 0;f.call(g,l,{crossOrigin:k,nonce:e})}}}var y=q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,A=Symbol.for("react.element"),B=Symbol.for("react.lazy"),aa=Symbol.for("react.postpone"),C=Symbol.iterator;
|
||||
function ba(a){if(null===a||"object"!==typeof a)return null;a=C&&a[C]||a["@@iterator"];return"function"===typeof a?a:null}var ca=Array.isArray,D=Object.getPrototypeOf,da=Object.prototype,F=new WeakMap;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,d,c){function e(k,h){if(null===h)return null;if("object"===typeof h){if("function"===typeof h.then){null===l&&(l=new FormData);f++;var u=g++;h.then(function(p){p=JSON.stringify(p,e);var z=l;z.append(b+u,p);f--;0===f&&d(z)},function(p){c(p)});return"$@"+u.toString(16)}if(ca(h))return h;if(h instanceof FormData){null===l&&(l=new FormData);var E=l;k=g++;var m=b+k+"_";h.forEach(function(p,z){E.append(m+z,p)});return"$K"+k.toString(16)}if(h instanceof Map)return h=JSON.stringify(Array.from(h),
|
||||
e),null===l&&(l=new FormData),k=g++,l.append(b+k,h),"$Q"+k.toString(16);if(h instanceof Set)return h=JSON.stringify(Array.from(h),e),null===l&&(l=new FormData),k=g++,l.append(b+k,h),"$W"+k.toString(16);if(ba(h))return Array.from(h);k=D(h);if(k!==da&&(null===k||null!==D(k)))throw Error("Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.");return h}if("string"===typeof h){if("Z"===h[h.length-1]&&this[k]instanceof Date)return"$D"+h;
|
||||
h="$"===h[0]?"$"+h:h;return h}if("boolean"===typeof h)return h;if("number"===typeof h)return ea(h);if("undefined"===typeof h)return"$undefined";if("function"===typeof h){h=F.get(h);if(void 0!==h)return h=JSON.stringify(h,e),null===l&&(l=new FormData),k=g++,l.set(b+k,h),"$h"+k.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 h){k=h.description;if(Symbol.for(k)!==h)throw Error("Only global symbols received from Symbol.for(...) can be passed to Server Functions. The symbol Symbol.for("+
|
||||
(h.description+") cannot be found among global symbols."));return"$S"+k}if("bigint"===typeof h)return"$n"+h.toString(10);throw Error("Type "+typeof h+" is not supported as an argument to a Server Function.");}var g=1,f=0,l=null;a=JSON.stringify(a,e);null===l?d(a):(l.set(b+"0",a),0===f&&d(l))}var G=new WeakMap;
|
||||
function ha(a){var b,d,c=new Promise(function(e,g){b=e;d=g});fa(a,"",function(e){if("string"===typeof e){var g=new FormData;g.append("0",e);e=g}c.status="fulfilled";c.value=e;b(e)},function(e){c.status="rejected";c.reason=e;d(e)});return c}
|
||||
function ia(a){var b=F.get(this);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 d=null;if(null!==b.bound){d=G.get(b);d||(d=ha(b),G.set(b,d));if("rejected"===d.status)throw d.reason;if("fulfilled"!==d.status)throw d;b=d.value;var c=new FormData;b.forEach(function(e,g){c.append("$ACTION_"+a+":"+g,e)});d=c;b="$ACTION_REF_"+a}else b="$ACTION_ID_"+b.id;return{name:b,method:"POST",encType:"multipart/form-data",data:d}}
|
||||
function H(a,b){var d=F.get(this);if(!d)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");if(d.id!==a)return!1;var c=d.bound;if(null===c)return 0===b;switch(c.status){case "fulfilled":return c.value.length===b;case "pending":throw c;case "rejected":throw c.reason;default:throw"string"!==typeof c.status&&(c.status="pending",c.then(function(e){c.status="fulfilled";c.value=e},function(e){c.status="rejected";c.reason=e})),c;}}
|
||||
function I(a,b,d){Object.defineProperties(a,{$$FORM_ACTION:{value:void 0===d?ia:function(){var c=F.get(this);if(!c)throw Error("Tried to encode a Server Action from a different instance than the encoder is from. This is a bug in React.");var e=c.bound;null===e&&(e=Promise.resolve([]));return d(c.id,e)}},$$IS_SIGNATURE_EQUAL:{value:H},bind:{value:J}});F.set(a,b)}var ja=Function.prototype.bind,ka=Array.prototype.slice;
|
||||
function J(){var a=ja.apply(this,arguments),b=F.get(this);if(b){var d=ka.call(arguments,1),c=null;c=null!==b.bound?Promise.resolve(b.bound).then(function(e){return e.concat(d)}):Promise.resolve(d);Object.defineProperties(a,{$$FORM_ACTION:{value:this.$$FORM_ACTION},$$IS_SIGNATURE_EQUAL:{value:H},bind:{value:J}});F.set(a,{id:b.id,bound:c})}return a}function la(a,b,d){function c(){var e=Array.prototype.slice.call(arguments);return b(a,e)}I(c,{id:a,bound:null},d);return c}
|
||||
function K(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}K.prototype=Object.create(Promise.prototype);K.prototype.then=function(a,b){switch(this.status){case "resolved_model":L(this);break;case "resolved_module":M(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":case "cyclic":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};
|
||||
function ma(a){switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":throw a;default:throw a.reason;}}function N(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}function O(a,b,d){switch(a.status){case "fulfilled":N(b,a.value);break;case "pending":case "blocked":case "cyclic":a.value=b;a.reason=d;break;case "rejected":d&&N(d,a.reason)}}
|
||||
function P(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&N(d,b)}}function Q(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.value,c=a.reason;a.status="resolved_module";a.value=b;null!==d&&(M(a),O(a,d,c))}}var R=null,S=null;
|
||||
function L(a){var b=R,d=S;R=a;S=null;var c=a.value;a.status="cyclic";a.value=null;a.reason=null;try{var e=JSON.parse(c,a._response._fromJSON);if(null!==S&&0<S.deps)S.value=e,a.status="blocked",a.value=null,a.reason=null;else{var g=a.value;a.status="fulfilled";a.value=e;null!==g&&N(g,e)}}catch(f){a.status="rejected",a.reason=f}finally{R=b,S=d}}
|
||||
function M(a){try{var b=a.value,d=v.get(b.specifier);if("fulfilled"===d.status)var c=d.value;else throw d.reason;var e="*"===b.name?c:""===b.name?c.default:c[b.name];a.status="fulfilled";a.value=e}catch(g){a.status="rejected",a.reason=g}}function T(a,b){a._chunks.forEach(function(d){"pending"===d.status&&P(d,b)})}function U(a,b){var d=a._chunks,c=d.get(b);c||(c=new K("pending",null,null,a),d.set(b,c));return c}
|
||||
function na(a,b,d,c){if(S){var e=S;c||e.deps++}else e=S={deps:c?0:1,value:null};return function(g){b[d]=g;e.deps--;0===e.deps&&"blocked"===a.status&&(g=a.value,a.status="fulfilled",a.value=e.value,null!==g&&N(g,e.value))}}function oa(a){return function(b){return P(a,b)}}
|
||||
function pa(a,b){function d(){var e=Array.prototype.slice.call(arguments),g=b.bound;return g?"fulfilled"===g.status?c(b.id,g.value.concat(e)):Promise.resolve(g).then(function(f){return c(b.id,f.concat(e))}):c(b.id,e)}var c=a._callServer;I(d,b,a._encodeFormAction);return d}function V(a,b){a=U(a,b);switch(a.status){case "resolved_model":L(a)}switch(a.status){case "fulfilled":return a.value;default:throw a.reason;}}
|
||||
function qa(a,b,d,c){if("$"===c[0]){if("$"===c)return A;switch(c[1]){case "$":return c.slice(1);case "L":return b=parseInt(c.slice(2),16),a=U(a,b),{$$typeof:B,_payload:a,_init:ma};case "@":if(2===c.length)return new Promise(function(){});b=parseInt(c.slice(2),16);return U(a,b);case "S":return Symbol.for(c.slice(2));case "h":return b=parseInt(c.slice(2),16),b=V(a,b),pa(a,b);case "Q":return b=parseInt(c.slice(2),16),a=V(a,b),new Map(a);case "W":return b=parseInt(c.slice(2),16),a=V(a,b),new Set(a);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=U(a,c);switch(a.status){case "resolved_model":L(a);break;case "resolved_module":M(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":case "cyclic":return c=R,a.then(na(c,b,d,"cyclic"===a.status),oa(c)),null;default:throw a.reason;}}}return c}
|
||||
function ra(){throw Error('Trying to call a function from "use server" but the callServer option was not implemented in your router runtime.');}function sa(a,b,d,c,e){var g=new Map;a={_bundlerConfig:a,_moduleLoading:b,_callServer:void 0!==d?d:ra,_encodeFormAction:c,_nonce:e,_chunks:g,_stringDecoder:new n.TextDecoder,_fromJSON:null,_rowState:0,_rowID:0,_rowTag:0,_rowLength:0,_buffer:[]};a._fromJSON=ta(a);return a}function W(a,b,d){a._chunks.set(b,new K("fulfilled",d,null,a))}
|
||||
function ua(a,b,d){var c=a._chunks,e=c.get(b);d=JSON.parse(d,a._fromJSON);var g=t(a._bundlerConfig,d);x(a._moduleLoading,d[1],a._nonce);if(d=w(g)){if(e){var f=e;f.status="blocked"}else f=new K("blocked",null,null,a),c.set(b,f);d.then(function(){return Q(f,g)},function(l){return P(f,l)})}else e?Q(e,g):c.set(b,new K("resolved_module",g,null,a))}
|
||||
function X(a,b){for(var d=a.length,c=b.length,e=0;e<d;e++)c+=a[e].byteLength;c=new Uint8Array(c);for(var g=e=0;g<d;g++){var f=a[g];c.set(f,e);e+=f.byteLength}c.set(b,e);return c}function Y(a,b,d,c,e,g){d=0===d.length&&0===c.byteOffset%g?c:X(d,c);e=new e(d.buffer,d.byteOffset,d.byteLength/g);W(a,b,e)}
|
||||
function va(a,b,d,c,e){switch(d){case 65:W(a,b,X(c,e).buffer);return;case 67:Y(a,b,c,e,Int8Array,1);return;case 99:W(a,b,0===c.length?e:X(c,e));return;case 85:Y(a,b,c,e,Uint8ClampedArray,1);return;case 83:Y(a,b,c,e,Int16Array,2);return;case 115:Y(a,b,c,e,Uint16Array,2);return;case 76:Y(a,b,c,e,Int32Array,4);return;case 108:Y(a,b,c,e,Uint32Array,4);return;case 70:Y(a,b,c,e,Float32Array,4);return;case 100:Y(a,b,c,e,Float64Array,8);return;case 78:Y(a,b,c,e,BigInt64Array,8);return;case 109:Y(a,b,c,e,
|
||||
BigUint64Array,8);return;case 86:Y(a,b,c,e,DataView,1);return}for(var g=a._stringDecoder,f="",l=0;l<c.length;l++)f+=g.decode(c[l],r);f+=g.decode(e);switch(d){case 73:ua(a,b,f);break;case 72:b=f[0];f=f.slice(1);a=JSON.parse(f,a._fromJSON);if(f=y.current)switch(b){case "D":f.prefetchDNS(a);break;case "C":"string"===typeof a?f.preconnect(a):f.preconnect(a[0],a[1]);break;case "L":b=a[0];d=a[1];3===a.length?f.preload(b,d,a[2]):f.preload(b,d);break;case "m":"string"===typeof a?f.preloadModule(a):f.preloadModule(a[0],
|
||||
a[1]);break;case "S":"string"===typeof a?f.preinitStyle(a):f.preinitStyle(a[0],0===a[1]?void 0:a[1],3===a.length?a[2]:void 0);break;case "X":"string"===typeof a?f.preinitScript(a):f.preinitScript(a[0],a[1]);break;case "M":"string"===typeof a?f.preinitModuleScript(a):f.preinitModuleScript(a[0],a[1])}break;case 69:d=JSON.parse(f).digest;f=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.");
|
||||
f.stack="Error: "+f.message;f.digest=d;d=a._chunks;(c=d.get(b))?P(c,f):d.set(b,new K("rejected",null,f,a));break;case 84:a._chunks.set(b,new K("fulfilled",f,null,a));break;case 68:case 87:throw Error("Failed to read a RSC payload created by a development version of React on the server while using a production version on the client. Always use matching versions on the server and the client.");case 80:f=Error("A Server Component was postponed. The reason is omitted in production builds to avoid leaking sensitive details.");
|
||||
f.$$typeof=aa;f.stack="Error: "+f.message;d=a._chunks;(c=d.get(b))?P(c,f):d.set(b,new K("rejected",null,f,a));break;default:c=a._chunks,(d=c.get(b))?"pending"===d.status&&(a=d.value,b=d.reason,d.status="resolved_model",d.value=f,null!==a&&(L(d),O(d,a,b))):c.set(b,new K("resolved_model",f,null,a))}}function ta(a){return function(b,d){return"string"===typeof d?qa(a,this,b,d):"object"===typeof d&&null!==d?(b=d[0]===A?{$$typeof:A,type:d[1],key:d[2],ref:null,props:d[3],_owner:null}:d,b):d}}
|
||||
function Z(){throw Error("Server Functions cannot be called during initial render. This would create a fetch waterfall. Try to use a Server Component to pass data to Client Components instead.");}
|
||||
exports.createFromNodeStream=function(a,b,d){var c=sa(b.moduleMap,b.moduleLoading,Z,d?d.encodeFormAction:void 0,d&&"string"===typeof d.nonce?d.nonce:void 0);a.on("data",function(e){for(var g=0,f=c._rowState,l=c._rowID,k=c._rowTag,h=c._rowLength,u=c._buffer,E=e.length;g<E;){var m=-1;switch(f){case 0:m=e[g++];58===m?f=1:l=l<<4|(96<m?m-87:m-48);continue;case 1:f=e[g];84===f||65===f||67===f||99===f||85===f||83===f||115===f||76===f||108===f||70===f||100===f||78===f||109===f||86===f?(k=f,f=2,g++):64<f&&
|
||||
91>f?(k=f,f=3,g++):(k=0,f=3);continue;case 2:m=e[g++];44===m?f=4:h=h<<4|(96<m?m-87:m-48);continue;case 3:m=e.indexOf(10,g);break;case 4:m=g+h,m>e.length&&(m=-1)}var p=e.byteOffset+g;if(-1<m)h=new Uint8Array(e.buffer,p,m-g),va(c,l,k,u,h),g=m,3===f&&g++,h=l=k=f=0,u.length=0;else{e=new Uint8Array(e.buffer,p,e.byteLength-g);u.push(e);h-=e.byteLength;break}}c._rowState=f;c._rowID=l;c._rowTag=k;c._rowLength=h});a.on("error",function(e){T(c,e)});a.on("end",function(){T(c,Error("Connection closed."))});return U(c,
|
||||
0)};exports.createServerReference=function(a){return la(a,Z)};
|
||||
|
||||
//# sourceMappingURL=react-server-dom-turbopack-client.node.unbundled.production.min.js.map
|
||||
Generated
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
React
|
||||
react-server-dom-turbopack-node-register.js
|
||||
|
||||
Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
|
||||
This source code is licensed under the MIT license found in the
|
||||
LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
'use strict';const h=require("acorn-loose"),l=require("url"),q=require("module");
|
||||
module.exports=function(){const m=require("react-server-dom-turbopack/server"),n=m.registerServerReference,r=m.createClientModuleProxy,f=q.prototype._compile;q.prototype._compile=function(k,p){if(-1===k.indexOf("use client")&&-1===k.indexOf("use server"))return f.apply(this,arguments);try{var a=h.parse(k,{ecmaVersion:"2024",sourceType:"source"}).body}catch(g){return console.error("Error parsing %s %s",l,g.message),f.apply(this,arguments)}var b=!1,d=!1;for(var c=0;c<a.length;c++){var e=a[c];if("ExpressionStatement"!==
|
||||
e.type||!e.directive)break;"use client"===e.directive&&(b=!0);"use server"===e.directive&&(d=!0)}if(!b&&!d)return f.apply(this,arguments);if(b&&d)throw Error('Cannot have both "use client" and "use server" directives in the same file.');b&&(a=l.pathToFileURL(p).href,this.exports=r(a));if(d)if(f.apply(this,arguments),d=l.pathToFileURL(p).href,a=this.exports,"function"===typeof a)n(a,d,null);else for(b=Object.keys(a),c=0;c<b.length;c++){e=b[c];const g=a[b[c]];"function"===typeof g&&n(g,d,e)}}};
|
||||
|
||||
//# sourceMappingURL=react-server-dom-turbopack-node-register.js.map
|
||||
Generated
Vendored
+4217
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+3438
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+82
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
React
|
||||
react-server-dom-turbopack-server.browser.production.min.js
|
||||
|
||||
Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
|
||||
This source code is licensed under the MIT license found in the
|
||||
LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
'use strict';var aa=require("react"),ba=require("react-dom"),l=null,p=0;function q(a,b){if(0!==b.byteLength)if(2048<b.byteLength)0<p&&(a.enqueue(new Uint8Array(l.buffer,0,p)),l=new Uint8Array(2048),p=0),a.enqueue(b);else{var c=l.length-p;c<b.byteLength&&(0===c?a.enqueue(l):(l.set(b.subarray(0,c),p),a.enqueue(l),b=b.subarray(c)),l=new Uint8Array(2048),p=0);l.set(b,p);p+=b.byteLength}return!0}var r=new TextEncoder;function ca(a,b){"function"===typeof a.error?a.error(b):a.close()}
|
||||
var t=Symbol.for("react.client.reference"),da=Symbol.for("react.server.reference");function u(a,b,c){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:c}})}var ea=Function.prototype.bind,fa=Array.prototype.slice;function ia(){var a=ea.apply(this,arguments);if(this.$$typeof===da){var b=fa.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:da},$$id:{value:this.$$id},$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:ia}})}return a}
|
||||
var ja={value:function(){return"function () { [omitted code] }"},configurable:!0,writable:!0},ka=Promise.prototype,la={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");
|
||||
}throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}};
|
||||
function ma(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "__esModule":var c=a.$$id;a.default=u(function(){throw Error("Attempted to call the default export of "+c+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");
|
||||
},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var e=u({},a.$$id,!0),d=new Proxy(e,na);a.status="fulfilled";a.value=d;return a.then=u(function(g){return Promise.resolve(g(d))},a.$$id+"#then",!1)}if("symbol"===typeof b)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");e=a[b];e||(e=u(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(e,"name",{value:b}),e=a[b]=new Proxy(e,la));return e}
|
||||
var na={get:function(a,b){return ma(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:ma(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(){return ka},set:function(){throw Error("Cannot assign to a client module from a server module.");}},va={prefetchDNS:oa,preconnect:pa,preload:qa,preloadModule:ra,preinitStyle:sa,preinitScript:ta,preinitModuleScript:ua};
|
||||
function oa(a){if("string"===typeof a&&a){var b=v?v:null;if(b){var c=b.hints,e="D|"+a;c.has(e)||(c.add(e),w(b,"D",a))}}}function pa(a,b){if("string"===typeof a){var c=v?v:null;if(c){var e=c.hints,d="C|"+(null==b?"null":b)+"|"+a;e.has(d)||(e.add(d),"string"===typeof b?w(c,"C",[a,b]):w(c,"C",a))}}}
|
||||
function qa(a,b,c){if("string"===typeof a){var e=v?v:null;if(e){var d=e.hints,g="L";if("image"===b&&c){var f=c.imageSrcSet,k=c.imageSizes,h="";"string"===typeof f&&""!==f?(h+="["+f+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;g+="[image]"+h}else g+="["+b+"]"+a;d.has(g)||(d.add(g),(c=x(c))?w(e,"L",[a,b,c]):w(e,"L",[a,b]))}}}function ra(a,b){if("string"===typeof a){var c=v?v:null;if(c){var e=c.hints,d="m|"+a;if(!e.has(d))return e.add(d),(b=x(b))?w(c,"m",[a,b]):w(c,"m",a)}}}
|
||||
function sa(a,b,c){if("string"===typeof a){var e=v?v:null;if(e){var d=e.hints,g="S|"+a;if(!d.has(g))return d.add(g),(c=x(c))?w(e,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?w(e,"S",[a,b]):w(e,"S",a)}}}function ta(a,b){if("string"===typeof a){var c=v?v:null;if(c){var e=c.hints,d="X|"+a;if(!e.has(d))return e.add(d),(b=x(b))?w(c,"X",[a,b]):w(c,"X",a)}}}
|
||||
function ua(a,b){if("string"===typeof a){var c=v?v:null;if(c){var e=c.hints,d="M|"+a;if(!e.has(d))return e.add(d),(b=x(b))?w(c,"M",[a,b]):w(c,"M",a)}}}function x(a){if(null==a)return null;var b=!1,c={},e;for(e in a)null!=a[e]&&(b=!0,c[e]=a[e]);return b?c:null}
|
||||
var wa=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,z=Symbol.for("react.element"),xa=Symbol.for("react.fragment"),ya=Symbol.for("react.context"),za=Symbol.for("react.forward_ref"),Aa=Symbol.for("react.suspense"),Ba=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),Da=Symbol.for("react.memo_cache_sentinel"),B=Symbol.for("react.postpone"),Ea=Symbol.iterator,Fa=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`");
|
||||
function Ga(){}function Ha(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Ga,Ga),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(e){if("pending"===b.status){var d=b;d.status="fulfilled";d.value=e}},function(e){if("pending"===b.status){var d=b;d.status="rejected";d.reason=e}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Ia=b;throw Fa;}}var Ia=null;
|
||||
function Ja(){if(null===Ia)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Ia;Ia=null;return a}var D=null,Ka=0,E=null;function La(){var a=E||[];E=null;return a}
|
||||
var Qa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:F,useTransition:F,readContext:Ma,useContext:Ma,useReducer:F,useRef:F,useState:F,useInsertionEffect:F,useLayoutEffect:F,useImperativeHandle:F,useEffect:F,useId:Na,useSyncExternalStore:F,useCacheRefresh:function(){return Oa},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Da;return b},use:Pa};
|
||||
function F(){throw Error("This Hook is not supported in Server Components.");}function Oa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Ma(){throw Error("Cannot read a Client Context from a Server Component.");}function Na(){if(null===D)throw Error("useId can only be used while React is rendering");var a=D.identifierCount++;return":"+D.identifierPrefix+"S"+a.toString(32)+":"}
|
||||
function Pa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Ka;Ka+=1;null===E&&(E=[]);return Ha(E,a,b)}a.$$typeof===ya&&Ma()}if(a.$$typeof===t){if(null!=a.value&&a.value.$$typeof===ya)throw Error("Cannot read a Client Context from a Server Component.");throw Error("Cannot use() an already resolved Client Reference.");}throw Error("An unsupported type was passed to use(): "+String(a));}function Ra(){return(new AbortController).signal}
|
||||
function Sa(){var a=v?v:null;return a?a.cache:new Map}var Ta={getCacheSignal:function(){var a=Sa(),b=a.get(Ra);void 0===b&&(b=Ra(),a.set(Ra,b));return b},getCacheForType:function(a){var b=Sa(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},Ua=Array.isArray,Va=Object.getPrototypeOf;function Wa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}
|
||||
function Xa(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Ua(a))return"[...]";if(null!==a&&a.$$typeof===Ya)return"client";a=Wa(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Ya?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}
|
||||
function Za(a){if("string"===typeof a)return a;switch(a){case Aa:return"Suspense";case Ba:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case za:return Za(a.render);case Ca:return Za(a.type);case A:var b=a._payload;a=a._init;try{return Za(a(b))}catch(c){}}return""}var Ya=Symbol.for("react.client.reference");
|
||||
function G(a,b){var c=Wa(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var e=0;if(Ua(a)){var d="[";for(var g=0;g<a.length;g++){0<g&&(d+=", ");var f=a[g];f="object"===typeof f&&null!==f?G(f):Xa(f);""+g===b?(c=d.length,e=f.length,d+=f):d=10>f.length&&40>d.length+f.length?d+f:d+"..."}d+="]"}else if(a.$$typeof===z)d="<"+Za(a.type)+"/>";else{if(a.$$typeof===Ya)return"client";d="{";g=Object.keys(a);for(f=0;f<g.length;f++){0<f&&(d+=", ");var k=g[f],h=JSON.stringify(k);d+=('"'+k+'"'===h?k:h)+": ";h=a[k];
|
||||
h="object"===typeof h&&null!==h?G(h):Xa(h);k===b?(c=d.length,e=h.length,d+=h):d=10>h.length&&40>d.length+h.length?d+h:d+"..."}d+="}"}return void 0===b?d:-1<c&&0<e?(a=" ".repeat(c)+"^".repeat(e),"\n "+d+"\n "+a):"\n "+d}var $a=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,H=aa.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
||||
if(!H)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var ab=Object.prototype,I=JSON.stringify,bb=H.TaintRegistryObjects,J=H.TaintRegistryValues,cb=H.TaintRegistryByteLengths,db=H.TaintRegistryPendingRequests,eb=H.ReactCurrentCache,fb=$a.ReactCurrentDispatcher;function K(a){throw Error(a);}
|
||||
function gb(a){a=a.taintCleanupQueue;db.delete(a);for(var b=0;b<a.length;b++){var c=a[b],e=J.get(c);void 0!==e&&(1===e.count?J.delete(c):e.count--)}a.length=0}function hb(a){console.error(a)}function ib(){}
|
||||
function jb(a,b,c,e,d){if(null!==eb.current&&eb.current!==Ta)throw Error("Currently React only supports one RSC renderer at a time.");wa.current=va;eb.current=Ta;var g=new Set,f=[],k=[];db.add(k);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:g,pingedTasks:f,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,
|
||||
writtenServerReferences:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:k,onError:void 0===c?hb:c,onPostpone:void 0===d?ib:d};a=kb(b,a,null,!1,g);f.push(a);return b}var v=null;
|
||||
function lb(a,b,c){var e=kb(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return e.model=c.value,mb(a,e),e.id;case "rejected":return b=c.reason,"object"===typeof b&&null!==b&&b.$$typeof===B?(L(a,b.message),M(a,e.id)):(b=N(a,b),O(a,e.id,b)),e.id;default:"string"!==typeof c.status&&(c.status="pending",c.then(function(d){"pending"===c.status&&(c.status="fulfilled",c.value=d)},function(d){"pending"===c.status&&(c.status="rejected",c.reason=d)}))}c.then(function(d){e.model=
|
||||
d;mb(a,e)},function(d){"object"===typeof d&&null!==d&&d.$$typeof===B?(L(a,d.message),M(a,e.id)):(e.status=4,d=N(a,d),O(a,e.id,d));a.abortableTasks.delete(e);null!==a.destination&&P(a,a.destination)});return e.id}function w(a,b,c){c=I(c);var e=a.nextChunkId++;b="H"+b;b=e.toString(16)+":"+b;c=r.encode(b+c+"\n");a.completedHintChunks.push(c);!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(c=a.destination,a.flushScheduled=!0,P(a,c))}
|
||||
function nb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function ob(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:A,_payload:a,_init:nb}}
|
||||
function pb(a,b,c,e,d){var g=b.thenableState;b.thenableState=null;Ka=0;E=g;e=e(d,void 0);if("object"===typeof e&&null!==e&&"function"===typeof e.then){d=e;if("fulfilled"===d.status)return d.value;e=ob(e)}d=b.keyPath;g=b.implicitSlot;null!==c?b.keyPath=null===d?c:d+","+c:null===d&&(b.implicitSlot=!0);a=Q(a,b,qb,"",e);b.keyPath=d;b.implicitSlot=g;return a}function rb(a,b,c){return null!==b.keyPath?(a=[z,xa,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}
|
||||
function sb(a,b,c,e){var d=a.keyPath;null===c?c=d:null!==d&&(c=d+","+c);b=[z,b,c,e];return a.implicitSlot&&null!==c?[b]:b}
|
||||
function tb(a,b,c,e,d,g){if(null!==d&&void 0!==d)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===t?sb(b,c,e,g):pb(a,b,e,c,g);if("string"===typeof c)return sb(b,c,e,g);if("symbol"===typeof c)return c===xa&&null===e?(e=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=Q(a,b,qb,"",g.children),b.implicitSlot=e,a):sb(b,c,e,g);if(null!=c&&"object"===typeof c){if(c.$$typeof===t)return sb(b,c,e,g);switch(c.$$typeof){case A:var f=
|
||||
c._init;c=f(c._payload);return tb(a,b,c,e,d,g);case za:return pb(a,b,e,c.render,g);case Ca:return tb(a,b,c.type,e,d,g)}}throw Error("Unsupported Server Component type: "+Xa(c));}function mb(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,ub(a))}
|
||||
function kb(a,b,c,e,d){a.pendingChunks++;var g=a.nextChunkId++;"object"!==typeof b||null===b||null!==c||e||a.writtenObjects.set(b,g);var f={id:g,status:0,model:b,keyPath:c,implicitSlot:e,ping:function(){return mb(a,f)},toJSON:function(k,h){a:{var m=f.keyPath,y=f.implicitSlot;try{var n=Q(a,f,this,k,h)}catch(ha){k=ha===Fa?Ja():ha;h=f.model;h="object"===typeof h&&null!==h&&(h.$$typeof===z||h.$$typeof===A);if("object"===typeof k&&null!==k){if("function"===typeof k.then){n=kb(a,f.model,f.keyPath,f.implicitSlot,
|
||||
a.abortableTasks);var C=n.ping;k.then(C,C);n.thenableState=La();f.keyPath=m;f.implicitSlot=y;n=h?"$L"+n.id.toString(16):R(n.id);break a}if(k.$$typeof===B){a.pendingChunks++;n=a.nextChunkId++;L(a,k.message);M(a,n);f.keyPath=m;f.implicitSlot=y;n=h?"$L"+n.toString(16):R(n);break a}}f.keyPath=m;f.implicitSlot=y;if(h)a.pendingChunks++,m=a.nextChunkId++,y=N(a,k),O(a,m,y),n="$L"+m.toString(16);else throw k;}}return n},thenableState:null};d.add(f);return f}function R(a){return"$"+a.toString(16)}
|
||||
function vb(a,b,c){a=I(c);b=b.toString(16)+":"+a+"\n";return r.encode(b)}
|
||||
function wb(a,b,c,e){var d=e.$$async?e.$$id+"#async":e.$$id,g=a.writtenClientReferences,f=g.get(d);if(void 0!==f)return b[0]===z&&"1"===c?"$L"+f.toString(16):R(f);try{var k=a.bundlerConfig,h=e.$$id;f="";var m=k[h];if(m)f=m.name;else{var y=h.lastIndexOf("#");-1!==y&&(f=h.slice(y+1),m=k[h.slice(0,y)]);if(!m)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var n=!0===e.$$async?[m.id,m.chunks,f,1]:[m.id,m.chunks,
|
||||
f];a.pendingChunks++;var C=a.nextChunkId++,ha=I(n),Nb=C.toString(16)+":I"+ha+"\n",Ob=r.encode(Nb);a.completedImportChunks.push(Ob);g.set(d,C);return b[0]===z&&"1"===c?"$L"+C.toString(16):R(C)}catch(Pb){return a.pendingChunks++,b=a.nextChunkId++,c=N(a,Pb),O(a,b,c),R(b)}}function S(a,b){b=kb(a,b,null,!1,a.abortableTasks);xb(a,b);return b.id}
|
||||
function T(a,b,c){if(cb.has(c.byteLength)){var e=J.get(String.fromCharCode.apply(String,new Uint8Array(c.buffer,c.byteOffset,c.byteLength)));void 0!==e&&K(e.message)}a.pendingChunks+=2;e=a.nextChunkId++;var d=new Uint8Array(c.buffer,c.byteOffset,c.byteLength);c=2048<c.byteLength?d.slice():d;d=c.byteLength;b=e.toString(16)+":"+b+d.toString(16)+",";b=r.encode(b);a.completedRegularChunks.push(b,c);return R(e)}var U=!1;
|
||||
function Q(a,b,c,e,d){b.model=d;if(d===z)return"$";if(null===d)return null;if("object"===typeof d){switch(d.$$typeof){case z:c=a.writtenObjects;e=c.get(d);if(void 0!==e){if(null===b.keyPath&&!b.implicitSlot)if(U===d)U=null;else return-1===e?(a=S(a,d),R(a)):R(e)}else c.set(d,-1);c=d.props;e=c.ref;return tb(a,b,d.type,d.key,void 0!==e?e:null,c);case A:return b.thenableState=null,c=d._init,d=c(d._payload),Q(a,b,qb,"",d)}if(d.$$typeof===t)return wb(a,c,e,d);c=bb.get(d);void 0!==c&&K(c);c=a.writtenObjects;
|
||||
e=c.get(d);if("function"===typeof d.then){if(void 0!==e){if(null!==b.keyPath||b.implicitSlot)return"$@"+lb(a,b,d).toString(16);if(U===d)U=null;else return"$@"+e.toString(16)}a=lb(a,b,d);c.set(d,a);return"$@"+a.toString(16)}if(void 0!==e)if(U===d)U=null;else return-1===e?(a=S(a,d),R(a)):R(e);else c.set(d,-1);if(Ua(d))return rb(a,b,d);if(d instanceof Map){d=Array.from(d);for(b=0;b<d.length;b++)c=d[b][0],"object"===typeof c&&null!==c&&(e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$Q"+S(a,
|
||||
d).toString(16)}if(d instanceof Set){d=Array.from(d);for(b=0;b<d.length;b++)c=d[b],"object"===typeof c&&null!==c&&(e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$W"+S(a,d).toString(16)}if(d instanceof ArrayBuffer)return T(a,"A",new Uint8Array(d));if(d instanceof Int8Array)return T(a,"C",d);if(d instanceof Uint8Array)return T(a,"c",d);if(d instanceof Uint8ClampedArray)return T(a,"U",d);if(d instanceof Int16Array)return T(a,"S",d);if(d instanceof Uint16Array)return T(a,"s",d);if(d instanceof
|
||||
Int32Array)return T(a,"L",d);if(d instanceof Uint32Array)return T(a,"l",d);if(d instanceof Float32Array)return T(a,"F",d);if(d instanceof Float64Array)return T(a,"d",d);if(d instanceof BigInt64Array)return T(a,"N",d);if(d instanceof BigUint64Array)return T(a,"m",d);if(d instanceof DataView)return T(a,"V",d);null===d||"object"!==typeof d?c=null:(c=Ea&&d[Ea]||d["@@iterator"],c="function"===typeof c?c:null);if(c)return rb(a,b,Array.from(d));a=Va(d);if(a!==ab&&(null===a||null!==Va(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 d}if("string"===typeof d){b=J.get(d);void 0!==b&&K(b.message);if("Z"===d[d.length-1]&&c[e]instanceof Date)return"$D"+d;if(1024<=d.length)return a.pendingChunks+=2,b=a.nextChunkId++,d=r.encode(d),c=d.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",c=r.encode(c),a.completedRegularChunks.push(c,d),R(b);a="$"===d[0]?"$"+d:d;return a}if("boolean"===typeof d)return d;if("number"===typeof d)return Number.isFinite(d)?0===d&&-Infinity===1/d?"$-0":d:Infinity===d?"$Infinity":-Infinity===d?"$-Infinity":
|
||||
"$NaN";if("undefined"===typeof d)return"$undefined";if("function"===typeof d){if(d.$$typeof===t)return wb(a,c,e,d);if(d.$$typeof===da)return b=a.writtenServerReferences,c=b.get(d),void 0!==c?a="$h"+c.toString(16):(c=d.$$bound,c={id:d.$$id,bound:c?Promise.resolve(c):null},a=S(a,c),b.set(d,a),a="$h"+a.toString(16)),a;a=bb.get(d);void 0!==a&&K(a);if(/^on[A-Z]/.test(e))throw Error("Event handlers cannot be passed to Client Component props."+G(c,e)+"\nIf you need interactivity, consider converting part of this to a Client Component.");
|
||||
throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.'+G(c,e));}if("symbol"===typeof d){b=a.writtenSymbols;var g=b.get(d);if(void 0!==g)return R(g);g=d.description;if(Symbol.for(g)!==d)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(d.description+") cannot be found among global symbols.")+
|
||||
G(c,e));a.pendingChunks++;c=a.nextChunkId++;e=vb(a,c,"$S"+g);a.completedImportChunks.push(e);b.set(d,c);return R(c)}if("bigint"===typeof d)return a=J.get(d),void 0!==a&&K(a.message),"$n"+d.toString(10);throw Error("Type "+typeof d+" is not supported in Client Component props."+G(c,e));}function L(a,b){var c=v;v=null;try{var e=a.onPostpone;e(b)}finally{v=c}}
|
||||
function N(a,b){var c=v;v=null;try{var e=a.onError;var d=e(b)}finally{v=c}if(null!=d&&"string"!==typeof d)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d||""}function yb(a,b){gb(a);null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)}
|
||||
function M(a,b){b=b.toString(16)+":P\n";b=r.encode(b);a.completedErrorChunks.push(b)}function O(a,b,c){c={digest:c};b=b.toString(16)+":E"+I(c)+"\n";b=r.encode(b);a.completedErrorChunks.push(b)}var qb={};
|
||||
function xb(a,b){if(0===b.status)try{U=b.model;var c=Q(a,b,qb,"",b.model);U=c;b.keyPath=null;b.implicitSlot=!1;var e="object"===typeof c&&null!==c?I(c,b.toJSON):I(c),d=b.id.toString(16)+":"+e+"\n",g=r.encode(d);a.completedRegularChunks.push(g);a.abortableTasks.delete(b);b.status=1}catch(m){var f=m===Fa?Ja():m;if("object"===typeof f&&null!==f){if("function"===typeof f.then){var k=b.ping;f.then(k,k);b.thenableState=La();return}if(f.$$typeof===B){a.abortableTasks.delete(b);b.status=4;L(a,f.message);
|
||||
M(a,b.id);return}}a.abortableTasks.delete(b);b.status=4;var h=N(a,f);O(a,b.id,h)}finally{}}function ub(a){var b=fb.current;fb.current=Qa;var c=v;D=v=a;try{var e=a.pingedTasks;a.pingedTasks=[];for(var d=0;d<e.length;d++)xb(a,e[d]);null!==a.destination&&P(a,a.destination)}catch(g){N(a,g),yb(a,g)}finally{fb.current=b,D=null,v=c}}
|
||||
function P(a,b){l=new Uint8Array(2048);p=0;try{for(var c=a.completedImportChunks,e=0;e<c.length;e++)a.pendingChunks--,q(b,c[e]);c.splice(0,e);var d=a.completedHintChunks;for(e=0;e<d.length;e++)q(b,d[e]);d.splice(0,e);var g=a.completedRegularChunks;for(e=0;e<g.length;e++)a.pendingChunks--,q(b,g[e]);g.splice(0,e);var f=a.completedErrorChunks;for(e=0;e<f.length;e++)a.pendingChunks--,q(b,f[e]);f.splice(0,e)}finally{a.flushScheduled=!1,l&&0<p&&(b.enqueue(new Uint8Array(l.buffer,0,p)),l=null,p=0)}0===a.pendingChunks&&
|
||||
(gb(a),b.close())}function zb(a,b){try{var c=a.abortableTasks;if(0<c.size){a.pendingChunks++;var e=a.nextChunkId++;if("object"===typeof b&&null!==b&&b.$$typeof===B)L(a,b.message),M(a,e,b);else{var d=void 0===b?Error("The render was aborted by the server without a reason."):b,g=N(a,d);O(a,e,g,d)}c.forEach(function(f){f.status=3;var k=R(e);f=vb(a,f.id,k);a.completedErrorChunks.push(f)});c.clear()}null!==a.destination&&P(a,a.destination)}catch(f){N(a,f),yb(a,f)}}var Ab=Object.prototype.hasOwnProperty;
|
||||
function Bb(a,b){var c="",e=a[b];if(e)c=e.name;else{var d=b.lastIndexOf("#");-1!==d&&(c=b.slice(d+1),e=a[b.slice(0,d)]);if(!e)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[e.id,e.chunks,c]}var Cb=new Map;
|
||||
function Db(a){var b=__turbopack_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 Eb(){}
|
||||
function Fb(a){for(var b=a[1],c=[],e=0;e<b.length;e++){var d=b[e],g=Cb.get(d);if(void 0===g){g=__turbopack_load__(d);c.push(g);var f=Cb.set.bind(Cb,d,null);g.then(f,Eb);Cb.set(d,g)}else null!==g&&c.push(g)}return 4===a.length?0===c.length?Db(a[0]):Promise.all(c).then(function(){return Db(a[0])}):0<c.length?Promise.all(c):null}
|
||||
function V(a){var b=__turbopack_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;if("*"===a[2])return b;if(""===a[2])return b.__esModule?b.default:b;if(Ab.call(b,a[2]))return b[a[2]]}function W(a,b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}W.prototype=Object.create(Promise.prototype);
|
||||
W.prototype.then=function(a,b){switch(this.status){case "resolved_model":Gb(this)}switch(this.status){case "fulfilled":if("function"===typeof a){for(var c=this.value,e=0;c instanceof W;){e++;if(c===this||1E3<e){"function"===typeof b&&b(Error("Cannot have cyclic thenables."));return}if("fulfilled"===c.status)c=c.value;else break}a(this.value)}break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));
|
||||
break;default:b(this.reason)}};function Hb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Ib(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Hb(c,b)}}function Jb(a,b,c,e,d,g){var f=Bb(a._bundlerConfig,b);a=Fb(f);if(c)c=Promise.all([c,a]).then(function(k){k=k[0];var h=V(f);return h.bind.apply(h,[null].concat(k))});else if(a)c=Promise.resolve(a).then(function(){return V(f)});else return V(f);c.then(Kb(e,d,g),Lb(e));return null}
|
||||
var X=null,Y=null;function Gb(a){var b=X,c=Y;X=a;Y=null;try{var e=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=e,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=e)}catch(d){a.status="rejected",a.reason=d}finally{X=b,Y=c}}function Mb(a,b){a._closed=!0;a._closedReason=b;a._chunks.forEach(function(c){"pending"===c.status&&Ib(c,b)})}
|
||||
function Z(a,b){var c=a._chunks,e=c.get(b);e||(e=a._formData.get(a._prefix+b),e=null!=e?new W("resolved_model",e,null,a):a._closed?new W("rejected",null,a._closedReason,a):new W("pending",null,null,a),c.set(b,e));return e}function Kb(a,b,c){if(Y){var e=Y;e.deps++}else e=Y={deps:1,value:null};return function(d){b[c]=d;e.deps--;0===e.deps&&"blocked"===a.status&&(d=a.value,a.status="fulfilled",a.value=e.value,null!==d&&Hb(d,e.value))}}function Lb(a){return function(b){return Ib(a,b)}}
|
||||
function Qb(a,b){a=Z(a,b);"resolved_model"===a.status&&Gb(a);if("fulfilled"!==a.status)throw a.reason;return a.value}
|
||||
function Rb(a,b,c,e){if("$"===e[0])switch(e[1]){case "$":return e.slice(1);case "@":return b=parseInt(e.slice(2),16),Z(a,b);case "S":return Symbol.for(e.slice(2));case "h":return e=parseInt(e.slice(2),16),e=Qb(a,e),Jb(a,e.id,e.bound,X,b,c);case "Q":return b=parseInt(e.slice(2),16),a=Qb(a,b),new Map(a);case "W":return b=parseInt(e.slice(2),16),a=Qb(a,b),new Set(a);case "K":b=e.slice(2);var d=a._prefix+b+"_",g=new FormData;a._formData.forEach(function(f,k){k.startsWith(d)&&g.append(k.slice(d.length),
|
||||
f)});return g;case "I":return Infinity;case "-":return"$-0"===e?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(e.slice(2)));case "n":return BigInt(e.slice(2));default:e=parseInt(e.slice(1),16);a=Z(a,e);switch(a.status){case "resolved_model":Gb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return e=X,a.then(Kb(e,b,c),Lb(e)),null;default:throw a.reason;}}return e}
|
||||
function Sb(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,e=new Map,d={_bundlerConfig:a,_prefix:b,_formData:c,_chunks:e,_fromJSON:function(g,f){return"string"===typeof f?Rb(d,this,g,f):f},_closed:!1,_closedReason:null};return d}function Tb(a){Mb(a,Error("Connection closed."))}
|
||||
function Ub(a,b,c){var e=Bb(a,b);a=Fb(e);return c?Promise.all([c,a]).then(function(d){d=d[0];var g=V(e);return g.bind.apply(g,[null].concat(d))}):a?Promise.resolve(a).then(function(){return V(e)}):Promise.resolve(V(e))}function Vb(a,b,c){a=Sb(b,c,a);Tb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=u({},a,!1);return new Proxy(a,na)};
|
||||
exports.decodeAction=function(a,b){var c=new FormData,e=null;a.forEach(function(d,g){g.startsWith("$ACTION_")?g.startsWith("$ACTION_REF_")?(d="$ACTION_"+g.slice(12)+":",d=Vb(a,b,d),e=Ub(b,d.id,d.bound)):g.startsWith("$ACTION_ID_")&&(d=g.slice(11),e=Ub(b,d,null)):c.append(g,d)});return null===e?null:e.then(function(d){return d.bind(null,c)})};exports.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Sb(b,"",a);b=Z(a,0);Tb(a);return b};
|
||||
exports.registerClientReference=function(a,b,c){return u(a,b+"#"+c,!1)};exports.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:da},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:ia,configurable:!0},toString:ja})};
|
||||
exports.renderToReadableStream=function(a,b,c){var e=jb(a,b,c?c.onError:void 0,c?c.identifierPrefix:void 0,c?c.onPostpone:void 0);if(c&&c.signal){var d=c.signal;if(d.aborted)zb(e,d.reason);else{var g=function(){zb(e,d.reason);d.removeEventListener("abort",g)};d.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(){e.flushScheduled=null!==e.destination;ub(e)},pull:function(f){if(1===e.status)e.status=2,ca(f,e.fatalError);else if(2!==e.status&&null===e.destination){e.destination=
|
||||
f;try{P(e,f)}catch(k){N(e,k),yb(e,k)}}},cancel:function(){}},{highWaterMark:0})};
|
||||
|
||||
//# sourceMappingURL=react-server-dom-turbopack-server.browser.production.min.js.map
|
||||
Generated
Vendored
+4262
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+3461
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+83
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
React
|
||||
react-server-dom-turbopack-server.edge.production.min.js
|
||||
|
||||
Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
|
||||
This source code is licensed under the MIT license found in the
|
||||
LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
'use strict';var aa=require("react"),ba=require("react-dom"),n=null,p=0;function ca(a,b){if(0!==b.byteLength)if(2048<b.byteLength)0<p&&(a.enqueue(new Uint8Array(n.buffer,0,p)),n=new Uint8Array(2048),p=0),a.enqueue(b);else{var c=n.length-p;c<b.byteLength&&(0===c?a.enqueue(n):(n.set(b.subarray(0,c),p),a.enqueue(n),b=b.subarray(c)),n=new Uint8Array(2048),p=0);n.set(b,p);p+=b.byteLength}return!0}var q=new TextEncoder;function da(a,b){"function"===typeof a.error?a.error(b):a.close()}
|
||||
var r=Symbol.for("react.client.reference"),ea=Symbol.for("react.server.reference");function t(a,b,c){return Object.defineProperties(a,{$$typeof:{value:r},$$id:{value:b},$$async:{value:c}})}var fa=Function.prototype.bind,ha=Array.prototype.slice;function ia(){var a=fa.apply(this,arguments);if(this.$$typeof===ea){var b=ha.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:ea},$$id:{value:this.$$id},$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:ia}})}return a}
|
||||
var ja={value:function(){return"function () { [omitted code] }"},configurable:!0,writable:!0},la=Promise.prototype,ma={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");
|
||||
}throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}};
|
||||
function na(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=t(function(){throw Error("Attempted to call the default export of "+c+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");
|
||||
},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var e=t({},a.$$id,!0),d=new Proxy(e,oa);a.status="fulfilled";a.value=d;return a.then=t(function(g){return Promise.resolve(g(d))},a.$$id+"#then",!1)}if("symbol"===typeof b)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");e=a[b];e||(e=t(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(e,"name",{value:b}),e=a[b]=new Proxy(e,ma));return e}
|
||||
var oa={get:function(a,b){return na(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:na(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(){return la},set:function(){throw Error("Cannot assign to a client module from a server module.");}},wa={prefetchDNS:pa,preconnect:qa,preload:ra,preloadModule:sa,preinitStyle:ta,preinitScript:ua,preinitModuleScript:va};
|
||||
function pa(a){if("string"===typeof a&&a){var b=u();if(b){var c=b.hints,e="D|"+a;c.has(e)||(c.add(e),v(b,"D",a))}}}function qa(a,b){if("string"===typeof a){var c=u();if(c){var e=c.hints,d="C|"+(null==b?"null":b)+"|"+a;e.has(d)||(e.add(d),"string"===typeof b?v(c,"C",[a,b]):v(c,"C",a))}}}
|
||||
function ra(a,b,c){if("string"===typeof a){var e=u();if(e){var d=e.hints,g="L";if("image"===b&&c){var f=c.imageSrcSet,k=c.imageSizes,h="";"string"===typeof f&&""!==f?(h+="["+f+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;g+="[image]"+h}else g+="["+b+"]"+a;d.has(g)||(d.add(g),(c=w(c))?v(e,"L",[a,b,c]):v(e,"L",[a,b]))}}}function sa(a,b){if("string"===typeof a){var c=u();if(c){var e=c.hints,d="m|"+a;if(!e.has(d))return e.add(d),(b=w(b))?v(c,"m",[a,b]):v(c,"m",a)}}}
|
||||
function ta(a,b,c){if("string"===typeof a){var e=u();if(e){var d=e.hints,g="S|"+a;if(!d.has(g))return d.add(g),(c=w(c))?v(e,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?v(e,"S",[a,b]):v(e,"S",a)}}}function ua(a,b){if("string"===typeof a){var c=u();if(c){var e=c.hints,d="X|"+a;if(!e.has(d))return e.add(d),(b=w(b))?v(c,"X",[a,b]):v(c,"X",a)}}}function va(a,b){if("string"===typeof a){var c=u();if(c){var e=c.hints,d="M|"+a;if(!e.has(d))return e.add(d),(b=w(b))?v(c,"M",[a,b]):v(c,"M",a)}}}
|
||||
function w(a){if(null==a)return null;var b=!1,c={},e;for(e in a)null!=a[e]&&(b=!0,c[e]=a[e]);return b?c:null}var xa=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,x="function"===typeof AsyncLocalStorage,ya=x?new AsyncLocalStorage:null;"object"===typeof async_hooks?async_hooks.createHook:function(){return{enable:function(){},disable:function(){}}};"object"===typeof async_hooks?async_hooks.executionAsyncId:null;
|
||||
var z=Symbol.for("react.element"),za=Symbol.for("react.fragment"),Aa=Symbol.for("react.context"),Ba=Symbol.for("react.forward_ref"),Ca=Symbol.for("react.suspense"),Da=Symbol.for("react.suspense_list"),Ea=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),Fa=Symbol.for("react.memo_cache_sentinel"),B=Symbol.for("react.postpone"),Ga=Symbol.iterator,Ha=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`");
|
||||
function Ia(){}function Ja(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Ia,Ia),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(e){if("pending"===b.status){var d=b;d.status="fulfilled";d.value=e}},function(e){if("pending"===b.status){var d=b;d.status="rejected";d.reason=e}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Ka=b;throw Ha;}}var Ka=null;
|
||||
function La(){if(null===Ka)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Ka;Ka=null;return a}var C=null,Ma=0,E=null;function Na(){var a=E||[];E=null;return a}
|
||||
var Sa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:F,useTransition:F,readContext:Oa,useContext:Oa,useReducer:F,useRef:F,useState:F,useInsertionEffect:F,useLayoutEffect:F,useImperativeHandle:F,useEffect:F,useId:Pa,useSyncExternalStore:F,useCacheRefresh:function(){return Qa},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Fa;return b},use:Ra};
|
||||
function F(){throw Error("This Hook is not supported in Server Components.");}function Qa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Oa(){throw Error("Cannot read a Client Context from a Server Component.");}function Pa(){if(null===C)throw Error("useId can only be used while React is rendering");var a=C.identifierCount++;return":"+C.identifierPrefix+"S"+a.toString(32)+":"}
|
||||
function Ra(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Ma;Ma+=1;null===E&&(E=[]);return Ja(E,a,b)}a.$$typeof===Aa&&Oa()}if(a.$$typeof===r){if(null!=a.value&&a.value.$$typeof===Aa)throw Error("Cannot read a Client Context from a Server Component.");throw Error("Cannot use() an already resolved Client Reference.");}throw Error("An unsupported type was passed to use(): "+String(a));}function Ta(){return(new AbortController).signal}
|
||||
function Ua(){var a=u();return a?a.cache:new Map}var Va={getCacheSignal:function(){var a=Ua(),b=a.get(Ta);void 0===b&&(b=Ta(),a.set(Ta,b));return b},getCacheForType:function(a){var b=Ua(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},Wa=Array.isArray,Xa=Object.getPrototypeOf;function Ya(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}
|
||||
function Za(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Wa(a))return"[...]";if(null!==a&&a.$$typeof===$a)return"client";a=Ya(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===$a?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}
|
||||
function ab(a){if("string"===typeof a)return a;switch(a){case Ca:return"Suspense";case Da:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Ba:return ab(a.render);case Ea:return ab(a.type);case A:var b=a._payload;a=a._init;try{return ab(a(b))}catch(c){}}return""}var $a=Symbol.for("react.client.reference");
|
||||
function G(a,b){var c=Ya(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var e=0;if(Wa(a)){var d="[";for(var g=0;g<a.length;g++){0<g&&(d+=", ");var f=a[g];f="object"===typeof f&&null!==f?G(f):Za(f);""+g===b?(c=d.length,e=f.length,d+=f):d=10>f.length&&40>d.length+f.length?d+f:d+"..."}d+="]"}else if(a.$$typeof===z)d="<"+ab(a.type)+"/>";else{if(a.$$typeof===$a)return"client";d="{";g=Object.keys(a);for(f=0;f<g.length;f++){0<f&&(d+=", ");var k=g[f],h=JSON.stringify(k);d+=('"'+k+'"'===h?k:h)+": ";h=a[k];
|
||||
h="object"===typeof h&&null!==h?G(h):Za(h);k===b?(c=d.length,e=h.length,d+=h):d=10>h.length&&40>d.length+h.length?d+h:d+"..."}d+="}"}return void 0===b?d:-1<c&&0<e?(a=" ".repeat(c)+"^".repeat(e),"\n "+d+"\n "+a):"\n "+d}var bb=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,H=aa.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
||||
if(!H)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var cb=Object.prototype,I=JSON.stringify,db=H.TaintRegistryObjects,J=H.TaintRegistryValues,eb=H.TaintRegistryByteLengths,fb=H.TaintRegistryPendingRequests,gb=H.ReactCurrentCache,hb=bb.ReactCurrentDispatcher;function K(a){throw Error(a);}
|
||||
function ib(a){a=a.taintCleanupQueue;fb.delete(a);for(var b=0;b<a.length;b++){var c=a[b],e=J.get(c);void 0!==e&&(1===e.count?J.delete(c):e.count--)}a.length=0}function jb(a){console.error(a)}function kb(){}
|
||||
function lb(a,b,c,e,d){if(null!==gb.current&&gb.current!==Va)throw Error("Currently React only supports one RSC renderer at a time.");xa.current=wa;gb.current=Va;var g=new Set,f=[],k=[];fb.add(k);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:g,pingedTasks:f,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,
|
||||
writtenServerReferences:new Map,writtenObjects:new WeakMap,identifierPrefix:e||"",identifierCount:1,taintCleanupQueue:k,onError:void 0===c?jb:c,onPostpone:void 0===d?kb:d};a=mb(b,a,null,!1,g);f.push(a);return b}var L=null;function u(){if(L)return L;if(x){var a=ya.getStore();if(a)return a}return null}
|
||||
function nb(a,b,c){var e=mb(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return e.model=c.value,ob(a,e),e.id;case "rejected":return b=c.reason,"object"===typeof b&&null!==b&&b.$$typeof===B?(M(a,b.message),N(a,e.id)):(b=O(a,b),P(a,e.id,b)),e.id;default:"string"!==typeof c.status&&(c.status="pending",c.then(function(d){"pending"===c.status&&(c.status="fulfilled",c.value=d)},function(d){"pending"===c.status&&(c.status="rejected",c.reason=d)}))}c.then(function(d){e.model=
|
||||
d;ob(a,e)},function(d){"object"===typeof d&&null!==d&&d.$$typeof===B?(M(a,d.message),N(a,e.id)):(e.status=4,d=O(a,d),P(a,e.id,d));a.abortableTasks.delete(e);null!==a.destination&&Q(a,a.destination)});return e.id}function v(a,b,c){c=I(c);var e=a.nextChunkId++;b="H"+b;b=e.toString(16)+":"+b;c=q.encode(b+c+"\n");a.completedHintChunks.push(c);pb(a)}function qb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}
|
||||
function rb(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:A,_payload:a,_init:qb}}
|
||||
function sb(a,b,c,e,d){var g=b.thenableState;b.thenableState=null;Ma=0;E=g;e=e(d,void 0);if("object"===typeof e&&null!==e&&"function"===typeof e.then){d=e;if("fulfilled"===d.status)return d.value;e=rb(e)}d=b.keyPath;g=b.implicitSlot;null!==c?b.keyPath=null===d?c:d+","+c:null===d&&(b.implicitSlot=!0);a=R(a,b,tb,"",e);b.keyPath=d;b.implicitSlot=g;return a}function ub(a,b,c){return null!==b.keyPath?(a=[z,za,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}
|
||||
function vb(a,b,c,e){var d=a.keyPath;null===c?c=d:null!==d&&(c=d+","+c);b=[z,b,c,e];return a.implicitSlot&&null!==c?[b]:b}
|
||||
function wb(a,b,c,e,d,g){if(null!==d&&void 0!==d)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===r?vb(b,c,e,g):sb(a,b,e,c,g);if("string"===typeof c)return vb(b,c,e,g);if("symbol"===typeof c)return c===za&&null===e?(e=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=R(a,b,tb,"",g.children),b.implicitSlot=e,a):vb(b,c,e,g);if(null!=c&&"object"===typeof c){if(c.$$typeof===r)return vb(b,c,e,g);switch(c.$$typeof){case A:var f=
|
||||
c._init;c=f(c._payload);return wb(a,b,c,e,d,g);case Ba:return sb(a,b,e,c.render,g);case Ea:return wb(a,b,c.type,e,d,g)}}throw Error("Unsupported Server Component type: "+Za(c));}function ob(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,setTimeout(function(){return xb(a)},0))}
|
||||
function mb(a,b,c,e,d){a.pendingChunks++;var g=a.nextChunkId++;"object"!==typeof b||null===b||null!==c||e||a.writtenObjects.set(b,g);var f={id:g,status:0,model:b,keyPath:c,implicitSlot:e,ping:function(){return ob(a,f)},toJSON:function(k,h){a:{var l=f.keyPath,y=f.implicitSlot;try{var m=R(a,f,this,k,h)}catch(ka){k=ka===Ha?La():ka;h=f.model;h="object"===typeof h&&null!==h&&(h.$$typeof===z||h.$$typeof===A);if("object"===typeof k&&null!==k){if("function"===typeof k.then){m=mb(a,f.model,f.keyPath,f.implicitSlot,
|
||||
a.abortableTasks);var D=m.ping;k.then(D,D);m.thenableState=Na();f.keyPath=l;f.implicitSlot=y;m=h?"$L"+m.id.toString(16):S(m.id);break a}if(k.$$typeof===B){a.pendingChunks++;m=a.nextChunkId++;M(a,k.message);N(a,m);f.keyPath=l;f.implicitSlot=y;m=h?"$L"+m.toString(16):S(m);break a}}f.keyPath=l;f.implicitSlot=y;if(h)a.pendingChunks++,l=a.nextChunkId++,y=O(a,k),P(a,l,y),m="$L"+l.toString(16);else throw k;}}return m},thenableState:null};d.add(f);return f}function S(a){return"$"+a.toString(16)}
|
||||
function yb(a,b,c){a=I(c);b=b.toString(16)+":"+a+"\n";return q.encode(b)}
|
||||
function zb(a,b,c,e){var d=e.$$async?e.$$id+"#async":e.$$id,g=a.writtenClientReferences,f=g.get(d);if(void 0!==f)return b[0]===z&&"1"===c?"$L"+f.toString(16):S(f);try{var k=a.bundlerConfig,h=e.$$id;f="";var l=k[h];if(l)f=l.name;else{var y=h.lastIndexOf("#");-1!==y&&(f=h.slice(y+1),l=k[h.slice(0,y)]);if(!l)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var m=!0===e.$$async?[l.id,l.chunks,f,1]:[l.id,l.chunks,
|
||||
f];a.pendingChunks++;var D=a.nextChunkId++,ka=I(m),Rb=D.toString(16)+":I"+ka+"\n",Sb=q.encode(Rb);a.completedImportChunks.push(Sb);g.set(d,D);return b[0]===z&&"1"===c?"$L"+D.toString(16):S(D)}catch(Tb){return a.pendingChunks++,b=a.nextChunkId++,c=O(a,Tb),P(a,b,c),S(b)}}function T(a,b){b=mb(a,b,null,!1,a.abortableTasks);Ab(a,b);return b.id}
|
||||
function U(a,b,c){if(eb.has(c.byteLength)){var e=J.get(String.fromCharCode.apply(String,new Uint8Array(c.buffer,c.byteOffset,c.byteLength)));void 0!==e&&K(e.message)}a.pendingChunks+=2;e=a.nextChunkId++;var d=new Uint8Array(c.buffer,c.byteOffset,c.byteLength);c=2048<c.byteLength?d.slice():d;d=c.byteLength;b=e.toString(16)+":"+b+d.toString(16)+",";b=q.encode(b);a.completedRegularChunks.push(b,c);return S(e)}var V=!1;
|
||||
function R(a,b,c,e,d){b.model=d;if(d===z)return"$";if(null===d)return null;if("object"===typeof d){switch(d.$$typeof){case z:c=a.writtenObjects;e=c.get(d);if(void 0!==e){if(null===b.keyPath&&!b.implicitSlot)if(V===d)V=null;else return-1===e?(a=T(a,d),S(a)):S(e)}else c.set(d,-1);c=d.props;e=c.ref;return wb(a,b,d.type,d.key,void 0!==e?e:null,c);case A:return b.thenableState=null,c=d._init,d=c(d._payload),R(a,b,tb,"",d)}if(d.$$typeof===r)return zb(a,c,e,d);c=db.get(d);void 0!==c&&K(c);c=a.writtenObjects;
|
||||
e=c.get(d);if("function"===typeof d.then){if(void 0!==e){if(null!==b.keyPath||b.implicitSlot)return"$@"+nb(a,b,d).toString(16);if(V===d)V=null;else return"$@"+e.toString(16)}a=nb(a,b,d);c.set(d,a);return"$@"+a.toString(16)}if(void 0!==e)if(V===d)V=null;else return-1===e?(a=T(a,d),S(a)):S(e);else c.set(d,-1);if(Wa(d))return ub(a,b,d);if(d instanceof Map){d=Array.from(d);for(b=0;b<d.length;b++)c=d[b][0],"object"===typeof c&&null!==c&&(e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$Q"+T(a,
|
||||
d).toString(16)}if(d instanceof Set){d=Array.from(d);for(b=0;b<d.length;b++)c=d[b],"object"===typeof c&&null!==c&&(e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$W"+T(a,d).toString(16)}if(d instanceof ArrayBuffer)return U(a,"A",new Uint8Array(d));if(d instanceof Int8Array)return U(a,"C",d);if(d instanceof Uint8Array)return U(a,"c",d);if(d instanceof Uint8ClampedArray)return U(a,"U",d);if(d instanceof Int16Array)return U(a,"S",d);if(d instanceof Uint16Array)return U(a,"s",d);if(d instanceof
|
||||
Int32Array)return U(a,"L",d);if(d instanceof Uint32Array)return U(a,"l",d);if(d instanceof Float32Array)return U(a,"F",d);if(d instanceof Float64Array)return U(a,"d",d);if(d instanceof BigInt64Array)return U(a,"N",d);if(d instanceof BigUint64Array)return U(a,"m",d);if(d instanceof DataView)return U(a,"V",d);null===d||"object"!==typeof d?c=null:(c=Ga&&d[Ga]||d["@@iterator"],c="function"===typeof c?c:null);if(c)return ub(a,b,Array.from(d));a=Xa(d);if(a!==cb&&(null===a||null!==Xa(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 d}if("string"===typeof d){b=J.get(d);void 0!==b&&K(b.message);if("Z"===d[d.length-1]&&c[e]instanceof Date)return"$D"+d;if(1024<=d.length)return a.pendingChunks+=2,b=a.nextChunkId++,d=q.encode(d),c=d.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",c=q.encode(c),a.completedRegularChunks.push(c,d),S(b);a="$"===d[0]?"$"+d:d;return a}if("boolean"===typeof d)return d;if("number"===typeof d)return Number.isFinite(d)?0===d&&-Infinity===1/d?"$-0":d:Infinity===d?"$Infinity":-Infinity===d?"$-Infinity":
|
||||
"$NaN";if("undefined"===typeof d)return"$undefined";if("function"===typeof d){if(d.$$typeof===r)return zb(a,c,e,d);if(d.$$typeof===ea)return b=a.writtenServerReferences,c=b.get(d),void 0!==c?a="$h"+c.toString(16):(c=d.$$bound,c={id:d.$$id,bound:c?Promise.resolve(c):null},a=T(a,c),b.set(d,a),a="$h"+a.toString(16)),a;a=db.get(d);void 0!==a&&K(a);if(/^on[A-Z]/.test(e))throw Error("Event handlers cannot be passed to Client Component props."+G(c,e)+"\nIf you need interactivity, consider converting part of this to a Client Component.");
|
||||
throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.'+G(c,e));}if("symbol"===typeof d){b=a.writtenSymbols;var g=b.get(d);if(void 0!==g)return S(g);g=d.description;if(Symbol.for(g)!==d)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(d.description+") cannot be found among global symbols.")+
|
||||
G(c,e));a.pendingChunks++;c=a.nextChunkId++;e=yb(a,c,"$S"+g);a.completedImportChunks.push(e);b.set(d,c);return S(c)}if("bigint"===typeof d)return a=J.get(d),void 0!==a&&K(a.message),"$n"+d.toString(10);throw Error("Type "+typeof d+" is not supported in Client Component props."+G(c,e));}function M(a,b){var c=L;L=null;try{var e=a.onPostpone;x?ya.run(void 0,e,b):e(b)}finally{L=c}}
|
||||
function O(a,b){var c=L;L=null;try{var e=a.onError;var d=x?ya.run(void 0,e,b):e(b)}finally{L=c}if(null!=d&&"string"!==typeof d)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d||""}function Bb(a,b){ib(a);null!==a.destination?(a.status=2,da(a.destination,b)):(a.status=1,a.fatalError=b)}
|
||||
function N(a,b){b=b.toString(16)+":P\n";b=q.encode(b);a.completedErrorChunks.push(b)}function P(a,b,c){c={digest:c};b=b.toString(16)+":E"+I(c)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)}var tb={};
|
||||
function Ab(a,b){if(0===b.status)try{V=b.model;var c=R(a,b,tb,"",b.model);V=c;b.keyPath=null;b.implicitSlot=!1;var e="object"===typeof c&&null!==c?I(c,b.toJSON):I(c),d=b.id.toString(16)+":"+e+"\n",g=q.encode(d);a.completedRegularChunks.push(g);a.abortableTasks.delete(b);b.status=1}catch(l){var f=l===Ha?La():l;if("object"===typeof f&&null!==f){if("function"===typeof f.then){var k=b.ping;f.then(k,k);b.thenableState=Na();return}if(f.$$typeof===B){a.abortableTasks.delete(b);b.status=4;M(a,f.message);
|
||||
N(a,b.id);return}}a.abortableTasks.delete(b);b.status=4;var h=O(a,f);P(a,b.id,h)}finally{}}function xb(a){var b=hb.current;hb.current=Sa;var c=L;C=L=a;try{var e=a.pingedTasks;a.pingedTasks=[];for(var d=0;d<e.length;d++)Ab(a,e[d]);null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),Bb(a,g)}finally{hb.current=b,C=null,L=c}}
|
||||
function Q(a,b){n=new Uint8Array(2048);p=0;try{for(var c=a.completedImportChunks,e=0;e<c.length;e++)a.pendingChunks--,ca(b,c[e]);c.splice(0,e);var d=a.completedHintChunks;for(e=0;e<d.length;e++)ca(b,d[e]);d.splice(0,e);var g=a.completedRegularChunks;for(e=0;e<g.length;e++)a.pendingChunks--,ca(b,g[e]);g.splice(0,e);var f=a.completedErrorChunks;for(e=0;e<f.length;e++)a.pendingChunks--,ca(b,f[e]);f.splice(0,e)}finally{a.flushScheduled=!1,n&&0<p&&(b.enqueue(new Uint8Array(n.buffer,0,p)),n=null,p=0)}0===
|
||||
a.pendingChunks&&(ib(a),b.close())}function Cb(a){a.flushScheduled=null!==a.destination;x?setTimeout(function(){return ya.run(a,xb,a)},0):setTimeout(function(){return xb(a)},0)}function pb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setTimeout(function(){return Q(a,b)},0)}}
|
||||
function Db(a,b){try{var c=a.abortableTasks;if(0<c.size){a.pendingChunks++;var e=a.nextChunkId++;if("object"===typeof b&&null!==b&&b.$$typeof===B)M(a,b.message),N(a,e,b);else{var d=void 0===b?Error("The render was aborted by the server without a reason."):b,g=O(a,d);P(a,e,g,d)}c.forEach(function(f){f.status=3;var k=S(e);f=yb(a,f.id,k);a.completedErrorChunks.push(f)});c.clear()}null!==a.destination&&Q(a,a.destination)}catch(f){O(a,f),Bb(a,f)}}var Eb=Object.prototype.hasOwnProperty;
|
||||
function Fb(a,b){var c="",e=a[b];if(e)c=e.name;else{var d=b.lastIndexOf("#");-1!==d&&(c=b.slice(d+1),e=a[b.slice(0,d)]);if(!e)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[e.id,e.chunks,c]}var Gb=new Map;
|
||||
function Hb(a){var b=globalThis.__next_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 Ib(){}
|
||||
function Jb(a){for(var b=a[1],c=[],e=0;e<b.length;e++){var d=b[e],g=Gb.get(d);if(void 0===g){g=globalThis.__next_chunk_load__(d);c.push(g);var f=Gb.set.bind(Gb,d,null);g.then(f,Ib);Gb.set(d,g)}else null!==g&&c.push(g)}return 4===a.length?0===c.length?Hb(a[0]):Promise.all(c).then(function(){return Hb(a[0])}):0<c.length?Promise.all(c):null}
|
||||
function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;if("*"===a[2])return b;if(""===a[2])return b.__esModule?b.default:b;if(Eb.call(b,a[2]))return b[a[2]]}function X(a,b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}X.prototype=Object.create(Promise.prototype);
|
||||
X.prototype.then=function(a,b){switch(this.status){case "resolved_model":Kb(this)}switch(this.status){case "fulfilled":if("function"===typeof a){for(var c=this.value,e=0;c instanceof X;){e++;if(c===this||1E3<e){"function"===typeof b&&b(Error("Cannot have cyclic thenables."));return}if("fulfilled"===c.status)c=c.value;else break}a(this.value)}break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));
|
||||
break;default:b(this.reason)}};function Lb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Mb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Lb(c,b)}}function Nb(a,b,c,e,d,g){var f=Fb(a._bundlerConfig,b);a=Jb(f);if(c)c=Promise.all([c,a]).then(function(k){k=k[0];var h=W(f);return h.bind.apply(h,[null].concat(k))});else if(a)c=Promise.resolve(a).then(function(){return W(f)});else return W(f);c.then(Ob(e,d,g),Pb(e));return null}
|
||||
var Y=null,Z=null;function Kb(a){var b=Y,c=Z;Y=a;Z=null;try{var e=JSON.parse(a.value,a._response._fromJSON);null!==Z&&0<Z.deps?(Z.value=e,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=e)}catch(d){a.status="rejected",a.reason=d}finally{Y=b,Z=c}}function Qb(a,b){a._closed=!0;a._closedReason=b;a._chunks.forEach(function(c){"pending"===c.status&&Mb(c,b)})}
|
||||
function Ub(a,b){var c=a._chunks,e=c.get(b);e||(e=a._formData.get(a._prefix+b),e=null!=e?new X("resolved_model",e,null,a):a._closed?new X("rejected",null,a._closedReason,a):new X("pending",null,null,a),c.set(b,e));return e}function Ob(a,b,c){if(Z){var e=Z;e.deps++}else e=Z={deps:1,value:null};return function(d){b[c]=d;e.deps--;0===e.deps&&"blocked"===a.status&&(d=a.value,a.status="fulfilled",a.value=e.value,null!==d&&Lb(d,e.value))}}function Pb(a){return function(b){return Mb(a,b)}}
|
||||
function Vb(a,b){a=Ub(a,b);"resolved_model"===a.status&&Kb(a);if("fulfilled"!==a.status)throw a.reason;return a.value}
|
||||
function Wb(a,b,c,e){if("$"===e[0])switch(e[1]){case "$":return e.slice(1);case "@":return b=parseInt(e.slice(2),16),Ub(a,b);case "S":return Symbol.for(e.slice(2));case "h":return e=parseInt(e.slice(2),16),e=Vb(a,e),Nb(a,e.id,e.bound,Y,b,c);case "Q":return b=parseInt(e.slice(2),16),a=Vb(a,b),new Map(a);case "W":return b=parseInt(e.slice(2),16),a=Vb(a,b),new Set(a);case "K":b=e.slice(2);var d=a._prefix+b+"_",g=new FormData;a._formData.forEach(function(f,k){k.startsWith(d)&&g.append(k.slice(d.length),
|
||||
f)});return g;case "I":return Infinity;case "-":return"$-0"===e?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(e.slice(2)));case "n":return BigInt(e.slice(2));default:e=parseInt(e.slice(1),16);a=Ub(a,e);switch(a.status){case "resolved_model":Kb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return e=Y,a.then(Ob(e,b,c),Pb(e)),null;default:throw a.reason;}}return e}
|
||||
function Xb(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,e=new Map,d={_bundlerConfig:a,_prefix:b,_formData:c,_chunks:e,_fromJSON:function(g,f){return"string"===typeof f?Wb(d,this,g,f):f},_closed:!1,_closedReason:null};return d}function Yb(a){Qb(a,Error("Connection closed."))}
|
||||
function Zb(a,b,c){var e=Fb(a,b);a=Jb(e);return c?Promise.all([c,a]).then(function(d){d=d[0];var g=W(e);return g.bind.apply(g,[null].concat(d))}):a?Promise.resolve(a).then(function(){return W(e)}):Promise.resolve(W(e))}function $b(a,b,c){a=Xb(b,c,a);Yb(a);a=Ub(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=t({},a,!1);return new Proxy(a,oa)};
|
||||
exports.decodeAction=function(a,b){var c=new FormData,e=null;a.forEach(function(d,g){g.startsWith("$ACTION_")?g.startsWith("$ACTION_REF_")?(d="$ACTION_"+g.slice(12)+":",d=$b(a,b,d),e=Zb(b,d.id,d.bound)):g.startsWith("$ACTION_ID_")&&(d=g.slice(11),e=Zb(b,d,null)):c.append(g,d)});return null===e?null:e.then(function(d){return d.bind(null,c)})};exports.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Xb(b,"",a);b=Ub(a,0);Yb(a);return b};
|
||||
exports.registerClientReference=function(a,b,c){return t(a,b+"#"+c,!1)};exports.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:ea},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:ia,configurable:!0},toString:ja})};
|
||||
exports.renderToReadableStream=function(a,b,c){var e=lb(a,b,c?c.onError:void 0,c?c.identifierPrefix:void 0,c?c.onPostpone:void 0);if(c&&c.signal){var d=c.signal;if(d.aborted)Db(e,d.reason);else{var g=function(){Db(e,d.reason);d.removeEventListener("abort",g)};d.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(){Cb(e)},pull:function(f){if(1===e.status)e.status=2,da(f,e.fatalError);else if(2!==e.status&&null===e.destination){e.destination=f;try{Q(e,f)}catch(k){O(e,
|
||||
k),Bb(e,k)}}},cancel:function(){}},{highWaterMark:0})};
|
||||
|
||||
//# sourceMappingURL=react-server-dom-turbopack-server.edge.production.min.js.map
|
||||
Generated
Vendored
+4445
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+3660
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+88
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
React
|
||||
react-server-dom-turbopack-server.node.production.min.js
|
||||
|
||||
Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
|
||||
This source code is licensed under the MIT license found in the
|
||||
LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,n=0,q=!0;function r(a,b){a=a.write(b);q=q&&a}
|
||||
function ea(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<n&&(r(a,l.subarray(0,n)),l=new Uint8Array(2048),n=0),r(a,fa.encode(b));else{var c=l;0<n&&(c=l.subarray(n));c=fa.encodeInto(b,c);var d=c.read;n+=c.written;d<b.length&&(r(a,l.subarray(0,n)),l=new Uint8Array(2048),n=fa.encodeInto(b.slice(d),l).written);2048===n&&(r(a,l),l=new Uint8Array(2048),n=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<n&&(r(a,l.subarray(0,n)),l=new Uint8Array(2048),n=0),r(a,b)):(c=l.length-n,c<b.byteLength&&
|
||||
(0===c?r(a,l):(l.set(b.subarray(0,c),n),n+=c,r(a,l),b=b.subarray(c)),l=new Uint8Array(2048),n=0),l.set(b,n),n+=b.byteLength,2048===n&&(r(a,l),l=new Uint8Array(2048),n=0)));return q}var fa=new aa.TextEncoder,t=Symbol.for("react.client.reference"),ha=Symbol.for("react.server.reference");function v(a,b,c){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:c}})}var ia=Function.prototype.bind,ja=Array.prototype.slice;
|
||||
function la(){var a=ia.apply(this,arguments);if(this.$$typeof===ha){var b=ja.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:ha},$$id:{value:this.$$id},$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:la}})}return a}
|
||||
var ma={value:function(){return"function () { [omitted code] }"},configurable:!0,writable:!0},na=Promise.prototype,oa={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");
|
||||
}throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}};
|
||||
function pa(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "__esModule":var c=a.$$id;a.default=v(function(){throw Error("Attempted to call the default export of "+c+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");
|
||||
},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var d=v({},a.$$id,!0),e=new Proxy(d,qa);a.status="fulfilled";a.value=e;return a.then=v(function(f){return Promise.resolve(f(e))},a.$$id+"#then",!1)}if("symbol"===typeof b)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");d=a[b];d||(d=v(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");
|
||||
},a.$$id+"#"+b,a.$$async),Object.defineProperty(d,"name",{value:b}),d=a[b]=new Proxy(d,oa));return d}
|
||||
var qa={get:function(a,b){return pa(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:pa(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(){return na},set:function(){throw Error("Cannot assign to a client module from a server module.");}},ya={prefetchDNS:ra,preconnect:sa,preload:ta,preloadModule:ua,preinitStyle:va,preinitScript:wa,preinitModuleScript:xa};
|
||||
function ra(a){if("string"===typeof a&&a){var b=w();if(b){var c=b.hints,d="D|"+a;c.has(d)||(c.add(d),x(b,"D",a))}}}function sa(a,b){if("string"===typeof a){var c=w();if(c){var d=c.hints,e="C|"+(null==b?"null":b)+"|"+a;d.has(e)||(d.add(e),"string"===typeof b?x(c,"C",[a,b]):x(c,"C",a))}}}
|
||||
function ta(a,b,c){if("string"===typeof a){var d=w();if(d){var e=d.hints,f="L";if("image"===b&&c){var g=c.imageSrcSet,k=c.imageSizes,h="";"string"===typeof g&&""!==g?(h+="["+g+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;f+="[image]"+h}else f+="["+b+"]"+a;e.has(f)||(e.add(f),(c=y(c))?x(d,"L",[a,b,c]):x(d,"L",[a,b]))}}}function ua(a,b){if("string"===typeof a){var c=w();if(c){var d=c.hints,e="m|"+a;if(!d.has(e))return d.add(e),(b=y(b))?x(c,"m",[a,b]):x(c,"m",a)}}}
|
||||
function va(a,b,c){if("string"===typeof a){var d=w();if(d){var e=d.hints,f="S|"+a;if(!e.has(f))return e.add(f),(c=y(c))?x(d,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?x(d,"S",[a,b]):x(d,"S",a)}}}function wa(a,b){if("string"===typeof a){var c=w();if(c){var d=c.hints,e="X|"+a;if(!d.has(e))return d.add(e),(b=y(b))?x(c,"X",[a,b]):x(c,"X",a)}}}function xa(a,b){if("string"===typeof a){var c=w();if(c){var d=c.hints,e="M|"+a;if(!d.has(e))return d.add(e),(b=y(b))?x(c,"M",[a,b]):x(c,"M",a)}}}
|
||||
function y(a){if(null==a)return null;var b=!1,c={},d;for(d in a)null!=a[d]&&(b=!0,c[d]=a[d]);return b?c:null}
|
||||
var za=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,Aa=new ba.AsyncLocalStorage,A=Symbol.for("react.element"),Ba=Symbol.for("react.fragment"),Ca=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),Ea=Symbol.for("react.suspense"),Fa=Symbol.for("react.suspense_list"),Ga=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),Ha=Symbol.for("react.memo_cache_sentinel"),C=Symbol.for("react.postpone"),Ia=Symbol.iterator,Ja=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`");
|
||||
function Ka(){}function La(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Ka,Ka),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;}Ma=b;throw Ja;}}var Ma=null;
|
||||
function Na(){if(null===Ma)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Ma;Ma=null;return a}var D=null,Oa=0,E=null;function Pa(){var a=E||[];E=null;return a}
|
||||
var Ua={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:F,useTransition:F,readContext:Qa,useContext:Qa,useReducer:F,useRef:F,useState:F,useInsertionEffect:F,useLayoutEffect:F,useImperativeHandle:F,useEffect:F,useId:Ra,useSyncExternalStore:F,useCacheRefresh:function(){return Sa},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Ha;return b},use:Ta};
|
||||
function F(){throw Error("This Hook is not supported in Server Components.");}function Sa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Qa(){throw Error("Cannot read a Client Context from a Server Component.");}function Ra(){if(null===D)throw Error("useId can only be used while React is rendering");var a=D.identifierCount++;return":"+D.identifierPrefix+"S"+a.toString(32)+":"}
|
||||
function Ta(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Oa;Oa+=1;null===E&&(E=[]);return La(E,a,b)}a.$$typeof===Ca&&Qa()}if(a.$$typeof===t){if(null!=a.value&&a.value.$$typeof===Ca)throw Error("Cannot read a Client Context from a Server Component.");throw Error("Cannot use() an already resolved Client Reference.");}throw Error("An unsupported type was passed to use(): "+String(a));}function Va(){return(new AbortController).signal}
|
||||
function Wa(){var a=w();return a?a.cache:new Map}var Xa={getCacheSignal:function(){var a=Wa(),b=a.get(Va);void 0===b&&(b=Va(),a.set(Va,b));return b},getCacheForType:function(a){var b=Wa(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},Ya=Array.isArray,Za=Object.getPrototypeOf;function $a(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}
|
||||
function ab(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Ya(a))return"[...]";if(null!==a&&a.$$typeof===bb)return"client";a=$a(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===bb?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}
|
||||
function cb(a){if("string"===typeof a)return a;switch(a){case Ea:return"Suspense";case Fa:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Da:return cb(a.render);case Ga:return cb(a.type);case B:var b=a._payload;a=a._init;try{return cb(a(b))}catch(c){}}return""}var bb=Symbol.for("react.client.reference");
|
||||
function G(a,b){var c=$a(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Ya(a)){var e="[";for(var f=0;f<a.length;f++){0<f&&(e+=", ");var g=a[f];g="object"===typeof g&&null!==g?G(g):ab(g);""+f===b?(c=e.length,d=g.length,e+=g):e=10>g.length&&40>e.length+g.length?e+g:e+"..."}e+="]"}else if(a.$$typeof===A)e="<"+cb(a.type)+"/>";else{if(a.$$typeof===bb)return"client";e="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(e+=", ");var k=f[g],h=JSON.stringify(k);e+=('"'+k+'"'===h?k:h)+": ";h=a[k];
|
||||
h="object"===typeof h&&null!==h?G(h):ab(h);k===b?(c=e.length,d=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="}"}return void 0===b?e:-1<c&&0<d?(a=" ".repeat(c)+"^".repeat(d),"\n "+e+"\n "+a):"\n "+e}var db=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,H=ca.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
||||
if(!H)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var eb=Object.prototype,I=JSON.stringify,fb=H.TaintRegistryObjects,J=H.TaintRegistryValues,gb=H.TaintRegistryByteLengths,hb=H.TaintRegistryPendingRequests,ib=H.ReactCurrentCache,jb=db.ReactCurrentDispatcher;function K(a){throw Error(a);}
|
||||
function kb(a){a=a.taintCleanupQueue;hb.delete(a);for(var b=0;b<a.length;b++){var c=a[b],d=J.get(c);void 0!==d&&(1===d.count?J.delete(c):d.count--)}a.length=0}function lb(a){console.error(a)}function mb(){}
|
||||
function nb(a,b,c,d,e){if(null!==ib.current&&ib.current!==Xa)throw Error("Currently React only supports one RSC renderer at a time.");za.current=ya;ib.current=Xa;var f=new Set,g=[],k=[];hb.add(k);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:k,onError:void 0===c?lb:c,onPostpone:void 0===e?mb:e};a=ob(b,a,null,!1,f);g.push(a);return b}var L=null;function w(){if(L)return L;var a=Aa.getStore();return a?a:null}
|
||||
function pb(a,b,c){var d=ob(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return d.model=c.value,qb(a,d),d.id;case "rejected":return b=c.reason,"object"===typeof b&&null!==b&&b.$$typeof===C?(M(a,b.message),N(a,d.id)):(b=O(a,b),P(a,d.id,b)),d.id;default:"string"!==typeof c.status&&(c.status="pending",c.then(function(e){"pending"===c.status&&(c.status="fulfilled",c.value=e)},function(e){"pending"===c.status&&(c.status="rejected",c.reason=e)}))}c.then(function(e){d.model=
|
||||
e;qb(a,d)},function(e){"object"===typeof e&&null!==e&&e.$$typeof===C?(M(a,e.message),N(a,d.id)):(d.status=4,e=O(a,e),P(a,d.id,e));a.abortableTasks.delete(d);null!==a.destination&&Q(a,a.destination)});return d.id}function x(a,b,c){c=I(c);var d=a.nextChunkId++;b="H"+b;b=d.toString(16)+":"+b;a.completedHintChunks.push(b+c+"\n");rb(a)}function sb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}
|
||||
function tb(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:B,_payload:a,_init:sb}}
|
||||
function ub(a,b,c,d,e){var f=b.thenableState;b.thenableState=null;Oa=0;E=f;d=d(e,void 0);if("object"===typeof d&&null!==d&&"function"===typeof d.then){e=d;if("fulfilled"===e.status)return e.value;d=tb(d)}e=b.keyPath;f=b.implicitSlot;null!==c?b.keyPath=null===e?c:e+","+c:null===e&&(b.implicitSlot=!0);a=R(a,b,vb,"",d);b.keyPath=e;b.implicitSlot=f;return a}function wb(a,b,c){return null!==b.keyPath?(a=[A,Ba,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}
|
||||
function xb(a,b,c,d){var e=a.keyPath;null===c?c=e:null!==e&&(c=e+","+c);b=[A,b,c,d];return a.implicitSlot&&null!==c?[b]:b}
|
||||
function yb(a,b,c,d,e,f){if(null!==e&&void 0!==e)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===t?xb(b,c,d,f):ub(a,b,d,c,f);if("string"===typeof c)return xb(b,c,d,f);if("symbol"===typeof c)return c===Ba&&null===d?(d=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=R(a,b,vb,"",f.children),b.implicitSlot=d,a):xb(b,c,d,f);if(null!=c&&"object"===typeof c){if(c.$$typeof===t)return xb(b,c,d,f);switch(c.$$typeof){case B:var g=
|
||||
c._init;c=g(c._payload);return yb(a,b,c,d,e,f);case Da:return ub(a,b,d,c.render,f);case Ga:return yb(a,b,c.type,d,e,f)}}throw Error("Unsupported Server Component type: "+ab(c));}function qb(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return zb(a)}))}
|
||||
function ob(a,b,c,d,e){a.pendingChunks++;var f=a.nextChunkId++;"object"!==typeof b||null===b||null!==c||d||a.writtenObjects.set(b,f);var g={id:f,status:0,model:b,keyPath:c,implicitSlot:d,ping:function(){return qb(a,g)},toJSON:function(k,h){a:{var p=g.keyPath,u=g.implicitSlot;try{var m=R(a,g,this,k,h)}catch(ka){k=ka===Ja?Na():ka;h=g.model;h="object"===typeof h&&null!==h&&(h.$$typeof===A||h.$$typeof===B);if("object"===typeof k&&null!==k){if("function"===typeof k.then){m=ob(a,g.model,g.keyPath,g.implicitSlot,
|
||||
a.abortableTasks);var z=m.ping;k.then(z,z);m.thenableState=Pa();g.keyPath=p;g.implicitSlot=u;m=h?"$L"+m.id.toString(16):S(m.id);break a}if(k.$$typeof===C){a.pendingChunks++;m=a.nextChunkId++;M(a,k.message);N(a,m);g.keyPath=p;g.implicitSlot=u;m=h?"$L"+m.toString(16):S(m);break a}}g.keyPath=p;g.implicitSlot=u;if(h)a.pendingChunks++,p=a.nextChunkId++,u=O(a,k),P(a,p,u),m="$L"+p.toString(16);else throw k;}}return m},thenableState:null};e.add(g);return g}function S(a){return"$"+a.toString(16)}
|
||||
function Ab(a,b,c){a=I(c);return b.toString(16)+":"+a+"\n"}
|
||||
function Bb(a,b,c,d){var e=d.$$async?d.$$id+"#async":d.$$id,f=a.writtenClientReferences,g=f.get(e);if(void 0!==g)return b[0]===A&&"1"===c?"$L"+g.toString(16):S(g);try{var k=a.bundlerConfig,h=d.$$id;g="";var p=k[h];if(p)g=p.name;else{var u=h.lastIndexOf("#");-1!==u&&(g=h.slice(u+1),p=k[h.slice(0,u)]);if(!p)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var m=!0===d.$$async?[p.id,p.chunks,g,1]:[p.id,p.chunks,
|
||||
g];a.pendingChunks++;var z=a.nextChunkId++,ka=I(m),Vb=z.toString(16)+":I"+ka+"\n";a.completedImportChunks.push(Vb);f.set(e,z);return b[0]===A&&"1"===c?"$L"+z.toString(16):S(z)}catch(Wb){return a.pendingChunks++,b=a.nextChunkId++,c=O(a,Wb),P(a,b,c),S(b)}}function T(a,b){b=ob(a,b,null,!1,a.abortableTasks);Cb(a,b);return b.id}
|
||||
function U(a,b,c){if(gb.has(c.byteLength)){var d=J.get(String.fromCharCode.apply(String,new Uint8Array(c.buffer,c.byteOffset,c.byteLength)));void 0!==d&&K(d.message)}a.pendingChunks+=2;d=a.nextChunkId++;c=new Uint8Array(c.buffer,c.byteOffset,c.byteLength);var e=c.byteLength;b=d.toString(16)+":"+b+e.toString(16)+",";a.completedRegularChunks.push(b,c);return S(d)}var V=!1;
|
||||
function R(a,b,c,d,e){b.model=e;if(e===A)return"$";if(null===e)return null;if("object"===typeof e){switch(e.$$typeof){case A:c=a.writtenObjects;d=c.get(e);if(void 0!==d){if(null===b.keyPath&&!b.implicitSlot)if(V===e)V=null;else return-1===d?(a=T(a,e),S(a)):S(d)}else c.set(e,-1);c=e.props;d=c.ref;return yb(a,b,e.type,e.key,void 0!==d?d:null,c);case B:return b.thenableState=null,c=e._init,e=c(e._payload),R(a,b,vb,"",e)}if(e.$$typeof===t)return Bb(a,c,d,e);c=fb.get(e);void 0!==c&&K(c);c=a.writtenObjects;
|
||||
d=c.get(e);if("function"===typeof e.then){if(void 0!==d){if(null!==b.keyPath||b.implicitSlot)return"$@"+pb(a,b,e).toString(16);if(V===e)V=null;else return"$@"+d.toString(16)}a=pb(a,b,e);c.set(e,a);return"$@"+a.toString(16)}if(void 0!==d)if(V===e)V=null;else return-1===d?(a=T(a,e),S(a)):S(d);else c.set(e,-1);if(Ya(e))return wb(a,b,e);if(e instanceof Map){e=Array.from(e);for(b=0;b<e.length;b++)c=e[b][0],"object"===typeof c&&null!==c&&(d=a.writtenObjects,void 0===d.get(c)&&d.set(c,-1));return"$Q"+T(a,
|
||||
e).toString(16)}if(e instanceof Set){e=Array.from(e);for(b=0;b<e.length;b++)c=e[b],"object"===typeof c&&null!==c&&(d=a.writtenObjects,void 0===d.get(c)&&d.set(c,-1));return"$W"+T(a,e).toString(16)}if(e instanceof ArrayBuffer)return U(a,"A",new Uint8Array(e));if(e instanceof Int8Array)return U(a,"C",e);if(e instanceof Uint8Array)return U(a,"c",e);if(e instanceof Uint8ClampedArray)return U(a,"U",e);if(e instanceof Int16Array)return U(a,"S",e);if(e instanceof Uint16Array)return U(a,"s",e);if(e instanceof
|
||||
Int32Array)return U(a,"L",e);if(e instanceof Uint32Array)return U(a,"l",e);if(e instanceof Float32Array)return U(a,"F",e);if(e instanceof Float64Array)return U(a,"d",e);if(e instanceof BigInt64Array)return U(a,"N",e);if(e instanceof BigUint64Array)return U(a,"m",e);if(e instanceof DataView)return U(a,"V",e);null===e||"object"!==typeof e?c=null:(c=Ia&&e[Ia]||e["@@iterator"],c="function"===typeof c?c:null);if(c)return wb(a,b,Array.from(e));a=Za(e);if(a!==eb&&(null===a||null!==Za(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){b=J.get(e);void 0!==b&&K(b.message);if("Z"===e[e.length-1]&&c[d]instanceof Date)return"$D"+e;if(1024<=e.length)return a.pendingChunks+=2,b=a.nextChunkId++,c="string"===typeof e?Buffer.byteLength(e,"utf8"):e.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",a.completedRegularChunks.push(c,e),S(b);a="$"===e[0]?"$"+e:e;return a}if("boolean"===typeof e)return e;if("number"===typeof e)return Number.isFinite(e)?0===e&&-Infinity===1/e?"$-0":e:Infinity===e?"$Infinity":-Infinity===
|
||||
e?"$-Infinity":"$NaN";if("undefined"===typeof e)return"$undefined";if("function"===typeof e){if(e.$$typeof===t)return Bb(a,c,d,e);if(e.$$typeof===ha)return b=a.writtenServerReferences,c=b.get(e),void 0!==c?a="$h"+c.toString(16):(c=e.$$bound,c={id:e.$$id,bound:c?Promise.resolve(c):null},a=T(a,c),b.set(e,a),a="$h"+a.toString(16)),a;a=fb.get(e);void 0!==a&&K(a);if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+G(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.'+G(c,d));}if("symbol"===typeof e){b=a.writtenSymbols;var f=b.get(e);if(void 0!==f)return S(f);f=e.description;if(Symbol.for(f)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(e.description+") cannot be found among global symbols.")+
|
||||
G(c,d));a.pendingChunks++;c=a.nextChunkId++;d=Ab(a,c,"$S"+f);a.completedImportChunks.push(d);b.set(e,c);return S(c)}if("bigint"===typeof e)return a=J.get(e),void 0!==a&&K(a.message),"$n"+e.toString(10);throw Error("Type "+typeof e+" is not supported in Client Component props."+G(c,d));}function M(a,b){var c=L;L=null;try{Aa.run(void 0,a.onPostpone,b)}finally{L=c}}
|
||||
function O(a,b){var c=L;L=null;try{var d=Aa.run(void 0,a.onError,b)}finally{L=c}if(null!=d&&"string"!==typeof d)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d||""}function Db(a,b){kb(a);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}
|
||||
function N(a,b){b=b.toString(16)+":P\n";a.completedErrorChunks.push(b)}function P(a,b,c){c={digest:c};b=b.toString(16)+":E"+I(c)+"\n";a.completedErrorChunks.push(b)}var vb={};
|
||||
function Cb(a,b){if(0===b.status)try{V=b.model;var c=R(a,b,vb,"",b.model);V=c;b.keyPath=null;b.implicitSlot=!1;var d="object"===typeof c&&null!==c?I(c,b.toJSON):I(c),e=b.id.toString(16)+":"+d+"\n";a.completedRegularChunks.push(e);a.abortableTasks.delete(b);b.status=1}catch(h){var f=h===Ja?Na():h;if("object"===typeof f&&null!==f){if("function"===typeof f.then){var g=b.ping;f.then(g,g);b.thenableState=Pa();return}if(f.$$typeof===C){a.abortableTasks.delete(b);b.status=4;M(a,f.message);N(a,b.id);return}}a.abortableTasks.delete(b);
|
||||
b.status=4;var k=O(a,f);P(a,b.id,k)}finally{}}function zb(a){var b=jb.current;jb.current=Ua;var c=L;D=L=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<d.length;e++)Cb(a,d[e]);null!==a.destination&&Q(a,a.destination)}catch(f){O(a,f),Db(a,f)}finally{jb.current=b,D=null,L=c}}
|
||||
function Q(a,b){l=new Uint8Array(2048);n=0;q=!0;try{for(var c=a.completedImportChunks,d=0;d<c.length;d++)if(a.pendingChunks--,!ea(b,c[d])){a.destination=null;d++;break}c.splice(0,d);var e=a.completedHintChunks;for(d=0;d<e.length;d++)if(!ea(b,e[d])){a.destination=null;d++;break}e.splice(0,d);var f=a.completedRegularChunks;for(d=0;d<f.length;d++)if(a.pendingChunks--,!ea(b,f[d])){a.destination=null;d++;break}f.splice(0,d);var g=a.completedErrorChunks;for(d=0;d<g.length;d++)if(a.pendingChunks--,!ea(b,
|
||||
g[d])){a.destination=null;d++;break}g.splice(0,d)}finally{a.flushScheduled=!1,l&&0<n&&b.write(l.subarray(0,n)),l=null,n=0,q=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&(kb(a),b.end())}function Eb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return Aa.run(a,zb,a)})}function rb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return Q(a,b)})}}
|
||||
function Fb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Q(a,b)}catch(c){O(a,c),Db(a,c)}}}
|
||||
function Gb(a,b){try{var c=a.abortableTasks;if(0<c.size){a.pendingChunks++;var d=a.nextChunkId++;if("object"===typeof b&&null!==b&&b.$$typeof===C)M(a,b.message),N(a,d,b);else{var e=void 0===b?Error("The render was aborted by the server without a reason."):b,f=O(a,e);P(a,d,f,e)}c.forEach(function(g){g.status=3;var k=S(d);g=Ab(a,g.id,k);a.completedErrorChunks.push(g)});c.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),Db(a,g)}}var Hb=Object.prototype.hasOwnProperty;
|
||||
function Ib(a,b){var c="",d=a[b];if(d)c=d.name;else{var e=b.lastIndexOf("#");-1!==e&&(c=b.slice(e+1),d=a[b.slice(0,e)]);if(!d)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[d.id,d.chunks,c]}var Jb=new Map;
|
||||
function Kb(a){var b=globalThis.__next_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 Lb(){}
|
||||
function Mb(a){for(var b=a[1],c=[],d=0;d<b.length;d++){var e=b[d],f=Jb.get(e);if(void 0===f){f=globalThis.__next_chunk_load__(e);c.push(f);var g=Jb.set.bind(Jb,e,null);f.then(g,Lb);Jb.set(e,f)}else null!==f&&c.push(f)}return 4===a.length?0===c.length?Kb(a[0]):Promise.all(c).then(function(){return Kb(a[0])}):0<c.length?Promise.all(c):null}
|
||||
function W(a){var b=globalThis.__next_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;if("*"===a[2])return b;if(""===a[2])return b.__esModule?b.default:b;if(Hb.call(b,a[2]))return b[a[2]]}function X(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}X.prototype=Object.create(Promise.prototype);
|
||||
X.prototype.then=function(a,b){switch(this.status){case "resolved_model":Nb(this)}switch(this.status){case "fulfilled":if("function"===typeof a){for(var c=this.value,d=0;c instanceof X;){d++;if(c===this||1E3<d){"function"===typeof b&&b(Error("Cannot have cyclic thenables."));return}if("fulfilled"===c.status)c=c.value;else break}a(this.value)}break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));
|
||||
break;default:b(this.reason)}};function Ob(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Pb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Ob(c,b)}}function Qb(a,b,c,d,e,f){var g=Ib(a._bundlerConfig,b);a=Mb(g);if(c)c=Promise.all([c,a]).then(function(k){k=k[0];var h=W(g);return h.bind.apply(h,[null].concat(k))});else if(a)c=Promise.resolve(a).then(function(){return W(g)});else return W(g);c.then(Rb(d,e,f),Sb(d));return null}
|
||||
var Tb=null,Y=null;function Nb(a){var b=Tb,c=Y;Tb=a;Y=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(e){a.status="rejected",a.reason=e}finally{Tb=b,Y=c}}function Ub(a,b){a._closed=!0;a._closedReason=b;a._chunks.forEach(function(c){"pending"===c.status&&Pb(c,b)})}
|
||||
function Z(a,b){var c=a._chunks,d=c.get(b);d||(d=a._formData.get(a._prefix+b),d=null!=d?new X("resolved_model",d,null,a):a._closed?new X("rejected",null,a._closedReason,a):new X("pending",null,null,a),c.set(b,d));return d}function Rb(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&&Ob(e,d.value))}}function Sb(a){return function(b){return Pb(a,b)}}
|
||||
function Xb(a,b){a=Z(a,b);"resolved_model"===a.status&&Nb(a);if("fulfilled"!==a.status)throw a.reason;return a.value}
|
||||
function Yb(a,b,c,d){if("$"===d[0])switch(d[1]){case "$":return d.slice(1);case "@":return b=parseInt(d.slice(2),16),Z(a,b);case "S":return Symbol.for(d.slice(2));case "h":return d=parseInt(d.slice(2),16),d=Xb(a,d),Qb(a,d.id,d.bound,Tb,b,c);case "Q":return b=parseInt(d.slice(2),16),a=Xb(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=Xb(a,b),new Set(a);case "K":b=d.slice(2);var e=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,k){k.startsWith(e)&&f.append(k.slice(e.length),
|
||||
g)});return f;case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=Z(a,d);switch(a.status){case "resolved_model":Nb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=Tb,a.then(Rb(d,b,c),Sb(d)),null;default:throw a.reason;}}return d}
|
||||
function Zb(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,d=new Map,e={_bundlerConfig:a,_prefix:b,_formData:c,_chunks:d,_fromJSON:function(f,g){return"string"===typeof g?Yb(e,this,f,g):g},_closed:!1,_closedReason:null};return e}
|
||||
function $b(a,b,c){a._formData.append(b,c);var d=a._prefix;if(b.startsWith(d)&&(a=a._chunks,b=+b.slice(d.length),(b=a.get(b))&&"pending"===b.status&&(d=b.value,a=b.reason,b.status="resolved_model",b.value=c,null!==d)))switch(Nb(b),b.status){case "fulfilled":Ob(d,b.value);break;case "pending":case "blocked":b.value=d;b.reason=a;break;case "rejected":a&&Ob(a,b.reason)}}function ac(a){Ub(a,Error("Connection closed."))}
|
||||
function bc(a,b,c){var d=Ib(a,b);a=Mb(d);return c?Promise.all([c,a]).then(function(e){e=e[0];var f=W(d);return f.bind.apply(f,[null].concat(e))}):a?Promise.resolve(a).then(function(){return W(d)}):Promise.resolve(W(d))}function cc(a,b,c){a=Zb(b,c,a);ac(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function dc(a,b){return function(){return Fb(b,a)}}exports.createClientModuleProxy=function(a){a=v({},a,!1);return new Proxy(a,qa)};
|
||||
exports.decodeAction=function(a,b){var c=new FormData,d=null;a.forEach(function(e,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(e="$ACTION_"+f.slice(12)+":",e=cc(a,b,e),d=bc(b,e.id,e.bound)):f.startsWith("$ACTION_ID_")&&(e=f.slice(11),d=bc(b,e,null)):c.append(f,e)});return null===d?null:d.then(function(e){return e.bind(null,c)})};exports.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Zb(b,"",a);b=Z(a,0);ac(a);return b};
|
||||
exports.decodeReplyFromBusboy=function(a,b){var c=Zb(b,""),d=0,e=[];a.on("field",function(f,g){if(0<d)e.push(f,g);else try{$b(c,f,g)}catch(k){a.destroy(k)}});a.on("file",function(f,g,k){var h=k.filename,p=k.mimeType;if("base64"===k.encoding.toLowerCase())a.destroy(Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it."));else{d++;var u=[];g.on("data",function(m){u.push(m)});
|
||||
g.on("end",function(){try{var m=new Blob(u,{type:p});c._formData.append(f,m,h);d--;if(0===d){for(m=0;m<e.length;m+=2)$b(c,e[m],e[m+1]);e.length=0}}catch(z){a.destroy(z)}})}});a.on("finish",function(){ac(c)});a.on("error",function(f){Ub(c,f)});return Z(c,0)};exports.registerClientReference=function(a,b,c){return v(a,b+"#"+c,!1)};
|
||||
exports.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:ha},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:la,configurable:!0},toString:ma})};
|
||||
exports.renderToPipeableStream=function(a,b,c){var d=nb(a,b,c?c.onError:void 0,c?c.identifierPrefix:void 0,c?c.onPostpone:void 0),e=!1;Eb(d);return{pipe:function(f){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;Fb(d,f);f.on("drain",dc(f,d));return f},abort:function(f){Gb(d,f)}}};
|
||||
|
||||
//# sourceMappingURL=react-server-dom-turbopack-server.node.production.min.js.map
|
||||
Generated
Vendored
+4367
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+3582
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+86
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
React
|
||||
react-server-dom-turbopack-server.node.unbundled.production.min.js
|
||||
|
||||
Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
|
||||
This source code is licensed under the MIT license found in the
|
||||
LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
'use strict';var aa=require("util");require("crypto");var ba=require("async_hooks"),ca=require("react"),da=require("react-dom"),l=null,n=0,q=!0;function r(a,b){a=a.write(b);q=q&&a}
|
||||
function ea(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<n&&(r(a,l.subarray(0,n)),l=new Uint8Array(2048),n=0),r(a,fa.encode(b));else{var c=l;0<n&&(c=l.subarray(n));c=fa.encodeInto(b,c);var e=c.read;n+=c.written;e<b.length&&(r(a,l.subarray(0,n)),l=new Uint8Array(2048),n=fa.encodeInto(b.slice(e),l).written);2048===n&&(r(a,l),l=new Uint8Array(2048),n=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<n&&(r(a,l.subarray(0,n)),l=new Uint8Array(2048),n=0),r(a,b)):(c=l.length-n,c<b.byteLength&&
|
||||
(0===c?r(a,l):(l.set(b.subarray(0,c),n),n+=c,r(a,l),b=b.subarray(c)),l=new Uint8Array(2048),n=0),l.set(b,n),n+=b.byteLength,2048===n&&(r(a,l),l=new Uint8Array(2048),n=0)));return q}var fa=new aa.TextEncoder,t=Symbol.for("react.client.reference"),ha=Symbol.for("react.server.reference");function v(a,b,c){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:b},$$async:{value:c}})}var ia=Function.prototype.bind,ja=Array.prototype.slice;
|
||||
function la(){var a=ia.apply(this,arguments);if(this.$$typeof===ha){var b=ja.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:ha},$$id:{value:this.$$id},$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:la}})}return a}
|
||||
var ma={value:function(){return"function () { [omitted code] }"},configurable:!0,writable:!0},na=Promise.prototype,oa={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");
|
||||
}throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}};
|
||||
function pa(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "__esModule":var c=a.$$id;a.default=v(function(){throw Error("Attempted to call the default export of "+c+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");
|
||||
},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var e=v({},a.$$id,!0),d=new Proxy(e,qa);a.status="fulfilled";a.value=d;return a.then=v(function(f){return Promise.resolve(f(d))},a.$$id+"#then",!1)}if("symbol"===typeof b)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");e=a[b];e||(e=v(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");
|
||||
},a.$$id+"#"+b,a.$$async),Object.defineProperty(e,"name",{value:b}),e=a[b]=new Proxy(e,oa));return e}
|
||||
var qa={get:function(a,b){return pa(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:pa(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(){return na},set:function(){throw Error("Cannot assign to a client module from a server module.");}},ya={prefetchDNS:ra,preconnect:sa,preload:ta,preloadModule:ua,preinitStyle:va,preinitScript:wa,preinitModuleScript:xa};
|
||||
function ra(a){if("string"===typeof a&&a){var b=w();if(b){var c=b.hints,e="D|"+a;c.has(e)||(c.add(e),x(b,"D",a))}}}function sa(a,b){if("string"===typeof a){var c=w();if(c){var e=c.hints,d="C|"+(null==b?"null":b)+"|"+a;e.has(d)||(e.add(d),"string"===typeof b?x(c,"C",[a,b]):x(c,"C",a))}}}
|
||||
function ta(a,b,c){if("string"===typeof a){var e=w();if(e){var d=e.hints,f="L";if("image"===b&&c){var g=c.imageSrcSet,k=c.imageSizes,h="";"string"===typeof g&&""!==g?(h+="["+g+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;f+="[image]"+h}else f+="["+b+"]"+a;d.has(f)||(d.add(f),(c=y(c))?x(e,"L",[a,b,c]):x(e,"L",[a,b]))}}}function ua(a,b){if("string"===typeof a){var c=w();if(c){var e=c.hints,d="m|"+a;if(!e.has(d))return e.add(d),(b=y(b))?x(c,"m",[a,b]):x(c,"m",a)}}}
|
||||
function va(a,b,c){if("string"===typeof a){var e=w();if(e){var d=e.hints,f="S|"+a;if(!d.has(f))return d.add(f),(c=y(c))?x(e,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?x(e,"S",[a,b]):x(e,"S",a)}}}function wa(a,b){if("string"===typeof a){var c=w();if(c){var e=c.hints,d="X|"+a;if(!e.has(d))return e.add(d),(b=y(b))?x(c,"X",[a,b]):x(c,"X",a)}}}function xa(a,b){if("string"===typeof a){var c=w();if(c){var e=c.hints,d="M|"+a;if(!e.has(d))return e.add(d),(b=y(b))?x(c,"M",[a,b]):x(c,"M",a)}}}
|
||||
function y(a){if(null==a)return null;var b=!1,c={},e;for(e in a)null!=a[e]&&(b=!0,c[e]=a[e]);return b?c:null}
|
||||
var za=da.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,Aa=new ba.AsyncLocalStorage,A=Symbol.for("react.element"),Ba=Symbol.for("react.fragment"),Ca=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),Ea=Symbol.for("react.suspense"),Fa=Symbol.for("react.suspense_list"),Ga=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),Ha=Symbol.for("react.memo_cache_sentinel"),C=Symbol.for("react.postpone"),Ia=Symbol.iterator,Ja=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`");
|
||||
function Ka(){}function La(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Ka,Ka),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(e){if("pending"===b.status){var d=b;d.status="fulfilled";d.value=e}},function(e){if("pending"===b.status){var d=b;d.status="rejected";d.reason=e}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}Ma=b;throw Ja;}}var Ma=null;
|
||||
function Na(){if(null===Ma)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=Ma;Ma=null;return a}var D=null,Oa=0,E=null;function Pa(){var a=E||[];E=null;return a}
|
||||
var Ua={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:F,useTransition:F,readContext:Qa,useContext:Qa,useReducer:F,useRef:F,useState:F,useInsertionEffect:F,useLayoutEffect:F,useImperativeHandle:F,useEffect:F,useId:Ra,useSyncExternalStore:F,useCacheRefresh:function(){return Sa},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Ha;return b},use:Ta};
|
||||
function F(){throw Error("This Hook is not supported in Server Components.");}function Sa(){throw Error("Refreshing the cache is not supported in Server Components.");}function Qa(){throw Error("Cannot read a Client Context from a Server Component.");}function Ra(){if(null===D)throw Error("useId can only be used while React is rendering");var a=D.identifierCount++;return":"+D.identifierPrefix+"S"+a.toString(32)+":"}
|
||||
function Ta(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Oa;Oa+=1;null===E&&(E=[]);return La(E,a,b)}a.$$typeof===Ca&&Qa()}if(a.$$typeof===t){if(null!=a.value&&a.value.$$typeof===Ca)throw Error("Cannot read a Client Context from a Server Component.");throw Error("Cannot use() an already resolved Client Reference.");}throw Error("An unsupported type was passed to use(): "+String(a));}function Va(){return(new AbortController).signal}
|
||||
function Wa(){var a=w();return a?a.cache:new Map}var Xa={getCacheSignal:function(){var a=Wa(),b=a.get(Va);void 0===b&&(b=Va(),a.set(Va,b));return b},getCacheForType:function(a){var b=Wa(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},Ya=Array.isArray,Za=Object.getPrototypeOf;function $a(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}
|
||||
function ab(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Ya(a))return"[...]";if(null!==a&&a.$$typeof===bb)return"client";a=$a(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===bb?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}
|
||||
function cb(a){if("string"===typeof a)return a;switch(a){case Ea:return"Suspense";case Fa:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Da:return cb(a.render);case Ga:return cb(a.type);case B:var b=a._payload;a=a._init;try{return cb(a(b))}catch(c){}}return""}var bb=Symbol.for("react.client.reference");
|
||||
function G(a,b){var c=$a(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var e=0;if(Ya(a)){var d="[";for(var f=0;f<a.length;f++){0<f&&(d+=", ");var g=a[f];g="object"===typeof g&&null!==g?G(g):ab(g);""+f===b?(c=d.length,e=g.length,d+=g):d=10>g.length&&40>d.length+g.length?d+g:d+"..."}d+="]"}else if(a.$$typeof===A)d="<"+cb(a.type)+"/>";else{if(a.$$typeof===bb)return"client";d="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(d+=", ");var k=f[g],h=JSON.stringify(k);d+=('"'+k+'"'===h?k:h)+": ";h=a[k];
|
||||
h="object"===typeof h&&null!==h?G(h):ab(h);k===b?(c=d.length,e=h.length,d+=h):d=10>h.length&&40>d.length+h.length?d+h:d+"..."}d+="}"}return void 0===b?d:-1<c&&0<e?(a=" ".repeat(c)+"^".repeat(e),"\n "+d+"\n "+a):"\n "+d}var db=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,H=ca.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
||||
if(!H)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var eb=Object.prototype,I=JSON.stringify,fb=H.TaintRegistryObjects,J=H.TaintRegistryValues,gb=H.TaintRegistryByteLengths,hb=H.TaintRegistryPendingRequests,ib=H.ReactCurrentCache,jb=db.ReactCurrentDispatcher;function K(a){throw Error(a);}
|
||||
function kb(a){a=a.taintCleanupQueue;hb.delete(a);for(var b=0;b<a.length;b++){var c=a[b],e=J.get(c);void 0!==e&&(1===e.count?J.delete(c):e.count--)}a.length=0}function lb(a){console.error(a)}function mb(){}
|
||||
function nb(a,b,c,e,d){if(null!==ib.current&&ib.current!==Xa)throw Error("Currently React only supports one RSC renderer at a time.");za.current=ya;ib.current=Xa;var f=new Set,g=[],k=[];hb.add(k);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:e||"",identifierCount:1,taintCleanupQueue:k,onError:void 0===c?lb:c,onPostpone:void 0===d?mb:d};a=ob(b,a,null,!1,f);g.push(a);return b}var L=null;function w(){if(L)return L;var a=Aa.getStore();return a?a:null}
|
||||
function pb(a,b,c){var e=ob(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return e.model=c.value,qb(a,e),e.id;case "rejected":return b=c.reason,"object"===typeof b&&null!==b&&b.$$typeof===C?(M(a,b.message),N(a,e.id)):(b=O(a,b),P(a,e.id,b)),e.id;default:"string"!==typeof c.status&&(c.status="pending",c.then(function(d){"pending"===c.status&&(c.status="fulfilled",c.value=d)},function(d){"pending"===c.status&&(c.status="rejected",c.reason=d)}))}c.then(function(d){e.model=
|
||||
d;qb(a,e)},function(d){"object"===typeof d&&null!==d&&d.$$typeof===C?(M(a,d.message),N(a,e.id)):(e.status=4,d=O(a,d),P(a,e.id,d));a.abortableTasks.delete(e);null!==a.destination&&Q(a,a.destination)});return e.id}function x(a,b,c){c=I(c);var e=a.nextChunkId++;b="H"+b;b=e.toString(16)+":"+b;a.completedHintChunks.push(b+c+"\n");rb(a)}function sb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}
|
||||
function tb(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:B,_payload:a,_init:sb}}
|
||||
function ub(a,b,c,e,d){var f=b.thenableState;b.thenableState=null;Oa=0;E=f;e=e(d,void 0);if("object"===typeof e&&null!==e&&"function"===typeof e.then){d=e;if("fulfilled"===d.status)return d.value;e=tb(e)}d=b.keyPath;f=b.implicitSlot;null!==c?b.keyPath=null===d?c:d+","+c:null===d&&(b.implicitSlot=!0);a=R(a,b,vb,"",e);b.keyPath=d;b.implicitSlot=f;return a}function wb(a,b,c){return null!==b.keyPath?(a=[A,Ba,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}
|
||||
function xb(a,b,c,e){var d=a.keyPath;null===c?c=d:null!==d&&(c=d+","+c);b=[A,b,c,e];return a.implicitSlot&&null!==c?[b]:b}
|
||||
function yb(a,b,c,e,d,f){if(null!==d&&void 0!==d)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===t?xb(b,c,e,f):ub(a,b,e,c,f);if("string"===typeof c)return xb(b,c,e,f);if("symbol"===typeof c)return c===Ba&&null===e?(e=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=R(a,b,vb,"",f.children),b.implicitSlot=e,a):xb(b,c,e,f);if(null!=c&&"object"===typeof c){if(c.$$typeof===t)return xb(b,c,e,f);switch(c.$$typeof){case B:var g=
|
||||
c._init;c=g(c._payload);return yb(a,b,c,e,d,f);case Da:return ub(a,b,e,c.render,f);case Ga:return yb(a,b,c.type,e,d,f)}}throw Error("Unsupported Server Component type: "+ab(c));}function qb(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,setImmediate(function(){return zb(a)}))}
|
||||
function ob(a,b,c,e,d){a.pendingChunks++;var f=a.nextChunkId++;"object"!==typeof b||null===b||null!==c||e||a.writtenObjects.set(b,f);var g={id:f,status:0,model:b,keyPath:c,implicitSlot:e,ping:function(){return qb(a,g)},toJSON:function(k,h){a:{var p=g.keyPath,u=g.implicitSlot;try{var m=R(a,g,this,k,h)}catch(ka){k=ka===Ja?Na():ka;h=g.model;h="object"===typeof h&&null!==h&&(h.$$typeof===A||h.$$typeof===B);if("object"===typeof k&&null!==k){if("function"===typeof k.then){m=ob(a,g.model,g.keyPath,g.implicitSlot,
|
||||
a.abortableTasks);var z=m.ping;k.then(z,z);m.thenableState=Pa();g.keyPath=p;g.implicitSlot=u;m=h?"$L"+m.id.toString(16):S(m.id);break a}if(k.$$typeof===C){a.pendingChunks++;m=a.nextChunkId++;M(a,k.message);N(a,m);g.keyPath=p;g.implicitSlot=u;m=h?"$L"+m.toString(16):S(m);break a}}g.keyPath=p;g.implicitSlot=u;if(h)a.pendingChunks++,p=a.nextChunkId++,u=O(a,k),P(a,p,u),m="$L"+p.toString(16);else throw k;}}return m},thenableState:null};d.add(g);return g}function S(a){return"$"+a.toString(16)}
|
||||
function Ab(a,b,c){a=I(c);return b.toString(16)+":"+a+"\n"}
|
||||
function Bb(a,b,c,e){var d=e.$$async?e.$$id+"#async":e.$$id,f=a.writtenClientReferences,g=f.get(d);if(void 0!==g)return b[0]===A&&"1"===c?"$L"+g.toString(16):S(g);try{var k=a.bundlerConfig,h=e.$$id;g="";var p=k[h];if(p)g=p.name;else{var u=h.lastIndexOf("#");-1!==u&&(g=h.slice(u+1),p=k[h.slice(0,u)]);if(!p)throw Error('Could not find the module "'+h+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var m=!0===e.$$async?[p.id,p.chunks,g,1]:[p.id,p.chunks,
|
||||
g];a.pendingChunks++;var z=a.nextChunkId++,ka=I(m),Ub=z.toString(16)+":I"+ka+"\n";a.completedImportChunks.push(Ub);f.set(d,z);return b[0]===A&&"1"===c?"$L"+z.toString(16):S(z)}catch(Vb){return a.pendingChunks++,b=a.nextChunkId++,c=O(a,Vb),P(a,b,c),S(b)}}function T(a,b){b=ob(a,b,null,!1,a.abortableTasks);Cb(a,b);return b.id}
|
||||
function U(a,b,c){if(gb.has(c.byteLength)){var e=J.get(String.fromCharCode.apply(String,new Uint8Array(c.buffer,c.byteOffset,c.byteLength)));void 0!==e&&K(e.message)}a.pendingChunks+=2;e=a.nextChunkId++;c=new Uint8Array(c.buffer,c.byteOffset,c.byteLength);var d=c.byteLength;b=e.toString(16)+":"+b+d.toString(16)+",";a.completedRegularChunks.push(b,c);return S(e)}var V=!1;
|
||||
function R(a,b,c,e,d){b.model=d;if(d===A)return"$";if(null===d)return null;if("object"===typeof d){switch(d.$$typeof){case A:c=a.writtenObjects;e=c.get(d);if(void 0!==e){if(null===b.keyPath&&!b.implicitSlot)if(V===d)V=null;else return-1===e?(a=T(a,d),S(a)):S(e)}else c.set(d,-1);c=d.props;e=c.ref;return yb(a,b,d.type,d.key,void 0!==e?e:null,c);case B:return b.thenableState=null,c=d._init,d=c(d._payload),R(a,b,vb,"",d)}if(d.$$typeof===t)return Bb(a,c,e,d);c=fb.get(d);void 0!==c&&K(c);c=a.writtenObjects;
|
||||
e=c.get(d);if("function"===typeof d.then){if(void 0!==e){if(null!==b.keyPath||b.implicitSlot)return"$@"+pb(a,b,d).toString(16);if(V===d)V=null;else return"$@"+e.toString(16)}a=pb(a,b,d);c.set(d,a);return"$@"+a.toString(16)}if(void 0!==e)if(V===d)V=null;else return-1===e?(a=T(a,d),S(a)):S(e);else c.set(d,-1);if(Ya(d))return wb(a,b,d);if(d instanceof Map){d=Array.from(d);for(b=0;b<d.length;b++)c=d[b][0],"object"===typeof c&&null!==c&&(e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$Q"+T(a,
|
||||
d).toString(16)}if(d instanceof Set){d=Array.from(d);for(b=0;b<d.length;b++)c=d[b],"object"===typeof c&&null!==c&&(e=a.writtenObjects,void 0===e.get(c)&&e.set(c,-1));return"$W"+T(a,d).toString(16)}if(d instanceof ArrayBuffer)return U(a,"A",new Uint8Array(d));if(d instanceof Int8Array)return U(a,"C",d);if(d instanceof Uint8Array)return U(a,"c",d);if(d instanceof Uint8ClampedArray)return U(a,"U",d);if(d instanceof Int16Array)return U(a,"S",d);if(d instanceof Uint16Array)return U(a,"s",d);if(d instanceof
|
||||
Int32Array)return U(a,"L",d);if(d instanceof Uint32Array)return U(a,"l",d);if(d instanceof Float32Array)return U(a,"F",d);if(d instanceof Float64Array)return U(a,"d",d);if(d instanceof BigInt64Array)return U(a,"N",d);if(d instanceof BigUint64Array)return U(a,"m",d);if(d instanceof DataView)return U(a,"V",d);null===d||"object"!==typeof d?c=null:(c=Ia&&d[Ia]||d["@@iterator"],c="function"===typeof c?c:null);if(c)return wb(a,b,Array.from(d));a=Za(d);if(a!==eb&&(null===a||null!==Za(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 d}if("string"===typeof d){b=J.get(d);void 0!==b&&K(b.message);if("Z"===d[d.length-1]&&c[e]instanceof Date)return"$D"+d;if(1024<=d.length)return a.pendingChunks+=2,b=a.nextChunkId++,c="string"===typeof d?Buffer.byteLength(d,"utf8"):d.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",a.completedRegularChunks.push(c,d),S(b);a="$"===d[0]?"$"+d:d;return a}if("boolean"===typeof d)return d;if("number"===typeof d)return Number.isFinite(d)?0===d&&-Infinity===1/d?"$-0":d:Infinity===d?"$Infinity":-Infinity===
|
||||
d?"$-Infinity":"$NaN";if("undefined"===typeof d)return"$undefined";if("function"===typeof d){if(d.$$typeof===t)return Bb(a,c,e,d);if(d.$$typeof===ha)return b=a.writtenServerReferences,c=b.get(d),void 0!==c?a="$h"+c.toString(16):(c=d.$$bound,c={id:d.$$id,bound:c?Promise.resolve(c):null},a=T(a,c),b.set(d,a),a="$h"+a.toString(16)),a;a=fb.get(d);void 0!==a&&K(a);if(/^on[A-Z]/.test(e))throw Error("Event handlers cannot be passed to Client Component props."+G(c,e)+"\nIf you need interactivity, consider converting part of this to a Client Component.");
|
||||
throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.'+G(c,e));}if("symbol"===typeof d){b=a.writtenSymbols;var f=b.get(d);if(void 0!==f)return S(f);f=d.description;if(Symbol.for(f)!==d)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(d.description+") cannot be found among global symbols.")+
|
||||
G(c,e));a.pendingChunks++;c=a.nextChunkId++;e=Ab(a,c,"$S"+f);a.completedImportChunks.push(e);b.set(d,c);return S(c)}if("bigint"===typeof d)return a=J.get(d),void 0!==a&&K(a.message),"$n"+d.toString(10);throw Error("Type "+typeof d+" is not supported in Client Component props."+G(c,e));}function M(a,b){var c=L;L=null;try{Aa.run(void 0,a.onPostpone,b)}finally{L=c}}
|
||||
function O(a,b){var c=L;L=null;try{var e=Aa.run(void 0,a.onError,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 Db(a,b){kb(a);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}
|
||||
function N(a,b){b=b.toString(16)+":P\n";a.completedErrorChunks.push(b)}function P(a,b,c){c={digest:c};b=b.toString(16)+":E"+I(c)+"\n";a.completedErrorChunks.push(b)}var vb={};
|
||||
function Cb(a,b){if(0===b.status)try{V=b.model;var c=R(a,b,vb,"",b.model);V=c;b.keyPath=null;b.implicitSlot=!1;var e="object"===typeof c&&null!==c?I(c,b.toJSON):I(c),d=b.id.toString(16)+":"+e+"\n";a.completedRegularChunks.push(d);a.abortableTasks.delete(b);b.status=1}catch(h){var f=h===Ja?Na():h;if("object"===typeof f&&null!==f){if("function"===typeof f.then){var g=b.ping;f.then(g,g);b.thenableState=Pa();return}if(f.$$typeof===C){a.abortableTasks.delete(b);b.status=4;M(a,f.message);N(a,b.id);return}}a.abortableTasks.delete(b);
|
||||
b.status=4;var k=O(a,f);P(a,b.id,k)}finally{}}function zb(a){var b=jb.current;jb.current=Ua;var c=L;D=L=a;try{var e=a.pingedTasks;a.pingedTasks=[];for(var d=0;d<e.length;d++)Cb(a,e[d]);null!==a.destination&&Q(a,a.destination)}catch(f){O(a,f),Db(a,f)}finally{jb.current=b,D=null,L=c}}
|
||||
function Q(a,b){l=new Uint8Array(2048);n=0;q=!0;try{for(var c=a.completedImportChunks,e=0;e<c.length;e++)if(a.pendingChunks--,!ea(b,c[e])){a.destination=null;e++;break}c.splice(0,e);var d=a.completedHintChunks;for(e=0;e<d.length;e++)if(!ea(b,d[e])){a.destination=null;e++;break}d.splice(0,e);var f=a.completedRegularChunks;for(e=0;e<f.length;e++)if(a.pendingChunks--,!ea(b,f[e])){a.destination=null;e++;break}f.splice(0,e);var g=a.completedErrorChunks;for(e=0;e<g.length;e++)if(a.pendingChunks--,!ea(b,
|
||||
g[e])){a.destination=null;e++;break}g.splice(0,e)}finally{a.flushScheduled=!1,l&&0<n&&b.write(l.subarray(0,n)),l=null,n=0,q=!0}"function"===typeof b.flush&&b.flush();0===a.pendingChunks&&(kb(a),b.end())}function Eb(a){a.flushScheduled=null!==a.destination;setImmediate(function(){return Aa.run(a,zb,a)})}function rb(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;setImmediate(function(){return Q(a,b)})}}
|
||||
function Fb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Q(a,b)}catch(c){O(a,c),Db(a,c)}}}
|
||||
function Gb(a,b){try{var c=a.abortableTasks;if(0<c.size){a.pendingChunks++;var e=a.nextChunkId++;if("object"===typeof b&&null!==b&&b.$$typeof===C)M(a,b.message),N(a,e,b);else{var d=void 0===b?Error("The render was aborted by the server without a reason."):b,f=O(a,d);P(a,e,f,d)}c.forEach(function(g){g.status=3;var k=S(e);g=Ab(a,g.id,k);a.completedErrorChunks.push(g)});c.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),Db(a,g)}}
|
||||
function Hb(a,b){var c=b.lastIndexOf("#");a=b.slice(0,c);b=b.slice(c+1);return{specifier:a,name:b}}var Ib=new Map;function Jb(a){var b=Ib.get(a.specifier);if(b)return"fulfilled"===b.status?null:b;var c=import(a.specifier);a.async&&(c=c.then(function(e){return e.default}));c.then(function(e){var d=c;d.status="fulfilled";d.value=e},function(e){var d=c;d.status="rejected";d.reason=e});Ib.set(a.specifier,c);return c}
|
||||
function W(a){var b=Ib.get(a.specifier);if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a.name?b:""===a.name?b.default:b[a.name]}function X(a,b,c,e){this.status=a;this.value=b;this.reason=c;this._response=e}X.prototype=Object.create(Promise.prototype);
|
||||
X.prototype.then=function(a,b){switch(this.status){case "resolved_model":Kb(this)}switch(this.status){case "fulfilled":if("function"===typeof a){for(var c=this.value,e=0;c instanceof X;){e++;if(c===this||1E3<e){"function"===typeof b&&b(Error("Cannot have cyclic thenables."));return}if("fulfilled"===c.status)c=c.value;else break}a(this.value)}break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));
|
||||
break;default:b(this.reason)}};function Lb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Mb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&Lb(c,b)}}function Nb(a,b,c,e,d,f){var g=Hb(a._bundlerConfig,b);a=Jb(g);if(c)c=Promise.all([c,a]).then(function(k){k=k[0];var h=W(g);return h.bind.apply(h,[null].concat(k))});else if(a)c=Promise.resolve(a).then(function(){return W(g)});else return W(g);c.then(Ob(e,d,f),Pb(e));return null}
|
||||
var Qb=null,Y=null;function Kb(a){var b=Qb,c=Y;Qb=a;Y=null;try{var e=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=e,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=e)}catch(d){a.status="rejected",a.reason=d}finally{Qb=b,Y=c}}function Rb(a,b){a._closed=!0;a._closedReason=b;a._chunks.forEach(function(c){"pending"===c.status&&Mb(c,b)})}
|
||||
function Z(a,b){var c=a._chunks,e=c.get(b);e||(e=a._formData.get(a._prefix+b),e=null!=e?new X("resolved_model",e,null,a):a._closed?new X("rejected",null,a._closedReason,a):new X("pending",null,null,a),c.set(b,e));return e}function Ob(a,b,c){if(Y){var e=Y;e.deps++}else e=Y={deps:1,value:null};return function(d){b[c]=d;e.deps--;0===e.deps&&"blocked"===a.status&&(d=a.value,a.status="fulfilled",a.value=e.value,null!==d&&Lb(d,e.value))}}function Pb(a){return function(b){return Mb(a,b)}}
|
||||
function Sb(a,b){a=Z(a,b);"resolved_model"===a.status&&Kb(a);if("fulfilled"!==a.status)throw a.reason;return a.value}
|
||||
function Tb(a,b,c,e){if("$"===e[0])switch(e[1]){case "$":return e.slice(1);case "@":return b=parseInt(e.slice(2),16),Z(a,b);case "S":return Symbol.for(e.slice(2));case "h":return e=parseInt(e.slice(2),16),e=Sb(a,e),Nb(a,e.id,e.bound,Qb,b,c);case "Q":return b=parseInt(e.slice(2),16),a=Sb(a,b),new Map(a);case "W":return b=parseInt(e.slice(2),16),a=Sb(a,b),new Set(a);case "K":b=e.slice(2);var d=a._prefix+b+"_",f=new FormData;a._formData.forEach(function(g,k){k.startsWith(d)&&f.append(k.slice(d.length),
|
||||
g)});return f;case "I":return Infinity;case "-":return"$-0"===e?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(e.slice(2)));case "n":return BigInt(e.slice(2));default:e=parseInt(e.slice(1),16);a=Z(a,e);switch(a.status){case "resolved_model":Kb(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return e=Qb,a.then(Ob(e,b,c),Pb(e)),null;default:throw a.reason;}}return e}
|
||||
function Wb(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,e=new Map,d={_bundlerConfig:a,_prefix:b,_formData:c,_chunks:e,_fromJSON:function(f,g){return"string"===typeof g?Tb(d,this,f,g):g},_closed:!1,_closedReason:null};return d}
|
||||
function Xb(a,b,c){a._formData.append(b,c);var e=a._prefix;if(b.startsWith(e)&&(a=a._chunks,b=+b.slice(e.length),(b=a.get(b))&&"pending"===b.status&&(e=b.value,a=b.reason,b.status="resolved_model",b.value=c,null!==e)))switch(Kb(b),b.status){case "fulfilled":Lb(e,b.value);break;case "pending":case "blocked":b.value=e;b.reason=a;break;case "rejected":a&&Lb(a,b.reason)}}function Yb(a){Rb(a,Error("Connection closed."))}
|
||||
function Zb(a,b,c){var e=Hb(a,b);a=Jb(e);return c?Promise.all([c,a]).then(function(d){d=d[0];var f=W(e);return f.bind.apply(f,[null].concat(d))}):a?Promise.resolve(a).then(function(){return W(e)}):Promise.resolve(W(e))}function $b(a,b,c){a=Wb(b,c,a);Yb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}function ac(a,b){return function(){return Fb(b,a)}}exports.createClientModuleProxy=function(a){a=v({},a,!1);return new Proxy(a,qa)};
|
||||
exports.decodeAction=function(a,b){var c=new FormData,e=null;a.forEach(function(d,f){f.startsWith("$ACTION_")?f.startsWith("$ACTION_REF_")?(d="$ACTION_"+f.slice(12)+":",d=$b(a,b,d),e=Zb(b,d.id,d.bound)):f.startsWith("$ACTION_ID_")&&(d=f.slice(11),e=Zb(b,d,null)):c.append(f,d)});return null===e?null:e.then(function(d){return d.bind(null,c)})};exports.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Wb(b,"",a);b=Z(a,0);Yb(a);return b};
|
||||
exports.decodeReplyFromBusboy=function(a,b){var c=Wb(b,""),e=0,d=[];a.on("field",function(f,g){if(0<e)d.push(f,g);else try{Xb(c,f,g)}catch(k){a.destroy(k)}});a.on("file",function(f,g,k){var h=k.filename,p=k.mimeType;if("base64"===k.encoding.toLowerCase())a.destroy(Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it."));else{e++;var u=[];g.on("data",function(m){u.push(m)});
|
||||
g.on("end",function(){try{var m=new Blob(u,{type:p});c._formData.append(f,m,h);e--;if(0===e){for(m=0;m<d.length;m+=2)Xb(c,d[m],d[m+1]);d.length=0}}catch(z){a.destroy(z)}})}});a.on("finish",function(){Yb(c)});a.on("error",function(f){Rb(c,f)});return Z(c,0)};exports.registerClientReference=function(a,b,c){return v(a,b+"#"+c,!1)};
|
||||
exports.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:ha},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:la,configurable:!0},toString:ma})};
|
||||
exports.renderToPipeableStream=function(a,b,c){var e=nb(a,b,c?c.onError:void 0,c?c.identifierPrefix:void 0,c?c.onPostpone:void 0),d=!1;Eb(e);return{pipe:function(f){if(d)throw Error("React currently only supports piping to one writable stream.");d=!0;Fb(e,f);f.on("drain",ac(f,e));return f},abort:function(f){Gb(e,f)}}};
|
||||
|
||||
//# sourceMappingURL=react-server-dom-turbopack-server.node.unbundled.production.min.js.map
|
||||
Generated
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
module.exports = require('./cjs/react-server-dom-turbopack-client.browser.production.min.js');
|
||||
} else {
|
||||
module.exports = require('./cjs/react-server-dom-turbopack-client.browser.development.js');
|
||||
}
|
||||
Generated
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
module.exports = require('./cjs/react-server-dom-turbopack-client.edge.production.min.js');
|
||||
} else {
|
||||
module.exports = require('./cjs/react-server-dom-turbopack-client.edge.development.js');
|
||||
}
|
||||
Generated
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = require('./client.browser');
|
||||
Generated
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
module.exports = require('./cjs/react-server-dom-turbopack-client.node.production.min.js');
|
||||
} else {
|
||||
module.exports = require('./cjs/react-server-dom-turbopack-client.node.development.js');
|
||||
}
|
||||
Generated
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
module.exports = require('./cjs/react-server-dom-turbopack-client.node.unbundled.production.min.js');
|
||||
} else {
|
||||
module.exports = require('./cjs/react-server-dom-turbopack-client.node.unbundled.development.js');
|
||||
}
|
||||
Generated
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @flow
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
throw new Error('Use react-server-dom-turbopack/client instead.');
|
||||
Generated
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = require('./cjs/react-server-dom-turbopack-node-register.js');
|
||||
Generated
Vendored
+54
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"name": "react-server-dom-turbopack-experimental-builtin",
|
||||
"main": "index.js",
|
||||
"exports": {
|
||||
".": "./index.js",
|
||||
"./client": {
|
||||
"workerd": "./client.edge.js",
|
||||
"deno": "./client.edge.js",
|
||||
"worker": "./client.edge.js",
|
||||
"node": {
|
||||
"turbopack": "./client.node.js",
|
||||
"webpack": "./client.node.js",
|
||||
"default": "./client.node.unbundled.js"
|
||||
},
|
||||
"edge-light": "./client.edge.js",
|
||||
"browser": "./client.browser.js",
|
||||
"default": "./client.browser.js"
|
||||
},
|
||||
"./client.browser": "./client.browser.js",
|
||||
"./client.edge": "./client.edge.js",
|
||||
"./client.node": "./client.node.js",
|
||||
"./client.node.unbundled": "./client.node.unbundled.js",
|
||||
"./server": {
|
||||
"react-server": {
|
||||
"workerd": "./server.edge.js",
|
||||
"deno": "./server.browser.js",
|
||||
"node": {
|
||||
"turbopack": "./server.node.js",
|
||||
"webpack": "./server.node.js",
|
||||
"default": "./server.node.unbundled.js"
|
||||
},
|
||||
"edge-light": "./server.edge.js",
|
||||
"browser": "./server.browser.js"
|
||||
},
|
||||
"default": "./server.js"
|
||||
},
|
||||
"./server.browser": "./server.browser.js",
|
||||
"./server.edge": "./server.edge.js",
|
||||
"./server.node": "./server.node.js",
|
||||
"./server.node.unbundled": "./server.node.unbundled.js",
|
||||
"./node-loader": "./esm/react-server-dom-turbopack-node-loader.production.min.js",
|
||||
"./node-register": "./node-register.js",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"dependencies": {
|
||||
"acorn-loose": "^8.3.0",
|
||||
"neo-async": "^2.6.1",
|
||||
"loose-envify": "^1.1.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "0.0.0-experimental-c750c232fe-20251211",
|
||||
"react-dom": "0.0.0-experimental-c750c232fe-20251211"
|
||||
}
|
||||
}
|
||||
Generated
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
module.exports = require('./cjs/react-server-dom-turbopack-server.browser.production.min.js');
|
||||
} else {
|
||||
module.exports = require('./cjs/react-server-dom-turbopack-server.browser.development.js');
|
||||
}
|
||||
Generated
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
module.exports = require('./cjs/react-server-dom-turbopack-server.edge.production.min.js');
|
||||
} else {
|
||||
module.exports = require('./cjs/react-server-dom-turbopack-server.edge.development.js');
|
||||
}
|
||||
Generated
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
throw new Error(
|
||||
'The React Server Writer cannot be used outside a react-server environment. ' +
|
||||
'You must configure Node.js using the `--conditions react-server` flag.'
|
||||
);
|
||||
Generated
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
module.exports = require('./cjs/react-server-dom-turbopack-server.node.production.min.js');
|
||||
} else {
|
||||
module.exports = require('./cjs/react-server-dom-turbopack-server.node.development.js');
|
||||
}
|
||||
Generated
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
module.exports = require('./cjs/react-server-dom-turbopack-server.node.unbundled.production.min.js');
|
||||
} else {
|
||||
module.exports = require('./cjs/react-server-dom-turbopack-server.node.unbundled.development.js');
|
||||
}
|
||||
Reference in New Issue
Block a user