UNPKG

19.8 kBJavaScriptView Raw
1/** @license React v16.9.0-rc.0
2 * react-dom-server.browser.production.min.js
3 *
4 * Copyright (c) Facebook, Inc. and its affiliates.
5 *
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the root directory of this source tree.
8 */
9'use strict';(function(t,q){"object"===typeof exports&&"undefined"!==typeof module?module.exports=q(require("react")):"function"===typeof define&&define.amd?define(["react"],q):t.ReactDOMServer=q(t.React)})(this,function(t){function q(a){for(var b=a.message,d="https://reactjs.org/docs/error-decoder.html?invariant="+b,c=1;c<arguments.length;c++)d+="&args[]="+encodeURIComponent(arguments[c]);a.message="Minified React error #"+b+"; visit "+d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ";
10return a}function G(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case K:return"Fragment";case U:return"Portal";case V:return"Profiler";case W:return"StrictMode";case L:return"Suspense";case X:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Y:return"Context.Consumer";case M:return"Context.Provider";case Z:var b=a.render;b=b.displayName||b.name||"";return a.displayName||(""!==b?"ForwardRef("+b+")":
11"ForwardRef");case aa:return G(a.type);case ba:if(a=1===a._status?a._result:null)return G(a)}return null}function C(a,b){for(var d=a._threadCount|0;d<=b;d++)a[d]=a._currentValue2,a._threadCount=d+1}function sa(a,b,d,c){if(c&&(c=a.contextType,"object"===typeof c&&null!==c))return C(c,d),c[d];if(a=a.contextTypes){d={};for(var f in a)d[f]=b[f];b=d}else b=ca;return b}function da(a){if(ea.call(fa,a))return!0;if(ea.call(ha,a))return!1;if(ta.test(a))return fa[a]=!0;ha[a]=!0;return!1}function ua(a,b,d,c){if(null!==
12d&&0===d.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(c)return!1;if(null!==d)return!d.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}function va(a,b,d,c){if(null===b||"undefined"===typeof b||ua(a,b,d,c))return!0;if(c)return!1;if(null!==d)switch(d.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function r(a,b,d,c,f,e){this.acceptsBooleans=2===b||3===b||4===
13b;this.attributeName=c;this.attributeNamespace=f;this.mustUseProperty=d;this.propertyName=a;this.type=b;this.sanitizeURL=e}function A(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=wa.exec(a);if(b){var d="",c,f=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b="&quot;";break;case 38:b="&amp;";break;case 39:b="&#x27;";break;case 60:b="&lt;";break;case 62:b="&gt;";break;default:continue}f!==c&&(d+=a.substring(f,c));f=c+1;d+=b}a=f!==c?d+a.substring(f,c):d}return a}
14function xa(a,b){var d=p.hasOwnProperty(a)?p[a]:null;var c;if(c="style"!==a)c=null!==d?0===d.type:!(2<a.length)||"o"!==a[0]&&"O"!==a[0]||"n"!==a[1]&&"N"!==a[1]?!1:!0;if(c||va(a,b,d,!1))return"";if(null!==d){a=d.attributeName;c=d.type;if(3===c||4===c&&!0===b)return a+'=""';d.sanitizeURL&&(b=""+b);return a+"="+('"'+A(b)+'"')}return da(a)?a+"="+('"'+A(b)+'"'):""}function H(){if(null===u)throw q(Error(321));return u}function ia(){if(0<I)throw q(Error(312));return{memoizedState:null,queue:null,next:null}}
15function N(){null===m?null===J?(D=!1,J=m=ia()):(D=!0,m=J):null===m.next?(D=!1,m=m.next=ia()):(D=!0,m=m.next);return m}function ja(a,b,d,c){for(;O;)O=!1,I+=1,m=null,d=a(b,c);J=u=null;I=0;m=x=null;return d}function ka(a,b){return"function"===typeof b?b(a):b}function la(a,b,d){u=H();m=N();if(D){var c=m.queue;b=c.dispatch;if(null!==x&&(d=x.get(c),void 0!==d)){x.delete(c);c=m.memoizedState;do c=a(c,d.action),d=d.next;while(null!==d);m.memoizedState=c;return[c,b]}return[m.memoizedState,b]}a=a===ka?"function"===
16typeof b?b():b:void 0!==d?d(b):b;m.memoizedState=a;a=m.queue={last:null,dispatch:null};a=a.dispatch=ya.bind(null,u,a);return[m.memoizedState,a]}function ya(a,b,d){if(!(25>I))throw q(Error(301));if(a===u)if(O=!0,a={action:d,next:null},null===x&&(x=new Map),d=x.get(b),void 0===d)x.set(b,a);else{for(b=d;null!==b.next;)b=b.next;b.next=a}}function P(){}function ma(a){switch(a){case "svg":return"http://www.w3.org/2000/svg";case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}
17function za(a){if(void 0===a||null===a)return a;var b="";t.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}function na(a,b){if(void 0===a)throw q(Error(152),G(b)||"Component");}function Aa(a,b,d){function c(c,f){var e=f.prototype&&f.prototype.isReactComponent,g=sa(f,b,d,e),h=[],m=!1,k={isMounted:function(a){return!1},enqueueForceUpdate:function(a){if(null===h)return null},enqueueReplaceState:function(a,b){m=!0;h=[b]},enqueueSetState:function(a,b){if(null===h)return null;h.push(b)}},n=void 0;
18if(e)n=new f(c.props,g,k),"function"===typeof f.getDerivedStateFromProps&&(e=f.getDerivedStateFromProps.call(null,c.props,n.state),null!=e&&(n.state=y({},n.state,e)));else if(u={},n=f(c.props,g,k),n=ja(f,c.props,n,g),null==n||null==n.render){a=n;na(a,f);return}n.props=c.props;n.context=g;n.updater=k;k=n.state;void 0===k&&(n.state=k=null);if("function"===typeof n.UNSAFE_componentWillMount||"function"===typeof n.componentWillMount)if("function"===typeof n.componentWillMount&&"function"!==typeof f.getDerivedStateFromProps&&
19n.componentWillMount(),"function"===typeof n.UNSAFE_componentWillMount&&"function"!==typeof f.getDerivedStateFromProps&&n.UNSAFE_componentWillMount(),h.length){k=h;var v=m;h=null;m=!1;if(v&&1===k.length)n.state=k[0];else{e=v?k[0]:n.state;var p=!0;for(v=v?1:0;v<k.length;v++){var l=k[v];l="function"===typeof l?l.call(n,e,c.props,g):l;null!=l&&(p?(p=!1,e=y({},e,l)):y(e,l))}n.state=e}}else h=null;a=n.render();na(a,f);c=void 0;if("function"===typeof n.getChildContext&&(g=f.childContextTypes,"object"===
20typeof g)){c=n.getChildContext();for(var r in c)if(!(r in g))throw q(Error(108),G(f)||"Unknown",r);}c&&(b=y({},b,c))}for(;t.isValidElement(a);){var f=a,e=f.type;if("function"!==typeof e)break;c(f,e)}return{child:a,context:b}}var y=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,k="function"===typeof Symbol&&Symbol.for,U=k?Symbol.for("react.portal"):60106,K=k?Symbol.for("react.fragment"):60107,W=k?Symbol.for("react.strict_mode"):60108,V=k?Symbol.for("react.profiler"):60114,M=k?Symbol.for("react.provider"):
2160109,Y=k?Symbol.for("react.context"):60110,Ba=k?Symbol.for("react.concurrent_mode"):60111,Z=k?Symbol.for("react.forward_ref"):60112,L=k?Symbol.for("react.suspense"):60113,X=k?Symbol.for("react.suspense_list"):60120,aa=k?Symbol.for("react.memo"):60115,ba=k?Symbol.for("react.lazy"):60116,Ca=k?Symbol.for("react.fundamental"):60117;k=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;k.hasOwnProperty("ReactCurrentDispatcher")||(k.ReactCurrentDispatcher={current:null});k.hasOwnProperty("ReactCurrentBatchConfig")||
22(k.ReactCurrentBatchConfig={suspense:null});for(var ca={},l=new Uint16Array(16),B=0;15>B;B++)l[B]=B+1;l[15]=0;var ta=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ea=Object.prototype.hasOwnProperty,
23ha={},fa={},p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){p[a]=new r(a,0,!1,a,null,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];p[b]=new r(b,1,!1,a[1],null,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){p[a]=new r(a,2,!1,a.toLowerCase(),null,!1)});
24["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){p[a]=new r(a,2,!1,a,null,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){p[a]=new r(a,3,!1,a.toLowerCase(),null,!1)});["checked","multiple","muted","selected"].forEach(function(a){p[a]=new r(a,3,!0,a,null,
25!1)});["capture","download"].forEach(function(a){p[a]=new r(a,4,!1,a,null,!1)});["cols","rows","size","span"].forEach(function(a){p[a]=new r(a,6,!1,a,null,!1)});["rowSpan","start"].forEach(function(a){p[a]=new r(a,5,!1,a.toLowerCase(),null,!1)});var Q=/[\-:]([a-z])/g,R=function(a){return a[1].toUpperCase()};"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 underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=
26a.replace(Q,R);p[b]=new r(b,1,!1,a,null,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(Q,R);p[b]=new r(b,1,!1,a,"http://www.w3.org/1999/xlink",!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(Q,R);p[b]=new r(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1)});["tabIndex","crossOrigin"].forEach(function(a){p[a]=new r(a,1,!1,a.toLowerCase(),null,!1)});p.xlinkHref=new r("xlinkHref",1,!1,"xlink:href",
27"http://www.w3.org/1999/xlink",!0);["src","href","action","formAction"].forEach(function(a){p[a]=new r(a,1,!1,a.toLowerCase(),null,!0)});var wa=/["'&<>]/,u=null,J=null,m=null,D=!1,O=!1,x=null,I=0,E=0,Da={readContext:function(a,b){b=E;C(a,b);return a[b]},useContext:function(a,b){H();b=E;C(a,b);return a[b]},useMemo:function(a,b){u=H();m=N();b=void 0===b?null:b;if(null!==m){var d=m.memoizedState;if(null!==d&&null!==b){a:{var c=d[1];if(null===c)c=!1;else{for(var f=0;f<c.length&&f<b.length;f++){var e=
28b[f],h=c[f];if((e!==h||0===e&&1/e!==1/h)&&(e===e||h===h)){c=!1;break a}}c=!0}}if(c)return d[0]}}a=a();m.memoizedState=[a,b];return a},useReducer:la,useRef:function(a){u=H();m=N();var b=m.memoizedState;return null===b?(a={current:a},m.memoizedState=a):b},useState:function(a){return la(ka,a)},useLayoutEffect:function(a,b){},useCallback:function(a,b){return a},useImperativeHandle:P,useEffect:P,useDebugValue:P,useResponder:function(a,b){return{props:b,responder:a}}},pa={area:!0,base:!0,br:!0,col:!0,embed:!0,
29hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Ea=y({menuitem:!0},pa),F={animationIterationCount:!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,
30lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Fa=["Webkit","ms","Moz","O"];Object.keys(F).forEach(function(a){Fa.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);F[b]=F[a]})});var Ga=/([A-Z])/g,Ha=/^ms-/,z=t.Children.toArray,S=k.ReactCurrentDispatcher,Ia={listing:!0,pre:!0,textarea:!0},Ja=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,
31qa={},T={},Ka=Object.prototype.hasOwnProperty,La={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null},ra=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");t.isValidElement(b)?b.type!==K?b=[b]:(b=b.props.children,b=t.isValidElement(b)?[b]:z(b)):b=z(b);b={type:null,domNamespace:"http://www.w3.org/1999/xhtml",children:b,childIndex:0,context:ca,footer:""};var c=l[0];if(0===c){var f=l;c=
32f.length;var e=2*c;if(!(65536>=e))throw q(Error(304));var h=new Uint16Array(e);h.set(f);l=h;l[0]=c+1;for(f=c;f<e-1;f++)l[f]=f+1;l[e-1]=0}else l[0]=l[c];this.threadID=c;this.stack=[b];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=d;this.suspenseDepth=0;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}a.prototype.destroy=function(){if(!this.exhausted){this.exhausted=!0;this.clearProviders();var a=this.threadID;l[a]=l[0];l[0]=a}};
33a.prototype.pushProvider=function(a){var b=++this.contextIndex,c=a.type._context,f=this.threadID;C(c,f);var e=c[f];this.contextStack[b]=c;this.contextValueStack[b]=e;c[f]=a.props.value};a.prototype.popProvider=function(a){a=this.contextIndex;var b=this.contextStack[a],c=this.contextValueStack[a];this.contextStack[a]=null;this.contextValueStack[a]=null;this.contextIndex--;b[this.threadID]=c};a.prototype.clearProviders=function(){for(var a=this.contextIndex;0<=a;a--)this.contextStack[a][this.threadID]=
34this.contextValueStack[a]};a.prototype.read=function(a){if(this.exhausted)return null;var b=E;E=this.threadID;var c=S.current;S.current=Da;try{for(var f=[""],e=!1;f[0].length<a;){if(0===this.stack.length){this.exhausted=!0;var h=this.threadID;l[h]=l[0];l[0]=h;break}var g=this.stack[this.stack.length-1];if(e||g.childIndex>=g.children.length){var k=g.footer;""!==k&&(this.previousWasTextNode=!1);this.stack.pop();if("select"===g.type)this.currentSelectValue=null;else if(null!=g.type&&null!=g.type.type&&
35g.type.type.$$typeof===M)this.popProvider(g.type);else if(g.type===L){this.suspenseDepth--;var m=f.pop();if(e){e=!1;var oa=g.fallbackFrame;if(!oa)throw q(Error(303));this.stack.push(oa);f[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}else f[this.suspenseDepth]+=m}f[this.suspenseDepth]+=k}else{var p=g.children[g.childIndex++],r="";try{r+=this.render(p,g.context,g.domNamespace)}catch(n){throw n;}finally{}f.length<=this.suspenseDepth&&f.push("");f[this.suspenseDepth]+=r}}return f[0]}finally{S.current=
36c,E=b}};a.prototype.render=function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return A(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+A(c);this.previousWasTextNode=!0;return A(c)}d=Aa(a,d,this.threadID);a=d.child;d=d.context;if(null===a||!1===a)return"";if(!t.isValidElement(a)){if(null!=a&&null!=a.$$typeof){c=a.$$typeof;if(c===U)throw q(Error(257));throw q(Error(258),c.toString());}a=z(a);this.stack.push({type:null,domNamespace:c,
37children:a,childIndex:0,context:d,footer:""});return""}var b=a.type;if("string"===typeof b)return this.renderDOM(a,d,c);switch(b){case W:case Ba:case V:case X:case K:return a=z(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case L:throw q(Error(294));}if("object"===typeof b&&null!==b)switch(b.$$typeof){case Z:u={};var e=b.render(a.props,a.ref);e=ja(b.render,a.props,e,a.ref);e=z(e);this.stack.push({type:null,domNamespace:c,children:e,childIndex:0,
38context:d,footer:""});return"";case aa:return a=[t.createElement(b.type,y({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case M:return b=z(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c),"";case Y:b=a.type;e=a.props;var h=this.threadID;C(b,h);b=z(e.children(b[h]));this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""});return"";
39case Ca:throw q(Error(338));case ba:throw q(Error(295));}throw q(Error(130),null==b?b:typeof b,"");};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();"http://www.w3.org/1999/xhtml"===c&&ma(b);if(!qa.hasOwnProperty(b)){if(!Ja.test(b))throw q(Error(65),b);qa[b]=!0}var e=a.props;if("input"===b)e=y({type:void 0},e,{defaultChecked:void 0,defaultValue:void 0,value:null!=e.value?e.value:e.defaultValue,checked:null!=e.checked?e.checked:e.defaultChecked});else if("textarea"===b){var h=e.value;
40if(null==h){h=e.defaultValue;var g=e.children;if(null!=g){if(null!=h)throw q(Error(92));if(Array.isArray(g)){if(!(1>=g.length))throw q(Error(93));g=g[0]}h=""+g}null==h&&(h="")}e=y({},e,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=e.value?e.value:e.defaultValue,e=y({},e,{value:void 0});else if("option"===b){g=this.currentSelectValue;var k=za(e.children);if(null!=g){var m=null!=e.value?e.value+"":k;h=!1;if(Array.isArray(g))for(var l=0;l<g.length;l++){if(""+g[l]===
41m){h=!0;break}}else h=""+g===m;e=y({selected:void 0,children:void 0},e,{selected:h,children:k})}}if(h=e){if(Ea[b]&&(null!=h.children||null!=h.dangerouslySetInnerHTML))throw q(Error(137),b,"");if(null!=h.dangerouslySetInnerHTML){if(null!=h.children)throw q(Error(60));if(!("object"===typeof h.dangerouslySetInnerHTML&&"__html"in h.dangerouslySetInnerHTML))throw q(Error(61));}if(null!=h.style&&"object"!==typeof h.style)throw q(Error(62),"");}h=e;g=this.makeStaticMarkup;k=1===this.stack.length;m="<"+a.type;
42for(w in h)if(Ka.call(h,w)){var p=h[w];if(null!=p){if("style"===w){l=void 0;var r="",n="";for(l in p)if(p.hasOwnProperty(l)){var v=0===l.indexOf("--"),t=p[l];if(null!=t){if(v)var u=l;else if(u=l,T.hasOwnProperty(u))u=T[u];else{var x=u.replace(Ga,"-$1").toLowerCase().replace(Ha,"-ms-");u=T[u]=x}r+=n+u+":";n=l;v=null==t||"boolean"===typeof t||""===t?"":v||"number"!==typeof t||0===t||F.hasOwnProperty(n)&&F[n]?(""+t).trim():t+"px";r+=v;n=";"}}p=r||null}l=null;b:if(v=b,t=h,-1===v.indexOf("-"))v="string"===
43typeof t.is;else switch(v){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":v=!1;break b;default:v=!0}v?La.hasOwnProperty(w)||(l=w,l=da(l)&&null!=p?l+"="+('"'+A(p)+'"'):""):l=xa(w,p);l&&(m+=" "+l)}}g||k&&(m+=' data-reactroot=""');var w=m;h="";pa.hasOwnProperty(b)?w+="/>":(w+=">",h="</"+a.type+">");a:{g=e.dangerouslySetInnerHTML;if(null!=g){if(null!=g.__html){g=g.__html;break a}}else if(g=
44e.children,"string"===typeof g||"number"===typeof g){g=A(g);break a}g=null}null!=g?(e=[],Ia[b]&&"\n"===g.charAt(0)&&(w+="\n"),w+=g):e=z(e.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?ma(a):"http://www.w3.org/2000/svg"===c&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":c;this.stack.push({domNamespace:c,type:b,children:e,childIndex:0,context:d,footer:h});this.previousWasTextNode=!1;return w};return a}();k={renderToString:function(a){a=new ra(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},
45renderToStaticMarkup:function(a){a=new ra(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(){throw q(Error(207));},renderToStaticNodeStream:function(){throw q(Error(208));},version:"16.9.0-rc.0"};k=(B={default:k},k)||B;return k.default||k});