/** * @license React * react-dom-server-legacy.browser.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ (function(){'use strict';(function(x,G){"object"===typeof exports&&"undefined"!==typeof module?G(exports,require("react")):"function"===typeof define&&define.amd?define(["exports","react"],G):(x=x||self,G(x.ReactDOMServer={},x.React))})(this,function(x,G){function l(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c");N(a,f,c);return"string"===typeof c?(a.push(r(c)),null):c}function z(a){var b=xa.get(a);if(void 0===b){if(!nb.test(a))throw Error(l(65,a));b="<"+a;xa.set(a,b)}return b}function ob(a,b,c,d,f){switch(b){case "select":a.push(z("select"));var e=null,h=null;for(n in c)if(u.call(c,n)){var k=c[n];if(null!=k)switch(n){case "children":e=k;break;case "dangerouslySetInnerHTML":h=k;break;case "defaultValue":case "value":break;default:w(a,d,n,k)}}a.push(">");N(a,h,e);return e; case "option":h=f.selectedValue;a.push(z("option"));var g=k=null,q=null;var n=null;for(e in c)if(u.call(c,e)&&(b=c[e],null!=b))switch(e){case "children":k=b;break;case "selected":q=b;break;case "dangerouslySetInnerHTML":n=b;break;case "value":g=b;default:w(a,d,e,b)}if(null!=h)if(c=null!==g?""+g:mb(k),da(h))for(d=0;d");N(a,n,k);return k;case "textarea":a.push(z("textarea")); n=h=e=null;for(k in c)if(u.call(c,k)&&(g=c[k],null!=g))switch(k){case "children":n=g;break;case "value":e=g;break;case "defaultValue":h=g;break;case "dangerouslySetInnerHTML":throw Error(l(91));default:w(a,d,k,g)}null===e&&null!==h&&(e=h);a.push(">");if(null!=n){if(null!=e)throw Error(l(92));if(da(n)&&1");return null;case "menuitem":a.push(z("menuitem"));for(var m in c)if(u.call(c,m)&&(e=c[m],null!=e))switch(m){case "children":case "dangerouslySetInnerHTML":throw Error(l(400)); default:w(a,d,m,e)}a.push(">");return null;case "listing":case "pre":a.push(z(b));h=e=null;for(g in c)if(u.call(c,g)&&(k=c[g],null!=k))switch(g){case "children":e=k;break;case "dangerouslySetInnerHTML":h=k;break;default:w(a,d,g,k)}a.push(">");if(null!=h){if(null!=e)throw Error(l(60));if("object"!==typeof h||!("__html"in h))throw Error(l(61));c=h.__html;null!==c&&void 0!==c&&("string"===typeof c&&0");return null;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":return ca(a, c,b,d);case "html":return 0===f.insertionMode&&a.push(""),ca(a,c,b,d);default:if(-1===b.indexOf("-")&&"string"!==typeof c.is)return ca(a,c,b,d);a.push(z(b));h=e=null;for(q in c)if(u.call(c,q)&&(k=c[q],null!=k))switch(q){case "children":e=k;break;case "dangerouslySetInnerHTML":h=k;break;case "style":va(a,d,k);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:sa(q)&&"function"!==typeof k&&"symbol"!==typeof k&&a.push(" ",q,'="',r(k),'"')}a.push(">"); N(a,h,e);return e}}function ya(a,b,c){g(a,'\x3c!--$?--\x3e')}function pb(a,b,c,d){switch(c.insertionMode){case 0:case 1:return g(a,'