react-server-dom-webpack 19.0.0-canary-8afa144bd-20240416 → 19.0.0-canary-657428a9e-20240416
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/react-server-dom-webpack-client.browser.development.js +40 -7
- package/cjs/react-server-dom-webpack-client.browser.production.js +37 -6
- package/cjs/react-server-dom-webpack-client.browser.production.min.js +7 -7
- package/cjs/react-server-dom-webpack-client.browser.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-client.edge.development.js +40 -7
- package/cjs/react-server-dom-webpack-client.edge.production.js +37 -6
- package/cjs/react-server-dom-webpack-client.edge.production.min.js +18 -18
- package/cjs/react-server-dom-webpack-client.edge.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-client.node.development.js +40 -7
- package/cjs/react-server-dom-webpack-client.node.production.js +37 -6
- package/cjs/react-server-dom-webpack-client.node.production.min.js +4 -4
- package/cjs/react-server-dom-webpack-client.node.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +40 -7
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.js +37 -6
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +16 -16
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-server.browser.development.js +96 -51
- package/cjs/react-server-dom-webpack-server.browser.production.js +74 -40
- package/cjs/react-server-dom-webpack-server.browser.production.min.js +59 -58
- package/cjs/react-server-dom-webpack-server.browser.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-server.edge.development.js +96 -51
- package/cjs/react-server-dom-webpack-server.edge.production.js +74 -40
- package/cjs/react-server-dom-webpack-server.edge.production.min.js +60 -60
- package/cjs/react-server-dom-webpack-server.edge.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-server.node.development.js +96 -51
- package/cjs/react-server-dom-webpack-server.node.production.js +74 -40
- package/cjs/react-server-dom-webpack-server.node.production.min.js +60 -61
- package/cjs/react-server-dom-webpack-server.node.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +96 -51
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +74 -40
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +58 -58
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js.map +1 -1
- package/package.json +3 -3
- package/umd/react-server-dom-webpack-client.browser.development.js +40 -7
- package/umd/react-server-dom-webpack-client.browser.production.min.js +19 -19
- package/umd/react-server-dom-webpack-server.browser.development.js +96 -51
- package/umd/react-server-dom-webpack-server.browser.production.min.js +55 -54
@@ -902,7 +902,14 @@
|
|
902
902
|
|
903
903
|
default:
|
904
904
|
{
|
905
|
-
if (typeof thenable.status === 'string')
|
905
|
+
if (typeof thenable.status === 'string') {
|
906
|
+
// Only instrument the thenable if the status if not defined. If
|
907
|
+
// it's defined, but an unknown value, assume it's been instrumented by
|
908
|
+
// some custom userspace implementation. We treat it as "pending".
|
909
|
+
// Attach a dummy listener, to ensure that any lazy initialization can
|
910
|
+
// happen. Flight lazily parses JSON when the value is actually awaited.
|
911
|
+
thenable.then(noop, noop);
|
912
|
+
} else {
|
906
913
|
var pendingThenable = thenable;
|
907
914
|
pendingThenable.status = 'pending';
|
908
915
|
pendingThenable.then(function (fulfilledValue) {
|
@@ -917,21 +924,22 @@
|
|
917
924
|
rejectedThenable.status = 'rejected';
|
918
925
|
rejectedThenable.reason = error;
|
919
926
|
}
|
920
|
-
});
|
927
|
+
});
|
928
|
+
} // Check one more time in case the thenable resolved synchronously
|
921
929
|
|
922
|
-
switch (thenable.status) {
|
923
|
-
case 'fulfilled':
|
924
|
-
{
|
925
|
-
var fulfilledThenable = thenable;
|
926
|
-
return fulfilledThenable.value;
|
927
|
-
}
|
928
930
|
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
931
|
+
switch (thenable.status) {
|
932
|
+
case 'fulfilled':
|
933
|
+
{
|
934
|
+
var fulfilledThenable = thenable;
|
935
|
+
return fulfilledThenable.value;
|
936
|
+
}
|
937
|
+
|
938
|
+
case 'rejected':
|
939
|
+
{
|
940
|
+
var rejectedThenable = thenable;
|
941
|
+
throw rejectedThenable.reason;
|
942
|
+
}
|
935
943
|
} // Suspend.
|
936
944
|
//
|
937
945
|
// Throwing here is an implementation detail that allows us to unwind the
|
@@ -1498,6 +1506,7 @@
|
|
1498
1506
|
nextChunkId: 0,
|
1499
1507
|
pendingChunks: 0,
|
1500
1508
|
hints: hints,
|
1509
|
+
abortListeners: new Set(),
|
1501
1510
|
abortableTasks: abortSet,
|
1502
1511
|
pingedTasks: pingedTasks,
|
1503
1512
|
completedImportChunks: [],
|
@@ -1605,10 +1614,7 @@
|
|
1605
1614
|
}
|
1606
1615
|
|
1607
1616
|
request.abortableTasks.delete(newTask);
|
1608
|
-
|
1609
|
-
if (request.destination !== null) {
|
1610
|
-
flushCompletedChunks(request, request.destination);
|
1611
|
-
}
|
1617
|
+
enqueueFlush(request);
|
1612
1618
|
});
|
1613
1619
|
return newTask.id;
|
1614
1620
|
}
|
@@ -1774,24 +1780,6 @@
|
|
1774
1780
|
}
|
1775
1781
|
|
1776
1782
|
function renderFragment(request, task, children) {
|
1777
|
-
{
|
1778
|
-
var debugInfo = children._debugInfo;
|
1779
|
-
|
1780
|
-
if (debugInfo) {
|
1781
|
-
// If this came from Flight, forward any debug info into this new row.
|
1782
|
-
if (debugID === null) {
|
1783
|
-
// We don't have a chunk to assign debug info. We need to outline this
|
1784
|
-
// component to assign it an ID.
|
1785
|
-
return outlineTask(request, task);
|
1786
|
-
} else {
|
1787
|
-
// Forward any debug info we have the first time we see it.
|
1788
|
-
// We do this after init so that we have received all the debug info
|
1789
|
-
// from the server by the time we emit it.
|
1790
|
-
forwardDebugInfo(request, debugID, debugInfo);
|
1791
|
-
}
|
1792
|
-
}
|
1793
|
-
}
|
1794
|
-
|
1795
1783
|
if (task.keyPath !== null) {
|
1796
1784
|
// We have a Server Component that specifies a key but we're now splitting
|
1797
1785
|
// the tree using a fragment.
|
@@ -1823,6 +1811,28 @@
|
|
1823
1811
|
// before recursing here.
|
1824
1812
|
|
1825
1813
|
|
1814
|
+
{
|
1815
|
+
var debugInfo = children._debugInfo;
|
1816
|
+
|
1817
|
+
if (debugInfo) {
|
1818
|
+
// If this came from Flight, forward any debug info into this new row.
|
1819
|
+
if (debugID === null) {
|
1820
|
+
// We don't have a chunk to assign debug info. We need to outline this
|
1821
|
+
// component to assign it an ID.
|
1822
|
+
return outlineTask(request, task);
|
1823
|
+
} else {
|
1824
|
+
// Forward any debug info we have the first time we see it.
|
1825
|
+
// We do this after init so that we have received all the debug info
|
1826
|
+
// from the server by the time we emit it.
|
1827
|
+
forwardDebugInfo(request, debugID, debugInfo);
|
1828
|
+
} // Since we're rendering this array again, create a copy that doesn't
|
1829
|
+
// have the debug info so we avoid outlining or emitting debug info again.
|
1830
|
+
|
1831
|
+
|
1832
|
+
children = Array.from(children);
|
1833
|
+
}
|
1834
|
+
}
|
1835
|
+
|
1826
1836
|
return children;
|
1827
1837
|
}
|
1828
1838
|
|
@@ -2164,13 +2174,9 @@
|
|
2164
2174
|
}
|
2165
2175
|
|
2166
2176
|
function serializeLargeTextString(request, text) {
|
2167
|
-
request.pendingChunks
|
2177
|
+
request.pendingChunks++;
|
2168
2178
|
var textId = request.nextChunkId++;
|
2169
|
-
|
2170
|
-
var binaryLength = byteLengthOfChunk(textChunk);
|
2171
|
-
var row = textId.toString(16) + ':T' + binaryLength.toString(16) + ',';
|
2172
|
-
var headerChunk = stringToChunk(row);
|
2173
|
-
request.completedRegularChunks.push(headerChunk, textChunk);
|
2179
|
+
emitTextChunk(request, textId, text);
|
2174
2180
|
return serializeByValueID(textId);
|
2175
2181
|
}
|
2176
2182
|
|
@@ -2485,7 +2491,7 @@
|
|
2485
2491
|
|
2486
2492
|
if (iteratorFn) {
|
2487
2493
|
return renderFragment(request, task, Array.from(value));
|
2488
|
-
}
|
2494
|
+
}
|
2489
2495
|
|
2490
2496
|
|
2491
2497
|
var proto = getPrototypeOf(value);
|
@@ -2758,6 +2764,16 @@
|
|
2758
2764
|
request.completedRegularChunks.push(processedChunk);
|
2759
2765
|
}
|
2760
2766
|
|
2767
|
+
function emitTextChunk(request, id, text) {
|
2768
|
+
request.pendingChunks++; // Extra chunk for the header.
|
2769
|
+
|
2770
|
+
var textChunk = stringToChunk(text);
|
2771
|
+
var binaryLength = byteLengthOfChunk(textChunk);
|
2772
|
+
var row = id.toString(16) + ':T' + binaryLength.toString(16) + ',';
|
2773
|
+
var headerChunk = stringToChunk(row);
|
2774
|
+
request.completedRegularChunks.push(headerChunk, textChunk);
|
2775
|
+
}
|
2776
|
+
|
2761
2777
|
function serializeEval(source) {
|
2762
2778
|
|
2763
2779
|
return '$E' + source;
|
@@ -2957,6 +2973,22 @@
|
|
2957
2973
|
}
|
2958
2974
|
}
|
2959
2975
|
|
2976
|
+
function emitChunk(request, task, value) {
|
2977
|
+
var id = task.id; // For certain types we have special types, we typically outlined them but
|
2978
|
+
// we can emit them directly for this row instead of through an indirection.
|
2979
|
+
|
2980
|
+
if (typeof value === 'string') {
|
2981
|
+
|
2982
|
+
emitTextChunk(request, id, value);
|
2983
|
+
return;
|
2984
|
+
}
|
2985
|
+
// $FlowFixMe[incompatible-type] stringify can return null for undefined but we never do
|
2986
|
+
|
2987
|
+
|
2988
|
+
var json = stringify(value, task.toJSON);
|
2989
|
+
emitModelChunk(request, task.id, json);
|
2990
|
+
}
|
2991
|
+
|
2960
2992
|
var emptyRoot = {};
|
2961
2993
|
|
2962
2994
|
function retryTask(request, task) {
|
@@ -2993,21 +3025,19 @@
|
|
2993
3025
|
|
2994
3026
|
task.keyPath = null;
|
2995
3027
|
task.implicitSlot = false;
|
2996
|
-
var json;
|
2997
3028
|
|
2998
3029
|
if (typeof resolvedModel === 'object' && resolvedModel !== null) {
|
2999
3030
|
// Object might contain unresolved values like additional elements.
|
3000
3031
|
// This is simulating what the JSON loop would do if this was part of it.
|
3001
|
-
|
3002
|
-
json = stringify(resolvedModel, task.toJSON);
|
3032
|
+
emitChunk(request, task, resolvedModel);
|
3003
3033
|
} else {
|
3004
3034
|
// If the value is a string, it means it's a terminal value and we already escaped it
|
3005
3035
|
// We don't need to escape it again so it's not passed the toJSON replacer.
|
3006
3036
|
// $FlowFixMe[incompatible-type] stringify can return null for undefined but we never do
|
3007
|
-
json = stringify(resolvedModel);
|
3037
|
+
var json = stringify(resolvedModel);
|
3038
|
+
emitModelChunk(request, task.id, json);
|
3008
3039
|
}
|
3009
3040
|
|
3010
|
-
emitModelChunk(request, task.id, json);
|
3011
3041
|
request.abortableTasks.delete(task);
|
3012
3042
|
task.status = COMPLETED;
|
3013
3043
|
} catch (thrownValue) {
|
@@ -3163,6 +3193,7 @@
|
|
3163
3193
|
if (request.pendingChunks === 0) {
|
3164
3194
|
|
3165
3195
|
close$1(destination);
|
3196
|
+
request.destination = null;
|
3166
3197
|
}
|
3167
3198
|
}
|
3168
3199
|
|
@@ -3220,11 +3251,10 @@
|
|
3220
3251
|
|
3221
3252
|
function abort(request, reason) {
|
3222
3253
|
try {
|
3223
|
-
var abortableTasks = request.abortableTasks;
|
3254
|
+
var abortableTasks = request.abortableTasks; // We have tasks to abort. We'll emit one error row and then emit a reference
|
3255
|
+
// to that row from every row that's still remaining.
|
3224
3256
|
|
3225
3257
|
if (abortableTasks.size > 0) {
|
3226
|
-
// We have tasks to abort. We'll emit one error row and then emit a reference
|
3227
|
-
// to that row from every row that's still remaining.
|
3228
3258
|
request.pendingChunks++;
|
3229
3259
|
var errorId = request.nextChunkId++;
|
3230
3260
|
|
@@ -3240,6 +3270,21 @@
|
|
3240
3270
|
abortableTasks.clear();
|
3241
3271
|
}
|
3242
3272
|
|
3273
|
+
var abortListeners = request.abortListeners;
|
3274
|
+
|
3275
|
+
if (abortListeners.size > 0) {
|
3276
|
+
var _error;
|
3277
|
+
|
3278
|
+
if (enablePostpone && typeof reason === 'object' && reason !== null && reason.$$typeof === REACT_POSTPONE_TYPE) ; else {
|
3279
|
+
_error = reason === undefined ? new Error('The render was aborted by the server without a reason.') : reason;
|
3280
|
+
}
|
3281
|
+
|
3282
|
+
abortListeners.forEach(function (callback) {
|
3283
|
+
return callback(_error);
|
3284
|
+
});
|
3285
|
+
abortListeners.clear();
|
3286
|
+
}
|
3287
|
+
|
3243
3288
|
if (request.destination !== null) {
|
3244
3289
|
flushCompletedChunks(request, request.destination);
|
3245
3290
|
}
|
@@ -8,58 +8,59 @@
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
9
9
|
*/
|
10
10
|
|
11
|
-
'use strict';(function(){(function(p,N){"object"===typeof exports&&"undefined"!==typeof module?N(exports,require("react-dom"),require("react")):"function"===typeof define&&define.amd?define(["exports","react-dom","react"],N):(p="undefined"!==typeof globalThis?globalThis:p||self,N(p.ReactServerDOMServer={},p.ReactDOM,p.React))})(this,function(p,N,
|
12
|
-
r.length-q;c<b.byteLength&&(0===c?a.enqueue(r):(r.set(b.subarray(0,c),q),a.enqueue(r),b=b.subarray(c)),r=new Uint8Array(2048),q=0);r.set(b,q);q+=b.byteLength}return!0}function
|
13
|
-
$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:
|
14
|
-
c+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var
|
15
|
-
|
16
|
-
},{$$typeof:{value:
|
17
|
-
case "rejected":throw b.reason;}X=b;throw
|
18
|
-
function(b,c){return c})}function
|
19
|
-
case Ca:return Y(a.type);case P:var b=a._payload;a=a._init;try{return Y(a(b))}catch(c){}}return""}function H(a,b){var c=Aa(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var
|
20
|
-
g.length;f++){0<f&&(
|
21
|
-
g=[];var
|
22
|
-
|
23
|
-
4;
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
d)
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
function
|
39
|
-
|
40
|
-
d[
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
a.reason=
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
b)}},
|
11
|
+
'use strict';(function(){(function(p,N){"object"===typeof exports&&"undefined"!==typeof module?N(exports,require("react-dom"),require("react")):"function"===typeof define&&define.amd?define(["exports","react-dom","react"],N):(p="undefined"!==typeof globalThis?globalThis:p||self,N(p.ReactServerDOMServer={},p.ReactDOM,p.React))})(this,function(p,N,fb){function U(a,b){if(0!==b.byteLength)if(2048<b.byteLength)0<q&&(a.enqueue(new Uint8Array(r.buffer,0,q)),r=new Uint8Array(2048),q=0),a.enqueue(b);else{var c=
|
12
|
+
r.length-q;c<b.byteLength&&(0===c?a.enqueue(r):(r.set(b.subarray(0,c),q),a.enqueue(r),b=b.subarray(c)),r=new Uint8Array(2048),q=0);r.set(b,q);q+=b.byteLength}return!0}function ua(a,b){"function"===typeof a.error?a.error(b):a.close()}function E(a,b,c){return Object.defineProperties(a,{$$typeof:{value:F},$$id:{value:b},$$async:{value:c}})}function va(){var a=gb.apply(this,arguments);if(this.$$typeof===V){var b=hb.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:V},$$id:{value:this.$$id},
|
13
|
+
$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:va}})}return a}function wa(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "__esModule":var c=a.$$id;a.default=E(function(){throw Error("Attempted to call the default export of "+
|
14
|
+
c+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var d=E({},a.$$id,!0),e=new Proxy(d,xa);a.status="fulfilled";a.value=e;return a.then=E(function(g,f){return Promise.resolve(g(e))},a.$$id+"#then",!1)}if("symbol"===typeof b)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");
|
15
|
+
d=a[b];d||(d=E(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");},a.$$id+"#"+b,a.$$async),Object.defineProperty(d,"name",{value:b}),d=a[b]=new Proxy(d,ib));return d}function O(a){if(null==a)return null;var b=!1,c={},d;for(d in a)null!=a[d]&&(b=!0,c[d]=a[d]);return b?c:null}function jb(a){a=Object.defineProperties(function(){throw Error("Attempted to call a temporary Client Reference from the server but it is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");
|
16
|
+
},{$$typeof:{value:ha},$$id:{value:a}});return new Proxy(a,kb)}function W(){}function lb(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(W,W),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:"string"===typeof b.status?b.then(W,W):(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}}));switch(b.status){case "fulfilled":return b.value;
|
17
|
+
case "rejected":throw b.reason;}X=b;throw ia;}}function ya(){if(null===X)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=X;X=null;return a}function za(){var a=G||[];G=null;return a}function u(){throw Error("This Hook is not supported in Server Components.");}function mb(){throw Error("Refreshing the cache is not supported in Server Components.");}function ja(){throw Error("Cannot read a Client Context from a Server Component.");}function Aa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,
|
18
|
+
function(b,c){return c})}function ka(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(la(a))return"[...]";if(null!==a&&a.$$typeof===ma)return"client";a=Aa(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===ma?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}function Y(a){if("string"===typeof a)return a;switch(a){case nb:return"Suspense";case ob:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Ba:return Y(a.render);
|
19
|
+
case Ca:return Y(a.type);case P:var b=a._payload;a=a._init;try{return Y(a(b))}catch(c){}}return""}function H(a,b){var c=Aa(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(la(a)){var e="[";for(var g=0;g<a.length;g++){0<g&&(e+=", ");var f=a[g];f="object"===typeof f&&null!==f?H(f):ka(f);""+g===b?(c=e.length,d=f.length,e+=f):e=10>f.length&&40>e.length+f.length?e+f:e+"..."}e+="]"}else if(a.$$typeof===z)e="<"+Y(a.type)+"/>";else{if(a.$$typeof===ma)return"client";e="{";g=Object.keys(a);for(f=0;f<
|
20
|
+
g.length;f++){0<f&&(e+=", ");var k=g[f],h=JSON.stringify(k);e+=('"'+k+'"'===h?k:h)+": ";h=a[k];h="object"===typeof h&&null!==h?H(h):ka(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}function pb(a){console.error(a)}function qb(a){}function rb(a,b,c,d,e,g){if(null!==I.C&&I.C!==Da)throw Error("Currently React only supports one RSC renderer at a time.");I.C=Da;var f=new Set;
|
21
|
+
g=[];var k=new Set;b={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:k,abortListeners:new Set,abortableTasks:f,pingedTasks:g,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,writtenServerReferences:new Map,writtenObjects:new WeakMap,identifierPrefix:d||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===c?pb:c,
|
22
|
+
onPostpone:void 0===e?qb:e};a=Z(b,a,null,!1,f);g.push(a);return b}function Ea(a,b,c){var d=Z(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return d.model=c.value,na(a,d),d.id;case "rejected":return b=w(a,c.reason),J(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;na(a,
|
23
|
+
d)},function(e){d.status=4;e=w(a,e);J(a,d.id,e);a.abortableTasks.delete(d);Fa(a)});return d.id}function n(a,b,c){c=K(c);var d=a.nextChunkId++;b="H"+b;b=d.toString(16)+":"+b;c=C.encode(b+c+"\n");a.completedHintChunks.push(c);Fa(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&&
|
24
|
+
(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:P,_payload:a,_init:sb}}function Ga(a,b,c,d,e,g){g=b.thenableState;b.thenableState=null;oa=0;G=g;d=d(e,void 0);if("object"===typeof d&&null!==d&&"function"===typeof d.then){e=d;if("fulfilled"===e.status)return e.value;d=tb(d)}e=b.keyPath;g=b.implicitSlot;null!==c?b.keyPath=null===e?c:e+","+c:null===e&&(b.implicitSlot=!0);a=Q(a,b,aa,"",d);b.keyPath=e;b.implicitSlot=g;return a}function Ha(a,
|
25
|
+
b,c){return null!==b.keyPath?(a=[z,Ia,b.keyPath,{children:c}],b.implicitSlot?[a]:a):c}function ba(a,b,c,d,e){e=a.keyPath;null===c?c=e:null!==e&&(c=e+","+c);b=[z,b,c,d];return a.implicitSlot&&null!==c?[b]:b}function pa(a,b,c,d,e,g,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===F||c.$$typeof===ha?ba(b,c,d,g):Ga(a,b,d,c,g);if("string"===typeof c)return ba(b,c,d,g);if("symbol"===typeof c)return c===
|
26
|
+
Ia&&null===d?(d=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=Q(a,b,aa,"",g.children),b.implicitSlot=d,a):ba(b,c,d,g);if(null!=c&&"object"===typeof c){if(c.$$typeof===F)return ba(b,c,d,g);switch(c.$$typeof){case P:return f=c._init,c=f(c._payload),pa(a,b,c,d,e,g);case Ba:return Ga(a,b,d,c.render,g);case Ca:return pa(a,b,c.type,d,e,g)}}throw Error("Unsupported Server Component type: "+ka(c));}function na(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,
|
27
|
+
Ja(a))}function Z(a,b,c,d,e){a.pendingChunks++;var g=a.nextChunkId++;"object"!==typeof b||null===b||null!==c||d||a.writtenObjects.set(b,g);var f={id:g,status:0,model:b,keyPath:c,implicitSlot:d,ping:function(){return na(a,f)},toJSON:function(k,h){var m=f.keyPath,A=f.implicitSlot;try{var v=Q(a,f,this,k,h)}catch(ca){if(k=ca===ia?ya():ca,h=f.model,h="object"===typeof h&&null!==h&&(h.$$typeof===z||h.$$typeof===P),"object"===typeof k&&null!==k&&"function"===typeof k.then){v=Z(a,f.model,f.keyPath,f.implicitSlot,
|
28
|
+
a.abortableTasks);var D=v.ping;k.then(D,D);v.thenableState=za();f.keyPath=m;f.implicitSlot=A;v=h?"$L"+v.id.toString(16):t(v.id)}else if(f.keyPath=m,f.implicitSlot=A,h)a.pendingChunks++,m=a.nextChunkId++,A=w(a,k),J(a,m,A),v="$L"+m.toString(16);else throw k;}return v},thenableState:null};e.add(f);return f}function t(a){return"$"+a.toString(16)}function Ka(a,b,c){a=K(c);b=b.toString(16)+":"+a+"\n";return C.encode(b)}function La(a,b,c,d){var e=d.$$async?d.$$id+"#async":d.$$id,g=a.writtenClientReferences,
|
29
|
+
f=g.get(e);if(void 0!==f)return b[0]===z&&"1"===c?"$L"+f.toString(16):t(f);try{var k=a.bundlerConfig,h=d.$$id;f="";var m=k[h];if(m)f=m.name;else{var A=h.lastIndexOf("#");-1!==A&&(f=h.slice(A+1),m=k[h.slice(0,A)]);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 v=!0===d.$$async?[m.id,m.chunks,f,1]:[m.id,m.chunks,f];a.pendingChunks++;var D=a.nextChunkId++,ca=K(v),ub=D.toString(16)+":I"+ca+"\n",vb=
|
30
|
+
C.encode(ub);a.completedImportChunks.push(vb);g.set(e,D);return b[0]===z&&"1"===c?"$L"+D.toString(16):t(D)}catch(wb){return a.pendingChunks++,b=a.nextChunkId++,c=w(a,wb),J(a,b,c),t(b)}}function L(a,b){b=Z(a,b,null,!1,a.abortableTasks);Ma(a,b);return b.id}function Q(a,b,c,d,e){b.model=e;if(e===z)return"$";if(null===e)return null;if("object"===typeof e){switch(e.$$typeof){case z:c=a.writtenObjects;d=c.get(e);if(void 0!==d){if(null===b.keyPath&&!b.implicitSlot)if(B===e)B=null;else return-1===d?(a=L(a,
|
31
|
+
e),t(a)):t(d)}else c.set(e,-1),c.set(e.props,-2);c=e.props;d=c.ref;return pa(a,b,e.type,e.key,void 0!==d?d:null,c);case P:return b.thenableState=null,c=e._init,e=c(e._payload),Q(a,b,aa,"",e)}if(e.$$typeof===F)return La(a,c,d,e);c=a.writtenObjects;d=c.get(e);if("function"===typeof e.then){if(void 0!==d){if(null!==b.keyPath||b.implicitSlot)return"$@"+Ea(a,b,e).toString(16);if(B===e)B=null;else return"$@"+d.toString(16)}a=Ea(a,b,e);c.set(e,a);return"$@"+a.toString(16)}if(void 0!==d)if(B===e)B=null;else{if(-1===
|
32
|
+
d)return a=L(a,e),t(a);if(-2!==d)return t(d)}else c.set(e,-1);if(la(e))return Ha(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"+L(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"+L(a,e).toString(16)}if("function"===typeof FormData&&e instanceof FormData)return e=
|
33
|
+
Array.from(e.entries()),"$K"+L(a,e).toString(16);null===e||"object"!==typeof e?c=null:(c=Na&&e[Na]||e["@@iterator"],c="function"===typeof c?c:null);if(c)return Ha(a,b,Array.from(e));a=Oa(e);if(a!==xb&&(null===a||null!==Oa(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return e}if("string"===typeof e){if("Z"===e[e.length-1]&&c[d]instanceof Date)return"$D"+e;if(1024<=e.length)return a.pendingChunks++,
|
34
|
+
b=a.nextChunkId++,Pa(a,b,e),t(b);a="$"===e[0]?"$"+e:e;return a}if("boolean"===typeof e)return e;if("number"===typeof e)return Number.isFinite(e)?0===e&&-Infinity===1/e?"$-0":e:Infinity===e?"$Infinity":-Infinity===e?"$-Infinity":"$NaN";if("undefined"===typeof e)return"$undefined";if("function"===typeof e){if(e.$$typeof===F)return La(a,c,d,e);if(e.$$typeof===V)return b=a.writtenServerReferences,c=b.get(e),void 0!==c?a="$F"+c.toString(16):(c=e.$$bound,c={id:e.$$id,bound:c?Promise.resolve(c):null},a=
|
35
|
+
L(a,c),b.set(e,a),a="$F"+a.toString(16)),a;if(e.$$typeof===ha)return"$T"+e.$$id;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+H(c,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.'+H(c,d));}if("symbol"===typeof e){b=
|
36
|
+
a.writtenSymbols;var g=b.get(e);if(void 0!==g)return t(g);g=e.description;if(Symbol.for(g)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(e.description+") cannot be found among global symbols.")+H(c,d));a.pendingChunks++;c=a.nextChunkId++;d=Ka(a,c,"$S"+g);a.completedImportChunks.push(d);b.set(e,c);return t(c)}if("bigint"===typeof e)return"$n"+e.toString(10);throw Error("Type "+typeof e+" is not supported in Client Component props."+
|
37
|
+
H(c,d));}function w(a,b){var c=l;l=null;try{var d=a.onError;var e=d(b)}finally{l=c}if(null!=e&&"string"!==typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e||""}function qa(a,b){null!==a.destination?(a.status=2,ua(a.destination,b)):(a.status=1,a.fatalError=b)}function J(a,b,c,d){c={digest:c};b=b.toString(16)+
|
38
|
+
":E"+K(c)+"\n";b=C.encode(b);a.completedErrorChunks.push(b)}function Qa(a,b,c){b=b.toString(16)+":"+c+"\n";b=C.encode(b);a.completedRegularChunks.push(b)}function Pa(a,b,c){a.pendingChunks++;c=C.encode(c);var d=c.byteLength;b=b.toString(16)+":T"+d.toString(16)+",";b=C.encode(b);a.completedRegularChunks.push(b,c)}function Ma(a,b){if(0===b.status)try{B=b.model;var c=Q(a,b,aa,"",b.model);B=c;b.keyPath=null;b.implicitSlot=!1;if("object"===typeof c&&null!==c){var d=b.id;if("string"===typeof c)Pa(a,d,c);
|
39
|
+
else{var e=K(c,b.toJSON);Qa(a,b.id,e)}}else{var g=K(c);Qa(a,b.id,g)}a.abortableTasks.delete(b);b.status=1}catch(m){var f=m===ia?ya():m;if("object"===typeof f&&null!==f&&"function"===typeof f.then){var k=b.ping;f.then(k,k);b.thenableState=za()}else{a.abortableTasks.delete(b);b.status=4;var h=w(a,f);J(a,b.id,h)}}finally{}}function Ja(a){var b=I.H;I.H=yb;var c=l;R=l=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<d.length;e++)Ma(a,d[e]);null!==a.destination&&da(a,a.destination)}catch(g){w(a,
|
40
|
+
g),qa(a,g)}finally{I.H=b,R=null,l=c}}function da(a,b){r=new Uint8Array(2048);q=0;try{for(var c=a.completedImportChunks,d=0;d<c.length;d++)a.pendingChunks--,U(b,c[d]);c.splice(0,d);var e=a.completedHintChunks;for(d=0;d<e.length;d++)U(b,e[d]);e.splice(0,d);var g=a.completedRegularChunks;for(d=0;d<g.length;d++)a.pendingChunks--,U(b,g[d]);g.splice(0,d);var f=a.completedErrorChunks;for(d=0;d<f.length;d++)a.pendingChunks--,U(b,f[d]);f.splice(0,d)}finally{a.flushScheduled=!1,r&&0<q&&(b.enqueue(new Uint8Array(r.buffer,
|
41
|
+
0,q)),r=null,q=0)}0===a.pendingChunks&&(b.close(),a.destination=null)}function Fa(a){if(!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination){var b=a.destination;a.flushScheduled=!0;da(a,b)}}function ra(a,b){try{var c=a.abortableTasks;if(0<c.size){a.pendingChunks++;var d=a.nextChunkId++,e=void 0===b?Error("The render was aborted by the server without a reason."):b,g=w(a,e);J(a,d,g,e);c.forEach(function(h){h.status=3;var m=t(d);h=Ka(a,h.id,m);a.completedErrorChunks.push(h)});c.clear()}var f=
|
42
|
+
a.abortListeners;if(0<f.size){var k=void 0===b?Error("The render was aborted by the server without a reason."):b;f.forEach(function(h){return h(k)});f.clear()}null!==a.destination&&da(a,a.destination)}catch(h){w(a,h),qa(a,h)}}function Ra(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,
|
43
|
+
d.chunks,c]}function Sa(a){var b=__webpack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function zb(){}function Ta(a){for(var b=a[1],c=[],d=0;d<b.length;){var e=b[d++],g=b[d++],f=ea.get(e);void 0===f?(Ua.set(e,g),g=__webpack_chunk_load__(e),c.push(g),f=ea.set.bind(ea,e,null),g.then(f,zb),ea.set(e,g)):null!==f&&c.push(f)}return 4===a.length?0===c.length?Sa(a[0]):
|
44
|
+
Promise.all(c).then(function(){return Sa(a[0])}):0<c.length?Promise.all(c):null}function M(a){var b=__webpack_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}function fa(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}function Va(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}function Wa(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;
|
45
|
+
a.status="rejected";a.reason=b;null!==c&&Va(c,b)}}function Ab(a,b,c,d,e,g){var f=Ra(a._bundlerConfig,b);a=Ta(f);if(c)c=Promise.all([c,a]).then(function(k){k=k[0];var h=M(f);return h.bind.apply(h,[null].concat(k))});else if(a)c=Promise.resolve(a).then(function(){return M(f)});else return M(f);c.then(Xa(d,e,g),Ya(d));return null}function sa(a){var b=S,c=x;S=a;x=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==x&&0<x.deps?(x.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status=
|
46
|
+
"fulfilled",a.value=d)}catch(e){a.status="rejected",a.reason=e}finally{S=b,x=c}}function Bb(a,b){a._chunks.forEach(function(c){"pending"===c.status&&Wa(c,b)})}function T(a,b){var c=a._chunks,d=c.get(b);d||(d=a._formData.get(a._prefix+b),d=null!=d?new fa("resolved_model",d,null,a):new fa("pending",null,null,a),c.set(b,d));return d}function Xa(a,b,c){if(x){var d=x;d.deps++}else d=x={deps:1,value:null};return function(e){b[c]=e;d.deps--;0===d.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",
|
47
|
+
a.value=d.value,null!==e&&Va(e,d.value))}}function Ya(a){return function(b){return Wa(a,b)}}function ta(a,b){a=T(a,b);"resolved_model"===a.status&&sa(a);if("fulfilled"!==a.status)throw a.reason;return a.value}function Cb(a,b,c,d){if("$"===d[0]){switch(d[1]){case "$":return d.slice(1);case "@":return b=parseInt(d.slice(2),16),T(a,b);case "F":return d=parseInt(d.slice(2),16),d=ta(a,d),Ab(a,d.id,d.bound,S,b,c);case "T":return jb(d.slice(2));case "Q":return b=parseInt(d.slice(2),16),a=ta(a,b),new Map(a);
|
48
|
+
case "W":return b=parseInt(d.slice(2),16),a=ta(a,b),new Set(a);case "K":b=d.slice(2);var e=a._prefix+b+"_",g=new FormData;a._formData.forEach(function(f,k){k.startsWith(e)&&g.append(k.slice(e.length),f)});return g;case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2))}d=parseInt(d.slice(1),16);a=T(a,d);switch(a.status){case "resolved_model":sa(a)}switch(a.status){case "fulfilled":return a.value;
|
49
|
+
case "pending":case "blocked":return d=S,a.then(Xa(d,b,c),Ya(d)),null;default:throw a.reason;}}return d}function Za(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,d=new Map,e={_bundlerConfig:a,_prefix:b,_formData:c,_chunks:d,_fromJSON:function(g,f){return"string"===typeof f?Cb(e,this,g,f):f}};return e}function $a(a){Bb(a,Error("Connection closed."))}function ab(a,b,c){var d=Ra(a,b);a=Ta(d);return c?Promise.all([c,a]).then(function(e){e=e[0];var g=M(d);return g.bind.apply(g,
|
50
|
+
[null].concat(e))}):a?Promise.resolve(a).then(function(){return M(d)}):Promise.resolve(M(d))}function bb(a,b,c){a=Za(b,c,a);$a(a);a=T(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}var r=null,q=0,C=new TextEncoder,F=Symbol.for("react.client.reference"),V=Symbol.for("react.server.reference"),gb=Function.prototype.bind,hb=Array.prototype.slice,Db=Promise.prototype,ib={get:function(a,b,c){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;
|
51
|
+
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.");
|
52
|
+
},set:function(){throw Error("Cannot assign to a client module from a server module.");}},xa={get:function(a,b,c){return wa(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:wa(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(a){return Db},set:function(){throw Error("Cannot assign to a client module from a server module.");}},cb=N.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
53
|
+
y=cb.d;cb.d={f:y.f,r:y.r,D:function(a){if("string"===typeof a&&a){var b=l?l:null;if(b){var c=b.hints,d="D|"+a;c.has(d)||(c.add(d),n(b,"D",a))}else y.D(a)}},C:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var d=c.hints,e="C|"+(null==b?"null":b)+"|"+a;d.has(e)||(d.add(e),"string"===typeof b?n(c,"C",[a,b]):n(c,"C",a))}else y.C(a,b)}},L:function(a,b,c){if("string"===typeof a){var d=l?l:null;if(d){var e=d.hints,g="L";if("image"===b&&c){var f=c.imageSrcSet,k=c.imageSizes,h="";"string"===typeof f&&
|
54
|
+
""!==f?(h+="["+f+"]","string"===typeof k&&(h+="["+k+"]")):h+="[][]"+a;g+="[image]"+h}else g+="["+b+"]"+a;e.has(g)||(e.add(g),(c=O(c))?n(d,"L",[a,b,c]):n(d,"L",[a,b]))}else y.L(a,b,c)}},m:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var d=c.hints,e="m|"+a;if(d.has(e))return;d.add(e);return(b=O(b))?n(c,"m",[a,b]):n(c,"m",a)}y.m(a,b)}},X:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var d=c.hints,e="X|"+a;if(d.has(e))return;d.add(e);return(b=O(b))?n(c,"X",[a,b]):n(c,"X",a)}y.X(a,
|
55
|
+
b)}},S:function(a,b,c){if("string"===typeof a){var d=l?l:null;if(d){var e=d.hints,g="S|"+a;if(e.has(g))return;e.add(g);return(c=O(c))?n(d,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?n(d,"S",[a,b]):n(d,"S",a)}y.S(a,b,c)}},M:function(a,b){if("string"===typeof a){var c=l?l:null;if(c){var d=c.hints,e="M|"+a;if(d.has(e))return;d.add(e);return(b=O(b))?n(c,"M",[a,b]):n(c,"M",a)}y.M(a,b)}}};var ha=Symbol.for("react.temporary.reference"),kb={get:function(a,b,c){switch(b){case "$$typeof":return a.$$typeof;
|
55
56
|
case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");}throw Error("Cannot access "+
|
56
|
-
String(b)+" on the server. You cannot dot into a temporary client reference from a server component. You can only pass the value through to the client.");},set:function(){throw Error("Cannot assign to a temporary client reference from a server module.");}},z=Symbol.for("react.element"),
|
57
|
-
|
58
|
-
X=null,
|
59
|
-
useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=
|
60
|
-
}},Da={getCacheForType:function(a){var b=(b=l?l:null)?b.cache:new Map;var c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},
|
61
|
-
l=null,B=!1,aa={},
|
62
|
-
var
|
63
|
-
typeof
|
64
|
-
function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:
|
65
|
-
start:function(f){
|
57
|
+
String(b)+" on the server. You cannot dot into a temporary client reference from a server component. You can only pass the value through to the client.");},set:function(){throw Error("Cannot assign to a temporary client reference from a server module.");}},z=Symbol.for("react.element"),Ia=Symbol.for("react.fragment"),db=Symbol.for("react.context"),Ba=Symbol.for("react.forward_ref"),nb=Symbol.for("react.suspense"),ob=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),
|
58
|
+
Eb=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.postpone");var Na=Symbol.iterator,ia=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`"),
|
59
|
+
X=null,R=null,oa=0,G=null,yb={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:u,useTransition:u,readContext:ja,useContext:ja,useReducer:u,useRef:u,useState:u,useInsertionEffect:u,useLayoutEffect:u,useImperativeHandle:u,useEffect:u,useId:function(){if(null===R)throw Error("useId can only be used while React is rendering");var a=R.identifierCount++;return":"+R.identifierPrefix+"S"+a.toString(32)+":"},useSyncExternalStore:u,useCacheRefresh:function(){return mb},
|
60
|
+
useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Eb;return b},use:function(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=oa;oa+=1;null===G&&(G=[]);return lb(G,a,b)}a.$$typeof===db&&ja()}if(a.$$typeof===F){if(null!=a.value&&a.value.$$typeof===db)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));
|
61
|
+
}},Da={getCacheForType:function(a){var b=(b=l?l:null)?b.cache:new Map;var c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},la=Array.isArray,Oa=Object.getPrototypeOf,ma=Symbol.for("react.client.reference"),eb=fb.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;if(!eb)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 I=eb,xb=Object.prototype,K=JSON.stringify,
|
62
|
+
l=null,B=!1,aa={},ea=new Map,Ua=new Map,Fb=__webpack_require__.u;__webpack_require__.u=function(a){var b=Ua.get(a);return void 0!==b?b:Fb(a)};fa.prototype=Object.create(Promise.prototype);fa.prototype.then=function(a,b){switch(this.status){case "resolved_model":sa(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};
|
63
|
+
var S=null,x=null;p.createClientModuleProxy=function(a){a=E({},a,!1);return new Proxy(a,xa)};p.decodeAction=function(a,b){var c=new FormData,d=null;a.forEach(function(e,g){g.startsWith("$ACTION_")?g.startsWith("$ACTION_REF_")?(e="$ACTION_"+g.slice(12)+":",e=bb(a,b,e),d=ab(b,e.id,e.bound)):g.startsWith("$ACTION_ID_")&&(e=g.slice(11),d=ab(b,e,null)):c.append(g,e)});return null===d?null:d.then(function(e){return e.bind(null,c)})};p.decodeFormState=function(a,b,c){var d=b.get("$ACTION_KEY");if("string"!==
|
64
|
+
typeof d)return Promise.resolve(null);var e=null;b.forEach(function(f,k){k.startsWith("$ACTION_REF_")&&(f="$ACTION_"+k.slice(12)+":",e=bb(b,c,f))});if(null===e)return Promise.resolve(null);var g=e.id;return Promise.resolve(e.bound).then(function(f){return null===f?null:[a,d,g,f.length-1]})};p.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Za(b,"",a);b=T(a,0);$a(a);return b};p.registerClientReference=function(a,b,c){return E(a,b+"#"+c,!1)};p.registerServerReference=
|
65
|
+
function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:V},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:va,configurable:!0}})};p.renderToReadableStream=function(a,b,c){var d=rb(a,b,c?c.onError:void 0,c?c.identifierPrefix:void 0,c?c.onPostpone:void 0);if(c&&c.signal){var e=c.signal;if(e.aborted)ra(d,e.reason);else{var g=function(){ra(d,e.reason);e.removeEventListener("abort",g)};e.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",
|
66
|
+
start:function(f){d.flushScheduled=null!==d.destination;Ja(d)},pull:function(f){if(1===d.status)d.status=2,ua(f,d.fatalError);else if(2!==d.status&&null===d.destination){d.destination=f;try{da(d,f)}catch(k){w(d,k),qa(d,k)}}},cancel:function(f){d.destination=null;ra(d,f)}},{highWaterMark:0})}})})();
|