react-server-dom-webpack 18.3.0-canary-a870b2d54-20240314 → 18.3.0-canary-14898b6a9-20240318
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 +85 -83
- package/cjs/react-server-dom-webpack-client.browser.production.js +86 -84
- package/cjs/react-server-dom-webpack-client.browser.production.min.js +3 -3
- package/cjs/react-server-dom-webpack-client.browser.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-client.edge.development.js +85 -83
- package/cjs/react-server-dom-webpack-client.edge.production.js +86 -84
- package/cjs/react-server-dom-webpack-client.edge.production.min.js +3 -3
- package/cjs/react-server-dom-webpack-client.edge.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-client.node.development.js +85 -83
- package/cjs/react-server-dom-webpack-client.node.production.js +86 -84
- package/cjs/react-server-dom-webpack-client.node.production.min.js +2 -2
- package/cjs/react-server-dom-webpack-client.node.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +85 -83
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.js +86 -84
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +2 -2
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-server.browser.development.js +18 -37
- package/cjs/react-server-dom-webpack-server.browser.production.js +19 -32
- package/cjs/react-server-dom-webpack-server.browser.production.min.js +53 -53
- package/cjs/react-server-dom-webpack-server.browser.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-server.edge.development.js +18 -37
- package/cjs/react-server-dom-webpack-server.edge.production.js +19 -32
- package/cjs/react-server-dom-webpack-server.edge.production.min.js +58 -59
- package/cjs/react-server-dom-webpack-server.edge.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-server.node.development.js +17 -36
- package/cjs/react-server-dom-webpack-server.node.production.js +18 -31
- package/cjs/react-server-dom-webpack-server.node.production.min.js +60 -60
- package/cjs/react-server-dom-webpack-server.node.production.min.js.map +1 -1
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +17 -36
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +18 -31
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +60 -60
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js.map +1 -1
- package/package.json +11 -5
- package/umd/react-server-dom-webpack-client.browser.development.js +85 -83
- package/umd/react-server-dom-webpack-client.browser.production.min.js +2 -2
- package/umd/react-server-dom-webpack-server.browser.development.js +18 -37
- package/umd/react-server-dom-webpack-server.browser.production.min.js +50 -50
@@ -62,7 +62,7 @@ var enablePostpone = false;
|
|
62
62
|
function scheduleWork(callback) {
|
63
63
|
callback();
|
64
64
|
}
|
65
|
-
var VIEW_SIZE =
|
65
|
+
var VIEW_SIZE = 2048;
|
66
66
|
var currentView = null;
|
67
67
|
var writtenBytes = 0;
|
68
68
|
function beginWriting(destination) {
|
@@ -75,15 +75,9 @@ function writeChunk(destination, chunk) {
|
|
75
75
|
}
|
76
76
|
|
77
77
|
if (chunk.byteLength > VIEW_SIZE) {
|
78
|
-
|
79
|
-
if (precomputedChunkSet.has(chunk)) {
|
80
|
-
error('A large precomputed chunk was passed to writeChunk without being copied.' + ' Large chunks get enqueued directly and are not copied. This is incompatible with precomputed chunks because you cannot enqueue the same precomputed chunk twice.' + ' Use "cloneChunk" to make a copy of this large precomputed chunk before writing it. This is a bug in React.');
|
81
|
-
}
|
82
|
-
} // this chunk may overflow a single view which implies it was not
|
78
|
+
// this chunk may overflow a single view which implies it was not
|
83
79
|
// one that is cached by the streaming renderer. We will enqueu
|
84
80
|
// it directly and expect it is not re-used
|
85
|
-
|
86
|
-
|
87
81
|
if (writtenBytes > 0) {
|
88
82
|
destination.enqueue(new Uint8Array(currentView.buffer, 0, writtenBytes));
|
89
83
|
currentView = new Uint8Array(VIEW_SIZE);
|
@@ -138,7 +132,6 @@ var textEncoder = new TextEncoder();
|
|
138
132
|
function stringToChunk(content) {
|
139
133
|
return textEncoder.encode(content);
|
140
134
|
}
|
141
|
-
var precomputedChunkSet = new Set() ;
|
142
135
|
function byteLengthOfChunk(chunk) {
|
143
136
|
return chunk.byteLength;
|
144
137
|
}
|
@@ -462,9 +455,7 @@ function getServerReferenceBoundArguments(config, serverReference) {
|
|
462
455
|
|
463
456
|
var ReactDOMSharedInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
464
457
|
|
465
|
-
var
|
466
|
-
var previousDispatcher = ReactDOMCurrentDispatcher.current;
|
467
|
-
ReactDOMCurrentDispatcher.current = {
|
458
|
+
var ReactDOMFlightServerDispatcher = {
|
468
459
|
prefetchDNS: prefetchDNS,
|
469
460
|
preconnect: preconnect,
|
470
461
|
preload: preload,
|
@@ -490,8 +481,6 @@ function prefetchDNS(href) {
|
|
490
481
|
|
491
482
|
hints.add(key);
|
492
483
|
emitHint(request, 'D', href);
|
493
|
-
} else {
|
494
|
-
previousDispatcher.prefetchDNS(href);
|
495
484
|
}
|
496
485
|
}
|
497
486
|
}
|
@@ -518,8 +507,6 @@ function preconnect(href, crossOrigin) {
|
|
518
507
|
} else {
|
519
508
|
emitHint(request, 'C', href);
|
520
509
|
}
|
521
|
-
} else {
|
522
|
-
previousDispatcher.preconnect(href, crossOrigin);
|
523
510
|
}
|
524
511
|
}
|
525
512
|
}
|
@@ -553,8 +540,6 @@ function preload(href, as, options) {
|
|
553
540
|
} else {
|
554
541
|
emitHint(request, 'L', [href, as]);
|
555
542
|
}
|
556
|
-
} else {
|
557
|
-
previousDispatcher.preload(href, as, options);
|
558
543
|
}
|
559
544
|
}
|
560
545
|
}
|
@@ -582,8 +567,6 @@ function preloadModule$1(href, options) {
|
|
582
567
|
} else {
|
583
568
|
return emitHint(request, 'm', href);
|
584
569
|
}
|
585
|
-
} else {
|
586
|
-
previousDispatcher.preloadModule(href, options);
|
587
570
|
}
|
588
571
|
}
|
589
572
|
}
|
@@ -613,21 +596,19 @@ function preinitStyle(href, precedence, options) {
|
|
613
596
|
} else {
|
614
597
|
return emitHint(request, 'S', href);
|
615
598
|
}
|
616
|
-
} else {
|
617
|
-
previousDispatcher.preinitStyle(href, precedence, options);
|
618
599
|
}
|
619
600
|
}
|
620
601
|
}
|
621
602
|
}
|
622
603
|
|
623
|
-
function preinitScript(
|
604
|
+
function preinitScript(href, options) {
|
624
605
|
{
|
625
|
-
if (typeof
|
606
|
+
if (typeof href === 'string') {
|
626
607
|
var request = resolveRequest();
|
627
608
|
|
628
609
|
if (request) {
|
629
610
|
var hints = getHints(request);
|
630
|
-
var key = 'X|' +
|
611
|
+
var key = 'X|' + href;
|
631
612
|
|
632
613
|
if (hints.has(key)) {
|
633
614
|
// duplicate hint
|
@@ -638,25 +619,23 @@ function preinitScript(src, options) {
|
|
638
619
|
var trimmed = trimOptions(options);
|
639
620
|
|
640
621
|
if (trimmed) {
|
641
|
-
return emitHint(request, 'X', [
|
622
|
+
return emitHint(request, 'X', [href, trimmed]);
|
642
623
|
} else {
|
643
|
-
return emitHint(request, 'X',
|
624
|
+
return emitHint(request, 'X', href);
|
644
625
|
}
|
645
|
-
} else {
|
646
|
-
previousDispatcher.preinitScript(src, options);
|
647
626
|
}
|
648
627
|
}
|
649
628
|
}
|
650
629
|
}
|
651
630
|
|
652
|
-
function preinitModuleScript(
|
631
|
+
function preinitModuleScript(href, options) {
|
653
632
|
{
|
654
|
-
if (typeof
|
633
|
+
if (typeof href === 'string') {
|
655
634
|
var request = resolveRequest();
|
656
635
|
|
657
636
|
if (request) {
|
658
637
|
var hints = getHints(request);
|
659
|
-
var key = 'M|' +
|
638
|
+
var key = 'M|' + href;
|
660
639
|
|
661
640
|
if (hints.has(key)) {
|
662
641
|
// duplicate hint
|
@@ -667,12 +646,10 @@ function preinitModuleScript(src, options) {
|
|
667
646
|
var trimmed = trimOptions(options);
|
668
647
|
|
669
648
|
if (trimmed) {
|
670
|
-
return emitHint(request, 'M', [
|
649
|
+
return emitHint(request, 'M', [href, trimmed]);
|
671
650
|
} else {
|
672
|
-
return emitHint(request, 'M',
|
651
|
+
return emitHint(request, 'M', href);
|
673
652
|
}
|
674
|
-
} else {
|
675
|
-
previousDispatcher.preinitModuleScript(src, options);
|
676
653
|
}
|
677
654
|
}
|
678
655
|
}
|
@@ -714,7 +691,10 @@ function getImagePreloadKey(href, imageSrcSet, imageSizes) {
|
|
714
691
|
return "[image]" + uniquePart;
|
715
692
|
}
|
716
693
|
|
717
|
-
|
694
|
+
var ReactDOMCurrentDispatcher = ReactDOMSharedInternals.Dispatcher;
|
695
|
+
function prepareHostDispatcher() {
|
696
|
+
ReactDOMCurrentDispatcher.current = ReactDOMFlightServerDispatcher;
|
697
|
+
} // Used to distinguish these contexts from ones used in other renderers.
|
718
698
|
// small, smaller than how we encode undefined, and is unambiguous. We could use
|
719
699
|
// a different tuple structure to encode this instead but this makes the runtime
|
720
700
|
// cost cheaper by eliminating a type checks in more positions.
|
@@ -1394,6 +1374,7 @@ function createRequest(model, bundlerConfig, onError, identifierPrefix, onPostpo
|
|
1394
1374
|
throw new Error('Currently React only supports one RSC renderer at a time.');
|
1395
1375
|
}
|
1396
1376
|
|
1377
|
+
prepareHostDispatcher();
|
1397
1378
|
ReactCurrentCache.current = DefaultCacheDispatcher;
|
1398
1379
|
var abortSet = new Set();
|
1399
1380
|
var pingedTasks = [];
|
@@ -10,8 +10,8 @@
|
|
10
10
|
|
11
11
|
'use strict';
|
12
12
|
|
13
|
-
var ReactDOM = require('react-dom');
|
14
13
|
var React = require('react');
|
14
|
+
var ReactDOM = require('react-dom');
|
15
15
|
|
16
16
|
// -----------------------------------------------------------------------------
|
17
17
|
const enablePostpone = false;
|
@@ -19,7 +19,7 @@ const enablePostpone = false;
|
|
19
19
|
function scheduleWork(callback) {
|
20
20
|
callback();
|
21
21
|
}
|
22
|
-
const VIEW_SIZE =
|
22
|
+
const VIEW_SIZE = 2048;
|
23
23
|
let currentView = null;
|
24
24
|
let writtenBytes = 0;
|
25
25
|
function beginWriting(destination) {
|
@@ -32,10 +32,9 @@ function writeChunk(destination, chunk) {
|
|
32
32
|
}
|
33
33
|
|
34
34
|
if (chunk.byteLength > VIEW_SIZE) {
|
35
|
+
// this chunk may overflow a single view which implies it was not
|
35
36
|
// one that is cached by the streaming renderer. We will enqueu
|
36
37
|
// it directly and expect it is not re-used
|
37
|
-
|
38
|
-
|
39
38
|
if (writtenBytes > 0) {
|
40
39
|
destination.enqueue(new Uint8Array(currentView.buffer, 0, writtenBytes));
|
41
40
|
currentView = new Uint8Array(VIEW_SIZE);
|
@@ -408,9 +407,7 @@ function getServerReferenceBoundArguments(config, serverReference) {
|
|
408
407
|
|
409
408
|
const ReactDOMSharedInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
410
409
|
|
411
|
-
const
|
412
|
-
const previousDispatcher = ReactDOMCurrentDispatcher.current;
|
413
|
-
ReactDOMCurrentDispatcher.current = {
|
410
|
+
const ReactDOMFlightServerDispatcher = {
|
414
411
|
prefetchDNS,
|
415
412
|
preconnect,
|
416
413
|
preload,
|
@@ -436,8 +433,6 @@ function prefetchDNS(href) {
|
|
436
433
|
|
437
434
|
hints.add(key);
|
438
435
|
emitHint(request, 'D', href);
|
439
|
-
} else {
|
440
|
-
previousDispatcher.prefetchDNS(href);
|
441
436
|
}
|
442
437
|
}
|
443
438
|
}
|
@@ -464,8 +459,6 @@ function preconnect(href, crossOrigin) {
|
|
464
459
|
} else {
|
465
460
|
emitHint(request, 'C', href);
|
466
461
|
}
|
467
|
-
} else {
|
468
|
-
previousDispatcher.preconnect(href, crossOrigin);
|
469
462
|
}
|
470
463
|
}
|
471
464
|
}
|
@@ -499,8 +492,6 @@ function preload(href, as, options) {
|
|
499
492
|
} else {
|
500
493
|
emitHint(request, 'L', [href, as]);
|
501
494
|
}
|
502
|
-
} else {
|
503
|
-
previousDispatcher.preload(href, as, options);
|
504
495
|
}
|
505
496
|
}
|
506
497
|
}
|
@@ -528,8 +519,6 @@ function preloadModule$1(href, options) {
|
|
528
519
|
} else {
|
529
520
|
return emitHint(request, 'm', href);
|
530
521
|
}
|
531
|
-
} else {
|
532
|
-
previousDispatcher.preloadModule(href, options);
|
533
522
|
}
|
534
523
|
}
|
535
524
|
}
|
@@ -559,21 +548,19 @@ function preinitStyle(href, precedence, options) {
|
|
559
548
|
} else {
|
560
549
|
return emitHint(request, 'S', href);
|
561
550
|
}
|
562
|
-
} else {
|
563
|
-
previousDispatcher.preinitStyle(href, precedence, options);
|
564
551
|
}
|
565
552
|
}
|
566
553
|
}
|
567
554
|
}
|
568
555
|
|
569
|
-
function preinitScript(
|
556
|
+
function preinitScript(href, options) {
|
570
557
|
{
|
571
|
-
if (typeof
|
558
|
+
if (typeof href === 'string') {
|
572
559
|
const request = resolveRequest();
|
573
560
|
|
574
561
|
if (request) {
|
575
562
|
const hints = getHints(request);
|
576
|
-
const key = 'X|' +
|
563
|
+
const key = 'X|' + href;
|
577
564
|
|
578
565
|
if (hints.has(key)) {
|
579
566
|
// duplicate hint
|
@@ -584,25 +571,23 @@ function preinitScript(src, options) {
|
|
584
571
|
const trimmed = trimOptions(options);
|
585
572
|
|
586
573
|
if (trimmed) {
|
587
|
-
return emitHint(request, 'X', [
|
574
|
+
return emitHint(request, 'X', [href, trimmed]);
|
588
575
|
} else {
|
589
|
-
return emitHint(request, 'X',
|
576
|
+
return emitHint(request, 'X', href);
|
590
577
|
}
|
591
|
-
} else {
|
592
|
-
previousDispatcher.preinitScript(src, options);
|
593
578
|
}
|
594
579
|
}
|
595
580
|
}
|
596
581
|
}
|
597
582
|
|
598
|
-
function preinitModuleScript(
|
583
|
+
function preinitModuleScript(href, options) {
|
599
584
|
{
|
600
|
-
if (typeof
|
585
|
+
if (typeof href === 'string') {
|
601
586
|
const request = resolveRequest();
|
602
587
|
|
603
588
|
if (request) {
|
604
589
|
const hints = getHints(request);
|
605
|
-
const key = 'M|' +
|
590
|
+
const key = 'M|' + href;
|
606
591
|
|
607
592
|
if (hints.has(key)) {
|
608
593
|
// duplicate hint
|
@@ -613,12 +598,10 @@ function preinitModuleScript(src, options) {
|
|
613
598
|
const trimmed = trimOptions(options);
|
614
599
|
|
615
600
|
if (trimmed) {
|
616
|
-
return emitHint(request, 'M', [
|
601
|
+
return emitHint(request, 'M', [href, trimmed]);
|
617
602
|
} else {
|
618
|
-
return emitHint(request, 'M',
|
603
|
+
return emitHint(request, 'M', href);
|
619
604
|
}
|
620
|
-
} else {
|
621
|
-
previousDispatcher.preinitModuleScript(src, options);
|
622
605
|
}
|
623
606
|
}
|
624
607
|
}
|
@@ -660,7 +643,10 @@ function getImagePreloadKey(href, imageSrcSet, imageSizes) {
|
|
660
643
|
return "[image]" + uniquePart;
|
661
644
|
}
|
662
645
|
|
663
|
-
|
646
|
+
const ReactDOMCurrentDispatcher = ReactDOMSharedInternals.Dispatcher;
|
647
|
+
function prepareHostDispatcher() {
|
648
|
+
ReactDOMCurrentDispatcher.current = ReactDOMFlightServerDispatcher;
|
649
|
+
} // Used to distinguish these contexts from ones used in other renderers.
|
664
650
|
// small, smaller than how we encode undefined, and is unambiguous. We could use
|
665
651
|
// a different tuple structure to encode this instead but this makes the runtime
|
666
652
|
// cost cheaper by eliminating a type checks in more positions.
|
@@ -1217,6 +1203,7 @@ function createRequest(model, bundlerConfig, onError, identifierPrefix, onPostpo
|
|
1217
1203
|
throw new Error('Currently React only supports one RSC renderer at a time.');
|
1218
1204
|
}
|
1219
1205
|
|
1206
|
+
prepareHostDispatcher();
|
1220
1207
|
ReactCurrentCache.current = DefaultCacheDispatcher;
|
1221
1208
|
const abortSet = new Set();
|
1222
1209
|
const pingedTasks = [];
|
@@ -7,71 +7,71 @@
|
|
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
|
10
|
+
'use strict';var aa=require("react"),ba=require("react-dom"),l=null,n=0;function p(a,b){if(0!==b.byteLength)if(2048<b.byteLength)0<n&&(a.enqueue(new Uint8Array(l.buffer,0,n)),l=new Uint8Array(2048),n=0),a.enqueue(b);else{var c=l.length-n;c<b.byteLength&&(0===c?a.enqueue(l):(l.set(b.subarray(0,c),n),a.enqueue(l),b=b.subarray(c)),l=new Uint8Array(2048),n=0);l.set(b,n);n+=b.byteLength}return!0}var q=new TextEncoder;function ca(a,b){"function"===typeof a.error?a.error(b):a.close()}
|
11
11
|
var r=Symbol.for("react.client.reference"),t=Symbol.for("react.server.reference");function u(a,b,c){return Object.defineProperties(a,{$$typeof:{value:r},$$id:{value:b},$$async:{value:c}})}var da=Function.prototype.bind,ea=Array.prototype.slice;function fa(){var a=da.apply(this,arguments);if(this.$$typeof===t){var b=ea.call(arguments,1);return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:this.$$id},$$bound:{value:this.$$bound?this.$$bound.concat(b):b},bind:{value:fa}})}return a}
|
12
12
|
var ha=Promise.prototype,ia={get:function(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "displayName":return;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "Provider":throw Error("Cannot render a Client Context Provider on the Server. Instead, you can export a Client Component wrapper that itself renders a Client Context Provider.");
|
13
13
|
}throw Error("Cannot access "+(String(a.name)+"."+String(b))+" on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.");},set:function(){throw Error("Cannot assign to a client module from a server module.");}};
|
14
14
|
function ja(a,b){switch(b){case "$$typeof":return a.$$typeof;case "$$id":return a.$$id;case "$$async":return a.$$async;case "name":return a.name;case "defaultProps":return;case "toJSON":return;case Symbol.toPrimitive:return Object.prototype[Symbol.toPrimitive];case Symbol.toStringTag:return Object.prototype[Symbol.toStringTag];case "__esModule":var c=a.$$id;a.default=u(function(){throw Error("Attempted to call the default export of "+c+" from the server but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");
|
15
15
|
},a.$$id+"#",a.$$async);return!0;case "then":if(a.then)return a.then;if(a.$$async)return;var d=u({},a.$$id,!0),e=new Proxy(d,ka);a.status="fulfilled";a.value=e;return a.then=u(function(g){return Promise.resolve(g(e))},a.$$id+"#then",!1)}if("symbol"===typeof b)throw Error("Cannot read Symbol exports. Only named exports are supported on a client module imported on the server.");d=a[b];d||(d=u(function(){throw Error("Attempted to call "+String(b)+"() from the server but "+String(b)+" is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.");
|
16
16
|
},a.$$id+"#"+b,a.$$async),Object.defineProperty(d,"name",{value:b}),d=a[b]=new Proxy(d,ia));return d}
|
17
|
-
var ka={get:function(a,b){return ja(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:ja(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(){return ha},set:function(){throw Error("Cannot assign to a client module from a server module.");}},la
|
18
|
-
|
19
|
-
function
|
20
|
-
function pa(a,b){if("string"===typeof a){var
|
21
|
-
function ra(a,b){if("string"===typeof a){var c=
|
22
|
-
var
|
23
|
-
function
|
24
|
-
function
|
25
|
-
var
|
26
|
-
function
|
27
|
-
function
|
28
|
-
function
|
29
|
-
function
|
30
|
-
function
|
31
|
-
function
|
32
|
-
"object"===typeof k&&null!==k?
|
33
|
-
if(!
|
34
|
-
function
|
35
|
-
writtenObjects:new WeakMap,identifierPrefix:d||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===c
|
36
|
-
function
|
37
|
-
null!==a.destination&&
|
38
|
-
function
|
39
|
-
function
|
40
|
-
function
|
41
|
-
c._init;c=f(c._payload);return
|
42
|
-
function
|
43
|
-
var
|
44
|
-
function
|
45
|
-
f];a.pendingChunks++;var
|
46
|
-
function
|
47
|
-
d.toString(16);a=
|
48
|
-
return"$W"+
|
49
|
-
a.nextChunkId++,e=q.encode(e),c=e.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",c=q.encode(c),a.completedRegularChunks.push(c,e),
|
50
|
-
c=b.get(e),void 0!==c?a="$F"+c.toString(16):(c=e.$$bound,c={id:e.$$id,bound:c?Promise.resolve(c):null},a=
|
51
|
-
|
52
|
-
" is not supported in Client Component props."+
|
53
|
-
function
|
54
|
-
function
|
55
|
-
function
|
56
|
-
function
|
57
|
-
b.close()}function
|
58
|
-
function
|
59
|
-
function
|
60
|
-
function
|
61
|
-
function
|
62
|
-
|
63
|
-
function wb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&vb(c,b)}}function xb(a,b,c,d,e,g){var f=
|
64
|
-
function ub(a){var b=W,c=
|
65
|
-
function Z(a,b){var c=a._chunks,d=c.get(b);d||(d=a._formData.get(a._prefix+b),d=null!=d?new
|
17
|
+
var ka={get:function(a,b){return ja(a,b)},getOwnPropertyDescriptor:function(a,b){var c=Object.getOwnPropertyDescriptor(a,b);c||(c={value:ja(a,b),writable:!1,configurable:!1,enumerable:!1},Object.defineProperty(a,b,c));return c},getPrototypeOf:function(){return ha},set:function(){throw Error("Cannot assign to a client module from a server module.");}},sa={prefetchDNS:la,preconnect:ma,preload:na,preloadModule:oa,preinitStyle:pa,preinitScript:qa,preinitModuleScript:ra};
|
18
|
+
function la(a){if("string"===typeof a&&a){var b=w?w:null;if(b){var c=b.hints,d="D|"+a;c.has(d)||(c.add(d),x(b,"D",a))}}}function ma(a,b){if("string"===typeof a){var c=w?w:null;if(c){var d=c.hints,e="C|"+(null==b?"null":b)+"|"+a;d.has(e)||(d.add(e),"string"===typeof b?x(c,"C",[a,b]):x(c,"C",a))}}}
|
19
|
+
function na(a,b,c){if("string"===typeof a){var d=w?w:null;if(d){var e=d.hints,g="L";if("image"===b&&c){var f=c.imageSrcSet,h=c.imageSizes,k="";"string"===typeof f&&""!==f?(k+="["+f+"]","string"===typeof h&&(k+="["+h+"]")):k+="[][]"+a;g+="[image]"+k}else g+="["+b+"]"+a;e.has(g)||(e.add(g),(c=z(c))?x(d,"L",[a,b,c]):x(d,"L",[a,b]))}}}function oa(a,b){if("string"===typeof a){var c=w?w:null;if(c){var d=c.hints,e="m|"+a;if(!d.has(e))return d.add(e),(b=z(b))?x(c,"m",[a,b]):x(c,"m",a)}}}
|
20
|
+
function pa(a,b,c){if("string"===typeof a){var d=w?w:null;if(d){var e=d.hints,g="S|"+a;if(!e.has(g))return e.add(g),(c=z(c))?x(d,"S",[a,"string"===typeof b?b:0,c]):"string"===typeof b?x(d,"S",[a,b]):x(d,"S",a)}}}function qa(a,b){if("string"===typeof a){var c=w?w:null;if(c){var d=c.hints,e="X|"+a;if(!d.has(e))return d.add(e),(b=z(b))?x(c,"X",[a,b]):x(c,"X",a)}}}
|
21
|
+
function ra(a,b){if("string"===typeof a){var c=w?w:null;if(c){var d=c.hints,e="M|"+a;if(!d.has(e))return d.add(e),(b=z(b))?x(c,"M",[a,b]):x(c,"M",a)}}}function z(a){if(null==a)return null;var b=!1,c={},d;for(d in a)null!=a[d]&&(b=!0,c[d]=a[d]);return b?c:null}
|
22
|
+
var ta=ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Dispatcher,A=Symbol.for("react.element"),ua=Symbol.for("react.fragment"),va=Symbol.for("react.context"),wa=Symbol.for("react.forward_ref"),xa=Symbol.for("react.suspense"),ya=Symbol.for("react.suspense_list"),za=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),Aa=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.postpone");var Ba=Symbol.iterator,Ca=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`");
|
23
|
+
function Da(){}function Ea(a,b,c){c=a[c];void 0===c?a.push(b):c!==b&&(b.then(Da,Da),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;}D=b;throw Ca;}}var D=null;
|
24
|
+
function Fa(){if(null===D)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=D;D=null;return a}var E=null,Ga=0,F=null;function Ha(){var a=F||[];F=null;return a}
|
25
|
+
var Ma={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:G,useTransition:G,readContext:Ia,useContext:Ia,useReducer:G,useRef:G,useState:G,useInsertionEffect:G,useLayoutEffect:G,useImperativeHandle:G,useEffect:G,useId:Ja,useSyncExternalStore:G,useCacheRefresh:function(){return Ka},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=Aa;return b},use:La};
|
26
|
+
function G(){throw Error("This Hook is not supported in Server Components.");}function Ka(){throw Error("Refreshing the cache is not supported in Server Components.");}function Ia(){throw Error("Cannot read a Client Context from a Server Component.");}function Ja(){if(null===E)throw Error("useId can only be used while React is rendering");var a=E.identifierCount++;return":"+E.identifierPrefix+"S"+a.toString(32)+":"}
|
27
|
+
function La(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=Ga;Ga+=1;null===F&&(F=[]);return Ea(F,a,b)}a.$$typeof===va&&Ia()}if(a.$$typeof===r){if(null!=a.value&&a.value.$$typeof===va)throw Error("Cannot read a Client Context from a Server Component.");throw Error("Cannot use() an already resolved Client Reference.");}throw Error("An unsupported type was passed to use(): "+String(a));}function Na(){return(new AbortController).signal}
|
28
|
+
function Oa(){var a=w?w:null;return a?a.cache:new Map}var Pa={getCacheSignal:function(){var a=Oa(),b=a.get(Na);void 0===b&&(b=Na(),a.set(Na,b));return b},getCacheForType:function(a){var b=Oa(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},Qa=Array.isArray,Ra=Object.getPrototypeOf;function Sa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}
|
29
|
+
function Ta(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.slice(0,10)+"...");case "object":if(Qa(a))return"[...]";if(null!==a&&a.$$typeof===Ua)return"client";a=Sa(a);return"Object"===a?"{...}":a;case "function":return a.$$typeof===Ua?"client":(a=a.displayName||a.name)?"function "+a:"function";default:return String(a)}}
|
30
|
+
function H(a){if("string"===typeof a)return a;switch(a){case xa:return"Suspense";case ya:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case wa:return H(a.render);case za:return H(a.type);case C:var b=a._payload;a=a._init;try{return H(a(b))}catch(c){}}return""}var Ua=Symbol.for("react.client.reference");
|
31
|
+
function I(a,b){var c=Sa(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(Qa(a)){var e="[";for(var g=0;g<a.length;g++){0<g&&(e+=", ");var f=a[g];f="object"===typeof f&&null!==f?I(f):Ta(f);""+g===b?(c=e.length,d=f.length,e+=f):e=10>f.length&&40>e.length+f.length?e+f:e+"..."}e+="]"}else if(a.$$typeof===A)e="<"+H(a.type)+"/>";else{if(a.$$typeof===Ua)return"client";e="{";g=Object.keys(a);for(f=0;f<g.length;f++){0<f&&(e+=", ");var h=g[f],k=JSON.stringify(h);e+=('"'+h+'"'===k?h:k)+": ";k=a[h];k=
|
32
|
+
"object"===typeof k&&null!==k?I(k):Ta(k);h===b?(c=e.length,d=k.length,e+=k):e=10>k.length&&40>e.length+k.length?e+k:e+"..."}e+="}"}return void 0===b?e:-1<c&&0<d?(a=" ".repeat(c)+"^".repeat(d),"\n "+e+"\n "+a):"\n "+e}var Va=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Wa=aa.__SECRET_SERVER_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
33
|
+
if(!Wa)throw Error('The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.');var Xa=Object.prototype,J=JSON.stringify,Ya=Wa.ReactCurrentCache,Za=Va.ReactCurrentDispatcher;function $a(a){console.error(a)}function ab(){}
|
34
|
+
function bb(a,b,c,d,e){if(null!==Ya.current&&Ya.current!==Pa)throw Error("Currently React only supports one RSC renderer at a time.");ta.current=sa;Ya.current=Pa;var g=new Set,f=[],h=new Set;b={status:0,flushScheduled:!1,fatalError:null,destination:null,bundlerConfig:b,cache:new Map,nextChunkId:0,pendingChunks:0,hints:h,abortableTasks:g,pingedTasks:f,completedImportChunks:[],completedHintChunks:[],completedRegularChunks:[],completedErrorChunks:[],writtenSymbols:new Map,writtenClientReferences:new Map,
|
35
|
+
writtenServerReferences:new Map,writtenObjects:new WeakMap,identifierPrefix:d||"",identifierCount:1,taintCleanupQueue:[],onError:void 0===c?$a:c,onPostpone:void 0===e?ab:e};a=K(b,a,null,!1,g);f.push(a);return b}var w=null;
|
36
|
+
function cb(a,b,c){var d=K(a,null,b.keyPath,b.implicitSlot,a.abortableTasks);switch(c.status){case "fulfilled":return d.model=c.value,db(a,d),d.id;case "rejected":return b=L(a,c.reason),M(a,d.id,b),d.id;default:"string"!==typeof c.status&&(c.status="pending",c.then(function(e){"pending"===c.status&&(c.status="fulfilled",c.value=e)},function(e){"pending"===c.status&&(c.status="rejected",c.reason=e)}))}c.then(function(e){d.model=e;db(a,d)},function(e){d.status=4;e=L(a,e);M(a,d.id,e);a.abortableTasks.delete(d);
|
37
|
+
null!==a.destination&&N(a,a.destination)});return d.id}function x(a,b,c){c=J(c);var d=a.nextChunkId++;b="H"+b;b=d.toString(16)+":"+b;c=q.encode(b+c+"\n");a.completedHintChunks.push(c);!1===a.flushScheduled&&0===a.pingedTasks.length&&null!==a.destination&&(c=a.destination,a.flushScheduled=!0,N(a,c))}function eb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}
|
38
|
+
function fb(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:C,_payload:a,_init:eb}}
|
39
|
+
function gb(a,b,c,d,e){var g=b.thenableState;b.thenableState=null;Ga=0;F=g;d=d(e,void 0);if("object"===typeof d&&null!==d&&"function"===typeof d.then){e=d;if("fulfilled"===e.status)return e.value;d=fb(d)}e=b.keyPath;g=b.implicitSlot;null!==c?b.keyPath=null===e?c:e+","+c:null===e&&(b.implicitSlot=!0);a=O(a,b,P,"",d);b.keyPath=e;b.implicitSlot=g;return a}
|
40
|
+
function hb(a,b,c,d,e,g){if(null!==e&&void 0!==e)throw Error("Refs cannot be used in Server Components, nor passed to Client Components.");if("function"===typeof c)return c.$$typeof===r?[A,c,d,g]:gb(a,b,d,c,g);if("string"===typeof c)return[A,c,d,g];if("symbol"===typeof c)return c===ua&&null===d?(d=b.implicitSlot,null===b.keyPath&&(b.implicitSlot=!0),a=O(a,b,P,"",g.children),b.implicitSlot=d,a):[A,c,d,g];if(null!=c&&"object"===typeof c){if(c.$$typeof===r)return[A,c,d,g];switch(c.$$typeof){case C:var f=
|
41
|
+
c._init;c=f(c._payload);return hb(a,b,c,d,e,g);case wa:return gb(a,b,d,c.render,g);case za:return hb(a,b,c.type,d,e,g)}}throw Error("Unsupported Server Component type: "+Ta(c));}function db(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&(a.flushScheduled=null!==a.destination,ib(a))}
|
42
|
+
function K(a,b,c,d,e){a.pendingChunks++;var g=a.nextChunkId++;"object"===typeof b&&null!==b&&a.writtenObjects.set(b,g);var f={id:g,status:0,model:b,keyPath:c,implicitSlot:d,ping:function(){return db(a,f)},toJSON:function(h,k){var m=f.keyPath,y=f.implicitSlot;try{var v=O(a,f,this,h,k)}catch(X){if(h=X===Ca?Fa():X,k=f.model,k="object"===typeof k&&null!==k&&(k.$$typeof===A||k.$$typeof===C),"object"===typeof h&&null!==h&&"function"===typeof h.then){v=K(a,f.model,f.keyPath,f.implicitSlot,a.abortableTasks);
|
43
|
+
var B=v.ping;h.then(B,B);v.thenableState=Ha();f.keyPath=m;f.implicitSlot=y;v=k?"$L"+v.id.toString(16):Q(v.id)}else if(f.keyPath=m,f.implicitSlot=y,k)a.pendingChunks++,m=a.nextChunkId++,y=L(a,h),M(a,m,y),v="$L"+m.toString(16);else throw h;}return v},thenableState:null};e.add(f);return f}function Q(a){return"$"+a.toString(16)}function jb(a,b,c){a=J(c);b=b.toString(16)+":"+a+"\n";return q.encode(b)}
|
44
|
+
function kb(a,b,c,d){var e=d.$$async?d.$$id+"#async":d.$$id,g=a.writtenClientReferences,f=g.get(e);if(void 0!==f)return b[0]===A&&"1"===c?"$L"+f.toString(16):Q(f);try{var h=a.bundlerConfig,k=d.$$id;f="";var m=h[k];if(m)f=m.name;else{var y=k.lastIndexOf("#");-1!==y&&(f=k.slice(y+1),m=h[k.slice(0,y)]);if(!m)throw Error('Could not find the module "'+k+'" in the React Client Manifest. This is probably a bug in the React Server Components bundler.');}var v=!0===d.$$async?[m.id,m.chunks,f,1]:[m.id,m.chunks,
|
45
|
+
f];a.pendingChunks++;var B=a.nextChunkId++,X=J(v),Cb=B.toString(16)+":I"+X+"\n",Db=q.encode(Cb);a.completedImportChunks.push(Db);g.set(e,B);return b[0]===A&&"1"===c?"$L"+B.toString(16):Q(B)}catch(Eb){return a.pendingChunks++,b=a.nextChunkId++,c=L(a,Eb),M(a,b,c),Q(b)}}function R(a,b){b=K(a,b,null,!1,a.abortableTasks);lb(a,b);return b.id}var S=!1;
|
46
|
+
function O(a,b,c,d,e){b.model=e;if(e===A)return"$";if(null===e)return null;if("object"===typeof e){switch(e.$$typeof){case A:c=a.writtenObjects;d=c.get(e);if(void 0!==d)if(S===e)S=null;else return-1===d?(a=R(a,e),Q(a)):Q(d);else c.set(e,-1);return hb(a,b,e.type,e.key,e.ref,e.props);case C:return b.thenableState=null,c=e._init,e=c(e._payload),O(a,b,P,"",e)}if(e.$$typeof===r)return kb(a,c,d,e);c=a.writtenObjects;d=c.get(e);if("function"===typeof e.then){if(void 0!==d)if(S===e)S=null;else return"$@"+
|
47
|
+
d.toString(16);a=cb(a,b,e);c.set(e,a);return"$@"+a.toString(16)}if(void 0!==d)if(S===e)S=null;else return-1===d?(a=R(a,e),Q(a)):Q(d);else c.set(e,-1);if(Qa(e))return e;if(e instanceof Map){e=Array.from(e);for(b=0;b<e.length;b++)c=e[b][0],"object"===typeof c&&null!==c&&(d=a.writtenObjects,void 0===d.get(c)&&d.set(c,-1));return"$Q"+R(a,e).toString(16)}if(e instanceof Set){e=Array.from(e);for(b=0;b<e.length;b++)c=e[b],"object"===typeof c&&null!==c&&(d=a.writtenObjects,void 0===d.get(c)&&d.set(c,-1));
|
48
|
+
return"$W"+R(a,e).toString(16)}null===e||"object"!==typeof e?a=null:(a=Ba&&e[Ba]||e["@@iterator"],a="function"===typeof a?a:null);if(a)return a=Array.from(e),a;a=Ra(e);if(a!==Xa&&(null===a||null!==Ra(a)))throw Error("Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.");return e}if("string"===typeof e){if("Z"===e[e.length-1]&&c[d]instanceof Date)return"$D"+e;if(1024<=e.length)return a.pendingChunks+=2,b=
|
49
|
+
a.nextChunkId++,e=q.encode(e),c=e.byteLength,c=b.toString(16)+":T"+c.toString(16)+",",c=q.encode(c),a.completedRegularChunks.push(c,e),Q(b);a="$"===e[0]?"$"+e:e;return a}if("boolean"===typeof e)return e;if("number"===typeof e)return Number.isFinite(e)?0===e&&-Infinity===1/e?"$-0":e:Infinity===e?"$Infinity":-Infinity===e?"$-Infinity":"$NaN";if("undefined"===typeof e)return"$undefined";if("function"===typeof e){if(e.$$typeof===r)return kb(a,c,d,e);if(e.$$typeof===t)return b=a.writtenServerReferences,
|
50
|
+
c=b.get(e),void 0!==c?a="$F"+c.toString(16):(c=e.$$bound,c={id:e.$$id,bound:c?Promise.resolve(c):null},a=R(a,c),b.set(e,a),a="$F"+a.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+I(c,d)+"\nIf you need interactivity, consider converting part of this to a Client Component.");throw Error('Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with "use server". Or maybe you meant to call this function rather than return it.'+
|
51
|
+
I(c,d));}if("symbol"===typeof e){b=a.writtenSymbols;var g=b.get(e);if(void 0!==g)return Q(g);g=e.description;if(Symbol.for(g)!==e)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(e.description+") cannot be found among global symbols.")+I(c,d));a.pendingChunks++;c=a.nextChunkId++;d=jb(a,c,"$S"+g);a.completedImportChunks.push(d);b.set(e,c);return Q(c)}if("bigint"===typeof e)return"$n"+e.toString(10);throw Error("Type "+typeof e+
|
52
|
+
" is not supported in Client Component props."+I(c,d));}function L(a,b){var c=w;w=null;try{var d=a.onError;var e=d(b)}finally{w=c}if(null!=e&&"string"!==typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e||""}
|
53
|
+
function mb(a,b){null!==a.destination?(a.status=2,ca(a.destination,b)):(a.status=1,a.fatalError=b)}function M(a,b,c){c={digest:c};b=b.toString(16)+":E"+J(c)+"\n";b=q.encode(b);a.completedErrorChunks.push(b)}var P={};
|
54
|
+
function lb(a,b){if(0===b.status)try{S=b.model;var c=O(a,b,P,"",b.model);S=c;b.keyPath=null;b.implicitSlot=!1;var d="object"===typeof c&&null!==c?J(c,b.toJSON):J(c),e=b.id.toString(16)+":"+d+"\n",g=q.encode(e);a.completedRegularChunks.push(g);a.abortableTasks.delete(b);b.status=1}catch(m){var f=m===Ca?Fa():m;if("object"===typeof f&&null!==f&&"function"===typeof f.then){var h=b.ping;f.then(h,h);b.thenableState=Ha()}else{a.abortableTasks.delete(b);b.status=4;var k=L(a,f);M(a,b.id,k)}}finally{}}
|
55
|
+
function ib(a){var b=Za.current;Za.current=Ma;var c=w;E=w=a;try{var d=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<d.length;e++)lb(a,d[e]);null!==a.destination&&N(a,a.destination)}catch(g){L(a,g),mb(a,g)}finally{Za.current=b,E=null,w=c}}
|
56
|
+
function N(a,b){l=new Uint8Array(2048);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.completedHintChunks;for(d=0;d<e.length;d++)p(b,e[d]);e.splice(0,d);var g=a.completedRegularChunks;for(d=0;d<g.length;d++)a.pendingChunks--,p(b,g[d]);g.splice(0,d);var f=a.completedErrorChunks;for(d=0;d<f.length;d++)a.pendingChunks--,p(b,f[d]);f.splice(0,d)}finally{a.flushScheduled=!1,l&&0<n&&(b.enqueue(new Uint8Array(l.buffer,0,n)),l=null,n=0)}0===a.pendingChunks&&
|
57
|
+
b.close()}function nb(a,b){try{var c=a.abortableTasks;if(0<c.size){a.pendingChunks++;var d=a.nextChunkId++,e=void 0===b?Error("The render was aborted by the server without a reason."):b,g=L(a,e);M(a,d,g,e);c.forEach(function(f){f.status=3;var h=Q(d);f=jb(a,f.id,h);a.completedErrorChunks.push(f)});c.clear()}null!==a.destination&&N(a,a.destination)}catch(f){L(a,f),mb(a,f)}}
|
58
|
+
function ob(a,b){var c="",d=a[b];if(d)c=d.name;else{var e=b.lastIndexOf("#");-1!==e&&(c=b.slice(e+1),d=a[b.slice(0,e)]);if(!d)throw Error('Could not find the module "'+b+'" in the React Server Manifest. This is probably a bug in the React Server Components bundler.');}return[d.id,d.chunks,c]}var T=new Map;
|
59
|
+
function pb(a){var b=__webpack_require__(a);if("function"!==typeof b.then||"fulfilled"===b.status)return null;b.then(function(c){b.status="fulfilled";b.value=c},function(c){b.status="rejected";b.reason=c});return b}function qb(){}
|
60
|
+
function rb(a){for(var b=a[1],c=[],d=0;d<b.length;){var e=b[d++],g=b[d++],f=T.get(e);void 0===f?(sb.set(e,g),g=__webpack_chunk_load__(e),c.push(g),f=T.set.bind(T,e,null),g.then(f,qb),T.set(e,g)):null!==f&&c.push(f)}return 4===a.length?0===c.length?pb(a[0]):Promise.all(c).then(function(){return pb(a[0])}):0<c.length?Promise.all(c):null}
|
61
|
+
function U(a){var b=__webpack_require__(a[0]);if(4===a.length&&"function"===typeof b.then)if("fulfilled"===b.status)b=b.value;else throw b.reason;return"*"===a[2]?b:""===a[2]?b.__esModule?b.default:b:b[a[2]]}var sb=new Map,tb=__webpack_require__.u;__webpack_require__.u=function(a){var b=sb.get(a);return void 0!==b?b:tb(a)};function V(a,b,c,d){this.status=a;this.value=b;this.reason=c;this._response=d}V.prototype=Object.create(Promise.prototype);
|
62
|
+
V.prototype.then=function(a,b){switch(this.status){case "resolved_model":ub(this)}switch(this.status){case "fulfilled":a(this.value);break;case "pending":case "blocked":a&&(null===this.value&&(this.value=[]),this.value.push(a));b&&(null===this.reason&&(this.reason=[]),this.reason.push(b));break;default:b(this.reason)}};function vb(a,b){for(var c=0;c<a.length;c++)(0,a[c])(b)}
|
63
|
+
function wb(a,b){if("pending"===a.status||"blocked"===a.status){var c=a.reason;a.status="rejected";a.reason=b;null!==c&&vb(c,b)}}function xb(a,b,c,d,e,g){var f=ob(a._bundlerConfig,b);a=rb(f);if(c)c=Promise.all([c,a]).then(function(h){h=h[0];var k=U(f);return k.bind.apply(k,[null].concat(h))});else if(a)c=Promise.resolve(a).then(function(){return U(f)});else return U(f);c.then(yb(d,e,g),zb(d));return null}var W=null,Y=null;
|
64
|
+
function ub(a){var b=W,c=Y;W=a;Y=null;try{var d=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=d,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=d)}catch(e){a.status="rejected",a.reason=e}finally{W=b,Y=c}}function Ab(a,b){a._chunks.forEach(function(c){"pending"===c.status&&wb(c,b)})}
|
65
|
+
function Z(a,b){var c=a._chunks,d=c.get(b);d||(d=a._formData.get(a._prefix+b),d=null!=d?new V("resolved_model",d,null,a):new V("pending",null,null,a),c.set(b,d));return d}function yb(a,b,c){if(Y){var d=Y;d.deps++}else d=Y={deps:1,value:null};return function(e){b[c]=e;d.deps--;0===d.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=d.value,null!==e&&vb(e,d.value))}}function zb(a){return function(b){return wb(a,b)}}
|
66
66
|
function Bb(a,b){a=Z(a,b);"resolved_model"===a.status&&ub(a);if("fulfilled"!==a.status)throw a.reason;return a.value}
|
67
67
|
function Fb(a,b,c,d){if("$"===d[0])switch(d[1]){case "$":return d.slice(1);case "@":return b=parseInt(d.slice(2),16),Z(a,b);case "S":return Symbol.for(d.slice(2));case "F":return d=parseInt(d.slice(2),16),d=Bb(a,d),xb(a,d.id,d.bound,W,b,c);case "Q":return b=parseInt(d.slice(2),16),a=Bb(a,b),new Map(a);case "W":return b=parseInt(d.slice(2),16),a=Bb(a,b),new Set(a);case "K":b=d.slice(2);var e=a._prefix+b+"_",g=new FormData;a._formData.forEach(function(f,h){h.startsWith(e)&&g.append(h.slice(e.length),
|
68
68
|
f)});return g;case "I":return Infinity;case "-":return"$-0"===d?-0:-Infinity;case "N":return NaN;case "u":return;case "D":return new Date(Date.parse(d.slice(2)));case "n":return BigInt(d.slice(2));default:d=parseInt(d.slice(1),16);a=Z(a,d);switch(a.status){case "resolved_model":ub(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return d=W,a.then(yb(d,b,c),zb(d)),null;default:throw a.reason;}}return d}
|
69
|
-
function Gb(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,d=new Map,e={_bundlerConfig:a,_prefix:b,_formData:c,_chunks:d,_fromJSON:function(g,f){return"string"===typeof f?Fb(e,this,g,f):f}};return e}function Hb(a){Ab(a,Error("Connection closed."))}function Ib(a,b,c){var d=
|
69
|
+
function Gb(a,b){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:new FormData,d=new Map,e={_bundlerConfig:a,_prefix:b,_formData:c,_chunks:d,_fromJSON:function(g,f){return"string"===typeof f?Fb(e,this,g,f):f}};return e}function Hb(a){Ab(a,Error("Connection closed."))}function Ib(a,b,c){var d=ob(a,b);a=rb(d);return c?Promise.all([c,a]).then(function(e){e=e[0];var g=U(d);return g.bind.apply(g,[null].concat(e))}):a?Promise.resolve(a).then(function(){return U(d)}):Promise.resolve(U(d))}
|
70
70
|
function Jb(a,b,c){a=Gb(b,c,a);Hb(a);a=Z(a,0);a.then(function(){});if("fulfilled"!==a.status)throw a.reason;return a.value}exports.createClientModuleProxy=function(a){a=u({},a,!1);return new Proxy(a,ka)};
|
71
71
|
exports.decodeAction=function(a,b){var c=new FormData,d=null;a.forEach(function(e,g){g.startsWith("$ACTION_")?g.startsWith("$ACTION_REF_")?(e="$ACTION_"+g.slice(12)+":",e=Jb(a,b,e),d=Ib(b,e.id,e.bound)):g.startsWith("$ACTION_ID_")&&(e=g.slice(11),d=Ib(b,e,null)):c.append(g,e)});return null===d?null:d.then(function(e){return e.bind(null,c)})};
|
72
72
|
exports.decodeFormState=function(a,b,c){var d=b.get("$ACTION_KEY");if("string"!==typeof d)return Promise.resolve(null);var e=null;b.forEach(function(f,h){h.startsWith("$ACTION_REF_")&&(f="$ACTION_"+h.slice(12)+":",e=Jb(b,c,f))});if(null===e)return Promise.resolve(null);var g=e.id;return Promise.resolve(e.bound).then(function(f){return null===f?null:[a,d,g,f.length-1]})};exports.decodeReply=function(a,b){if("string"===typeof a){var c=new FormData;c.append("0",a);a=c}a=Gb(b,"",a);b=Z(a,0);Hb(a);return b};
|
73
73
|
exports.registerClientReference=function(a,b,c){return u(a,b+"#"+c,!1)};exports.registerServerReference=function(a,b,c){return Object.defineProperties(a,{$$typeof:{value:t},$$id:{value:null===c?b:b+"#"+c,configurable:!0},$$bound:{value:null,configurable:!0},bind:{value:fa,configurable:!0}})};
|
74
|
-
exports.renderToReadableStream=function(a,b,c){var d=
|
75
|
-
f;try{
|
74
|
+
exports.renderToReadableStream=function(a,b,c){var d=bb(a,b,c?c.onError:void 0,c?c.identifierPrefix:void 0,c?c.onPostpone:void 0);if(c&&c.signal){var e=c.signal;if(e.aborted)nb(d,e.reason);else{var g=function(){nb(d,e.reason);e.removeEventListener("abort",g)};e.addEventListener("abort",g)}}return new ReadableStream({type:"bytes",start:function(){d.flushScheduled=null!==d.destination;ib(d)},pull:function(f){if(1===d.status)d.status=2,ca(f,d.fatalError);else if(2!==d.status&&null===d.destination){d.destination=
|
75
|
+
f;try{N(d,f)}catch(h){L(d,h),mb(d,h)}}},cancel:function(f){d.destination=null;nb(d,f)}},{highWaterMark:0})};
|
76
76
|
|
77
77
|
//# sourceMappingURL=react-server-dom-webpack-server.browser.production.min.js.map
|