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.
- package/cjs/react-server-dom-webpack-client.browser.development.js +11 -7
- package/cjs/react-server-dom-webpack-client.browser.production.min.js +17 -18
- package/cjs/react-server-dom-webpack-client.edge.development.js +14 -48
- package/cjs/react-server-dom-webpack-client.edge.production.min.js +16 -19
- package/cjs/react-server-dom-webpack-client.node.development.js +23 -69
- package/cjs/react-server-dom-webpack-client.node.production.min.js +17 -19
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +52 -157
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +15 -19
- package/cjs/react-server-dom-webpack-node-register.js +9 -9
- package/cjs/react-server-dom-webpack-plugin.js +8 -8
- package/cjs/react-server-dom-webpack-server.browser.development.js +122 -142
- package/cjs/react-server-dom-webpack-server.browser.production.min.js +31 -31
- package/cjs/react-server-dom-webpack-server.edge.development.js +122 -142
- package/cjs/react-server-dom-webpack-server.edge.production.min.js +27 -27
- package/cjs/react-server-dom-webpack-server.node.development.js +122 -142
- package/cjs/react-server-dom-webpack-server.node.production.min.js +27 -27
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +122 -142
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +27 -27
- package/esm/{react-server-dom-webpack-node-loader.js → react-server-dom-webpack-node-loader.production.min.js} +4 -4
- package/package.json +4 -4
- package/umd/react-server-dom-webpack-client.browser.development.js +14 -10
- package/umd/react-server-dom-webpack-client.browser.production.min.js +14 -14
- package/umd/react-server-dom-webpack-server.browser.development.js +127 -146
- package/umd/react-server-dom-webpack-server.browser.production.min.js +42 -42
@@ -17,7 +17,6 @@ if (process.env.NODE_ENV !== "production") {
|
|
17
17
|
var React = require('react');
|
18
18
|
var util = require('util');
|
19
19
|
var async_hooks = require('async_hooks');
|
20
|
-
var ReactDOM = require('react-dom');
|
21
20
|
|
22
21
|
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
23
22
|
|
@@ -214,7 +213,7 @@ var textEncoder = new util.TextEncoder();
|
|
214
213
|
function stringToChunk(content) {
|
215
214
|
return content;
|
216
215
|
}
|
217
|
-
var precomputedChunkSet =
|
216
|
+
var precomputedChunkSet = new Set() ;
|
218
217
|
function stringToPrecomputedChunk(content) {
|
219
218
|
var precomputedChunk = textEncoder.encode(content);
|
220
219
|
|
@@ -244,11 +243,6 @@ function processErrorChunkProd(request, id, digest) {
|
|
244
243
|
// eslint-disable-next-line react-internal/prod-error-codes
|
245
244
|
throw new Error('processErrorChunkProd should never be called while in development mode. Use processErrorChunkDev instead. This is a bug in React.');
|
246
245
|
}
|
247
|
-
|
248
|
-
var errorInfo = {
|
249
|
-
digest: digest
|
250
|
-
};
|
251
|
-
var row = serializeRowHeader('E', id) + stringify(errorInfo) + '\n';
|
252
246
|
}
|
253
247
|
function processErrorChunkDev(request, id, digest, message, stack) {
|
254
248
|
|
@@ -363,11 +357,6 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
|
|
363
357
|
this.sanitizeURL = sanitizeURL;
|
364
358
|
this.removeEmptyString = removeEmptyString;
|
365
359
|
} // When adding attributes to this list, be sure to also add them to
|
366
|
-
// the `possibleStandardNames` module to ensure casing and incorrect
|
367
|
-
// name warnings.
|
368
|
-
|
369
|
-
|
370
|
-
var properties = {}; // These props are reserved by React. They shouldn't be written to the DOM.
|
371
360
|
|
372
361
|
var reservedProps = ['children', 'dangerouslySetInnerHTML', // TODO: This prevents the assignment of defaultValue to regular
|
373
362
|
// elements (not just inputs). Now that ReactDOMInput assigns to the
|
@@ -376,7 +365,7 @@ var reservedProps = ['children', 'dangerouslySetInnerHTML', // TODO: This preven
|
|
376
365
|
|
377
366
|
reservedProps.forEach(function (name) {
|
378
367
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
379
|
-
|
368
|
+
new PropertyInfoRecord(name, RESERVED, false, // mustUseProperty
|
380
369
|
name, // attributeName
|
381
370
|
null, // attributeNamespace
|
382
371
|
false, // sanitizeURL
|
@@ -388,7 +377,7 @@ reservedProps.forEach(function (name) {
|
|
388
377
|
var name = _ref[0],
|
389
378
|
attributeName = _ref[1];
|
390
379
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
391
|
-
|
380
|
+
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
392
381
|
attributeName, // attributeName
|
393
382
|
null, // attributeNamespace
|
394
383
|
false, // sanitizeURL
|
@@ -399,7 +388,7 @@ reservedProps.forEach(function (name) {
|
|
399
388
|
|
400
389
|
['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(function (name) {
|
401
390
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
402
|
-
|
391
|
+
new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
|
403
392
|
name.toLowerCase(), // attributeName
|
404
393
|
null, // attributeNamespace
|
405
394
|
false, // sanitizeURL
|
@@ -411,7 +400,7 @@ reservedProps.forEach(function (name) {
|
|
411
400
|
|
412
401
|
['autoReverse', 'externalResourcesRequired', 'focusable', 'preserveAlpha'].forEach(function (name) {
|
413
402
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
414
|
-
|
403
|
+
new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
|
415
404
|
name, // attributeName
|
416
405
|
null, // attributeNamespace
|
417
406
|
false, // sanitizeURL
|
@@ -423,7 +412,7 @@ reservedProps.forEach(function (name) {
|
|
423
412
|
'autoFocus', 'autoPlay', 'controls', 'default', 'defer', 'disabled', 'disablePictureInPicture', 'disableRemotePlayback', 'formNoValidate', 'hidden', 'loop', 'noModule', 'noValidate', 'open', 'playsInline', 'readOnly', 'required', 'reversed', 'scoped', 'seamless', // Microdata
|
424
413
|
'itemScope'].forEach(function (name) {
|
425
414
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
426
|
-
|
415
|
+
new PropertyInfoRecord(name, BOOLEAN, false, // mustUseProperty
|
427
416
|
name.toLowerCase(), // attributeName
|
428
417
|
null, // attributeNamespace
|
429
418
|
false, // sanitizeURL
|
@@ -438,7 +427,7 @@ reservedProps.forEach(function (name) {
|
|
438
427
|
// instead in the assignment below.
|
439
428
|
].forEach(function (name) {
|
440
429
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
441
|
-
|
430
|
+
new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty
|
442
431
|
name, // attributeName
|
443
432
|
null, // attributeNamespace
|
444
433
|
false, // sanitizeURL
|
@@ -451,7 +440,7 @@ reservedProps.forEach(function (name) {
|
|
451
440
|
// instead in the assignment below.
|
452
441
|
].forEach(function (name) {
|
453
442
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
454
|
-
|
443
|
+
new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty
|
455
444
|
name, // attributeName
|
456
445
|
null, // attributeNamespace
|
457
446
|
false, // sanitizeURL
|
@@ -463,7 +452,7 @@ reservedProps.forEach(function (name) {
|
|
463
452
|
// instead in the assignment below.
|
464
453
|
].forEach(function (name) {
|
465
454
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
466
|
-
|
455
|
+
new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty
|
467
456
|
name, // attributeName
|
468
457
|
null, // attributeNamespace
|
469
458
|
false, // sanitizeURL
|
@@ -472,7 +461,7 @@ reservedProps.forEach(function (name) {
|
|
472
461
|
|
473
462
|
['rowSpan', 'start'].forEach(function (name) {
|
474
463
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
475
|
-
|
464
|
+
new PropertyInfoRecord(name, NUMERIC, false, // mustUseProperty
|
476
465
|
name.toLowerCase(), // attributeName
|
477
466
|
null, // attributeNamespace
|
478
467
|
false, // sanitizeURL
|
@@ -495,7 +484,7 @@ var capitalize = function (token) {
|
|
495
484
|
].forEach(function (attributeName) {
|
496
485
|
var name = attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
497
486
|
|
498
|
-
|
487
|
+
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
499
488
|
attributeName, null, // attributeNamespace
|
500
489
|
false, // sanitizeURL
|
501
490
|
false);
|
@@ -507,7 +496,7 @@ var capitalize = function (token) {
|
|
507
496
|
].forEach(function (attributeName) {
|
508
497
|
var name = attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
509
498
|
|
510
|
-
|
499
|
+
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
511
500
|
attributeName, 'http://www.w3.org/1999/xlink', false, // sanitizeURL
|
512
501
|
false);
|
513
502
|
}); // String SVG attributes with the xml namespace.
|
@@ -518,7 +507,7 @@ var capitalize = function (token) {
|
|
518
507
|
].forEach(function (attributeName) {
|
519
508
|
var name = attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
520
509
|
|
521
|
-
|
510
|
+
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
522
511
|
attributeName, 'http://www.w3.org/XML/1998/namespace', false, // sanitizeURL
|
523
512
|
false);
|
524
513
|
}); // These attribute exists both in HTML and SVG.
|
@@ -527,22 +516,19 @@ var capitalize = function (token) {
|
|
527
516
|
|
528
517
|
['tabIndex', 'crossOrigin'].forEach(function (attributeName) {
|
529
518
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
530
|
-
|
519
|
+
new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
|
531
520
|
attributeName.toLowerCase(), // attributeName
|
532
521
|
null, // attributeNamespace
|
533
522
|
false, // sanitizeURL
|
534
523
|
false);
|
535
524
|
}); // These attributes accept URLs. These must not allow javascript: URLS.
|
536
|
-
// These will also need to accept Trusted Types object in the future.
|
537
|
-
|
538
|
-
var xlinkHref = 'xlinkHref'; // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
539
525
|
|
540
|
-
|
526
|
+
new PropertyInfoRecord('xlinkHref', STRING, false, // mustUseProperty
|
541
527
|
'xlink:href', 'http://www.w3.org/1999/xlink', true, // sanitizeURL
|
542
528
|
false);
|
543
529
|
['src', 'href', 'action', 'formAction'].forEach(function (attributeName) {
|
544
530
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
545
|
-
|
531
|
+
new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
|
546
532
|
attributeName.toLowerCase(), // attributeName
|
547
533
|
null, // attributeNamespace
|
548
534
|
true, // sanitizeURL
|
@@ -637,116 +623,112 @@ var completeBoundary = '$RC=function(b,c,e){c=document.getElementById(c);c.paren
|
|
637
623
|
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"))};';
|
638
624
|
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)};';
|
639
625
|
|
640
|
-
|
626
|
+
stringToPrecomputedChunk('"></template>');
|
627
|
+
stringToPrecomputedChunk('<script>');
|
628
|
+
stringToPrecomputedChunk('</script>');
|
629
|
+
stringToPrecomputedChunk('<script src="');
|
630
|
+
stringToPrecomputedChunk('<script type="module" src="');
|
631
|
+
stringToPrecomputedChunk('" integrity="');
|
632
|
+
stringToPrecomputedChunk('" async=""></script>');
|
641
633
|
|
642
|
-
|
634
|
+
stringToPrecomputedChunk('<!-- -->');
|
643
635
|
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
var startScriptSrc = stringToPrecomputedChunk('<script src="');
|
648
|
-
var startModuleSrc = stringToPrecomputedChunk('<script type="module" src="');
|
649
|
-
var scriptIntegirty = stringToPrecomputedChunk('" integrity="');
|
650
|
-
var endAsyncScript = stringToPrecomputedChunk('" async=""></script>');
|
636
|
+
stringToPrecomputedChunk(' style="');
|
637
|
+
stringToPrecomputedChunk(':');
|
638
|
+
stringToPrecomputedChunk(';');
|
651
639
|
|
652
|
-
|
640
|
+
stringToPrecomputedChunk(' ');
|
641
|
+
stringToPrecomputedChunk('="');
|
642
|
+
stringToPrecomputedChunk('"');
|
643
|
+
stringToPrecomputedChunk('=""');
|
653
644
|
|
654
|
-
|
655
|
-
|
656
|
-
var styleSeparator = stringToPrecomputedChunk(';');
|
645
|
+
stringToPrecomputedChunk('>');
|
646
|
+
stringToPrecomputedChunk('/>');
|
657
647
|
|
658
|
-
|
659
|
-
var attributeAssign = stringToPrecomputedChunk('="');
|
660
|
-
var attributeEnd = stringToPrecomputedChunk('"');
|
661
|
-
var attributeEmptyString = stringToPrecomputedChunk('=""');
|
648
|
+
stringToPrecomputedChunk(' selected=""');
|
662
649
|
|
663
|
-
|
664
|
-
var endOfStartTagSelfClosing = stringToPrecomputedChunk('/>');
|
650
|
+
stringToPrecomputedChunk('\n');
|
665
651
|
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
var DOCTYPE = stringToPrecomputedChunk('<!DOCTYPE html>');
|
671
|
-
var endTag1 = stringToPrecomputedChunk('</');
|
672
|
-
var endTag2 = stringToPrecomputedChunk('>');
|
652
|
+
stringToPrecomputedChunk('<!DOCTYPE html>');
|
653
|
+
stringToPrecomputedChunk('</');
|
654
|
+
stringToPrecomputedChunk('>');
|
673
655
|
// A placeholder is a node inside a hidden partial tree that can be filled in later, but before
|
674
656
|
// display. It's never visible to users. We use the template tag because it can be used in every
|
675
657
|
// type of parent. <script> tags also work in every other tag except <colgroup>.
|
676
658
|
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
659
|
+
stringToPrecomputedChunk('<template id="');
|
660
|
+
stringToPrecomputedChunk('"></template>');
|
661
|
+
|
662
|
+
stringToPrecomputedChunk('<!--$-->');
|
663
|
+
stringToPrecomputedChunk('<!--$?--><template id="');
|
664
|
+
stringToPrecomputedChunk('"></template>');
|
665
|
+
stringToPrecomputedChunk('<!--$!-->');
|
666
|
+
stringToPrecomputedChunk('<!--/$-->');
|
667
|
+
stringToPrecomputedChunk('<template');
|
668
|
+
stringToPrecomputedChunk('"');
|
669
|
+
stringToPrecomputedChunk(' data-dgst="');
|
670
|
+
stringToPrecomputedChunk(' data-msg="');
|
671
|
+
stringToPrecomputedChunk(' data-stck="');
|
672
|
+
stringToPrecomputedChunk('></template>');
|
673
|
+
stringToPrecomputedChunk('<div hidden id="');
|
674
|
+
stringToPrecomputedChunk('">');
|
675
|
+
stringToPrecomputedChunk('</div>');
|
676
|
+
stringToPrecomputedChunk('<svg aria-hidden="true" style="display:none" id="');
|
677
|
+
stringToPrecomputedChunk('">');
|
678
|
+
stringToPrecomputedChunk('</svg>');
|
679
|
+
stringToPrecomputedChunk('<math aria-hidden="true" style="display:none" id="');
|
680
|
+
stringToPrecomputedChunk('">');
|
681
|
+
stringToPrecomputedChunk('</math>');
|
682
|
+
stringToPrecomputedChunk('<table hidden id="');
|
683
|
+
stringToPrecomputedChunk('">');
|
684
|
+
stringToPrecomputedChunk('</table>');
|
685
|
+
stringToPrecomputedChunk('<table hidden><tbody id="');
|
686
|
+
stringToPrecomputedChunk('">');
|
687
|
+
stringToPrecomputedChunk('</tbody></table>');
|
688
|
+
stringToPrecomputedChunk('<table hidden><tr id="');
|
689
|
+
stringToPrecomputedChunk('">');
|
690
|
+
stringToPrecomputedChunk('</tr></table>');
|
691
|
+
stringToPrecomputedChunk('<table hidden><colgroup id="');
|
692
|
+
stringToPrecomputedChunk('">');
|
693
|
+
stringToPrecomputedChunk('</colgroup></table>');
|
694
|
+
stringToPrecomputedChunk(completeSegment + ';$RS("');
|
695
|
+
stringToPrecomputedChunk('$RS("');
|
696
|
+
stringToPrecomputedChunk('","');
|
697
|
+
stringToPrecomputedChunk('")</script>');
|
698
|
+
stringToPrecomputedChunk('<template data-rsi="" data-sid="');
|
699
|
+
stringToPrecomputedChunk('" data-pid="');
|
700
|
+
stringToPrecomputedChunk(completeBoundary + '$RC("');
|
701
|
+
stringToPrecomputedChunk('$RC("');
|
702
|
+
stringToPrecomputedChunk(completeBoundary + completeBoundaryWithStyles + '$RR("');
|
703
|
+
stringToPrecomputedChunk(completeBoundaryWithStyles + '$RR("');
|
704
|
+
stringToPrecomputedChunk('$RR("');
|
705
|
+
stringToPrecomputedChunk('","');
|
706
|
+
stringToPrecomputedChunk('",');
|
707
|
+
stringToPrecomputedChunk('"');
|
708
|
+
stringToPrecomputedChunk(')</script>');
|
709
|
+
stringToPrecomputedChunk('<template data-rci="" data-bid="');
|
710
|
+
stringToPrecomputedChunk('<template data-rri="" data-bid="');
|
711
|
+
stringToPrecomputedChunk('" data-sid="');
|
712
|
+
stringToPrecomputedChunk('" data-sty="');
|
713
|
+
stringToPrecomputedChunk(clientRenderBoundary + ';$RX("');
|
714
|
+
stringToPrecomputedChunk('$RX("');
|
715
|
+
stringToPrecomputedChunk('"');
|
716
|
+
stringToPrecomputedChunk(',');
|
717
|
+
stringToPrecomputedChunk(')</script>');
|
718
|
+
stringToPrecomputedChunk('<template data-rxi="" data-bid="');
|
719
|
+
stringToPrecomputedChunk('" data-dgst="');
|
720
|
+
stringToPrecomputedChunk('" data-msg="');
|
721
|
+
stringToPrecomputedChunk('" data-stck="');
|
722
|
+
|
723
|
+
stringToPrecomputedChunk('<template data-precedence="">');
|
724
|
+
stringToPrecomputedChunk('</template>'); // Tracks whether we wrote any late style tags. We use this to determine
|
725
|
+
stringToPrecomputedChunk('<style data-precedence="');
|
726
|
+
stringToPrecomputedChunk('"></style>');
|
727
|
+
|
728
|
+
stringToPrecomputedChunk('[');
|
729
|
+
stringToPrecomputedChunk(',[');
|
730
|
+
stringToPrecomputedChunk(',');
|
731
|
+
stringToPrecomputedChunk(']'); // This function writes a 2D array of strings to be embedded in javascript.
|
750
732
|
|
751
733
|
var rendererSigil;
|
752
734
|
|
@@ -935,8 +917,8 @@ function popProvider() {
|
|
935
917
|
function getActiveContext() {
|
936
918
|
return currentActiveSnapshot;
|
937
919
|
}
|
938
|
-
function readContext(context) {
|
939
|
-
var value =
|
920
|
+
function readContext$1(context) {
|
921
|
+
var value = context._currentValue ;
|
940
922
|
return value;
|
941
923
|
}
|
942
924
|
|
@@ -1073,7 +1055,7 @@ function getThenableStateAfterSuspending() {
|
|
1073
1055
|
return state;
|
1074
1056
|
}
|
1075
1057
|
|
1076
|
-
function readContext
|
1058
|
+
function readContext(context) {
|
1077
1059
|
{
|
1078
1060
|
if (context.$$typeof !== REACT_SERVER_CONTEXT_TYPE) {
|
1079
1061
|
if (isClientReference(context)) {
|
@@ -1088,7 +1070,7 @@ function readContext$1(context) {
|
|
1088
1070
|
}
|
1089
1071
|
}
|
1090
1072
|
|
1091
|
-
return readContext(context);
|
1073
|
+
return readContext$1(context);
|
1092
1074
|
}
|
1093
1075
|
|
1094
1076
|
var HooksDispatcher = {
|
@@ -1101,8 +1083,8 @@ var HooksDispatcher = {
|
|
1101
1083
|
useDebugValue: function () {},
|
1102
1084
|
useDeferredValue: unsupportedHook,
|
1103
1085
|
useTransition: unsupportedHook,
|
1104
|
-
readContext: readContext
|
1105
|
-
useContext: readContext
|
1086
|
+
readContext: readContext,
|
1087
|
+
useContext: readContext,
|
1106
1088
|
useReducer: unsupportedHook,
|
1107
1089
|
useRef: unsupportedHook,
|
1108
1090
|
useState: unsupportedHook,
|
@@ -1125,7 +1107,7 @@ var HooksDispatcher = {
|
|
1125
1107
|
|
1126
1108
|
return data;
|
1127
1109
|
},
|
1128
|
-
use:
|
1110
|
+
use: use
|
1129
1111
|
};
|
1130
1112
|
|
1131
1113
|
function unsupportedHook() {
|
@@ -1163,7 +1145,7 @@ function use(usable) {
|
|
1163
1145
|
return trackUsedThenable(thenableState, thenable, index);
|
1164
1146
|
} else if (usable.$$typeof === REACT_SERVER_CONTEXT_TYPE) {
|
1165
1147
|
var context = usable;
|
1166
|
-
return readContext
|
1148
|
+
return readContext(context);
|
1167
1149
|
}
|
1168
1150
|
}
|
1169
1151
|
|
@@ -1830,7 +1812,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1830
1812
|
var length = 0;
|
1831
1813
|
|
1832
1814
|
if (isArray(objectOrArray)) {
|
1833
|
-
if (
|
1815
|
+
if (jsxChildrenParents.has(objectOrArray)) {
|
1834
1816
|
// Print JSX Children
|
1835
1817
|
var type = jsxChildrenParents.get(objectOrArray);
|
1836
1818
|
str = '<' + describeElementType(type) + '>';
|
@@ -1898,7 +1880,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1898
1880
|
} else {
|
1899
1881
|
if (objectOrArray.$$typeof === REACT_ELEMENT_TYPE) {
|
1900
1882
|
str = '<' + describeElementType(objectOrArray.type) + '/>';
|
1901
|
-
} else if (
|
1883
|
+
} else if (jsxPropsParents.has(objectOrArray)) {
|
1902
1884
|
// Print JSX
|
1903
1885
|
var _type = jsxPropsParents.get(objectOrArray);
|
1904
1886
|
|
@@ -2251,7 +2233,7 @@ function fatalError(request, error) {
|
|
2251
2233
|
}
|
2252
2234
|
|
2253
2235
|
function emitErrorChunkProd(request, id, digest) {
|
2254
|
-
var processedChunk = processErrorChunkProd(
|
2236
|
+
var processedChunk = processErrorChunkProd();
|
2255
2237
|
request.completedErrorChunks.push(processedChunk);
|
2256
2238
|
}
|
2257
2239
|
|
@@ -2508,8 +2490,6 @@ function abort(request, reason) {
|
|
2508
2490
|
stack = _getErrorMessageAndSt6.stack;
|
2509
2491
|
|
2510
2492
|
emitErrorChunkDev(request, errorId, digest, message, stack);
|
2511
|
-
} else {
|
2512
|
-
emitErrorChunkProd(request, errorId, digest);
|
2513
2493
|
}
|
2514
2494
|
|
2515
2495
|
abortableTasks.forEach(function (task) {
|
@@ -7,11 +7,11 @@
|
|
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("util"),ba=require("async_hooks"),ca=require("react")
|
11
|
-
function q(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(p(a,
|
12
|
-
|
13
|
-
var
|
14
|
-
function B(a,b,c,d,
|
10
|
+
'use strict';var aa=require("util"),ba=require("async_hooks"),ca=require("react"),da=new ba.AsyncLocalStorage,f=null,m=0,n=!0;function p(a,b){a=a.write(b);n=n&&a}
|
11
|
+
function q(a,b){if("string"===typeof b){if(0!==b.length)if(2048<3*b.length)0<m&&(p(a,f.subarray(0,m)),f=new Uint8Array(2048),m=0),p(a,r.encode(b));else{var c=f;0<m&&(c=f.subarray(m));c=r.encodeInto(b,c);var d=c.read;m+=c.written;d<b.length&&(p(a,f),f=new Uint8Array(2048),m=r.encodeInto(b.slice(d),f).written);2048===m&&(p(a,f),f=new Uint8Array(2048),m=0)}}else 0!==b.byteLength&&(2048<b.byteLength?(0<m&&(p(a,f.subarray(0,m)),f=new Uint8Array(2048),m=0),p(a,b)):(c=f.length-m,c<b.byteLength&&(0===c?p(a,
|
12
|
+
f):(f.set(b.subarray(0,c),m),m+=c,p(a,f),b=b.subarray(c)),f=new Uint8Array(2048),m=0),f.set(b,m),m+=b.byteLength,2048===m&&(p(a,f),f=new Uint8Array(2048),m=0)));return n}var r=new aa.TextEncoder;function t(a){return r.encode(a)}var u=JSON.stringify;function fa(a,b,c){a=u(c,a.toJSON);return b.toString(16)+":"+a+"\n"}function v(a,b,c){a=u(c);return b.toString(16)+":"+a+"\n"}
|
13
|
+
var x=Symbol.for("react.client.reference"),ha=Symbol.for("react.server.reference"),z=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"),A=Symbol.for("react.lazy"),pa=Symbol.for("react.default_value"),qa=Symbol.for("react.memo_cache_sentinel");
|
14
|
+
function B(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 B(a,0,!1,a,null,!1,!1)});
|
15
15
|
[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){new B(a[0],1,!1,a[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){new B(a,2,!1,a.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){new B(a,2,!1,a,null,!1,!1)});
|
16
16
|
"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 B(a,3,!1,a.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(a){new B(a,3,!0,a,null,!1,!1)});["capture","download"].forEach(function(a){new B(a,4,!1,a,null,!1,!1)});
|
17
17
|
["cols","rows","size","span"].forEach(function(a){new B(a,6,!1,a,null,!1,!1)});["rowSpan","start"].forEach(function(a){new B(a,5,!1,a.toLowerCase(),null,!1,!1)});var C=/[\-:]([a-z])/g;function D(a){return a[1].toUpperCase()}
|
@@ -29,35 +29,35 @@ t('$RR("');t('","');t('",');t('"');t(")\x3c/script>");t('<template data-rci="" d
|
|
29
29
|
t("</template>");t('<style data-precedence="');t('"></style>');t("[");t(",[");t(",");t("]");var F=null;function H(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.");H(a,c);b.context._currentValue=b.value}}}
|
30
30
|
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?H(a,b):va(a,b)}
|
31
31
|
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?H(a,c):wa(a,c);b.context._currentValue=b.value}function I(a){var b=F;b!==a&&(null===b?ua(a):null===a?ta(b):b.depth===a.depth?H(b,a):b.depth>a.depth?va(b,a):wa(b,a),F=a)}function xa(a,b){var c=a._currentValue;a._currentValue=b;var d=F;return F=a={parent:d,depth:null===d?0:d.depth+1,context:a,parentValue:c,value:b}}var J=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`");
|
32
|
-
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(
|
32
|
+
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;}K=b;throw J;}}var K=null;
|
33
33
|
function Aa(){if(null===K)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=K;K=null;return a}var L=null,M=0,O=null;function Ba(){var a=O;O=null;return a}function Ca(a){return a._currentValue}
|
34
34
|
var Ga={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:P,useTransition:P,readContext:Ca,useContext:Ca,useReducer:P,useRef:P,useState:P,useInsertionEffect:P,useLayoutEffect:P,useImperativeHandle:P,useEffect:P,useId:Da,useMutableSource:P,useSyncExternalStore:P,useCacheRefresh:function(){return Ea},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=qa;return b},use:Fa};
|
35
35
|
function P(){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===L)throw Error("useId can only be used while React is rendering");var a=L.identifierCount++;return":"+L.identifierPrefix+"S"+a.toString(32)+":"}
|
36
36
|
function Fa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=M;M+=1;null===O&&(O=[]);return za(O,a,b)}if(a.$$typeof===ka)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Q(){return(new AbortController).signal}function Ha(){if(R)return R;var a=da.getStore();return a?a:new Map}
|
37
37
|
var Ia={getCacheSignal:function(){var a=Ha(),b=a.get(Q);void 0===b&&(b=Q(),a.set(Q,b));return b},getCacheForType:function(a){var b=Ha(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},R=null,S=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,T=S.ContextRegistry,U=S.ReactCurrentDispatcher,Ja=S.ReactCurrentCache;function Ka(a){console.error(a)}
|
38
|
-
function La(a,b,c,d,
|
39
|
-
"",identifierCount:1,onError:void 0===c?Ka:c,toJSON:function(
|
40
|
-
function Qa(a,b){a.pendingChunks++;var c=Oa(a,null,F,a.abortableTasks);switch(b.status){case "fulfilled":return c.model=b.value,Ra(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(
|
38
|
+
function La(a,b,c,d,e){if(null!==Ja.current&&Ja.current!==Ia)throw Error("Currently React only supports one RSC renderer at a time.");Ja.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||
|
39
|
+
"",identifierCount:1,onError:void 0===c?Ka:c,toJSON:function(l,w){return Ma(k,this,l,w)}};k.pendingChunks++;b=Na(d);a=Oa(k,a,b,g);h.push(a);return k}var Pa={};
|
40
|
+
function Qa(a,b){a.pendingChunks++;var c=Oa(a,null,F,a.abortableTasks);switch(b.status){case "fulfilled":return c.model=b.value,Ra(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;Ra(a,c)},function(e){e=V(a,e);W(a,c.id,e)});return c.id}
|
41
41
|
function Sa(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function Ta(a){switch(a.status){case "fulfilled":case "rejected":break;default:"string"!==typeof a.status&&(a.status="pending",a.then(function(b){"pending"===a.status&&(a.status="fulfilled",a.value=b)},function(b){"pending"===a.status&&(a.status="rejected",a.reason=b)}))}return{$$typeof:A,_payload:a,_init:Sa}}
|
42
|
-
function X(a,b,c,d,
|
43
|
-
b._init;b=h(b._payload);return X(a,b,c,d,
|
44
|
-
function Oa(a,b,c,d){var
|
45
|
-
function Wa(a,b,c,d){var
|
46
|
-
b=a.nextChunkId++,c=V(a,N),W(a,b,c),"$"+b.toString(16)}}function Xa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(
|
42
|
+
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===x)return[z,b,c,e];M=0;O=g;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:Ta(e):e}if("string"===typeof b)return[z,b,c,e];if("symbol"===typeof b)return b===ia?e.children:[z,b,c,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===x)return[z,b,c,e];switch(b.$$typeof){case A:var h=
|
43
|
+
b._init;b=h(b._payload);return X(a,b,c,d,e,g);case la:return a=b.render,M=0,O=g,a(e,void 0);case oa:return X(a,b.type,c,d,e,g);case ja:return xa(b._context,e.value),[z,b,c,{value:e.value,children:e.children,__pop:Pa}]}}throw Error("Unsupported Server Component type: "+Ua(b));}function Ra(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&setImmediate(function(){return Va(a)})}
|
44
|
+
function Oa(a,b,c,d){var e={id:a.nextChunkId++,status:0,model:b,context:c,ping:function(){return Ra(a,e)},thenableState:null};d.add(e);return e}
|
45
|
+
function Wa(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]===z&&"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 w=a.nextChunkId++,ea=u(l);var y=w.toString(16)+":I"+ea+"\n";a.completedImportChunks.push(y);g.set(e,w);return b[0]===z&&"1"===c?"$L"+w.toString(16):"$"+w.toString(16)}catch(N){return a.pendingChunks++,
|
46
|
+
b=a.nextChunkId++,c=V(a,N),W(a,b,c),"$"+b.toString(16)}}function Xa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}function Ua(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.substr(0,10)+"...");case "object":if(sa(a))return"[...]";a=Xa(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}}
|
47
47
|
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 A:var b=a._payload;a=a._init;try{return Y(a(b))}catch(c){}}return""}
|
48
|
-
function Z(a,b){var c=Xa(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(sa(a)){var
|
49
|
-
Ua(l);k===b?(c=
|
50
|
-
function Ma(a,b,c,d){switch(d){case
|
51
|
-
d.toString(16)}if(null===d)return null;if("object"===typeof d){if(d.$$typeof===
|
52
|
-
d===pa?a.context._defaultValue:d;F=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===
|
53
|
-
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){
|
54
|
-
(d.description+") cannot be found among global symbols.")+Z(b,c));a.pendingChunks++;c=a.nextChunkId++;b=v(a,c,"$S"+g);a.completedImportChunks.push(b);
|
48
|
+
function Z(a,b){var c=Xa(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):Ua(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===z)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):
|
49
|
+
Ua(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}
|
50
|
+
function Ma(a,b,c,d){switch(d){case z:return"$"}for(;"object"===typeof d&&null!==d&&(d.$$typeof===z||d.$$typeof===A);)try{switch(d.$$typeof){case z:var e=d;d=X(a,e.type,e.key,e.ref,e.props,null);break;case A:var g=d._init;d=g(d._payload)}}catch(h){c=h===J?Aa():h;if("object"===typeof c&&null!==c&&"function"===typeof c.then)return a.pendingChunks++,a=Oa(a,d,F,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"+
|
51
|
+
d.toString(16)}if(null===d)return null;if("object"===typeof d){if(d.$$typeof===x)return Wa(a,b,c,d);if("function"===typeof d.then)return"$@"+Qa(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=v(a,c,"$P"+d),a.completedJSONChunks.push(d)),"$"+c.toString(16);if(d===Pa){a=F;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=
|
52
|
+
d===pa?a.context._defaultValue:d;F=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===x)return Wa(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=fa(a,b,e),a.completedJSONChunks.push(e),c.set(d,
|
53
|
+
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("+
|
54
|
+
(d.description+") cannot be found among global symbols.")+Z(b,c));a.pendingChunks++;c=a.nextChunkId++;b=v(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));}
|
55
55
|
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 Ya(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}
|
56
56
|
function W(a,b,c){c={digest:c};b=b.toString(16)+":E"+u(c)+"\n";a.completedErrorChunks.push(b)}
|
57
|
-
function Va(a){var b=U.current,c=R;U.current=Ga;R=a.cache;L=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var
|
58
|
-
g.status=1}catch(G){var
|
59
|
-
function Za(a,b){
|
57
|
+
function Va(a){var b=U.current,c=R;U.current=Ga;R=a.cache;L=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){I(g.context);try{var k=g.model;if("object"===typeof k&&null!==k&&k.$$typeof===z){var l=k,w=g.thenableState;g.model=k;k=X(h,l.type,l.key,l.ref,l.props,w);for(g.thenableState=null;"object"===typeof k&&null!==k&&k.$$typeof===z;)l=k,g.model=k,k=X(h,l.type,l.key,l.ref,l.props,null)}var ea=fa(h,g.id,k);h.completedJSONChunks.push(ea);h.abortableTasks.delete(g);
|
58
|
+
g.status=1}catch(G){var y=G===J?Aa():G;if("object"===typeof y&&null!==y&&"function"===typeof y.then){var N=g.ping;y.then(N,N);g.thenableState=Ba()}else{h.abortableTasks.delete(g);g.status=4;var ab=V(h,y);W(h,g.id,ab)}}}}null!==a.destination&&Za(a,a.destination)}catch(G){V(a,G),Ya(a,G)}finally{U.current=b,R=c,L=null}}
|
59
|
+
function Za(a,b){f=new Uint8Array(2048);m=0;n=!0;try{for(var c=a.completedImportChunks,d=0;d<c.length;d++)if(a.pendingChunks--,!q(b,c[d])){a.destination=null;d++;break}c.splice(0,d);var e=a.completedJSONChunks;for(d=0;d<e.length;d++)if(a.pendingChunks--,!q(b,e[d])){a.destination=null;d++;break}e.splice(0,d);var g=a.completedErrorChunks;for(d=0;d<g.length;d++)if(a.pendingChunks--,!q(b,g[d])){a.destination=null;d++;break}g.splice(0,d)}finally{f&&0<m&&b.write(f.subarray(0,m)),f=null,m=0,n=!0}"function"===
|
60
60
|
typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function $a(a){setImmediate(function(){return da.run(a.cache,Va,a)})}function bb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Za(a,b)}catch(c){V(a,c),Ya(a,c)}}}
|
61
|
-
function cb(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
|
62
|
-
function Na(a){if(a){var b=F;I(null);for(var c=0;c<a.length;c++){var d=a[c],
|
63
|
-
exports.renderToPipeableStream=function(a,b,c){var d=La(a,b,c?c.onError:void 0,c?c.context:void 0,c?c.identifierPrefix:void 0),
|
61
|
+
function cb(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=v(a,g.id,h);a.completedErrorChunks.push(g)});c.clear()}null!==a.destination&&Za(a,a.destination)}catch(g){V(a,g),Ya(a,g)}}
|
62
|
+
function Na(a){if(a){var b=F;I(null);for(var c=0;c<a.length;c++){var d=a[c],e=d[0];d=d[1];T[e]||(T[e]=ca.createServerContext(e,pa));xa(T[e],d)}a=F;I(b);return a}return null}function db(a,b){return function(){return bb(b,a)}}
|
63
|
+
exports.renderToPipeableStream=function(a,b,c){var d=La(a,b,c?c.onError:void 0,c?c.context:void 0,c?c.identifierPrefix:void 0),e=!1;$a(d);return{pipe:function(g){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;bb(d,g);g.on("drain",db(g,d));return g},abort:function(g){cb(d,g)}}};
|