react-server-dom-webpack 18.3.0-next-b72ed698f-20230303 → 18.3.0-next-49f741046-20230305
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 +2 -2
- package/cjs/react-server-dom-webpack-client.browser.production.min.js +1 -1
- package/cjs/react-server-dom-webpack-client.edge.development.js +2 -2
- package/cjs/react-server-dom-webpack-client.edge.production.min.js +1 -1
- package/cjs/react-server-dom-webpack-client.node.development.js +2 -2
- package/cjs/react-server-dom-webpack-client.node.production.min.js +1 -1
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +2 -2
- package/cjs/react-server-dom-webpack-client.node.unbundled.production.min.js +1 -1
- package/cjs/react-server-dom-webpack-node-register.js +7 -8
- package/cjs/react-server-dom-webpack-plugin.js +8 -8
- package/cjs/react-server-dom-webpack-server.browser.development.js +43 -11
- package/cjs/react-server-dom-webpack-server.browser.production.min.js +40 -39
- package/cjs/react-server-dom-webpack-server.edge.development.js +43 -11
- package/cjs/react-server-dom-webpack-server.edge.production.min.js +39 -38
- package/cjs/react-server-dom-webpack-server.node.development.js +43 -11
- package/cjs/react-server-dom-webpack-server.node.production.min.js +41 -40
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +43 -11
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +41 -40
- package/esm/react-server-dom-webpack-node-loader.production.min.js +2 -4
- package/package.json +3 -3
- package/umd/react-server-dom-webpack-client.browser.development.js +2 -2
- package/umd/react-server-dom-webpack-client.browser.production.min.js +1 -1
- package/umd/react-server-dom-webpack-server.browser.development.js +43 -11
- package/umd/react-server-dom-webpack-server.browser.production.min.js +39 -39
@@ -9,8 +9,8 @@
|
|
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
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.subarray(0,m)),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&&
|
12
|
-
(0===c?p(a,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
|
13
|
-
var x=Symbol.for("react.client.reference"),
|
12
|
+
(0===c?p(a,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 ea(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"),fa=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"),ra=Symbol.iterator;
|
14
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)});
|
@@ -19,45 +19,46 @@ function B(a,b,c,d,e,g,h){this.acceptsBooleans=2===b||3===b||4===b;this.attribut
|
|
19
19
|
D);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,D);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,D);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
20
|
new B("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(a){new B(a,1,!1,a.toLowerCase(),null,!0,!0)});
|
21
21
|
var E={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},
|
22
|
+
zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},sa=["Webkit","ms","Moz","O"];Object.keys(E).forEach(function(a){sa.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);E[b]=E[a]})});var F=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="');t(":");
|
23
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="');
|
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
|
-
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(
|
27
|
-
t('$RM=new Map;\n$RR=function(
|
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('<
|
29
|
-
t("</
|
30
|
-
function
|
31
|
-
function
|
32
|
-
function
|
33
|
-
function
|
34
|
-
|
35
|
-
function
|
36
|
-
function
|
37
|
-
|
38
|
-
function
|
39
|
-
|
40
|
-
|
41
|
-
function Sa(a){
|
42
|
-
function
|
43
|
-
|
44
|
-
|
45
|
-
function
|
46
|
-
b=a.
|
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
|
+
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
|
+
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 H=null;
|
30
|
+
function I(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.");I(a,c);b.context._currentValue=b.value}}}function ta(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&ta(a)}
|
31
|
+
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?I(a,b):va(a,b)}
|
32
|
+
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?I(a,c):wa(a,c);b.context._currentValue=b.value}function J(a){var b=H;b!==a&&(null===b?ua(a):null===a?ta(b):b.depth===a.depth?I(b,a):b.depth>a.depth?va(b,a):wa(b,a),H=a)}function xa(a,b){var c=a._currentValue;a._currentValue=b;var d=H;return H=a={parent:d,depth:null===d?0:d.depth+1,context:a,parentValue:c,value:b}}var K=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 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;}L=b;throw K;}}var L=null;
|
34
|
+
function Aa(){if(null===L)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=L;L=null;return a}var M=null,N=0,P=null;function Ba(){var a=P;P=null;return a}function Ca(a){return a._currentValue}
|
35
|
+
var Ga={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:Q,useTransition:Q,readContext:Ca,useContext:Ca,useReducer:Q,useRef:Q,useState:Q,useInsertionEffect:Q,useLayoutEffect:Q,useImperativeHandle:Q,useEffect:Q,useId:Da,useMutableSource:Q,useSyncExternalStore:Q,useCacheRefresh:function(){return Ea},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=qa;return b},use:Fa};
|
36
|
+
function Q(){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===M)throw Error("useId can only be used while React is rendering");var a=M.identifierCount++;return":"+M.identifierPrefix+"S"+a.toString(32)+":"}
|
37
|
+
function Fa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=N;N+=1;null===P&&(P=[]);return za(P,a,b)}if(a.$$typeof===ka)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function R(){return(new AbortController).signal}function Ha(){if(S)return S;var a=da.getStore();return a?a:new Map}
|
38
|
+
var Ia={getCacheSignal:function(){var a=Ha(),b=a.get(R);void 0===b&&(b=R(),a.set(R,b));return b},getCacheForType:function(a){var b=Ha(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},S=null,T=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ja=T.ContextRegistry,Ka=T.ReactCurrentDispatcher,La=T.ReactCurrentCache;function Ma(a){console.error(a)}
|
39
|
+
function Na(a,b,c,d,e){if(null!==La.current&&La.current!==Ia)throw Error("Currently React only supports one RSC renderer at a time.");La.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||
|
40
|
+
"",identifierCount:1,onError:void 0===c?Ma:c,toJSON:function(l,w){return Oa(k,this,l,w)}};k.pendingChunks++;b=Pa(d);a=Qa(k,a,b,g);h.push(a);return k}var Ra={};
|
41
|
+
function Sa(a,b){a.pendingChunks++;var c=Qa(a,null,H,a.abortableTasks);switch(b.status){case "fulfilled":return c.model=b.value,Ta(a,c),c.id;case "rejected":var d=U(a,b.reason);V(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;Ta(a,c)},function(e){c.status=4;e=U(a,e);V(a,c.id,e);null!==a.destination&&
|
42
|
+
W(a,a.destination)});return c.id}function Ua(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function Va(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:Ua}}
|
43
|
+
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];N=0;P=g;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:Va(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=
|
44
|
+
b._init;b=h(b._payload);return X(a,b,c,d,e,g);case la:return a=b.render,N=0,P=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:Ra}]}}throw Error("Unsupported Server Component type: "+Wa(b));}function Ta(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&setImmediate(function(){return Xa(a)})}
|
45
|
+
function Qa(a,b,c,d){var e={id:a.nextChunkId++,status:0,model:b,context:c,ping:function(){return Ta(a,e)},thenableState:null};d.add(e);return e}
|
46
|
+
function Ya(a,b,c,d){var e=d.$$async?d.$$id+"#async":d.$$id,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.$$id];var l=d.$$async?{id:k.id,chunks:k.chunks,name:k.name,async:!0}:k;a.pendingChunks++;var w=a.nextChunkId++,ha=u(l);var y=w.toString(16)+":I"+ha+"\n";a.completedImportChunks.push(y);g.set(e,w);return b[0]===z&&"1"===c?"$L"+w.toString(16):"$"+w.toString(16)}catch(O){return a.pendingChunks++,b=
|
47
|
+
a.nextChunkId++,c=U(a,O),V(a,b,c),"$"+b.toString(16)}}function Za(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}function Wa(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.substr(0,10)+"...");case "object":if(F(a))return"[...]";a=Za(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}}
|
47
48
|
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=
|
49
|
-
|
50
|
-
function
|
51
|
-
d.toString(16)}if(null===d)return null;if("object"===typeof d){if(d.$$typeof===x)return
|
52
|
-
d===pa?a.context._defaultValue: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);
|
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 "+
|
55
|
-
function
|
56
|
-
function
|
57
|
-
function
|
58
|
-
g.status=1}catch(G){var y=G===
|
59
|
-
function
|
60
|
-
typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function
|
61
|
-
function
|
62
|
-
function
|
63
|
-
exports.renderToPipeableStream=function(a,b,c){var d=
|
49
|
+
function Z(a,b){var c=Za(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(F(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):Wa(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):
|
50
|
+
Wa(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}
|
51
|
+
function Oa(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===K?Aa():h;if("object"===typeof c&&null!==c&&"function"===typeof c.then)return a.pendingChunks++,a=Qa(a,d,H,a.abortableTasks),d=a.ping,c.then(d,d),a.thenableState=Ba(),"$L"+a.id.toString(16);a.pendingChunks++;d=a.nextChunkId++;c=U(a,c);V(a,d,c);return"$L"+
|
52
|
+
d.toString(16)}if(null===d)return null;if("object"===typeof d){if(d.$$typeof===x)return Ya(a,b,c,d);if("function"===typeof d.then)return"$@"+Sa(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===Ra){a=H;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=
|
53
|
+
d===pa?a.context._defaultValue:d;H=a.parent;return}return!F(d)&&(null===d||"object"!==typeof d?a=null:(a=ra&&d[ra]||d["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(d):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 Ya(a,b,c,d);if(d.$$typeof===fa)return c=a.writtenServerReferences,b=c.get(d),void 0!==b?a="$F"+b.toString(16):(e={id:d.$$id,bound:Promise.resolve(d.$$bound)},
|
54
|
+
a.pendingChunks++,b=a.nextChunkId++,e=ea(a,b,e),a.completedJSONChunks.push(e),c.set(d,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);
|
55
|
+
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("+(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 "+
|
56
|
+
typeof d+" is not supported in Client Component props."+Z(b,c));}function U(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 $a(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}
|
57
|
+
function V(a,b,c){c={digest:c};b=b.toString(16)+":E"+u(c)+"\n";a.completedErrorChunks.push(b)}
|
58
|
+
function Xa(a){var b=Ka.current,c=S;Ka.current=Ga;S=a.cache;M=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){J(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 ha=ea(h,g.id,k);h.completedJSONChunks.push(ha);h.abortableTasks.delete(g);
|
59
|
+
g.status=1}catch(G){var y=G===K?Aa():G;if("object"===typeof y&&null!==y&&"function"===typeof y.then){var O=g.ping;y.then(O,O);g.thenableState=Ba()}else{h.abortableTasks.delete(g);g.status=4;var bb=U(h,y);V(h,g.id,bb)}}}}null!==a.destination&&W(a,a.destination)}catch(G){U(a,G),$a(a,G)}finally{Ka.current=b,S=c,M=null}}
|
60
|
+
function W(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"===
|
61
|
+
typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function ab(a){setImmediate(function(){return da.run(a.cache,Xa,a)})}function cb(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{W(a,b)}catch(c){U(a,c),$a(a,c)}}}
|
62
|
+
function db(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=U(a,void 0===b?Error("The render was aborted by the server without a reason."):b);a.pendingChunks++;var e=a.nextChunkId++;V(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&&W(a,a.destination)}catch(g){U(a,g),$a(a,g)}}
|
63
|
+
function Pa(a){if(a){var b=H;J(null);for(var c=0;c<a.length;c++){var d=a[c],e=d[0];d=d[1];Ja[e]||(Ja[e]=ca.createServerContext(e,pa));xa(Ja[e],d)}a=H;J(b);return a}return null}function eb(a,b){return function(){return cb(b,a)}}
|
64
|
+
exports.renderToPipeableStream=function(a,b,c){var d=Na(a,b,c?c.onError:void 0,c?c.context:void 0,c?c.identifierPrefix:void 0),e=!1;ab(d);return{pipe:function(g){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;cb(d,g);g.on("drain",eb(g,d));return g},abort:function(g){db(d,g)}}};
|
@@ -273,7 +273,7 @@ function processImportChunk(request, id, clientReferenceMetadata) {
|
|
273
273
|
var CLIENT_REFERENCE_TAG = Symbol.for('react.client.reference');
|
274
274
|
var SERVER_REFERENCE_TAG = Symbol.for('react.server.reference');
|
275
275
|
function getClientReferenceKey(reference) {
|
276
|
-
return reference
|
276
|
+
return reference.$$async ? reference.$$id + '#async' : reference.$$id;
|
277
277
|
}
|
278
278
|
function isClientReference(reference) {
|
279
279
|
return reference.$$typeof === CLIENT_REFERENCE_TAG;
|
@@ -282,9 +282,9 @@ function isServerReference(reference) {
|
|
282
282
|
return reference.$$typeof === SERVER_REFERENCE_TAG;
|
283
283
|
}
|
284
284
|
function resolveClientReferenceMetadata(config, clientReference) {
|
285
|
-
var resolvedModuleData = config[clientReference
|
285
|
+
var resolvedModuleData = config[clientReference.$$id];
|
286
286
|
|
287
|
-
if (clientReference
|
287
|
+
if (clientReference.$$async) {
|
288
288
|
return {
|
289
289
|
id: resolvedModuleData.id,
|
290
290
|
chunks: resolvedModuleData.chunks,
|
@@ -297,8 +297,7 @@ function resolveClientReferenceMetadata(config, clientReference) {
|
|
297
297
|
}
|
298
298
|
function resolveServerReferenceMetadata(config, serverReference) {
|
299
299
|
return {
|
300
|
-
id: serverReference.$$
|
301
|
-
name: serverReference.$$name,
|
300
|
+
id: serverReference.$$id,
|
302
301
|
bound: Promise.resolve(serverReference.$$bound)
|
303
302
|
};
|
304
303
|
}
|
@@ -318,6 +317,21 @@ var REACT_MEMO_TYPE = Symbol.for('react.memo');
|
|
318
317
|
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
|
319
318
|
var REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for('react.default_value');
|
320
319
|
var REACT_MEMO_CACHE_SENTINEL = Symbol.for('react.memo_cache_sentinel');
|
320
|
+
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
321
|
+
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
322
|
+
function getIteratorFn(maybeIterable) {
|
323
|
+
if (maybeIterable === null || typeof maybeIterable !== 'object') {
|
324
|
+
return null;
|
325
|
+
}
|
326
|
+
|
327
|
+
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
328
|
+
|
329
|
+
if (typeof maybeIterator === 'function') {
|
330
|
+
return maybeIterator;
|
331
|
+
}
|
332
|
+
|
333
|
+
return null;
|
334
|
+
}
|
321
335
|
|
322
336
|
// It is handled by React separately and shouldn't be written to the DOM.
|
323
337
|
|
@@ -619,7 +633,7 @@ function isArray(a) {
|
|
619
633
|
// Run `yarn generate-inline-fizz-runtime` to generate.
|
620
634
|
var clientRenderBoundary = '$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())};';
|
621
635
|
var completeBoundary = '$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()}};';
|
622
|
-
var completeBoundaryWithStyles = '$RM=new Map;\n$RR=function(
|
636
|
+
var completeBoundaryWithStyles = '$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"))};';
|
623
637
|
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)};';
|
624
638
|
|
625
639
|
stringToPrecomputedChunk('"></template>');
|
@@ -719,11 +733,16 @@ stringToPrecomputedChunk('" data-dgst="');
|
|
719
733
|
stringToPrecomputedChunk('" data-msg="');
|
720
734
|
stringToPrecomputedChunk('" data-stck="');
|
721
735
|
|
722
|
-
stringToPrecomputedChunk('<
|
723
|
-
stringToPrecomputedChunk('
|
724
|
-
stringToPrecomputedChunk('
|
725
|
-
stringToPrecomputedChunk('
|
736
|
+
stringToPrecomputedChunk('<style media="not all" data-precedence="');
|
737
|
+
stringToPrecomputedChunk('" data-href="');
|
738
|
+
stringToPrecomputedChunk('">');
|
739
|
+
stringToPrecomputedChunk('</style>'); // Tracks whether the boundary currently flushing is flushign style tags or has any
|
726
740
|
|
741
|
+
stringToPrecomputedChunk('<style data-precedence="');
|
742
|
+
stringToPrecomputedChunk('" data-href="');
|
743
|
+
stringToPrecomputedChunk(' ');
|
744
|
+
stringToPrecomputedChunk('">');
|
745
|
+
stringToPrecomputedChunk('</style>');
|
727
746
|
stringToPrecomputedChunk('[');
|
728
747
|
stringToPrecomputedChunk(',[');
|
729
748
|
stringToPrecomputedChunk(',');
|
@@ -1345,7 +1364,8 @@ function serializeThenable(request, thenable) {
|
|
1345
1364
|
newTask.model = value;
|
1346
1365
|
pingTask(request, newTask);
|
1347
1366
|
}, function (reason) {
|
1348
|
-
// TODO:
|
1367
|
+
newTask.status = ERRORED; // TODO: We should ideally do this inside performWork so it's scheduled
|
1368
|
+
|
1349
1369
|
var digest = logRecoverableError(request, reason);
|
1350
1370
|
|
1351
1371
|
{
|
@@ -1355,6 +1375,10 @@ function serializeThenable(request, thenable) {
|
|
1355
1375
|
|
1356
1376
|
emitErrorChunkDev(request, newTask.id, digest, _message, _stack);
|
1357
1377
|
}
|
1378
|
+
|
1379
|
+
if (request.destination !== null) {
|
1380
|
+
flushCompletedChunks(request, request.destination);
|
1381
|
+
}
|
1358
1382
|
});
|
1359
1383
|
return newTask.id;
|
1360
1384
|
}
|
@@ -2108,6 +2132,14 @@ function resolveModelToJSON(request, parent, key, value) {
|
|
2108
2132
|
return undefined;
|
2109
2133
|
}
|
2110
2134
|
|
2135
|
+
if (!isArray(value)) {
|
2136
|
+
var iteratorFn = getIteratorFn(value);
|
2137
|
+
|
2138
|
+
if (iteratorFn) {
|
2139
|
+
return Array.from(value);
|
2140
|
+
}
|
2141
|
+
}
|
2142
|
+
|
2111
2143
|
{
|
2112
2144
|
if (value !== null && !isArray(value)) {
|
2113
2145
|
// Verify that this is a simple plain object.
|
@@ -9,8 +9,8 @@
|
|
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
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.subarray(0,m)),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&&
|
12
|
-
(0===c?p(a,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
|
13
|
-
var x=Symbol.for("react.client.reference"),
|
12
|
+
(0===c?p(a,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 ea(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"),fa=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"),ra=Symbol.iterator;
|
14
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)});
|
@@ -19,45 +19,46 @@ function B(a,b,c,d,e,g,h){this.acceptsBooleans=2===b||3===b||4===b;this.attribut
|
|
19
19
|
D);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,D);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,D);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
20
|
new B("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(a){new B(a,1,!1,a.toLowerCase(),null,!0,!0)});
|
21
21
|
var E={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},
|
22
|
+
zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},sa=["Webkit","ms","Moz","O"];Object.keys(E).forEach(function(a){sa.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);E[b]=E[a]})});var F=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="');t(":");
|
23
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="');
|
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
|
-
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(
|
27
|
-
t('$RM=new Map;\n$RR=function(
|
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('<
|
29
|
-
t("</
|
30
|
-
function
|
31
|
-
function
|
32
|
-
function
|
33
|
-
function
|
34
|
-
|
35
|
-
function
|
36
|
-
function
|
37
|
-
|
38
|
-
function
|
39
|
-
|
40
|
-
|
41
|
-
function Sa(a){
|
42
|
-
function
|
43
|
-
|
44
|
-
|
45
|
-
function
|
46
|
-
b=a.
|
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
|
+
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
|
+
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 H=null;
|
30
|
+
function I(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.");I(a,c);b.context._currentValue=b.value}}}function ta(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&ta(a)}
|
31
|
+
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?I(a,b):va(a,b)}
|
32
|
+
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?I(a,c):wa(a,c);b.context._currentValue=b.value}function J(a){var b=H;b!==a&&(null===b?ua(a):null===a?ta(b):b.depth===a.depth?I(b,a):b.depth>a.depth?va(b,a):wa(b,a),H=a)}function xa(a,b){var c=a._currentValue;a._currentValue=b;var d=H;return H=a={parent:d,depth:null===d?0:d.depth+1,context:a,parentValue:c,value:b}}var K=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 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;}L=b;throw K;}}var L=null;
|
34
|
+
function Aa(){if(null===L)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=L;L=null;return a}var M=null,N=0,P=null;function Ba(){var a=P;P=null;return a}function Ca(a){return a._currentValue}
|
35
|
+
var Ga={useMemo:function(a){return a()},useCallback:function(a){return a},useDebugValue:function(){},useDeferredValue:Q,useTransition:Q,readContext:Ca,useContext:Ca,useReducer:Q,useRef:Q,useState:Q,useInsertionEffect:Q,useLayoutEffect:Q,useImperativeHandle:Q,useEffect:Q,useId:Da,useMutableSource:Q,useSyncExternalStore:Q,useCacheRefresh:function(){return Ea},useMemoCache:function(a){for(var b=Array(a),c=0;c<a;c++)b[c]=qa;return b},use:Fa};
|
36
|
+
function Q(){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===M)throw Error("useId can only be used while React is rendering");var a=M.identifierCount++;return":"+M.identifierPrefix+"S"+a.toString(32)+":"}
|
37
|
+
function Fa(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=N;N+=1;null===P&&(P=[]);return za(P,a,b)}if(a.$$typeof===ka)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function R(){return(new AbortController).signal}function Ha(){if(S)return S;var a=da.getStore();return a?a:new Map}
|
38
|
+
var Ia={getCacheSignal:function(){var a=Ha(),b=a.get(R);void 0===b&&(b=R(),a.set(R,b));return b},getCacheForType:function(a){var b=Ha(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},S=null,T=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ja=T.ContextRegistry,Ka=T.ReactCurrentDispatcher,La=T.ReactCurrentCache;function Ma(a){console.error(a)}
|
39
|
+
function Na(a,b,c,d,e){if(null!==La.current&&La.current!==Ia)throw Error("Currently React only supports one RSC renderer at a time.");La.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||
|
40
|
+
"",identifierCount:1,onError:void 0===c?Ma:c,toJSON:function(l,w){return Oa(k,this,l,w)}};k.pendingChunks++;b=Pa(d);a=Qa(k,a,b,g);h.push(a);return k}var Ra={};
|
41
|
+
function Sa(a,b){a.pendingChunks++;var c=Qa(a,null,H,a.abortableTasks);switch(b.status){case "fulfilled":return c.model=b.value,Ta(a,c),c.id;case "rejected":var d=U(a,b.reason);V(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;Ta(a,c)},function(e){c.status=4;e=U(a,e);V(a,c.id,e);null!==a.destination&&
|
42
|
+
W(a,a.destination)});return c.id}function Ua(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function Va(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:Ua}}
|
43
|
+
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];N=0;P=g;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:Va(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=
|
44
|
+
b._init;b=h(b._payload);return X(a,b,c,d,e,g);case la:return a=b.render,N=0,P=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:Ra}]}}throw Error("Unsupported Server Component type: "+Wa(b));}function Ta(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&setImmediate(function(){return Xa(a)})}
|
45
|
+
function Qa(a,b,c,d){var e={id:a.nextChunkId++,status:0,model:b,context:c,ping:function(){return Ta(a,e)},thenableState:null};d.add(e);return e}
|
46
|
+
function Ya(a,b,c,d){var e=d.$$async?d.$$id+"#async":d.$$id,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.$$id];var l=d.$$async?{id:k.id,chunks:k.chunks,name:k.name,async:!0}:k;a.pendingChunks++;var w=a.nextChunkId++,ha=u(l);var y=w.toString(16)+":I"+ha+"\n";a.completedImportChunks.push(y);g.set(e,w);return b[0]===z&&"1"===c?"$L"+w.toString(16):"$"+w.toString(16)}catch(O){return a.pendingChunks++,b=
|
47
|
+
a.nextChunkId++,c=U(a,O),V(a,b,c),"$"+b.toString(16)}}function Za(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}function Wa(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.substr(0,10)+"...");case "object":if(F(a))return"[...]";a=Za(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}}
|
47
48
|
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=
|
49
|
-
|
50
|
-
function
|
51
|
-
d.toString(16)}if(null===d)return null;if("object"===typeof d){if(d.$$typeof===x)return
|
52
|
-
d===pa?a.context._defaultValue: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);
|
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 "+
|
55
|
-
function
|
56
|
-
function
|
57
|
-
function
|
58
|
-
g.status=1}catch(G){var y=G===
|
59
|
-
function
|
60
|
-
typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function
|
61
|
-
function
|
62
|
-
function
|
63
|
-
exports.renderToPipeableStream=function(a,b,c){var d=
|
49
|
+
function Z(a,b){var c=Za(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(F(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):Wa(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):
|
50
|
+
Wa(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}
|
51
|
+
function Oa(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===K?Aa():h;if("object"===typeof c&&null!==c&&"function"===typeof c.then)return a.pendingChunks++,a=Qa(a,d,H,a.abortableTasks),d=a.ping,c.then(d,d),a.thenableState=Ba(),"$L"+a.id.toString(16);a.pendingChunks++;d=a.nextChunkId++;c=U(a,c);V(a,d,c);return"$L"+
|
52
|
+
d.toString(16)}if(null===d)return null;if("object"===typeof d){if(d.$$typeof===x)return Ya(a,b,c,d);if("function"===typeof d.then)return"$@"+Sa(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===Ra){a=H;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=
|
53
|
+
d===pa?a.context._defaultValue:d;H=a.parent;return}return!F(d)&&(null===d||"object"!==typeof d?a=null:(a=ra&&d[ra]||d["@@iterator"],a="function"===typeof a?a:null),a)?Array.from(d):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 Ya(a,b,c,d);if(d.$$typeof===fa)return c=a.writtenServerReferences,b=c.get(d),void 0!==b?a="$F"+b.toString(16):(e={id:d.$$id,bound:Promise.resolve(d.$$bound)},
|
54
|
+
a.pendingChunks++,b=a.nextChunkId++,e=ea(a,b,e),a.completedJSONChunks.push(e),c.set(d,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);
|
55
|
+
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("+(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 "+
|
56
|
+
typeof d+" is not supported in Client Component props."+Z(b,c));}function U(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 $a(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}
|
57
|
+
function V(a,b,c){c={digest:c};b=b.toString(16)+":E"+u(c)+"\n";a.completedErrorChunks.push(b)}
|
58
|
+
function Xa(a){var b=Ka.current,c=S;Ka.current=Ga;S=a.cache;M=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){J(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 ha=ea(h,g.id,k);h.completedJSONChunks.push(ha);h.abortableTasks.delete(g);
|
59
|
+
g.status=1}catch(G){var y=G===K?Aa():G;if("object"===typeof y&&null!==y&&"function"===typeof y.then){var O=g.ping;y.then(O,O);g.thenableState=Ba()}else{h.abortableTasks.delete(g);g.status=4;var bb=U(h,y);V(h,g.id,bb)}}}}null!==a.destination&&W(a,a.destination)}catch(G){U(a,G),$a(a,G)}finally{Ka.current=b,S=c,M=null}}
|
60
|
+
function W(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"===
|
61
|
+
typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function ab(a){setImmediate(function(){return da.run(a.cache,Xa,a)})}function cb(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{W(a,b)}catch(c){U(a,c),$a(a,c)}}}
|
62
|
+
function db(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=U(a,void 0===b?Error("The render was aborted by the server without a reason."):b);a.pendingChunks++;var e=a.nextChunkId++;V(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&&W(a,a.destination)}catch(g){U(a,g),$a(a,g)}}
|
63
|
+
function Pa(a){if(a){var b=H;J(null);for(var c=0;c<a.length;c++){var d=a[c],e=d[0];d=d[1];Ja[e]||(Ja[e]=ca.createServerContext(e,pa));xa(Ja[e],d)}a=H;J(b);return a}return null}function eb(a,b){return function(){return cb(b,a)}}
|
64
|
+
exports.renderToPipeableStream=function(a,b,c){var d=Na(a,b,c?c.onError:void 0,c?c.context:void 0,c?c.identifierPrefix:void 0),e=!1;ab(d);return{pipe:function(g){if(e)throw Error("React currently only supports piping to one writable stream.");e=!0;cb(d,g);g.on("drain",eb(g,d));return g},abort:function(g){db(d,g)}}};
|