react-server-dom-webpack 18.3.0-next-0ba4698c7-20230201 → 18.3.0-next-2ef24145e-20230202

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.
@@ -1218,6 +1218,81 @@
1218
1218
  var jsxPropsParents = new WeakMap();
1219
1219
  var jsxChildrenParents = new WeakMap();
1220
1220
 
1221
+ function serializeThenable(request, thenable) {
1222
+ request.pendingChunks++;
1223
+ var newTask = createTask(request, null, getActiveContext(), request.abortableTasks);
1224
+
1225
+ switch (thenable.status) {
1226
+ case 'fulfilled':
1227
+ {
1228
+ // We have the resolved value, we can go ahead and schedule it for serialization.
1229
+ newTask.model = thenable.value;
1230
+ pingTask(request, newTask);
1231
+ return newTask.id;
1232
+ }
1233
+
1234
+ case 'rejected':
1235
+ {
1236
+ var x = thenable.reason;
1237
+ var digest = logRecoverableError(request, x);
1238
+
1239
+ {
1240
+ var _getErrorMessageAndSt = getErrorMessageAndStackDev(x),
1241
+ message = _getErrorMessageAndSt.message,
1242
+ stack = _getErrorMessageAndSt.stack;
1243
+
1244
+ emitErrorChunkDev(request, newTask.id, digest, message, stack);
1245
+ }
1246
+
1247
+ return newTask.id;
1248
+ }
1249
+
1250
+ default:
1251
+ {
1252
+ if (typeof thenable.status === 'string') {
1253
+ // Only instrument the thenable if the status if not defined. If
1254
+ // it's defined, but an unknown value, assume it's been instrumented by
1255
+ // some custom userspace implementation. We treat it as "pending".
1256
+ break;
1257
+ }
1258
+
1259
+ var pendingThenable = thenable;
1260
+ pendingThenable.status = 'pending';
1261
+ pendingThenable.then(function (fulfilledValue) {
1262
+ if (thenable.status === 'pending') {
1263
+ var fulfilledThenable = thenable;
1264
+ fulfilledThenable.status = 'fulfilled';
1265
+ fulfilledThenable.value = fulfilledValue;
1266
+ }
1267
+ }, function (error) {
1268
+ if (thenable.status === 'pending') {
1269
+ var rejectedThenable = thenable;
1270
+ rejectedThenable.status = 'rejected';
1271
+ rejectedThenable.reason = error;
1272
+ }
1273
+ });
1274
+ break;
1275
+ }
1276
+ }
1277
+
1278
+ thenable.then(function (value) {
1279
+ newTask.model = value;
1280
+ pingTask(request, newTask);
1281
+ }, function (reason) {
1282
+ // TODO: Is it safe to directly emit these without being inside a retry?
1283
+ var digest = logRecoverableError(request, reason);
1284
+
1285
+ {
1286
+ var _getErrorMessageAndSt2 = getErrorMessageAndStackDev(reason),
1287
+ _message = _getErrorMessageAndSt2.message,
1288
+ _stack = _getErrorMessageAndSt2.stack;
1289
+
1290
+ emitErrorChunkDev(request, newTask.id, digest, _message, _stack);
1291
+ }
1292
+ });
1293
+ return newTask.id;
1294
+ }
1295
+
1221
1296
  function readThenable(thenable) {
1222
1297
  if (thenable.status === 'fulfilled') {
1223
1298
  return thenable.value;
@@ -1274,7 +1349,7 @@
1274
1349
  return lazyType;
1275
1350
  }
1276
1351
 
1277
- function attemptResolveElement(type, key, ref, props, prevThenableState) {
1352
+ function attemptResolveElement(request, type, key, ref, props, prevThenableState) {
1278
1353
  if (ref !== null && ref !== undefined) {
1279
1354
  // When the ref moves to the regular props object this will implicitly
1280
1355
  // throw for functions. We could probably relax it to a DEV warning for other
@@ -1301,6 +1376,16 @@
1301
1376
  var result = type(props);
1302
1377
 
1303
1378
  if (typeof result === 'object' && result !== null && typeof result.then === 'function') {
1379
+ // When the return value is in children position we can resolve it immediately,
1380
+ // to its value without a wrapper if it's synchronously available.
1381
+ var thenable = result;
1382
+
1383
+ if (thenable.status === 'fulfilled') {
1384
+ return thenable.value;
1385
+ } // TODO: Once we accept Promises as children on the client, we can just return
1386
+ // the thenable here.
1387
+
1388
+
1304
1389
  return createLazyWrapperAroundWakeable(result);
1305
1390
  }
1306
1391
 
@@ -1332,7 +1417,7 @@
1332
1417
  var payload = type._payload;
1333
1418
  var init = type._init;
1334
1419
  var wrappedType = init(payload);
1335
- return attemptResolveElement(wrappedType, key, ref, props, prevThenableState);
1420
+ return attemptResolveElement(request, wrappedType, key, ref, props, prevThenableState);
1336
1421
  }
1337
1422
 
1338
1423
  case REACT_FORWARD_REF_TYPE:
@@ -1344,7 +1429,7 @@
1344
1429
 
1345
1430
  case REACT_MEMO_TYPE:
1346
1431
  {
1347
- return attemptResolveElement(type.type, key, ref, props, prevThenableState);
1432
+ return attemptResolveElement(request, type.type, key, ref, props, prevThenableState);
1348
1433
  }
1349
1434
 
1350
1435
  case REACT_PROVIDER_TYPE:
@@ -1409,10 +1494,14 @@
1409
1494
  return '$' + id.toString(16);
1410
1495
  }
1411
1496
 
1412
- function serializeByRefID(id) {
1497
+ function serializeLazyID(id) {
1413
1498
  return '$L' + id.toString(16);
1414
1499
  }
1415
1500
 
1501
+ function serializePromiseID(id) {
1502
+ return '$@' + id.toString(16);
1503
+ }
1504
+
1416
1505
  function serializeSymbolReference(name) {
1417
1506
  return '$S' + name;
1418
1507
  }
@@ -1433,7 +1522,7 @@
1433
1522
  // knows how to deal with lazy values. This lets us suspend
1434
1523
  // on this component rather than its parent until the code has
1435
1524
  // loaded.
1436
- return serializeByRefID(existingId);
1525
+ return serializeLazyID(existingId);
1437
1526
  }
1438
1527
 
1439
1528
  return serializeByValueID(existingId);
@@ -1452,7 +1541,7 @@
1452
1541
  // knows how to deal with lazy values. This lets us suspend
1453
1542
  // on this component rather than its parent until the code has
1454
1543
  // loaded.
1455
- return serializeByRefID(moduleId);
1544
+ return serializeLazyID(moduleId);
1456
1545
  }
1457
1546
 
1458
1547
  return serializeByValueID(moduleId);
@@ -1462,9 +1551,9 @@
1462
1551
  var digest = logRecoverableError(request, x);
1463
1552
 
1464
1553
  {
1465
- var _getErrorMessageAndSt = getErrorMessageAndStackDev(x),
1466
- message = _getErrorMessageAndSt.message,
1467
- stack = _getErrorMessageAndSt.stack;
1554
+ var _getErrorMessageAndSt3 = getErrorMessageAndStackDev(x),
1555
+ message = _getErrorMessageAndSt3.message,
1556
+ stack = _getErrorMessageAndSt3.stack;
1468
1557
 
1469
1558
  emitErrorChunkDev(request, errorId, digest, message, stack);
1470
1559
  }
@@ -1846,7 +1935,7 @@
1846
1935
  // TODO: Concatenate keys of parents onto children.
1847
1936
  var element = value; // Attempt to render the Server Component.
1848
1937
 
1849
- value = attemptResolveElement(element.type, element.key, element.ref, element.props, null);
1938
+ value = attemptResolveElement(request, element.type, element.key, element.ref, element.props, null);
1850
1939
  break;
1851
1940
  }
