react-server-dom-webpack 18.3.0-next-9c54b29b4-20230322 → 18.3.0-next-41b4714f1-20230328
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 +10 -10
- package/cjs/react-server-dom-webpack-client.edge.development.js +6 -6
- package/cjs/react-server-dom-webpack-client.node.development.js +6 -6
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +6 -6
- package/cjs/react-server-dom-webpack-server.browser.development.js +14 -104
- package/cjs/react-server-dom-webpack-server.browser.production.min.js +15 -17
- package/cjs/react-server-dom-webpack-server.edge.development.js +14 -104
- package/cjs/react-server-dom-webpack-server.edge.production.min.js +17 -19
- package/cjs/react-server-dom-webpack-server.node.development.js +13 -103
- package/cjs/react-server-dom-webpack-server.node.production.min.js +17 -19
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +13 -103
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.min.js +17 -19
- package/package.json +3 -3
- package/umd/react-server-dom-webpack-client.browser.development.js +10 -10
- package/umd/react-server-dom-webpack-server.browser.development.js +14 -104
- package/umd/react-server-dom-webpack-server.browser.production.min.js +39 -41
@@ -10,20 +10,18 @@
|
|
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 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
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
|
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}[
|
15
|
-
|
16
|
-
|
17
|
-
"
|
18
|
-
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)});
|
19
|
-
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)});
|
13
|
+
var x=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"),A=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}["contentEditable","draggable","spellCheck","value"].forEach(function(a){new B(a,2,!1,a.toLowerCase(),null,!1,!1)});
|
15
|
+
"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){new B(a,3,!1,a.toLowerCase(),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()}
|
16
|
+
"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){a.replace(C,sa)});
|
17
|
+
"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){a.replace(C,sa)});["xml:base","xml:lang","xml:space"].forEach(function(a){a.replace(C,sa)});["tabIndex","crossOrigin"].forEach(function(a){new B(a,1,!1,a.toLowerCase(),null,!1,!1)});["src","href","action"].forEach(function(a){new B(a,1,!1,a.toLowerCase(),null,!0,!0)});
|
20
18
|
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,
|
21
19
|
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="');
|
22
20
|
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="');
|
23
21
|
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="');
|
24
22
|
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("');
|
25
|
-
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,
|
26
|
-
t('$RM=new Map;\n$RR=function(t,
|
23
|
+
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(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("');
|
24
|
+
t('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("');
|
27
25
|
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="');
|
28
26
|
t('" data-href="');t('">');t("</style>");t('<style data-precedence="');t('" data-href="');t(" ");t('">');t("</style>");t("[");t(",[");t(",");t("]");var D=null;
|
29
27
|
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)}
|
@@ -36,27 +34,27 @@ function K(){throw Error("This Hook is not supported in Server Components.");}fu
|
|
36
34
|
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}
|
37
35
|
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})}
|
38
36
|
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)}}
|
39
|
-
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
|
37
|
+
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 A:var b=a._payload;a=a._init;try{return M(a(b))}catch(d){}}return""}
|
40
38
|
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):
|
41
39
|
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)}
|
42
40
|
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||
|
43
|
-
"",identifierCount:1,onError:void 0===d?Va:d,toJSON:function(l,
|
41
|
+
"",identifierCount:1,onError:void 0===d?Va:d,toJSON:function(l,w){return Xa(k,this,l,w)}};k.pendingChunks++;b=Ya(c);a=Za(k,a,b,g);h.push(a);return k}var $a={};
|
44
42
|
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&&
|
45
|
-
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:
|
46
|
-
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===
|
43
|
+
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:A,_payload:a,_init:cb}}
|
44
|
+
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===x)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===x)return[y,b,d,e];switch(b.$$typeof){case A:var h=
|
47
45
|
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)})}
|
48
46
|
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}
|
49
|
-
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
|
47
|
+
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 w=a.nextChunkId++,oa=u(l);var z=w.toString(16)+":I"+oa+"\n";a.completedImportChunks.push(z);g.set(e,w);return b[0]===y&&"1"===d?"$L"+w.toString(16):"$"+w.toString(16)}catch(S){return a.pendingChunks++,b=
|
50
48
|
a.nextChunkId++,d=O(a,S),P(a,b,d),"$"+b.toString(16)}}
|
51
|
-
function Xa(a,b,d,c){switch(c){case y:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===y||c.$$typeof===
|
52
|
-
c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===
|
53
|
-
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===
|
49
|
+
function Xa(a,b,d,c){switch(c){case y:return"$"}for(;"object"===typeof c&&null!==c&&(c.$$typeof===y||c.$$typeof===A);)try{switch(c.$$typeof){case y:var e=c;c=R(a,e.type,e.key,e.ref,e.props,null);break;case A: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"+
|
50
|
+
c.toString(16)}if(null===c)return null;if("object"===typeof c){if(c.$$typeof===x)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=
|
51
|
+
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===x)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,
|
54
52
|
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"===
|
55
53
|
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."+
|
56
54
|
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||""}
|
57
55
|
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)}
|
58
|
-
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,
|
59
|
-
g.status=1}catch(H){var
|
56
|
+
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,w=g.thenableState;g.model=k;k=R(h,l.type,l.key,l.ref,l.props,w);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);
|
57
|
+
g.status=1}catch(H){var z=H===Ca?Fa():H;if("object"===typeof z&&null!==z&&"function"===typeof z.then){var S=g.ping;z.then(S,S);g.thenableState=Ga()}else{h.abortableTasks.delete(g);g.status=4;var rb=O(h,z);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}}
|
60
58
|
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"===
|
61
59
|
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)}}}
|
62
60
|
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)}}
|
@@ -225,7 +225,7 @@ function stringToPrecomputedChunk(content) {
|
|
225
225
|
return precomputedChunk;
|
226
226
|
}
|
227
227
|
function closeWithError(destination, error) {
|
228
|
-
// $FlowFixMe: This is an Error object or the destination accepts other types.
|
228
|
+
// $FlowFixMe[incompatible-call]: This is an Error object or the destination accepts other types.
|
229
229
|
destination.destroy(error);
|
230
230
|
}
|
231
231
|
|
@@ -355,9 +355,6 @@ var OVERLOADED_BOOLEAN = 4; // An attribute that must be numeric or parse as a n
|
|
355
355
|
// When falsy, it should be removed.
|
356
356
|
|
357
357
|
var NUMERIC = 5; // An attribute that must be positive numeric or parse as a positive numeric.
|
358
|
-
// When falsy, it should be removed.
|
359
|
-
|
360
|
-
var POSITIVE_NUMERIC = 6;
|
361
358
|
|
362
359
|
function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attributeNamespace, sanitizeURL, removeEmptyString) {
|
363
360
|
this.acceptsBooleans = type === BOOLEANISH_STRING || type === BOOLEAN || type === OVERLOADED_BOOLEAN;
|
@@ -369,18 +366,6 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
|
|
369
366
|
this.sanitizeURL = sanitizeURL;
|
370
367
|
this.removeEmptyString = removeEmptyString;
|
371
368
|
} // When adding attributes to this list, be sure to also add them to
|
372
|
-
// This is a mapping from React prop names to the attribute names.
|
373
|
-
|
374
|
-
[['acceptCharset', 'accept-charset'], ['className', 'class'], ['htmlFor', 'for'], ['httpEquiv', 'http-equiv']].forEach(function (_ref) {
|
375
|
-
var name = _ref[0],
|
376
|
-
attributeName = _ref[1];
|
377
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
378
|
-
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
379
|
-
attributeName, // attributeName
|
380
|
-
null, // attributeNamespace
|
381
|
-
false, // sanitizeURL
|
382
|
-
false);
|
383
|
-
}); // These are "enumerated" HTML attributes that accept "true" and "false".
|
384
369
|
// In React, we let users pass `true` and `false` even though technically
|
385
370
|
// these aren't boolean attributes (they are coerced to strings).
|
386
371
|
|
@@ -392,18 +377,6 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
|
|
392
377
|
false, // sanitizeURL
|
393
378
|
false);
|
394
379
|
}); // These are "enumerated" SVG attributes that accept "true" and "false".
|
395
|
-
// In React, we let users pass `true` and `false` even though technically
|
396
|
-
// these aren't boolean attributes (they are coerced to strings).
|
397
|
-
// Since these are SVG attributes, their attribute names are case-sensitive.
|
398
|
-
|
399
|
-
['autoReverse', 'externalResourcesRequired', 'focusable', 'preserveAlpha'].forEach(function (name) {
|
400
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
401
|
-
new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
|
402
|
-
name, // attributeName
|
403
|
-
null, // attributeNamespace
|
404
|
-
false, // sanitizeURL
|
405
|
-
false);
|
406
|
-
}); // These are HTML boolean attributes.
|
407
380
|
|
408
381
|
['allowFullScreen', 'async', // Note: there is a special case that prevents it from being written to the DOM
|
409
382
|
// on the client side because the browsers are inconsistent. Instead we call focus().
|
@@ -416,46 +389,6 @@ function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attribut
|
|
416
389
|
false, // sanitizeURL
|
417
390
|
false);
|
418
391
|
}); // These are the few React props that we set as DOM properties
|
419
|
-
// rather than attributes. These are all booleans.
|
420
|
-
|
421
|
-
['checked', // Note: `option.selected` is not updated if `select.multiple` is
|
422
|
-
// disabled with `removeAttribute`. We have special logic for handling this.
|
423
|
-
'multiple', 'muted', 'selected' // NOTE: if you add a camelCased prop to this list,
|
424
|
-
// you'll need to set attributeName to name.toLowerCase()
|
425
|
-
// instead in the assignment below.
|
426
|
-
].forEach(function (name) {
|
427
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
428
|
-
new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty
|
429
|
-
name, // attributeName
|
430
|
-
null, // attributeNamespace
|
431
|
-
false, // sanitizeURL
|
432
|
-
false);
|
433
|
-
}); // These are HTML attributes that are "overloaded booleans": they behave like
|
434
|
-
// booleans, but can also accept a string value.
|
435
|
-
|
436
|
-
['capture', 'download' // NOTE: if you add a camelCased prop to this list,
|
437
|
-
// you'll need to set attributeName to name.toLowerCase()
|
438
|
-
// instead in the assignment below.
|
439
|
-
].forEach(function (name) {
|
440
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
441
|
-
new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty
|
442
|
-
name, // attributeName
|
443
|
-
null, // attributeNamespace
|
444
|
-
false, // sanitizeURL
|
445
|
-
false);
|
446
|
-
}); // These are HTML attributes that must be positive numbers.
|
447
|
-
|
448
|
-
['cols', 'rows', 'size', 'span' // NOTE: if you add a camelCased prop to this list,
|
449
|
-
// you'll need to set attributeName to name.toLowerCase()
|
450
|
-
// instead in the assignment below.
|
451
|
-
].forEach(function (name) {
|
452
|
-
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
453
|
-
new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty
|
454
|
-
name, // attributeName
|
455
|
-
null, // attributeNamespace
|
456
|
-
false, // sanitizeURL
|
457
|
-
false);
|
458
|
-
}); // These are HTML attributes that must be numbers.
|
459
392
|
|
460
393
|
['rowSpan', 'start'].forEach(function (name) {
|
461
394
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
@@ -480,34 +413,21 @@ var capitalize = function (token) {
|
|
480
413
|
// you'll need to set attributeName to name.toLowerCase()
|
481
414
|
// instead in the assignment below.
|
482
415
|
].forEach(function (attributeName) {
|
483
|
-
|
484
|
-
|
485
|
-
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
486
|
-
attributeName, null, // attributeNamespace
|
487
|
-
false, // sanitizeURL
|
488
|
-
false);
|
416
|
+
attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
489
417
|
}); // String SVG attributes with the xlink namespace.
|
490
418
|
|
491
419
|
['xlink:actuate', 'xlink:arcrole', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type' // NOTE: if you add a camelCased prop to this list,
|
492
420
|
// you'll need to set attributeName to name.toLowerCase()
|
493
421
|
// instead in the assignment below.
|
494
422
|
].forEach(function (attributeName) {
|
495
|
-
|
496
|
-
|
497
|
-
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
498
|
-
attributeName, 'http://www.w3.org/1999/xlink', false, // sanitizeURL
|
499
|
-
false);
|
423
|
+
attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
500
424
|
}); // String SVG attributes with the xml namespace.
|
501
425
|
|
502
426
|
['xml:base', 'xml:lang', 'xml:space' // NOTE: if you add a camelCased prop to this list,
|
503
427
|
// you'll need to set attributeName to name.toLowerCase()
|
504
428
|
// instead in the assignment below.
|
505
429
|
].forEach(function (attributeName) {
|
506
|
-
|
507
|
-
|
508
|
-
new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
509
|
-
attributeName, 'http://www.w3.org/XML/1998/namespace', false, // sanitizeURL
|
510
|
-
false);
|
430
|
+
attributeName.replace(CAMELIZE, capitalize); // $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
511
431
|
}); // These attribute exists both in HTML and SVG.
|
512
432
|
// The attribute name is case-sensitive in SVG so we can't just use
|
513
433
|
// the React name like we do for attributes that exist only in HTML.
|
@@ -520,16 +440,6 @@ var capitalize = function (token) {
|
|
520
440
|
false, // sanitizeURL
|
521
441
|
false);
|
522
442
|
}); // These attributes accept URLs. These must not allow javascript: URLS.
|
523
|
-
|
524
|
-
new PropertyInfoRecord('xlinkHref', STRING, false, // mustUseProperty
|
525
|
-
'xlink:href', 'http://www.w3.org/1999/xlink', true, // sanitizeURL
|
526
|
-
false);
|
527
|
-
|
528
|
-
new PropertyInfoRecord('formAction', STRING, false, // mustUseProperty
|
529
|
-
'formaction', // attributeName
|
530
|
-
null, // attributeNamespace
|
531
|
-
true, // sanitizeURL
|
532
|
-
false);
|
533
443
|
['src', 'href', 'action'].forEach(function (attributeName) {
|
534
444
|
// $FlowFixMe[invalid-constructor] Flow no longer supports calling new on functions
|
535
445
|
new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
|
@@ -624,7 +534,7 @@ function isArray(a) {
|
|
624
534
|
// Run `yarn generate-inline-fizz-runtime` to generate.
|
625
535
|
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())};';
|
626
536
|
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()}};';
|
627
|
-
var completeBoundaryWithStyles = '$RM=new Map;\n$RR=function(t,
|
537
|
+
var completeBoundaryWithStyles = '$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};';
|
628
538
|
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)};';
|
629
539
|
|
630
540
|
stringToPrecomputedChunk('"></template>');
|
@@ -862,7 +772,7 @@ function switchContext(newSnapshot) {
|
|
862
772
|
|
863
773
|
if (prev !== next) {
|
864
774
|
if (prev === null) {
|
865
|
-
// $FlowFixMe: This has to be non-null since it's not equal to prev.
|
775
|
+
// $FlowFixMe[incompatible-call]: This has to be non-null since it's not equal to prev.
|
866
776
|
pushAllNext(next);
|
867
777
|
} else if (next === null) {
|
868
778
|
popAllPrevious(prev);
|
@@ -1537,7 +1447,7 @@ function describeObjectForErrorMessage(objectOrArray, expandedName) {
|
|
1537
1447
|
var ContextRegistry = ReactSharedInternals.ContextRegistry;
|
1538
1448
|
function getOrCreateServerContext(globalName) {
|
1539
1449
|
if (!ContextRegistry[globalName]) {
|
1540
|
-
ContextRegistry[globalName] = React.createServerContext(globalName, // $FlowFixMe function signature doesn't reflect the symbol value
|
1450
|
+
ContextRegistry[globalName] = React.createServerContext(globalName, // $FlowFixMe[incompatible-call] function signature doesn't reflect the symbol value
|
1541
1451
|
REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED);
|
1542
1452
|
}
|
1543
1453
|
|
@@ -1999,7 +1909,7 @@ var insideContextProps = null;
|
|
1999
1909
|
var isInsideContextValue = false;
|
2000
1910
|
function resolveModelToJSON(request, parent, key, value) {
|
2001
1911
|
{
|
2002
|
-
// $FlowFixMe
|
1912
|
+
// $FlowFixMe[incompatible-use]
|
2003
1913
|
var originalValue = parent[key];
|
2004
1914
|
|
2005
1915
|
if (typeof originalValue === 'object' && originalValue !== value) {
|
@@ -2156,7 +2066,7 @@ function resolveModelToJSON(request, parent, key, value) {
|
|
2156
2066
|
}
|
2157
2067
|
}
|
2158
2068
|
}
|
2159
|
-
} // $FlowFixMe
|
2069
|
+
} // $FlowFixMe[incompatible-return]
|
2160
2070
|
|
2161
2071
|
|
2162
2072
|
return value;
|
@@ -2196,13 +2106,13 @@ function resolveModelToJSON(request, parent, key, value) {
|
|
2196
2106
|
|
2197
2107
|
if (existingId !== undefined) {
|
2198
2108
|
return serializeByValueID(existingId);
|
2199
|
-
} // $FlowFixMe `description` might be undefined
|
2109
|
+
} // $FlowFixMe[incompatible-type] `description` might be undefined
|
2200
2110
|
|
2201
2111
|
|
2202
2112
|
var name = value.description;
|
2203
2113
|
|
2204
2114
|
if (Symbol.for(name) !== value) {
|
2205
|
-
throw new Error('Only global symbols received from Symbol.for(...) can be passed to Client Components. ' + ("The symbol Symbol.for(" + // $FlowFixMe `description` might be undefined
|
2115
|
+
throw new Error('Only global symbols received from Symbol.for(...) can be passed to Client Components. ' + ("The symbol Symbol.for(" + // $FlowFixMe[incompatible-type] `description` might be undefined
|
2206
2116
|
value.description + ") cannot be found among global symbols.") + describeObjectForErrorMessage(parent, key));
|
2207
2117
|
}
|
2208
2118
|
|
@@ -2692,7 +2602,7 @@ function getRoot(response) {
|
|
2692
2602
|
}
|
2693
2603
|
|
2694
2604
|
function createPendingChunk(response) {
|
2695
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
2605
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
2696
2606
|
return new Chunk(PENDING, null, null, response);
|
2697
2607
|
}
|
2698
2608
|
|
@@ -2741,7 +2651,7 @@ function triggerErrorOnChunk(chunk, error) {
|
|
2741
2651
|
}
|
2742
2652
|
|
2743
2653
|
function createResolvedModelChunk(response, value) {
|
2744
|
-
// $FlowFixMe Flow doesn't support functions as constructors
|
2654
|
+
// $FlowFixMe[invalid-constructor] Flow doesn't support functions as constructors
|
2745
2655
|
return new Chunk(RESOLVED_MODEL, value, null, response);
|
2746
2656
|
}
|
2747
2657
|
|
@@ -10,20 +10,18 @@
|
|
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
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
|
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}[
|
15
|
-
|
16
|
-
|
17
|
-
"
|
18
|
-
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)});
|
19
|
-
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)});
|
13
|
+
var x=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"),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
|
+
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}["contentEditable","draggable","spellCheck","value"].forEach(function(a){new B(a,2,!1,a.toLowerCase(),null,!1,!1)});
|
15
|
+
"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){new B(a,3,!1,a.toLowerCase(),null,!1,!1)});["rowSpan","start"].forEach(function(a){new B(a,5,!1,a.toLowerCase(),null,!1,!1)});var C=/[\-:]([a-z])/g;function D(a){return a[1].toUpperCase()}
|
16
|
+
"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){a.replace(C,D)});
|
17
|
+
"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){a.replace(C,D)});["xml:base","xml:lang","xml:space"].forEach(function(a){a.replace(C,D)});["tabIndex","crossOrigin"].forEach(function(a){new B(a,1,!1,a.toLowerCase(),null,!1,!1)});["src","href","action"].forEach(function(a){new B(a,1,!1,a.toLowerCase(),null,!0,!0)});
|
20
18
|
var sa={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,
|
21
19
|
zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ta=["Webkit","ms","Moz","O"];Object.keys(sa).forEach(function(a){ta.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);sa[b]=sa[a]})});var ua=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="');
|
22
20
|
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="');
|
23
21
|
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="');
|
24
22
|
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("');
|
25
|
-
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,
|
26
|
-
t('$RM=new Map;\n$RR=function(t,
|
23
|
+
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(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("');
|
24
|
+
t('$RM=new Map;\n$RR=function(r,t,w){for(var u=$RC,n=$RM,p=new Map,q=document,g,b,h=q.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&n.set(b.getAttribute("href"),b),p.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var f=w[b++];if(!f){k=!1;b=0;continue}var c=!1,m=0;var d=f[m++];if(a=n.get(d)){var e=a._p;c=!0}else{a=q.createElement("link");a.href=d;a.rel="stylesheet";for(a.dataset.precedence=\nl=f[m++];e=f[m++];)a.setAttribute(e,f[m++]);e=a._p=new Promise(function(x,y){a.onload=x;a.onerror=y});n.set(d,a)}d=a.getAttribute("media");!e||"l"===e.s||d&&!matchMedia(d).matches||h.push(e);if(c)continue}else{a=v[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=p.get(l)||g;c===g&&(g=a);p.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=q.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(u.bind(null,r,t,""),u.bind(null,r,t,"Resource failed to load"))};$RR("');
|
27
25
|
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="');
|
28
26
|
t('" data-href="');t('">');t("</style>");t('<style data-precedence="');t('" data-href="');t(" ");t('">');t("</style>");t("[");t(",[");t(",");t("]");var E=null;
|
29
27
|
function F(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.");F(a,c);b.context._currentValue=b.value}}}function va(a){a.context._currentValue=a.parentValue;a=a.parent;null!==a&&va(a)}
|
@@ -36,27 +34,27 @@ function L(){throw Error("This Hook is not supported in Server Components.");}fu
|
|
36
34
|
function Ja(a){if(null!==a&&"object"===typeof a||"function"===typeof a){if("function"===typeof a.then){var b=J;J+=1;null===K&&(K=[]);return Da(K,a,b)}if(a.$$typeof===ja)return a._currentValue}throw Error("An unsupported type was passed to use(): "+String(a));}function La(){return(new AbortController).signal}function Ma(){if(M)return M;var a=da.getStore();return a?a:new Map}
|
37
35
|
var Na={getCacheSignal:function(){var a=Ma(),b=a.get(La);void 0===b&&(b=La(),a.set(La,b));return b},getCacheForType:function(a){var b=Ma(),c=b.get(a);void 0===c&&(c=a(),b.set(a,c));return c}},M=null;function Oa(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(b,c){return c})}
|
38
36
|
function Pa(a){switch(typeof a){case "string":return JSON.stringify(10>=a.length?a:a.substr(0,10)+"...");case "object":if(ua(a))return"[...]";a=Oa(a);return"Object"===a?"{...}":a;case "function":return"function";default:return String(a)}}
|
39
|
-
function N(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 N(a.render);case oa:return N(a.type);case
|
37
|
+
function N(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 N(a.render);case oa:return N(a.type);case A:var b=a._payload;a=a._init;try{return N(a(b))}catch(c){}}return""}
|
40
38
|
function O(a,b){var c=Oa(a);if("Object"!==c&&"Array"!==c)return c;c=-1;var d=0;if(ua(a)){var e="[";for(var g=0;g<a.length;g++){0<g&&(e+=", ");var h=a[g];h="object"===typeof h&&null!==h?O(h):Pa(h);""+g===b?(c=e.length,d=h.length,e+=h):e=10>h.length&&40>e.length+h.length?e+h:e+"..."}e+="]"}else if(a.$$typeof===y)e="<"+N(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?O(l):
|
41
39
|
Pa(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}var Qa=ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ra=Qa.ContextRegistry,Sa=Qa.ReactCurrentDispatcher,Ta=Qa.ReactCurrentCache;function Ua(a){console.error(a)}
|
42
40
|
function Va(a,b,c,d,e){if(null!==Ta.current&&Ta.current!==Na)throw Error("Currently React only supports one RSC renderer at a time.");Ta.current=Na;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||
|
43
|
-
"",identifierCount:1,onError:void 0===c?Ua:c,toJSON:function(l,
|
41
|
+
"",identifierCount:1,onError:void 0===c?Ua:c,toJSON:function(l,w){return Wa(k,this,l,w)}};k.pendingChunks++;b=Xa(d);a=Ya(k,a,b,g);h.push(a);return k}var Za={};
|
44
42
|
function $a(a,b){a.pendingChunks++;var c=Ya(a,null,E,a.abortableTasks);switch(b.status){case "fulfilled":return c.model=b.value,ab(a,c),c.id;case "rejected":var d=P(a,b.reason);Q(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;ab(a,c)},function(e){c.status=4;e=P(a,e);Q(a,c.id,e);null!==a.destination&&
|
45
|
-
R(a,a.destination)});return c.id}function bb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function cb(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:
|
46
|
-
function T(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===
|
43
|
+
R(a,a.destination)});return c.id}function bb(a){if("fulfilled"===a.status)return a.value;if("rejected"===a.status)throw a.reason;throw a;}function cb(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:bb}}
|
44
|
+
function T(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[y,b,c,e];J=0;K=g;e=b(e);return"object"===typeof e&&null!==e&&"function"===typeof e.then?"fulfilled"===e.status?e.value:cb(e):e}if("string"===typeof b)return[y,b,c,e];if("symbol"===typeof b)return b===ha?e.children:[y,b,c,e];if(null!=b&&"object"===typeof b){if(b.$$typeof===x)return[y,b,c,e];switch(b.$$typeof){case A:var h=
|
47
45
|
b._init;b=h(b._payload);return T(a,b,c,d,e,g);case ka:return a=b.render,J=0,K=g,a(e,void 0);case oa:return T(a,b.type,c,d,e,g);case ia:return Aa(b._context,e.value),[y,b,c,{value:e.value,children:e.children,__pop:Za}]}}throw Error("Unsupported Server Component type: "+Pa(b));}function ab(a,b){var c=a.pingedTasks;c.push(b);1===c.length&&setImmediate(function(){return db(a)})}
|
48
46
|
function Ya(a,b,c,d){var e={id:a.nextChunkId++,status:0,model:b,context:c,ping:function(){return ab(a,e)},thenableState:null};d.add(e);return e}
|
49
|
-
function eb(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]===y&&"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
|
47
|
+
function eb(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]===y&&"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++,na=u(l);var z=w.toString(16)+":I"+na+"\n";a.completedImportChunks.push(z);g.set(e,w);return b[0]===y&&"1"===c?"$L"+w.toString(16):"$"+w.toString(16)}catch(S){return a.pendingChunks++,b=
|
50
48
|
a.nextChunkId++,c=P(a,S),Q(a,b,c),"$"+b.toString(16)}}
|
51
|
-
function Wa(a,b,c,d){switch(d){case y:return"$"}for(;"object"===typeof d&&null!==d&&(d.$$typeof===y||d.$$typeof===
|
52
|
-
d.toString(16)}if(null===d)return null;if("object"===typeof d){if(d.$$typeof===
|
53
|
-
d===pa?a.context._defaultValue:d;E=a.parent;return}return!ua(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)return d;if("undefined"===typeof d)return"$undefined";if("function"===typeof d){if(d.$$typeof===
|
49
|
+
function Wa(a,b,c,d){switch(d){case y:return"$"}for(;"object"===typeof d&&null!==d&&(d.$$typeof===y||d.$$typeof===A);)try{switch(d.$$typeof){case y:var e=d;d=T(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===Ba?Ea():h;if("object"===typeof c&&null!==c&&"function"===typeof c.then)return a.pendingChunks++,a=Ya(a,d,E,a.abortableTasks),d=a.ping,c.then(d,d),a.thenableState=Fa(),"$L"+a.id.toString(16);a.pendingChunks++;d=a.nextChunkId++;c=P(a,c);Q(a,d,c);return"$L"+
|
50
|
+
d.toString(16)}if(null===d)return null;if("object"===typeof d){if(d.$$typeof===x)return eb(a,b,c,d);if("function"===typeof d.then)return"$@"+$a(a,d).toString(16);if(d.$$typeof===ia)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===Za){a=E;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");d=a.parentValue;a.context._currentValue=
|
51
|
+
d===pa?a.context._defaultValue:d;E=a.parent;return}return!ua(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)return d;if("undefined"===typeof d)return"$undefined";if("function"===typeof d){if(d.$$typeof===x)return eb(a,b,c,d);if(d.$$typeof===fa)return c=a.writtenServerReferences,b=c.get(d),void 0!==b?a="$F"+b.toString(16):(b=d.$$bound,
|
54
52
|
e={id:d.$$id,bound:b?Promise.resolve(b):null},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."+O(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".'+O(b,c));}if("symbol"===
|
55
53
|
typeof d){e=a.writtenSymbols;g=e.get(d);if(void 0!==g)return"$"+g.toString(16);g=d.description;if(Symbol.for(g)!==d)throw Error("Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for("+(d.description+") cannot be found among global symbols.")+O(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."+
|
56
54
|
O(b,c));throw Error("Type "+typeof d+" is not supported in Client Component props."+O(b,c));}function P(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||""}
|
57
55
|
function fb(a,b){null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}function Q(a,b,c){c={digest:c};b=b.toString(16)+":E"+u(c)+"\n";a.completedErrorChunks.push(b)}
|
58
|
-
function db(a){var b=Sa.current,c=M;Sa.current=Ka;M=a.cache;I=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){za(g.context);try{var k=g.model;if("object"===typeof k&&null!==k&&k.$$typeof===y){var l=k,
|
59
|
-
g.status=1}catch(H){var
|
56
|
+
function db(a){var b=Sa.current,c=M;Sa.current=Ka;M=a.cache;I=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){za(g.context);try{var k=g.model;if("object"===typeof k&&null!==k&&k.$$typeof===y){var l=k,w=g.thenableState;g.model=k;k=T(h,l.type,l.key,l.ref,l.props,w);for(g.thenableState=null;"object"===typeof k&&null!==k&&k.$$typeof===y;)l=k,g.model=k,k=T(h,l.type,l.key,l.ref,l.props,null)}var na=ea(h,g.id,k);h.completedJSONChunks.push(na);h.abortableTasks.delete(g);
|
57
|
+
g.status=1}catch(H){var z=H===Ba?Ea():H;if("object"===typeof z&&null!==z&&"function"===typeof z.then){var S=g.ping;z.then(S,S);g.thenableState=Fa()}else{h.abortableTasks.delete(g);g.status=4;var qb=P(h,z);Q(h,g.id,qb)}}}}null!==a.destination&&R(a,a.destination)}catch(H){P(a,H),fb(a,H)}finally{Sa.current=b,M=c,I=null}}
|
60
58
|
function R(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
59
|
typeof b.flush&&b.flush();0===a.pendingChunks&&b.end()}function gb(a){setImmediate(function(){return da.run(a.cache,db,a)})}function hb(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{R(a,b)}catch(c){P(a,c),fb(a,c)}}}
|
62
60
|
function ib(a,b){try{var c=a.abortableTasks;if(0<c.size){var d=P(a,void 0===b?Error("The render was aborted by the server without a reason."):b);a.pendingChunks++;var e=a.nextChunkId++;Q(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&&R(a,a.destination)}catch(g){P(a,g),fb(a,g)}}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-server-dom-webpack",
|
3
3
|
"description": "React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.",
|
4
|
-
"version": "18.3.0-next-
|
4
|
+
"version": "18.3.0-next-41b4714f1-20230328",
|
5
5
|
"keywords": [
|
6
6
|
"react"
|
7
7
|
],
|
@@ -78,8 +78,8 @@
|
|
78
78
|
"node": ">=0.10.0"
|
79
79
|
},
|
80
80
|
"peerDependencies": {
|
81
|
-
"react": "18.3.0-next-
|
82
|
-
"react-dom": "18.3.0-next-
|
81
|
+
"react": "18.3.0-next-41b4714f1-20230328",
|
82
|
+
"react-dom": "18.3.0-next-41b4714f1-20230328",
|
83
83
|
"webpack": "^5.59.0"
|
84
84
|
},
|
85
85
|
"dependencies": {
|