UNPKG

sheetxl

Version:

SheetXL - Command line tool

1,380 lines 104 kB
/**
 * @license sheetxl - SheetXL - Command line tool - v0.7.26
 *
 * (C) 2025-present SheetXL Inc. & Michael T. Ford
 * License: The license can be found at https://www.sheetxl.com/license.
 */
import { l as e } from "../cli.js";
function r(e2, r2) {
  for (var t2 = 0; t2 < r2.length; t2++) {
    const n2 = r2[t2];
    if ("string" != typeof n2 && !Array.isArray(n2)) {
      for (const r3 in n2) if ("default" !== r3 && !(r3 in e2)) {
        const t3 = Object.getOwnPropertyDescriptor(n2, r3);
        t3 && Object.defineProperty(e2, r3, t3.get ? t3 : { enumerable: true, get: () => n2[r3] });
      }
    }
  }
  return Object.freeze(Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }));
}
var t, n = {}, o = {};
function a() {
  if (t) return o;
  function e2(e3, r3) {
    return void 0 === r3 && (r3 = Object), r3 && "function" == typeof r3.getOwnPropertyDescriptors && (e3 = r3.create(null, r3.getOwnPropertyDescriptors(e3))), r3 && "function" == typeof r3.freeze ? r3.freeze(e3) : e3;
  }
  function r2(e3, r3) {
    return Object.prototype.hasOwnProperty.call(e3, r3);
  }
  t = 1;
  var n2 = e2({ allowfullscreen: true, async: true, autofocus: true, autoplay: true, checked: true, controls: true, default: true, defer: true, disabled: true, formnovalidate: true, hidden: true, ismap: true, itemscope: true, loop: true, multiple: true, muted: true, nomodule: true, novalidate: true, open: true, playsinline: true, readonly: true, required: true, reversed: true, selected: true });
  var a2 = e2({ area: true, base: true, br: true, col: true, embed: true, hr: true, img: true, input: true, link: true, meta: true, param: true, source: true, track: true, wbr: true });
  var i2 = e2({ script: false, style: false, textarea: true, title: true });
  function s2(e3) {
    return e3 === l2.HTML;
  }
  var l2 = e2({ HTML: "text/html", XML_APPLICATION: "application/xml", XML_TEXT: "text/xml", XML_XHTML_APPLICATION: "application/xhtml+xml", XML_SVG_IMAGE: "image/svg+xml" }), c2 = Object.keys(l2).map(function(e3) {
    return l2[e3];
  });
  var u2 = e2({ HTML: "http://www.w3.org/1999/xhtml", SVG: "http://www.w3.org/2000/svg", XML: "http://www.w3.org/XML/1998/namespace", XMLNS: "http://www.w3.org/2000/xmlns/" });
  return o.assign = function(e3, t2) {
    if (null === e3 || "object" != typeof e3) throw new TypeError("target is not an object");
    for (var n3 in t2) r2(t2, n3) && (e3[n3] = t2[n3]);
    return e3;
  }, o.find = function(e3, t2, n3) {
    if (void 0 === n3 && (n3 = Array.prototype), e3 && "function" == typeof n3.find) return n3.find.call(e3, t2);
    for (var o2 = 0; o2 < e3.length; o2++) if (r2(e3, o2)) {
      var a3 = e3[o2];
      if (t2.call(void 0, a3, o2, e3)) return a3;
    }
  }, o.freeze = e2, o.HTML_BOOLEAN_ATTRIBUTES = n2, o.HTML_RAW_TEXT_ELEMENTS = i2, o.HTML_VOID_ELEMENTS = a2, o.hasDefaultHTMLNamespace = function(e3) {
    return s2(e3) || e3 === l2.XML_XHTML_APPLICATION;
  }, o.hasOwn = r2, o.isHTMLBooleanAttribute = function(e3) {
    return r2(n2, e3.toLowerCase());
  }, o.isHTMLRawTextElement = function(e3) {
    var t2 = e3.toLowerCase();
    return r2(i2, t2) && !i2[t2];
  }, o.isHTMLEscapableRawTextElement = function(e3) {
    var t2 = e3.toLowerCase();
    return r2(i2, t2) && i2[t2];
  }, o.isHTMLMimeType = s2, o.isHTMLVoidElement = function(e3) {
    return r2(a2, e3.toLowerCase());
  }, o.isValidMimeType = function(e3) {
    return c2.indexOf(e3) > -1;
  }, o.MIME_TYPE = l2, o.NAMESPACE = u2, o;
}
var i, s = {};
function l() {
  if (i) return s;
  function e2(e3, r3) {
    e3.prototype = Object.create(Error.prototype, { constructor: { value: e3 }, name: { value: e3.name, enumerable: true, writable: r3 } });
  }
  i = 1;
  var r2 = a().freeze({ Error: "Error", IndexSizeError: "IndexSizeError", DomstringSizeError: "DomstringSizeError", HierarchyRequestError: "HierarchyRequestError", WrongDocumentError: "WrongDocumentError", InvalidCharacterError: "InvalidCharacterError", NoDataAllowedError: "NoDataAllowedError", NoModificationAllowedError: "NoModificationAllowedError", NotFoundError: "NotFoundError", NotSupportedError: "NotSupportedError", InUseAttributeError: "InUseAttributeError", InvalidStateError: "InvalidStateError", SyntaxError: "SyntaxError", InvalidModificationError: "InvalidModificationError", NamespaceError: "NamespaceError", InvalidAccessError: "InvalidAccessError", ValidationError: "ValidationError", TypeMismatchError: "TypeMismatchError", SecurityError: "SecurityError", NetworkError: "NetworkError", AbortError: "AbortError", URLMismatchError: "URLMismatchError", QuotaExceededError: "QuotaExceededError", TimeoutError: "TimeoutError", InvalidNodeTypeError: "InvalidNodeTypeError", DataCloneError: "DataCloneError", EncodingError: "EncodingError", NotReadableError: "NotReadableError", UnknownError: "UnknownError", ConstraintError: "ConstraintError", DataError: "DataError", TransactionInactiveError: "TransactionInactiveError", ReadOnlyError: "ReadOnlyError", VersionError: "VersionError", OperationError: "OperationError", NotAllowedError: "NotAllowedError", OptOutError: "OptOutError" }), t2 = Object.keys(r2);
  function n2(e3) {
    return "number" == typeof e3 && e3 >= 1 && e3 <= 25;
  }
  function o2(e3, a2) {
    var i2;
    n2(e3) ? (this.name = t2[e3], this.message = a2 || "") : (this.message = e3, this.name = "string" == typeof (i2 = a2) && i2.substring(i2.length - r2.Error.length) === r2.Error ? a2 : r2.Error), Error.captureStackTrace && Error.captureStackTrace(this, o2);
  }
  e2(o2, true), Object.defineProperties(o2.prototype, { code: { enumerable: true, get: function() {
    var e3 = t2.indexOf(this.name);
    return n2(e3) ? e3 : 0;
  } } });
  for (var l2 = { INDEX_SIZE_ERR: 1, DOMSTRING_SIZE_ERR: 2, HIERARCHY_REQUEST_ERR: 3, WRONG_DOCUMENT_ERR: 4, INVALID_CHARACTER_ERR: 5, NO_DATA_ALLOWED_ERR: 6, NO_MODIFICATION_ALLOWED_ERR: 7, NOT_FOUND_ERR: 8, NOT_SUPPORTED_ERR: 9, INUSE_ATTRIBUTE_ERR: 10, INVALID_STATE_ERR: 11, SYNTAX_ERR: 12, INVALID_MODIFICATION_ERR: 13, NAMESPACE_ERR: 14, INVALID_ACCESS_ERR: 15, VALIDATION_ERR: 16, TYPE_MISMATCH_ERR: 17, SECURITY_ERR: 18, NETWORK_ERR: 19, ABORT_ERR: 20, URL_MISMATCH_ERR: 21, QUOTA_EXCEEDED_ERR: 22, TIMEOUT_ERR: 23, INVALID_NODE_TYPE_ERR: 24, DATA_CLONE_ERR: 25 }, c2 = Object.entries(l2), u2 = 0; u2 < c2.length; u2++) {
    o2[c2[u2][0]] = c2[u2][1];
  }
  function p2(e3, r3) {
    this.message = e3, this.locator = r3, Error.captureStackTrace && Error.captureStackTrace(this, p2);
  }
  return e2(p2), s.DOMException = o2, s.DOMExceptionName = r2, s.ExceptionCode = l2, s.ParseError = p2, s;
}
var c, u, p = {}, d = {};
function f() {
  if (c) return d;
  function e2(e3) {
    try {
      "function" != typeof e3 && (e3 = RegExp);
      var r3 = new e3("𝌆", "u").exec("𝌆");
      return !!r3 && 2 === r3[0].length;
    } catch (e4) {
    }
    return false;
  }
  c = 1;
  var r2 = e2();
  function t2(e3) {
    if ("[" !== e3.source[0]) throw new Error(e3 + " can not be used with chars");
    return e3.source.slice(1, e3.source.lastIndexOf("]"));
  }
  function n2(e3, t3) {
    if ("[" !== e3.source[0]) throw new Error("/" + e3.source + "/ can not be used with chars_without");
    if (!t3 || "string" != typeof t3) throw new Error(JSON.stringify(t3) + " is not a valid search");
    if (-1 === e3.source.indexOf(t3)) throw new Error('"' + t3 + '" is not is /' + e3.source + "/");
    if ("-" === t3 && 1 !== e3.source.indexOf(t3)) throw new Error('"' + t3 + '" is not at the first postion of /' + e3.source + "/");
    return new RegExp(e3.source.replace(t3, ""), r2 ? "u" : "");
  }
  function o2(e3) {
    var t3 = this;
    return new RegExp(Array.prototype.slice.call(arguments).map(function(e4) {
      var r3 = "string" == typeof e4;
      if (r3 && void 0 === t3 && "|" === e4) throw new Error("use regg instead of reg to wrap expressions with `|`!");
      return r3 ? e4 : e4.source;
    }).join(""), r2 ? "mu" : "m");
  }
  function a2(e3) {
    if (0 === arguments.length) throw new Error("no parameters provided");
    return o2.apply(a2, ["(?:"].concat(Array.prototype.slice.call(arguments), [")"]));
  }
  var i2 = /[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;
  r2 && (i2 = o2("[", t2(i2), "\\u{10000}-\\u{10FFFF}", "]"));
  var s2 = /[\x20\x09\x0D\x0A]/, l2 = t2(s2), u2 = o2(s2, "+"), p2 = o2(s2, "*"), f2 = /[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;
  r2 && (f2 = o2("[", t2(f2), "\\u{10000}-\\u{10FFFF}", "]"));
  var m2 = o2("[", t2(f2), t2(/[-.0-9\xB7]/), t2(/[\u0300-\u036F\u203F-\u2040]/), "]"), h2 = o2(f2, m2, "*"), E2 = o2(m2, "+"), g2 = o2("&", h2, ";"), N2 = a2(/&#[0-9]+;|&#x[0-9a-fA-F]+;/), T2 = a2(g2, "|", N2), b2 = o2("%", h2, ";"), w2 = a2(o2('"', a2(/[^%&"]/, "|", b2, "|", T2), "*", '"'), "|", o2("'", a2(/[^%&']/, "|", b2, "|", T2), "*", "'")), v2 = a2('"', a2(/[^<&"]/, "|", T2), "*", '"', "|", "'", a2(/[^<&']/, "|", T2), "*", "'"), y2 = o2(n2(f2, ":"), n2(m2, ":"), "*"), D2 = o2(y2, a2(":", y2), "?"), S2 = o2("^", D2, "$"), A2 = o2("(", D2, ")"), I = a2(/"[^"]*"|'[^']*'/), O = o2(/^<\?/, "(", h2, ")", a2(u2, "(", i2, "*?)"), "?", /\?>/), C = /[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/, x = a2('"', C, '*"', "|", "'", n2(C, "'"), "*'"), R = "<!--", _ = o2(R, a2(n2(i2, "-"), "|", o2("-", n2(i2, "-"))), "*", "-->"), L = "#PCDATA", M = a2(o2(/\(/, p2, L, a2(p2, /\|/, p2, D2), "*", p2, /\)\*/), "|", o2(/\(/, p2, L, p2, /\)/)), q = a2("EMPTY", "|", "ANY", "|", M, "|", o2(/\([^>]+\)/, /[?*+]?/)), U = o2("<!ELEMENT", u2, a2(D2, "|", b2), u2, a2(q, "|", b2), p2, ">"), P = o2("NOTATION", u2, /\(/, p2, h2, a2(p2, /\|/, p2, h2), "*", p2, /\)/), k = o2(/\(/, p2, E2, a2(p2, /\|/, p2, E2), "*", p2, /\)/), H = a2(P, "|", k), V = a2(/CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS/, "|", H), B = a2(/#REQUIRED|#IMPLIED/, "|", a2(a2("#FIXED", u2), "?", v2)), F = o2("<!ATTLIST", u2, h2, a2(u2, h2, u2, V, u2, B), "*", p2, ">"), G = "about:legacy-compat", Y = a2('"' + G + '"', "|", "'" + G + "'"), X = "SYSTEM", z = "PUBLIC", j = a2(a2(X, u2, I), "|", a2(z, u2, x, u2, I)), Q = o2("^", a2(a2(X, u2, "(?<SystemLiteralOnly>", I, ")"), "|", a2(z, u2, "(?<PubidLiteral>", x, ")", u2, "(?<SystemLiteral>", I, ")"))), W = a2(u2, "NDATA", u2, h2), Z = "<!ENTITY", $ = o2(Z, u2, h2, u2, a2(w2, "|", a2(j, W, "?")), p2, ">"), J = a2(w2, "|", j), K = a2($, "|", o2(Z, u2, "%", u2, h2, u2, J, p2, ">")), ee = o2(z, u2, x), re = o2("<!NOTATION", u2, h2, u2, a2(j, "|", ee), p2, ">"), te = o2(p2, "=", p2), ne = /1[.]\d+/, oe = o2(u2, "version", te, a2("'", ne, "'", "|", '"', ne, '"')), ae = /[A-Za-z][-A-Za-z0-9._]*/, ie = o2(/^<\?xml/, oe, a2(u2, "encoding", te, a2('"', ae, '"', "|", "'", ae, "'")), "?", a2(u2, "standalone", te, a2("'", a2("yes", "|", "no"), "'", "|", '"', a2("yes", "|", "no"), '"')), "?", p2, /\?>/), se = o2(i2, "*?", /\]\]>/), le = o2(/<!\[CDATA\[/, se);
  return d.chars = t2, d.chars_without = n2, d.detectUnicodeSupport = e2, d.reg = o2, d.regg = a2, d.ABOUT_LEGACY_COMPAT = G, d.ABOUT_LEGACY_COMPAT_SystemLiteral = Y, d.AttlistDecl = F, d.CDATA_START = "<![CDATA[", d.CDATA_END = "]]>", d.CDSect = le, d.Char = i2, d.Comment = _, d.COMMENT_START = R, d.COMMENT_END = "-->", d.DOCTYPE_DECL_START = "<!DOCTYPE", d.elementdecl = U, d.EntityDecl = K, d.EntityValue = w2, d.ExternalID = j, d.ExternalID_match = Q, d.Name = h2, d.NotationDecl = re, d.Reference = T2, d.PEReference = b2, d.PI = O, d.PUBLIC = z, d.PubidLiteral = x, d.QName = D2, d.QName_exact = S2, d.QName_group = A2, d.S = u2, d.SChar_s = l2, d.S_OPT = p2, d.SYSTEM = X, d.SystemLiteral = I, d.UNICODE_REPLACEMENT_CHARACTER = "�", d.UNICODE_SUPPORT = r2, d.XMLDecl = ie, d;
}
function m() {
  if (u) return p;
  u = 1;
  var e2 = a(), r2 = e2.find, t2 = e2.hasDefaultHTMLNamespace, n2 = e2.hasOwn, o2 = e2.isHTMLMimeType, i2 = e2.isHTMLRawTextElement, s2 = e2.isHTMLVoidElement, c2 = e2.MIME_TYPE, d2 = e2.NAMESPACE, m2 = Symbol(), h2 = l(), E2 = h2.DOMException, g2 = h2.DOMExceptionName, N2 = f();
  function T2(e3) {
    if (e3 !== m2) throw new TypeError("Illegal constructor");
  }
  function b2(e3) {
    return "" !== e3;
  }
  function w2(e3, r3) {
    return n2(e3, r3) || (e3[r3] = true), e3;
  }
  function v2(e3) {
    if (!e3) return [];
    var r3 = (function(e4) {
      return e4 ? e4.split(/[\t\n\f\r ]+/).filter(b2) : [];
    })(e3);
    return Object.keys(r3.reduce(w2, {}));
  }
  function y2(e3) {
    if (!N2.QName_exact.test(e3)) throw new E2(E2.INVALID_CHARACTER_ERR, 'invalid character in qualified name "' + e3 + '"');
  }
  function D2(r3, t3) {
    y2(t3), r3 = r3 || null;
    var n3 = null, o3 = t3;
    if (t3.indexOf(":") >= 0) {
      var a2 = t3.split(":");
      n3 = a2[0], o3 = a2[1];
    }
    if (null !== n3 && null === r3) throw new E2(E2.NAMESPACE_ERR, "prefix is non-null and namespace is null");
    if ("xml" === n3 && r3 !== e2.NAMESPACE.XML) throw new E2(E2.NAMESPACE_ERR, 'prefix is "xml" and namespace is not the XML namespace');
    if (("xmlns" === n3 || "xmlns" === t3) && r3 !== e2.NAMESPACE.XMLNS) throw new E2(E2.NAMESPACE_ERR, 'either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace');
    if (r3 === e2.NAMESPACE.XMLNS && "xmlns" !== n3 && "xmlns" !== t3) throw new E2(E2.NAMESPACE_ERR, 'namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"');
    return [r3, n3, o3];
  }
  function S2(e3, r3) {
    for (var t3 in e3) n2(e3, t3) && (r3[t3] = e3[t3]);
  }
  function A2(e3, r3) {
    var t3 = e3.prototype;
    if (!(t3 instanceof r3)) {
      let n3 = function() {
      };
      n3.prototype = r3.prototype, S2(t3, n3 = new n3()), e3.prototype = t3 = n3;
    }
    t3.constructor != e3 && ("function" != typeof e3 && console.error("unknown Class:" + e3), t3.constructor = e3);
  }
  var I = {}, O = I.ELEMENT_NODE = 1, C = I.ATTRIBUTE_NODE = 2, x = I.TEXT_NODE = 3, R = I.CDATA_SECTION_NODE = 4, _ = I.ENTITY_REFERENCE_NODE = 5, L = I.ENTITY_NODE = 6, M = I.PROCESSING_INSTRUCTION_NODE = 7, q = I.COMMENT_NODE = 8, U = I.DOCUMENT_NODE = 9, P = I.DOCUMENT_TYPE_NODE = 10, k = I.DOCUMENT_FRAGMENT_NODE = 11, H = I.NOTATION_NODE = 12, V = e2.freeze({ DOCUMENT_POSITION_DISCONNECTED: 1, DOCUMENT_POSITION_PRECEDING: 2, DOCUMENT_POSITION_FOLLOWING: 4, DOCUMENT_POSITION_CONTAINS: 8, DOCUMENT_POSITION_CONTAINED_BY: 16, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32 });
  function B(e3, r3) {
    if (r3.length < e3.length) return B(r3, e3);
    var t3 = null;
    for (var n3 in e3) {
      if (e3[n3] !== r3[n3]) return t3;
      t3 = e3[n3];
    }
    return t3;
  }
  function F(e3) {
    return e3.guid || (e3.guid = Math.random()), e3.guid;
  }
  function G() {
  }
  function Y(e3, r3) {
    this._node = e3, this._refresh = r3, X(this);
  }
  function X(e3) {
    var r3 = e3._node._inc || e3._node.ownerDocument._inc;
    if (e3._inc !== r3) {
      var t3 = e3._refresh(e3._node);
      if (_e(e3, "length", t3.length), !e3.$$length || t3.length < e3.$$length) for (var o3 = t3.length; o3 in e3; o3++) n2(e3, o3) && delete e3[o3];
      S2(t3, e3), e3._inc = r3;
    }
  }
  function z() {
  }
  function j(e3, r3) {
    for (var t3 = 0; t3 < e3.length; ) {
      if (e3[t3] === r3) return t3;
      t3++;
    }
  }
  function Q(e3, r3, t3, n3) {
    if (n3 ? r3[j(r3, n3)] = t3 : (r3[r3.length] = t3, r3.length++), e3) {
      t3.ownerElement = e3;
      var o3 = e3.ownerDocument;
      o3 && (n3 && re(o3, e3, n3), (function(e4, r4, t4) {
        e4 && e4._inc++;
        var n4 = t4.namespaceURI;
        n4 === d2.XMLNS && (r4._nsMap[t4.prefix ? t4.localName : ""] = t4.value);
      })(o3, e3, t3));
    }
  }
  function W(e3, r3, t3) {
    var n3 = j(r3, t3);
    if (n3 >= 0) {
      for (var o3 = r3.length - 1; n3 <= o3; ) r3[n3] = r3[++n3];
      if (r3.length = o3, e3) {
        var a2 = e3.ownerDocument;
        a2 && re(a2, e3, t3), t3.ownerElement = null;
      }
    }
  }
  function Z() {
  }
  function $(e3) {
    T2(e3);
  }
  function J(e3) {
    return ("<" == e3 ? "&lt;" : ">" == e3 && "&gt;") || "&" == e3 && "&amp;" || '"' == e3 && "&quot;" || "&#" + e3.charCodeAt() + ";";
  }
  function K(e3, r3) {
    if (r3(e3)) return true;
    if (e3 = e3.firstChild) do {
      if (K(e3, r3)) return true;
    } while (e3 = e3.nextSibling);
  }
  function ee(e3, r3) {
    T2(e3);
    var t3 = r3 || {};
    this.ownerDocument = this, this.contentType = t3.contentType || c2.XML_APPLICATION, this.type = o2(this.contentType) ? "html" : "xml";
  }
  function re(e3, r3, t3, n3) {
    e3 && e3._inc++, t3.namespaceURI === d2.XMLNS && delete r3._nsMap[t3.prefix ? t3.localName : ""];
  }
  function te(e3, r3, t3) {
    if (e3 && e3._inc) {
      e3._inc++;
      var n3 = r3.childNodes;
      if (t3 && !t3.nextSibling) n3[n3.length++] = t3;
      else {
        for (var o3 = r3.firstChild, a2 = 0; o3; ) n3[a2++] = o3, o3 = o3.nextSibling;
        n3.length = a2, delete n3[n3.length];
      }
    }
  }
  function ne(e3, r3) {
    if (e3 !== r3.parentNode) throw new E2(E2.NOT_FOUND_ERR, "child's parent is not parent");
    var t3 = r3.previousSibling, n3 = r3.nextSibling;
    return t3 ? t3.nextSibling = n3 : e3.firstChild = n3, n3 ? n3.previousSibling = t3 : e3.lastChild = t3, te(e3.ownerDocument, e3), r3.parentNode = null, r3.previousSibling = null, r3.nextSibling = null, r3;
  }
  function oe(e3) {
    return e3 && e3.nodeType === $.DOCUMENT_TYPE_NODE;
  }
  function ae(e3) {
    return e3 && e3.nodeType === $.ELEMENT_NODE;
  }
  function ie(e3) {
    return e3 && e3.nodeType === $.TEXT_NODE;
  }
  function se(e3, t3) {
    var n3 = e3.childNodes || [];
    if (r2(n3, ae) || oe(t3)) return false;
    var o3 = r2(n3, oe);
    return !(t3 && o3 && n3.indexOf(o3) > n3.indexOf(t3));
  }
  function le(e3, t3) {
    var n3 = e3.childNodes || [];
    if (r2(n3, function(e4) {
      return ae(e4) && e4 !== t3;
    })) return false;
    var o3 = r2(n3, oe);
    return !(t3 && o3 && n3.indexOf(o3) > n3.indexOf(t3));
  }
  function ce(e3, r3, t3) {
    if (!(function(e4) {
      return e4 && (e4.nodeType === $.DOCUMENT_NODE || e4.nodeType === $.DOCUMENT_FRAGMENT_NODE || e4.nodeType === $.ELEMENT_NODE);
    })(e3)) throw new E2(E2.HIERARCHY_REQUEST_ERR, "Unexpected parent node type " + e3.nodeType);
    if (t3 && t3.parentNode !== e3) throw new E2(E2.NOT_FOUND_ERR, "child not in parent");
    if (!(function(e4) {
      return e4 && (e4.nodeType === $.CDATA_SECTION_NODE || e4.nodeType === $.COMMENT_NODE || e4.nodeType === $.DOCUMENT_FRAGMENT_NODE || e4.nodeType === $.DOCUMENT_TYPE_NODE || e4.nodeType === $.ELEMENT_NODE || e4.nodeType === $.PROCESSING_INSTRUCTION_NODE || e4.nodeType === $.TEXT_NODE);
    })(r3) || oe(r3) && e3.nodeType !== $.DOCUMENT_NODE) throw new E2(E2.HIERARCHY_REQUEST_ERR, "Unexpected node type " + r3.nodeType + " for parent node type " + e3.nodeType);
  }
  function ue(e3, t3, n3) {
    var o3 = e3.childNodes || [], a2 = t3.childNodes || [];
    if (t3.nodeType === $.DOCUMENT_FRAGMENT_NODE) {
      var i3 = a2.filter(ae);
      if (i3.length > 1 || r2(a2, ie)) throw new E2(E2.HIERARCHY_REQUEST_ERR, "More than one element or text in fragment");
      if (1 === i3.length && !se(e3, n3)) throw new E2(E2.HIERARCHY_REQUEST_ERR, "Element in fragment can not be inserted before doctype");
    }
    if (ae(t3) && !se(e3, n3)) throw new E2(E2.HIERARCHY_REQUEST_ERR, "Only one element can be added and only after doctype");
    if (oe(t3)) {
      if (r2(o3, oe)) throw new E2(E2.HIERARCHY_REQUEST_ERR, "Only one doctype is allowed");
      var s3 = r2(o3, ae);
      if (n3 && o3.indexOf(s3) < o3.indexOf(n3)) throw new E2(E2.HIERARCHY_REQUEST_ERR, "Doctype can only be inserted before an element");
      if (!n3 && s3) throw new E2(E2.HIERARCHY_REQUEST_ERR, "Doctype can not be appended since element is present");
    }
  }
  function pe(e3, t3, n3) {
    var o3 = e3.childNodes || [], a2 = t3.childNodes || [];
    if (t3.nodeType === $.DOCUMENT_FRAGMENT_NODE) {
      var i3 = a2.filter(ae);
      if (i3.length > 1 || r2(a2, ie)) throw new E2(E2.HIERARCHY_REQUEST_ERR, "More than one element or text in fragment");
      if (1 === i3.length && !le(e3, n3)) throw new E2(E2.HIERARCHY_REQUEST_ERR, "Element in fragment can not be inserted before doctype");
    }
    if (ae(t3) && !le(e3, n3)) throw new E2(E2.HIERARCHY_REQUEST_ERR, "Only one element can be added and only after doctype");
    if (oe(t3)) {
      let l2 = function(e4) {
        return oe(e4) && e4 !== n3;
      };
      if (r2(o3, l2)) throw new E2(E2.HIERARCHY_REQUEST_ERR, "Only one doctype is allowed");
      var s3 = r2(o3, ae);
      if (n3 && o3.indexOf(s3) < o3.indexOf(n3)) throw new E2(E2.HIERARCHY_REQUEST_ERR, "Doctype can only be inserted before an element");
    }
  }
  function de(e3, r3, t3, n3) {
    ce(e3, r3, t3), e3.nodeType === $.DOCUMENT_NODE && (n3 || ue)(e3, r3, t3);
    var o3 = r3.parentNode;
    if (o3 && o3.removeChild(r3), r3.nodeType === k) {
      var a2 = r3.firstChild;
      if (null == a2) return r3;
      var i3 = r3.lastChild;
    } else a2 = i3 = r3;
    var s3 = t3 ? t3.previousSibling : e3.lastChild;
    a2.previousSibling = s3, i3.nextSibling = t3, s3 ? s3.nextSibling = a2 : e3.firstChild = a2, null == t3 ? e3.lastChild = i3 : t3.previousSibling = i3;
    do {
      a2.parentNode = e3;
    } while (a2 !== i3 && (a2 = a2.nextSibling));
    return te(e3.ownerDocument || e3, e3, r3), r3.nodeType == k && (r3.firstChild = r3.lastChild = null), r3;
  }
  function fe(e3) {
    T2(e3), this._nsMap = /* @__PURE__ */ Object.create(null);
  }
  function me(e3) {
    T2(e3), this.namespaceURI = null, this.prefix = null, this.ownerElement = null;
  }
  function he(e3) {
    T2(e3);
  }
  function Ee(e3) {
    T2(e3);
  }
  function ge(e3) {
    T2(e3);
  }
  function Ne(e3) {
    T2(e3);
  }
  function Te(e3) {
    T2(e3);
  }
  function be(e3) {
    T2(e3);
  }
  function we(e3) {
    T2(e3);
  }
  function ve(e3) {
    T2(e3);
  }
  function ye(e3) {
    T2(e3);
  }
  function De(e3) {
    T2(e3);
  }
  function Se() {
  }
  function Ae(e3) {
    var r3 = [], t3 = this.nodeType === U && this.documentElement || this, n3 = t3.prefix, o3 = t3.namespaceURI;
    if (o3 && null == n3 && null == (n3 = t3.lookupPrefix(o3))) var a2 = [{ namespace: o3, prefix: null }];
    return Ce(this, r3, e3, a2), r3.join("");
  }
  function Ie(e3, r3, t3) {
    var n3 = e3.prefix || "", o3 = e3.namespaceURI;
    if (!o3) return false;
    if ("xml" === n3 && o3 === d2.XML || o3 === d2.XMLNS) return false;
    for (var a2 = t3.length; a2--; ) {
      var i3 = t3[a2];
      if (i3.prefix === n3) return i3.namespace !== o3;
    }
    return true;
  }
  function Oe(e3, r3, t3) {
    e3.push(" ", r3, '="', t3.replace(/[<>&"\t\n\r]/g, J), '"');
  }
  function Ce(e3, r3, t3, n3) {
    n3 || (n3 = []);
    var o3 = "html" === (e3.nodeType === U ? e3 : e3.ownerDocument).type;
    if (t3) {
      if (!(e3 = t3(e3))) return;
      if ("string" == typeof e3) return void r3.push(e3);
    }
    switch (e3.nodeType) {
      case O:
        var a2 = e3.attributes, l2 = a2.length, c3 = e3.firstChild, u2 = e3.tagName, p2 = u2;
        if (!o3 && !e3.prefix && e3.namespaceURI) {
          for (var f2, m3 = 0; m3 < a2.length; m3++) if ("xmlns" === a2.item(m3).name) {
            f2 = a2.item(m3).value;
            break;
          }
          if (!f2) for (var h3 = n3.length - 1; h3 >= 0; h3--) {
            if ("" === (E3 = n3[h3]).prefix && E3.namespace === e3.namespaceURI) {
              f2 = E3.namespace;
              break;
            }
          }
          if (f2 !== e3.namespaceURI) for (h3 = n3.length - 1; h3 >= 0; h3--) {
            var E3;
            if ((E3 = n3[h3]).namespace === e3.namespaceURI) {
              E3.prefix && (p2 = E3.prefix + ":" + u2);
              break;
            }
          }
        }
        r3.push("<", p2);
        for (var g3 = 0; g3 < l2; g3++) {
          "xmlns" == (T3 = a2.item(g3)).prefix ? n3.push({ prefix: T3.localName, namespace: T3.value }) : "xmlns" == T3.nodeName && n3.push({ prefix: "", namespace: T3.value });
        }
        for (g3 = 0; g3 < l2; g3++) {
          var T3, b3, w3;
          if (Ie(T3 = a2.item(g3), 0, n3)) Oe(r3, (b3 = T3.prefix || "") ? "xmlns:" + b3 : "xmlns", w3 = T3.namespaceURI), n3.push({ prefix: b3, namespace: w3 });
          Ce(T3, r3, t3, n3);
        }
        if (u2 === p2 && Ie(e3, 0, n3)) Oe(r3, (b3 = e3.prefix || "") ? "xmlns:" + b3 : "xmlns", w3 = e3.namespaceURI), n3.push({ prefix: b3, namespace: w3 });
        var v3 = !c3;
        if (v3 && (o3 || e3.namespaceURI === d2.HTML) && (v3 = s2(u2)), v3) r3.push("/>");
        else {
          if (r3.push(">"), o3 && i2(u2)) for (; c3; ) c3.data ? r3.push(c3.data) : Ce(c3, r3, t3, n3.slice()), c3 = c3.nextSibling;
          else for (; c3; ) Ce(c3, r3, t3, n3.slice()), c3 = c3.nextSibling;
          r3.push("</", p2, ">");
        }
        return;
      case U:
      case k:
        for (c3 = e3.firstChild; c3; ) Ce(c3, r3, t3, n3.slice()), c3 = c3.nextSibling;
        return;
      case C:
        return Oe(r3, e3.name, e3.value);
      case x:
        return r3.push(e3.data.replace(/[<&>]/g, J));
      case R:
        return r3.push(N2.CDATA_START, e3.data, N2.CDATA_END);
      case q:
        return r3.push(N2.COMMENT_START, e3.data, N2.COMMENT_END);
      case P:
        var y3 = e3.publicId, D3 = e3.systemId;
        return r3.push(N2.DOCTYPE_DECL_START, " ", e3.name), y3 ? (r3.push(" ", N2.PUBLIC, " ", y3), D3 && "." !== D3 && r3.push(" ", D3)) : D3 && "." !== D3 && r3.push(" ", N2.SYSTEM, " ", D3), e3.internalSubset && r3.push(" [", e3.internalSubset, "]"), void r3.push(">");
      case M:
        return r3.push("<?", e3.target, " ", e3.data, "?>");
      case _:
        return r3.push("&", e3.nodeName, ";");
      default:
        r3.push("??", e3.nodeName);
    }
  }
  function xe(e3, r3, t3) {
    var n3;
    switch (r3.nodeType) {
      case O:
        (n3 = r3.cloneNode(false)).ownerDocument = e3;
      case k:
        break;
      case C:
        t3 = true;
    }
    if (n3 || (n3 = r3.cloneNode(false)), n3.ownerDocument = e3, n3.parentNode = null, t3) for (var o3 = r3.firstChild; o3; ) n3.appendChild(xe(e3, o3, t3)), o3 = o3.nextSibling;
    return n3;
  }
  function Re(e3, r3, t3) {
    var o3 = new r3.constructor(m2);
    for (var a2 in r3) if (n2(r3, a2)) {
      var i3 = r3[a2];
      "object" != typeof i3 && i3 != o3[a2] && (o3[a2] = i3);
    }
    switch (r3.childNodes && (o3.childNodes = new G()), o3.ownerDocument = e3, o3.nodeType) {
      case O:
        var s3 = r3.attributes, l2 = o3.attributes = new z(), c3 = s3.length;
        l2._ownerElement = o3;
        for (var u2 = 0; u2 < c3; u2++) o3.setAttributeNode(Re(e3, s3.item(u2), true));
        break;
      case C:
        t3 = true;
    }
    if (t3) for (var p2 = r3.firstChild; p2; ) o3.appendChild(Re(e3, p2, t3)), p2 = p2.nextSibling;
    return o3;
  }
  function _e(e3, r3, t3) {
    e3[r3] = t3;
  }
  G.prototype = { length: 0, item: function(e3) {
    return e3 >= 0 && e3 < this.length ? this[e3] : null;
  }, toString: function(e3) {
    for (var r3 = [], t3 = 0; t3 < this.length; t3++) Ce(this[t3], r3, e3);
    return r3.join("");
  }, filter: function(e3) {
    return Array.prototype.filter.call(this, e3);
  }, indexOf: function(e3) {
    return Array.prototype.indexOf.call(this, e3);
  } }, G.prototype[Symbol.iterator] = function() {
    var e3 = this, r3 = 0;
    return { next: function() {
      return r3 < e3.length ? { value: e3[r3++], done: false } : { done: true };
    }, return: function() {
      return { done: true };
    } };
  }, Y.prototype.item = function(e3) {
    return X(this), this[e3] || null;
  }, A2(Y, G), z.prototype = { length: 0, item: G.prototype.item, getNamedItem: function(e3) {
    this._ownerElement && this._ownerElement._isInHTMLDocumentAndNamespace() && (e3 = e3.toLowerCase());
    for (var r3 = 0; r3 < this.length; ) {
      var t3 = this[r3];
      if (t3.nodeName === e3) return t3;
      r3++;
    }
    return null;
  }, setNamedItem: function(e3) {
    var r3 = e3.ownerElement;
    if (r3 && r3 !== this._ownerElement) throw new E2(E2.INUSE_ATTRIBUTE_ERR);
    var t3 = this.getNamedItemNS(e3.namespaceURI, e3.localName);
    return t3 === e3 ? e3 : (Q(this._ownerElement, this, e3, t3), t3);
  }, setNamedItemNS: function(e3) {
    return this.setNamedItem(e3);
  }, removeNamedItem: function(e3) {
    var r3 = this.getNamedItem(e3);
    if (!r3) throw new E2(E2.NOT_FOUND_ERR, e3);
    return W(this._ownerElement, this, r3), r3;
  }, removeNamedItemNS: function(e3, r3) {
    var t3 = this.getNamedItemNS(e3, r3);
    if (!t3) throw new E2(E2.NOT_FOUND_ERR, e3 ? e3 + " : " + r3 : r3);
    return W(this._ownerElement, this, t3), t3;
  }, getNamedItemNS: function(e3, r3) {
    e3 || (e3 = null);
    for (var t3 = 0; t3 < this.length; ) {
      var n3 = this[t3];
      if (n3.localName === r3 && n3.namespaceURI === e3) return n3;
      t3++;
    }
    return null;
  } }, z.prototype[Symbol.iterator] = function() {
    var e3 = this, r3 = 0;
    return { next: function() {
      return r3 < e3.length ? { value: e3[r3++], done: false } : { done: true };
    }, return: function() {
      return { done: true };
    } };
  }, Z.prototype = { hasFeature: function(e3, r3) {
    return true;
  }, createDocument: function(e3, r3, t3) {
    var n3 = c2.XML_APPLICATION;
    e3 === d2.HTML ? n3 = c2.XML_XHTML_APPLICATION : e3 === d2.SVG && (n3 = c2.XML_SVG_IMAGE);
    var o3 = new ee(m2, { contentType: n3 });
    if (o3.implementation = this, o3.childNodes = new G(), o3.doctype = t3 || null, t3 && o3.appendChild(t3), r3) {
      var a2 = o3.createElementNS(e3, r3);
      o3.appendChild(a2);
    }
    return o3;
  }, createDocumentType: function(e3, r3, t3, n3) {
    y2(e3);
    var o3 = new Te(m2);
    return o3.name = e3, o3.nodeName = e3, o3.publicId = r3 || "", o3.systemId = t3 || "", o3.internalSubset = n3 || "", o3.childNodes = new G(), o3;
  }, createHTMLDocument: function(e3) {
    var r3 = new ee(m2, { contentType: c2.HTML });
    if (r3.implementation = this, r3.childNodes = new G(), false !== e3) {
      r3.doctype = this.createDocumentType("html"), r3.doctype.ownerDocument = r3, r3.appendChild(r3.doctype);
      var t3 = r3.createElement("html");
      r3.appendChild(t3);
      var n3 = r3.createElement("head");
      if (t3.appendChild(n3), "string" == typeof e3) {
        var o3 = r3.createElement("title");
        o3.appendChild(r3.createTextNode(e3)), n3.appendChild(o3);
      }
      t3.appendChild(r3.createElement("body"));
    }
    return r3;
  } }, $.prototype = { firstChild: null, lastChild: null, previousSibling: null, nextSibling: null, parentNode: null, get parentElement() {
    return this.parentNode && this.parentNode.nodeType === this.ELEMENT_NODE ? this.parentNode : null;
  }, childNodes: null, ownerDocument: null, nodeValue: null, namespaceURI: null, prefix: null, localName: null, baseURI: "about:blank", get isConnected() {
    var e3 = this.getRootNode();
    return e3 && e3.nodeType === e3.DOCUMENT_NODE;
  }, contains: function(e3) {
    if (!e3) return false;
    var r3 = e3;
    do {
      if (this === r3) return true;
      r3 = e3.parentNode;
    } while (r3);
    return false;
  }, getRootNode: function(e3) {
    var r3 = this;
    do {
      if (!r3.parentNode) return r3;
      r3 = r3.parentNode;
    } while (r3);
  }, isEqualNode: function(e3) {
    if (!e3) return false;
    if (this.nodeType !== e3.nodeType) return false;
    switch (this.nodeType) {
      case this.DOCUMENT_TYPE_NODE:
        if (this.name !== e3.name) return false;
        if (this.publicId !== e3.publicId) return false;
        if (this.systemId !== e3.systemId) return false;
        break;
      case this.ELEMENT_NODE:
        if (this.namespaceURI !== e3.namespaceURI) return false;
        if (this.prefix !== e3.prefix) return false;
        if (this.localName !== e3.localName) return false;
        if (this.attributes.length !== e3.attributes.length) return false;
        for (var r3 = 0; r3 < this.attributes.length; r3++) {
          var t3 = this.attributes.item(r3);
          if (!t3.isEqualNode(e3.getAttributeNodeNS(t3.namespaceURI, t3.localName))) return false;
        }
        break;
      case this.ATTRIBUTE_NODE:
        if (this.namespaceURI !== e3.namespaceURI) return false;
        if (this.localName !== e3.localName) return false;
        if (this.value !== e3.value) return false;
        break;
      case this.PROCESSING_INSTRUCTION_NODE:
        if (this.target !== e3.target || this.data !== e3.data) return false;
        break;
      case this.TEXT_NODE:
      case this.COMMENT_NODE:
        if (this.data !== e3.data) return false;
    }
    if (this.childNodes.length !== e3.childNodes.length) return false;
    for (r3 = 0; r3 < this.childNodes.length; r3++) if (!this.childNodes[r3].isEqualNode(e3.childNodes[r3])) return false;
    return true;
  }, isSameNode: function(e3) {
    return this === e3;
  }, insertBefore: function(e3, r3) {
    return de(this, e3, r3);
  }, replaceChild: function(e3, r3) {
    de(this, e3, r3, pe), r3 && this.removeChild(r3);
  }, removeChild: function(e3) {
    return ne(this, e3);
  }, appendChild: function(e3) {
    return this.insertBefore(e3, null);
  }, hasChildNodes: function() {
    return null != this.firstChild;
  }, cloneNode: function(e3) {
    return Re(this.ownerDocument || this, this, e3);
  }, normalize: function() {
    for (var e3 = this.firstChild; e3; ) {
      var r3 = e3.nextSibling;
      r3 && r3.nodeType == x && e3.nodeType == x ? (this.removeChild(r3), e3.appendData(r3.data)) : (e3.normalize(), e3 = r3);
    }
  }, isSupported: function(e3, r3) {
    return this.ownerDocument.implementation.hasFeature(e3, r3);
  }, lookupPrefix: function(e3) {
    for (var r3 = this; r3; ) {
      var t3 = r3._nsMap;
      if (t3) {
        for (var o3 in t3) if (n2(t3, o3) && t3[o3] === e3) return o3;
      }
      r3 = r3.nodeType == C ? r3.ownerDocument : r3.parentNode;
    }
    return null;
  }, lookupNamespaceURI: function(e3) {
    for (var r3 = this; r3; ) {
      var t3 = r3._nsMap;
      if (t3 && n2(t3, e3)) return t3[e3];
      r3 = r3.nodeType == C ? r3.ownerDocument : r3.parentNode;
    }
    return null;
  }, isDefaultNamespace: function(e3) {
    return null == this.lookupPrefix(e3);
  }, compareDocumentPosition: function(e3) {
    if (this === e3) return 0;
    var r3 = e3, t3 = this, n3 = null, o3 = null;
    if (r3 instanceof me && (r3 = (n3 = r3).ownerElement), t3 instanceof me && (t3 = (o3 = t3).ownerElement, n3 && r3 && t3 === r3)) for (var a2, i3 = 0; a2 = t3.attributes[i3]; i3++) {
      if (a2 === n3) return V.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC + V.DOCUMENT_POSITION_PRECEDING;
      if (a2 === o3) return V.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC + V.DOCUMENT_POSITION_FOLLOWING;
    }
    if (!r3 || !t3 || t3.ownerDocument !== r3.ownerDocument) return V.DOCUMENT_POSITION_DISCONNECTED + V.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC + (F(t3.ownerDocument) > F(r3.ownerDocument) ? V.DOCUMENT_POSITION_FOLLOWING : V.DOCUMENT_POSITION_PRECEDING);
    if (o3 && r3 === t3) return V.DOCUMENT_POSITION_CONTAINS + V.DOCUMENT_POSITION_PRECEDING;
    if (n3 && r3 === t3) return V.DOCUMENT_POSITION_CONTAINED_BY + V.DOCUMENT_POSITION_FOLLOWING;
    for (var s3 = [], l2 = r3.parentNode; l2; ) {
      if (!o3 && l2 === t3) return V.DOCUMENT_POSITION_CONTAINED_BY + V.DOCUMENT_POSITION_FOLLOWING;
      s3.push(l2), l2 = l2.parentNode;
    }
    s3.reverse();
    for (var c3 = [], u2 = t3.parentNode; u2; ) {
      if (!n3 && u2 === r3) return V.DOCUMENT_POSITION_CONTAINS + V.DOCUMENT_POSITION_PRECEDING;
      c3.push(u2), u2 = u2.parentNode;
    }
    c3.reverse();
    var p2 = B(s3, c3);
    for (var d3 in p2.childNodes) {
      var f2 = p2.childNodes[d3];
      if (f2 === t3) return V.DOCUMENT_POSITION_FOLLOWING;
      if (f2 === r3) return V.DOCUMENT_POSITION_PRECEDING;
      if (c3.indexOf(f2) >= 0) return V.DOCUMENT_POSITION_FOLLOWING;
      if (s3.indexOf(f2) >= 0) return V.DOCUMENT_POSITION_PRECEDING;
    }
    return 0;
  } }, S2(I, $), S2(I, $.prototype), S2(V, $), S2(V, $.prototype), ee.prototype = { implementation: null, nodeName: "#document", nodeType: U, doctype: null, documentElement: null, _inc: 1, insertBefore: function(e3, r3) {
    if (e3.nodeType === k) {
      for (var t3 = e3.firstChild; t3; ) {
        var n3 = t3.nextSibling;
        this.insertBefore(t3, r3), t3 = n3;
      }
      return e3;
    }
    return de(this, e3, r3), e3.ownerDocument = this, null === this.documentElement && e3.nodeType === O && (this.documentElement = e3), e3;
  }, removeChild: function(e3) {
    var r3 = ne(this, e3);
    return r3 === this.documentElement && (this.documentElement = null), r3;
  }, replaceChild: function(e3, r3) {
    de(this, e3, r3, pe), e3.ownerDocument = this, r3 && this.removeChild(r3), ae(e3) && (this.documentElement = e3);
  }, importNode: function(e3, r3) {
    return xe(this, e3, r3);
  }, getElementById: function(e3) {
    var r3 = null;
    return K(this.documentElement, function(t3) {
      if (t3.nodeType == O && t3.getAttribute("id") == e3) return r3 = t3, true;
    }), r3;
  }, createElement: function(e3) {
    var r3 = new fe(m2);
    return r3.ownerDocument = this, "html" === this.type && (e3 = e3.toLowerCase()), t2(this.contentType) && (r3.namespaceURI = d2.HTML), r3.nodeName = e3, r3.tagName = e3, r3.localName = e3, r3.childNodes = new G(), (r3.attributes = new z())._ownerElement = r3, r3;
  }, createDocumentFragment: function() {
    var e3 = new ye(m2);
    return e3.ownerDocument = this, e3.childNodes = new G(), e3;
  }, createTextNode: function(e3) {
    var r3 = new Ee(m2);
    return r3.ownerDocument = this, r3.childNodes = new G(), r3.appendData(e3), r3;
  }, createComment: function(e3) {
    var r3 = new ge(m2);
    return r3.ownerDocument = this, r3.childNodes = new G(), r3.appendData(e3), r3;
  }, createCDATASection: function(e3) {
    var r3 = new Ne(m2);
    return r3.ownerDocument = this, r3.childNodes = new G(), r3.appendData(e3), r3;
  }, createProcessingInstruction: function(e3, r3) {
    var t3 = new De(m2);
    return t3.ownerDocument = this, t3.childNodes = new G(), t3.nodeName = t3.target = e3, t3.nodeValue = t3.data = r3, t3;
  }, createAttribute: function(e3) {
    if (!N2.QName_exact.test(e3)) throw new E2(E2.INVALID_CHARACTER_ERR, 'invalid character in name "' + e3 + '"');
    return "html" === this.type && (e3 = e3.toLowerCase()), this._createAttribute(e3);
  }, _createAttribute: function(e3) {
    var r3 = new me(m2);
    return r3.ownerDocument = this, r3.childNodes = new G(), r3.name = e3, r3.nodeName = e3, r3.localName = e3, r3.specified = true, r3;
  }, createEntityReference: function(e3) {
    if (!N2.Name.test(e3)) throw new E2(E2.INVALID_CHARACTER_ERR, 'not a valid xml name "' + e3 + '"');
    if ("html" === this.type) throw new E2("document is an html document", g2.NotSupportedError);
    var r3 = new ve(m2);
    return r3.ownerDocument = this, r3.childNodes = new G(), r3.nodeName = e3, r3;
  }, createElementNS: function(e3, r3) {
    var t3 = D2(e3, r3), n3 = new fe(m2), o3 = n3.attributes = new z();
    return n3.childNodes = new G(), n3.ownerDocument = this, n3.nodeName = r3, n3.tagName = r3, n3.namespaceURI = t3[0], n3.prefix = t3[1], n3.localName = t3[2], o3._ownerElement = n3, n3;
  }, createAttributeNS: function(e3, r3) {
    var t3 = D2(e3, r3), n3 = new me(m2);
    return n3.ownerDocument = this, n3.childNodes = new G(), n3.nodeName = r3, n3.name = r3, n3.specified = true, n3.namespaceURI = t3[0], n3.prefix = t3[1], n3.localName = t3[2], n3;
  } }, A2(ee, $), fe.prototype = { nodeType: O, attributes: null, getQualifiedName: function() {
    return this.prefix ? this.prefix + ":" + this.localName : this.localName;
  }, _isInHTMLDocumentAndNamespace: function() {
    return "html" === this.ownerDocument.type && this.namespaceURI === d2.HTML;
  }, hasAttributes: function() {
    return !(!this.attributes || !this.attributes.length);
  }, hasAttribute: function(e3) {
    return !!this.getAttributeNode(e3);
  }, getAttribute: function(e3) {
    var r3 = this.getAttributeNode(e3);
    return r3 ? r3.value : null;
  }, getAttributeNode: function(e3) {
    return this._isInHTMLDocumentAndNamespace() && (e3 = e3.toLowerCase()), this.attributes.getNamedItem(e3);
  }, setAttribute: function(e3, r3) {
    this._isInHTMLDocumentAndNamespace() && (e3 = e3.toLowerCase());
    var t3 = this.getAttributeNode(e3);
    t3 ? t3.value = t3.nodeValue = "" + r3 : ((t3 = this.ownerDocument._createAttribute(e3)).value = t3.nodeValue = "" + r3, this.setAttributeNode(t3));
  }, removeAttribute: function(e3) {
    var r3 = this.getAttributeNode(e3);
    r3 && this.removeAttributeNode(r3);
  }, setAttributeNode: function(e3) {
    return this.attributes.setNamedItem(e3);
  }, setAttributeNodeNS: function(e3) {
    return this.attributes.setNamedItemNS(e3);
  }, removeAttributeNode: function(e3) {
    return this.attributes.removeNamedItem(e3.nodeName);
  }, removeAttributeNS: function(e3, r3) {
    var t3 = this.getAttributeNodeNS(e3, r3);
    t3 && this.removeAttributeNode(t3);
  }, hasAttributeNS: function(e3, r3) {
    return null != this.getAttributeNodeNS(e3, r3);
  }, getAttributeNS: function(e3, r3) {
    var t3 = this.getAttributeNodeNS(e3, r3);
    return t3 ? t3.value : null;
  }, setAttributeNS: function(e3, r3, t3) {
    var n3 = D2(e3, r3)[2], o3 = this.getAttributeNodeNS(e3, n3);
    o3 ? o3.value = o3.nodeValue = "" + t3 : ((o3 = this.ownerDocument.createAttributeNS(e3, r3)).value = o3.nodeValue = "" + t3, this.setAttributeNode(o3));
  }, getAttributeNodeNS: function(e3, r3) {
    return this.attributes.getNamedItemNS(e3, r3);
  }, getElementsByClassName: function(e3) {
    var r3 = v2(e3);
    return new Y(this, function(t3) {
      var n3 = [];
      return r3.length > 0 && K(t3, function(o3) {
        if (o3 !== t3 && o3.nodeType === O) {
          var a2 = o3.getAttribute("class");
          if (a2) {
            var i3 = e3 === a2;
            if (!i3) {
              var s3 = v2(a2);
              i3 = r3.every((l2 = s3, function(e4) {
                return l2 && -1 !== l2.indexOf(e4);
              }));
            }
            i3 && n3.push(o3);
          }
        }
        var l2;
      }), n3;
    });
  }, getElementsByTagName: function(e3) {
    var r3 = "html" === (this.nodeType === U ? this : this.ownerDocument).type, t3 = e3.toLowerCase();
    return new Y(this, function(n3) {
      var o3 = [];
      return K(n3, function(a2) {
        a2 !== n3 && a2.nodeType === O && (("*" === e3 || a2.getQualifiedName() === (r3 && a2.namespaceURI === d2.HTML ? t3 : e3)) && o3.push(a2));
      }), o3;
    });
  }, getElementsByTagNameNS: function(e3, r3) {
    return new Y(this, function(t3) {
      var n3 = [];
      return K(t3, function(o3) {
        o3 === t3 || o3.nodeType !== O || "*" !== e3 && o3.namespaceURI !== e3 || "*" !== r3 && o3.localName != r3 || n3.push(o3);
      }), n3;
    });
  } }, ee.prototype.getElementsByClassName = fe.prototype.getElementsByClassName, ee.prototype.getElementsByTagName = fe.prototype.getElementsByTagName, ee.prototype.getElementsByTagNameNS = fe.prototype.getElementsByTagNameNS, A2(fe, $), me.prototype.nodeType = C, A2(me, $), he.prototype = { data: "", substringData: function(e3, r3) {
    return this.data.substring(e3, e3 + r3);
  }, appendData: function(e3) {
    e3 = this.data + e3, this.nodeValue = this.data = e3, this.length = e3.length;
  }, insertData: function(e3, r3) {
    this.replaceData(e3, 0, r3);
  }, deleteData: function(e3, r3) {
    this.replaceData(e3, r3, "");
  }, replaceData: function(e3, r3, t3) {
    t3 = this.data.substring(0, e3) + t3 + this.data.substring(e3 + r3), this.nodeValue = this.data = t3, this.length = t3.length;
  } }, A2(he, $), Ee.prototype = { nodeName: "#text", nodeType: x, splitText: function(e3) {
    var r3 = this.data, t3 = r3.substring(e3);
    r3 = r3.substring(0, e3), this.data = this.nodeValue = r3, this.length = r3.length;
    var n3 = this.ownerDocument.createTextNode(t3);
    return this.parentNode && this.parentNode.insertBefore(n3, this.nextSibling), n3;
  } }, A2(Ee, he), ge.prototype = { nodeName: "#comment", nodeType: q }, A2(ge, he), Ne.prototype = { nodeName: "#cdata-section", nodeType: R }, A2(Ne, Ee), Te.prototype.nodeType = P, A2(Te, $), be.prototype.nodeType = H, A2(be, $), we.prototype.nodeType = L, A2(we, $), ve.prototype.nodeType = _, A2(ve, $), ye.prototype.nodeName = "#document-fragment", ye.prototype.nodeType = k, A2(ye, $), De.prototype.nodeType = M, A2(De, he), Se.prototype.serializeToString = function(e3, r3) {
    return Ae.call(e3, r3);
  }, $.prototype.toString = Ae;
  try {
    if (Object.defineProperty) {
      let Le = function(e3) {
        switch (e3.nodeType) {
          case O:
          case k:
            var r3 = [];
            for (e3 = e3.firstChild; e3; ) 7 !== e3.nodeType && 8 !== e3.nodeType && r3.push(Le(e3)), e3 = e3.nextSibling;
            return r3.join("");
          default:
            return e3.nodeValue;
        }
      };
      Object.defineProperty(Y.prototype, "length", { get: function() {
        return X(this), this.$$length;
      } }), Object.defineProperty($.prototype, "textContent", { get: function() {
        return Le(this);
      }, set: function(e3) {
        switch (this.nodeType) {
          case O:
          case k:
            for (; this.firstChild; ) this.removeChild(this.firstChild);
            (e3 || String(e3)) && this.appendChild(this.ownerDocument.createTextNode(e3));
            break;
          default:
            this.data = e3, this.value = e3, this.nodeValue = e3;
        }
      } }), _e = function(e3, r3, t3) {
        e3["$$" + r3] = t3;
      };
    }
  } catch (Me) {
  }
  return p._updateLiveList = X, p.Attr = me, p.CDATASection = Ne, p.CharacterData = he, p.Comment = ge, p.Document = ee, p.DocumentFragment = ye, p.DocumentType = Te, p.DOMImplementation = Z, p.Element = fe, p.Entity = we, p.EntityReference = ve, p.LiveNodeList = Y, p.NamedNodeMap = z, p.Node = $, p.NodeList = G, p.Notation = be, p.Text = Ee, p.ProcessingInstruction = De, p.XMLSerializer = Se, p;
}
var h, E = {}, g = {};
function N() {
  return h || (h = 1, e2 = g, r2 = a().freeze, e2.XML_ENTITIES = r2({ amp: "&", apos: "'", gt: ">", lt: "<", quot: '"' }), e2.HTML_ENTITIES = r2({ Aacute: "Á", aacute: "á", Abreve: "Ă", abreve: "ă", ac: "∾", acd: "∿", acE: "∾̳", Acirc: "Â", acirc: "â", acute: "´", Acy: "А", acy: "а", AElig: "Æ", aelig: "æ", af: "⁡", Afr: "𝔄", afr: "𝔞", Agrave: "À", agrave: "à", alefsym: "ℵ", aleph: "ℵ", Alpha: "Α", alpha: "α", Amacr: "Ā", amacr: "ā", amalg: "⨿", AMP: "&", amp: "&", And: "⩓", and: "∧", andand: "⩕", andd: "⩜", andslope: "⩘", andv: "⩚", ang: "∠", ange: "⦤", angle: "∠", angmsd: "∡", angmsdaa: "⦨", angmsdab: "⦩", angmsdac: "⦪", angmsdad: "⦫", angmsdae: "⦬", angmsdaf: "⦭", angmsdag: "⦮", angmsdah: "⦯", angrt: "∟", angrtvb: "⊾", angrtvbd: "⦝", angsph: "∢", angst: "Å", angzarr: "⍼", Aogon: "Ą", aogon: "ą", Aopf: "𝔸", aopf: "𝕒", ap: "≈", apacir: "⩯", apE: "⩰", ape: "≊", apid: "≋", apos: "'", ApplyFunction: "⁡", approx: "≈", approxeq: "≊", Aring: "Å", aring: "å", Ascr: "𝒜", ascr: "𝒶", Assign: "≔", ast: "*", asymp: "≈", asympeq: "≍", Atilde: "Ã", atilde: "ã", Auml: "Ä", auml: "ä", awconint: "∳", awint: "⨑", backcong: "≌", backepsilon: "϶", backprime: "‵", backsim: "∽", backsimeq: "⋍", Backslash: "∖", Barv: "⫧", barvee: "⊽", Barwed: "⌆", barwed: "⌅", barwedge: "⌅", bbrk: "⎵", bbrktbrk: "⎶", bcong: "≌", Bcy: "Б", bcy: "б", bdquo: "„", becaus: "∵", Because: "∵", because: "∵", bemptyv: "⦰", bepsi: "϶", bernou: "ℬ", Bernoullis: "ℬ", Beta: "Β", beta: "β", beth: "ℶ", between: "≬", Bfr: "𝔅", bfr: "𝔟", bigcap: "⋂", bigcirc: "◯", bigcup: "⋃", bigodot: "⨀", bigoplus: "⨁", bigotimes: "⨂", bigsqcup: "⨆", bigstar: "★", bigtriangledown: "▽", bigtriangleup: "△", biguplus: "⨄", bigvee: "⋁", bigwedge: "⋀", bkarow: "⤍", blacklozenge: "⧫", blacksquare: "▪", blacktriangle: "▴", blacktriangledown: "▾", blacktriangleleft: "◂", blacktriangleright: "▸", blank: "␣", blk12: "▒", blk14: "░", blk34: "▓", block: "█", bne: "=⃥", bnequiv: "≡⃥", bNot: "⫭", bnot: "⌐", Bopf: "𝔹", bopf: "𝕓", bot: "⊥", bottom: "⊥", bowtie: "⋈", boxbox: "⧉", boxDL: "╗", boxDl: "╖", boxdL: "╕", boxdl: "┐", boxDR: "╔", boxDr: "╓", boxdR: "╒", boxdr: "┌", boxH: "═", boxh: "─", boxHD: "╦", boxHd: "╤", boxhD: "╥", boxhd: "┬", boxHU: "╩", boxHu: "╧", boxhU: "╨", boxhu: "┴", boxminus: "⊟", boxplus: "⊞", boxtimes: "⊠", boxUL: "╝", boxUl: "╜", boxuL: "╛", boxul: "┘", boxUR: "╚", boxUr: "╙", boxuR: "╘", boxur: "└", boxV: "║", boxv: "│", boxVH: "╬", boxVh: "╫", boxvH: "╪", boxvh: "┼", boxVL: "╣", boxVl: "╢", boxvL: "╡", boxvl: "┤", boxVR: "╠", boxVr: "╟", boxvR: "╞", boxvr: "├", bprime: "‵", Breve: "˘", breve: "˘", brvbar: "¦", Bscr: "ℬ", bscr: "𝒷", bsemi: "⁏", bsim: "∽", bsime: "⋍", bsol: "\\", bsolb: "⧅", bsolhsub: "⟈", bull: "•", bullet: "•", bump: "≎", bumpE: "⪮", bumpe: "≏", Bumpeq: "≎", bumpeq: "≏", Cacute: "Ć", cacute: "ć", Cap: "⋒", cap: "∩", capand: "⩄", capbrcup: "⩉", capcap: "⩋", capcup: "⩇", capdot: "⩀", CapitalDifferentialD: "ⅅ", caps: "∩︀", caret: "⁁", caron: "ˇ", Cayleys: "ℭ", ccaps: "⩍", Ccaron: "Č", ccaron: "č", Ccedil: "Ç", ccedil: "ç", Ccirc: "Ĉ", ccirc: "ĉ", Cconint: "∰", ccups: "⩌", ccupssm: "⩐", Cdot: "Ċ", cdot: "ċ", cedil: "¸", Cedilla: "¸", cemptyv: "⦲", cent: "¢", CenterDot: "·", centerdot: "·", Cfr: "ℭ", cfr: "𝔠", CHcy: "Ч", chcy: "ч", check: "✓", checkmark: "✓", Chi: "Χ", chi: "χ", cir: "○", circ: "ˆ", circeq: "≗", circlearrowleft: "↺", circlearrowright: "↻", circledast: "⊛", circledcirc: "⊚", circleddash: "⊝", CircleDot: "⊙", circledR: "®", circledS: "Ⓢ", CircleMinus: "⊖", CirclePlus: "⊕", CircleTimes: "⊗", cirE: "⧃", cire: "≗", cirfnint: "⨐", cirmid: "⫯", cirscir: "⧂", ClockwiseContourIntegral: "∲", CloseCurlyDoubleQuote: "”", CloseCurlyQuote: "’", clubs: "♣", clubsuit: "♣", Colon: "∷", colon: ":", Colone: "⩴", colone: "≔", coloneq: "≔", comma: ",", commat: "@", comp: "∁", compfn: "∘", complement: "∁", complexes: "ℂ", cong: "≅", congdot: "⩭", Congruent: "≡", Conint: "∯", conint: "∮", ContourIntegral: "∮", Copf: "ℂ", copf: "𝕔", coprod: "∐", Coproduct: "∐", COPY: "©", copy: "©", copysr: "℗", CounterClockwiseContourIntegral: "∳", crarr: "↵", Cross: "⨯", cross: "✗", Cscr: "𝒞", cscr: "𝒸", csub: "⫏", csube: "⫑", csup: "⫐", csupe: "⫒", ctdot: "⋯", cudarrl: "⤸", cudarrr: "⤵", cuepr: "⋞", cuesc: "⋟", cularr: "↶", cularrp: "⤽", Cup: "⋓", cup: "∪", cupbrcap: "⩈", CupCap: "≍", cupcap: "⩆", cupcup: "⩊", cupdot: "⊍", cupor: "⩅", cups: "∪︀", curarr: "↷", curarrm: "⤼", curlyeqprec: "⋞", curlyeqsucc: "⋟", curlyvee: "⋎", curlywedge: "⋏", curren: "¤", curvearrowleft: "↶", curvearrowright: "↷", cuvee: "⋎", cuwed: "⋏", cwconint: "∲", cwint: "∱", cylcty: "⌭", Dagger: "‡", dagger: "†", daleth: "ℸ", Darr: "↡", dArr: "⇓", darr: "↓", dash: "‐", Dashv: "⫤", dashv: "⊣", dbkarow: "⤏", dblac: "˝", Dcaron: "Ď", dcaron: "ď", Dcy: "Д", dcy: "д", DD: "ⅅ", dd: "ⅆ", ddagger: "‡", ddarr: "⇊", DDotrahd: "⤑", ddotseq: "⩷", deg: "°", Del: "∇", Delta: "Δ", delta: "δ", demptyv: "⦱", dfisht: "⥿", Dfr: "𝔇", dfr: "𝔡", dHar: "⥥", dharl: "⇃", dharr: "⇂", DiacriticalAcute: "´", DiacriticalDot: "˙", DiacriticalDoubleAcute: "˝", DiacriticalGrave: "`", DiacriticalTilde: "˜", diam: "⋄", Diamond: "⋄", diamond: "⋄", diamondsuit: "♦", diams: "♦", die: "¨", DifferentialD: "ⅆ", digamma: "ϝ", disin: "⋲", div: "÷", divide: "÷", divideontimes: "⋇", divonx: "⋇", DJcy: "Ђ", djcy: "ђ", dlcorn: "⌞", dlcrop: "⌍", dollar: "$", Dopf: "𝔻", dopf: "𝕕", Dot: "¨", dot: "˙", DotDot: "⃜", doteq: "≐", doteqdot: "≑", DotEqual: "≐", dotminus: "∸", dotplus: "∔", dotsquare: "⊡", doublebarwedge: "⌆", DoubleContourIntegral: "∯", DoubleDot: "¨", DoubleDownArrow: "⇓", DoubleLeftArrow: "⇐", DoubleLeftRightArrow: "⇔", DoubleLeftTee: "⫤", DoubleLongLeftArrow: "⟸", DoubleLongLeftRightArrow: "⟺", DoubleLongRightArrow: "⟹", DoubleRightArrow: "⇒", DoubleRightTee: "⊨", DoubleUpArrow: "⇑", DoubleUpDownArrow: "⇕", DoubleVerticalBar: "∥", DownArrow: "↓", Downarrow: "⇓", downarrow: "↓", DownArrowBar: "⤓", DownArrowUpArrow: "⇵", DownBreve: "̑", downdownarrows: "⇊", downharpoonleft: "⇃", downharpoonright: "⇂", DownLeftRightVector: "⥐", DownLeftTeeVector: "⥞", DownLeftVector: "↽", DownLeftVectorBar: "⥖", DownRightTeeVector: "⥟", DownRightVector: "⇁", DownRightVectorBar: "⥗", DownTee: "⊤", DownTeeArrow: "↧", drbkarow: "⤐", drcorn: "⌟", drcrop: "⌌", Dscr: "𝒟", dscr: "𝒹", DScy: "Ѕ", dscy: "ѕ", dsol: "⧶", Dstrok: "Đ", dstrok: "đ", dtdot: "⋱", dtri: "▿", dtrif: "▾", duarr: "⇵", duhar: "⥯", dwangle: "⦦", DZcy: "Џ", dzcy: "џ", dzigrarr: "⟿", Eacute: "É", eacute: "é", easter: "⩮", Ecaron: "Ě", ecaron: "ě", ecir: "≖", Ecirc: "Ê", ecirc: "ê", ecolon: "≕", Ecy: "Э", ecy: "э", eDDot: "⩷", Edot: "Ė", eDot: "≑", edot: "ė", ee: "ⅇ", efDot: "≒", Efr: "𝔈", efr: "𝔢", eg: "⪚", Egrave: "È", egrave: "è", egs: "⪖", egsdot: "⪘", el: "⪙", Element: "∈", elinters: "⏧", ell: "ℓ", els: "⪕", elsdot: "⪗", Emacr: "Ē", emacr: "ē", empty: "∅", emptyset: "∅", EmptySmallSquare: "◻", emptyv: "∅", EmptyVerySmallSquare: "▫", emsp: " ", emsp13: " ", emsp14: " ", ENG: "Ŋ", eng: "ŋ", ensp: " ", Eogon: "Ę", eogon: "ę", Eopf: "𝔼", eopf: "𝕖", epar: "⋕", eparsl: "⧣", eplus: "⩱", epsi: "ε", Epsilon: "Ε", epsilon: "ε", epsiv: "ϵ", eqcirc: "≖", eqcolon: "≕", eqsim: "≂", eqslantgtr: "⪖", eqslantless: "⪕", Equal: "⩵", equals: "=", EqualTilde: "≂", equest: "≟", Equilibrium: "⇌", equiv: "≡", equivDD: "⩸", eqvparsl: "⧥", erarr: "⥱", erDot: "≓", Escr: "ℰ", escr: "ℯ", esdot: "≐", Esim: "⩳", esim: "≂", Eta: "Η", eta: "η", ETH: "Ð", eth: "ð", Euml: "Ë", euml: "ë", euro: "€", excl: "!", exist: "∃", Exists: "∃", expectation: "ℰ", ExponentialE: "ⅇ", exponentiale: "ⅇ", fallingdotseq: "≒", Fcy: "Ф", fcy: "ф", female: "♀", ffilig: "ffi", fflig: "ff", ffllig: "ffl", Ffr: "𝔉", ffr: "𝔣", filig: "fi", FilledSmallSquare: "◼", FilledVerySmallSquare: "▪", fjlig: "fj", flat: "♭", fllig: "fl", fltns: "▱", fnof: "ƒ", Fopf: "𝔽", fopf: "𝕗", ForAll: "∀", forall: "∀", fork: "⋔", forkv: "⫙", Fouriertrf: "ℱ", fpartint: "⨍", frac12: "½", frac13: "⅓", frac14: "¼", frac15: "⅕", frac16: "⅙", frac18: "⅛", frac23: "⅔", frac25: "⅖", frac34: "¾", frac35: "⅗", frac38: "⅜", frac45: "⅘", frac56: "⅚", frac58: "⅝", frac78: "⅞", frasl: "⁄", frown: "⌢", Fscr: "ℱ", fscr: "𝒻", gacute: "ǵ", Gamma: "Γ", gamma: "γ", Gammad: "Ϝ", gammad: "ϝ", gap: "⪆", Gbreve: "Ğ", gbreve: "ğ", Gcedil: "Ģ", Gcirc: "Ĝ", gcirc: "ĝ", Gcy: "Г", gcy: "г", Gdot: "Ġ", gdot: "ġ", gE: "≧", ge: "≥", gEl: "⪌", gel: "⋛", geq: "≥", geqq: "≧", geqslant: "⩾", ges: "⩾", gescc: "⪩", gesdot: "⪀", gesdoto: "⪂", gesdotol: "⪄", gesl: "⋛︀", gesles: "⪔", Gfr: "𝔊", gfr: "𝔤", Gg: "⋙", gg: "≫", ggg: "⋙", gimel: "ℷ", GJcy: "Ѓ", gjcy: "ѓ", gl: "≷", gla: "⪥", glE: "⪒", glj: "⪤", gnap: "⪊", gnapprox: "⪊", gnE: "≩", gne: "⪈", gneq: "⪈", gneqq: "≩", gnsim: "⋧", Gopf: "𝔾", gopf: "𝕘", grave: "`", GreaterEqual: "≥", GreaterEqualLess: "⋛", GreaterFullEqual: "≧", GreaterGreater: "⪢", GreaterLess: "≷", GreaterSlantEqual: "⩾", GreaterTilde: "≳", Gscr: "𝒢", gscr: "ℊ", gsim: "≳", gsime: "⪎", gsiml: "⪐", Gt: "≫", GT: ">", gt: ">", gtcc: "⪧", gtcir: "⩺", gtdot: "⋗", gtlPar: "⦕", gtquest: "⩼", gtrapprox: "⪆", gtrarr: "⥸", gtrdot: "⋗", gtreqless: "⋛", gtreqqless: "⪌", gtrless: "≷", gtrsim: "≳", gvertneqq: "≩︀", gvnE: "≩︀", Hacek: "ˇ", hairsp: " ", half: "½", hamilt: "ℋ", HARDcy: "Ъ", hardcy: "ъ", hArr: "⇔", harr: "↔", harrcir: "⥈", harrw: "↭", Hat: "^", hbar: "ℏ", Hcirc: "Ĥ", hcirc: "ĥ", hearts: "♥", heartsuit: "♥", hellip: "…", hercon: "⊹", Hfr: "ℌ", hfr: "𝔥", HilbertSpace: "ℋ", hksearow: "⤥", hkswarow: "⤦", hoarr: "⇿", homtht: "∻", hookleftarrow: "↩", hookrightarrow: "↪", Hopf: "ℍ", hopf: "𝕙", horbar: "―", HorizontalLine: "─", Hscr: "ℋ", hscr: "𝒽", hslash: "ℏ", Hstrok: "Ħ", hstrok: "ħ", HumpDownHump: "≎", HumpEqual: "≏", hybull: "⁃", hyphen: "‐", Iacute: "Í", iacute: "í", ic: "⁣", Icirc: "Î", icirc: "î", Icy: "И", icy: "и", Idot: "İ", IEcy: "Е", iecy: "е", iexcl: "¡", iff: "⇔", Ifr: "ℑ", ifr: "𝔦", Igrave: "Ì", igrave: "ì", ii: "ⅈ", iiiint: "⨌", iiint: "∭", iinfin: "⧜", iiota: "℩", IJlig: "IJ", ijlig: "ij", Im: "ℑ", Imacr: "Ī", imacr: "ī", image: "ℑ", ImaginaryI: "ⅈ", imagline: "ℐ", imagpart: "ℑ", imath: "ı", imof: "⊷", imped: "Ƶ", Implies: "⇒", in: "∈", incare: "℅", infin: "∞", infintie: "⧝", inodot: "ı", Int: "∬", int: "∫", intcal: "⊺", integers: "ℤ", Integral: "∫", intercal: "⊺", Intersection: "⋂", intlarhk: "⨗", intprod: "⨼", InvisibleComma: "⁣", InvisibleTimes: "⁢", IOcy: "Ё", iocy: "ё", Iogon: "Į", iogon: "į", Iopf: "𝕀", iopf: "𝕚", Iota: "Ι", iota: "ι", iprod: "⨼", iquest: "¿", Iscr: "ℐ", iscr: "𝒾", isin: "∈", isindot: "⋵", isinE: "⋹", isins: "⋴", isinsv: "⋳", isinv: "∈", it: "⁢", Itilde: "Ĩ", itilde: "ĩ", Iukcy: "І", iukcy: "і", Iuml: "Ï", iuml: "ï", Jcirc: "Ĵ", jcirc: "ĵ", Jcy: "Й", jcy: "й", Jfr: "𝔍", jfr: "𝔧", jmath: "ȷ", Jopf: "𝕁", jopf: "𝕛", Jscr: "𝒥", jscr: "𝒿", Jsercy: "Ј", jsercy: "ј", Jukcy: "Є", jukcy: "є", Kappa: "Κ", kappa: "κ", kappav: "ϰ", Kcedil: "Ķ", kcedil: "ķ", Kcy: "К", kcy: "к", Kfr: "𝔎", kfr: "𝔨", kgreen: "ĸ", KHcy: "Х", khcy: "х", KJcy: "Ќ", kjcy: "ќ", Kopf: "𝕂", kopf: "𝕜", Kscr: "𝒦", kscr: "𝓀", lAarr: "⇚", Lacute: "Ĺ", lacute: "ĺ", laemptyv: "⦴", lagran: "ℒ", Lambda: "Λ", lambda: "λ", Lang: "⟪", lang: "⟨", langd: "⦑", langle: "⟨", lap: "⪅", Laplacetrf: "ℒ", laquo: "«", Larr: "↞", lArr: "⇐", larr: "←", larrb: "⇤", larrbfs: "⤟", larrfs: "⤝", larrhk: "↩", larrlp: "↫", larrpl: "⤹", larrsim: "⥳", larrtl: "↢", lat: "⪫", lAtail: "⤛", latail: "⤙", late: "⪭", lates: "⪭︀", lBarr: "⤎", lbarr: "⤌", lbbrk: "❲", lbrace: "{", lbrack: "[", lbrke: "⦋", lbrksld: "⦏", lbrkslu: "⦍", Lcaron: "Ľ", lcaron: "ľ", Lcedil: "Ļ", lcedil: "ļ", lceil: "⌈", lcub: "{", Lcy: "Л", lcy: "л", ldca: "⤶", ldquo: "“", ldquor: "„", ldrdhar: "⥧", ldrushar: "⥋", ldsh: "↲", lE: "≦", le: "≤", LeftAngleBracket: "⟨", LeftArrow: "←", Leftarrow: "⇐", leftarrow: "←", LeftArrowBar: "⇤", LeftArrowRightArrow: "⇆", leftarrowtail: "↢", LeftCeiling: "⌈", LeftDoubleBracket: "⟦", LeftDownTeeVector: "⥡", LeftDownVector: "⇃", LeftDownVectorBar: "⥙", LeftFloor: "⌊", leftharpoondown: "↽", leftharpoonup: "↼", leftleftarrows: "⇇", LeftRightArrow: "↔", Leftrightarrow: "⇔", leftrightarrow: "↔", leftrightarrows: "⇆", leftrightharpoons: "⇋", leftrightsquigarrow: "↭", LeftRightVector: "⥎", LeftTee: "⊣", LeftTeeArrow: "↤", LeftTeeVector: "⥚", leftthreetimes: "⋋", LeftTriangle: "⊲", LeftTriangleBar: "⧏", LeftTriangleEqual: "⊴", LeftUpDownVector: "⥑", LeftUpTeeVector: "⥠", LeftUpVector: "↿", LeftUpVectorBar: "⥘", LeftVector: "↼", LeftVectorBar: "⥒", lEg: "⪋", leg: "⋚", leq: "≤", leqq: "≦", leqslant: "⩽", les: "⩽", lescc: "⪨", lesdot: "⩿", lesdoto: "⪁", lesdotor: "⪃", lesg: "⋚︀", lesges: "⪓", lessapprox: "⪅", lessdot: "⋖", lesseqgtr: "⋚", lesseqqgtr: "⪋", LessEqualGreater: "⋚", LessFullEqual: "≦", LessGreater: "≶", lessgtr: "≶", LessLess: "⪡", lesssim: "≲", LessSlantEqual: "⩽", LessTilde: "≲", lfisht: "⥼", lfloor: "⌊", Lfr: "𝔏", lfr: "𝔩", lg: "≶", lgE: "⪑", lHar: "⥢", lhard: "↽", lharu: "↼", lharul: "⥪", lhblk: "▄", LJcy: "Љ", ljcy: "љ", Ll: "⋘", ll: "≪", llarr: "⇇", llcorner: "⌞", Lleftarrow: "⇚", llhard: "⥫", lltri: "◺", Lmidot: "Ŀ", lmidot: "ŀ", lmoust: "⎰", lmoustache: "⎰", lnap: "⪉", lnapprox: "⪉", lnE: "≨", lne: "⪇", lneq: "⪇", lneqq: "≨", lnsim: "⋦", loang: "⟬", loarr: "⇽", lobrk: "⟦", LongLeftArrow: "⟵", Longleftarrow: "⟸", longleftarrow: "⟵", LongLeftRightArrow: "⟷", Longleftrightarrow: "⟺", longleftrightarrow: "⟷", longmapsto: "⟼", LongRightArrow: "⟶", Longrightarrow: "⟹", longrightarrow: "⟶", looparrowleft: "↫", looparrowright: "↬", lopar: "⦅", Lopf: "𝕃", lopf: "𝕝", loplus: "⨭", lotimes: "⨴", lowast: "∗", lowbar: "_", LowerLeftArrow: "↙", LowerRightArrow: "↘", loz: "◊", lozenge: "◊", lozf: "⧫", lpar: "(", lparlt: "⦓", lrarr: "⇆", lrcorner: "⌟", lrhar: "⇋", lrhard: "⥭", lrm: "‎", lrtri: "⊿", lsaquo: "‹", Lscr: "ℒ", lscr: "𝓁", Lsh: "↰", lsh: "↰", lsim: "≲", lsime: "⪍", lsimg: "⪏", lsqb: "[", lsquo: "‘", lsquor: "‚", Lstrok: "Ł", lstrok: "ł", Lt: "≪", LT: "<", lt: "<", ltcc: "⪦", ltcir: "⩹", ltdot: "⋖", lthree: "⋋", ltimes: "⋉", ltlarr: "⥶", ltquest: "⩻", ltri: "◃", ltrie: "⊴", ltrif: "◂", ltrPar: "⦖", lurdshar: "⥊", luruhar: "⥦", lvertneqq: "≨︀", lvnE: "≨︀", macr: "¯", male: "♂", malt: "✠", maltese: "✠", Map: "⤅", map: "↦", mapsto: "↦", mapstodown: "↧", mapstoleft: "↤", mapstoup: "↥", marker: "▮", mcomma: "⨩", Mcy: "М", mcy: "м", mdash: "—", mDDot: "∺", measuredangle: "∡", MediumSpace: " ", Mellintrf: "ℳ", Mfr: "𝔐", mfr: "𝔪", mho: "℧", micro: "µ", mid: "∣", midast: "*", midcir: "⫰", middot: "·", minus: "−", minusb: "⊟", minusd: "∸", minusdu: "⨪", MinusPlus: "∓", mlcp: "⫛", mldr: "…", mnplus: "∓", models: "⊧", Mopf: "𝕄", mopf: "𝕞", mp: "∓", Mscr: "ℳ", mscr: "𝓂", mstpos: "∾", Mu: "Μ", mu: "μ", multimap: "⊸", mumap: "⊸", nabla: "∇", Nacute: "Ń", nacute: "ń", nang: "∠⃒", nap: "≉", napE: "⩰̸", napid: "≋̸", napos: "ʼn", napprox: "≉", natur: "♮", natural: "♮", naturals: "ℕ", nbsp: " ", nbump: "≎̸", nbumpe: "≏̸", ncap: "⩃", Ncaron: "Ň", ncaron: "ň", Ncedil: "Ņ", ncedil: "ņ", ncong: "≇", ncongdot: "⩭̸", ncup: "⩂", Ncy: "Н", ncy: "н", ndash: "–", ne: "≠", nearhk: "⤤", neArr: "⇗", nearr: "↗", nearrow: "↗", nedot: "≐̸", NegativeMediumSpace: "​", NegativeThickSpace: "​", NegativeThinSpace: "​", NegativeVeryThinSpace: "​", nequiv: "≢", nesear: "⤨", nesim: "≂̸", NestedGreaterGreater: "≫", NestedLessLess: "≪", NewLine: "\n", nexist: "∄", nexists: "∄", Nfr: "𝔑", nfr: "𝔫", ngE: "≧̸", nge: "≱", ngeq: "≱", ngeqq: "≧̸", ngeqslant: "⩾̸", nges: "⩾̸", nGg: "⋙̸", ngsim: "≵", nGt: "≫⃒", ngt: "≯", ngtr: "≯", nGtv: "≫̸", nhArr: "⇎", nharr: "↮", nhpar: "⫲", ni: "∋", nis: "⋼", nisd: "⋺", niv: "∋", NJcy: "Њ", njcy: "њ", nlArr: "⇍", nlarr: "↚", nldr: "‥", nlE: "≦̸", nle: "≰", nLeftarrow: "⇍", nleftarrow: "↚", nLeftrightarrow: "⇎", nleftrightarrow: "↮", nleq: "≰", nleqq: "≦̸", nleqslant: "⩽̸", nles: "⩽̸", nless: "≮", nLl: "⋘̸", nlsim: "≴", nLt: "≪⃒", nlt: "≮", nltri: "⋪", nltrie: "⋬", nLtv: "≪̸", nmid: "∤", NoBreak: "⁠", NonBreakingSpace: " ", Nopf: "ℕ", nopf: "𝕟", Not: "⫬", not: "¬", NotCongruent: "≢", NotCupCap: "≭", NotDoubleVerticalBar: "∦", NotElement: "∉", NotEqual: "≠", NotEqualTilde: "≂̸", NotExists: "∄", NotGreater: "≯", NotGreaterEqual: "≱", NotGreaterFullEqual: "≧̸", NotGreaterGreater: "≫̸", NotGreaterLess: "≹", NotGreaterSlantEqual: "⩾̸", NotGreaterTilde: "≵", NotHumpDownHump: "≎̸", NotHumpEqual: "≏̸", notin: "∉", notindot: "⋵̸", notinE: "⋹̸", notinva: "∉", notinvb: "⋷", notinvc: "⋶", NotLeftTriangle: "⋪", NotLeftTriangleBar: "⧏̸", NotLeftTriangleEqual: "⋬", NotLess: "≮", NotLessEqual: "≰", NotLessGreater: "≸", NotLessLess: "≪̸", NotLessSlantEqual: "⩽̸", NotLessTilde: "≴", NotNestedGreaterGreater: "⪢̸", NotNestedLessLess: "⪡̸", notni: "∌", notniva: "∌", notnivb: "⋾", notnivc: "⋽", NotPrecedes: "⊀", NotPrecedesEqual: "⪯̸", NotPrecedesSlantEqual: "⋠", NotReverseElement: "∌", NotRightTriangle: "⋫", NotRightTriangleBar: "⧐̸", NotRightTriangleEqual: "⋭", NotSquareSubset: "⊏̸", NotSquareSubsetEqual: "⋢", NotSquareSuperset: "⊐̸", NotSquareSupersetEqual: "⋣", NotSubset: "⊂⃒", NotSubsetEqual: "⊈", NotSucceeds: "⊁", NotSucceedsEqual: "⪰̸", NotSucceedsSlantEqual: "⋡", NotSucceedsTilde: "≿̸", NotSuperset: "⊃⃒", NotSupersetEqual: "⊉", NotTilde: "≁", NotTildeEqual: "≄", NotTildeFullEqual: "≇", NotTildeTilde: "≉", NotVerticalBar: "∤", npar: "∦", nparallel: "∦", nparsl: "⫽⃥", npart: "∂̸", npolint: "⨔", npr: "⊀", nprcue: "⋠", npre: "⪯̸", nprec: "⊀", npreceq: "⪯̸", nrArr: "⇏", nrarr: "↛", nrarrc: "⤳̸", nrarrw: "↝̸", nRightarrow: "⇏", nrightarrow: "↛", nrtri: "⋫", nrtrie: "⋭", nsc: "⊁", nsccue: "⋡", nsce: "⪰̸", Nscr: "𝒩", nscr: "𝓃", nshortmid: "∤", nshortparallel: "∦", nsim: "≁", nsime: "≄", nsimeq: "≄", nsmid: "∤", nspar: "∦", nsqsube: "⋢", nsqsupe: "⋣", nsub: "⊄", nsubE: "⫅̸", nsube: "⊈", nsubset: "⊂⃒", nsubseteq: "⊈", nsubseteqq: "⫅̸", nsucc: "⊁", nsucceq: "⪰̸", nsup: "⊅", nsupE: "⫆̸", nsupe: "⊉", nsupset: "⊃⃒", nsupseteq: "⊉", nsupseteqq: "⫆̸", ntgl: "≹", Ntilde: "Ñ", ntilde: "ñ", ntlg: "≸", ntriangleleft: "⋪", ntrianglelefteq: "⋬", ntriangleright: "⋫", ntrianglerighteq: "⋭", Nu: "Ν", nu: "ν", num: "#", numero: "№", numsp: " ", nvap: "≍⃒", nVDash: "⊯", nVdash: "⊮", nvDash: "⊭", nvdash: "⊬", nvge: "≥⃒", nvgt: ">⃒", nvHarr: "⤄", nvinfin: "⧞", nvlArr: "⤂", nvle: "≤⃒", nvlt: "<⃒", nvltrie: "⊴⃒", nvrArr: "⤃", nvrtrie: "⊵⃒", nvsim: "∼⃒", nwarhk: "⤣", nwArr: "⇖", nwarr: "↖", nwarrow: "↖", nwnear: "⤧", Oacute: "Ó", oacute: "ó", oast: "⊛", ocir: "⊚", Ocirc: "Ô", ocirc: "ô", Ocy: "О", ocy: "о", odash: "⊝", Odblac: "Ő", odblac: "ő", odiv: "⨸", odot: "⊙", odsold: "⦼", OElig: "Œ", oelig: "œ", ofcir: "⦿", Ofr: "𝔒", ofr: "𝔬", ogon: "˛", Ograve: "Ò", ograve: "ò", ogt: "⧁", ohbar: "⦵", ohm: "Ω", oint: "∮", olarr: "↺", olcir: "⦾", olcross: "⦻", oline: "‾", olt: "⧀", Omacr: "Ō", omacr: "ō", Omega: "Ω", omega: "ω", Omicron: "Ο", omicron: "ο", omid: "⦶", ominus: "⊖", Oopf: "𝕆", oopf: "𝕠", opar: "⦷", OpenCurlyDoubleQuote: "“", OpenCurlyQuote: "‘", operp: "⦹", oplus: "⊕", Or: "⩔", or: "∨", orarr: "↻", ord: "⩝", order: "ℴ", orderof: "ℴ", ordf: "ª", ordm: "º", origof: "⊶", oror: "⩖", orslope: "⩗", orv: "⩛", oS: "Ⓢ", Oscr: "𝒪", oscr: "ℴ", Oslash: "Ø", oslash: "ø", osol: "⊘", Otilde: "Õ", otilde: "õ", Otimes: "⨷", otimes: "⊗", otimesas: "⨶", Ouml: "Ö", ouml: "ö", ovbar: "⌽", OverBar: "‾", OverBrace: "⏞", OverBracket: "⎴", OverParenthesis: "⏜", par: "∥", para: "¶", parallel: "∥", parsim: "⫳", parsl: "⫽", part: "∂", PartialD: "∂", Pcy: "П", pcy: "п", percnt: "%", period: ".", permil: "‰", perp: "⊥", pertenk: "‱", Pfr: "𝔓", pfr: "𝔭", Phi: "Φ", phi: "φ", phiv: "ϕ", phmmat: "ℳ", phone: "☎", Pi: "Π", pi: "π", pitchfork: "⋔", piv: "ϖ", planck: "ℏ", planckh: "ℎ", plankv: "ℏ", plus: "+", plusacir: "⨣", plusb: "⊞", pluscir: "⨢", plusdo: "∔", plusdu: "⨥", pluse: "⩲", PlusMinus: "±", plusmn: "±", plussim: "⨦", plustwo: "⨧", pm: "±", Poincareplane: "ℌ", pointint: "⨕", Popf: "ℙ", popf: "𝕡", pound: "£", Pr: "⪻", pr: "≺", prap: "⪷", prcue: "≼", prE: "⪳", pre: "⪯", prec: "≺", precapprox: "⪷", preccurlyeq: "≼", Precedes: "≺", PrecedesEqual: "⪯", PrecedesSlantEqual: "≼", PrecedesTilde: "≾", preceq: "⪯", precnapprox: "⪹", precneqq: "⪵", precnsim: "⋨", precsim: "≾", Prime: "″", prime: "′", primes: "ℙ", prnap: "⪹", prnE: "⪵", prnsim: "⋨", prod: "∏", Product: "∏", profalar: "⌮", profline: "⌒", profsurf: "⌓", prop: "∝", Proportion: "∷", Proportional: "∝", propto: "∝", prsim: "≾", prurel: "⊰", Pscr: "𝒫", pscr: "𝓅", Psi: "Ψ", psi: "ψ", puncsp: " ", Qfr: "𝔔", qfr: "𝔮", qint: "⨌", Qopf: "ℚ", qopf: "𝕢", qprime: "⁗", Qscr: "𝒬", qscr: "𝓆", quaternions: "ℍ", quatint: "⨖", quest: "?", questeq: "≟", QUOT: '"', quot: '"', rAarr: "⇛", race: "∽̱", Racute: "Ŕ", racute: "ŕ", radic: "√", raemptyv: "⦳", Rang: "⟫", rang: "⟩", rangd: "⦒", range: "⦥", rangle: "⟩", raquo: "»", Rarr: "↠", rArr: "⇒", rarr: "→", rarrap: "⥵", rarrb: "⇥", rarrbfs: "⤠", rarrc: "⤳", rarrfs: "⤞", rarrhk: "↪", rarrlp: "↬", rarrpl: "⥅", rarrsim: "⥴", Rarrtl: "⤖", rarrtl: "↣", rarrw: "↝", rAtail: "⤜", ratail: "⤚", ratio: "∶", rationals: "ℚ", RBarr: "⤐", rBarr: "⤏", rbarr: "⤍", rbbrk: "❳", rbrace: "}", rbrack: "]", rbrke: "⦌", rbrksld: "⦎", rbrkslu: "⦐", Rcaron: "Ř", rcaron: "ř", Rcedil: "Ŗ", rcedil: "ŗ", rceil: "⌉", rcub: "}", Rcy: "Р", rcy: "р", rdca: "⤷", rdldhar: "⥩", rdquo: "”", rdquor: "”", rdsh: "↳", Re: "ℜ", real: "ℜ", realine: "ℛ", realpart: "ℜ", reals: "ℝ", rect: "▭", REG: "®", reg: "®", ReverseElement: "∋", ReverseEquilibrium: "⇋", ReverseUpEquilibrium: "⥯", rfisht: "⥽", rfloor: "⌋", Rfr: "ℜ", rfr: "𝔯", rHar: "⥤", rhard: "⇁", rharu: "⇀", rharul: "⥬", Rho: "Ρ", rho: "ρ", rhov: "ϱ", RightAngleBracket: "⟩", RightArrow: "→", Rightarrow: "⇒", rightarrow: "→", RightArrowBar: "⇥", RightArrowLeftArrow: "⇄", rightarrowtail: "↣", RightCeiling: "⌉", RightDoubleBracket: "⟧", RightDownTeeVector: "⥝", RightDownVector: "⇂", RightDownVectorBar: "⥕", RightFloor: "⌋", rightharpoondown: "⇁", rightharpoonup: "⇀", rightleftarrows: "⇄", rightleftharpoons: "⇌", rightrightarrows: "⇉", rightsquigarrow: "↝", RightTee: "⊢", RightTeeArrow: "↦", RightTeeVector: "⥛", rightthreetimes: "⋌", RightTriangle: "⊳", RightTriangleBar: "⧐", RightTriangleEqual: "⊵", RightUpDownVector: "⥏", RightUpTeeVector: "⥜", RightUpVector: "↾", RightUpVectorBar: "⥔", RightVector: "⇀", RightVectorBar: "⥓", ring: "˚", risingdotseq: "≓", rlarr: "⇄", rlhar: "⇌", rlm: "‏", rmoust: "⎱", rmoustache: "⎱", rnmid: "⫮", roang: "⟭", roarr: "⇾", robrk: "⟧", ropar: "⦆", Ropf: "ℝ", ropf: "𝕣", roplus: "⨮", rotimes: "⨵", RoundImplies: "⥰", rpar: ")", rpargt: "⦔", rppolint: "⨒", rrarr: "⇉", Rrightarrow: "⇛", rsaquo: "›", Rscr: "ℛ", rscr: "𝓇", Rsh: "↱", rsh: "↱", rsqb: "]", rsquo: "’", rsquor: "’", rthree: "⋌", rtimes: "⋊", rtri: "▹", rtrie: "⊵", rtrif: "▸", rtriltri: "⧎", RuleDelayed: "⧴", ruluhar: "⥨", rx: "℞", Sacute: "Ś", sacute: "ś", sbquo: "‚", Sc: "⪼", sc: "≻", scap: "⪸", Scaron: "Š", scaron: "š", sccue: "≽", scE: "⪴", sce: "⪰", Scedil: "Ş", scedil: "ş", Scirc: "Ŝ", scirc: "ŝ", scnap: "⪺", scnE: "⪶", scnsim: "⋩", scpolint: "⨓", scsim: "≿", Scy: "С", scy: "с", sdot: "⋅", sdotb: "⊡", sdote: "⩦", searhk: "⤥", seArr: "⇘", searr: "↘", searrow: "↘", sect: "§", semi: ";", seswar: "⤩", setminus: "∖", setmn: "∖", sext: "✶", Sfr: "𝔖", sfr: "𝔰", sfrown: "⌢", sharp: "♯", SHCHcy: "Щ", shchcy: "щ", SHcy: "Ш", shcy: "ш", ShortDownArrow: "↓", ShortLeftArrow: "←", shortmid: "∣", shortparallel: "∥", ShortRightArrow: "→", ShortUpArrow: "↑", shy: "­", Sigma: "Σ", sigma: "σ", sigmaf: "ς", sigmav: "ς", sim: "∼", simdot: "⩪", sime: "≃", simeq: "≃", simg: "⪞", simgE: "⪠", siml: "⪝", simlE: "⪟", simne: "≆", simplus: "⨤", simrarr: "⥲", slarr: "←", SmallCircle: "∘", smallsetminus: "∖", smashp: "⨳", smeparsl: "⧤", smid: "∣", smile: "⌣", smt: "⪪", smte: "⪬", smtes: "⪬︀", SOFTcy: "Ь", softcy: "ь", sol: "/", solb: "⧄", solbar: "⌿", Sopf: "𝕊", sopf: "𝕤", spades: "♠", spadesuit: "♠", spar: "∥", sqcap: "⊓", sqcaps: "⊓︀", sqcup: "⊔", sqcups: "⊔︀", Sqrt: "√", sqsub: "⊏", sqsube: "⊑", sqsubset: "⊏", sqsubseteq: "⊑", sqsup: "⊐", sqsupe: "⊒", sqsupset: "⊐", sqsupseteq: "⊒", squ: "□", Square: "□", square: "□", SquareIntersection: "⊓", SquareSubset: "⊏", SquareSubsetEqual: "⊑", SquareSuperset: "⊐", SquareSupersetEqual: "⊒", SquareUnion: "⊔", squarf: "▪", squf: "▪", srarr: "→", Sscr: "𝒮", sscr: "𝓈", ssetmn: "∖", ssmile: "⌣", sstarf: "⋆", Star: "⋆", star: "☆", starf: "★", straightepsilon: "ϵ", straightphi: "ϕ", strns: "¯", Sub: "⋐", sub: "⊂", subdot: "⪽", subE: "⫅", sube: "⊆", subedot: "⫃", submult: "⫁", subnE: "⫋", subne: "⊊", subplus: "⪿", subrarr: "⥹", Subset: "⋐", subset: "⊂", subseteq: "⊆", subseteqq: "⫅", SubsetEqual: "⊆", subsetneq: "⊊", subsetneqq: "⫋", subsim: "⫇", subsub: "⫕", subsup: "⫓", succ: "≻", succapprox: "⪸", succcurlyeq: "≽", Succeeds: "≻", SucceedsEqual: "⪰", SucceedsSlantEqual: "≽", SucceedsTilde: "≿", succeq: "⪰", succnapprox: "⪺", succneqq: "⪶", succnsim: "⋩", succsim: "≿", SuchThat: "∋", Sum: "∑", sum: "∑", sung: "♪", Sup: "⋑", sup: "⊃", sup1: "¹", sup2: "²", sup3: "³", supdot: "⪾", supdsub: "⫘", supE: "⫆", supe: "⊇", supedot: "⫄", Superset: "⊃", SupersetEqual: "⊇", suphsol: "⟉", suphsub: "⫗", suplarr: "⥻", supmult: "⫂", supnE: "⫌", supne: "⊋", supplus: "⫀", Supset: "⋑", supset: "⊃", supseteq: "⊇", supseteqq: "⫆", supsetneq: "⊋", supsetneqq: "⫌", supsim: "⫈", supsub: "⫔", supsup: "⫖", swarhk: "⤦", swArr: "⇙", swarr: "↙", swarrow: "↙", swnwar: "⤪", szlig: "ß", Tab: "	", target: "⌖", Tau: "Τ", tau: "τ", tbrk: "⎴", Tcaron: "Ť", tcaron: "ť", Tcedil: "Ţ", tcedil: "ţ", Tcy: "Т", tcy: "т", tdot: "⃛", telrec: "⌕", Tfr: "𝔗", tfr: "𝔱", there4: "∴", Therefore: "∴", therefore: "∴", Theta: "Θ", theta: "θ", thetasym: "ϑ", thetav: "ϑ", thickapprox: "≈", thicksim: "∼", ThickSpace: "  ", thinsp: " ", ThinSpace: " ", thkap: "≈", thksim: "∼", THORN: "Þ", thorn: "þ", Tilde: "∼", tilde: "˜", TildeEqual: "≃", TildeFullEqual: "≅", TildeTilde: "≈", times: "×", timesb: "⊠", timesbar: "⨱", timesd: "⨰", tint: "∭", toea: "⤨", top: "⊤", topbot: "⌶", topcir: "⫱", Topf: "𝕋", topf: "𝕥", topfork: "⫚", tosa: "⤩", tprime: "‴", TRADE: "™", trade: "™", triangle: "▵", triangledown: "▿", triangleleft: "◃", trianglelefteq: "⊴", triangleq: "≜", triangleright: "▹", trianglerighteq: "⊵", tridot: "◬", trie: "≜", triminus: "⨺", TripleDot: "⃛", triplus: "⨹", trisb: "⧍", tritime: "⨻", trpezium: "⏢", Tscr: "𝒯", tscr: "𝓉", TScy: "Ц", tscy: "ц", TSHcy: "Ћ", tshcy: "ћ", Tstrok: "Ŧ", tstrok: "ŧ", twixt: "≬", twoheadleftarrow: "↞", twoheadrightarrow: "↠", Uacute: "Ú", uacute: "ú", Uarr: "↟", uArr: "⇑", uarr: "↑", Uarrocir: "⥉", Ubrcy: "Ў", ubrcy: "ў", Ubreve: "Ŭ", ubreve: "ŭ", Ucirc: "Û", ucirc: "û", Ucy: "У", ucy: "у", udarr: "⇅", Udblac: "Ű", udblac: "ű", udhar: "⥮", ufisht: "⥾", Ufr: "𝔘", ufr: "𝔲", Ugrave: "Ù", ugrave: "ù", uHar: "⥣", uharl: "↿", uharr: "↾", uhblk: "▀", ulcorn: "⌜", ulcorner: "⌜", ulcrop: "⌏", ultri: "◸", Umacr: "Ū", umacr: "ū", uml: "¨", UnderBar: "_", UnderBrace: "⏟", UnderBracket: "⎵", UnderParenthesis: "⏝", Union: "⋃", UnionPlus: "⊎", Uogon: "Ų", uogon: "ų", Uopf: "𝕌", uopf: "𝕦", UpArrow: "↑", Uparrow: "⇑", uparrow: "↑", UpArrowBar: "⤒", UpArrowDownArrow: "⇅", UpDownArrow: "↕", Updownarrow: "⇕", updownarrow: "↕", UpEquilibrium: "⥮", upharpoonleft: "↿", upharpoonright: "↾", uplus: "⊎", UpperLeftArrow: "↖", UpperRightArrow: "↗", Upsi: "ϒ", upsi: "υ", upsih: "ϒ", Upsilon: "Υ", upsilon: "υ", UpTee: "⊥", UpTeeArrow: "↥", upuparrows: "⇈", urcorn: "⌝", urcorner: "⌝", urcrop: "⌎", Uring: "Ů", uring: "ů", urtri: "◹", Uscr: "𝒰", uscr: "𝓊", utdot: "⋰", Utilde: "Ũ", utilde: "ũ", utri: "▵", utrif: "▴", uuarr: "⇈", Uuml: "Ü", uuml: "ü", uwangle: "⦧", vangrt: "⦜", varepsilon: "ϵ", varkappa: "ϰ", varnothing: "∅", varphi: "ϕ", varpi: "ϖ", varpropto: "∝", vArr: "⇕", varr: "↕", varrho: "ϱ", varsigma: "ς", varsubsetneq: "⊊︀", varsubsetneqq: "⫋︀", varsupsetneq: "⊋︀", varsupsetneqq: "⫌︀", vartheta: "ϑ", vartriangleleft: "⊲", vartriangleright: "⊳", Vbar: "⫫", vBar: "⫨", vBarv: "⫩", Vcy: "В", vcy: "в", VDash: "⊫", Vdash: "⊩", vDash: "⊨", vdash: "⊢", Vdashl: "⫦", Vee: "⋁", vee: "∨", veebar: "⊻", veeeq: "≚", vellip: "⋮", Verbar: "‖", verbar: "|", Vert: "‖", vert: "|", VerticalBar: "∣", VerticalLine: "|", VerticalSeparator: "❘", VerticalTilde: "≀", VeryThinSpace: " ", Vfr: "𝔙", vfr: "𝔳", vltri: "⊲", vnsub: "⊂⃒", vnsup: "⊃⃒", Vopf: "𝕍", vopf: "𝕧", vprop: "∝", vrtri: "⊳", Vscr: "𝒱", vscr: "𝓋", vsubnE: "⫋︀", vsubne: "⊊︀", vsupnE: "⫌︀", vsupne: "⊋︀", Vvdash: "⊪", vzigzag: "⦚", Wcirc: "Ŵ", wcirc: "ŵ", wedbar: "⩟", Wedge: "⋀", wedge: "∧", wedgeq: "≙", weierp: "℘", Wfr: "𝔚", wfr: "𝔴", Wopf: "𝕎", wopf: "𝕨", wp: "℘", wr: "≀", wreath: "≀", Wscr: "𝒲", wscr: "𝓌", xcap: "⋂", xcirc: "◯", xcup: "⋃", xdtri: "▽", Xfr: "𝔛", xfr: "𝔵", xhArr: "⟺", xharr: "⟷", Xi: "Ξ", xi: "ξ", xlArr: "⟸", xlarr: "⟵", xmap: "⟼", xnis: "⋻", xodot: "⨀", Xopf: "𝕏", xopf: "𝕩", xoplus: "⨁", xotime: "⨂", xrArr: "⟹", xrarr: "⟶", Xscr: "𝒳", xscr: "𝓍", xsqcup: "⨆", xuplus: "⨄", xutri: "△", xvee: "⋁", xwedge: "⋀", Yacute: "Ý", yacute: "ý", YAcy: "Я", yacy: "я", Ycirc: "Ŷ", ycirc: "ŷ", Ycy: "Ы", ycy: "ы", yen: "¥", Yfr: "𝔜", yfr: "𝔶", YIcy: "Ї", yicy: "ї", Yopf: "𝕐", yopf: "𝕪", Yscr: "𝒴", yscr: "𝓎", YUcy: "Ю", yucy: "ю", Yuml: "Ÿ", yuml: "ÿ", Zacute: "Ź", zacute: "ź", Zcaron: "Ž", zcaron: "ž", Zcy: "З", zcy: "з", Zdot: "Ż", zdot: "ż", zeetrf: "ℨ", ZeroWidthSpace: "​", Zeta: "Ζ", zeta: "ζ", Zfr: "ℨ", zfr: "𝔷", ZHcy: "Ж", zhcy: "ж", zigrarr: "⇝", Zopf: "ℤ", zopf: "𝕫", Zscr: "𝒵", zscr: "𝓏", zwj: "‍", zwnj: "‌" }), e2.entityMap = e2.HTML_ENTITIES), g;
  var e2, r2;
}
var T, b, w, v = {};
function y() {
  if (T) return v;
  T = 1;
  var e2 = a(), r2 = f(), t2 = l(), n2 = e2.isHTMLEscapableRawTextElement, o2 = e2.isHTMLMimeType, i2 = e2.isHTMLRawTextElement, s2 = e2.hasOwn, c2 = e2.NAMESPACE, u2 = t2.ParseError, p2 = t2.DOMException;
  function d2() {
  }
  d2.prototype = { parse: function(t3, n3, a2) {
    var i3 = this.domBuilder;
    i3.startDocument(), b2(n3, n3 = /* @__PURE__ */ Object.create(null)), (function(t4, n4, a3, i4, l2) {
      var c3 = o2(i4.mimeType);
      t4.indexOf(r2.UNICODE_REPLACEMENT_CHARACTER) >= 0 && l2.warning("Unicode replacement character detected, source encoding issues?");
      function d3(e3) {
        if (e3 > 65535) {
          var r3 = 55296 + ((e3 -= 65536) >> 10), t5 = 56320 + (1023 & e3);
          return String.fromCharCode(r3, t5);
        }
        return String.fromCharCode(e3);
      }
      function f2(e3) {
        var t5 = ";" === e3[e3.length - 1] ? e3 : e3 + ";";
        if (!c3 && t5 !== e3) return l2.error("EntityRef: expecting ;"), e3;
        var n5 = r2.Reference.exec(t5);
        if (!n5 || n5[0].length !== t5.length) return l2.error("entity not matching Reference production: " + e3), e3;
        var o3 = t5.slice(1, -1);
        return s2(a3, o3) ? a3[o3] : "#" === o3.charAt(0) ? d3(parseInt(o3.substring(1).replace("x", "0x"))) : (l2.error("entity not found:" + e3), e3);
      }
      function T2(e3) {
        if (e3 > x) {
          var r3 = t4.substring(x, e3).replace(m2, f2);
          A2 && I(x), i4.characters(r3, 0, e3 - x), x = e3;
        }
      }
      var b3 = 0, w3 = 0, v2 = /\r\n?|\n|$/g, A2 = i4.locator;
      function I(e3, r3) {
        for (; e3 >= w3 && (r3 = v2.exec(t4)); ) b3 = w3, w3 = r3.index + r3[0].length, A2.lineNumber++;
        A2.columnNumber = e3 - b3 + 1;
      }
      var O = [{ currentNSMap: n4 }], C = [], x = 0;
      for (; ; ) {
        try {
          var R = t4.indexOf("<", x);
          if (R < 0) {
            if (!c3 && C.length > 0) return l2.fatalError("unclosed xml tag(s): " + C.join(", "));
            if (!t4.substring(x).match(/^\s*$/)) {
              var _ = i4.doc, L = _.createTextNode(t4.substring(x));
              if (_.documentElement) return l2.error("Extra content at the end of the document");
              _.appendChild(L), i4.currentElement = L;
            }
            return;
          }
          if (R > x) {
            var M = t4.substring(x, R);
            c3 || 0 !== C.length || (M = M.replace(new RegExp(r2.S_OPT.source, "g"), "")) && l2.error("Unexpected content outside root element: '" + M + "'"), T2(R);
          }
          switch (t4.charAt(R + 1)) {
            case "/":
              var q = t4.indexOf(">", R + 2), U = t4.substring(R + 2, q > 0 ? q : void 0);
              if (!U) return l2.fatalError("end tag name missing");
              var P = q > 0 && r2.reg("^", r2.QName_group, r2.S_OPT, "$").exec(U);
              if (!P) return l2.fatalError('end tag name contains invalid characters: "' + U + '"');
              if (!i4.currentElement && !i4.doc.documentElement) return;
              var k = C[C.length - 1] || i4.currentElement.tagName || i4.doc.documentElement.tagName || "";
              if (k !== P[1]) {
                var H = P[1].toLowerCase();
                if (!c3 || k.toLowerCase() !== H) return l2.fatalError('Opening and ending tag mismatch: "' + k + '" != "' + U + '"');
              }
              var V = O.pop();
              C.pop();
              var B = V.localNSMap;
              if (i4.endElement(V.uri, V.localName, k), B) for (var F in B) s2(B, F) && i4.endPrefixMapping(F);
              q++;
              break;
            case "?":
              A2 && I(R), q = D2(t4, R, i4, l2);
              break;
            case "!":
              A2 && I(R), q = y2(t4, R, i4, l2, c3);
              break;
            default:
              A2 && I(R);
              var G = new S2(), Y = O[O.length - 1].currentNSMap, X = (q = E2(t4, R, G, Y, f2, l2, c3), G.length);
              if (G.closed || (c3 && e2.isHTMLVoidElement(G.tagName) ? G.closed = true : C.push(G.tagName)), A2 && X) {
                for (var z = h2(A2, {}), j = 0; j < X; j++) {
                  var Q = G[j];
                  I(Q.offset), Q.locator = h2(A2, {});
                }
                i4.locator = z, g2(G, i4, Y) && O.push(G), i4.locator = A2;
              } else g2(G, i4, Y) && O.push(G);
              c3 && !G.closed ? q = N2(t4, q, G.tagName, f2, i4) : q++;
          }
        } catch (e3) {
          if (e3 instanceof u2) throw e3;
          if (e3 instanceof p2) throw new u2(e3.name + ": " + e3.message, i4.locator, e3);
          l2.error("element parse error: " + e3), q = -1;
        }
        q > x ? x = q : T2(Math.max(R, x) + 1);
      }
    })(t3, n3, a2, i3, this.errorHandler), i3.endDocument();
  } };
  var m2 = /&#?\w+;?/g;
  function h2(e3, r3) {
    return r3.lineNumber = e3.lineNumber, r3.columnNumber = e3.columnNumber, r3;
  }
  function E2(e3, r3, t3, n3, o3, a2, i3) {
    function l2(e4, r4, n4) {
      return s2(t3.attributeNames, e4) ? a2.fatalError("Attribute " + e4 + " redefined") : !i3 && r4.indexOf("<") >= 0 ? a2.fatalError("Unescaped '<' not allowed in attributes values") : void t3.addValue(e4, r4.replace(/[\t\n\r]/g, " ").replace(m2, o3), n4);
    }
    for (var c3, u3 = ++r3, p3 = 0; ; ) {
      var d3 = e3.charAt(u3);
      switch (d3) {
        case "=":
          if (1 === p3) c3 = e3.slice(r3, u3), p3 = 3;
          else {
            if (2 !== p3) throw new Error("attribute equal must after attrName");
            p3 = 3;
          }
          break;
        case "'":
        case '"':
          if (3 === p3 || 1 === p3) {
            if (1 === p3 && (a2.warning('attribute value must after "="'), c3 = e3.slice(r3, u3)), r3 = u3 + 1, !((u3 = e3.indexOf(d3, r3)) > 0)) throw new Error("attribute value no end '" + d3 + "' match");
            l2(c3, f2 = e3.slice(r3, u3), r3 - 1), p3 = 5;
          } else {
            if (4 != p3) throw new Error('attribute value must after "="');
            l2(c3, f2 = e3.slice(r3, u3), r3), a2.warning('attribute "' + c3 + '" missed start quot(' + d3 + ")!!"), r3 = u3 + 1, p3 = 5;
          }
          break;
        case "/":
          switch (p3) {
            case 0:
              t3.setTagName(e3.slice(r3, u3));
            case 5:
            case 6:
            case 7:
              p3 = 7, t3.closed = true;
            case 4:
            case 1:
              break;
            case 2:
              t3.closed = true;
              break;
            default:
              throw new Error("attribute invalid close char('/')");
          }
          break;
        case "":
          return a2.error("unexpected end of input"), 0 == p3 && t3.setTagName(e3.slice(r3, u3)), u3;
        case ">":
          switch (p3) {
            case 0:
              t3.setTagName(e3.slice(r3, u3));
            case 5:
            case 6:
            case 7:
              break;
            case 4:
            case 1:
              "/" === (f2 = e3.slice(r3, u3)).slice(-1) && (t3.closed = true, f2 = f2.slice(0, -1));
            case 2:
              2 === p3 && (f2 = c3), 4 == p3 ? (a2.warning('attribute "' + f2 + '" missed quot(")!'), l2(c3, f2, r3)) : (i3 || a2.warning('attribute "' + f2 + '" missed value!! "' + f2 + '" instead!!'), l2(f2, f2, r3));
              break;
            case 3:
              if (!i3) return a2.fatalError(`AttValue: ' or " expected`);
          }
          return u3;
        case "€":
          d3 = " ";
        default:
          if (d3 <= " ") switch (p3) {
            case 0:
              t3.setTagName(e3.slice(r3, u3)), p3 = 6;
              break;
            case 1:
              c3 = e3.slice(r3, u3), p3 = 2;
              break;
            case 4:
              var f2 = e3.slice(r3, u3);
              a2.warning('attribute "' + f2 + '" missed quot(")!!'), l2(c3, f2, r3);
            case 5:
              p3 = 6;
          }
          else switch (p3) {
            case 2:
              i3 || a2.warning('attribute "' + c3 + '" missed value!! "' + c3 + '" instead2!!'), l2(c3, c3, r3), r3 = u3, p3 = 1;
              break;
            case 5:
              a2.warning('attribute space is required"' + c3 + '"!!');
            case 6:
              p3 = 1, r3 = u3;
              break;
            case 3:
              p3 = 4, r3 = u3;
              break;
            case 7:
              throw new Error("elements closed character '/' and '>' must be connected to");
          }
      }
      u3++;
    }
  }
  function g2(e3, r3, t3) {
    for (var n3 = e3.tagName, o3 = null, a2 = e3.length; a2--; ) {
      var i3 = e3[a2], l2 = i3.qName, u3 = i3.value;
      if ((m3 = l2.indexOf(":")) > 0) var p3 = i3.prefix = l2.slice(0, m3), d3 = l2.slice(m3 + 1), f2 = "xmlns" === p3 && d3;
      else d3 = l2, p3 = null, f2 = "xmlns" === l2 && "";
      i3.localName = d3, false !== f2 && (null == o3 && (o3 = /* @__PURE__ */ Object.create(null), b2(t3, t3 = /* @__PURE__ */ Object.create(null))), t3[f2] = o3[f2] = u3, i3.uri = c2.XMLNS, r3.startPrefixMapping(f2, u3));
    }
    for (a2 = e3.length; a2--; ) (i3 = e3[a2]).prefix && ("xml" === i3.prefix && (i3.uri = c2.XML), "xmlns" !== i3.prefix && (i3.uri = t3[i3.prefix]));
    var m3;
    (m3 = n3.indexOf(":")) > 0 ? (p3 = e3.prefix = n3.slice(0, m3), d3 = e3.localName = n3.slice(m3 + 1)) : (p3 = null, d3 = e3.localName = n3);
    var h3 = e3.uri = t3[p3 || ""];
    if (r3.startElement(h3, d3, n3, e3), !e3.closed) return e3.currentNSMap = t3, e3.localNSMap = o3, true;
    if (r3.endElement(h3, d3, n3), o3) for (p3 in o3) s2(o3, p3) && r3.endPrefixMapping(p3);
  }
  function N2(e3, r3, t3, o3, a2) {
    var s3 = n2(t3);
    if (s3 || i2(t3)) {
      var l2 = e3.indexOf("</" + t3 + ">", r3), c3 = e3.substring(r3 + 1, l2);
      return s3 && (c3 = c3.replace(m2, o3)), a2.characters(c3, 0, c3.length), l2;
    }
    return r3 + 1;
  }
  function b2(e3, r3) {
    for (var t3 in e3) s2(e3, t3) && (r3[t3] = e3[t3]);
  }
  function w2(e3, t3) {
    var n3 = t3;
    function o3(r3) {
      return r3 = r3 || 0, e3.charAt(n3 + r3);
    }
    function a2(e4) {
      n3 += e4 = e4 || 1;
    }
    function i3() {
      return e3.substring(n3);
    }
    return { char: o3, getIndex: function() {
      return n3;
    }, getMatch: function(e4) {
      var t4 = r2.reg("^", e4).exec(i3());
      return t4 ? (a2(t4[0].length), t4[0]) : null;
    }, getSource: function() {
      return e3;
    }, skip: a2, skipBlanks: function() {
      for (var r3 = 0; n3 < e3.length; ) {
        var t4 = o3();
        if (" " !== t4 && "\n" !== t4 && "	" !== t4 && "\r" !== t4) return r3;
        r3++, a2();
      }
      return -1;
    }, substringFromIndex: i3, substringStartsWith: function(r3) {
      return e3.substring(n3, n3 + r3.length) === r3;
    }, substringStartsWithCaseInsensitive: function(r3) {
      return e3.substring(n3, n3 + r3.length).toUpperCase() === r3.toUpperCase();
    } };
  }
  function y2(e3, t3, n3, o3, a2) {
    var i3 = w2(e3, t3);
    switch (a2 ? i3.char(2).toUpperCase() : i3.char(2)) {
      case "-":
        var s3 = i3.getMatch(r2.Comment);
        return s3 ? (n3.comment(s3, r2.COMMENT_START.length, s3.length - r2.COMMENT_START.length - r2.COMMENT_END.length), i3.getIndex()) : o3.fatalError("comment is not well-formed at position " + i3.getIndex());
      case "[":
        var l2 = i3.getMatch(r2.CDSect);
        return l2 ? a2 || n3.currentElement ? (n3.startCDATA(), n3.characters(l2, r2.CDATA_START.length, l2.length - r2.CDATA_START.length - r2.CDATA_END.length), n3.endCDATA(), i3.getIndex()) : o3.fatalError("CDATA outside of element") : o3.fatalError("Invalid CDATA starting at position " + t3);
      case "D":
        if (n3.doc && n3.doc.documentElement) return o3.fatalError("Doctype not allowed inside or after documentElement at position " + i3.getIndex());
        if (a2 ? !i3.substringStartsWithCaseInsensitive(r2.DOCTYPE_DECL_START) : !i3.substringStartsWith(r2.DOCTYPE_DECL_START)) return o3.fatalError("Expected " + r2.DOCTYPE_DECL_START + " at position " + i3.getIndex());
        if (i3.skip(r2.DOCTYPE_DECL_START.length), i3.skipBlanks() < 1) return o3.fatalError("Expected whitespace after " + r2.DOCTYPE_DECL_START + " at position " + i3.getIndex());
        var c3 = { name: void 0, publicId: void 0, systemId: void 0, internalSubset: void 0 };
        if (c3.name = i3.getMatch(r2.Name), !c3.name) return o3.fatalError("doctype name missing or contains unexpected characters at position " + i3.getIndex());
        if (a2 && "html" !== c3.name.toLowerCase() && o3.warning("Unexpected DOCTYPE in HTML document at position " + i3.getIndex()), i3.skipBlanks(), i3.substringStartsWith(r2.PUBLIC) || i3.substringStartsWith(r2.SYSTEM)) {
          var u3 = r2.ExternalID_match.exec(i3.substringFromIndex());
          if (!u3) return o3.fatalError("doctype external id is not well-formed at position " + i3.getIndex());
          void 0 !== u3.groups.SystemLiteralOnly ? c3.systemId = u3.groups.SystemLiteralOnly : (c3.systemId = u3.groups.SystemLiteral, c3.publicId = u3.groups.PubidLiteral), i3.skip(u3[0].length);
        } else if (a2 && i3.substringStartsWithCaseInsensitive(r2.SYSTEM)) {
          if (i3.skip(r2.SYSTEM.length), i3.skipBlanks() < 1) return o3.fatalError("Expected whitespace after " + r2.SYSTEM + " at position " + i3.getIndex());
          if (c3.systemId = i3.getMatch(r2.ABOUT_LEGACY_COMPAT_SystemLiteral), !c3.systemId) return o3.fatalError("Expected " + r2.ABOUT_LEGACY_COMPAT + " in single or double quotes after " + r2.SYSTEM + " at position " + i3.getIndex());
        }
        return a2 && c3.systemId && !r2.ABOUT_LEGACY_COMPAT_SystemLiteral.test(c3.systemId) && o3.warning("Unexpected doctype.systemId in HTML document at position " + i3.getIndex()), a2 || (i3.skipBlanks(), c3.internalSubset = (function(e4, t4) {
          function n4(e5, t5) {
            var n5 = r2.PI.exec(e5.substringFromIndex());
            return n5 ? "xml" === n5[1].toLowerCase() ? t5.fatalError("xml declaration is only allowed at the start of the document, but found at position " + e5.getIndex()) : (e5.skip(n5[0].length), n5[0]) : t5.fatalError("processing instruction is not well-formed at position " + e5.getIndex());
          }
          var o4 = e4.getSource();
          if ("[" === e4.char()) {
            e4.skip(1);
            for (var a3 = e4.getIndex(); e4.getIndex() < o4.length; ) {
              if (e4.skipBlanks(), "]" === e4.char()) {
                var i4 = o4.substring(a3, e4.getIndex());
                return e4.skip(1), i4;
              }
              var s4 = null;
              if ("<" === e4.char() && "!" === e4.char(1)) switch (e4.char(2)) {
                case "E":
                  "L" === e4.char(3) ? s4 = e4.getMatch(r2.elementdecl) : "N" === e4.char(3) && (s4 = e4.getMatch(r2.EntityDecl));
                  break;
                case "A":
                  s4 = e4.getMatch(r2.AttlistDecl);
                  break;
                case "N":
                  s4 = e4.getMatch(r2.NotationDecl);
                  break;
                case "-":
                  s4 = e4.getMatch(r2.Comment);
              }
              else if ("<" === e4.char() && "?" === e4.char(1)) s4 = n4(e4, t4);
              else {
                if ("%" !== e4.char()) return t4.fatalError("Error detected in Markup declaration");
                s4 = e4.getMatch(r2.PEReference);
              }
              if (!s4) return t4.fatalError("Error in internal subset at position " + e4.getIndex());
            }
            return t4.fatalError("doctype internal subset is not well-formed, missing ]");
          }
        })(i3, o3)), i3.skipBlanks(), ">" !== i3.char() ? o3.fatalError("doctype not terminated with > at position " + i3.getIndex()) : (i3.skip(1), n3.startDTD(c3.name, c3.publicId, c3.systemId, c3.internalSubset), n3.endDTD(), i3.getIndex());
      default:
        return o3.fatalError('Not well-formed XML starting with "<!" at position ' + t3);
    }
  }
  function D2(e3, t3, n3, o3) {
    var a2 = e3.substring(t3).match(r2.PI);
    if (!a2) return o3.fatalError("Invalid processing instruction starting at position " + t3);
    if ("xml" === a2[1].toLowerCase()) {
      if (t3 > 0) return o3.fatalError("processing instruction at position " + t3 + " is an xml declaration which is only at the start of the document");
      if (!r2.XMLDecl.test(e3.substring(t3))) return o3.fatalError("xml declaration is not well-formed");
    }
    return n3.processingInstruction(a2[1], a2[2]), t3 + a2[0].length;
  }
  function S2() {
    this.attributeNames = /* @__PURE__ */ Object.create(null);
  }
  return S2.prototype = { setTagName: function(e3) {
    if (!r2.QName_exact.test(e3)) throw new Error("invalid tagName:" + e3);
    this.tagName = e3;
  }, addValue: function(e3, t3, n3) {
    if (!r2.QName_exact.test(e3)) throw new Error("invalid attribute:" + e3);
    this.attributeNames[e3] = this.length, this[this.length++] = { qName: e3, value: t3, offset: n3 };
  }, length: 0, getLocalName: function(e3) {
    return this[e3].localName;
  }, getLocator: function(e3) {
    return this[e3].locator;
  }, getQName: function(e3) {
    return this[e3].qName;
  }, getURI: function(e3) {
    return this[e3].uri;
  }, getValue: function(e3) {
    return this[e3].value;
  } }, v.XMLReader = d2, v.parseUtils = w2, v.parseDoctypeCommentOrCData = y2, v;
}
function D() {
  if (b) return E;
  b = 1;
  var e2 = a(), r2 = m(), t2 = l(), n2 = N(), o2 = y(), i2 = r2.DOMImplementation, s2 = e2.hasDefaultHTMLNamespace, c2 = e2.isHTMLMimeType, u2 = e2.isValidMimeType, p2 = e2.MIME_TYPE, d2 = e2.NAMESPACE, f2 = t2.ParseError, h2 = o2.XMLReader;
  function g2(e3) {
    return e3.replace(/\r[\n\u0085]/g, "\n").replace(/[\r\u0085\u2028\u2029]/g, "\n");
  }
  function T2(r3) {
    if (void 0 === (r3 = r3 || {}).locator && (r3.locator = true), this.assign = r3.assign || e2.assign, this.domHandler = r3.domHandler || w2, this.onError = r3.onError || r3.errorHandler, r3.errorHandler && "function" != typeof r3.errorHandler) throw new TypeError("errorHandler object is no longer supported, switch to onError!");
    r3.errorHandler && r3.errorHandler("warning", "The `errorHandler` option has been deprecated, use `onError` instead!", this), this.normalizeLineEndings = r3.normalizeLineEndings || g2, this.locator = !!r3.locator, this.xmlns = this.assign(/* @__PURE__ */ Object.create(null), r3.xmlns);
  }
  function w2(e3) {
    var r3 = e3 || {};
    this.mimeType = r3.mimeType || p2.XML_APPLICATION, this.defaultNamespace = r3.defaultNamespace || null, this.cdata = false, this.currentElement = void 0, this.doc = void 0, this.locator = void 0, this.onError = r3.onError;
  }
  function v2(e3, r3) {
    r3.lineNumber = e3.lineNumber, r3.columnNumber = e3.columnNumber;
  }
  function D2(e3, r3, t3) {
    return "string" == typeof e3 ? e3.substr(r3, t3) : e3.length >= r3 + t3 || r3 ? new java.lang.String(e3, r3, t3) + "" : e3;
  }
  function S2(e3, r3) {
    e3.currentElement ? e3.currentElement.appendChild(r3) : e3.doc.appendChild(r3);
  }
  return T2.prototype.parseFromString = function(r3, t3) {
    if (!u2(t3)) throw new TypeError('DOMParser.parseFromString: the provided mimeType "' + t3 + '" is not valid.');
    var o3 = this.assign(/* @__PURE__ */ Object.create(null), this.xmlns), a2 = n2.XML_ENTITIES, i3 = o3[""] || null;
    s2(t3) ? (a2 = n2.HTML_ENTITIES, i3 = d2.HTML) : t3 === p2.XML_SVG_IMAGE && (i3 = d2.SVG), o3[""] = i3, o3.xml = o3.xml || d2.XML;
    var l2 = new this.domHandler({ mimeType: t3, defaultNamespace: i3, onError: this.onError }), c3 = this.locator ? {} : void 0;
    this.locator && l2.setDocumentLocator(c3);
    var f3 = new h2();
    return f3.errorHandler = l2, f3.domBuilder = l2, !e2.isHTMLMimeType(t3) && "string" != typeof r3 && f3.errorHandler.fatalError("source is not a string"), f3.parse(this.normalizeLineEndings(String(r3)), o3, a2), l2.doc.documentElement || f3.errorHandler.fatalError("missing root element"), l2.doc;
  }, w2.prototype = { startDocument: function() {
    var e3 = new i2();
    this.doc = c2(this.mimeType) ? e3.createHTMLDocument(false) : e3.createDocument(this.defaultNamespace, "");
  }, startElement: function(e3, r3, t3, n3) {
    var o3 = this.doc, a2 = o3.createElementNS(e3, t3 || r3), i3 = n3.length;
    S2(this, a2), this.currentElement = a2, this.locator && v2(this.locator, a2);
    for (var s3 = 0; s3 < i3; s3++) {
      e3 = n3.getURI(s3);
      var l2 = n3.getValue(s3), c3 = (t3 = n3.getQName(s3), o3.createAttributeNS(e3, t3));
      this.locator && v2(n3.getLocator(s3), c3), c3.value = c3.nodeValue = l2, a2.setAttributeNode(c3);
    }
  }, endElement: function(e3, r3, t3) {
    this.currentElement = this.currentElement.parentNode;
  }, startPrefixMapping: function(e3, r3) {
  }, endPrefixMapping: function(e3) {
  }, processingInstruction: function(e3, r3) {
    var t3 = this.doc.createProcessingInstruction(e3, r3);
    this.locator && v2(this.locator, t3), S2(this, t3);
  }, ignorableWhitespace: function(e3, r3, t3) {
  }, characters: function(e3, r3, t3) {
    if (e3 = D2.apply(this, arguments)) {
      if (this.cdata) var n3 = this.doc.createCDATASection(e3);
      else n3 = this.doc.createTextNode(e3);
      this.currentElement ? this.currentElement.appendChild(n3) : /^\s*$/.test(e3) && this.doc.appendChild(n3), this.locator && v2(this.locator, n3);
    }
  }, skippedEntity: function(e3) {
  }, endDocument: function() {
    this.doc.normalize();
  }, setDocumentLocator: function(e3) {
    e3 && (e3.lineNumber = 0), this.locator = e3;
  }, comment: function(e3, r3, t3) {
    e3 = D2.apply(this, arguments);
    var n3 = this.doc.createComment(e3);
    this.locator && v2(this.locator, n3), S2(this, n3);
  }, startCDATA: function() {
    this.cdata = true;
  }, endCDATA: function() {
    this.cdata = false;
  }, startDTD: function(e3, r3, t3, n3) {
    var o3 = this.doc.implementation;
    if (o3 && o3.createDocumentType) {
      var a2 = o3.createDocumentType(e3, r3, t3, n3);
      this.locator && v2(this.locator, a2), S2(this, a2), this.doc.doctype = a2;
    }
  }, reportError: function(e3, r3) {
    if ("function" == typeof this.onError) try {
      this.onError(e3, r3, this);
    } catch (t3) {
      throw new f2("Reporting " + e3 + ' "' + r3 + '" caused ' + t3, this.locator);
    }
    else console.error("[xmldom " + e3 + "]	" + r3, (function(e4) {
      if (e4) return "\n@#[line:" + e4.lineNumber + ",col:" + e4.columnNumber + "]";
    })(this.locator));
  }, warning: function(e3) {
    this.reportError("warning", e3);
  }, error: function(e3) {
    this.reportError("error", e3);
  }, fatalError: function(e3) {
    throw this.reportError("fatalError", e3), new f2(e3, this.locator);
  } }, "endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g, function(e3) {
    w2.prototype[e3] = function() {
      return null;
    };
  }), E.__DOMHandler = w2, E.DOMParser = T2, E.normalizeLineEndings = g2, E.onErrorStopParsing = function(e3) {
    if ("error" === e3) throw "onErrorStopParsing";
  }, E.onWarningStopParsing = function() {
    throw "onWarningStopParsing";
  }, E;
}
var S = (function() {
  if (w) return n;
  w = 1;
  var e2 = a();
  n.assign = e2.assign, n.hasDefaultHTMLNamespace = e2.hasDefaultHTMLNamespace, n.isHTMLMimeType = e2.isHTMLMimeType, n.isValidMimeType = e2.isValidMimeType, n.MIME_TYPE = e2.MIME_TYPE, n.NAMESPACE = e2.NAMESPACE;
  var r2 = l();
  n.DOMException = r2.DOMException, n.DOMExceptionName = r2.DOMExceptionName, n.ExceptionCode = r2.ExceptionCode, n.ParseError = r2.ParseError;
  var t2 = m();
  n.Attr = t2.Attr, n.CDATASection = t2.CDATASection, n.CharacterData = t2.CharacterData, n.Comment = t2.Comment, n.Document = t2.Document, n.DocumentFragment = t2.DocumentFragment, n.DocumentType = t2.DocumentType, n.DOMImplementation = t2.DOMImplementation, n.Element = t2.Element, n.Entity = t2.Entity, n.EntityReference = t2.EntityReference, n.LiveNodeList = t2.LiveNodeList, n.NamedNodeMap = t2.NamedNodeMap, n.Node = t2.Node, n.NodeList = t2.NodeList, n.Notation = t2.Notation, n.ProcessingInstruction = t2.ProcessingInstruction, n.Text = t2.Text, n.XMLSerializer = t2.XMLSerializer;
  var o2 = D();
  return n.DOMParser = o2.DOMParser, n.normalizeLineEndings = o2.normalizeLineEndings, n.onErrorStopParsing = o2.onErrorStopParsing, n.onWarningStopParsing = o2.onWarningStopParsing, n;
})();
const A = r({ __proto__: null, default: e(S) }, [S]);
export {
  A as i
};