1852
1941
 
@@ -1873,7 +1962,7 @@
1873
1962
  var ping = newTask.ping;
1874
1963
  x.then(ping, ping);
1875
1964
  newTask.thenableState = getThenableStateAfterSuspending();
1876
- return serializeByRefID(newTask.id);
1965
+ return serializeLazyID(newTask.id);
1877
1966
  } else {
1878
1967
  // Something errored. We'll still send everything we have up until this point.
1879
1968
  // We'll replace this element with a lazy reference that throws on the client
@@ -1883,14 +1972,14 @@
1883
1972
  var digest = logRecoverableError(request, x);
1884
1973
 
1885
1974
  {
1886
- var _getErrorMessageAndSt2 = getErrorMessageAndStackDev(x),
1887
- message = _getErrorMessageAndSt2.message,
1888
- stack = _getErrorMessageAndSt2.stack;
1975
+ var _getErrorMessageAndSt4 = getErrorMessageAndStackDev(x),
1976
+ message = _getErrorMessageAndSt4.message,
1977
+ stack = _getErrorMessageAndSt4.stack;
1889
1978
 
1890
1979
  emitErrorChunkDev(request, errorId, digest, message, stack);
1891
1980
  }
1892
1981
 
1893
- return serializeByRefID(errorId);
1982
+ return serializeLazyID(errorId);
1894
1983
  }
