react-server-dom-webpack 18.3.0-next-189f70e17-20230216 → 18.3.0-next-ca2cf319f-20230223

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/cjs/react-server-dom-webpack-client.browser.development.js +11 -7
  2. package/cjs/react-server-dom-webpack-client.browser.production.min.js +17 -18
  3. package/cjs/react-server-dom-webpack-client.edge.development.js +14 -48
  4. package/cjs/react-server-dom-webpack-client.edge.production.min.js +16 -19
  5. package/cjs/react-server-dom-webpack-client.node.development.js +23 -69
  6. package/cjs/react-server-dom-webpack-client.node.production.min.js +17 -19
  7. package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +52 -157
  8. package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +15 -19
  9. package/cjs/react-server-dom-webpack-node-register.js +9 -9
  10. package/cjs/react-server-dom-webpack-plugin.js +8 -8
  11. package/cjs/react-server-dom-webpack-server.browser.development.js +122 -142
  12. package/cjs/react-server-dom-webpack-server.browser.production.min.js +31 -31
  13. package/cjs/react-server-dom-webpack-server.edge.development.js +122 -142
  14. package/cjs/react-server-dom-webpack-server.edge.production.min.js +27 -27
  15. package/cjs/react-server-dom-webpack-server.node.development.js +122 -142
  16. package/cjs/react-server-dom-webpack-server.node.production.min.js +27 -27
  17. package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +122 -142
  18. package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +27 -27
  19. package/esm/{react-server-dom-webpack-node-loader.js → react-server-dom-webpack-node-loader.production.min.js} +4 -4
  20. package/package.json +4 -4
  21. package/umd/react-server-dom-webpack-client.browser.development.js +14 -10
  22. package/umd/react-server-dom-webpack-client.browser.production.min.js +14 -14
  23. package/umd/react-server-dom-webpack-server.browser.development.js +127 -146
  24. package/umd/react-server-dom-webpack-server.browser.production.min.js +42 -42
