react-server-dom-webpack 18.3.0-next-b0671f9ea-20230130 → 18.3.0-next-0ba4698c7-20230201
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.development.js +56 -70
- package/cjs/react-server-dom-webpack-client.production.min.js +16 -16
- package/cjs/react-server-dom-webpack-server.browser.development.js +21 -20
- package/cjs/react-server-dom-webpack-server.browser.production.min.js +43 -42
- package/cjs/react-server-dom-webpack-server.node.development.js +24 -23
- package/cjs/react-server-dom-webpack-server.node.production.min.js +43 -43
- package/package.json +3 -3
- package/umd/react-server-dom-webpack-client.development.js +56 -70
- package/umd/react-server-dom-webpack-client.production.min.js +13 -13
- package/umd/react-server-dom-webpack-server.browser.development.js +21 -20
- package/umd/react-server-dom-webpack-server.browser.production.min.js +34 -34
@@ -165,7 +165,7 @@
|
|
165
165
|
var stringify = JSON.stringify;
|
166
166
|
|
167
167
|
function serializeRowHeader(tag, id) {
|
168
|
-
return
|
168
|
+
return id.toString(16) + ':' + tag;
|
169
169
|
}
|
170
170
|
|
171
171
|
function processErrorChunkProd(request, id, digest) {
|
@@ -192,26 +192,17 @@
|
|
192
192
|
}
|
193
193
|
function processModelChunk(request, id, model) {
|
194
194
|
var json = stringify(model, request.toJSON);
|
195
|
-
var row =
|
195
|
+
var row = id.toString(16) + ':' + json + '\n';
|
196
196
|
return stringToChunk(row);
|
197
197
|
}
|
198
198
|
function processReferenceChunk(request, id, reference) {
|
199
199
|
var json = stringify(reference);
|
200
|
-
var row =
|
200
|
+
var row = id.toString(16) + ':' + json + '\n';
|
201
201
|
return stringToChunk(row);
|
202
202
|
}
|
203
203
|
function processModuleChunk(request, id, moduleMetaData) {
|
204
204
|
var json = stringify(moduleMetaData);
|
205
|
-
var row = serializeRowHeader('
|
206
|
-
return stringToChunk(row);
|
207
|
-
}
|
208
|
-
function processProviderChunk(request, id, contextName) {
|
209
|
-
var row = serializeRowHeader('P', id) + contextName + '\n';
|
210
|
-
return stringToChunk(row);
|
211
|
-
}
|
212
|
-
function processSymbolChunk(request, id, name) {
|
213
|
-
var json = stringify(name);
|
214
|
-
var row = serializeRowHeader('S', id) + json + '\n';
|
205
|
+
var row = serializeRowHeader('I', id) + json + '\n';
|
215
206
|
return stringToChunk(row);
|
216
207
|
}
|
217
208
|
|
@@ -224,7 +215,7 @@
|
|
224
215
|
return reference.$$typeof === CLIENT_REFERENCE_TAG;
|
225
216
|
}
|
226
217
|
function resolveModuleMetaData(config, clientReference) {
|
227
|
-
var resolvedModuleData = config[clientReference.filepath][clientReference.name];
|
218
|
+
var resolvedModuleData = config.clientManifest[clientReference.filepath][clientReference.name];
|
228
219
|
|
229
220
|
if (clientReference.async) {
|
230
221
|
return {
|
@@ -1419,7 +1410,15 @@
|
|
1419
1410
|
}
|
1420
1411
|
|
1421
1412
|
function serializeByRefID(id) {
|
1422
|
-
return '
|
1413
|
+
return '$L' + id.toString(16);
|
1414
|
+
}
|
1415
|
+
|
1416
|
+
function serializeSymbolReference(name) {
|
1417
|
+
return '$S' + name;
|
1418
|
+
}
|
1419
|
+
|
1420
|
+
function serializeProviderReference(name) {
|
1421
|
+
return '$P' + name;
|
1423
1422
|
}
|
1424
1423
|
|
1425
1424
|
function serializeClientReference(request, parent, key, moduleReference) {
|
@@ -1475,7 +1474,7 @@
|
|
1475
1474
|
}
|
1476
1475
|
|
1477
1476
|
function escapeStringValue(value) {
|
1478
|
-
if (value[0] === '$'
|
1477
|
+
if (value[0] === '$') {
|
1479
1478
|
// We need to escape $ or @ prefixed strings since we use those to encode
|
1480
1479
|
// references to IDs and as special symbol values.
|
1481
1480
|
return '$' + value;
|
@@ -2062,12 +2061,14 @@
|
|
2062
2061
|
}
|
2063
2062
|
|
2064
2063
|
function emitSymbolChunk(request, id, name) {
|
2065
|
-
var
|
2064
|
+
var symbolReference = serializeSymbolReference(name);
|
2065
|
+
var processedChunk = processReferenceChunk(request, id, symbolReference);
|
2066
2066
|
request.completedModuleChunks.push(processedChunk);
|
2067
2067
|
}
|
2068
2068
|
|
2069
2069
|
function emitProviderChunk(request, id, contextName) {
|
2070
|
-
var
|
2070
|
+
var contextReference = serializeProviderReference(contextName);
|
2071
|
+
var processedChunk = processReferenceChunk(request, id, contextReference);
|
2071
2072
|
request.completedJSONChunks.push(processedChunk);
|
2072
2073
|
}
|
2073
2074
|
|
@@ -2344,8 +2345,8 @@
|
|
2344
2345
|
return rootContextSnapshot;
|
2345
2346
|
}
|
2346
2347
|
|
2347
|
-
function renderToReadableStream(model,
|
2348
|
-
var request = createRequest(model,
|
2348
|
+
function renderToReadableStream(model, webpackMaps, options) {
|
2349
|
+
var request = createRequest(model, webpackMaps, options ? options.onError : undefined, options ? options.context : undefined, options ? options.identifierPrefix : undefined);
|
2349
2350
|
|
2350
2351
|
if (options && options.signal) {
|
2351
2352
|
var signal = options.signal;
|
@@ -7,44 +7,44 @@
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
9
9
|
*/
|
10
|
-
(function(){'use strict';(function(r,
|
11
|
-
e),n),a.enqueue(p),c=c.subarray(e)),p=new Uint8Array(512),n=0);p.set(c,n);n+=c.length}return!0}function b(a){return
|
12
|
-
a){if(null!==e)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===e)throw Error("The stacks must reach the root at the same time. This is a bug in React.");H(a,e);c.context._currentValue=c.value}}}function
|
13
|
-
a.depth===c.depth?H(a,c):
|
14
|
-
value:c}}function
|
15
|
-
I)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=I;I=null;return a}function
|
16
|
-
function Da(a,c,e,d,b){if(null!==
|
17
|
-
e?
|
18
|
-
_payload:a,_init:
|
19
|
-
a=k(a._payload);return C(a,c,e,d,b);case
|
20
|
-
""),f=a.writtenModules,g=f.get(b);if(void 0!==g)return c[0]===t&&"1"===e?"
|
21
|
-
function
|
22
|
-
case sa:return M(a.type);case B:var c=a._payload;a=a._init;try{return M(a(c))}catch(e){}}return""}function w(a,c){var e=
|
23
|
-
f[g],l=JSON.stringify(h);b+=('"'+h+'"'===l?h:l)+": ";l=a[h];l="object"===typeof l&&null!==l?w(l):
|
24
|
-
d=f(d._payload)}}catch(g){b=g===
|
25
|
-
|
26
|
-
J)return
|
27
|
-
(d.description+") cannot be found among global symbols.")+w(c,b));a.pendingChunks++;b=a.nextChunkId++;c=
|
28
|
-
typeof c+'" instead');return c||""}function
|
29
|
-
f.thenableState;f.model=h;h=C(l.type,l.key,l.ref,l.props,m);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===t;)l=h,f.model=h,h=C(l.type,l.key,l.ref,l.props,null)}var n=f.id,p=
|
30
|
-
4;var w=
|
31
|
-
!N(c,f[d])){a.destination=null;d++;break}f.splice(0,d)}finally{p&&0<n&&(c.enqueue(new Uint8Array(p.buffer,0,n)),p=null,n=0)}0===a.pendingChunks&&c.close()}function
|
32
|
-
a.destination&&
|
33
|
-
|
34
|
-
"for"],["httpEquiv","http-equiv"]].forEach(function(a){new m(a[0],1,!1,a[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){new m(a,2,!1,a.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){new m(a,2,!1,a,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){new m(a,
|
35
|
-
3,!1,a.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(a){new m(a,3,!0,a,null,!1,!1)});["capture","download"].forEach(function(a){new m(a,4,!1,a,null,!1,!1)});["cols","rows","size","span"].forEach(function(a){new m(a,6,!1,a,null,!1,!1)});["rowSpan","start"].forEach(function(a){new m(a,5,!1,a.toLowerCase(),null,!1,!1)});var
|
36
|
-
a.replace(
|
37
|
-
!0,!1);["src","href","action","formAction"].forEach(function(a){new m(a,1,!1,a.toLowerCase(),null,!0,!0)});var
|
38
|
-
fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},
|
10
|
+
(function(){'use strict';(function(r,y){"object"===typeof exports&&"undefined"!==typeof module?y(exports,require("react-dom")):"function"===typeof define&&define.amd?define(["exports","react","react-dom"],y):(r=r||self,y(r.ReactServerDOMServer={},r.React,r.ReactDOM))})(this,function(r,y,F){function N(a,c){if(0!==c.length)if(512<c.length)0<n&&(a.enqueue(new Uint8Array(p.buffer,0,n)),p=new Uint8Array(512),n=0),a.enqueue(c);else{var e=p.length-n;e<c.length&&(0===e?a.enqueue(p):(p.set(c.subarray(0,
|
11
|
+
e),n),a.enqueue(p),c=c.subarray(e)),p=new Uint8Array(512),n=0);p.set(c,n);n+=c.length}return!0}function b(a){return z.encode(a)}function da(a,c){"function"===typeof a.error?a.error(c):a.close()}function O(a,c,e){a=G(e);c=c.toString(16)+":"+a+"\n";return z.encode(c)}function m(a,c,e,d,b,f,g){this.acceptsBooleans=2===c||3===c||4===c;this.attributeName=d;this.attributeNamespace=b;this.mustUseProperty=e;this.propertyName=a;this.type=c;this.sanitizeURL=f;this.removeEmptyString=g}function H(a,c){if(a!==
|
12
|
+
c){a.context._currentValue=a.parentValue;a=a.parent;var e=c.parent;if(null===a){if(null!==e)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===e)throw Error("The stacks must reach the root at the same time. This is a bug in React.");H(a,e);c.context._currentValue=c.value}}}function ea(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&ea(a)}function fa(a){var c=a.parent;null!==c&&fa(c);a.context._currentValue=a.value}function ha(a,c){a.context._currentValue=
|
13
|
+
a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===c.depth?H(a,c):ha(a,c)}function ia(a,c){var e=c.parent;if(null===e)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===e.depth?H(a,e):ia(a,e);c.context._currentValue=c.value}function P(a){var c=u;c!==a&&(null===c?fa(a):null===a?ea(c):c.depth===a.depth?H(c,a):c.depth>a.depth?ha(c,a):ia(c,a),
|
14
|
+
u=a)}function ja(a,c){var e=a._currentValue;a._currentValue=c;var d=u;return u=a={parent:d,depth:null===d?0:d.depth+1,context:a,parentValue:e,value:c}}function ka(){}function Ba(a,c,e){e=a[e];void 0===e?a.push(c):e!==c&&(c.then(ka,ka),c=e);switch(c.status){case "fulfilled":return c.value;case "rejected":throw c.reason;default:if("string"!==typeof c.status)switch(a=c,a.status="pending",a.then(function(a){if("pending"===c.status){var d=c;d.status="fulfilled";d.value=a}},function(a){if("pending"===c.status){var d=
|
15
|
+
c;d.status="rejected";d.reason=a}}),c.status){case "fulfilled":return c.value;case "rejected":throw c.reason;}I=c;throw Q;}}function la(){if(null===I)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=I;I=null;return a}function ma(){var a=v;v=null;return a}function na(a){return a._currentValue}function q(){throw Error("This Hook is not supported in Server Components.");}function Ca(){throw Error("Refreshing the cache is not supported in Server Components.");
|
16
|
+
}function R(){return(new AbortController).signal}function oa(){if(A)return A;if(S){var a=pa.getStore();if(a)return a}return new Map}function Da(a){console.error(a)}function Ea(a,c,e,d,b){if(null!==T.current&&T.current!==qa)throw Error("Currently React only supports one RSC renderer at a time.");T.current=qa;var k=new Set,g=[],h={status:0,fatalError:null,destination:null,bundlerConfig:c,cache:new Map,nextChunkId:0,pendingChunks:0,abortableTasks:k,pingedTasks:g,completedModuleChunks:[],completedJSONChunks:[],
|
17
|
+
completedErrorChunks:[],writtenSymbols:new Map,writtenModules:new Map,writtenProviders:new Map,identifierPrefix:b||"",identifierCount:1,onError:void 0===e?Da:e,toJSON:function(a,c){return Fa(h,this,a,c)}};h.pendingChunks++;c=Ga(d);a=ra(h,a,c,k);g.push(a);return h}function Ha(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function Ia(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(c){"pending"===
|
18
|
+
a.status&&(a.status="fulfilled",a.value=c)},function(c){"pending"===a.status&&(a.status="rejected",a.reason=c)}))}return{$$typeof:B,_payload:a,_init:Ha}}function C(a,c,e,d,b){if(null!==e&&void 0!==e)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof a){if(a.$$typeof===J)return[t,a,c,d];K=0;v=b;d=a(d);return"object"===typeof d&&null!==d&&"function"===typeof d.then?Ia(d):d}if("string"===typeof a)return[t,a,c,d];if("symbol"===typeof a)return a===
|
19
|
+
Ja?d.children:[t,a,c,d];if(null!=a&&"object"===typeof a){if(a.$$typeof===J)return[t,a,c,d];switch(a.$$typeof){case B:var k=a._init;a=k(a._payload);return C(a,c,e,d,b);case sa:return c=a.render,K=0,v=b,c(d,void 0);case ta:return C(a.type,c,e,d,b);case ua:return ja(a._context,d.value),[t,a,c,{value:d.value,children:d.children,__pop:va}]}}throw Error("Unsupported Server Component type: "+U(a));}function ra(a,c,e,d){var b={id:a.nextChunkId++,status:0,model:c,context:e,ping:function(){var c=a.pingedTasks;
|
20
|
+
c.push(b);1===c.length&&V(a)},thenableState:null};d.add(b);return b}function wa(a,c,e,d){var b=d.filepath+"#"+d.name+(d.async?"#async":""),f=a.writtenModules,g=f.get(b);if(void 0!==g)return c[0]===t&&"1"===e?"$L"+g.toString(16):"$"+g.toString(16);try{var h=a.bundlerConfig.clientManifest[d.filepath][d.name];var l=d.async?{id:h.id,chunks:h.chunks,name:h.name,async:!0}:h;a.pendingChunks++;var m=a.nextChunkId++,n=G(l),p=m.toString(16)+":I"+n+"\n";var q=z.encode(p);a.completedModuleChunks.push(q);f.set(b,
|
21
|
+
m);return c[0]===t&&"1"===e?"$L"+m.toString(16):"$"+m.toString(16)}catch(Ka){return a.pendingChunks++,c=a.nextChunkId++,e=x(a,Ka),L(a,c,e),"$"+c.toString(16)}}function xa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(a,e){return e})}function U(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.substr(0,10)+"...");case "object":if(ya(a))return"[...]";a=xa(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}}
|
22
|
+
function M(a){if("string"===typeof a)return a;switch(a){case La:return"Suspense";case Ma:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case sa:return M(a.render);case ta:return M(a.type);case B:var c=a._payload;a=a._init;try{return M(a(c))}catch(e){}}return""}function w(a,c){var e=xa(a);if("Object"!==e&&"Array"!==e)return e;e=-1;var d=0;if(ya(a)){var b="[";for(var f=0;f<a.length;f++){0<f&&(b+=", ");var g=a[f];g="object"===typeof g&&null!==g?w(g):U(g);""+f===c?(e=b.length,d=g.length,
|
23
|
+
b+=g):b=10>g.length&&40>b.length+g.length?b+g:b+"..."}b+="]"}else if(a.$$typeof===t)b="<"+M(a.type)+"/>";else{b="{";f=Object.keys(a);for(g=0;g<f.length;g++){0<g&&(b+=", ");var h=f[g],l=JSON.stringify(h);b+=('"'+h+'"'===l?h:l)+": ";l=a[h];l="object"===typeof l&&null!==l?w(l):U(l);h===c?(e=b.length,d=l.length,b+=l):b=10>l.length&&40>b.length+l.length?b+l:b+"..."}b+="}"}return void 0===c?b:-1<e&&0<d?(a=" ".repeat(e)+"^".repeat(d),"\n "+b+"\n "+a):"\n "+b}function Fa(a,c,b,d){switch(d){case t:return"$"}for(;"object"===
|
24
|
+
typeof d&&null!==d&&(d.$$typeof===t||d.$$typeof===B);)try{switch(d.$$typeof){case t:var e=d;d=C(e.type,e.key,e.ref,e.props,null);break;case B:var f=d._init;d=f(d._payload)}}catch(g){b=g===Q?la():g;if("object"===typeof b&&null!==b&&"function"===typeof b.then)return a.pendingChunks++,a=ra(a,d,u,a.abortableTasks),d=a.ping,b.then(d,d),a.thenableState=ma(),"$L"+a.id.toString(16);a.pendingChunks++;d=a.nextChunkId++;b=x(a,b);L(a,d,b);return"$L"+d.toString(16)}if(null===d)return null;if("object"===typeof d){if(d.$$typeof===
|
25
|
+
J)return wa(a,c,b,d);if(d.$$typeof===ua)return d=d._context._globalName,c=a.writtenProviders,b=c.get(b),void 0===b&&(a.pendingChunks++,b=a.nextChunkId++,c.set(d,b),d=O(a,b,"$P"+d),a.completedJSONChunks.push(d)),"$"+b.toString(16);if(d===va){a=u;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");d=a.parentValue;a.context._currentValue=d===za?a.context._defaultValue:d;u=a.parent;return}return d}if("string"===typeof d)return a="$"===d[0]?"$"+d:d,a;if("boolean"===
|
26
|
+
typeof d||"number"===typeof d||"undefined"===typeof d)return d;if("function"===typeof d){if(d.$$typeof===J)return wa(a,c,b,d);if(/^on[A-Z]/.test(b))throw Error("Event handlers cannot be passed to Client Component props."+w(c,b)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error("Functions cannot be passed directly to Client Components because they're not serializable."+w(c,b));}if("symbol"===typeof d){e=a.writtenSymbols;f=e.get(d);if(void 0!==f)return"$"+
|
27
|
+
f.toString(16);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.")+w(c,b));a.pendingChunks++;b=a.nextChunkId++;c=O(a,b,"$S"+f);a.completedModuleChunks.push(c);e.set(d,b);return"$"+b.toString(16)}if("bigint"===typeof d)throw Error("BigInt ("+d+") is not yet supported in Client Component props."+w(c,b));throw Error("Type "+typeof d+" is not supported in Client Component props."+
|
28
|
+
w(c,b));}function x(a,c){a=a.onError;c=a(c);if(null!=c&&"string"!==typeof c)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 c+'" instead');return c||""}function W(a,c){null!==a.destination?(a.status=2,da(a.destination,c)):(a.status=1,a.fatalError=c)}function L(a,c,b){b={digest:b};c=c.toString(16)+":E"+G(b)+"\n";c=z.encode(c);a.completedErrorChunks.push(c)}
|
29
|
+
function V(a){var c=X.current,b=A;X.current=Na;A=a.cache;D=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var k=0;k<d.length;k++){var f=d[k];var g=a;if(0===f.status){P(f.context);try{var h=f.model;if("object"===typeof h&&null!==h&&h.$$typeof===t){var l=h,m=f.thenableState;f.model=h;h=C(l.type,l.key,l.ref,l.props,m);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===t;)l=h,f.model=h,h=C(l.type,l.key,l.ref,l.props,null)}var n=f.id,p=G(h,g.toJSON),q=n.toString(16)+":"+p+"\n";var u=
|
30
|
+
z.encode(q);g.completedJSONChunks.push(u);g.abortableTasks.delete(f);f.status=1}catch(E){var r=E===Q?la():E;if("object"===typeof r&&null!==r&&"function"===typeof r.then){var v=f.ping;r.then(v,v);f.thenableState=ma()}else{g.abortableTasks.delete(f);f.status=4;var w=x(g,r);L(g,f.id,w)}}}}null!==a.destination&&Y(a,a.destination)}catch(E){x(a,E),W(a,E)}finally{X.current=c,A=b,D=null}}function Y(a,c){p=new Uint8Array(512);n=0;try{for(var b=a.completedModuleChunks,d=0;d<b.length;d++)if(a.pendingChunks--,
|
31
|
+
!N(c,b[d])){a.destination=null;d++;break}b.splice(0,d);var k=a.completedJSONChunks;for(d=0;d<k.length;d++)if(a.pendingChunks--,!N(c,k[d])){a.destination=null;d++;break}k.splice(0,d);var f=a.completedErrorChunks;for(d=0;d<f.length;d++)if(a.pendingChunks--,!N(c,f[d])){a.destination=null;d++;break}f.splice(0,d)}finally{p&&0<n&&(c.enqueue(new Uint8Array(p.buffer,0,n)),p=null,n=0)}0===a.pendingChunks&&c.close()}function Aa(a,c){try{var b=a.abortableTasks;if(0<b.size){var d=x(a,void 0===c?Error("The render was aborted by the server without a reason."):
|
32
|
+
c);a.pendingChunks++;var k=a.nextChunkId++;L(a,k,d);b.forEach(function(b){b.status=3;var c="$"+k.toString(16);b=O(a,b.id,c);a.completedErrorChunks.push(b)});b.clear()}null!==a.destination&&Y(a,a.destination)}catch(f){x(a,f),W(a,f)}}function Ga(a){if(a){var b=u;P(null);for(var e=0;e<a.length;e++){var d=a[e],k=d[0];d=d[1];Z[k]||(Z[k]=y.createServerContext(k,za));ja(Z[k],d)}a=u;P(b);return a}return null}var S="function"===typeof AsyncLocalStorage,pa=S?new AsyncLocalStorage:null,p=null,n=0,z=new TextEncoder,
|
33
|
+
G=JSON.stringify,J=Symbol.for("react.client.reference"),t=Symbol.for("react.element"),Ja=Symbol.for("react.fragment"),ua=Symbol.for("react.provider"),Oa=Symbol.for("react.server_context"),sa=Symbol.for("react.forward_ref"),La=Symbol.for("react.suspense"),Ma=Symbol.for("react.suspense_list"),ta=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),za=Symbol.for("react.default_value"),Pa=Symbol.for("react.memo_cache_sentinel");"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){new m(a,
|
34
|
+
0,!1,a,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){new m(a[0],1,!1,a[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){new m(a,2,!1,a.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){new m(a,2,!1,a,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){new m(a,
|
35
|
+
3,!1,a.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(a){new m(a,3,!0,a,null,!1,!1)});["capture","download"].forEach(function(a){new m(a,4,!1,a,null,!1,!1)});["cols","rows","size","span"].forEach(function(a){new m(a,6,!1,a,null,!1,!1)});["rowSpan","start"].forEach(function(a){new m(a,5,!1,a.toLowerCase(),null,!1,!1)});var aa=/[\-:]([a-z])/g,ba=function(a){return a[1].toUpperCase()};"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=
|
36
|
+
a.replace(aa,ba);new m(b,1,!1,a,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(aa,ba);new m(b,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(aa,ba);new m(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(a){new m(a,1,!1,a.toLowerCase(),null,!1,!1)});new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",
|
37
|
+
!0,!1);["src","href","action","formAction"].forEach(function(a){new m(a,1,!1,a.toLowerCase(),null,!0,!0)});var ca={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,
|
38
|
+
fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Qa=["Webkit","ms","Moz","O"];Object.keys(ca).forEach(function(a){Qa.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);ca[b]=ca[a]})});var ya=Array.isArray;b('"></template>');b("<script>");b("\x3c/script>");b('<script src="');b('<script type="module" src="');
|
39
39
|
b('" integrity="');b('" async="">\x3c/script>');b("\x3c!-- --\x3e");b(' style="');b(":");b(";");b(" ");b('="');b('"');b('=""');b(">");b("/>");b(' selected=""');b("\n");b("<!DOCTYPE html>");b("</");b(">");b('<template id="');b('"></template>');b("\x3c!--$--\x3e");b('\x3c!--$?--\x3e<template id="');b('"></template>');b("\x3c!--$!--\x3e");b("\x3c!--/$--\x3e");b("<template");b('"');b(' data-dgst="');b(' data-msg="');b(' data-stck="');b("></template>");b('<div hidden id="');b('">');b("</div>");b('<svg aria-hidden="true" style="display:none" id="');
|
40
40
|
b('">');b("</svg>");b('<math aria-hidden="true" style="display:none" id="');b('">');b("</math>");b('<table hidden id="');b('">');b("</table>");b('<table hidden><tbody id="');b('">');b("</tbody></table>");b('<table hidden><tr id="');b('">');b("</tr></table>");b('<table hidden><colgroup id="');b('">');b("</colgroup></table>");b('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};;$RS("');
|
41
41
|
b('$RS("');b('","');b('")\x3c/script>');b('<template data-rsi="" data-sid="');b('" data-pid="');b('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};;$RC("');
|
42
42
|
b('$RC("');b('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};;$RM=new Map;\n$RR=function(p,q,v){function r(l){this.s=l}for(var t=$RC,u=$RM,m=new Map,n=document,g,e,f=n.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;e=f[d++];)m.set(e.dataset.precedence,g=e);e=0;f=[];for(var c,h,b,a;c=v[e++];){var k=0;h=c[k++];if(b=u.get(h))"l"!==b.s&&f.push(b);else{a=n.createElement("link");a.href=h;a.rel="stylesheet";for(a.dataset.precedence=d=c[k++];b=c[k++];)a.setAttribute(b,c[k++]);b=a._p=new Promise(function(l,w){a.onload=l;a.onerror=w});b.then(r.bind(b,\n"l"),r.bind(b,"e"));u.set(h,b);f.push(b);c=m.get(d)||g;c===g&&(g=a);m.set(d,a);c?c.parentNode.insertBefore(a,c.nextSibling):(d=n.head,d.insertBefore(a,d.firstChild))}}Promise.all(f).then(t.bind(null,p,q,""),t.bind(null,p,q,"Resource failed to load"))};;$RR("');
|
43
43
|
b('$RM=new Map;\n$RR=function(p,q,v){function r(l){this.s=l}for(var t=$RC,u=$RM,m=new Map,n=document,g,e,f=n.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;e=f[d++];)m.set(e.dataset.precedence,g=e);e=0;f=[];for(var c,h,b,a;c=v[e++];){var k=0;h=c[k++];if(b=u.get(h))"l"!==b.s&&f.push(b);else{a=n.createElement("link");a.href=h;a.rel="stylesheet";for(a.dataset.precedence=d=c[k++];b=c[k++];)a.setAttribute(b,c[k++]);b=a._p=new Promise(function(l,w){a.onload=l;a.onerror=w});b.then(r.bind(b,\n"l"),r.bind(b,"e"));u.set(h,b);f.push(b);c=m.get(d)||g;c===g&&(g=a);m.set(d,a);c?c.parentNode.insertBefore(a,c.nextSibling):(d=n.head,d.insertBefore(a,d.firstChild))}}Promise.all(f).then(t.bind(null,p,q,""),t.bind(null,p,q,"Resource failed to load"))};;$RR("');
|
44
44
|
b('$RR("');b('","');b('",');b('"');b(")\x3c/script>");b('<template data-rci="" data-bid="');b('<template data-rri="" data-bid="');b('" data-sid="');b('" data-sty="');b('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("');b('$RX("');b('"');b(",");b(")\x3c/script>");b('<template data-rxi="" data-bid="');b('" data-dgst="');b('" data-msg="');b('" data-stck="');b('<style data-precedence="');
|
45
|
-
b('"></style>');b("[");b(",[");b(",");b("]");var u=null,
|
46
|
-
null,
|
47
|
-
useMemoCache:function(a){for(var b=Array(a),e=0;e<a;e++)b[e]=
|
48
|
-
e));return e}},A=null;
|
49
|
-
|
45
|
+
b('"></style>');b("[");b(",[");b(",");b("]");var u=null,Q=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`"),I=null,D=null,K=0,v=
|
46
|
+
null,Na={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:q,useTransition:q,readContext:na,useContext:na,useReducer:q,useRef:q,useState:q,useInsertionEffect:q,useLayoutEffect:q,useImperativeHandle:q,useEffect:q,useId:function(){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)+":"},useMutableSource:q,useSyncExternalStore:q,useCacheRefresh:function(){return Ca},
|
47
|
+
useMemoCache:function(a){for(var b=Array(a),e=0;e<a;e++)b[e]=Pa;return b},use:function(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=K;K+=1;null===v&&(v=[]);return Ba(v,a,b)}if(a.$$typeof===Oa)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}},qa={getCacheSignal:function(){var a=oa(),b=a.get(R);void 0===b&&(b=R(),a.set(R,b));return b},getCacheForType:function(a){var b=oa(),e=b.get(a);void 0===e&&(e=a(),b.set(a,
|
48
|
+
e));return e}},A=null;F=y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;var Z=F.ContextRegistry,X=F.ReactCurrentDispatcher,T=F.ReactCurrentCache,va={};r.renderToReadableStream=function(a,b,e){var c=Ea(a,b,e?e.onError:void 0,e?e.context:void 0,e?e.identifierPrefix:void 0);if(e&&e.signal){var k=e.signal;if(k.aborted)Aa(c,k.reason);else{var f=function(){Aa(c,k.reason);k.removeEventListener("abort",f)};k.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(a){S?pa.run(c.cache,
|
49
|
+
V,c):V(c)},pull:function(a){if(1===c.status)c.status=2,da(a,c.fatalError);else if(2!==c.status&&null===c.destination){c.destination=a;try{Y(c,a)}catch(h){x(c,h),W(c,h)}}},cancel:function(a){}},{highWaterMark:0})}});
|
50
50
|
})();
|