1895
1984
  }
1896
1985
  }
@@ -1902,6 +1991,11 @@
1902
1991
  if (typeof value === 'object') {
1903
1992
  if (isClientReference(value)) {
1904
1993
  return serializeClientReference(request, parent, key, value);
1994
+ } else if (typeof value.then === 'function') {
1995
+ // We assume that any object with a .then property is a "Thenable" type,
1996
+ // or a Promise type. Either of which can be represented by a Promise.
1997
+ var promiseId = serializeThenable(request, value);
1998
+ return serializePromiseID(promiseId);
1905
1999
  } else if (value.$$typeof === REACT_PROVIDER_TYPE) {
1906
2000
  var providerKey = value._context._globalName;
1907
2001
  var writtenProviders = request.writtenProviders;
@@ -2093,7 +2187,7 @@
2093
2187
  // also suspends.
2094
2188
 
2095
2189
  task.model = value;
2096
- value = attemptResolveElement(element.type, element.key, element.ref, element.props, prevThenableState); // Successfully finished this component. We're going to keep rendering
2190
+ value = attemptResolveElement(request, element.type, element.key, element.ref, element.props, prevThenableState); // Successfully finished this component. We're going to keep rendering
2097
2191
  // using the same task, but we reset its thenable state before continuing.
2098
2192
 
2099
2193
  task.thenableState = null; // Keep rendering and reuse the same task. This inner loop is separate
@@ -2104,7 +2198,7 @@
2104
2198
  // TODO: Concatenate keys of parents onto children.
2105
2199
  var nextElement = value;
2106
2200
  task.model = value;
2107
- value = attemptResolveElement(nextElement.type, nextElement.key, nextElement.ref, nextElement.props, null);
2201
+ value = attemptResolveElement(request, nextElement.type, nextElement.key, nextElement.ref, nextElement.props, null);
2108
2202
  }
2109
2203
  }
2110
2204
 
@@ -2132,9 +2226,9 @@
2132
2226
  var digest = logRecoverableError(request, x);
2133
2227
 
2134
2228
  {
2135
- var _getErrorMessageAndSt3 = getErrorMessageAndStackDev(x),
2136
- message = _getErrorMessageAndSt3.message,
2137
- stack = _getErrorMessageAndSt3.stack;
2229
+ var _getErrorMessageAndSt5 = getErrorMessageAndStackDev(x),
2230
+ message = _getErrorMessageAndSt5.message,
2231
+ stack = _getErrorMessageAndSt5.stack;
2138
2232
 
2139
2233
  emitErrorChunkDev(request, task.id, digest, message, stack);
2140
2234
  }
@@ -2300,9 +2394,9 @@
2300
2394
  var errorId = request.nextChunkId++;