@@ -15,7 +15,6 @@ if (process.env.NODE_ENV !== "production") {
15
15
  'use strict';
16
16
 
17
17
  var React = require('react');
18
- var ReactDOM = require('react-dom');
19
18
 
20
19
  var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
21
20
 
@@ -138,7 +137,7 @@ var textEncoder = new TextEncoder();
138
137
  function stringToChunk(content) {
139
138
  return textEncoder.encode(content);
140
139
  }
141
- var precomputedChunkSet = new Set() ;
140
+ var precomputedChunkSet = new Set() ;
142
141
  function stringToPrecomputedChunk(content) {
143
142
  var precomputedChunk = textEncoder.encode(content);
144
143
 
@@ -177,11 +176,6 @@ function processErrorChunkProd(request, id, digest) {
177
176
  // eslint-disable-next-line react-internal/prod-error-codes
178
177
  throw new Error('processErrorChunkProd should never be called while in development mode. Use processErrorChunkDev instead. This is a bug in React.');
179
178
  }
180
-
181
- var errorInfo = {
182
- digest: digest
183
- };
184
- var row = serializeRowHeader('E', id) + stringify(errorInfo) + '\n';
185
179
  }
186
180
  function processErrorChunkDev(request, id, digest, message, stack) {
187
181
 
@@ -296,11 +290,6 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
296
290
  this.sanitizeURL = sanitizeURL;
297
291
  this.removeEmptyString = removeEmptyString;
298
292
  } // When adding attributes to this list, be sure to also add them to
299
- // the `possibleStandardNames` module to ensure casing and incorrect
300
- // name warnings.
301
-
302
-
303
- var properties = {}; // These props are reserved by React. They shouldn't be written to the DOM.
304
293
 
305
294
  var reservedProps = ['children', 'dangerouslySetInnerHTML', // TODO: This prevents the assignment of defaultValue to regular
306
295
  // elements (not just inputs). Now that ReactDOMInput assigns to the
@@ -309,7 +298,7 @@ var reservedProps = ['children', 'dangerouslySetInnerHTML', // TODO: This preven
309
298
 
310
299
  reservedProps.forEach(function (name) {
311
300
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
312
- properties[name] = new PropertyInfoRecord(name, RESERVED, false, // mustUseProperty
301
+ new PropertyInfoRecord(name, RESERVED, false, // mustUseProperty
313
302
  name, // attributeName
314
303
  null, // attributeNamespace
315
304
  false, // sanitizeURL
@@ -321,7 +310,7 @@ reservedProps.forEach(function (name) {
321
310
  var name = _ref[0],
322
311
  attributeName = _ref[1];
323
312
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
324
- properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
313
+ new PropertyInfoRecord(name, STRING, false, // mustUseProperty
325
314
  attributeName, // attributeName
326
315
  null, // attributeNamespace
327
316
  false, // sanitizeURL
@@ -332,7 +321,7 @@ reservedProps.forEach(function (name) {
332
321
 
333
322
  ['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(function (name) {
334
323
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
335
- properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
324
+ new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
336
325
  name.toLowerCase(), // attributeName
337
326
  null, // attributeNamespace
338
327
  false, // sanitizeURL
@@ -344,7 +333,7 @@ reservedProps.forEach(function (name) {
344
333
 
345
334
  ['autoReverse', 'externalResourcesRequired', 'focusable', 'preserveAlpha'].forEach(function (name) {
346
335
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
347
- properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
336
+ new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
348
337
  name, // attributeName
349
338
  null, // attributeNamespace
350
339
  false, // sanitizeURL
@@ -356,7 +345,7 @@ reservedProps.forEach(function (name) {
356
345
  'autoFocus', 'autoPlay', 'controls', 'default', 'defer', 'disabled', 'disablePictureInPicture', 'disableRemotePlayback', 'formNoValidate', 'hidden', 'loop', 'noModule', 'noValidate', 'open', 'playsInline', 'readOnly', 'required', 'reversed', 'scoped', 'seamless', // Microdata
357
346
  'itemScope'].forEach(function (name) {
358
347
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
359
- properties[name] = new PropertyInfoRecord(name, BOOLEAN, false, // mustUseProperty
348
+ new PropertyInfoRecord(name, BOOLEAN, false, // mustUseProperty
360
349
  name.toLowerCase(), // attributeName
361
350
  null, // attributeNamespace
362
351
  false, // sanitizeURL
@@ -371,7 +360,7 @@ reservedProps.forEach(function (name) {
371
360
  // instead in the assignment below.
372
361
  ].forEach(function (name) {
373
362
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
374
- properties[name] = new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty
363
+ new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty
375
364
  name, // attributeName
376
365
  null, // attributeNamespace
377
366
  false, // sanitizeURL
@@ -384,7 +373,7 @@ reservedProps.forEach(function (name) {
384
373
  // instead in the assignment below.
385
374
  ].forEach(function (name) {
386
375
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
387
- properties[name] = new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty
376
+ new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty
388
377
  name, // attributeName
389
378
  null, // attributeNamespace
390
379
  false, // sanitizeURL
@@ -396,7 +385,7 @@ reservedProps.forEach(function (name) {
396
385
  // instead in the assignment below.
397
386
  ].forEach(function (name) {
398
387
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
399
- properties[name] = new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty
388
+ new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty
400
389
  name, // attributeName
401
390
  null, // attributeNamespace
402
391
  false, // sanitizeURL
@@ -405,7 +394,7 @@ reservedProps.forEach(function (name) {
405
394
 
406
395
  ['rowSpan', 'start'].forEach(function (name) {
407
396
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
408
- properties[name] = new PropertyInfoRecord(name, NUMERIC, false, // mustUseProperty
397
+ new PropertyInfoRecord(name, NUMERIC, false, // mustUseProperty
409
398
  name.toLowerCase(), // attributeName
410
399
  null, // attributeNamespace
411
400
  false, // sanitizeURL
@@ -428,7 +417,7 @@ var capitalize = function (token) {
428
417
  ].forEach(function (attributeName) {
429
418
  var name = attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
430
419
 
431
- properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
420
+ new PropertyInfoRecord(name, STRING, false, // mustUseProperty
432
421
  attributeName, null, // attributeNamespace
433
422
  false, // sanitizeURL
434
423
  false);
@@ -440,7 +429,7 @@ var capitalize = function (token) {
440
429
  ].forEach(function (attributeName) {
441
430
  var name = attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
442
431
 
443
- properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
432
+ new PropertyInfoRecord(name, STRING, false, // mustUseProperty
444
433
  attributeName, 'http://www.w3.org/1999/xlink', false, // sanitizeURL
445
434
  false);
446
435
  }); // String SVG attributes with the xml namespace.
@@ -451,7 +440,7 @@ var capitalize = function (token) {
451
440
  ].forEach(function (attributeName) {
452
441
  var name = attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
453
442
 
454
- properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
443
+ new PropertyInfoRecord(name, STRING, false, // mustUseProperty
455
444
  attributeName, 'http://www.w3.org/XML/1998/namespace', false, // sanitizeURL
456
445
  false);
457
446
  }); // These attribute exists both in HTML and SVG.
@@ -460,22 +449,19 @@ var capitalize = function (token) {
460
449
 
461
450
  ['tabIndex', 'crossOrigin'].forEach(function (attributeName) {
462
451
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
463
- properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
452
+ new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
464
453
  attributeName.toLowerCase(), // attributeName
465
454
  null, // attributeNamespace
466
455
  false, // sanitizeURL
467
456
  false);
468
457
  }); // These attributes accept URLs. These must not allow javascript: URLS.
469
- // These will also need to accept Trusted Types object in the future.
470
-
471
- var xlinkHref = 'xlinkHref'; // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
472
458
 
473
- properties[xlinkHref] = new PropertyInfoRecord('xlinkHref', STRING, false, // mustUseProperty
459
+ new PropertyInfoRecord('xlinkHref', STRING, false, // mustUseProperty
474
460
  'xlink:href', 'http://www.w3.org/1999/xlink', true, // sanitizeURL
475
461
  false);
476
462
  ['src', 'href', 'action', 'formAction'].forEach(function (attributeName) {
477
463
  // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
478
- properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
464
+ new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
479
465
  attributeName.toLowerCase(), // attributeName
480
466
  null, // attributeNamespace
481
467
  true, // sanitizeURL
@@ -570,116 +556,112 @@ var completeBoundary = '$RC=function(b,c,e){c=document.getElementById(c);c.paren
570
556
  var completeBoundaryWithStyles = '$RM=new Map;\n$RR=function(p,q,w){function r(l){this.s=l}for(var t=$RC,m=$RM,u=new Map,n=new Map,g=document,h,e,f=g.querySelectorAll("template[data-precedence]"),c=0;e=f[c++];){for(var b=e.content.firstChild;b;b=b.nextSibling)u.set(b.getAttribute("data-href"),b);e.parentNode.removeChild(e)}f=g.querySelectorAll("link[data-precedence],style[data-precedence]");for(c=0;e=f[c++];)m.set(e.getAttribute("STYLE"===e.nodeName?"data-href":"href"),e),n.set(e.dataset.precedence,h=e);e=0;f=[];for(var d,\nv,a;d=w[e++];){var k=0;b=d[k++];if(!(a=m.get(b))){if(a=u.get(b))c=a.getAttribute("data-precedence");else{a=g.createElement("link");a.href=b;a.rel="stylesheet";for(a.dataset.precedence=c=d[k++];v=d[k++];)a.setAttribute(v,d[k++]);d=a._p=new Promise(function(l,x){a.onload=l;a.onerror=x});d.then(r.bind(d,"l"),r.bind(d,"e"))}m.set(b,a);b=n.get(c)||h;b===h&&(h=a);n.set(c,a);b?b.parentNode.insertBefore(a,b.nextSibling):(c=g.head,c.insertBefore(a,c.firstChild))}d=a._p;c=a.getAttribute("media");!d||"l"===\nd.s||c&&!matchMedia(c).matches||f.push(d)}Promise.all(f).then(t.bind(null,p,q,""),t.bind(null,p,q,"Resource failed to load"))};';
571
557
  var completeSegment = '$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)};';
572
558
 
573
- var ReactDOMSharedInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
559
+ stringToPrecomputedChunk('"></template>');
560
+ stringToPrecomputedChunk('<script>');
561
+ stringToPrecomputedChunk('</script>');
562
+ stringToPrecomputedChunk('<script src="');
563
+ stringToPrecomputedChunk('<script type="module" src="');
564
+ stringToPrecomputedChunk('" integrity="');
565
+ stringToPrecomputedChunk('" async=""></script>');
574
566
 
575
- var ReactDOMCurrentDispatcher = ReactDOMSharedInternals.Dispatcher;
567
+ stringToPrecomputedChunk('<!-- -->');
576
568
 
577
- var dataElementQuotedEnd = stringToPrecomputedChunk('"></template>');
578
- var startInlineScript = stringToPrecomputedChunk('<script>');
579
- var endInlineScript = stringToPrecomputedChunk('</script>');
580
- var startScriptSrc = stringToPrecomputedChunk('<script src="');
581
- var startModuleSrc = stringToPrecomputedChunk('<script type="module" src="');
582
- var scriptIntegirty = stringToPrecomputedChunk('" integrity="');
583
- var endAsyncScript = stringToPrecomputedChunk('" async=""></script>');
569
+ stringToPrecomputedChunk(' style="');
570
+ stringToPrecomputedChunk(':');
571
+ stringToPrecomputedChunk(';');
584
572
 
585
- var textSeparator = stringToPrecomputedChunk('<!-- -->');
573
+ stringToPrecomputedChunk(' ');
574
+ stringToPrecomputedChunk('="');
575
+ stringToPrecomputedChunk('"');
576
+ stringToPrecomputedChunk('=""');
586
577
 
587
- var styleAttributeStart = stringToPrecomputedChunk(' style="');
588
- var styleAssign = stringToPrecomputedChunk(':');
589
- var styleSeparator = stringToPrecomputedChunk(';');
578
+ stringToPrecomputedChunk('>');
579
+ stringToPrecomputedChunk('/>');
590
580
 
591
- var attributeSeparator = stringToPrecomputedChunk(' ');
592
- var attributeAssign = stringToPrecomputedChunk('="');
593
- var attributeEnd = stringToPrecomputedChunk('"');
594
- var attributeEmptyString = stringToPrecomputedChunk('=""');
581
+ stringToPrecomputedChunk(' selected=""');
595
582
 
596
- var endOfStartTag = stringToPrecomputedChunk('>');
597
- var endOfStartTagSelfClosing = stringToPrecomputedChunk('/>');
583
+ stringToPrecomputedChunk('\n');
598
584
 
599
- var selectedMarkerAttribute = stringToPrecomputedChunk(' selected=""');
600
-
601
- var leadingNewline = stringToPrecomputedChunk('\n');
602
-
603
- var DOCTYPE = stringToPrecomputedChunk('<!DOCTYPE html>');
604
- var endTag1 = stringToPrecomputedChunk('</');
605
- var endTag2 = stringToPrecomputedChunk('>');
585
+ stringToPrecomputedChunk('<!DOCTYPE html>');
586
+ stringToPrecomputedChunk('</');
587
+ stringToPrecomputedChunk('>');
606
588
  // A placeholder is a node inside a hidden partial tree that can be filled in later, but before
607
589
  // display. It's never visible to users. We use the template tag because it can be used in every
608
590
  // type of parent. <script> tags also work in every other tag except <colgroup>.
609
591
 
610
- var placeholder1 = stringToPrecomputedChunk('<template id="');
611
- var placeholder2 = stringToPrecomputedChunk('"></template>');
612
-
613
- var startCompletedSuspenseBoundary = stringToPrecomputedChunk('<!--$-->');
614
- var startPendingSuspenseBoundary1 = stringToPrecomputedChunk('<!--$?--><template id="');
615
- var startPendingSuspenseBoundary2 = stringToPrecomputedChunk('"></template>');
616
- var startClientRenderedSuspenseBoundary = stringToPrecomputedChunk('<!--$!-->');
617
- var endSuspenseBoundary = stringToPrecomputedChunk('<!--/$-->');
618
- var clientRenderedSuspenseBoundaryError1 = stringToPrecomputedChunk('<template');
619
- var clientRenderedSuspenseBoundaryErrorAttrInterstitial = stringToPrecomputedChunk('"');
620
- var clientRenderedSuspenseBoundaryError1A = stringToPrecomputedChunk(' data-dgst="');
621
- var clientRenderedSuspenseBoundaryError1B = stringToPrecomputedChunk(' data-msg="');
622
- var clientRenderedSuspenseBoundaryError1C = stringToPrecomputedChunk(' data-stck="');
623
- var clientRenderedSuspenseBoundaryError2 = stringToPrecomputedChunk('></template>');
624
- var startSegmentHTML = stringToPrecomputedChunk('<div hidden id="');
625
- var startSegmentHTML2 = stringToPrecomputedChunk('">');
626
- var endSegmentHTML = stringToPrecomputedChunk('</div>');
627
- var startSegmentSVG = stringToPrecomputedChunk('<svg aria-hidden="true" style="display:none" id="');
628
- var startSegmentSVG2 = stringToPrecomputedChunk('">');
629
- var endSegmentSVG = stringToPrecomputedChunk('</svg>');
630
- var startSegmentMathML = stringToPrecomputedChunk('<math aria-hidden="true" style="display:none" id="');
631
- var startSegmentMathML2 = stringToPrecomputedChunk('">');
632
- var endSegmentMathML = stringToPrecomputedChunk('</math>');
633
- var startSegmentTable = stringToPrecomputedChunk('<table hidden id="');
634
- var startSegmentTable2 = stringToPrecomputedChunk('">');
635
- var endSegmentTable = stringToPrecomputedChunk('</table>');
636
- var startSegmentTableBody = stringToPrecomputedChunk('<table hidden><tbody id="');
637
- var startSegmentTableBody2 = stringToPrecomputedChunk('">');
638
- var endSegmentTableBody = stringToPrecomputedChunk('</tbody></table>');
639
- var startSegmentTableRow = stringToPrecomputedChunk('<table hidden><tr id="');
640
- var startSegmentTableRow2 = stringToPrecomputedChunk('">');
641
- var endSegmentTableRow = stringToPrecomputedChunk('</tr></table>');
642
- var startSegmentColGroup = stringToPrecomputedChunk('<table hidden><colgroup id="');
643
- var startSegmentColGroup2 = stringToPrecomputedChunk('">');
644
- var endSegmentColGroup = stringToPrecomputedChunk('</colgroup></table>');
645
- var completeSegmentScript1Full = stringToPrecomputedChunk(completeSegment + ';$RS("');
646
- var completeSegmentScript1Partial = stringToPrecomputedChunk('$RS("');
647
- var completeSegmentScript2 = stringToPrecomputedChunk('","');
648
- var completeSegmentScriptEnd = stringToPrecomputedChunk('")</script>');
649
- var completeSegmentData1 = stringToPrecomputedChunk('<template data-rsi="" data-sid="');
650
- var completeSegmentData2 = stringToPrecomputedChunk('" data-pid="');
651
- var completeBoundaryScript1Full = stringToPrecomputedChunk(completeBoundary + '$RC("');
652
- var completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("');
653
- var completeBoundaryWithStylesScript1FullBoth = stringToPrecomputedChunk(completeBoundary + completeBoundaryWithStyles + '$RR("');
654
- var completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(completeBoundaryWithStyles + '$RR("');
655
- var completeBoundaryWithStylesScript1Partial = stringToPrecomputedChunk('$RR("');
656
- var completeBoundaryScript2 = stringToPrecomputedChunk('","');
657
- var completeBoundaryScript3a = stringToPrecomputedChunk('",');
658
- var completeBoundaryScript3b = stringToPrecomputedChunk('"');
659
- var completeBoundaryScriptEnd = stringToPrecomputedChunk(')</script>');
660
- var completeBoundaryData1 = stringToPrecomputedChunk('<template data-rci="" data-bid="');
661
- var completeBoundaryWithStylesData1 = stringToPrecomputedChunk('<template data-rri="" data-bid="');
662
- var completeBoundaryData2 = stringToPrecomputedChunk('" data-sid="');
663
- var completeBoundaryData3a = stringToPrecomputedChunk('" data-sty="');
664
- var clientRenderScript1Full = stringToPrecomputedChunk(clientRenderBoundary + ';$RX("');
665
- var clientRenderScript1Partial = stringToPrecomputedChunk('$RX("');
666
- var clientRenderScript1A = stringToPrecomputedChunk('"');
667
- var clientRenderErrorScriptArgInterstitial = stringToPrecomputedChunk(',');
668
- var clientRenderScriptEnd = stringToPrecomputedChunk(')</script>');
669
- var clientRenderData1 = stringToPrecomputedChunk('<template data-rxi="" data-bid="');
670
- var clientRenderData2 = stringToPrecomputedChunk('" data-dgst="');
671
- var clientRenderData3 = stringToPrecomputedChunk('" data-msg="');
672
- var clientRenderData4 = stringToPrecomputedChunk('" data-stck="');
673
-
674
- var styleTagTemplateOpen = stringToPrecomputedChunk('<template data-precedence="">');
675
- var styleTagTemplateClose = stringToPrecomputedChunk('</template>'); // Tracks whether we wrote any late style tags. We use this to determine
676
- var precedencePlaceholderStart = stringToPrecomputedChunk('<style data-precedence="');
677
- var precedencePlaceholderEnd = stringToPrecomputedChunk('"></style>');
678
-
679
- var arrayFirstOpenBracket = stringToPrecomputedChunk('[');
680
- var arraySubsequentOpenBracket = stringToPrecomputedChunk(',[');
681
- var arrayInterstitial = stringToPrecomputedChunk(',');
682
- var arrayCloseBracket = stringToPrecomputedChunk(']'); // This function writes a 2D array of strings to be embedded in javascript.
592
+ stringToPrecomputedChunk('<template id="');
593
+ stringToPrecomputedChunk('"></template>');
594
+
595
+ stringToPrecomputedChunk('<!--$-->');
596
+ stringToPrecomputedChunk('<!--$?--><template id="');
597
+ stringToPrecomputedChunk('"></template>');
598
+ stringToPrecomputedChunk('<!--$!-->');
599
+ stringToPrecomputedChunk('<!--/$-->');
600
+ stringToPrecomputedChunk('<template');
601
+ stringToPrecomputedChunk('"');
602
+ stringToPrecomputedChunk(' data-dgst="');
603
+ stringToPrecomputedChunk(' data-msg="');
604
+ stringToPrecomputedChunk(' data-stck="');
605
+ stringToPrecomputedChunk('></template>');
606
+ stringToPrecomputedChunk('<div hidden id="');
607
+ stringToPrecomputedChunk('">');
608
+ stringToPrecomputedChunk('</div>');
609
+ stringToPrecomputedChunk('<svg aria-hidden="true" style="display:none" id="');
610
+ stringToPrecomputedChunk('">');
611
+ stringToPrecomputedChunk('</svg>');
612
+ stringToPrecomputedChunk('<math aria-hidden="true" style="display:none" id="');
613
+ stringToPrecomputedChunk('">');
614
+ stringToPrecomputedChunk('</math>');
615
+ stringToPrecomputedChunk('<table hidden id="');
616
+ stringToPrecomputedChunk('">');
617
+ stringToPrecomputedChunk('</table>');
618
+ stringToPrecomputedChunk('<table hidden><tbody id="');
619
+ stringToPrecomputedChunk('">');
620
+ stringToPrecomputedChunk('</tbody></table>');
621
+ stringToPrecomputedChunk('<table hidden><tr id="');
622
+ stringToPrecomputedChunk('">');
623
+ stringToPrecomputedChunk('</tr></table>');
624
+ stringToPrecomputedChunk('<table hidden><colgroup id="');
625
+ stringToPrecomputedChunk('">');
626
+ stringToPrecomputedChunk('</colgroup></table>');
627
+ stringToPrecomputedChunk(completeSegment + ';$RS("');
628
+ stringToPrecomputedChunk('$RS("');
629
+ stringToPrecomputedChunk('","');
630
+ stringToPrecomputedChunk('")</script>');
631
+ stringToPrecomputedChunk('<template data-rsi="" data-sid="');
632
+ stringToPrecomputedChunk('" data-pid="');
633
+ stringToPrecomputedChunk(completeBoundary + '$RC("');
634
+ stringToPrecomputedChunk('$RC("');
635
+ stringToPrecomputedChunk(completeBoundary + completeBoundaryWithStyles + '$RR("');
636
+ stringToPrecomputedChunk(completeBoundaryWithStyles + '$RR("');
637
+ stringToPrecomputedChunk('$RR("');
638
+ stringToPrecomputedChunk('","');
639
+ stringToPrecomputedChunk('",');
640
+ stringToPrecomputedChunk('"');
641
+ stringToPrecomputedChunk(')</script>');
642
+ stringToPrecomputedChunk('<template data-rci="" data-bid="');
643
+ stringToPrecomputedChunk('<template data-rri="" data-bid="');
644
+ stringToPrecomputedChunk('" data-sid="');
645
+ stringToPrecomputedChunk('" data-sty="');
646
+ stringToPrecomputedChunk(clientRenderBoundary + ';$RX("');
647
+ stringToPrecomputedChunk('$RX("');
648
+ stringToPrecomputedChunk('"');
649
+ stringToPrecomputedChunk(',');
650
+ stringToPrecomputedChunk(')</script>');
651
+ stringToPrecomputedChunk('<template data-rxi="" data-bid="');
652
+ stringToPrecomputedChunk('" data-dgst="');
653
+ stringToPrecomputedChunk('" data-msg="');
654
+ stringToPrecomputedChunk('" data-stck="');
655
+
656
+ stringToPrecomputedChunk('<template data-precedence="">');
657
+ stringToPrecomputedChunk('</template>'); // Tracks whether we wrote any late style tags. We use this to determine
658
+ stringToPrecomputedChunk('<style data-precedence="');
659
+ stringToPrecomputedChunk('"></style>');
660
+
661
+ stringToPrecomputedChunk('[');
662
+ stringToPrecomputedChunk(',[');
663
+ stringToPrecomputedChunk(',');
664
+ stringToPrecomputedChunk(']'); // This function writes a 2D array of strings to be embedded in javascript.
683
665
 
684
666
  var rendererSigil;
685
667
 
@@ -868,8 +850,8 @@ function popProvider() {
868
850
  function getActiveContext() {
869
851
  return currentActiveSnapshot;
870
852
  }
871
- function readContext(context) {
872
- var value = context._currentValue ;
853
+ function readContext$1(context) {
854
+ var value = context._currentValue ;
873
855
  return value;
874
856
  }
875
857
 
@@ -1006,7 +988,7 @@ function getThenableStateAfterSuspending() {
1006
988
  return state;
1007
989
  }
1008
990
 
1009
- function readContext$1(context) {
991
+ function readContext(context) {
1010
992
  {
1011
993
  if (context.$$typeof !== REACT_SERVER_CONTEXT_TYPE) {
1012
994
  if (isClientReference(context)) {
@@ -1021,7 +1003,7 @@ function readContext$1(context) {
1021
1003
  }
1022
1004
  }
1023
1005
 
1024
- return readContext(context);
1006
+ return readContext$1(context);
1025
1007
  }
1026
1008
 
1027
1009
  var HooksDispatcher = {
@@ -1034,8 +1016,8 @@ var HooksDispatcher = {
1034
1016
  useDebugValue: function () {},
1035
1017
  useDeferredValue: unsupportedHook,
1036
1018
  useTransition: unsupportedHook,
1037
- readContext: readContext$1,
1038
- useContext: readContext$1,
1019
+ readContext: readContext,
1020
+ useContext: readContext,
1039
1021
  useReducer: unsupportedHook,
1040
1022
  useRef: unsupportedHook,
1041
1023
  useState: unsupportedHook,
@@ -1058,7 +1040,7 @@ var HooksDispatcher = {
1058
1040
 
1059
1041
  return data;
1060
1042
  },
1061
- use: use
1043
+ use: use
1062
1044
  };
1063
1045
 
1064
1046
  function unsupportedHook() {
@@ -1096,7 +1078,7 @@ function use(usable) {
1096
1078
  return trackUsedThenable(thenableState, thenable, index);
1097
1079
  } else if (usable.$$typeof === REACT_SERVER_CONTEXT_TYPE) {
1098
1080
  var context = usable;
1099
- return readContext$1(context);
1081
+ return readContext(context);
1100
1082
  }
1101
1083
  }
1102
1084
 
@@ -1763,7 +1745,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
1763
1745
  var length = 0;
1764
1746
 
1765
1747
  if (isArray(objectOrArray)) {
1766
- if ( jsxChildrenParents.has(objectOrArray)) {
1748
+ if (jsxChildrenParents.has(objectOrArray)) {
1767
1749
  // Print JSX Children
1768
1750
  var type = jsxChildrenParents.get(objectOrArray);
1769
1751
  str = '<' + describeElementType(type) + '>';
@@ -1831,7 +1813,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
1831
1813
  } else {
1832
1814
  if (objectOrArray.$$typeof === REACT_ELEMENT_TYPE) {
1833
1815
  str = '<' + describeElementType(objectOrArray.type) + '/>';
1834
- } else if ( jsxPropsParents.has(objectOrArray)) {
1816
+ } else if (jsxPropsParents.has(objectOrArray)) {
1835
1817
  // Print JSX
1836
1818
  var _type = jsxPropsParents.get(objectOrArray);
1837
1819
 
@@ -2184,7 +2166,7 @@ function fatalError(request, error) {
2184
2166
  }
2185
2167
 
2186
2168
  function emitErrorChunkProd(request, id, digest) {
2187
- var processedChunk = processErrorChunkProd(request, id, digest);
2169
+ var processedChunk = processErrorChunkProd();
2188
2170
  request.completedErrorChunks.push(processedChunk);
2189
2171
  }
2190
2172
 
@@ -2443,8 +2425,6 @@ function abort(request, reason) {
2443
2425
  stack = _getErrorMessageAndSt6.stack;
2444
2426
 
2445
2427
  emitErrorChunkDev(request, errorId, digest, message, stack);
2446
- } else {
2447
- emitErrorChunkProd(request, errorId, digest);
2448
2428
  }
2449
2429
 
2450
2430
  abortableTasks.forEach(function (task) {
@@ -7,10 +7,10 @@
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
- 'use strict';var aa=require("react");var e="function"===typeof AsyncLocalStorage,ba=e?new AsyncLocalStorage:null,m=null,n=0;function p(a,b){if(0!==b.length)if(512<b.length)0<n&&(a.enqueue(new Uint8Array(m.buffer,0,n)),m=new Uint8Array(512),n=0),a.enqueue(b);else{var c=m.length-n;c<b.length&&(0===c?a.enqueue(m):(m.set(b.subarray(0,c),n),a.enqueue(m),b=b.subarray(c)),m=new Uint8Array(512),n=0);m.set(b,n);n+=b.length}return!0}var q=new TextEncoder;
11
- function r(a){return q.encode(a)}function ca(a,b){"function"===typeof a.error?a.error(b):a.close()}var t=JSON.stringify;function da(a,b,c){a=t(c,a.toJSON);b=b.toString(16)+":"+a+"\n";return q.encode(b)}function u(a,b,c){a=t(c);b=b.toString(16)+":"+a+"\n";return q.encode(b)}
12
- var v=Symbol.for("react.client.reference"),ha=Symbol.for("react.server.reference"),x=Symbol.for("react.element"),ia=Symbol.for("react.fragment"),ja=Symbol.for("react.provider"),ka=Symbol.for("react.server_context"),la=Symbol.for("react.forward_ref"),ma=Symbol.for("react.suspense"),na=Symbol.for("react.suspense_list"),oa=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),pa=Symbol.for("react.default_value"),qa=Symbol.for("react.memo_cache_sentinel");
13
- function A(a,b,c,d,f,g,h){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=f;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=g;this.removeEmptyString=h}"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){new A(a,0,!1,a,null,!1,!1)});
10
+ 'use strict';var aa=require("react"),f="function"===typeof AsyncLocalStorage,ba=f?new AsyncLocalStorage:null,m=null,n=0;function p(a,b){if(0!==b.length)if(512<b.length)0<n&&(a.enqueue(new Uint8Array(m.buffer,0,n)),m=new Uint8Array(512),n=0),a.enqueue(b);else{var c=m.length-n;c<b.length&&(0===c?a.enqueue(m):(m.set(b.subarray(0,c),n),a.enqueue(m),b=b.subarray(c)),m=new Uint8Array(512),n=0);m.set(b,n);n+=b.length}return!0}var q=new TextEncoder;function r(a){return q.encode(a)}
11
+ function ca(a,b){"function"===typeof a.error?a.error(b):a.close()}var t=JSON.stringify;function da(a,b,c){a=t(c,a.toJSON);b=b.toString(16)+":"+a+"\n";return q.encode(b)}function u(a,b,c){a=t(c);b=b.toString(16)+":"+a+"\n";return q.encode(b)}
12
+ var w=Symbol.for("react.client.reference"),ha=Symbol.for("react.server.reference"),y=Symbol.for("react.element"),ia=Symbol.for("react.fragment"),ja=Symbol.for("react.provider"),ka=Symbol.for("react.server_context"),la=Symbol.for("react.forward_ref"),ma=Symbol.for("react.suspense"),na=Symbol.for("react.suspense_list"),oa=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),pa=Symbol.for("react.default_value"),qa=Symbol.for("react.memo_cache_sentinel");
13
+ function A(a,b,c,d,e,g,h){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=g;this.removeEmptyString=h}"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){new A(a,0,!1,a,null,!1,!1)});
14
14
  [["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){new A(a[0],1,!1,a[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){new A(a,2,!1,a.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){new A(a,2,!1,a,null,!1,!1)});
15
15
  "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 A(a,3,!1,a.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(a){new A(a,3,!0,a,null,!1,!1)});["capture","download"].forEach(function(a){new A(a,4,!1,a,null,!1,!1)});
16
16
  ["cols","rows","size","span"].forEach(function(a){new A(a,6,!1,a,null,!1,!1)});["rowSpan","start"].forEach(function(a){new A(a,5,!1,a.toLowerCase(),null,!1,!1)});var B=/[\-:]([a-z])/g;function C(a){return a[1].toUpperCase()}
@@ -28,34 +28,34 @@ r('$RR("');r('","');r('",');r('"');r(")\x3c/script>");r('<template data-rci="" d
28
28
  r("</template>");r('<style data-precedence="');r('"></style>');r("[");r(",[");r(",");r("]");var E=null;function G(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");G(a,c);b.context._currentValue=b.value}}}
29
29
  function ta(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&ta(a)}function ua(a){var b=a.parent;null!==b&&ua(b);a.context._currentValue=a.value}function va(a,b){a.context._currentValue=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?G(a,b):va(a,b)}
30
30
  function wa(a,b){var c=b.parent;if(null===c)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===c.depth?G(a,c):wa(a,c);b.context._currentValue=b.value}function H(a){var b=E;b!==a&&(null===b?ua(a):null===a?ta(b):b.depth===a.depth?G(b,a):b.depth>a.depth?va(b,a):wa(b,a),E=a)}function xa(a,b){var c=a._currentValue;a._currentValue=b;var d=E;return E=a={parent:d,depth:null===d?0:d.depth+1,context:a,parentValue:c,value:b}}var I=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`");
31
- function ya(){}function za(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(ya,ya),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(a){if("pending"===b.status){var c=b;c.status="fulfilled";c.value=a}},function(a){if("pending"===b.status){var c=b;c.status="rejected";c.reason=a}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}J=b;throw I;}}var J=null;
31
+ function ya(){}function za(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(ya,ya),b=c);switch(b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;default:if("string"!==typeof b.status)switch(a=b,a.status="pending",a.then(function(d){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=d}},function(d){if("pending"===b.status){var e=b;e.status="rejected";e.reason=d}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}J=b;throw I;}}var J=null;
32
32
  function Aa(){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}var K=null,M=0,N=null;function Ba(){var a=N;N=null;return a}function Ca(a){return a._currentValue}
33
33
  var Ga={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:O,useTransition:O,readContext:Ca,useContext:Ca,useReducer:O,useRef:O,useState:O,useInsertionEffect:O,useLayoutEffect:O,useImperativeHandle:O,useEffect:O,useId:Da,useMutableSource:O,useSyncExternalStore:O,useCacheRefresh:function(){return Ea},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=qa;return b},use:Fa};
34
34
  function O(){throw Error("This Hook is not supported in Server Components.");}function Ea(){throw Error("Refreshing the cache is not supported in Server Components.");}function Da(){if(null===K)throw Error("useId can only be used while React is rendering");var a=K.identifierCount++;return":"+K.identifierPrefix+"S"+a.toString(32)+":"}
35
- function Fa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=M;M+=1;null===N&&(N=[]);return za(N,a,b)}if(a.$$typeof===ka)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function P(){return(new AbortController).signal}function Ha(){if(Q)return Q;if(e){var a=ba.getStore();if(a)return a}return new Map}
35
+ function Fa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=M;M+=1;null===N&&(N=[]);return za(N,a,b)}if(a.$$typeof===ka)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function P(){return(new AbortController).signal}function Ha(){if(Q)return Q;if(f){var a=ba.getStore();if(a)return a}return new Map}
36
36
  var Ia={getCacheSignal:function(){var a=Ha(),b=a.get(P);void 0===b&&(b=P(),a.set(P,b));return b},getCacheForType:function(a){var b=Ha(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},Q=null,R=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=R.ContextRegistry,T=R.ReactCurrentDispatcher,U=R.ReactCurrentCache;function Ja(a){console.error(a)}
37
- function Ka(a,b,c,d,f){if(null!==U.current&&U.current!==Ia)throw Error("Currently React only supports one RSC renderer at a time.");U.current=Ia;var g=new Set,h=[],k={status:0,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedJSONChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:f||
38
- "",identifierCount:1,onError:void 0===c?Ja:c,toJSON:function(a,b){return La(k,this,a,b)}};k.pendingChunks++;b=Ma(d);a=Na(k,a,b,g);h.push(a);return k}var Oa={};
39
- function Pa(a,b){a.pendingChunks++;var c=Na(a,null,E,a.abortableTasks);switch(b.status){case "fulfilled":return c.model=b.value,Qa(a,c),c.id;case "rejected":var d=V(a,b.reason);W(a,c.id,d);return c.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(a){"pending"===b.status&&(b.status="fulfilled",b.value=a)},function(a){"pending"===b.status&&(b.status="rejected",b.reason=a)}))}b.then(function(b){c.model=b;Qa(a,c)},function(b){b=V(a,b);W(a,c.id,b)});return c.id}
37
+ function Ka(a,b,c,d,e){if(null!==U.current&&U.current!==Ia)throw Error("Currently React only supports one RSC renderer at a time.");U.current=Ia;var g=new Set,h=[],k={status:0,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,abortableTasks:g,pingedTasks:h,completedImportChunks:[],completedJSONChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,writtenServerReferences:new Map,writtenProviders:new Map,identifierPrefix:e||
38
+ "",identifierCount:1,onError:void 0===c?Ja:c,toJSON:function(l,v){return La(k,this,l,v)}};k.pendingChunks++;b=Ma(d);a=Na(k,a,b,g);h.push(a);return k}var Oa={};
39
+ function Pa(a,b){a.pendingChunks++;var c=Na(a,null,E,a.abortableTasks);switch(b.status){case "fulfilled":return c.model=b.value,Qa(a,c),c.id;case "rejected":var d=V(a,b.reason);W(a,c.id,d);return c.id;default:"string"!==typeof b.status&&(b.status="pending",b.then(function(e){"pending"===b.status&&(b.status="fulfilled",b.value=e)},function(e){"pending"===b.status&&(b.status="rejected",b.reason=e)}))}b.then(function(e){c.model=e;Qa(a,c)},function(e){e=V(a,e);W(a,c.id,e)});return c.id}
40
40
  function Ra(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function Sa(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:z,_payload:a,_init:Ra}}
41
- function X(a,b,c,d,f,g){if(null!==d&&void 0!==d)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===v)return[x,b,c,f];M=0;N=g;f=b(f);return"object"===typeof f&&null!==f&&"function"===typeof f.then?"fulfilled"===f.status?f.value:Sa(f):f}if("string"===typeof b)return[x,b,c,f];if("symbol"===typeof b)return b===ia?f.children:[x,b,c,f];if(null!=b&&"object"===typeof b){if(b.$$typeof===v)return[x,b,c,f];switch(b.$$typeof){case z:var h=
42
- b._init;b=h(b._payload);return X(a,b,c,d,f,g);case la:return a=b.render,M=0,N=g,a(f,void 0);case oa:return X(a,b.type,c,d,f,g);case ja:return xa(b._context,f.value),[x,b,c,{value:f.value,children:f.children,__pop:Oa}]}}throw Error("Unsupported Server Component type: "+Ta(b));}function Qa(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&Ua(a)}function Na(a,b,c,d){var f={id:a.nextChunkId++,status:0,model:b,context:c,ping:function(){return Qa(a,f)},thenableState:null};d.add(f);return f}
43
- function Va(a,b,c,d){var f=d.filepath+"#"+d.name+(d.async?"#async":""),g=a.writtenClientReferences,h=g.get(f);if(void 0!==h)return b[0]===x&&"1"===c?"$L"+h.toString(16):"$"+h.toString(16);try{var k=a.bundlerConfig[d.filepath][d.name];var l=d.async?{id:k.id,chunks:k.chunks,name:k.name,async:!0}:k;a.pendingChunks++;var y=a.nextChunkId++,ea=t(l),w=y.toString(16)+":I"+ea+"\n";var L=q.encode(w);a.completedImportChunks.push(L);g.set(f,y);return b[0]===x&&"1"===c?"$L"+y.toString(16):"$"+y.toString(16)}catch(fa){return a.pendingChunks++,
44
- b=a.nextChunkId++,c=V(a,fa),W(a,b,c),"$"+b.toString(16)}}function Wa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(a,c){return c})}function Ta(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.substr(0,10)+"...");case "object":if(sa(a))return"[...]";a=Wa(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}}
41
+ function X(a,b,c,d,e,g){if(null!==d&&void 0!==d)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof b){if(b.$$typeof===w)return[y,b,c,e];M=0;N=g;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:Sa(e):e}if("string"===typeof b)return[y,b,c,e];if("symbol"===typeof b)return b===ia?e.children:[y,b,c,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===w)return[y,b,c,e];switch(b.$$typeof){case z:var h=
42
+ b._init;b=h(b._payload);return X(a,b,c,d,e,g);case la:return a=b.render,M=0,N=g,a(e,void 0);case oa:return X(a,b.type,c,d,e,g);case ja:return xa(b._context,e.value),[y,b,c,{value:e.value,children:e.children,__pop:Oa}]}}throw Error("Unsupported Server Component type: "+Ta(b));}function Qa(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&Ua(a)}function Na(a,b,c,d){var e={id:a.nextChunkId++,status:0,model:b,context:c,ping:function(){return Qa(a,e)},thenableState:null};d.add(e);return e}
43
+ function Va(a,b,c,d){var e=d.filepath+"#"+d.name+(d.async?"#async":""),g=a.writtenClientReferences,h=g.get(e);if(void 0!==h)return b[0]===y&&"1"===c?"$L"+h.toString(16):"$"+h.toString(16);try{var k=a.bundlerConfig[d.filepath][d.name];var l=d.async?{id:k.id,chunks:k.chunks,name:k.name,async:!0}:k;a.pendingChunks++;var v=a.nextChunkId++,ea=t(l),x=v.toString(16)+":I"+ea+"\n";var L=q.encode(x);a.completedImportChunks.push(L);g.set(e,v);return b[0]===y&&"1"===c?"$L"+v.toString(16):"$"+v.toString(16)}catch(fa){return a.pendingChunks++,
44
+ b=a.nextChunkId++,c=V(a,fa),W(a,b,c),"$"+b.toString(16)}}function Wa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}function Ta(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.substr(0,10)+"...");case "object":if(sa(a))return"[...]";a=Wa(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}}
45
45
  function Y(a){if("string"===typeof a)return a;switch(a){case ma:return"Suspense";case na:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case la:return Y(a.render);case oa:return Y(a.type);case z:var b=a._payload;a=a._init;try{return Y(a(b))}catch(c){}}return""}
46
- function Z(a,b){var c=Wa(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(sa(a)){var f="[";for(var g=0;g<a.length;g++){0<g&&(f+=", ");var h=a[g];h="object"===typeof h&&null!==h?Z(h):Ta(h);""+g===b?(c=f.length,d=h.length,f+=h):f=10>h.length&&40>f.length+h.length?f+h:f+"..."}f+="]"}else if(a.$$typeof===x)f="<"+Y(a.type)+"/>";else{f="{";g=Object.keys(a);for(h=0;h<g.length;h++){0<h&&(f+=", ");var k=g[h],l=JSON.stringify(k);f+=('"'+k+'"'===l?k:l)+": ";l=a[k];l="object"===typeof l&&null!==l?Z(l):
47
- Ta(l);k===b?(c=f.length,d=l.length,f+=l):f=10>l.length&&40>f.length+l.length?f+l:f+"..."}f+="}"}return void 0===b?f:-1<c&&0<d?(a=" ".repeat(c)+"^".repeat(d),"\n "+f+"\n "+a):"\n "+f}
48
- function La(a,b,c,d){switch(d){case x:return"$"}for(;"object"===typeof d&&null!==d&&(d.$$typeof===x||d.$$typeof===z);)try{switch(d.$$typeof){case x:var f=d;d=X(a,f.type,f.key,f.ref,f.props,null);break;case z:var g=d._init;d=g(d._payload)}}catch(h){c=h===I?Aa():h;if("object"===typeof c&&null!==c&&"function"===typeof c.then)return a.pendingChunks++,a=Na(a,d,E,a.abortableTasks),d=a.ping,c.then(d,d),a.thenableState=Ba(),"$L"+a.id.toString(16);a.pendingChunks++;d=a.nextChunkId++;c=V(a,c);W(a,d,c);return"$L"+
49
- d.toString(16)}if(null===d)return null;if("object"===typeof d){if(d.$$typeof===v)return Va(a,b,c,d);if("function"===typeof d.then)return"$@"+Pa(a,d).toString(16);if(d.$$typeof===ja)return d=d._context._globalName,b=a.writtenProviders,c=b.get(c),void 0===c&&(a.pendingChunks++,c=a.nextChunkId++,b.set(d,c),d=u(a,c,"$P"+d),a.completedJSONChunks.push(d)),"$"+c.toString(16);if(d===Oa){a=E;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=
50
- d===pa?a.context._defaultValue:d;E=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===v)return Va(a,b,c,d);if(d.$$typeof===ha)return c=a.writtenServerReferences,b=c.get(d),void 0!==b?a="$F"+b.toString(16):(f={id:d.$$filepath,name:d.$$name,bound:Promise.resolve(d.$$bound)},a.pendingChunks++,b=a.nextChunkId++,f=da(a,b,f),a.completedJSONChunks.push(f),c.set(d,
51
- b),a="$F"+b.toString(16)),a;if(/^on[A-Z]/.test(c))throw Error("Event handlers cannot be passed to Client Component props."+Z(b,c)+"\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".'+Z(b,c));}if("symbol"===typeof d){f=a.writtenSymbols;g=f.get(d);if(void 0!==g)return"$"+g.toString(16);g=d.description;if(Symbol.for(g)!==d)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+
52
- (d.description+") cannot be found among global symbols.")+Z(b,c));a.pendingChunks++;c=a.nextChunkId++;b=u(a,c,"$S"+g);a.completedImportChunks.push(b);f.set(d,c);return"$"+c.toString(16)}if("bigint"===typeof d)throw Error("BigInt ("+d+") is not yet supported in Client Component props."+Z(b,c));throw Error("Type "+typeof d+" is not supported in Client Component props."+Z(b,c));}
46
+ function Z(a,b){var c=Wa(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(sa(a)){var e="[";for(var g=0;g<a.length;g++){0<g&&(e+=", ");var h=a[g];h="object"===typeof h&&null!==h?Z(h):Ta(h);""+g===b?(c=e.length,d=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="]"}else if(a.$$typeof===y)e="<"+Y(a.type)+"/>";else{e="{";g=Object.keys(a);for(h=0;h<g.length;h++){0<h&&(e+=", ");var k=g[h],l=JSON.stringify(k);e+=('"'+k+'"'===l?k:l)+": ";l=a[k];l="object"===typeof l&&null!==l?Z(l):
47
+ Ta(l);k===b?(c=e.length,d=l.length,e+=l):e=10>l.length&&40>e.length+l.length?e+l:e+"..."}e+="}"}return void 0===b?e:-1<c&&0<d?(a=" ".repeat(c)+"^".repeat(d),"\n "+e+"\n "+a):"\n "+e}
48
+ function La(a,b,c,d){switch(d){case y:return"$"}for(;"object"===typeof d&&null!==d&&(d.$$typeof===y||d.$$typeof===z);)try{switch(d.$$typeof){case y:var e=d;d=X(a,e.type,e.key,e.ref,e.props,null);break;case z:var g=d._init;d=g(d._payload)}}catch(h){c=h===I?Aa():h;if("object"===typeof c&&null!==c&&"function"===typeof c.then)return a.pendingChunks++,a=Na(a,d,E,a.abortableTasks),d=a.ping,c.then(d,d),a.thenableState=Ba(),"$L"+a.id.toString(16);a.pendingChunks++;d=a.nextChunkId++;c=V(a,c);W(a,d,c);return"$L"+
49
+ d.toString(16)}if(null===d)return null;if("object"===typeof d){if(d.$$typeof===w)return Va(a,b,c,d);if("function"===typeof d.then)return"$@"+Pa(a,d).toString(16);if(d.$$typeof===ja)return d=d._context._globalName,b=a.writtenProviders,c=b.get(c),void 0===c&&(a.pendingChunks++,c=a.nextChunkId++,b.set(d,c),d=u(a,c,"$P"+d),a.completedJSONChunks.push(d)),"$"+c.toString(16);if(d===Oa){a=E;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=
50
+ d===pa?a.context._defaultValue:d;E=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===w)return Va(a,b,c,d);if(d.$$typeof===ha)return c=a.writtenServerReferences,b=c.get(d),void 0!==b?a="$F"+b.toString(16):(e={id:d.$$filepath,name:d.$$name,bound:Promise.resolve(d.$$bound)},a.pendingChunks++,b=a.nextChunkId++,e=da(a,b,e),a.completedJSONChunks.push(e),c.set(d,
51
+ b),a="$F"+b.toString(16)),a;if(/^on[A-Z]/.test(c))throw Error("Event handlers cannot be passed to Client Component props."+Z(b,c)+"\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".'+Z(b,c));}if("symbol"===typeof d){e=a.writtenSymbols;g=e.get(d);if(void 0!==g)return"$"+g.toString(16);g=d.description;if(Symbol.for(g)!==d)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+
52
+ (d.description+") cannot be found among global symbols.")+Z(b,c));a.pendingChunks++;c=a.nextChunkId++;b=u(a,c,"$S"+g);a.completedImportChunks.push(b);e.set(d,c);return"$"+c.toString(16)}if("bigint"===typeof d)throw Error("BigInt ("+d+") is not yet supported in Client Component props."+Z(b,c));throw Error("Type "+typeof d+" is not supported in Client Component props."+Z(b,c));}
53
53
  function V(a,b){a=a.onError;b=a(b);if(null!=b&&"string"!==typeof b)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b||""}function Xa(a,b){null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)}
54
54
  function W(a,b,c){c={digest:c};b=b.toString(16)+":E"+t(c)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)}
55
- function Ua(a){var b=T.current,c=Q;T.current=Ga;Q=a.cache;K=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var f=0;f<d.length;f++){var g=d[f];var h=a;if(0===g.status){H(g.context);try{var k=g.model;if("object"===typeof k&&null!==k&&k.$$typeof===x){var l=k,y=g.thenableState;g.model=k;k=X(h,l.type,l.key,l.ref,l.props,y);for(g.thenableState=null;"object"===typeof k&&null!==k&&k.$$typeof===x;)l=k,g.model=k,k=X(h,l.type,l.key,l.ref,l.props,null)}var ea=da(h,g.id,k);h.completedJSONChunks.push(ea);h.abortableTasks.delete(g);
56
- g.status=1}catch(F){var w=F===I?Aa():F;if("object"===typeof w&&null!==w&&"function"===typeof w.then){var L=g.ping;w.then(L,L);g.thenableState=Ba()}else{h.abortableTasks.delete(g);g.status=4;var fa=V(h,w);W(h,g.id,fa)}}}}null!==a.destination&&Ya(a,a.destination)}catch(F){V(a,F),Xa(a,F)}finally{T.current=b,Q=c,K=null}}
57
- function Ya(a,b){m=new Uint8Array(512);n=0;try{for(var c=a.completedImportChunks,d=0;d<c.length;d++)if(a.pendingChunks--,!p(b,c[d])){a.destination=null;d++;break}c.splice(0,d);var f=a.completedJSONChunks;for(d=0;d<f.length;d++)if(a.pendingChunks--,!p(b,f[d])){a.destination=null;d++;break}f.splice(0,d);var g=a.completedErrorChunks;for(d=0;d<g.length;d++)if(a.pendingChunks--,!p(b,g[d])){a.destination=null;d++;break}g.splice(0,d)}finally{m&&0<n&&(b.enqueue(new Uint8Array(m.buffer,0,n)),m=null,n=0)}0===
58
- a.pendingChunks&&b.close()}function Za(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=V(a,void 0===b?Error("The render was aborted by the server without a reason."):b);a.pendingChunks++;var f=a.nextChunkId++;W(a,f,d);c.forEach(function(b){b.status=3;var c="$"+f.toString(16);b=u(a,b.id,c);a.completedErrorChunks.push(b)});c.clear()}null!==a.destination&&Ya(a,a.destination)}catch(g){V(a,g),Xa(a,g)}}
59
- function Ma(a){if(a){var b=E;H(null);for(var c=0;c<a.length;c++){var d=a[c],f=d[0];d=d[1];S[f]||(S[f]=aa.createServerContext(f,pa));xa(S[f],d)}a=E;H(b);return a}return null}
60
- exports.renderToReadableStream=function(a,b,c){var d=Ka(a,b,c?c.onError:void 0,c?c.context:void 0,c?c.identifierPrefix:void 0);if(c&&c.signal){var f=c.signal;if(f.aborted)Za(d,f.reason);else{var g=function(){Za(d,f.reason);f.removeEventListener("abort",g)};f.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(){e?ba.run(d.cache,Ua,d):Ua(d)},pull:function(a){if(1===d.status)d.status=2,ca(a,d.fatalError);else if(2!==d.status&&null===d.destination){d.destination=a;try{Ya(d,
61
- a)}catch(k){V(d,k),Xa(d,k)}}},cancel:function(){}},{highWaterMark:0})};
55
+ function Ua(a){var b=T.current,c=Q;T.current=Ga;Q=a.cache;K=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<d.length;e++){var g=d[e];var h=a;if(0===g.status){H(g.context);try{var k=g.model;if("object"===typeof k&&null!==k&&k.$$typeof===y){var l=k,v=g.thenableState;g.model=k;k=X(h,l.type,l.key,l.ref,l.props,v);for(g.thenableState=null;"object"===typeof k&&null!==k&&k.$$typeof===y;)l=k,g.model=k,k=X(h,l.type,l.key,l.ref,l.props,null)}var ea=da(h,g.id,k);h.completedJSONChunks.push(ea);h.abortableTasks.delete(g);
56
+ g.status=1}catch(F){var x=F===I?Aa():F;if("object"===typeof x&&null!==x&&"function"===typeof x.then){var L=g.ping;x.then(L,L);g.thenableState=Ba()}else{h.abortableTasks.delete(g);g.status=4;var fa=V(h,x);W(h,g.id,fa)}}}}null!==a.destination&&Ya(a,a.destination)}catch(F){V(a,F),Xa(a,F)}finally{T.current=b,Q=c,K=null}}
57
+ function Ya(a,b){m=new Uint8Array(512);n=0;try{for(var c=a.completedImportChunks,d=0;d<c.length;d++)a.pendingChunks--,p(b,c[d]);c.splice(0,d);var e=a.completedJSONChunks;for(d=0;d<e.length;d++)a.pendingChunks--,p(b,e[d]);e.splice(0,d);var g=a.completedErrorChunks;for(d=0;d<g.length;d++)a.pendingChunks--,p(b,g[d]);g.splice(0,d)}finally{m&&0<n&&(b.enqueue(new Uint8Array(m.buffer,0,n)),m=null,n=0)}0===a.pendingChunks&&b.close()}
58
+ function Za(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=V(a,void 0===b?Error("The render was aborted by the server without a reason."):b);a.pendingChunks++;var e=a.nextChunkId++;W(a,e,d);c.forEach(function(g){g.status=3;var h="$"+e.toString(16);g=u(a,g.id,h);a.completedErrorChunks.push(g)});c.clear()}null!==a.destination&&Ya(a,a.destination)}catch(g){V(a,g),Xa(a,g)}}
59
+ function Ma(a){if(a){var b=E;H(null);for(var c=0;c<a.length;c++){var d=a[c],e=d[0];d=d[1];S[e]||(S[e]=aa.createServerContext(e,pa));xa(S[e],d)}a=E;H(b);return a}return null}
60
+ exports.renderToReadableStream=function(a,b,c){var d=Ka(a,b,c?c.onError:void 0,c?c.context:void 0,c?c.identifierPrefix:void 0);if(c&&c.signal){var e=c.signal;if(e.aborted)Za(d,e.reason);else{var g=function(){Za(d,e.reason);e.removeEventListener("abort",g)};e.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(){f?ba.run(d.cache,Ua,d):Ua(d)},pull:function(h){if(1===d.status)d.status=2,ca(h,d.fatalError);else if(2!==d.status&&null===d.destination){d.destination=h;try{Ya(d,
61
+ h)}catch(k){V(d,k),Xa(d,k)}}},cancel:function(){}},{highWaterMark:0})};