@rc-component/tree-select
Version:
tree-select ui component for react
4 lines (3 loc) • 20 kB
JavaScript
;(self.webpackChunk_rc_component_tree_select=self.webpackChunk_rc_component_tree_select||[]).push([[223],{45387:function(A,_e,T){var _=T(84126),F=T(96162);function f(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)r+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var w=typeof Symbol=="function"&&Symbol.for,te=w?Symbol.for("react.portal"):60106,q=w?Symbol.for("react.fragment"):60107,re=w?Symbol.for("react.strict_mode"):60108,ne=w?Symbol.for("react.profiler"):60114,H=w?Symbol.for("react.provider"):60109,oe=w?Symbol.for("react.context"):60110,De=w?Symbol.for("react.concurrent_mode"):60111,ie=w?Symbol.for("react.forward_ref"):60112,B=w?Symbol.for("react.suspense"):60113,le=w?Symbol.for("react.suspense_list"):60120,ue=w?Symbol.for("react.memo"):60115,se=w?Symbol.for("react.lazy"):60116,Fe=w?Symbol.for("react.block"):60121,Ie=w?Symbol.for("react.fundamental"):60117,be=w?Symbol.for("react.scope"):60119;function Ne(e){if(e._status===-1){e._status=0;var r=e._ctor;r=r(),e._result=r,r.then(function(t){e._status===0&&(t=t.default,e._status=1,e._result=t)},function(t){e._status===0&&(e._status=2,e._result=t)})}}function M(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case q:return"Fragment";case te:return"Portal";case ne:return"Profiler";case re:return"StrictMode";case B:return"Suspense";case le:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case oe:return"Context.Consumer";case H:return"Context.Provider";case ie:var r=e.render;return r=r.displayName||r.name||"",e.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case ue:return M(e.type);case Fe:return M(e.render);case se:if(e=e._status===1?e._result:null)return M(e)}return null}var P=F.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;P.hasOwnProperty("ReactCurrentDispatcher")||(P.ReactCurrentDispatcher={current:null}),P.hasOwnProperty("ReactCurrentBatchConfig")||(P.ReactCurrentBatchConfig={suspense:null});var ae={};function z(e,r){for(var t=e._threadCount|0;t<=r;t++)e[t]=e._currentValue2,e._threadCount=t+1}function Oe(e,r,t,n){if(n&&(n=e.contextType,typeof n=="object"&&n!==null))return z(n,t),n[t];if(e=e.contextTypes){t={};for(var l in e)t[l]=r[l];r=t}else r=ae;return r}for(var v=new Uint16Array(16),W=0;15>W;W++)v[W]=W+1;v[15]=0;var Me=/^[: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]*$/,ce=Object.prototype.hasOwnProperty,fe={},pe={};function he(e){return ce.call(pe,e)?!0:ce.call(fe,e)?!1:Me.test(e)?pe[e]=!0:(fe[e]=!0,!1)}function Pe(e,r,t,n){if(t!==null&&t.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return n?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ze(e,r,t,n){if(r===null||typeof r=="undefined"||Pe(e,r,t,n))return!0;if(n)return!1;if(t!==null)switch(t.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function x(e,r,t,n,l,i){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=n,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=r,this.sanitizeURL=i}var d={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){d[e]=new x(e,0,!1,e,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var r=e[0];d[r]=new x(r,1,!1,e[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){d[e]=new x(e,2,!1,e.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){d[e]=new x(e,2,!1,e,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(e){d[e]=new x(e,3,!1,e.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(e){d[e]=new x(e,3,!0,e,null,!1)}),["capture","download"].forEach(function(e){d[e]=new x(e,4,!1,e,null,!1)}),["cols","rows","size","span"].forEach(function(e){d[e]=new x(e,6,!1,e,null,!1)}),["rowSpan","start"].forEach(function(e){d[e]=new x(e,5,!1,e.toLowerCase(),null,!1)});var Z=/[\-:]([a-z])/g;function X(e){return e[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(e){var r=e.replace(Z,X);d[r]=new x(r,1,!1,e,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var r=e.replace(Z,X);d[r]=new x(r,1,!1,e,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var r=e.replace(Z,X);d[r]=new x(r,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(e){d[e]=new x(e,1,!1,e.toLowerCase(),null,!1)}),d.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(e){d[e]=new x(e,1,!1,e.toLowerCase(),null,!0)});var Re=/["'&<>]/;function N(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var r=Re.exec(e);if(r){var t="",n,l=0;for(n=r.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:r=""";break;case 38:r="&";break;case 39:r="'";break;case 60:r="<";break;case 62:r=">";break;default:continue}l!==n&&(t+=e.substring(l,n)),l=n+1,t+=r}e=l!==n?t+e.substring(l,n):t}return e}function Le(e,r){var t=d.hasOwnProperty(e)?d[e]:null,n;return(n=e!=="style")&&(n=t!==null?t.type===0:!(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")),n||ze(e,r,t,!1)?"":t!==null?(e=t.attributeName,n=t.type,n===3||n===4&&r===!0?e+'=""':(t.sanitizeURL&&(r=""+r),e+'="'+(N(r)+'"'))):he(e)?e+'="'+(N(r)+'"'):""}function Ve(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Te=typeof Object.is=="function"?Object.is:Ve,D=null,U=null,a=null,R=!1,Y=!1,I=null,j=0;function O(){if(D===null)throw Error(f(321));return D}function de(){if(0<j)throw Error(f(312));return{memoizedState:null,queue:null,next:null}}function J(){return a===null?U===null?(R=!1,U=a=de()):(R=!0,a=U):a.next===null?(R=!1,a=a.next=de()):(R=!0,a=a.next),a}function me(e,r,t,n){for(;Y;)Y=!1,j+=1,a=null,t=e(r,n);return U=D=null,j=0,a=I=null,t}function ye(e,r){return typeof r=="function"?r(e):r}function ve(e,r,t){if(D=O(),a=J(),R){var n=a.queue;if(r=n.dispatch,I!==null&&(t=I.get(n),t!==void 0)){I.delete(n),n=a.memoizedState;do n=e(n,t.action),t=t.next;while(t!==null);return a.memoizedState=n,[n,r]}return[a.memoizedState,r]}return e=e===ye?typeof r=="function"?r():r:t!==void 0?t(r):r,a.memoizedState=e,e=a.queue={last:null,dispatch:null},e=e.dispatch=We.bind(null,D,e),[a.memoizedState,e]}function We(e,r,t){if(!(25>j))throw Error(f(301));if(e===D)if(Y=!0,e={action:t,next:null},I===null&&(I=new Map),t=I.get(r),t===void 0)I.set(r,e);else{for(r=t;r.next!==null;)r=r.next;r.next=e}}function K(){}var L=0,Ue={readContext:function(e){var r=L;return z(e,r),e[r]},useContext:function(e){O();var r=L;return z(e,r),e[r]},useMemo:function(e,r){if(D=O(),a=J(),r=r===void 0?null:r,a!==null){var t=a.memoizedState;if(t!==null&&r!==null){e:{var n=t[1];if(n===null)n=!1;else{for(var l=0;l<n.length&&l<r.length;l++)if(!Te(r[l],n[l])){n=!1;break e}n=!0}}if(n)return t[0]}}return e=e(),a.memoizedState=[e,r],e},useReducer:ve,useRef:function(e){D=O(),a=J();var r=a.memoizedState;return r===null?(e={current:e},a.memoizedState=e):r},useState:function(e){return ve(ye,e)},useLayoutEffect:function(){},useCallback:function(e){return e},useImperativeHandle:K,useEffect:K,useDebugValue:K,useResponder:function(e,r){return{props:r,responder:e}},useDeferredValue:function(e){return O(),e},useTransition:function(){return O(),[function(e){e()},!1]}},we={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function xe(e){switch(e){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"}}var ge={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},je=_({menuitem:!0},ge),V={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,lineHeight:!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},$e=["Webkit","ms","Moz","O"];Object.keys(V).forEach(function(e){$e.forEach(function(r){r=r+e.charAt(0).toUpperCase()+e.substring(1),V[r]=V[e]})});var Ae=/([A-Z])/g,qe=/^ms-/,b=F.Children.toArray,Q=P.ReactCurrentDispatcher,He={listing:!0,pre:!0,textarea:!0},Be=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ke={},G={};function Ze(e){if(e==null)return e;var r="";return F.Children.forEach(e,function(t){t!=null&&(r+=t)}),r}var Xe=Object.prototype.hasOwnProperty,Ye={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Se(e,r){if(e===void 0)throw Error(f(152,M(r)||"Component"))}function Je(e,r,t){function n(u,s){var o=s.prototype&&s.prototype.isReactComponent,E=Oe(s,r,t,o),m=[],c=!1,p={isMounted:function(){return!1},enqueueForceUpdate:function(){if(m===null)return null},enqueueReplaceState:function(S,ee){c=!0,m=[ee]},enqueueSetState:function(S,ee){if(m===null)return null;m.push(ee)}};if(o){if(o=new s(u.props,E,p),typeof s.getDerivedStateFromProps=="function"){var g=s.getDerivedStateFromProps.call(null,u.props,o.state);g!=null&&(o.state=_({},o.state,g))}}else if(D={},o=s(u.props,E,p),o=me(s,u.props,o,E),o==null||o.render==null){e=o,Se(e,s);return}if(o.props=u.props,o.context=E,o.updater=p,p=o.state,p===void 0&&(o.state=p=null),typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")if(typeof o.componentWillMount=="function"&&typeof s.getDerivedStateFromProps!="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&typeof s.getDerivedStateFromProps!="function"&&o.UNSAFE_componentWillMount(),m.length){p=m;var y=c;if(m=null,c=!1,y&&p.length===1)o.state=p[0];else{g=y?p[0]:o.state;var k=!0;for(y=y?1:0;y<p.length;y++){var h=p[y];h=typeof h=="function"?h.call(o,g,u.props,E):h,h!=null&&(k?(k=!1,g=_({},g,h)):_(g,h))}o.state=g}}else m=null;if(e=o.render(),Se(e,s),typeof o.getChildContext=="function"&&(u=s.childContextTypes,typeof u=="object")){var C=o.getChildContext();for(var $ in C)if(!($ in u))throw Error(f(108,M(s)||"Unknown",$))}C&&(r=_({},r,C))}for(;F.isValidElement(e);){var l=e,i=l.type;if(typeof i!="function")break;n(l,i)}return{child:e,context:r}}var Ee=function(){function e(t,n){F.isValidElement(t)?t.type!==q?t=[t]:(t=t.props.children,t=F.isValidElement(t)?[t]:b(t)):t=b(t),t={type:null,domNamespace:we.html,children:t,childIndex:0,context:ae,footer:""};var l=v[0];if(l===0){var i=v;l=i.length;var u=2*l;if(!(65536>=u))throw Error(f(304));var s=new Uint16Array(u);for(s.set(i),v=s,v[0]=l+1,i=l;i<u-1;i++)v[i]=i+1;v[u-1]=0}else v[0]=v[l];this.threadID=l,this.stack=[t],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=n,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}var r=e.prototype;return r.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var t=this.threadID;v[t]=v[0],v[0]=t}},r.pushProvider=function(t){var n=++this.contextIndex,l=t.type._context,i=this.threadID;z(l,i);var u=l[i];this.contextStack[n]=l,this.contextValueStack[n]=u,l[i]=t.props.value},r.popProvider=function(){var t=this.contextIndex,n=this.contextStack[t],l=this.contextValueStack[t];this.contextStack[t]=null,this.contextValueStack[t]=null,this.contextIndex--,n[this.threadID]=l},r.clearProviders=function(){for(var t=this.contextIndex;0<=t;t--)this.contextStack[t][this.threadID]=this.contextValueStack[t]},r.read=function(t){if(this.exhausted)return null;var n=L;L=this.threadID;var l=Q.current;Q.current=Ue;try{for(var i=[""],u=!1;i[0].length<t;){if(this.stack.length===0){this.exhausted=!0;var s=this.threadID;v[s]=v[0],v[0]=s;break}var o=this.stack[this.stack.length-1];if(u||o.childIndex>=o.children.length){var E=o.footer;if(E!==""&&(this.previousWasTextNode=!1),this.stack.pop(),o.type==="select")this.currentSelectValue=null;else if(o.type!=null&&o.type.type!=null&&o.type.type.$$typeof===H)this.popProvider(o.type);else if(o.type===B){this.suspenseDepth--;var m=i.pop();if(u){u=!1;var c=o.fallbackFrame;if(!c)throw Error(f(303));this.stack.push(c),i[this.suspenseDepth]+="<!--$!-->";continue}else i[this.suspenseDepth]+=m}i[this.suspenseDepth]+=E}else{var p=o.children[o.childIndex++],g="";try{g+=this.render(p,o.context,o.domNamespace)}catch(y){throw y!=null&&typeof y.then=="function"?Error(f(294)):y}finally{}i.length<=this.suspenseDepth&&i.push(""),i[this.suspenseDepth]+=g}}return i[0]}finally{Q.current=l,L=n}},r.render=function(t,n,l){if(typeof t=="string"||typeof t=="number")return l=""+t,l===""?"":this.makeStaticMarkup?N(l):this.previousWasTextNode?"<!-- -->"+N(l):(this.previousWasTextNode=!0,N(l));if(n=Je(t,n,this.threadID),t=n.child,n=n.context,t===null||t===!1)return"";if(!F.isValidElement(t)){if(t!=null&&t.$$typeof!=null)throw l=t.$$typeof,Error(l===te?f(257):f(258,l.toString()));return t=b(t),this.stack.push({type:null,domNamespace:l,children:t,childIndex:0,context:n,footer:""}),""}var i=t.type;if(typeof i=="string")return this.renderDOM(t,n,l);switch(i){case re:case De:case ne:case le:case q:return t=b(t.props.children),this.stack.push({type:null,domNamespace:l,children:t,childIndex:0,context:n,footer:""}),"";case B:throw Error(f(294))}if(typeof i=="object"&&i!==null)switch(i.$$typeof){case ie:D={};var u=i.render(t.props,t.ref);return u=me(i.render,t.props,u,t.ref),u=b(u),this.stack.push({type:null,domNamespace:l,children:u,childIndex:0,context:n,footer:""}),"";case ue:return t=[F.createElement(i.type,_({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:l,children:t,childIndex:0,context:n,footer:""}),"";case H:return i=b(t.props.children),l={type:t,domNamespace:l,children:i,childIndex:0,context:n,footer:""},this.pushProvider(t),this.stack.push(l),"";case oe:i=t.type,u=t.props;var s=this.threadID;return z(i,s),i=b(u.children(i[s])),this.stack.push({type:t,domNamespace:l,children:i,childIndex:0,context:n,footer:""}),"";case Ie:throw Error(f(338));case se:switch(i=t.type,Ne(i),i._status){case 1:return t=[F.createElement(i._result,_({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:l,children:t,childIndex:0,context:n,footer:""}),"";case 2:throw i._result;default:throw Error(f(295))}case be:throw Error(f(343))}throw Error(f(130,i==null?i:typeof i,""))},r.renderDOM=function(t,n,l){var i=t.type.toLowerCase();if(l===we.html&&xe(i),!ke.hasOwnProperty(i)){if(!Be.test(i))throw Error(f(65,i));ke[i]=!0}var u=t.props;if(i==="input")u=_({type:void 0},u,{defaultChecked:void 0,defaultValue:void 0,value:u.value!=null?u.value:u.defaultValue,checked:u.checked!=null?u.checked:u.defaultChecked});else if(i==="textarea"){var s=u.value;if(s==null){s=u.defaultValue;var o=u.children;if(o!=null){if(s!=null)throw Error(f(92));if(Array.isArray(o)){if(!(1>=o.length))throw Error(f(93));o=o[0]}s=""+o}s==null&&(s="")}u=_({},u,{value:void 0,children:""+s})}else if(i==="select")this.currentSelectValue=u.value!=null?u.value:u.defaultValue,u=_({},u,{value:void 0});else if(i==="option"){o=this.currentSelectValue;var E=Ze(u.children);if(o!=null){var m=u.value!=null?u.value+"":E;if(s=!1,Array.isArray(o)){for(var c=0;c<o.length;c++)if(""+o[c]===m){s=!0;break}}else s=""+o===m;u=_({selected:void 0,children:void 0},u,{selected:s,children:E})}}if(s=u){if(je[i]&&(s.children!=null||s.dangerouslySetInnerHTML!=null))throw Error(f(137,i,""));if(s.dangerouslySetInnerHTML!=null){if(s.children!=null)throw Error(f(60));if(!(typeof s.dangerouslySetInnerHTML=="object"&&"__html"in s.dangerouslySetInnerHTML))throw Error(f(61))}if(s.style!=null&&typeof s.style!="object")throw Error(f(62,""))}s=u,o=this.makeStaticMarkup,E=this.stack.length===1,m="<"+t.type;for(S in s)if(Xe.call(s,S)){var p=s[S];if(p!=null){if(S==="style"){c=void 0;var g="",y="";for(c in p)if(p.hasOwnProperty(c)){var k=c.indexOf("--")===0,h=p[c];if(h!=null){if(k)var C=c;else if(C=c,G.hasOwnProperty(C))C=G[C];else{var $=C.replace(Ae,"-$1").toLowerCase().replace(qe,"-ms-");C=G[C]=$}g+=y+C+":",y=c,k=h==null||typeof h=="boolean"||h===""?"":k||typeof h!="number"||h===0||V.hasOwnProperty(y)&&V[y]?(""+h).trim():h+"px",g+=k,y=";"}}p=g||null}c=null;e:if(k=i,h=s,k.indexOf("-")===-1)k=typeof h.is=="string";else switch(k){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":k=!1;break e;default:k=!0}k?Ye.hasOwnProperty(S)||(c=S,c=he(c)&&p!=null?c+'="'+(N(p)+'"'):""):c=Le(S,p),c&&(m+=" "+c)}}o||E&&(m+=' data-reactroot=""');var S=m;s="",ge.hasOwnProperty(i)?S+="/>":(S+=">",s="</"+t.type+">");e:{if(o=u.dangerouslySetInnerHTML,o!=null){if(o.__html!=null){o=o.__html;break e}}else if(o=u.children,typeof o=="string"||typeof o=="number"){o=N(o);break e}o=null}return o!=null?(u=[],He.hasOwnProperty(i)&&o.charAt(0)===`
`&&(S+=`
`),S+=o):u=b(u.children),t=t.type,l=l==null||l==="http://www.w3.org/1999/xhtml"?xe(t):l==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":l,this.stack.push({domNamespace:l,type:i,children:u,childIndex:0,context:n,footer:s}),this.previousWasTextNode=!1,S},e}(),Ce={renderToString:function(e){e=new Ee(e,!1);try{return e.read(1/0)}finally{e.destroy()}},renderToStaticMarkup:function(e){e=new Ee(e,!0);try{return e.read(1/0)}finally{e.destroy()}},renderToNodeStream:function(){throw Error(f(207))},renderToStaticNodeStream:function(){throw Error(f(208))},version:"16.14.0"};A.exports=Ce.default||Ce},14223:function(A,_e,T){A.exports=T(45387)}}]);