2301
2395
 
2302
2396
  if (true) {
2303
- var _getErrorMessageAndSt4 = getErrorMessageAndStackDev(error),
2304
- message = _getErrorMessageAndSt4.message,
2305
- stack = _getErrorMessageAndSt4.stack;
2397
+ var _getErrorMessageAndSt6 = getErrorMessageAndStackDev(error),
2398
+ message = _getErrorMessageAndSt6.message,
2399
+ stack = _getErrorMessageAndSt6.stack;
2306
2400
 
2307
2401
  emitErrorChunkDev(request, errorId, digest, message, stack);
2308
2402
  } else {
@@ -7,44 +7,46 @@
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
9
  */
10
- (function(){'use strict';(function(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="');
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,G){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 A.encode(a)}function fa(a,c){"function"===typeof a.error?a.error(c):a.close()}function O(a,c,e){a=H(e);c=c.toString(16)+":"+a+"\n";return A.encode(c)}function l(a,c,e,d,m,b,g){this.acceptsBooleans=2===c||3===c||4===c;this.attributeName=d;this.attributeNamespace=m;this.mustUseProperty=e;this.propertyName=a;this.type=c;this.sanitizeURL=b;this.removeEmptyString=g}function I(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.");I(a,e);c.context._currentValue=c.value}}}function ha(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&ha(a)}function ia(a){var c=a.parent;null!==c&&ia(c);a.context._currentValue=a.value}function ja(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?I(a,c):ja(a,c)}function ka(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?I(a,e):ka(a,e);c.context._currentValue=c.value}function P(a){var c=u;c!==a&&(null===c?ia(a):null===a?ha(c):c.depth===a.depth?I(c,a):c.depth>a.depth?ja(c,a):ka(c,a),
14
+ u=a)}function la(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 ma(){}function Ca(a,c,e){e=a[e];void 0===e?a.push(c):e!==c&&(c.then(ma,ma),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 e=c;e.status="fulfilled";e.value=a}},function(a){if("pending"===c.status){var e=
15
+ c;e.status="rejected";e.reason=a}}),c.status){case "fulfilled":return c.value;case "rejected":throw c.reason;}J=c;throw Q;}}function na(){if(null===J)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=J;J=null;return a}function oa(){var a=v;v=null;return a}function pa(a){return a._currentValue}function q(){throw Error("This Hook is not supported in Server Components.");}function Da(){throw Error("Refreshing the cache is not supported in Server Components.");
16
+ }function R(){return(new AbortController).signal}function qa(){if(B)return B;if(S){var a=ra.getStore();if(a)return a}return new Map}function Ea(a){console.error(a)}function Fa(a,c,e,d,m){if(null!==T.current&&T.current!==sa)throw Error("Currently React only supports one RSC renderer at a time.");T.current=sa;var b=new Set,g=[],h={status:0,fatalError:null,destination:null,bundlerConfig:c,cache:new Map,nextChunkId:0,pendingChunks:0,abortableTasks:b,pingedTasks:g,completedModuleChunks:[],completedJSONChunks:[],
17
+ completedErrorChunks:[],writtenSymbols:new Map,writtenModules:new Map,writtenProviders:new Map,identifierPrefix:m||"",identifierCount:1,onError:void 0===e?Ea:e,toJSON:function(a,c){return Ga(h,this,a,c)}};h.pendingChunks++;c=Ha(d);a=U(h,a,c,b);g.push(a);return h}function Ia(a,c){a.pendingChunks++;var e=U(a,null,u,a.abortableTasks);switch(c.status){case "fulfilled":return e.model=c.value,V(a,e),e.id;case "rejected":var d=w(a,c.reason);z(a,e.id,d);return e.id;default:"string"!==typeof c.status&&(c.status=
18
+ "pending",c.then(function(a){"pending"===c.status&&(c.status="fulfilled",c.value=a)},function(a){"pending"===c.status&&(c.status="rejected",c.reason=a)}))}c.then(function(c){e.model=c;V(a,e)},function(c){c=w(a,c);z(a,e.id,c)});return e.id}function Ja(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function Ka(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(c){"pending"===
19
+ a.status&&(a.status="fulfilled",a.value=c)},function(c){"pending"===a.status&&(a.status="rejected",a.reason=c)}))}return{$$typeof:C,_payload:a,_init:Ja}}function D(a,c,e,d,b,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){if(c.$$typeof===K)return[t,c,e,b];L=0;v=f;b=c(b);return"object"===typeof b&&null!==b&&"function"===typeof b.then?"fulfilled"===b.status?b.value:Ka(b):b}if("string"===typeof c)return[t,
20
+ c,e,b];if("symbol"===typeof c)return c===La?b.children:[t,c,e,b];if(null!=c&&"object"===typeof c){if(c.$$typeof===K)return[t,c,e,b];switch(c.$$typeof){case C:var m=c._init;c=m(c._payload);return D(a,c,e,d,b,f);case ta:return a=c.render,L=0,v=f,a(b,void 0);case ua:return D(a,c.type,e,d,b,f);case va:return la(c._context,b.value),[t,c,e,{value:b.value,children:b.children,__pop:wa}]}}throw Error("Unsupported Server Component type: "+W(c));}function V(a,c){var e=a.pingedTasks;e.push(c);1===e.length&&X(a)}
21
+ function U(a,c,e,d){var b={id:a.nextChunkId++,status:0,model:c,context:e,ping:function(){return V(a,b)},thenableState:null};d.add(b);return b}function xa(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 k=d.async?{id:h.id,chunks:h.chunks,name:h.name,async:!0}:h;a.pendingChunks++;var l=a.nextChunkId++,n=H(k),p=l.toString(16)+
22
+ ":I"+n+"\n";var q=A.encode(p);a.completedModuleChunks.push(q);f.set(b,l);return c[0]===t&&"1"===e?"$L"+l.toString(16):"$"+l.toString(16)}catch(Ma){return a.pendingChunks++,c=a.nextChunkId++,e=w(a,Ma),z(a,c,e),"$"+c.toString(16)}}function ya(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(a,e){return e})}function W(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.substr(0,10)+"...");case "object":if(za(a))return"[...]";a=ya(a);return"Object"===
23
+ a?"{...}":a;case "function":return"function";default:return String(a)}}function M(a){if("string"===typeof a)return a;switch(a){case Na:return"Suspense";case Oa:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case ta:return M(a.render);case ua:return M(a.type);case C:var c=a._payload;a=a._init;try{return M(a(c))}catch(e){}}return""}function x(a,c){var e=ya(a);if("Object"!==e&&"Array"!==e)return e;e=-1;var d=0;if(za(a)){var b="[";for(var f=0;f<a.length;f++){0<f&&(b+=", ");var g=a[f];
24
+ g="object"===typeof g&&null!==g?x(g):W(g);""+f===c?(e=b.length,d=g.length,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],k=JSON.stringify(h);b+=('"'+h+'"'===k?h:k)+": ";k=a[h];k="object"===typeof k&&null!==k?x(k):W(k);h===c?(e=b.length,d=k.length,b+=k):b=10>k.length&&40>b.length+k.length?b+k:b+"..."}b+="}"}return void 0===c?b:-1<e&&0<d?(a=" ".repeat(e)+"^".repeat(d),
25
+ "\n "+b+"\n "+a):"\n "+b}function Ga(a,c,b,d){switch(d){case t:return"$"}for(;"object"===typeof d&&null!==d&&(d.$$typeof===t||d.$$typeof===C);)try{switch(d.$$typeof){case t:var e=d;d=D(a,e.type,e.key,e.ref,e.props,null);break;case C:var f=d._init;d=f(d._payload)}}catch(g){b=g===Q?na():g;if("object"===typeof b&&null!==b&&"function"===typeof b.then)return a.pendingChunks++,a=U(a,d,u,a.abortableTasks),d=a.ping,b.then(d,d),a.thenableState=oa(),"$L"+a.id.toString(16);a.pendingChunks++;d=a.nextChunkId++;
26
+ b=w(a,b);z(a,d,b);return"$L"+d.toString(16)}if(null===d)return null;if("object"===typeof d){if(d.$$typeof===K)return xa(a,c,b,d);if("function"===typeof d.then)return"$@"+Ia(a,d).toString(16);if(d.$$typeof===va)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===wa){a=u;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");
27
+ d=a.parentValue;a.context._currentValue=d===Aa?a.context._defaultValue:d;u=a.parent;return}return d}if("string"===typeof d)return a="$"===d[0]?"$"+d:d,a;if("boolean"===typeof d||"number"===typeof d||"undefined"===typeof d)return d;if("function"===typeof d){if(d.$$typeof===K)return xa(a,c,b,d);if(/^on[A-Z]/.test(b))throw Error("Event handlers cannot be passed to Client Component props."+x(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."+
28
+ x(c,b));}if("symbol"===typeof d){e=a.writtenSymbols;f=e.get(d);if(void 0!==f)return"$"+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.")+x(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."+
29
+ x(c,b));throw Error("Type "+typeof d+" is not supported in Client Component props."+x(c,b));}function w(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 Y(a,c){null!==a.destination?(a.status=2,fa(a.destination,c)):(a.status=1,a.fatalError=c)}function z(a,
30
+ c,b){b={digest:b};c=c.toString(16)+":E"+H(b)+"\n";c=A.encode(c);a.completedErrorChunks.push(c)}function X(a){var c=Z.current,b=B;Z.current=Pa;B=a.cache;E=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var m=0;m<d.length;m++){var f=d[m];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 k=h,l=f.thenableState;f.model=h;h=D(g,k.type,k.key,k.ref,k.props,l);for(f.thenableState=null;"object"===typeof h&&null!==h&&h.$$typeof===t;)k=h,f.model=h,h=
31
+ D(g,k.type,k.key,k.ref,k.props,null)}var n=f.id,p=H(h,g.toJSON),q=n.toString(16)+":"+p+"\n";var u=A.encode(q);g.completedJSONChunks.push(u);g.abortableTasks.delete(f);f.status=1}catch(F){var r=F===Q?na():F;if("object"===typeof r&&null!==r&&"function"===typeof r.then){var v=f.ping;r.then(v,v);f.thenableState=oa()}else{g.abortableTasks.delete(f);f.status=4;var x=w(g,r);z(g,f.id,x)}}}}null!==a.destination&&aa(a,a.destination)}catch(F){w(a,F),Y(a,F)}finally{Z.current=c,B=b,E=null}}function aa(a,c){p=
32
+ new Uint8Array(512);n=0;try{for(var b=a.completedModuleChunks,d=0;d<b.length;d++)if(a.pendingChunks--,!N(c,b[d])){a.destination=null;d++;break}b.splice(0,d);var m=a.completedJSONChunks;for(d=0;d<m.length;d++)if(a.pendingChunks--,!N(c,m[d])){a.destination=null;d++;break}m.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&&
33
+ c.close()}function Ba(a,c){try{var b=a.abortableTasks;if(0<b.size){var d=w(a,void 0===c?Error("The render was aborted by the server without a reason."):c);a.pendingChunks++;var m=a.nextChunkId++;z(a,m,d);b.forEach(function(c){c.status=3;var b="$"+m.toString(16);c=O(a,c.id,b);a.completedErrorChunks.push(c)});b.clear()}null!==a.destination&&aa(a,a.destination)}catch(f){w(a,f),Y(a,f)}}function Ha(a){if(a){var c=u;P(null);for(var b=0;b<a.length;b++){var d=a[b],m=d[0];d=d[1];ba[m]||(ba[m]=y.createServerContext(m,
34
+ Aa));la(ba[m],d)}a=u;P(c);return a}return null}var S="function"===typeof AsyncLocalStorage,ra=S?new AsyncLocalStorage:null,p=null,n=0,A=new TextEncoder,H=JSON.stringify,K=Symbol.for("react.client.reference"),t=Symbol.for("react.element"),La=Symbol.for("react.fragment"),va=Symbol.for("react.provider"),Qa=Symbol.for("react.server_context"),ta=Symbol.for("react.forward_ref"),Na=Symbol.for("react.suspense"),Oa=Symbol.for("react.suspense_list"),ua=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),Aa=
35
+ Symbol.for("react.default_value"),Ra=Symbol.for("react.memo_cache_sentinel");"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){new l(a,0,!1,a,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){new l(a[0],1,!1,a[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){new l(a,
36
+ 2,!1,a.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){new l(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 l(a,3,!1,a.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(a){new l(a,
37
+ 3,!0,a,null,!1,!1)});["capture","download"].forEach(function(a){new l(a,4,!1,a,null,!1,!1)});["cols","rows","size","span"].forEach(function(a){new l(a,6,!1,a,null,!1,!1)});["rowSpan","start"].forEach(function(a){new l(a,5,!1,a.toLowerCase(),null,!1,!1)});var ca=/[\-:]([a-z])/g,da=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 c=
38
+ a.replace(ca,da);new l(c,1,!1,a,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var c=a.replace(ca,da);new l(c,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var c=a.replace(ca,da);new l(c,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(a){new l(a,1,!1,a.toLowerCase(),null,!1,!1)});new l("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",
39
+ !0,!1);["src","href","action","formAction"].forEach(function(a){new l(a,1,!1,a.toLowerCase(),null,!0,!0)});var ea={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,
40
+ 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},Sa=["Webkit","ms","Moz","O"];Object.keys(ea).forEach(function(a){Sa.forEach(function(c){c=c+a.charAt(0).toUpperCase()+a.substring(1);ea[c]=ea[a]})});var za=Array.isArray;b('"></template>');b("<script>");b("\x3c/script>");b('<script src="');b('<script type="module" src="');
39
41
  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
42
  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
43
  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
44
  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
45
  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
46
  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,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})}});
