react-server-dom-webpack 18.3.0-next-a8875eab7-20230310 → 18.3.0-next-56a3c18e5-20230314
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 +582 -1
- package/cjs/react-server-dom-webpack-client.browser.production.min.js +22 -19
- package/cjs/react-server-dom-webpack-client.edge.development.js +4 -1
- package/cjs/react-server-dom-webpack-client.edge.production.min.js +16 -16
- package/cjs/react-server-dom-webpack-client.node.development.js +4 -1
- package/cjs/react-server-dom-webpack-client.node.production.min.js +18 -18
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +3 -0
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +15 -15
- package/cjs/react-server-dom-webpack-server.browser.development.js +1146 -617
- package/cjs/react-server-dom-webpack-server.browser.production.min.js +57 -46
- package/cjs/react-server-dom-webpack-server.edge.development.js +1146 -617
- package/cjs/react-server-dom-webpack-server.edge.production.min.js +55 -44
- package/cjs/react-server-dom-webpack-server.node.development.js +1181 -613
- package/cjs/react-server-dom-webpack-server.node.production.min.js +58 -46
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +1145 -617
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +52 -41
- package/package.json +3 -3
- package/umd/react-server-dom-webpack-client.browser.development.js +582 -1
- package/umd/react-server-dom-webpack-client.browser.production.min.js +17 -14
- package/umd/react-server-dom-webpack-server.browser.development.js +1146 -617
- package/umd/react-server-dom-webpack-server.browser.production.min.js +44 -37
@@ -8,57 +8,69 @@
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
9
9
|
*/
|
10
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
|
12
|
-
(0===
|
13
|
-
var
|
14
|
-
function B(a,b,c,
|
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 d=f;0<m&&(d=f.subarray(m));d=r.encodeInto(b,d);var c=d.read;m+=d.written;c<b.length&&(p(a,f.subarray(0,m)),f=new Uint8Array(2048),m=r.encodeInto(b.slice(c),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)):(d=f.length-m,d<b.byteLength&&
|
12
|
+
(0===d?p(a,f):(f.set(b.subarray(0,d),m),m+=d,p(a,f),b=b.subarray(d)),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 ea(a,b,d){a=u(d,a.toJSON);return b.toString(16)+":"+a+"\n"}function v(a,b,d){a=u(d);return b.toString(16)+":"+a+"\n"}
|
13
|
+
var w=Symbol.for("react.client.reference"),fa=Symbol.for("react.server.reference"),y=Symbol.for("react.element"),ha=Symbol.for("react.fragment"),ia=Symbol.for("react.provider"),ja=Symbol.for("react.server_context"),ka=Symbol.for("react.forward_ref"),la=Symbol.for("react.suspense"),ma=Symbol.for("react.suspense_list"),na=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),pa=Symbol.for("react.default_value"),qa=Symbol.for("react.memo_cache_sentinel"),ra=Symbol.iterator;
|
14
|
+
function B(a,b,d,c,e,g,h){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=e;this.mustUseProperty=d;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
|
-
["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
|
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 sa(a){return a[1].toUpperCase()}
|
18
18
|
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering transform-origin underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=a.replace(C,
|
19
|
-
|
20
|
-
new B("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action"
|
21
|
-
var
|
22
|
-
zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},
|
23
|
-
t(";");t(" ");t('="');t('"');t('=""');t(">");t("/>");t(' selected=""');t("\n");t("<!DOCTYPE html>");t("</");t(">");t('<template id="');t('"></template>');t("\x3c!--$--\x3e");t('\x3c!--$?--\x3e<template id="');t('"></template>');t("\x3c!--$!--\x3e");t("\x3c!--/$--\x3e");t("<template");t('"');t(' data-dgst="');t(' data-msg="');t(' data-stck="');t("></template>");t('<div hidden id="');t('">');t("</div>");t('<svg aria-hidden="true" style="display:none" id="');t('">');t("</svg>");t('<math aria-hidden="true" style="display:none" id="');
|
19
|
+
sa);new B(b,1,!1,a,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(C,sa);new B(b,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(C,sa);new B(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(a){new B(a,1,!1,a.toLowerCase(),null,!1,!1)});
|
20
|
+
new B("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);new B("formAction",1,!1,"formaction",null,!0,!1);["src","href","action"].forEach(function(a){new B(a,1,!1,a.toLowerCase(),null,!0,!0)});
|
21
|
+
var ta={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,tabSize:!0,widows:!0,zIndex:!0,
|
22
|
+
zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ua=["Webkit","ms","Moz","O"];Object.keys(ta).forEach(function(a){ua.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);ta[b]=ta[a]})});var va=Array.isArray;t('"></template>');t("<script>");t("\x3c/script>");t('<script src="');t('<script type="module" src="');t('" integrity="');t('" async="">\x3c/script>');t("\x3c!-- --\x3e");t(' style="');
|
23
|
+
t(":");t(";");t(" ");t('="');t('"');t('=""');t(">");t("/>");t(' selected=""');t("\n");t("<!DOCTYPE html>");t("</");t(">");t('<template id="');t('"></template>');t("\x3c!--$--\x3e");t('\x3c!--$?--\x3e<template id="');t('"></template>');t("\x3c!--$!--\x3e");t("\x3c!--/$--\x3e");t("<template");t('"');t(' data-dgst="');t(' data-msg="');t(' data-stck="');t("></template>");t('<div hidden id="');t('">');t("</div>");t('<svg aria-hidden="true" style="display:none" id="');t('">');t("</svg>");t('<math aria-hidden="true" style="display:none" id="');
|
24
24
|
t('">');t("</math>");t('<table hidden id="');t('">');t("</table>");t('<table hidden><tbody id="');t('">');t("</tbody></table>");t('<table hidden><tr id="');t('">');t("</tr></table>");t('<table hidden><colgroup id="');t('">');t("</colgroup></table>");t('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};;$RS("');t('$RS("');t('","');t('")\x3c/script>');t('<template data-rsi="" data-sid="');
|
25
25
|
t('" data-pid="');t('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("');
|
26
26
|
t('$RC("');t('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this.s=n}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=y[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var e=f[m++];if(a=p.get(e)){var d=a._p;c=!0}else{a=r.createElement("link");a.href=e;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];d=f[m++];)a.setAttribute(d,f[m++]);d=a._p=new Promise(function(n,z){a.onload=n;a.onerror=z});d.then(v.bind(d,"l"),v.bind(d,"e"));p.set(e,a)}e=a.getAttribute("media");!d||"l"===d.s||e&&!matchMedia(e).matches||h.push(d);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("');
|
27
27
|
t('$RM=new Map;\n$RR=function(t,u,y){function v(n){this.s=n}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=y[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var e=f[m++];if(a=p.get(e)){var d=a._p;c=!0}else{a=r.createElement("link");a.href=e;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];d=f[m++];)a.setAttribute(d,f[m++]);d=a._p=new Promise(function(n,z){a.onload=n;a.onerror=z});d.then(v.bind(d,"l"),v.bind(d,"e"));p.set(e,a)}e=a.getAttribute("media");!d||"l"===d.s||e&&!matchMedia(e).matches||h.push(d);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("');
|
28
28
|
t('$RR("');t('","');t('",');t('"');t(")\x3c/script>");t('<template data-rci="" data-bid="');t('<template data-rri="" data-bid="');t('" data-sid="');t('" data-sty="');t('$RX=function(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};;$RX("');t('$RX("');t('"');t(",");t(")\x3c/script>");t('<template data-rxi="" data-bid="');t('" data-dgst="');t('" data-msg="');t('" data-stck="');t('<style media="not all" data-precedence="');
|
29
|
-
t('" data-href="');t('">');t("</style>");t('<style data-precedence="');t('" data-href="');t(" ");t('">');t("</style>");t("[");t(",[");t(",");t("]");var
|
30
|
-
function
|
31
|
-
function
|
32
|
-
function
|
33
|
-
function
|
34
|
-
function
|
35
|
-
var
|
36
|
-
function
|
37
|
-
function
|
38
|
-
var
|
39
|
-
function
|
40
|
-
""
|
41
|
-
function
|
42
|
-
|
43
|
-
function
|
44
|
-
|
45
|
-
function
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
function
|
50
|
-
|
51
|
-
|
52
|
-
d
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
function
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
function
|
64
|
-
|
29
|
+
t('" data-href="');t('">');t("</style>");t('<style data-precedence="');t('" data-href="');t(" ");t('">');t("</style>");t("[");t(",[");t(",");t("]");var D=null;
|
30
|
+
function E(a,b){if(a!==b){a.context._currentValue=a.parentValue;a=a.parent;var d=b.parent;if(null===a){if(null!==d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===d)throw Error("The stacks must reach the root at the same time. This is a bug in React.");E(a,d);b.context._currentValue=b.value}}}function wa(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&wa(a)}
|
31
|
+
function xa(a){var b=a.parent;null!==b&&xa(b);a.context._currentValue=a.value}function ya(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?E(a,b):ya(a,b)}
|
32
|
+
function za(a,b){var d=b.parent;if(null===d)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===d.depth?E(a,d):za(a,d);b.context._currentValue=b.value}function Aa(a){var b=D;b!==a&&(null===b?xa(a):null===a?wa(b):b.depth===a.depth?E(b,a):b.depth>a.depth?ya(b,a):za(b,a),D=a)}function Ba(a,b){var d=a._currentValue;a._currentValue=b;var c=D;return D=a={parent:c,depth:null===c?0:c.depth+1,context:a,parentValue:d,value:b}}var 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`");
|
33
|
+
function Da(){}function Ea(a,b,d){d=a[d];void 0===d?a.push(b):d!==b&&(b.then(Da,Da),b=d);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(c){if("pending"===b.status){var e=b;e.status="fulfilled";e.value=c}},function(c){if("pending"===b.status){var e=b;e.status="rejected";e.reason=c}}),b.status){case "fulfilled":return b.value;case "rejected":throw b.reason;}F=b;throw Ca;}}var F=null;
|
34
|
+
function Fa(){if(null===F)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=F;F=null;return a}var G=null,I=0,J=null;function Ga(){var a=J;J=null;return a}function Ha(a){return a._currentValue}
|
35
|
+
var La={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:K,useTransition:K,readContext:Ha,useContext:Ha,useReducer:K,useRef:K,useState:K,useInsertionEffect:K,useLayoutEffect:K,useImperativeHandle:K,useEffect:K,useId:Ia,useMutableSource:K,useSyncExternalStore:K,useCacheRefresh:function(){return Ja},useMemoCache:function(a){for(var b=Array(a),d=0;d<a;d++)b[d]=qa;return b},use:Ka};
|
36
|
+
function K(){throw Error("This Hook is not supported in Server Components.");}function Ja(){throw Error("Refreshing the cache is not supported in Server Components.");}function Ia(){if(null===G)throw Error("useId can only be used while React is rendering");var a=G.identifierCount++;return":"+G.identifierPrefix+"S"+a.toString(32)+":"}
|
37
|
+
function Ka(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=I;I+=1;null===J&&(J=[]);return Ea(J,a,b)}if(a.$$typeof===ja)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function Ma(){return(new AbortController).signal}function Na(){if(L)return L;var a=da.getStore();return a?a:new Map}
|
38
|
+
var Oa={getCacheSignal:function(){var a=Na(),b=a.get(Ma);void 0===b&&(b=Ma(),a.set(Ma,b));return b},getCacheForType:function(a){var b=Na(),d=b.get(a);void 0===d&&(d=a(),b.set(a,d));return d}},L=null;function Pa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,d){return d})}
|
39
|
+
function Qa(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.substr(0,10)+"...");case "object":if(va(a))return"[...]";a=Pa(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}}
|
40
|
+
function M(a){if("string"===typeof a)return a;switch(a){case la:return"Suspense";case ma:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case ka:return M(a.render);case na:return M(a.type);case z:var b=a._payload;a=a._init;try{return M(a(b))}catch(d){}}return""}
|
41
|
+
function N(a,b){var d=Pa(a);if("Object"!==d&&"Array"!==d)return d;d=-1;var c=0;if(va(a)){var e="[";for(var g=0;g<a.length;g++){0<g&&(e+=", ");var h=a[g];h="object"===typeof h&&null!==h?N(h):Qa(h);""+g===b?(d=e.length,c=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="]"}else if(a.$$typeof===y)e="<"+M(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?N(l):
|
42
|
+
Qa(l);k===b?(d=e.length,c=l.length,e+=l):e=10>l.length&&40>e.length+l.length?e+l:e+"..."}e+="}"}return void 0===b?e:-1<d&&0<c?(a=" ".repeat(d)+"^".repeat(c),"\n "+e+"\n "+a):"\n "+e}var Ra=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Sa=Ra.ContextRegistry,Ta=Ra.ReactCurrentDispatcher,Ua=Ra.ReactCurrentCache;function Va(a){console.error(a)}
|
43
|
+
function Wa(a,b,d,c,e){if(null!==Ua.current&&Ua.current!==Oa)throw Error("Currently React only supports one RSC renderer at a time.");Ua.current=Oa;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||
|
44
|
+
"",identifierCount:1,onError:void 0===d?Va:d,toJSON:function(l,x){return Xa(k,this,l,x)}};k.pendingChunks++;b=Ya(c);a=Za(k,a,b,g);h.push(a);return k}var $a={};
|
45
|
+
function ab(a,b){a.pendingChunks++;var d=Za(a,null,D,a.abortableTasks);switch(b.status){case "fulfilled":return d.model=b.value,bb(a,d),d.id;case "rejected":var c=O(a,b.reason);P(a,d.id,c);return d.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){d.model=e;bb(a,d)},function(e){d.status=4;e=O(a,e);P(a,d.id,e);null!==a.destination&&
|
46
|
+
Q(a,a.destination)});return d.id}function cb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function db(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:cb}}
|
47
|
+
function R(a,b,d,c,e,g){if(null!==c&&void 0!==c)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,d,e];I=0;J=g;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:db(e):e}if("string"===typeof b)return[y,b,d,e];if("symbol"===typeof b)return b===ha?e.children:[y,b,d,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===w)return[y,b,d,e];switch(b.$$typeof){case z:var h=
|
48
|
+
b._init;b=h(b._payload);return R(a,b,d,c,e,g);case ka:return a=b.render,I=0,J=g,a(e,void 0);case na:return R(a,b.type,d,c,e,g);case ia:return Ba(b._context,e.value),[y,b,d,{value:e.value,children:e.children,__pop:$a}]}}throw Error("Unsupported Server Component type: "+Qa(b));}function bb(a,b){var d=a.pingedTasks;d.push(b);1===d.length&&setImmediate(function(){return eb(a)})}
|
49
|
+
function Za(a,b,d,c){var e={id:a.nextChunkId++,status:0,model:b,context:d,ping:function(){return bb(a,e)},thenableState:null};c.add(e);return e}
|
50
|
+
function fb(a,b,d,c){var e=c.$$async?c.$$id+"#async":c.$$id,g=a.writtenClientReferences,h=g.get(e);if(void 0!==h)return b[0]===y&&"1"===d?"$L"+h.toString(16):"$"+h.toString(16);try{var k=a.bundlerConfig[c.$$id];var l=c.$$async?{id:k.id,chunks:k.chunks,name:k.name,async:!0}:k;a.pendingChunks++;var x=a.nextChunkId++,oa=u(l);var A=x.toString(16)+":I"+oa+"\n";a.completedImportChunks.push(A);g.set(e,x);return b[0]===y&&"1"===d?"$L"+x.toString(16):"$"+x.toString(16)}catch(S){return a.pendingChunks++,b=
|
51
|
+
a.nextChunkId++,d=O(a,S),P(a,b,d),"$"+b.toString(16)}}
|
52
|
+
function Xa(a,b,d,c){switch(c){case y:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===y||c.$$typeof===z);)try{switch(c.$$typeof){case y:var e=c;c=R(a,e.type,e.key,e.ref,e.props,null);break;case z:var g=c._init;c=g(c._payload)}}catch(h){d=h===Ca?Fa():h;if("object"===typeof d&&null!==d&&"function"===typeof d.then)return a.pendingChunks++,a=Za(a,c,D,a.abortableTasks),c=a.ping,d.then(c,c),a.thenableState=Ga(),"$L"+a.id.toString(16);a.pendingChunks++;c=a.nextChunkId++;d=O(a,d);P(a,c,d);return"$L"+
|
53
|
+
c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===w)return fb(a,b,d,c);if("function"===typeof c.then)return"$@"+ab(a,c).toString(16);if(c.$$typeof===ia)return c=c._context._globalName,b=a.writtenProviders,d=b.get(d),void 0===d&&(a.pendingChunks++,d=a.nextChunkId++,b.set(c,d),c=v(a,d,"$P"+c),a.completedJSONChunks.push(c)),"$"+d.toString(16);if(c===$a){a=D;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");c=a.parentValue;a.context._currentValue=
|
54
|
+
c===pa?a.context._defaultValue:c;D=a.parent;return}return!va(c)&&(null===c||"object"!==typeof c?a=null:(a=ra&&c[ra]||c["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(c):c}if("string"===typeof c)return a="$"===c[0]?"$"+c:c,a;if("boolean"===typeof c||"number"===typeof c)return c;if("undefined"===typeof c)return"$undefined";if("function"===typeof c){if(c.$$typeof===w)return fb(a,b,d,c);if(c.$$typeof===fa)return d=a.writtenServerReferences,b=d.get(c),void 0!==b?a="$F"+b.toString(16):(b=c.$$bound,
|
55
|
+
e={id:c.$$id,bound:b?Promise.resolve(b):null},a.pendingChunks++,b=a.nextChunkId++,e=ea(a,b,e),a.completedJSONChunks.push(e),d.set(c,b),a="$F"+b.toString(16)),a;if(/^on[A-Z]/.test(d))throw Error("Event handlers cannot be passed to Client Component props."+N(b,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".'+N(b,d));}if("symbol"===
|
56
|
+
typeof c){e=a.writtenSymbols;g=e.get(c);if(void 0!==g)return"$"+g.toString(16);g=c.description;if(Symbol.for(g)!==c)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(c.description+") cannot be found among global symbols.")+N(b,d));a.pendingChunks++;d=a.nextChunkId++;b=v(a,d,"$S"+g);a.completedImportChunks.push(b);e.set(c,d);return"$"+d.toString(16)}if("bigint"===typeof c)throw Error("BigInt ("+c+") is not yet supported in Client Component props."+
|
57
|
+
N(b,d));throw Error("Type "+typeof c+" is not supported in Client Component props."+N(b,d));}function O(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||""}
|
58
|
+
function gb(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}function P(a,b,d){d={digest:d};b=b.toString(16)+":E"+u(d)+"\n";a.completedErrorChunks.push(b)}
|
59
|
+
function eb(a){var b=Ta.current,d=L;Ta.current=La;L=a.cache;G=a;try{var c=a.pingedTasks;a.pingedTasks=[];for(var e=0;e<c.length;e++){var g=c[e];var h=a;if(0===g.status){Aa(g.context);try{var k=g.model;if("object"===typeof k&&null!==k&&k.$$typeof===y){var l=k,x=g.thenableState;g.model=k;k=R(h,l.type,l.key,l.ref,l.props,x);for(g.thenableState=null;"object"===typeof k&&null!==k&&k.$$typeof===y;)l=k,g.model=k,k=R(h,l.type,l.key,l.ref,l.props,null)}var oa=ea(h,g.id,k);h.completedJSONChunks.push(oa);h.abortableTasks.delete(g);
|
60
|
+
g.status=1}catch(H){var A=H===Ca?Fa():H;if("object"===typeof A&&null!==A&&"function"===typeof A.then){var S=g.ping;A.then(S,S);g.thenableState=Ga()}else{h.abortableTasks.delete(g);g.status=4;var rb=O(h,A);P(h,g.id,rb)}}}}null!==a.destination&&Q(a,a.destination)}catch(H){O(a,H),gb(a,H)}finally{Ta.current=b,L=d,G=null}}
|
61
|
+
function Q(a,b){f=new Uint8Array(2048);m=0;n=!0;try{for(var d=a.completedImportChunks,c=0;c<d.length;c++)if(a.pendingChunks--,!q(b,d[c])){a.destination=null;c++;break}d.splice(0,c);var e=a.completedJSONChunks;for(c=0;c<e.length;c++)if(a.pendingChunks--,!q(b,e[c])){a.destination=null;c++;break}e.splice(0,c);var g=a.completedErrorChunks;for(c=0;c<g.length;c++)if(a.pendingChunks--,!q(b,g[c])){a.destination=null;c++;break}g.splice(0,c)}finally{f&&0<m&&b.write(f.subarray(0,m)),f=null,m=0,n=!0}"function"===
|
62
|
+
typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function hb(a){setImmediate(function(){return da.run(a.cache,eb,a)})}function ib(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{Q(a,b)}catch(d){O(a,d),gb(a,d)}}}
|
63
|
+
function jb(a,b){try{var d=a.abortableTasks;if(0<d.size){var c=O(a,void 0===b?Error("The render was aborted by the server without a reason."):b);a.pendingChunks++;var e=a.nextChunkId++;P(a,e,c);d.forEach(function(g){g.status=3;var h="$"+e.toString(16);g=v(a,g.id,h);a.completedErrorChunks.push(g)});d.clear()}null!==a.destination&&Q(a,a.destination)}catch(g){O(a,g),gb(a,g)}}
|
64
|
+
function Ya(a){if(a){var b=D;Aa(null);for(var d=0;d<a.length;d++){var c=a[d],e=c[0];c=c[1];Sa[e]||(Sa[e]=ca.createServerContext(e,pa));Ba(Sa[e],c)}a=D;Aa(b);return a}return null}var T=new Map,kb=new Map;function lb(){}
|
65
|
+
function mb(a){for(var b=a.chunks,d=[],c=0;c<b.length;c++){var e=b[c],g=T.get(e);if(void 0===g){g=__webpack_chunk_load__(e);d.push(g);var h=T.set.bind(T,e,null);g.then(h,lb);T.set(e,g)}else null!==g&&d.push(g)}if(a.async){if(b=kb.get(a.id))return"fulfilled"===b.status?null:b;var k=Promise.all(d).then(function(){return __webpack_require__(a.id)});k.then(function(l){k.status="fulfilled";k.value=l},function(l){k.status="rejected";k.reason=l});kb.set(a.id,k);return k}return 0<d.length?Promise.all(d):
|
66
|
+
null}function nb(a){if(a.async){var b=kb.get(a.id);if("fulfilled"===b.status)b=b.value;else throw b.reason;}else b=__webpack_require__(a.id);return"*"===a.name?b:""===a.name?b.__esModule?b.default:b:b[a.name]}function U(a,b,d,c){this.status=a;this.value=b;this.reason=d;this._response=c}U.prototype=Object.create(Promise.prototype);
|
67
|
+
U.prototype.then=function(a,b){switch(this.status){case "resolved_model":V(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 W(a,b){for(var d=0;d<a.length;d++)(0,a[d])(b)}
|
68
|
+
function ob(a,b){if("pending"===a.status||"blocked"===a.status){var d=a.reason;a.status="rejected";a.reason=b;null!==d&&W(d,b)}}function pb(a,b,d,c,e,g){var h=a._bundlerConfig[b];a=mb(h);if(d)d=Promise.all([d,a]).then(function(k){k=k[0];var l=nb(h);return l.bind.apply(l,[null].concat(k))});else if(a)d=Promise.resolve(a).then(function(){return nb(h)});else return nb(h);d.then(qb(c,e,g),sb(c));return null}var X=null,Y=null;
|
69
|
+
function V(a){var b=X,d=Y;X=a;Y=null;try{var c=JSON.parse(a.value,a._response._fromJSON);null!==Y&&0<Y.deps?(Y.value=c,a.status="blocked",a.value=null,a.reason=null):(a.status="fulfilled",a.value=c)}catch(e){a.status="rejected",a.reason=e}finally{X=b,Y=d}}function tb(a,b){a._chunks.forEach(function(d){"pending"===d.status&&ob(d,b)})}function Z(a,b){var d=a._chunks,c=d.get(b);c||(c=new U("pending",null,null,a),d.set(b,c));return c}
|
70
|
+
function qb(a,b,d){if(Y){var c=Y;c.deps++}else c=Y={deps:1,value:null};return function(e){b[d]=e;c.deps--;0===c.deps&&"blocked"===a.status&&(e=a.value,a.status="fulfilled",a.value=c.value,null!==e&&W(e,c.value))}}function sb(a){return function(b){return ob(a,b)}}
|
71
|
+
function ub(a,b,d,c){if("$"===c[0])switch(c[1]){case "$":return c.substring(1);case "@":return b=parseInt(c.substring(2),16),Z(a,b);case "S":return Symbol.for(c.substring(2));case "F":c=parseInt(c.substring(2),16);c=Z(a,c);"resolved_model"===c.status&&V(c);if("fulfilled"!==c.status)throw c.reason;c=c.value;return pb(a,c.id,c.bound,X,b,d);case "u":return;default:c=parseInt(c.substring(1),16);a=Z(a,c);switch(a.status){case "resolved_model":V(a)}switch(a.status){case "fulfilled":return a.value;case "pending":case "blocked":return c=
|
72
|
+
X,a.then(qb(c,b,d),sb(c)),null;default:throw a.reason;}}return c}function vb(a){var b=new Map,d={_bundlerConfig:a,_chunks:b,_fromJSON:function(c,e){return"string"===typeof e?ub(d,this,c,e):e}};return d}
|
73
|
+
function wb(a,b,d){var c=a._chunks,e=c.get(b);if(e){if("pending"===e.status&&(a=e.value,b=e.reason,e.status="resolved_model",e.value=d,null!==a))switch(V(e),e.status){case "fulfilled":W(a,e.value);break;case "pending":case "blocked":e.value=a;e.reason=b;break;case "rejected":b&&W(b,e.reason)}}else c.set(b,new U("resolved_model",d,null,a))}function xb(a){tb(a,Error("Connection closed."))}function yb(a,b){return function(){return ib(b,a)}}
|
74
|
+
exports.decodeReply=function(a,b){var d=vb(b);"string"===typeof a?wb(d,0,a):a.forEach(function(c,e){if("string"===typeof c)wb(d,+e,c);else throw Error("Not implemented.");});xb(d);return Z(d,0)};
|
75
|
+
exports.decodeReplyFromBusboy=function(a,b){var d=vb(b);a.on("field",function(c,e){wb(d,+c,e)});a.on("file",function(c,e,g){if("base64"===g.encoding.toLowerCase())throw Error("React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it.");throw Error("Not implemented.");});a.on("finish",function(){xb(d)});a.on("error",function(c){tb(d,c)});return Z(d,0)};
|
76
|
+
exports.renderToPipeableStream=function(a,b,d){var c=Wa(a,b,d?d.onError:void 0,d?d.context:void 0,d?d.identifierPrefix:void 0),e=!1;hb(c);return{pipe:function(g){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;ib(c,g);g.on("drain",yb(g,c));return g},abort:function(g){jb(c,g)}}};
|