/* */ 'use strict'; var aa = require('react'), ba = require('stream'); function ca(a, b) { a.prototype = Object.create(b.prototype); a.prototype.constructor = a; a.__proto__ = b; } var da = !1; function h(a, b) { da && (da = !1, "<" !== b[0] && a.push("\x3c!-- --\x3e")); return "\x3c!-- --\x3e" === b ? da = !0 : a.push(b); } var p = Object.prototype.hasOwnProperty, ea = /^[: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]*$/, fa = {}, ha = {}; function ia(a) { if (p.call(ha, a)) return !0; if (p.call(fa, a)) return !1; if (ea.test(a)) return ha[a] = !0; fa[a] = !0; return !1; } function q(a, b, c, d, f, e, g) { this.acceptsBooleans = 2 === b || 3 === b || 4 === b; this.attributeName = d; this.attributeNamespace = f; this.mustUseProperty = c; this.propertyName = a; this.type = b; this.sanitizeURL = e; this.removeEmptyString = g; } var r = {}; "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a) { r[a] = new q(a, 0, !1, a, null, !1, !1); }); [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a) { var b = a[0]; r[b] = new q(b, 1, !1, a[1], null, !1, !1); }); ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a) { r[a] = new q(a, 2, !1, a.toLowerCase(), null, !1, !1); }); ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a) { r[a] = new q(a, 2, !1, a, null, !1, !1); }); "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) { r[a] = new q(a, 3, !1, a.toLowerCase(), null, !1, !1); }); ["checked", "multiple", "muted", "selected"].forEach(function(a) { r[a] = new q(a, 3, !0, a, null, !1, !1); }); ["capture", "download"].forEach(function(a) { r[a] = new q(a, 4, !1, a, null, !1, !1); }); ["cols", "rows", "size", "span"].forEach(function(a) { r[a] = new q(a, 6, !1, a, null, !1, !1); }); ["rowSpan", "start"].forEach(function(a) { r[a] = new q(a, 5, !1, a.toLowerCase(), null, !1, !1); }); var ja = /[\-:]([a-z])/g; function ka(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 = a.replace(ja, ka); r[b] = new q(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(ja, ka); r[b] = new q(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(ja, ka); r[b] = new q(b, 1, !1, a, "http://www.w3.org/XML/1998/namespace", !1, !1); }); ["tabIndex", "crossOrigin"].forEach(function(a) { r[a] = new q(a, 1, !1, a.toLowerCase(), null, !1, !1); }); r.xlinkHref = new q("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1); ["src", "href", "action", "formAction"].forEach(function(a) { r[a] = new q(a, 1, !1, a.toLowerCase(), null, !0, !0); }); var t = { 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, tabSize: !0, widows: !0, zIndex: !0, zoom: !0, fillOpacity: !0, floodOpacity: !0, stopOpacity: !0, strokeDasharray: !0, strokeDashoffset: !0, strokeMiterlimit: !0, strokeOpacity: !0, strokeWidth: !0 }, la = ["Webkit", "ms", "Moz", "O"]; Object.keys(t).forEach(function(a) { la.forEach(function(b) { b = b + a.charAt(0).toUpperCase() + a.substring(1); t[b] = t[a]; }); }); var ma = /["'&<>]/; function u(a) { if ("boolean" === typeof a || "number" === typeof a) return "" + a; a = "" + a; var b = ma.exec(a); if (b) { var c = "", d, f = 0; for (d = b.index; d < a.length; d++) { switch (a.charCodeAt(d)) { case 34: b = """; break; case 38: b = "&"; break; case 39: b = "'"; break; case 60: b = "<"; break; case 62: b = ">"; break; default: continue; } f !== d && (c += a.substring(f, d)); f = d + 1; c += b; } a = f !== d ? c + a.substring(f, d) : c; } return a; } var na = /([A-Z])/g, oa = /^ms-/, pa = Array.isArray; function v(a, b) { return { insertionMode: a, selectedValue: b }; } function qa(a, b, c) { switch (b) { case "select": return v(1, null != c.value ? c.value : c.defaultValue); case "svg": return v(2, null); case "math": return v(3, null); case "foreignObject": return v(1, null); case "table": return v(4, null); case "thead": case "tbody": case "tfoot": return v(5, null); case "colgroup": return v(7, null); case "tr": return v(6, null); } return 4 <= a.insertionMode || 0 === a.insertionMode ? v(1, null) : a; } function ra(a, b) { "" !== b && a.push(u(b), "\x3c!-- --\x3e"); } var sa = new Map; function ta(a, b, c) { if ("object" !== typeof c) throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."); b = !0; for (var d in c) if (p.call(c, d)) { var f = c[d]; if (null != f && "boolean" !== typeof f && "" !== f) { if (0 === d.indexOf("--")) { var e = u(d); f = u(("" + f).trim()); } else { e = d; var g = sa.get(e); void 0 !== g ? e = g : (g = u(e.replace(na, "-$1").toLowerCase().replace(oa, "-ms-")), sa.set(e, g), e = g); f = "number" === typeof f ? 0 === f || p.call(t, d) ? "" + f : f + "px" : u(("" + f).trim()); } b ? (b = !1, a.push(' style="', e, ":", f)) : a.push(";", e, ":", f); } } b || a.push('"'); } function x(a, b, c, d) { switch (c) { case "style": ta(a, b, d); return; case "defaultValue": case "defaultChecked": case "innerHTML": case "suppressContentEditableWarning": case "suppressHydrationWarning": return; } if (!(2 < c.length) || "o" !== c[0] && "O" !== c[0] || "n" !== c[1] && "N" !== c[1]) if (b = r.hasOwnProperty(c) ? r[c] : null, null !== b) { switch (typeof d) { case "function": case "symbol": return; case "boolean": if (!b.acceptsBooleans) return; } c = b.attributeName; switch (b.type) { case 3: d && a.push(" ", c, '=""'); break; case 4: !0 === d ? a.push(" ", c, '=""') : !1 !== d && a.push(" ", c, '="', u(d), '"'); break; case 5: isNaN(d) || a.push(" ", c, '="', u(d), '"'); break; case 6: !isNaN(d) && 1 <= d && a.push(" ", c, '="', u(d), '"'); break; default: b.sanitizeURL && (d = "" + d), a.push(" ", c, '="', u(d), '"'); } } else if (ia(c)) { switch (typeof d) { case "function": case "symbol": return; case "boolean": if (b = c.toLowerCase().slice(0, 5), "data-" !== b && "aria-" !== b) return; } a.push(" ", c, '="', u(d), '"'); } } function z(a, b, c) { if (null != b) { if (null != c) throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`."); if ("object" !== typeof b || !("__html" in b)) throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information."); b = b.__html; null !== b && void 0 !== b && a.push("" + b); } } function ua(a) { var b = ""; aa.Children.forEach(a, function(a) { null != a && (b += a); }); return b; } function va(a, b, c, d) { a.push(A(c)); var f = c = null, e; for (e in b) if (p.call(b, e)) { var g = b[e]; if (null != g) switch (e) { case "children": c = g; break; case "dangerouslySetInnerHTML": f = g; break; default: x(a, d, e, g); } } a.push(">"); z(a, f, c); return "string" === typeof c ? (a.push(u(c)), null) : c; } var wa = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, xa = new Map; function A(a) { var b = xa.get(a); if (void 0 === b) { if (!wa.test(a)) throw Error("Invalid tag: " + a); b = "<" + a; xa.set(a, b); } return b; } function ya(a, b, c, d, f) { switch (b) { case "select": a.push(A("select")); var e = null, g = null; for (m in c) if (p.call(c, m)) { var k = c[m]; if (null != k) switch (m) { case "children": e = k; break; case "dangerouslySetInnerHTML": g = k; break; case "defaultValue": case "value": break; default: x(a, d, m, k); } } a.push(">"); z(a, g, e); return e; case "option": g = f.selectedValue; a.push(A("option")); var l = k = null, n = null; var m = null; for (e in c) if (p.call(c, e) && (b = c[e], null != b)) switch (e) { case "children": k = b; break; case "selected": n = b; break; case "dangerouslySetInnerHTML": m = b; break; case "value": l = b; default: x(a, d, e, b); } if (null != g) if (c = null !== l ? "" + l : ua(k), pa(g)) for (d = 0; d < g.length; d++) { if ("" + g[d] === c) { a.push(' selected=""'); break; } } else "" + g === c && a.push(' selected=""'); else n && a.push(' selected=""'); a.push(">"); z(a, m, k); return k; case "textarea": a.push(A("textarea")); m = g = e = null; for (k in c) if (p.call(c, k) && (l = c[k], null != l)) switch (k) { case "children": m = l; break; case "value": e = l; break; case "defaultValue": g = l; break; case "dangerouslySetInnerHTML": throw Error("`dangerouslySetInnerHTML` does not make sense on