47
+ 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`"),J=null,E=null,L=0,v=
48
+ null,Pa={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:q,useTransition:q,readContext:pa,useContext:pa,useReducer:q,useRef:q,useState:q,useInsertionEffect:q,useLayoutEffect:q,useImperativeHandle:q,useEffect:q,useId:function(){if(null===E)throw Error("useId can only be used while React is rendering");var a=E.identifierCount++;return":"+E.identifierPrefix+"S"+a.toString(32)+":"},useMutableSource:q,useSyncExternalStore:q,useCacheRefresh:function(){return Da},
49
+ useMemoCache:function(a){for(var c=Array(a),b=0;b<a;b++)c[b]=Ra;return c},use:function(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var c=L;L+=1;null===v&&(v=[]);return Ca(v,a,c)}if(a.$$typeof===Qa)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}},sa={getCacheSignal:function(){var a=qa(),c=a.get(R);void 0===c&&(c=R(),a.set(R,c));return c},getCacheForType:function(a){var c=qa(),b=c.get(a);void 0===b&&(b=a(),c.set(a,
50
+ b));return b}},B=null;G=y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;var ba=G.ContextRegistry,Z=G.ReactCurrentDispatcher,T=G.ReactCurrentCache,wa={};r.renderToReadableStream=function(a,c,b){var d=Fa(a,c,b?b.onError:void 0,b?b.context:void 0,b?b.identifierPrefix:void 0);if(b&&b.signal){var e=b.signal;if(e.aborted)Ba(d,e.reason);else{var f=function(){Ba(d,e.reason);e.removeEventListener("abort",f)};e.addEventListener("abort",f)}}return new ReadableStream({type:"bytes",start:function(a){S?ra.run(d.cache,
51
+ X,d):X(d)},pull:function(a){if(1===d.status)d.status=2,fa(a,d.fatalError);else if(2!==d.status&&null===d.destination){d.destination=a;try{aa(d,a)}catch(h){w(d,h),Y(d,h)}}},cancel:function(a){}},{highWaterMark:0})}});
50
52
  })();