(()=>{ var e = { 7137: e=>{ "use strict"; e.exports = function(e, t) { var n, r = String(e), i = 0; if ("string" != typeof t) throw new Error("Expected character"); n = r.indexOf(t); for (; -1 !== n; ) i++, n = r.indexOf(t, n + t.length); return i } } , 1606: (e,t)=>{ "use strict"; t.A = function(e, t) { var o = t || {} , s = !1 === o.padLeft ? i : r , a = o.padRight ? r : i; e[e.length - 1] === i && (e = e.concat(i)); return e.join(a + n + s).trim() } ; var n = "," , r = " " , i = "" } , 1918: e=>{ "use strict"; function t(e) { if ("string" == typeof e) return function(e) { return t; function t(t) { return n(t) && t.tagName === e } }(e); if (null == e) return n; if ("object" == typeof e) return function(e) { var n = function(e) { var n = e.length , r = -1 , i = []; for (; ++r < n; ) i[r] = t(e[r]); return i }(e) , r = n.length; return i; function i() { for (var e = -1; ++e < r; ) if (n[e].apply(this, arguments)) return !0; return !1 } }(e); if ("function" == typeof e) return function(e) { return t; function t(t) { return n(t) && Boolean(e.apply(this, arguments)) } }(e); throw new Error("Expected function, string, or array as test") } function n(e) { return e && "object" == typeof e && "element" === e.type && "string" == typeof e.tagName } e.exports = t } , 1765: (e,t,n)=>{ "use strict"; var r = n(1918); function i(e, t, n, i, o) { var s = null != i , a = null != n , l = r(t); if (a && ("number" != typeof n || n < 0 || n === 1 / 0)) throw new Error("Expected positive finite index for child node"); if (s && (!i.type || !i.children)) throw new Error("Expected parent node"); if (!e || !e.type || "string" != typeof e.type) return !1; if (s !== a) throw new Error("Expected both parent and index"); return l.call(o, e, n, i) } e.exports = i, i.convert = r } , 2292: (e,t,n)=>{ "use strict"; e.exports = n(1184) } , 9795: (e,t,n)=>{ "use strict"; var r = n(2700); e.exports = function(e, t) { var n = t && t.children , i = n && n.length , o = -1 , s = []; for (; ++o < i; ) s[o] = r(e, n[o], o, t); return s.join("") } } , 5393: (e,t,n)=>{ "use strict"; var r = n(8593) , i = n(631); e.exports = function(e, t) { var n = t.value; if (e.bogusComments) return ""; return "\x3c!--" + n.replace(o, (function(t) { return i(t, r(e.entities, { subset: s })) } )) + "--\x3e" } ; var o = /^>|^->||--!>|"] , a = [">"] } , 6405: e=>{ "use strict"; var t = "\0" , n = "&" , r = "`" , i = '"' , o = "'" , s = [" ", "\t", "\n", "\r", "\f"] , a = s.concat(n, "/", ">", "=") , l = s.concat(n, ">") , c = l.concat(t, i, o, "<", "=", r) , u = [n, o] , f = [n, i]; e.exports = { name: [[a, a.concat(i, o, r)], [a.concat(t, i, o, "<"), a.concat(t, i, o, "<", r)]], unquoted: [[l, c], [c, c]], single: [[u, u.concat(i, r)], [u.concat(t), u.concat(t, i, r)]], double: [[f, f.concat(o, r)], [f.concat(t), f.concat(t, o, r)]] } } , 326: (e,t,n)=>{ "use strict"; var r = n(8593) , i = n(7137) , o = n(631); e.exports = function(e, t) { var n = e.upperDoctype ? a : s , r = e.tightDoctype ? "" : " " , i = t.name , o = t.public , c = t.system , u = ["" } ; var s = "doctype" , a = s.toUpperCase(); function l(e, t) { var n = e.quote , s = e.alternative , a = String(t) , l = i(a, n) > i(a, s) ? s : n; return l + o(a, r(e.entities, { subset: ["<", "&", l] })) + l } } , 5684: (e,t,n)=>{ "use strict"; var r = n(8593) , i = n(7422) , o = n(9489) , s = n(8502).A , a = n(1606).A , l = n(631) , c = n(7137) , u = n(9795) , f = n(6405); e.exports = function(e, t, n, r) { var o, s, a, l, c, f, m = e.schema, k = t.tagName, w = "", x = t; "html" === m.space && "svg" === k && (e.schema = i); c = function(e, t) { var n, r, i, o, s, a, l = []; for (n in t) null != (r = t[n]) && (i = b(e, n, r)) && l.push(i); o = l.length, s = -1; for (; ++s < o; ) i = l[s], a = null, e.tight && (a = i.charAt(i.length - 1)), s !== o - 1 && a !== p && a !== d && (l[s] = i + h); return l.join("") }(e, t.properties), "svg" === e.schema.space ? (a = !1, s = !0, o = e.closeEmpty) : (a = e.omit, s = e.close, o = -1 !== e.voids.indexOf(k.toLowerCase()), "template" === k && (x = t.content)); l = u(e, x), o = !l && o, !c && a && a.opening(t, n, r) || (w = g + k + (c ? h + c : ""), o && s && (f = c.charAt(c.length - 1), (!e.tightClose || f === y || "svg" === e.schema.space && f && f !== p && f !== d) && (w += h), w += y), w += v); w += l, o || a && a.closing(t, n, r) || (w += g + y + k + v); return e.schema = m, w } ; var h = " " , p = '"' , d = "'" , m = "=" , g = "<" , v = ">" , y = "/"; function b(e, t, n) { var i = e.schema , u = o(i, t) , h = u.attribute; return !u.overloadedBoolean || n !== h && "" !== n ? (u.boolean || u.overloadedBoolean && "string" != typeof n) && (n = Boolean(n)) : n = !0, null == n || !1 === n || "number" == typeof n && isNaN(n) ? "" : (h = function(e, t) { var n = "html" === e.schema.space ? e.valid : 1 , i = f.name[n][e.safe]; return l(t, r(e.entities, { subset: i })) }(e, h), !0 === n ? h : h + function(e, t, n, i) { var o, u, h = e.entities, p = e.quote, g = e.alternative, v = e.smart; "object" == typeof n && "length"in n && (n = (i.commaSeparated ? a : s)(n, { padLeft: !e.tightLists })); n = String(n), (n || !e.collapseEmpty) && (o = n, e.unquoted && (u = f.unquoted[e.valid][e.safe], o = l(n, r(h, { subset: u, attribute: !0 }))), e.unquoted && o === n || (v && c(n, p) > c(n, g) && (p = g), u = (u = p === d ? f.single : f.double)["html" === e.schema.space ? e.valid : 1][e.safe], n = p + (n = l(n, r(h, { subset: u, attribute: !0 }))) + p), n = n ? m + n : n); return n }(e, 0, n, u)) } } , 1184: (e,t,n)=>{ "use strict"; var r = n(8707) , i = n(7422) , o = n(7274) , s = n(3784) , a = n(2700); e.exports = function(e, t) { var n = t || {} , f = n.quote || l , h = f === l ? c : l , p = n.quoteSmart , d = e && "object" == typeof e && "length"in e ? { type: "root", children: e } : e; if (f !== l && f !== c) throw new Error("Invalid quote `" + f + "`, expected `" + c + "` or `" + l + "`"); void 0 !== n.allowDangerousHTML && (u || (u = !0, console.warn("Deprecation warning: `allowDangerousHTML` is a nonstandard option, use `allowDangerousHtml` instead"))); return a({ valid: n.allowParseErrors ? 0 : 1, safe: n.allowDangerousCharacters ? 0 : 1, schema: "svg" === n.space ? i : r, omit: n.omitOptionalTags && s, quote: f, alternative: h, smart: p, unquoted: Boolean(n.preferUnquoted), tight: n.tightAttributes, upperDoctype: Boolean(n.upperDoctype), tightDoctype: Boolean(n.tightDoctype), bogusComments: Boolean(n.bogusComments), tightLists: n.tightCommaSeparatedLists, tightClose: n.tightSelfClosing, collapseEmpty: n.collapseEmptyAttributes, dangerous: n.allowDangerousHtml || n.allowDangerousHTML, voids: n.voids || o.concat(), entities: n.entities || {}, close: n.closeSelfClosing, closeEmpty: n.closeEmptyElements }, d) } ; var l = '"' , c = "'" , u = !1 } , 1339: (e,t,n)=>{ "use strict"; var r = n(493) , i = n(1765) , o = n(6134) , s = n(7578).P , a = n(1575) , l = r("comment") , c = "optgroup" , u = ["option"].concat(c) , f = ["dt", "dd"] , h = ["menuitem", "hr", "menu"] , p = ["rp", "rt"] , d = ["tbody", "tfoot"] , m = ["td", "th"] , g = ["a", "audio", "del", "ins", "map", "noscript", "video"] , v = ["address", "article", "aside", "blockquote", "details", "div", "dl", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "main", "menu", "nav", "ol", "p", "pre", "section", "table", "ul"]; function y(e, t, n) { var r = s(n, t, !0); return !r || !l(r) && !o(r) } function b(e, t, n) { var r = s(n, t); return !r || i(r, p) } function k(e, t, n) { var r = s(n, t); return !r || i(r, m) } e.exports = a({ html: function(e, t, n) { var r = s(n, t); return !r || !l(r) }, head: y, body: function(e, t, n) { var r = s(n, t); return !r || !l(r) }, p: function(e, t, n) { var r = s(n, t); return r ? i(r, v) : !n || !i(n, g) }, li: function(e, t, n) { var r = s(n, t); return !r || i(r, "li") }, dt: function(e, t, n) { var r = s(n, t); return r && i(r, f) }, dd: function(e, t, n) { var r = s(n, t); return !r || i(r, f) }, rt: b, rp: b, optgroup: function(e, t, n) { var r = s(n, t); return !r || i(r, c) }, option: function(e, t, n) { var r = s(n, t); return !r || i(r, u) }, menuitem: function(e, t, n) { var r = s(n, t); return !r || i(r, h) }, colgroup: y, caption: y, thead: function(e, t, n) { var r = s(n, t); return r && i(r, d) }, tbody: function(e, t, n) { var r = s(n, t); return !r || i(r, d) }, tfoot: function(e, t, n) { return !s(n, t) }, tr: function(e, t, n) { var r = s(n, t); return !r || i(r, "tr") }, td: k, th: k }) } , 3784: (e,t,n)=>{ "use strict"; t.opening = n(3804), t.closing = n(1339) } , 1575: e=>{ "use strict"; e.exports = function(e) { return function(n, r, i) { var o = n.tagName; return !!t.call(e, o) && e[o](n, r, i) } } ; var t = {}.hasOwnProperty } , 3804: (e,t,n)=>{ "use strict"; var r = n(493) , i = n(1765) , o = n(7578).g , s = n(4159) , a = n(8518) , l = n(6134) , c = n(1339) , u = n(1575) , f = r("comment") , h = ["title", "base"] , p = ["meta", "link", "script", "style", "template"] , d = ["thead", "tbody"]; e.exports = u({ html: function(e) { var t = s(e); return !t || !f(t) }, head: function(e) { var t, n, r = e.children, o = r.length, s = [], a = -1; for (; ++a < o; ) if (n = (t = r[a]).tagName, i(t, h)) { if (-1 !== s.indexOf(n)) return !1; s.push(n) } return 0 !== o }, body: function(e) { var t = s(e, !0); return !t || !f(t) && !l(t) && !i(t, p) }, colgroup: function(e, t, n) { var r = o(n, t) , l = s(e, !0); if (i(r, "colgroup") && c(r, a(n, r), n)) return !1; return l && i(l, "col") }, tbody: function(e, t, n) { var r = o(n, t) , l = s(e); if (i(r, d) && c(r, a(n, r), n)) return !1; return l && i(l, "tr") } }) } , 4159: (e,t,n)=>{ "use strict"; var r = n(7578).P; e.exports = function(e, t) { return r(e, -1, t) } } , 8518: e=>{ "use strict"; e.exports = function(e, t) { return e && e.children && e.children.indexOf(t) } } , 7578: (e,t,n)=>{ "use strict"; var r = n(9098); function i(e) { return function(t, n, i) { var o = t && t.children , s = n + e , a = o && o[s]; if (!i) for (; a && r(a); ) a = o[s += e]; return a } } t.g = i(-1), t.P = i(1) } , 6134: (e,t,n)=>{ "use strict"; var r = n(493) , i = n(9098); e.exports = function(e) { return o(e) && i(e.value.charAt(0)) } ; var o = r("text") } , 2700: (e,t,n)=>{ "use strict"; e.exports = function(e, t, n, o) { var s = t && t.type; if (!s) throw new Error("Expected node, not `" + t + "`"); if (!r.call(i, s)) throw new Error("Cannot compile unknown node `" + s + "`"); return i[s](e, t, n, o) } ; var r = {}.hasOwnProperty , i = {}; i.root = n(9795), i.text = n(8785), i.element = n(5684), i.doctype = n(326), i.comment = n(5393), i.raw = n(618) } , 618: (e,t,n)=>{ "use strict"; var r = n(8785); e.exports = function(e, t) { return e.dangerous ? t.value : r(e, t) } } , 8785: (e,t,n)=>{ "use strict"; var r = n(8593) , i = n(631); e.exports = function(e, t, n, o) { var s = t.value; return function(e) { return e && ("script" === e.tagName || "style" === e.tagName) }(o) ? s : i(s, r(e.entities, { subset: ["<", "&"] })) } } , 9098: e=>{ "use strict"; e.exports = function(e) { var n; if (e && "object" == typeof e && "text" === e.type) n = e.value || ""; else { if ("string" != typeof e) return !1; n = e } return "" === n.replace(t, "") } ; var t = /[ \t\n\f\r]/g } , 2346: e=>{ "use strict"; e.exports = function(e) { var t = "string" == typeof e ? e.charCodeAt(0) : e; return t >= 97 && t <= 122 || t >= 65 && t <= 90 } } , 5514: (e,t,n)=>{ "use strict"; var r = n(2346) , i = n(3502); e.exports = function(e) { return r(e) || i(e) } } , 2660: e=>{ e.exports = function(e) { return null != e && null != e.constructor && "function" == typeof e.constructor.isBuffer && e.constructor.isBuffer(e) } } , 3502: e=>{ "use strict"; e.exports = function(e) { var t = "string" == typeof e ? e.charCodeAt(0) : e; return t >= 48 && t <= 57 } } , 6966: e=>{ "use strict"; e.exports = function(e) { var t = "string" == typeof e ? e.charCodeAt(0) : e; return t >= 97 && t <= 102 || t >= 65 && t <= 70 || t >= 48 && t <= 57 } } , 7497: (e,t,n)=>{ "use strict"; var r = n(6658); e.exports = function(e, t) { return function(e) { return t; function t(t) { var n = t && o(t); return n && i.call(e, n) ? e[n] : null } }(function(e) { var t = {}; if (!e || !e.type) throw new Error("mdast-util-definitions expected node"); return r(e, "definition", n), t; function n(e) { var n = o(e.identifier); i.call(t, n) || (t[n] = e) } }(e)) } ; var i = {}.hasOwnProperty; function o(e) { return e.toUpperCase() } } , 4297: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { var n, i, o = t.children || [], s = o.length, a = [], l = -1; for (; ++l < s; ) (n = r(e, o[l], t)) && (l && "break" === o[l - 1].type && (n.value && (n.value = n.value.replace(/^\s+/, "")), (i = n.children && n.children[0]) && i.value && (i.value = i.value.replace(/^\s+/, ""))), a = a.concat(n)); return a } ; var r = n(7194) } , 7583: (e,t,n)=>{ "use strict"; e.exports = function(e) { var t, n, s, a, l = e.footnoteById, c = e.footnoteOrder, u = c.length, f = -1, h = []; for (; ++f < u; ) (t = l[c[f].toUpperCase()]) && (a = (s = t.children.concat())[s.length - 1], n = { type: "link", url: "#fnref-" + t.identifier, data: { hProperties: { className: ["footnote-backref"] } }, children: [{ type: "text", value: "↩" }] }, a && "paragraph" === a.type || (a = { type: "paragraph", children: [] }, s.push(a)), a.children.push(n), h.push({ type: "listItem", data: { hProperties: { id: "fn-" + t.identifier } }, children: s, position: t.position })); if (0 === h.length) return null; return e(null, "div", { className: ["footnotes"] }, o([r(e), i(e, { type: "list", ordered: !0, children: h })], !0)) } ; var r = n(5125) , i = n(396) , o = n(7824) } , 9331: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { return e(t, "blockquote", r(i(e, t), !0)) } ; var r = n(7824) , i = n(4297) } , 1501: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { return [e(t, "br"), r("text", "\n")] } ; var r = n(9650) } , 3849: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { var n, i = t.value ? t.value + "\n" : "", o = t.lang && t.lang.match(/^[^ \t]+(?=[ \t]|$)/), s = {}; o && (s.className = ["language-" + o]); n = e(t, "code", s, [r("text", i)]), t.meta && (n.data = { meta: t.meta }); return e(t.position, "pre", [n]) } ; var r = n(9650) } , 5275: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { return e(t, "del", r(e, t)) } ; var r = n(4297) } , 4738: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { return e(t, "em", r(e, t)) } ; var r = n(4297) } , 3632: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { var n = e.footnoteOrder , i = String(t.identifier); -1 === n.indexOf(i) && n.push(i); return e(t.position, "sup", { id: "fnref-" + i }, [e(t, "a", { href: "#fn-" + i, className: ["footnote-ref"] }, [r("text", t.label || i)])]) } ; var r = n(9650) } , 8812: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { var n = e.footnoteById , i = e.footnoteOrder , o = 1; for (; o in n; ) o++; return o = String(o), i.push(o), n[o] = { type: "footnoteDefinition", identifier: o, children: [{ type: "paragraph", children: t.children }], position: t.position }, r(e, { type: "footnoteReference", identifier: o, position: t.position }) } ; var r = n(3632) } , 544: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { return e(t, "h" + t.depth, r(e, t)) } ; var r = n(4297) } , 9941: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { return e.dangerous ? e.augment(t, r("raw", t.value)) : null } ; var r = n(9650) } , 4255: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { var n, o = e.definition(t.identifier); if (!o) return i(e, t); n = { src: r(o.url || ""), alt: t.alt }, null !== o.title && void 0 !== o.title && (n.title = o.title); return e(t, "img", n) } ; var r = n(8131) , i = n(3390) } , 3603: (e,t,n)=>{ "use strict"; var r = n(8131); e.exports = function(e, t) { var n = { src: r(t.url), alt: t.alt }; null !== t.title && void 0 !== t.title && (n.title = t.title); return e(t, "img", n) } } , 942: (e,t,n)=>{ "use strict"; function r() { return null } e.exports = { blockquote: n(9331), break: n(1501), code: n(3849), delete: n(5275), emphasis: n(4738), footnoteReference: n(3632), footnote: n(8812), heading: n(544), html: n(9941), imageReference: n(4255), image: n(3603), inlineCode: n(935), linkReference: n(7756), link: n(9040), listItem: n(8942), list: n(396), paragraph: n(6504), root: n(4824), strong: n(5151), table: n(2258), text: n(8711), thematicBreak: n(5125), toml: r, yaml: r, definition: r, footnoteDefinition: r } } , 935: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { var n = t.value.replace(/\r?\n|\r/g, " "); return e(t, "code", [r("text", n)]) } ; var r = n(9650) } , 7756: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { var n, s = e.definition(t.identifier); if (!s) return i(e, t); n = { href: r(s.url || "") }, null !== s.title && void 0 !== s.title && (n.title = s.title); return e(t, "a", n, o(e, t)) } ; var r = n(8131) , i = n(3390) , o = n(4297) } , 9040: (e,t,n)=>{ "use strict"; var r = n(8131) , i = n(4297); e.exports = function(e, t) { var n = { href: r(t.url) }; null !== t.title && void 0 !== t.title && (n.title = t.title); return e(t, "a", n, i(e, t)) } } , 8942: (e,t,n)=>{ "use strict"; e.exports = function(e, t, n) { var s, a, l, c = i(e, t), u = c[0], f = n ? function(e) { var t = e.spread , n = e.children , r = n.length , i = -1; for (; !t && ++i < r; ) t = o(n[i]); return t }(n) : o(t), h = {}, p = []; "boolean" == typeof t.checked && (u && "p" === u.tagName || (u = e(null, "p", []), c.unshift(u)), u.children.length > 0 && u.children.unshift(r("text", " ")), u.children.unshift(e(null, "input", { type: "checkbox", checked: t.checked, disabled: !0 })), h.className = ["task-list-item"]); s = c.length, a = -1; for (; ++a < s; ) l = c[a], (f || 0 !== a || "p" !== l.tagName) && p.push(r("text", "\n")), "p" !== l.tagName || f ? p.push(l) : p = p.concat(l.children); s && (f || "p" !== l.tagName) && p.push(r("text", "\n")); return e(t, "li", h, p) } ; var r = n(9650) , i = n(4297); function o(e) { var t = e.spread; return null == t ? e.children.length > 1 : t } } , 396: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { var n, o, s = {}, a = t.ordered ? "ol" : "ul", l = -1; "number" == typeof t.start && 1 !== t.start && (s.start = t.start); n = i(e, t), o = n.length; for (; ++l < o; ) if (n[l].properties.className && -1 !== n[l].properties.className.indexOf("task-list-item")) { s.className = ["contains-task-list"]; break } return e(t, a, s, r(n, !0)) } ; var r = n(7824) , i = n(4297) } , 6504: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { return e(t, "p", r(e, t)) } ; var r = n(4297) } , 4824: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { return e.augment(t, r("root", i(o(e, t)))) } ; var r = n(9650) , i = n(7824) , o = n(4297) } , 5151: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { return e(t, "strong", r(e, t)) } ; var r = n(4297) } , 2258: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { var n, s, a, l, c, u = t.children, f = u.length, h = t.align || [], p = h.length, d = []; for (; f--; ) { for (s = u[f].children, l = 0 === f ? "th" : "td", n = p || s.length, a = []; n--; ) c = s[n], a[n] = e(c, l, { align: h[n] }, c ? o(e, c) : []); d[f] = e(u[f], "tr", i(a, !0)) } return e(t, "table", i([e(d[0].position, "thead", i([d[0]], !0))].concat(d[1] ? e({ start: r.start(d[1]), end: r.end(d[d.length - 1]) }, "tbody", i(d.slice(1), !0)) : []), !0)) } ; var r = n(1039) , i = n(7824) , o = n(4297) } , 8711: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { return e.augment(t, r("text", String(t.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g, "$1"))) } ; var r = n(9650) } , 5125: e=>{ "use strict"; e.exports = function(e, t) { return e(t, "hr") } } , 7194: (e,t,n)=>{ "use strict"; e.exports = function(e, t, n) { var r, i = t && t.type; if (!i) throw new Error("Expected node, got `" + t + "`"); r = o.call(e.handlers, i) ? e.handlers[i] : e.passThrough && e.passThrough.indexOf(i) > -1 ? a : e.unknownHandler; return ("function" == typeof r ? r : s)(e, t, n) } ; var r = n(9650) , i = n(4297) , o = {}.hasOwnProperty; function s(e, t) { return function(e) { var t = e.data || {}; if (o.call(t, "hName") || o.call(t, "hProperties") || o.call(t, "hChildren")) return !1; return "value"in e }(t) ? e.augment(t, r("text", t.value)) : e(t, "div", i(e, t)) } function a(e, t) { var n; return t.children ? ((n = Object.assign({}, t)).children = i(e, t), n) : t } } , 3390: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { var n, o, s, a = t.referenceType, l = "]"; "collapsed" === a ? l += "[]" : "full" === a && (l += "[" + (t.label || t.identifier) + "]"); if ("imageReference" === t.type) return r("text", "![" + t.alt + l); n = i(e, t), (o = n[0]) && "text" === o.type ? o.value = "[" + o.value : n.unshift(r("text", "[")); (s = n[n.length - 1]) && "text" === s.type ? s.value += l : n.push(r("text", l)); return n } ; var r = n(9650) , i = n(4297) } , 7824: (e,t,n)=>{ "use strict"; e.exports = function(e, t) { var n = [] , i = -1 , o = e.length; t && n.push(r("text", "\n")); for (; ++i < o; ) i && n.push(r("text", "\n")), n.push(e[i]); t && e.length > 0 && n.push(r("text", "\n")); return n } ; var r = n(9650) } , 8131: e=>{ "use strict"; var t = {}; function n(e, r, i) { var o, s, a, l, c, u = ""; for ("string" != typeof r && (i = r, r = n.defaultChars), void 0 === i && (i = !0), c = function(e) { var n, r, i = t[e]; if (i) return i; for (i = t[e] = [], n = 0; n < 128; n++) r = String.fromCharCode(n), /^[0-9a-z]$/i.test(r) ? i.push(r) : i.push("%" + ("0" + n.toString(16).toUpperCase()).slice(-2)); for (n = 0; n < e.length; n++) i[e.charCodeAt(n)] = e[n]; return i }(r), o = 0, s = e.length; o < s; o++) if (a = e.charCodeAt(o), i && 37 === a && o + 2 < s && /^[0-9a-f]{2}$/i.test(e.slice(o + 1, o + 3))) u += e.slice(o, o + 3), o += 2; else if (a < 128) u += c[a]; else if (a >= 55296 && a <= 57343) { if (a >= 55296 && a <= 56319 && o + 1 < s && (l = e.charCodeAt(o + 1)) >= 56320 && l <= 57343) { u += encodeURIComponent(e[o] + e[o + 1]), o++; continue } u += "%EF%BF%BD" } else u += encodeURIComponent(e[o]); return u } n.defaultChars = ";/?:@&=+$,-_.!~*'()#", n.componentChars = "-_.!~*'()", e.exports = n } , 4013: (e,t,n)=>{ "use strict"; var r = n(5115); e.exports = function(e) { return !!i.call(r, e) && r[e] } ; var i = {}.hasOwnProperty } , 3507: (e,t,n)=>{ "use strict"; var r = n(4472) , i = n(8192) , o = n(3502) , s = n(6966) , a = n(5514) , l = n(4013); e.exports = function(e, t) { var n, o, s = {}; t || (t = {}); for (o in h) n = t[o], s[o] = null == n ? h[o] : n; (s.position.indent || s.position.start) && (s.indent = s.position.indent || [], s.position = s.position.start); return function(e, t) { var n, o, s, h, M, z, F, V, H, K, _, J, G, Y, W, Q, Z, X, ee, te = t.additional, ne = t.nonTerminated, re = t.text, ie = t.reference, oe = t.warning, se = t.textContext, ae = t.referenceContext, le = t.warningContext, ce = t.position, ue = t.indent || [], fe = e.length, he = 0, pe = -1, de = ce.column || 1, me = ce.line || 1, ge = "", ve = []; "string" == typeof te && (te = te.charCodeAt(0)); Q = ye(), V = oe ? be : f, he--, fe++; for (; ++he < fe; ) if (M === d && (de = ue[pe] || 1), (M = e.charCodeAt(he)) === v) { if ((F = e.charCodeAt(he + 1)) === p || F === d || F === m || F === g || F === v || F === b || F != F || te && F === te) { ge += u(M), de++; continue } for (J = G = he + 1, ee = G, F === w ? (ee = ++J, (F = e.charCodeAt(ee)) === x || F === A ? (Y = C, ee = ++J) : Y = N) : Y = O, n = "", _ = "", h = "", W = L[Y], ee--; ++ee < fe && W(F = e.charCodeAt(ee)); ) h += u(F), Y === O && c.call(r, h) && (n = h, _ = r[h]); (s = e.charCodeAt(ee) === y) && (ee++, (o = Y === O && l(h)) && (n = h, _ = o)), X = 1 + ee - G, (s || ne) && (h ? Y === O ? (s && !_ ? V(B, 1) : (n !== h && (X = 1 + (ee = J + n.length) - J, s = !1), s || (H = n ? q : I, t.attribute ? (F = e.charCodeAt(ee)) === k ? (V(H, X), _ = null) : a(F) ? _ = null : V(H, X) : V(H, X))), z = _) : (s || V(T, X), R(z = parseInt(h, E[Y])) ? (V($, X), z = u(S)) : z in i ? (V(P, X), z = i[z]) : (K = "", U(z) && V(P, X), z > 65535 && (K += u((z -= 65536) >>> 10 | 55296), z = 56320 | 1023 & z), z = K + u(z))) : Y !== O && V(D, X)), z ? (ke(), Q = ye(), he = ee - 1, de += ee - G + 1, ve.push(z), (Z = ye()).offset++, ie && ie.call(ae, z, { start: Q, end: Z }, e.slice(G - 1, ee)), Q = Z) : (h = e.slice(G - 1, ee), ge += h, de += h.length, he = ee - 1) } else 10 === M && (me++, pe++, de = 0), M == M ? (ge += u(M), de++) : ke(); return ve.join(""); function ye() { return { line: me, column: de, offset: he + (ce.offset || 0) } } function be(e, t) { var n = ye(); n.column += t, n.offset += t, oe.call(le, j[e], n, e) } function ke() { ge && (ve.push(ge), re && re.call(se, ge, { start: Q, end: ye() }), ge = "") } }(e, s) } ; var c = {}.hasOwnProperty , u = String.fromCharCode , f = Function.prototype , h = { warning: null, reference: null, text: null, warningContext: null, referenceContext: null, textContext: null, position: {}, additional: null, attribute: !1, nonTerminated: !0 } , p = 9 , d = 10 , m = 12 , g = 32 , v = 38 , y = 59 , b = 60 , k = 61 , w = 35 , x = 88 , A = 120 , S = 65533 , O = "named" , C = "hexadecimal" , N = "decimal" , E = {}; E[C] = 16, E[N] = 10; var L = {}; L[O] = a, L[N] = o, L[C] = s; var q = 1 , T = 2 , I = 3 , D = 4 , B = 5 , P = 6 , $ = 7 , j = {}; function R(e) { return e >= 55296 && e <= 57343 || e > 1114111 } function U(e) { return e >= 1 && e <= 8 || 11 === e || e >= 13 && e <= 31 || e >= 127 && e <= 159 || e >= 64976 && e <= 65007 || !(65535 & ~e) || 65534 == (65535 & e) } j[q] = "Named character references must be terminated by a semicolon", j[T] = "Numeric character references must be terminated by a semicolon", j[I] = "Named character references cannot be empty", j[D] = "Numeric character references cannot be empty", j[B] = "Named character references must be known", j[P] = "Numeric character references cannot be disallowed", j[$] = "Numeric character references cannot be outside the permissible Unicode range" } , 9489: (e,t,n)=>{ "use strict"; var r = n(1383) , i = n(4197) , o = n(5325) , s = "data"; e.exports = function(e, t) { var n = r(t) , h = t , p = o; if (n in e.normal) return e.property[e.normal[n]]; n.length > 4 && n.slice(0, 4) === s && a.test(t) && ("-" === t.charAt(4) ? h = function(e) { var t = e.slice(5).replace(l, f); return s + t.charAt(0).toUpperCase() + t.slice(1) }(t) : t = function(e) { var t = e.slice(4); if (l.test(t)) return e; t = t.replace(c, u), "-" !== t.charAt(0) && (t = "-" + t); return s + t }(t), p = i); return new p(h,t) } ; var a = /^data[-\w.:]+$/i , l = /-[a-z]/g , c = /[A-Z]/g; function u(e) { return "-" + e.toLowerCase() } function f(e) { return e.charAt(1).toUpperCase() } } , 8707: (e,t,n)=>{ "use strict"; var r = n(5261) , i = n(6920) , o = n(313) , s = n(4506) , a = n(8055) , l = n(535); e.exports = r([o, i, s, a, l]) } , 8055: (e,t,n)=>{ "use strict"; var r = n(5176) , i = n(7297) , o = r.booleanish , s = r.number , a = r.spaceSeparated; e.exports = i({ transform: function(e, t) { return "role" === t ? t : "aria-" + t.slice(4).toLowerCase() }, properties: { ariaActiveDescendant: null, ariaAtomic: o, ariaAutoComplete: null, ariaBusy: o, ariaChecked: o, ariaColCount: s, ariaColIndex: s, ariaColSpan: s, ariaControls: a, ariaCurrent: null, ariaDescribedBy: a, ariaDetails: null, ariaDisabled: o, ariaDropEffect: a, ariaErrorMessage: null, ariaExpanded: o, ariaFlowTo: a, ariaGrabbed: o, ariaHasPopup: null, ariaHidden: o, ariaInvalid: null, ariaKeyShortcuts: null, ariaLabel: null, ariaLabelledBy: a, ariaLevel: s, ariaLive: null, ariaModal: o, ariaMultiLine: o, ariaMultiSelectable: o, ariaOrientation: null, ariaOwns: a, ariaPlaceholder: null, ariaPosInSet: s, ariaPressed: o, ariaReadOnly: o, ariaRelevant: null, ariaRequired: o, ariaRoleDescription: a, ariaRowCount: s, ariaRowIndex: s, ariaRowSpan: s, ariaSelected: o, ariaSetSize: s, ariaSort: null, ariaValueMax: s, ariaValueMin: s, ariaValueNow: s, ariaValueText: null, role: null } }) } , 535: (e,t,n)=>{ "use strict"; var r = n(5176) , i = n(7297) , o = n(1716) , s = r.boolean , a = r.overloadedBoolean , l = r.booleanish , c = r.number , u = r.spaceSeparated , f = r.commaSeparated; e.exports = i({ space: "html", attributes: { acceptcharset: "accept-charset", classname: "class", htmlfor: "for", httpequiv: "http-equiv" }, transform: o, mustUseProperty: ["checked", "multiple", "muted", "selected"], properties: { abbr: null, accept: f, acceptCharset: u, accessKey: u, action: null, allow: null, allowFullScreen: s, allowPaymentRequest: s, allowUserMedia: s, alt: null, as: null, async: s, autoCapitalize: null, autoComplete: u, autoFocus: s, autoPlay: s, capture: s, charSet: null, checked: s, cite: null, className: u, cols: c, colSpan: null, content: null, contentEditable: l, controls: s, controlsList: u, coords: c | f, crossOrigin: null, data: null, dateTime: null, decoding: null, default: s, defer: s, dir: null, dirName: null, disabled: s, download: a, draggable: l, encType: null, enterKeyHint: null, form: null, formAction: null, formEncType: null, formMethod: null, formNoValidate: s, formTarget: null, headers: u, height: c, hidden: s, high: c, href: null, hrefLang: null, htmlFor: u, httpEquiv: u, id: null, imageSizes: null, imageSrcSet: f, inputMode: null, integrity: null, is: null, isMap: s, itemId: null, itemProp: u, itemRef: u, itemScope: s, itemType: u, kind: null, label: null, lang: null, language: null, list: null, loading: null, loop: s, low: c, manifest: null, max: null, maxLength: c, media: null, method: null, min: null, minLength: c, multiple: s, muted: s, name: null, nonce: null, noModule: s, noValidate: s, onAbort: null, onAfterPrint: null, onAuxClick: null, onBeforePrint: null, onBeforeUnload: null, onBlur: null, onCancel: null, onCanPlay: null, onCanPlayThrough: null, onChange: null, onClick: null, onClose: null, onContextMenu: null, onCopy: null, onCueChange: null, onCut: null, onDblClick: null, onDrag: null, onDragEnd: null, onDragEnter: null, onDragExit: null, onDragLeave: null, onDragOver: null, onDragStart: null, onDrop: null, onDurationChange: null, onEmptied: null, onEnded: null, onError: null, onFocus: null, onFormData: null, onHashChange: null, onInput: null, onInvalid: null, onKeyDown: null, onKeyPress: null, onKeyUp: null, onLanguageChange: null, onLoad: null, onLoadedData: null, onLoadedMetadata: null, onLoadEnd: null, onLoadStart: null, onMessage: null, onMessageError: null, onMouseDown: null, onMouseEnter: null, onMouseLeave: null, onMouseMove: null, onMouseOut: null, onMouseOver: null, onMouseUp: null, onOffline: null, onOnline: null, onPageHide: null, onPageShow: null, onPaste: null, onPause: null, onPlay: null, onPlaying: null, onPopState: null, onProgress: null, onRateChange: null, onRejectionHandled: null, onReset: null, onResize: null, onScroll: null, onSecurityPolicyViolation: null, onSeeked: null, onSeeking: null, onSelect: null, onSlotChange: null, onStalled: null, onStorage: null, onSubmit: null, onSuspend: null, onTimeUpdate: null, onToggle: null, onUnhandledRejection: null, onUnload: null, onVolumeChange: null, onWaiting: null, onWheel: null, open: s, optimum: c, pattern: null, ping: u, placeholder: null, playsInline: s, poster: null, preload: null, readOnly: s, referrerPolicy: null, rel: u, required: s, reversed: s, rows: c, rowSpan: c, sandbox: u, scope: null, scoped: s, seamless: s, selected: s, shape: null, size: c, sizes: null, slot: null, span: c, spellCheck: l, src: null, srcDoc: null, srcLang: null, srcSet: f, start: c, step: null, style: null, tabIndex: c, target: null, title: null, translate: null, type: null, typeMustMatch: s, useMap: null, value: l, width: c, wrap: null, align: null, aLink: null, archive: u, axis: null, background: null, bgColor: null, border: c, borderColor: null, bottomMargin: c, cellPadding: null, cellSpacing: null, char: null, charOff: null, classId: null, clear: null, code: null, codeBase: null, codeType: null, color: null, compact: s, declare: s, event: null, face: null, frame: null, frameBorder: null, hSpace: c, leftMargin: c, link: null, longDesc: null, lowSrc: null, marginHeight: c, marginWidth: c, noResize: s, noHref: s, noShade: s, noWrap: s, object: null, profile: null, prompt: null, rev: null, rightMargin: c, rules: null, scheme: null, scrolling: l, standby: null, summary: null, text: null, topMargin: c, valueType: null, version: null, vAlign: null, vLink: null, vSpace: c, allowTransparency: null, autoCorrect: null, autoSave: null, disablePictureInPicture: s, disableRemotePlayback: s, prefix: null, property: null, results: c, security: null, unselectable: null } }) } , 4834: (e,t,n)=>{ "use strict"; var r = n(5176) , i = n(7297) , o = n(6933) , s = r.boolean , a = r.number , l = r.spaceSeparated , c = r.commaSeparated , u = r.commaOrSpaceSeparated; e.exports = i({ space: "svg", attributes: { accentHeight: "accent-height", alignmentBaseline: "alignment-baseline", arabicForm: "arabic-form", baselineShift: "baseline-shift", capHeight: "cap-height", className: "class", clipPath: "clip-path", clipRule: "clip-rule", colorInterpolation: "color-interpolation", colorInterpolationFilters: "color-interpolation-filters", colorProfile: "color-profile", colorRendering: "color-rendering", crossOrigin: "crossorigin", dataType: "datatype", dominantBaseline: "dominant-baseline", enableBackground: "enable-background", fillOpacity: "fill-opacity", fillRule: "fill-rule", floodColor: "flood-color", floodOpacity: "flood-opacity", fontFamily: "font-family", fontSize: "font-size", fontSizeAdjust: "font-size-adjust", fontStretch: "font-stretch", fontStyle: "font-style", fontVariant: "font-variant", fontWeight: "font-weight", glyphName: "glyph-name", glyphOrientationHorizontal: "glyph-orientation-horizontal", glyphOrientationVertical: "glyph-orientation-vertical", hrefLang: "hreflang", horizAdvX: "horiz-adv-x", horizOriginX: "horiz-origin-x", horizOriginY: "horiz-origin-y", imageRendering: "image-rendering", letterSpacing: "letter-spacing", lightingColor: "lighting-color", markerEnd: "marker-end", markerMid: "marker-mid", markerStart: "marker-start", navDown: "nav-down", navDownLeft: "nav-down-left", navDownRight: "nav-down-right", navLeft: "nav-left", navNext: "nav-next", navPrev: "nav-prev", navRight: "nav-right", navUp: "nav-up", navUpLeft: "nav-up-left", navUpRight: "nav-up-right", onAbort: "onabort", onActivate: "onactivate", onAfterPrint: "onafterprint", onBeforePrint: "onbeforeprint", onBegin: "onbegin", onCancel: "oncancel", onCanPlay: "oncanplay", onCanPlayThrough: "oncanplaythrough", onChange: "onchange", onClick: "onclick", onClose: "onclose", onCopy: "oncopy", onCueChange: "oncuechange", onCut: "oncut", onDblClick: "ondblclick", onDrag: "ondrag", onDragEnd: "ondragend", onDragEnter: "ondragenter", onDragExit: "ondragexit", onDragLeave: "ondragleave", onDragOver: "ondragover", onDragStart: "ondragstart", onDrop: "ondrop", onDurationChange: "ondurationchange", onEmptied: "onemptied", onEnd: "onend", onEnded: "onended", onError: "onerror", onFocus: "onfocus", onFocusIn: "onfocusin", onFocusOut: "onfocusout", onHashChange: "onhashchange", onInput: "oninput", onInvalid: "oninvalid", onKeyDown: "onkeydown", onKeyPress: "onkeypress", onKeyUp: "onkeyup", onLoad: "onload", onLoadedData: "onloadeddata", onLoadedMetadata: "onloadedmetadata", onLoadStart: "onloadstart", onMessage: "onmessage", onMouseDown: "onmousedown", onMouseEnter: "onmouseenter", onMouseLeave: "onmouseleave", onMouseMove: "onmousemove", onMouseOut: "onmouseout", onMouseOver: "onmouseover", onMouseUp: "onmouseup", onMouseWheel: "onmousewheel", onOffline: "onoffline", onOnline: "ononline", onPageHide: "onpagehide", onPageShow: "onpageshow", onPaste: "onpaste", onPause: "onpause", onPlay: "onplay", onPlaying: "onplaying", onPopState: "onpopstate", onProgress: "onprogress", onRateChange: "onratechange", onRepeat: "onrepeat", onReset: "onreset", onResize: "onresize", onScroll: "onscroll", onSeeked: "onseeked", onSeeking: "onseeking", onSelect: "onselect", onShow: "onshow", onStalled: "onstalled", onStorage: "onstorage", onSubmit: "onsubmit", onSuspend: "onsuspend", onTimeUpdate: "ontimeupdate", onToggle: "ontoggle", onUnload: "onunload", onVolumeChange: "onvolumechange", onWaiting: "onwaiting", onZoom: "onzoom", overlinePosition: "overline-position", overlineThickness: "overline-thickness", paintOrder: "paint-order", panose1: "panose-1", pointerEvents: "pointer-events", referrerPolicy: "referrerpolicy", renderingIntent: "rendering-intent", shapeRendering: "shape-rendering", stopColor: "stop-color", stopOpacity: "stop-opacity", strikethroughPosition: "strikethrough-position", strikethroughThickness: "strikethrough-thickness", strokeDashArray: "stroke-dasharray", strokeDashOffset: "stroke-dashoffset", strokeLineCap: "stroke-linecap", strokeLineJoin: "stroke-linejoin", strokeMiterLimit: "stroke-miterlimit", strokeOpacity: "stroke-opacity", strokeWidth: "stroke-width", tabIndex: "tabindex", textAnchor: "text-anchor", textDecoration: "text-decoration", textRendering: "text-rendering", typeOf: "typeof", underlinePosition: "underline-position", underlineThickness: "underline-thickness", unicodeBidi: "unicode-bidi", unicodeRange: "unicode-range", unitsPerEm: "units-per-em", vAlphabetic: "v-alphabetic", vHanging: "v-hanging", vIdeographic: "v-ideographic", vMathematical: "v-mathematical", vectorEffect: "vector-effect", vertAdvY: "vert-adv-y", vertOriginX: "vert-origin-x", vertOriginY: "vert-origin-y", wordSpacing: "word-spacing", writingMode: "writing-mode", xHeight: "x-height", playbackOrder: "playbackorder", timelineBegin: "timelinebegin" }, transform: o, properties: { about: u, accentHeight: a, accumulate: null, additive: null, alignmentBaseline: null, alphabetic: a, amplitude: a, arabicForm: null, ascent: a, attributeName: null, attributeType: null, azimuth: a, bandwidth: null, baselineShift: null, baseFrequency: null, baseProfile: null, bbox: null, begin: null, bias: a, by: null, calcMode: null, capHeight: a, className: l, clip: null, clipPath: null, clipPathUnits: null, clipRule: null, color: null, colorInterpolation: null, colorInterpolationFilters: null, colorProfile: null, colorRendering: null, content: null, contentScriptType: null, contentStyleType: null, crossOrigin: null, cursor: null, cx: null, cy: null, d: null, dataType: null, defaultAction: null, descent: a, diffuseConstant: a, direction: null, display: null, dur: null, divisor: a, dominantBaseline: null, download: s, dx: null, dy: null, edgeMode: null, editable: null, elevation: a, enableBackground: null, end: null, event: null, exponent: a, externalResourcesRequired: null, fill: null, fillOpacity: a, fillRule: null, filter: null, filterRes: null, filterUnits: null, floodColor: null, floodOpacity: null, focusable: null, focusHighlight: null, fontFamily: null, fontSize: null, fontSizeAdjust: null, fontStretch: null, fontStyle: null, fontVariant: null, fontWeight: null, format: null, fr: null, from: null, fx: null, fy: null, g1: c, g2: c, glyphName: c, glyphOrientationHorizontal: null, glyphOrientationVertical: null, glyphRef: null, gradientTransform: null, gradientUnits: null, handler: null, hanging: a, hatchContentUnits: null, hatchUnits: null, height: null, href: null, hrefLang: null, horizAdvX: a, horizOriginX: a, horizOriginY: a, id: null, ideographic: a, imageRendering: null, initialVisibility: null, in: null, in2: null, intercept: a, k: a, k1: a, k2: a, k3: a, k4: a, kernelMatrix: u, kernelUnitLength: null, keyPoints: null, keySplines: null, keyTimes: null, kerning: null, lang: null, lengthAdjust: null, letterSpacing: null, lightingColor: null, limitingConeAngle: a, local: null, markerEnd: null, markerMid: null, markerStart: null, markerHeight: null, markerUnits: null, markerWidth: null, mask: null, maskContentUnits: null, maskUnits: null, mathematical: null, max: null, media: null, mediaCharacterEncoding: null, mediaContentEncodings: null, mediaSize: a, mediaTime: null, method: null, min: null, mode: null, name: null, navDown: null, navDownLeft: null, navDownRight: null, navLeft: null, navNext: null, navPrev: null, navRight: null, navUp: null, navUpLeft: null, navUpRight: null, numOctaves: null, observer: null, offset: null, onAbort: null, onActivate: null, onAfterPrint: null, onBeforePrint: null, onBegin: null, onCancel: null, onCanPlay: null, onCanPlayThrough: null, onChange: null, onClick: null, onClose: null, onCopy: null, onCueChange: null, onCut: null, onDblClick: null, onDrag: null, onDragEnd: null, onDragEnter: null, onDragExit: null, onDragLeave: null, onDragOver: null, onDragStart: null, onDrop: null, onDurationChange: null, onEmptied: null, onEnd: null, onEnded: null, onError: null, onFocus: null, onFocusIn: null, onFocusOut: null, onHashChange: null, onInput: null, onInvalid: null, onKeyDown: null, onKeyPress: null, onKeyUp: null, onLoad: null, onLoadedData: null, onLoadedMetadata: null, onLoadStart: null, onMessage: null, onMouseDown: null, onMouseEnter: null, onMouseLeave: null, onMouseMove: null, onMouseOut: null, onMouseOver: null, onMouseUp: null, onMouseWheel: null, onOffline: null, onOnline: null, onPageHide: null, onPageShow: null, onPaste: null, onPause: null, onPlay: null, onPlaying: null, onPopState: null, onProgress: null, onRateChange: null, onRepeat: null, onReset: null, onResize: null, onScroll: null, onSeeked: null, onSeeking: null, onSelect: null, onShow: null, onStalled: null, onStorage: null, onSubmit: null, onSuspend: null, onTimeUpdate: null, onToggle: null, onUnload: null, onVolumeChange: null, onWaiting: null, onZoom: null, opacity: null, operator: null, order: null, orient: null, orientation: null, origin: null, overflow: null, overlay: null, overlinePosition: a, overlineThickness: a, paintOrder: null, panose1: null, path: null, pathLength: a, patternContentUnits: null, patternTransform: null, patternUnits: null, phase: null, ping: l, pitch: null, playbackOrder: null, pointerEvents: null, points: null, pointsAtX: a, pointsAtY: a, pointsAtZ: a, preserveAlpha: null, preserveAspectRatio: null, primitiveUnits: null, propagate: null, property: u, r: null, radius: null, referrerPolicy: null, refX: null, refY: null, rel: u, rev: u, renderingIntent: null, repeatCount: null, repeatDur: null, requiredExtensions: u, requiredFeatures: u, requiredFonts: u, requiredFormats: u, resource: null, restart: null, result: null, rotate: null, rx: null, ry: null, scale: null, seed: null, shapeRendering: null, side: null, slope: null, snapshotTime: null, specularConstant: a, specularExponent: a, spreadMethod: null, spacing: null, startOffset: null, stdDeviation: null, stemh: null, stemv: null, stitchTiles: null, stopColor: null, stopOpacity: null, strikethroughPosition: a, strikethroughThickness: a, string: null, stroke: null, strokeDashArray: u, strokeDashOffset: null, strokeLineCap: null, strokeLineJoin: null, strokeMiterLimit: a, strokeOpacity: a, strokeWidth: null, style: null, surfaceScale: a, syncBehavior: null, syncBehaviorDefault: null, syncMaster: null, syncTolerance: null, syncToleranceDefault: null, systemLanguage: u, tabIndex: a, tableValues: null, target: null, targetX: a, targetY: a, textAnchor: null, textDecoration: null, textRendering: null, textLength: null, timelineBegin: null, title: null, transformBehavior: null, type: null, typeOf: u, to: null, transform: null, u1: null, u2: null, underlinePosition: a, underlineThickness: a, unicode: null, unicodeBidi: null, unicodeRange: null, unitsPerEm: a, values: null, vAlphabetic: a, vMathematical: a, vectorEffect: null, vHanging: a, vIdeographic: a, version: null, vertAdvY: a, vertOriginX: a, vertOriginY: a, viewBox: null, viewTarget: null, visibility: null, width: null, widths: null, wordSpacing: null, writingMode: null, x: null, x1: null, x2: null, xChannelSelector: null, xHeight: a, y: null, y1: null, y2: null, yChannelSelector: null, z: null, zoomAndPan: null } }) } , 1716: (e,t,n)=>{ "use strict"; var r = n(6933); e.exports = function(e, t) { return r(e, t.toLowerCase()) } } , 6933: e=>{ "use strict"; e.exports = function(e, t) { return t in e ? e[t] : t } } , 7297: (e,t,n)=>{ "use strict"; var r = n(1383) , i = n(1782) , o = n(4197); e.exports = function(e) { var t, n, s = e.space, a = e.mustUseProperty || [], l = e.attributes || {}, c = e.properties, u = e.transform, f = {}, h = {}; for (t in c) n = new o(t,u(l, t),c[t],s), -1 !== a.indexOf(t) && (n.mustUseProperty = !0), f[t] = n, h[r(t)] = t, h[r(n.attribute)] = t; return new i(f,h,s) } } , 4197: (e,t,n)=>{ "use strict"; var r = n(5325) , i = n(5176); e.exports = a, a.prototype = new r, a.prototype.defined = !0; var o = ["boolean", "booleanish", "overloadedBoolean", "number", "commaSeparated", "spaceSeparated", "commaOrSpaceSeparated"] , s = o.length; function a(e, t, n, a) { var c, u = -1; for (l(this, "space", a), r.call(this, e, t); ++u < s; ) l(this, c = o[u], (n & i[c]) === i[c]) } function l(e, t, n) { n && (e[t] = n) } } , 5325: e=>{ "use strict"; e.exports = n; var t = n.prototype; function n(e, t) { this.property = e, this.attribute = t } t.space = null, t.attribute = null, t.property = null, t.boolean = !1, t.booleanish = !1, t.overloadedBoolean = !1, t.number = !1, t.commaSeparated = !1, t.spaceSeparated = !1, t.commaOrSpaceSeparated = !1, t.mustUseProperty = !1, t.defined = !1 } , 5261: (e,t,n)=>{ "use strict"; var r = n(8593) , i = n(1782); e.exports = function(e) { var t, n, o = e.length, s = [], a = [], l = -1; for (; ++l < o; ) t = e[l], s.push(t.property), a.push(t.normal), n = t.space; return new i(r.apply(null, s),r.apply(null, a),n) } } , 1782: e=>{ "use strict"; e.exports = n; var t = n.prototype; function n(e, t, n) { this.property = e, this.normal = t, n && (this.space = n) } t.space = null, t.normal = {}, t.property = {} } , 5176: (e,t)=>{ "use strict"; var n = 0; function r() { return Math.pow(2, ++n) } t.boolean = r(), t.booleanish = r(), t.overloadedBoolean = r(), t.number = r(), t.spaceSeparated = r(), t.commaSeparated = r(), t.commaOrSpaceSeparated = r() } , 6920: (e,t,n)=>{ "use strict"; var r = n(7297); e.exports = r({ space: "xlink", transform: function(e, t) { return "xlink:" + t.slice(5).toLowerCase() }, properties: { xLinkActuate: null, xLinkArcRole: null, xLinkHref: null, xLinkRole: null, xLinkShow: null, xLinkTitle: null, xLinkType: null } }) } , 313: (e,t,n)=>{ "use strict"; var r = n(7297); e.exports = r({ space: "xml", transform: function(e, t) { return "xml:" + t.slice(3).toLowerCase() }, properties: { xmlLang: null, xmlBase: null, xmlSpace: null } }) } , 4506: (e,t,n)=>{ "use strict"; var r = n(7297) , i = n(1716); e.exports = r({ space: "xmlns", attributes: { xmlnsxlink: "xmlns:xlink" }, transform: i, properties: { xmlns: null, xmlnsXLink: null } }) } , 1383: e=>{ "use strict"; e.exports = function(e) { return e.toLowerCase() } } , 7422: (e,t,n)=>{ "use strict"; var r = n(5261) , i = n(6920) , o = n(313) , s = n(4506) , a = n(8055) , l = n(4834); e.exports = r([o, i, s, a, l]) } , 8502: (e,t)=>{ "use strict"; t.A = function(e) { return e.join(r).trim() } ; var n = "" , r = " " , i = /[ \t\n\r\f]+/g } , 631: (e,t,n)=>{ "use strict"; e.exports = n(9159) } , 6426: (e,t,n)=>{ var r, i = n(9710), o = {}; for (r in e.exports = o, i) o[i[r]] = r } , 9677: e=>{ e.exports = String.fromCharCode } , 3303: e=>{ e.exports = {}.hasOwnProperty } , 1632: e=>{ "use strict"; e.exports = function(e, t) { if (e = e.replace(t.subset ? function(e) { var t = [] , n = -1; for (; ++n < e.length; ) t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g, "\\$&")); return new RegExp("(?:" + t.join("|") + ")","g") }(t.subset) : /["&'<>`]/g, n), t.subset || t.escapeOnly) return e; return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g, (function(e, n, r) { return t.format(1024 * (e.charCodeAt(0) - 55296) + e.charCodeAt(1) - 56320 + 65536, r.charCodeAt(n + 2), t) } )).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g, n); function n(e, n, r) { return t.format(e.charCodeAt(0), r.charCodeAt(n + 1), t) } } } , 1185: (e,t,n)=>{ "use strict"; var r = n(8593) , i = n(1632) , o = n(6901); e.exports = function(e, t) { return i(e, r(t, { format: o })) } } , 9932: (e,t,n)=>{ "use strict"; var r = n(1632) , i = n(6901); e.exports = function(e) { return r(e, { escapeOnly: !0, useNamedReferences: !0, format: i }) } } , 9159: (e,t,n)=>{ "use strict"; var r = n(1185) , i = n(9932); e.exports = r, r.escape = i } , 6901: (e,t,n)=>{ e.exports = function(e, t, n) { var s, a, l; (n.useNamedReferences || n.useShortestReferences) && (s = o(e, t, n.omitOptionalSemicolons, n.attribute)); !n.useShortestReferences && s || (a = r(e, t, n.omitOptionalSemicolons), n.useShortestReferences && (l = i(e, t, n.omitOptionalSemicolons)).length < a.length && (a = l)); return s && (!n.useShortestReferences || s.length < a.length) ? s : a } ; var r = n(4169) , i = n(5245) , o = n(2315) } , 5245: (e,t,n)=>{ e.exports = function(e, t, n) { var i = "&#" + String(e); return n && t && !/\d/.test(r(t)) ? i : i + ";" } ; var r = n(9677) } , 4169: (e,t,n)=>{ e.exports = function(e, t, n) { var i = "&#x" + e.toString(16).toUpperCase(); return n && t && !/[\dA-Fa-f]/.test(r(t)) ? i : i + ";" } ; var r = n(9677) } , 2315: (e,t,n)=>{ e.exports = function(e, t, n, l) { var c, u, f = o(e); if (s.call(i, f)) return u = "&" + (c = i[f]), n && s.call(r, c) && -1 === a.indexOf(c) && (!l || t && 61 !== t && /[^\da-z]/i.test(o(t))) ? u : u + ";"; return "" } ; var r = n(4472) , i = n(6426) , o = n(9677) , s = n(3303) , a = n(5547) } , 9650: e=>{ "use strict"; e.exports = function(e, t, n) { var r; null != n || "object" == typeof t && !Array.isArray(t) || (n = t, t = {}); r = Object.assign({ type: String(e) }, t), Array.isArray(n) ? r.children = n : null != n && (r.value = String(n)); return r } } , 6859: e=>{ "use strict"; e.exports = function(e) { return !(e && e.position && e.position.start && e.position.start.line && e.position.start.column && e.position.end && e.position.end.line && e.position.end.column) } } , 493: e=>{ "use strict"; function t(e) { if (null == e) return n; if ("string" == typeof e) return function(e) { return t; function t(t) { return Boolean(t && t.type === e) } }(e); if ("object" == typeof e) return "length"in e ? function(e) { var n = [] , r = -1; for (; ++r < e.length; ) n[r] = t(e[r]); return i; function i() { for (var e = -1; ++e < n.length; ) if (n[e].apply(this, arguments)) return !0; return !1 } }(e) : function(e) { return t; function t(t) { var n; for (n in e) if (t[n] !== e[n]) return !1; return !0 } }(e); if ("function" == typeof e) return e; throw new Error("Expected function, string, or object as test") } function n() { return !0 } e.exports = t } , 1039: e=>{ "use strict"; var t = i("start") , n = i("end"); function r(e) { return { start: t(e), end: n(e) } } function i(e) { return t.displayName = e, t; function t(t) { var n = t && t.position && t.position[e] || {}; return { line: n.line || null, column: n.column || null, offset: isNaN(n.offset) ? null : n.offset } } } e.exports = r, r.start = t, r.end = n } , 8124: (e,t,n)=>{ "use strict"; var r = n(6658); function i(e) { delete e.position } function o(e) { e.position = void 0 } e.exports = function(e, t) { return r(e, t ? i : o), e } } , 2472: e=>{ "use strict"; var t = {}.hasOwnProperty; function n(e) { return e && "object" == typeof e || (e = {}), i(e.line) + ":" + i(e.column) } function r(e) { return e && "object" == typeof e || (e = {}), n(e.start) + "-" + n(e.end) } function i(e) { return e && "number" == typeof e ? e : 1 } e.exports = function(e) { if (!e || "object" != typeof e) return ""; if (t.call(e, "position") || t.call(e, "type")) return r(e.position); if (t.call(e, "start") || t.call(e, "end")) return r(e); if (t.call(e, "line") || t.call(e, "column")) return n(e); return "" } } , 5001: e=>{ e.exports = function(e) { return e } } , 2888: (e,t,n)=>{ "use strict"; e.exports = l; var r = n(493) , i = n(5001) , o = !0 , s = "skip" , a = !1; function l(e, t, n, l) { var c, u; "function" == typeof t && "function" != typeof n && (l = n, n = t, t = null), u = r(t), c = l ? -1 : 1, function e(r, f, h) { var p, d = "object" == typeof r && null !== r ? r : {}; "string" == typeof d.type && (p = "string" == typeof d.tagName ? d.tagName : "string" == typeof d.name ? d.name : void 0, m.displayName = "node (" + i(d.type + (p ? "<" + p + ">" : "")) + ")"); return m; function m() { var i, p, d = h.concat(r), m = []; if ((!t || u(r, f, h[h.length - 1] || null)) && (m = function(e) { if (null !== e && "object" == typeof e && "length"in e) return e; if ("number" == typeof e) return [o, e]; return [e] }(n(r, h)), m[0] === a)) return m; if (r.children && m[0] !== s) for (p = (l ? r.children.length : -1) + c; p > -1 && p < r.children.length; ) { if ((i = e(r.children[p], p, d)())[0] === a) return i; p = "number" == typeof i[1] ? i[1] : p + c } return m } }(e, null, [])() } l.CONTINUE = o, l.SKIP = s, l.EXIT = a } , 6658: (e,t,n)=>{ "use strict"; e.exports = a; var r = n(2888) , i = r.CONTINUE , o = r.SKIP , s = r.EXIT; function a(e, t, n, i) { "function" == typeof t && "function" != typeof n && (i = n, n = t, t = null), r(e, t, (function(e, t) { var r = t[t.length - 1] , i = r ? r.children.indexOf(e) : null; return n(e, i, r) } ), i) } a.CONTINUE = i, a.SKIP = o, a.EXIT = s } , 922: e=>{ "use strict"; e.exports = function(e) { var t = String(e) , n = [] , r = /\r?\n|\r/g; for (; r.exec(t); ) n.push(r.lastIndex); return n.push(t.length + 1), { toPoint: i, toPosition: i, toOffset: function(e) { var t, r = e && e.line, i = e && e.column; isNaN(r) || isNaN(i) || !(r - 1 in n) || (t = (n[r - 2] || 0) + i - 1 || 0); return t > -1 && t < n[n.length - 1] ? t : -1 } }; function i(e) { var t = -1; if (e > -1 && e < n[n.length - 1]) for (; ++t < n.length; ) if (n[t] > e) return { line: t + 1, column: e - (n[t - 1] || 0) + 1, offset: e }; return {} } } } , 859: (e,t,n)=>{ "use strict"; var r = n(2472); function i() {} e.exports = s, i.prototype = Error.prototype, s.prototype = new i; var o = s.prototype; function s(e, t, n) { var i, o, s; "string" == typeof t && (n = t, t = null), i = function(e) { var t, n = [null, null]; "string" == typeof e && (-1 === (t = e.indexOf(":")) ? n[1] = e : (n[0] = e.slice(0, t), n[1] = e.slice(t + 1))); return n }(n), o = r(t) || "1:1", s = { start: { line: null, column: null }, end: { line: null, column: null } }, t && t.position && (t = t.position), t && (t.start ? (s = t, t = t.start) : s.start = t), e.stack && (this.stack = e.stack, e = e.message), this.message = e, this.name = o, this.reason = e, this.line = t ? t.line : null, this.column = t ? t.column : null, this.location = s, this.source = i[0], this.ruleId = i[1] } o.file = "", o.name = "", o.reason = "", o.message = "", o.stack = "", o.fatal = null, o.column = null, o.line = null } , 7074: (e,t,n)=>{ "use strict"; e.exports = n(9478) } , 4571: (e,t,n)=>{ "use strict"; var r = n(6931) , i = n(7512) , o = n(2660); e.exports = l; var s = {}.hasOwnProperty , a = ["history", "path", "basename", "stem", "extname", "dirname"]; function l(e) { var t, n; if (e) { if ("string" == typeof e || o(e)) e = { contents: e }; else if ("message"in e && "messages"in e) return e } else e = {}; if (!(this instanceof l)) return new l(e); for (this.data = {}, this.messages = [], this.history = [], this.cwd = i.cwd(), n = -1; ++n < a.length; ) t = a[n], s.call(e, t) && (this[t] = e[t]); for (t in e) a.indexOf(t) < 0 && (this[t] = e[t]) } function c(e, t) { if (e && e.indexOf(r.sep) > -1) throw new Error("`" + t + "` cannot be a path: did not expect `" + r.sep + "`") } function u(e, t) { if (!e) throw new Error("`" + t + "` cannot be empty") } function f(e, t) { if (!e) throw new Error("Setting `" + t + "` requires `path` to be set too") } l.prototype.toString = function(e) { return (this.contents || "").toString(e) } , Object.defineProperty(l.prototype, "path", { get: function() { return this.history[this.history.length - 1] }, set: function(e) { u(e, "path"), this.path !== e && this.history.push(e) } }), Object.defineProperty(l.prototype, "dirname", { get: function() { return "string" == typeof this.path ? r.dirname(this.path) : void 0 }, set: function(e) { f(this.path, "dirname"), this.path = r.join(e || "", this.basename) } }), Object.defineProperty(l.prototype, "basename", { get: function() { return "string" == typeof this.path ? r.basename(this.path) : void 0 }, set: function(e) { u(e, "basename"), c(e, "basename"), this.path = r.join(this.dirname || "", e) } }), Object.defineProperty(l.prototype, "extname", { get: function() { return "string" == typeof this.path ? r.extname(this.path) : void 0 }, set: function(e) { if (c(e, "extname"), f(this.path, "extname"), e) { if (46 !== e.charCodeAt(0)) throw new Error("`extname` must start with `.`"); if (e.indexOf(".", 1) > -1) throw new Error("`extname` cannot contain multiple dots") } this.path = r.join(this.dirname, this.stem + (e || "")) } }), Object.defineProperty(l.prototype, "stem", { get: function() { return "string" == typeof this.path ? r.basename(this.path, this.extname) : void 0 }, set: function(e) { u(e, "stem"), c(e, "stem"), this.path = r.join(this.dirname || "", e + (this.extname || "")) } }) } , 9478: (e,t,n)=>{ "use strict"; var r = n(859) , i = n(4571); e.exports = i, i.prototype.message = function(e, t, n) { var i = new r(e,t,n); this.path && (i.name = this.path + ":" + i.name, i.file = this.path); return i.fatal = !1, this.messages.push(i), i } , i.prototype.info = function() { var e = this.message.apply(this, arguments); return e.fatal = null, e } , i.prototype.fail = function() { var e = this.message.apply(this, arguments); throw e.fatal = !0, e } } , 6931: (e,t)=>{ "use strict"; function n(e) { if ("string" != typeof e) throw new TypeError("Path must be a string. Received " + JSON.stringify(e)) } t.basename = function(e, t) { var r, i, o, s, a = 0, l = -1; if (void 0 !== t && "string" != typeof t) throw new TypeError('"ext" argument must be a string'); if (n(e), r = e.length, void 0 === t || !t.length || t.length > e.length) { for (; r--; ) if (47 === e.charCodeAt(r)) { if (o) { a = r + 1; break } } else l < 0 && (o = !0, l = r + 1); return l < 0 ? "" : e.slice(a, l) } if (t === e) return ""; i = -1, s = t.length - 1; for (; r--; ) if (47 === e.charCodeAt(r)) { if (o) { a = r + 1; break } } else i < 0 && (o = !0, i = r + 1), s > -1 && (e.charCodeAt(r) === t.charCodeAt(s--) ? s < 0 && (l = r) : (s = -1, l = i)); a === l ? l = i : l < 0 && (l = e.length); return e.slice(a, l) } , t.dirname = function(e) { var t, r, i; if (n(e), !e.length) return "."; t = -1, i = e.length; for (; --i; ) if (47 === e.charCodeAt(i)) { if (r) { t = i; break } } else r || (r = !0); return t < 0 ? 47 === e.charCodeAt(0) ? "/" : "." : 1 === t && 47 === e.charCodeAt(0) ? "//" : e.slice(0, t) } , t.extname = function(e) { var t, r, i, o = -1, s = 0, a = -1, l = 0; n(e), i = e.length; for (; i--; ) if (47 !== (r = e.charCodeAt(i))) a < 0 && (t = !0, a = i + 1), 46 === r ? o < 0 ? o = i : 1 !== l && (l = 1) : o > -1 && (l = -1); else if (t) { s = i + 1; break } if (o < 0 || a < 0 || 0 === l || 1 === l && o === a - 1 && o === s + 1) return ""; return e.slice(o, a) } , t.join = function() { var e, t = -1; for (; ++t < arguments.length; ) n(arguments[t]), arguments[t] && (e = void 0 === e ? arguments[t] : e + "/" + arguments[t]); return void 0 === e ? "." : function(e) { var t, r; n(e), t = 47 === e.charCodeAt(0), r = function(e, t) { var n, r, i = "", o = 0, s = -1, a = 0, l = -1; for (; ++l <= e.length; ) { if (l < e.length) n = e.charCodeAt(l); else { if (47 === n) break; n = 47 } if (47 === n) { if (s === l - 1 || 1 === a) ; else if (s !== l - 1 && 2 === a) { if (i.length < 2 || 2 !== o || 46 !== i.charCodeAt(i.length - 1) || 46 !== i.charCodeAt(i.length - 2)) if (i.length > 2) { if ((r = i.lastIndexOf("/")) !== i.length - 1) { r < 0 ? (i = "", o = 0) : o = (i = i.slice(0, r)).length - 1 - i.lastIndexOf("/"), s = l, a = 0; continue } } else if (i.length) { i = "", o = 0, s = l, a = 0; continue } t && (i = i.length ? i + "/.." : "..", o = 2) } else i.length ? i += "/" + e.slice(s + 1, l) : i = e.slice(s + 1, l), o = l - s - 1; s = l, a = 0 } else 46 === n && a > -1 ? a++ : a = -1 } return i }(e, !t), r.length || t || (r = "."); r.length && 47 === e.charCodeAt(e.length - 1) && (r += "/"); return t ? "/" + r : r }(e) } , t.sep = "/" } , 7512: (e,t)=>{ "use strict"; t.cwd = function() { return "/" } } , 8593: e=>{ e.exports = function() { for (var e = {}, n = 0; n < arguments.length; n++) { var r = arguments[n]; for (var i in r) t.call(r, i) && (e[i] = r[i]) } return e } ; var t = Object.prototype.hasOwnProperty } , 4967: (e,t,n)=>{ "use strict"; var r = n(1528); e.exports = { Parser: r } } , 5810: e=>{ "use strict"; e.exports = ["address", "article", "aside", "base", "basefont", "blockquote", "body", "caption", "center", "col", "colgroup", "dd", "details", "dialog", "dir", "div", "dl", "dt", "fieldset", "figcaption", "figure", "footer", "form", "frame", "frameset", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "iframe", "legend", "li", "link", "main", "menu", "menuitem", "meta", "nav", "noframes", "ol", "optgroup", "option", "p", "param", "pre", "section", "source", "title", "summary", "table", "tbody", "td", "tfoot", "th", "thead", "title", "tr", "track", "ul"] } , 5785: (e,t,n)=>{ "use strict"; var r = n(7057) , i = n(3507); e.exports = function(e) { return n.raw = function(e, n, s) { return i(e, r(s, { position: t(n), warning: o })) } , n; function t(t) { for (var n = e.offset, r = t.line, i = []; ++r && r in n; ) i.push((n[r] || 0) + 1); return { start: t, indent: i } } function n(n, r, s) { i(n, { position: t(r), warning: o, text: s, reference: s, textContext: e, referenceContext: e }) } function o(t, n, r) { 3 !== r && e.file.message(t, n) } } } , 1393: (e,t,n)=>{ "use strict"; e.exports = { position: !0, gfm: !0, commonmark: !1, pedantic: !1, blocks: n(5810) } } , 753: e=>{ "use strict"; e.exports = function(e, t) { var n = e.indexOf("\n", t); for (; n > t && " " === e.charAt(n - 1); ) n--; return n } } , 2163: e=>{ "use strict"; e.exports = function(e, t) { return e.indexOf("`", t) } } , 1071: e=>{ "use strict"; e.exports = function(e, t) { return e.indexOf("~~", t) } } , 2298: (e,t,n)=>{ "use strict"; var r = n(7092) , i = n(741); function o(e) { return r(e) || i(e) || 43 === e || 45 === e || 46 === e || 95 === e } e.exports = function e(t, n) { var r, i; if (!this.options.gfm) return -1; if (-1 === (r = t.indexOf("@", n))) return -1; if ((i = r) === n || !o(t.charCodeAt(i - 1))) return e.call(this, t, r + 1); for (; i > n && o(t.charCodeAt(i - 1)); ) i--; return i } } , 1030: e=>{ "use strict"; e.exports = function(e, t) { var n = e.indexOf("*", t) , r = e.indexOf("_", t); if (-1 === r) return n; if (-1 === n) return r; return r < n ? r : n } } , 3115: e=>{ "use strict"; e.exports = function(e, t) { return e.indexOf("\\", t) } } , 2356: e=>{ "use strict"; e.exports = function(e, t) { var n = e.indexOf("[", t) , r = e.indexOf("![", t); if (-1 === r) return n; return n < r ? n : r } } , 6451: e=>{ "use strict"; e.exports = function(e, t) { var n = e.indexOf("**", t) , r = e.indexOf("__", t); if (-1 === r) return n; if (-1 === n) return r; return r < n ? r : n } } , 1890: e=>{ "use strict"; e.exports = function(e, t) { return e.indexOf("<", t) } } , 4307: e=>{ "use strict"; e.exports = function(e, n) { var r, i, o, s = -1; if (!this.options.gfm) return s; i = t.length, r = -1; for (; ++r < i; ) -1 !== (o = e.indexOf(t[r], n)) && (-1 === s || o < s) && (s = o); return s } ; var t = ["www.", "http://", "https://"] } , 4272: (e,t,n)=>{ "use strict"; var r = n(7057) , i = n(8124); e.exports = function() { var e, t = this, n = String(t.file), a = { line: 1, column: 1, offset: 0 }, l = r(a); 65279 === (n = n.replace(s, o)).charCodeAt(0) && (n = n.slice(1), l.column++, l.offset++); e = { type: "root", children: t.tokenizeBlock(n, l), position: { start: a, end: t.eof || r(a) } }, t.options.position || i(e, !0); return e } ; var o = "\n" , s = /\r\n|\r/g } , 1528: (e,t,n)=>{ "use strict"; var r = n(7057) , i = n(9546) , o = n(922) , s = n(9359) , a = n(5785) , l = n(7269); function c(e, t) { this.file = t, this.offset = {}, this.options = r(this.options), this.setOptions({}), this.inList = !1, this.inBlock = !1, this.inLink = !1, this.atStart = !0, this.toOffset = o(t).toOffset, this.unescape = s(this, "escape"), this.decode = a(this) } e.exports = c; var u = c.prototype; function f(e) { var t, n = []; for (t in e) n.push(t); return n } u.setOptions = n(3228), u.parse = n(4272), u.options = n(1393), u.exitStart = i("atStart", !0), u.enterList = i("inList", !1), u.enterLink = i("inLink", !1), u.enterBlock = i("inBlock", !1), u.interruptParagraph = [["thematicBreak"], ["list"], ["atxHeading"], ["fencedCode"], ["blockquote"], ["html"], ["setextHeading", { commonmark: !1 }], ["definition", { commonmark: !1 }]], u.interruptList = [["atxHeading", { pedantic: !1 }], ["fencedCode", { pedantic: !1 }], ["thematicBreak", { pedantic: !1 }], ["definition", { commonmark: !1 }]], u.interruptBlockquote = [["indentedCode", { commonmark: !0 }], ["fencedCode", { commonmark: !0 }], ["atxHeading", { commonmark: !0 }], ["setextHeading", { commonmark: !0 }], ["thematicBreak", { commonmark: !0 }], ["html", { commonmark: !0 }], ["list", { commonmark: !0 }], ["definition", { commonmark: !1 }]], u.blockTokenizers = { blankLine: n(1694), indentedCode: n(134), fencedCode: n(1498), blockquote: n(6234), atxHeading: n(8469), thematicBreak: n(6968), list: n(745), setextHeading: n(8671), html: n(8776), definition: n(1616), table: n(7793), paragraph: n(8607) }, u.inlineTokenizers = { escape: n(470), autoLink: n(8775), url: n(1944), email: n(5657), html: n(7648), link: n(9405), reference: n(6252), strong: n(5702), emphasis: n(439), deletion: n(1134), code: n(1891), break: n(5874), text: n(4410) }, u.blockMethods = f(u.blockTokenizers), u.inlineMethods = f(u.inlineTokenizers), u.tokenizeBlock = l("block"), u.tokenizeInline = l("inline"), u.tokenizeFactory = l } , 3228: (e,t,n)=>{ "use strict"; var r = n(7057) , i = n(4982) , o = n(1393); e.exports = function(e) { var t, n, s = this, a = s.options; if (null == e) e = {}; else { if ("object" != typeof e) throw new Error("Invalid value `" + e + "` for setting `options`"); e = r(e) } for (t in o) { if (null == (n = e[t]) && (n = a[t]), "blocks" !== t && "boolean" != typeof n || "blocks" === t && "object" != typeof n) throw new Error("Invalid value `" + n + "` for setting `options." + t + "`"); e[t] = n } return s.options = e, s.escape = i(e), s } } , 8775: (e,t,n)=>{ "use strict"; var r = n(1900) , i = n(3507) , o = n(1890); e.exports = h, h.locator = o, h.notInLink = !0; var s = "<" , a = ">" , l = "@" , c = "/" , u = "mailto:" , f = u.length; function h(e, t, n) { var o, h, p, d, m, g = this, v = "", y = t.length, b = 0, k = "", w = !1, x = ""; if (t.charAt(0) === s) { for (b++, v = s; b < y && (o = t.charAt(b), !(r(o) || o === a || o === l || ":" === o && t.charAt(b + 1) === c)); ) k += o, b++; if (k) { if (x += k, k = "", x += o = t.charAt(b), b++, o === l) w = !0; else { if (":" !== o || t.charAt(b + 1) !== c) return; x += c, b++ } for (; b < y && (o = t.charAt(b), !r(o) && o !== a); ) k += o, b++; if (o = t.charAt(b), k && o === a) return !!n || (p = x += k, v += x + o, (h = e.now()).column++, h.offset++, w && (x.slice(0, f).toLowerCase() === u ? (p = p.slice(f), h.column += f, h.offset += f) : x = u + x), d = g.inlineTokenizers, g.inlineTokenizers = { text: d.text }, m = g.enterLink(), p = g.tokenizeInline(p, h), g.inlineTokenizers = d, m(), e(v)({ type: "link", title: null, url: i(x, { nonTerminated: !1 }), children: p })) } } } } , 1694: e=>{ "use strict"; var t = /^[ \t]*(\n|$)/; e.exports = function(e, n, r) { var i, o = "", s = 0, a = n.length; for (; s < a && null != (i = t.exec(n.slice(s))); ) s += i[0].length, o += i[0]; if ("" === o) return; if (r) return !0; e(o) } } , 6234: (e,t,n)=>{ "use strict"; var r = n(4898) , i = n(6047); e.exports = function(e, t, n) { var c, u, f, h, p, d, m, g, v, y = this, b = y.offset, k = y.blockTokenizers, w = y.interruptBlockquote, x = e.now(), A = x.line, S = t.length, O = [], C = [], N = [], E = [], L = 0; for (; L < S && ((u = t.charAt(L)) === a || u === s); ) L++; if (t.charAt(L) !== l) return; if (n) return !0; L = 0; var q = null , T = !1; for (; L < S; ) { for (m = L, g = !1, -1 === (h = t.indexOf(o, L)) && (h = S); L < S && ((u = t.charAt(L)) === a || u === s); ) L++; if (t.charAt(L) === l ? (L++, g = !0, t.charAt(L) === a && L++) : L = m, p = t.slice(L, h), !g && !r(p)) { L = m; break } if (!g && (f = t.slice(L), i(w, k, y, [e, f, !0]))) break; if (0 === m) { var I = p.match(/^\[!([^\]]+)\]([+\-]?)(?:\s|$)/); if (I) { let e = I[1] , t = e , n = "" , r = e.indexOf("|"); -1 !== r && (t = e.substr(0, r), n = e.substr(r + 1)), q = { type: t.trim().toLowerCase().replace(/\s+/g, "-"), fold: I[2], data: n }; var D = I[0].length; L += D, (p = p.substr(D)).trim() && (T = !0) } } d = m === L ? p : t.slice(m, h), E.push(L - m), O.push(d), C.push(p), L = h + 1 } L = -1, S = E.length, c = e(O.join(o)); for (; ++L < S; ) b[A] = (b[A] || 0) + E[L], A++; v = y.enterBlock(), y.options.breakOnce = T, q && C[0] && (N = y.tokenizeBlock(C.shift(), x), x.line += 1); return C = y.tokenizeBlock(C.join(o), x), N.push(...C), y.options.breakOnce = !1, v(), c({ type: "blockquote", children: N, callout: q }) } ; var o = "\n" , s = "\t" , a = " " , l = ">" } , 5874: (e,t,n)=>{ "use strict"; var r = n(753); e.exports = a, a.locator = r; var i = " " , o = "\n" , s = 2; function a(e, t, n) { for (var r, a = t.length, l = -1, c = ""; ++l < a; ) { if ((r = t.charAt(l)) === o) { if (l < s) return; return !!n || e(c += r)({ type: "break" }) } if (r !== i) return; c += r } } } , 1498: e=>{ "use strict"; e.exports = function(e, l, c) { var u, f, h, p, d, m, g, v, y, b, k, w, x, A = this, S = A.options.gfm, O = l.length + 1, C = 0, N = ""; if (!S) return; for (; C < O && ((h = l.charAt(C)) === r || h === n); ) N += h, C++; if (w = C, (h = l.charAt(C)) !== i && h !== o) return; C++, f = h, u = 1, N += h; for (; C < O && (h = l.charAt(C)) === f; ) N += h, u++, C++; if (u < s) return; for (; C < O && ((h = l.charAt(C)) === r || h === n); ) N += h, C++; p = "", g = ""; for (; C < O && (h = l.charAt(C)) !== t && (f !== o || h !== f); ) h === r || h === n ? g += h : (p += g + h, g = ""), C++; if ((h = l.charAt(C)) && h !== t) return; if (c) return !0; (x = e.now()).column += N.length, x.offset += N.length, N += p, p = A.decode.raw(A.unescape(p), x), g && (N += g); g = "", b = "", k = "", v = "", y = ""; var E = !0; for (; C < O; ) if (v += b, y += k, b = "", k = "", (h = l.charAt(C)) === t) { for (E ? (N += h, E = !1) : (b += h, k += h), g = "", C++; C < O && (h = l.charAt(C)) === r; ) g += h, C++; if (b += g, k += g.slice(w), !(g.length >= a)) { for (g = ""; C < O && (h = l.charAt(C)) === f; ) g += h, C++; if (b += g, k += g, !(g.length < u)) { for (g = ""; C < O && ((h = l.charAt(C)) === r || h === n); ) b += h, k += h, C++; if (!h || h === t) break } } } else v += h, k += h, C++; N += v + b, C = -1, O = p.length; for (; ++C < O; ) if ((h = p.charAt(C)) === r || h === n) d || (d = p.slice(0, C)); else if (d) { m = p.slice(C); break } return e(N)({ type: "code", lang: d || p || null, meta: m || null, value: y }) } ; var t = "\n" , n = "\t" , r = " " , i = "~" , o = "`" , s = 3 , a = 4 } , 134: (e,t,n)=>{ "use strict"; var r = n(8813); e.exports = function(e, t, n) { var l, c, u, f = -1, h = t.length, p = "", d = "", m = "", g = ""; for (; ++f < h; ) if (l = t.charAt(f), u) if (u = !1, p += m, d += g, m = "", g = "", l === i) m = l, g = l; else for (p += l, d += l; ++f < h; ) { if (!(l = t.charAt(f)) || l === i) { g = l, m = l; break } p += l, d += l } else if (l === s && t.charAt(f + 1) === l && t.charAt(f + 2) === l && t.charAt(f + 3) === l) m += a, f += 3, u = !0; else if (l === o) m += l, u = !0; else { for (c = ""; l === o || l === s; ) c += l, l = t.charAt(++f); if (l !== i) break; m += c + l, g += l } if (d) return !!n || e(p)({ type: "code", lang: null, meta: null, value: r(d) }) } ; var i = "\n" , o = "\t" , s = " " , a = s.repeat(4) } , 1891: (e,t,n)=>{ "use strict"; var r = n(2163); e.exports = a, a.locator = r; var i = 10 , o = 32 , s = 96; function a(e, t, n) { for (var r, a, l, c, u, f, h = t.length, p = 0; p < h && t.charCodeAt(p) === s; ) p++; if (0 !== p && p !== h) { for (r = p, u = t.charCodeAt(p); p < h; ) { if (c = u, u = t.charCodeAt(p + 1), c === s) { if (void 0 === a && (a = p), l = p + 1, u !== s && l - a === r) { f = !0; break } } else void 0 !== a && (a = void 0, l = void 0); p++ } if (f) { if (n) return !0; if (p = r, h = a, c = t.charCodeAt(p), u = t.charCodeAt(h - 1), f = !1, h - p > 2 && (c === o || c === i) && (u === o || u === i)) { for (p++, h--; p < h; ) { if ((c = t.charCodeAt(p)) !== o && c !== i) { f = !0; break } p++ } !0 === f && (r++, a--) } return e(t.slice(0, l))({ type: "inlineCode", value: t.slice(r, a) }) } } } } , 1616: (e,t,n)=>{ "use strict"; var r = n(1900) , i = n(2115); e.exports = function(e, t, n) { var r, v, k, w, x, A, S, O, C = this, N = C.options.commonmark, E = 0, L = t.length, q = ""; for (; E < L && ((w = t.charAt(E)) === u || w === c); ) q += w, E++; if ((w = t.charAt(E)) !== f) return; E++, q += w, k = ""; for (; E < L && (w = t.charAt(E)) !== h; ) w === a && (k += w, E++, w = t.charAt(E)), k += w, E++; if (!k || t.charAt(E) !== h || t.charAt(E + 1) !== m) return; A = k, E = (q += k + h + m).length, k = ""; for (; E < L && ((w = t.charAt(E)) === c || w === u || w === l); ) q += w, E++; if (w = t.charAt(E), k = "", r = q, w === g) { for (E++; E < L && y(w = t.charAt(E)); ) k += w, E++; if ((w = t.charAt(E)) === y.delimiter) q += g + k + w, E++; else { if (N) return; E -= k.length + 1, k = "" } } if (!k) { for (; E < L && b(w = t.charAt(E)); ) k += w, E++; q += k } if (!k) return; S = k, k = ""; for (; E < L && ((w = t.charAt(E)) === c || w === u || w === l); ) k += w, E++; w = t.charAt(E), x = null, w === o ? x = o : w === s ? x = s : w === p && (x = d); if (x) { if (!k) return; for (E = (q += k + w).length, k = ""; E < L && (w = t.charAt(E)) !== x; ) { if (w === l) { if (E++, (w = t.charAt(E)) === l || w === x) return; k += l } k += w, E++ } if ((w = t.charAt(E)) !== x) return; v = q, q += k + w, E++, O = k, k = "" } else k = "", E = q.length; for (; E < L && ((w = t.charAt(E)) === c || w === u); ) q += w, E++; if (!(w = t.charAt(E)) || w === l) return !!n || (r = e(r).test().end, S = C.decode.raw(C.unescape(S), r, { nonTerminated: !1 }), O && (v = e(v).test().end, O = C.decode.raw(C.unescape(O), v)), e(q)({ type: "definition", identifier: i(A), label: A, title: O || null, url: S })) } ; var o = '"' , s = "'" , a = "\\" , l = "\n" , c = "\t" , u = " " , f = "[" , h = "]" , p = "(" , d = ")" , m = ":" , g = "<" , v = ">"; function y(e) { return e !== v && e !== f && e !== h } function b(e) { return e !== f && e !== h && !r(e) } y.delimiter = v } , 1134: (e,t,n)=>{ "use strict"; var r = n(1900) , i = n(1071); e.exports = a, a.locator = i; var o = "~" , s = "~~"; function a(e, t, n) { var i, a, l, c = "", u = "", f = "", h = ""; if (this.options.gfm && t.charAt(0) === o && t.charAt(1) === o && !r(t.charAt(2))) for (i = 1, a = t.length, (l = e.now()).column += 2, l.offset += 2; ++i < a; ) { if (!((c = t.charAt(i)) !== o || u !== o || f && r(f))) return !!n || e(s + h + s)({ type: "delete", children: this.tokenizeInline(h, l) }); h += u, f = u, u = c } } } , 5657: (e,t,n)=>{ "use strict"; var r = n(3507) , i = n(7092) , o = n(741) , s = n(2298); e.exports = h, h.locator = s, h.notInLink = !0; var a = 43 , l = 45 , c = 46 , u = 64 , f = 95; function h(e, t, n) { var s, h, p, d, m = this, g = m.options.gfm, v = m.inlineTokenizers, y = 0, b = t.length, k = -1; if (g) { for (s = t.charCodeAt(y); i(s) || o(s) || s === a || s === l || s === c || s === f; ) s = t.charCodeAt(++y); if (0 !== y && s === u) { for (y++; y < b && (s = t.charCodeAt(y), i(s) || o(s) || s === l || s === c || s === f); ) y++, -1 === k && s === c && (k = y); if (-1 !== k && k !== y && s !== l && s !== f) return s === c && y--, h = t.slice(0, y), !!n || (d = m.enterLink(), m.inlineTokenizers = { text: v.text }, p = m.tokenizeInline(h, e.now()), m.inlineTokenizers = v, d(), e(h)({ type: "link", title: null, url: "mailto:" + r(h, { nonTerminated: !1 }), children: p })) } } } } , 439: (e,t,n)=>{ "use strict"; var r = n(4898) , i = n(8257) , o = n(1900) , s = n(1030); e.exports = u, u.locator = s; var a = "*" , l = "_" , c = "\\"; function u(e, t, n) { var s, u, f, h, p, d, m, g = 0, v = t.charAt(g); if (!(v !== a && v !== l || (u = this.options.pedantic, p = v, f = v, d = t.length, g++, h = "", v = "", u && o(t.charAt(g))))) for (; g < d; ) { if (m = v, !((v = t.charAt(g)) !== f || u && o(m))) { if ((v = t.charAt(++g)) !== f) { if (!r(h) || m === f) return; if (!u && f === l && i(v)) { h += f; continue } return !!n || ((s = e.now()).column++, s.offset++, e(p + h + f)({ type: "emphasis", children: this.tokenizeInline(h, s) })) } h += f } u || v !== c || (h += v, v = t.charAt(++g)), h += v, g++ } } } , 470: (e,t,n)=>{ "use strict"; var r = n(3115); e.exports = s, s.locator = r; var i = "\n" , o = "\\"; function s(e, t, n) { var r, s; if (t.charAt(0) === o && (r = t.charAt(1), -1 !== this.escape.indexOf(r))) return !!n || (s = r === i ? { type: "break" } : { type: "text", value: r }, e(o + r)(s)) } } , 8469: e=>{ "use strict"; e.exports = function(e, s, a) { var l, c, u, f = this.options.pedantic, h = s.length + 1, p = -1, d = e.now(), m = "", g = ""; for (; ++p < h; ) { if ((l = s.charAt(p)) !== r && l !== n) { p--; break } m += l } u = 0; for (; ++p <= h; ) { if ((l = s.charAt(p)) !== i) { p--; break } m += l, u++ } if (u > o) return; if (!u || !f && s.charAt(p + 1) === i) return; h = s.length + 1, c = ""; for (; ++p < h; ) { if ((l = s.charAt(p)) !== r && l !== n) { p--; break } c += l } if (!f && 0 === c.length && l && l !== t) return; if (a) return !0; m += c, c = "", g = ""; for (; ++p < h && (l = s.charAt(p)) && l !== t; ) if (l === r || l === n || l === i) { for (; l === r || l === n; ) c += l, l = s.charAt(++p); if (f || !g || c || l !== i) { for (; l === i; ) c += l, l = s.charAt(++p); for (; l === r || l === n; ) c += l, l = s.charAt(++p); p-- } else g += l } else g += c + l, c = ""; return d.column += m.length, d.offset += m.length, e(m += g + c)({ type: "heading", depth: u, children: this.tokenizeInline(g, d) }) } ; var t = "\n" , n = "\t" , r = " " , i = "#" , o = 6 } , 8671: e=>{ "use strict"; e.exports = function(e, c, u) { var f, h, p, d, m, g = e.now(), v = c.length, y = -1, b = ""; for (; ++y < v; ) { if ((p = c.charAt(y)) !== r || y >= s) { y--; break } b += p } f = "", h = ""; for (; ++y < v; ) { if ((p = c.charAt(y)) === t) { y--; break } p === r || p === n ? h += p : (f += h + p, h = "") } if (g.column += b.length, g.offset += b.length, b += f + h, p = c.charAt(++y), d = c.charAt(++y), p !== t || d !== i && d !== o) return; b += p, h = d, m = d === i ? a : l; for (; ++y < v; ) { if ((p = c.charAt(y)) !== d) { if (p !== t) return; y--; break } h += p } if (u) return !0; return e(b + h)({ type: "heading", depth: m, children: this.tokenizeInline(f, g) }) } ; var t = "\n" , n = "\t" , r = " " , i = "=" , o = "-" , s = 3 , a = 1 , l = 2 } , 8776: (e,t,n)=>{ "use strict"; var r = n(4839).X; e.exports = function(e, t, n) { var r, k, w, x, A, S, O, C = this.options.blocks.join("|"), N = new RegExp("^|$))","i"), E = t.length, L = 0, q = [[l, c, !0], [u, f, !0], [h, p, !0], [d, m, !0], [g, v, !0], [N, y, !0], [b, y, !1]]; for (; L < E && ((x = t.charAt(L)) === i || x === o); ) L++; if (t.charAt(L) !== a) return; r = -1 === (r = t.indexOf(s, L + 1)) ? E : r, k = t.slice(L, r), w = -1, A = q.length; for (; ++w < A; ) if (q[w][0].test(k)) { S = q[w]; break } if (!S) return; if (n) return S[2]; if (L = r, !S[1].test(k)) for (; L < E; ) { if (r = -1 === (r = t.indexOf(s, L + 1)) ? E : r, k = t.slice(L + 1, r), S[1].test(k)) { k && (L = r); break } L = r } return O = t.slice(0, L), e(O)({ type: "html", value: O }) } ; var i = "\t" , o = " " , s = "\n" , a = "<" , l = /^<(script|pre|style)(?=(\s|>|$))/i , c = /<\/(script|pre|style)>/i , u = /^/ , h = /^<\?/ , p = /\?>/ , d = /^/ , g = /^/ , y = /^$/ , b = new RegExp(r.source + "\\s*$") } , 7648: (e,t,n)=>{ "use strict"; var r = n(741) , i = n(1890) , o = n(4839).T; e.exports = h, h.locator = i; var s = "<" , a = "?" , l = "!" , c = "/" , u = /^/i; function h(e, t, n) { var i, h, p = this, d = t.length; if (!(t.charAt(0) !== s || d < 3) && (i = t.charAt(1), (r(i) || i === a || i === l || i === c) && (h = t.match(o)))) return !!n || (h = h[0], !p.inLink && u.test(h) ? p.inLink = !0 : p.inLink && f.test(h) && (p.inLink = !1), e(h)({ type: "html", value: h })) } } , 9405: (e,t,n)=>{ "use strict"; var r = n(1900) , i = n(2356); e.exports = v, v.locator = i; var o = "\n" , s = "!" , a = '"' , l = "'" , c = "(" , u = ")" , f = "<" , h = ">" , p = "[" , d = "\\" , m = "]" , g = "`"; function v(e, t, n) { var i, v, y, b, k, w, x, A, S, O, C, N, E, L, q, T, I, D, B = this, P = "", $ = 0, j = t.charAt(0), R = B.options.pedantic, U = B.options.commonmark, M = B.options.gfm; if (j === s && (A = !0, P = j, j = t.charAt(++$)), j === p && (A || !B.inLink)) { for (P += j, L = "", $++, C = t.length, E = 0, (T = e.now()).column += $, T.offset += $; $ < C; ) { if (w = j = t.charAt($), j === g) { for (v = 1; t.charAt($ + 1) === g; ) w += j, $++, v++; y ? v >= y && (y = 0) : y = v } else if (j === d) $++, w += t.charAt($); else if (y && !M || j !== p) { if ((!y || M) && j === m) { if (!E) { if (t.charAt($ + 1) !== c) return; w += c, i = !0, $++; break } E-- } } else E++; L += w, w = "", $++ } if (i) { for (S = L, P += L + w, $++; $ < C && (j = t.charAt($), r(j)); ) P += j, $++; if (L = "", b = P, (j = t.charAt($)) === f) { for ($++, b += f; $ < C && (j = t.charAt($)) !== h; ) { if (U && j === o) return; L += j, $++ } if (t.charAt($) !== h) return; P += f + L + h, q = L, $++ } else { for (j = null, w = ""; $ < C && (j = t.charAt($), !w || !(j === a || j === l || U && j === c)); ) { if (r(j)) { if (!R) break; w += j } else { if (j === c) E++; else if (j === u) { if (0 === E) break; E-- } L += w, w = "", j === d && (L += d, j = t.charAt(++$)), L += j } $++ } q = L, $ = (P += L).length } for (L = ""; $ < C && (j = t.charAt($), r(j)); ) L += j, $++; if (j = t.charAt($), P += L, L && (j === a || j === l || U && j === c)) if ($++, L = "", O = j === c ? u : j, k = P += j, U) { for (; $ < C && (j = t.charAt($)) !== O; ) j === d && (L += d, j = t.charAt(++$)), $++, L += j; if ((j = t.charAt($)) !== O) return; for (N = L, P += L + j, $++; $ < C && (j = t.charAt($), r(j)); ) P += j, $++ } else for (w = ""; $ < C; ) { if ((j = t.charAt($)) === O) x && (L += O + w, w = ""), x = !0; else if (x) { if (j === u) { P += L + O + w, N = L; break } r(j) ? w += j : (L += O + w + j, w = "", x = !1) } else L += j; $++ } if (t.charAt($) === u) return !!n || (P += u, q = B.decode.raw(B.unescape(q), e(b).test().end, { nonTerminated: !1 }), N && (k = e(k).test().end, N = B.decode.raw(B.unescape(N), k)), D = { type: A ? "image" : "link", title: N || null, url: q }, A ? D.alt = B.decode.raw(B.unescape(S), T) || null : (I = B.enterLink(), D.children = B.tokenizeInline(S, T), I()), e(P)(D)) } } } } , 745: (e,t,n)=>{ "use strict"; var r = n(4898) , i = n(7092) , o = n(6058) , s = n(5540) , a = n(6047); e.exports = function(e, t, n) { var o, s, y, b, k, w, x, S, O, C, N, E, L, q, T, I, D, B, P, $, j, R, U, M = this, z = M.options.commonmark, F = M.options.pedantic, V = M.blockTokenizers, H = M.interruptList, K = 0, _ = t.length, J = null, G = !1; for (; K < _ && ((b = t.charAt(K)) === m || b === p); ) K++; if ((b = t.charAt(K)) === l || b === u || b === f) k = b, y = !1; else { for (y = !0, s = ""; K < _ && (b = t.charAt(K), i(b)); ) s += b, K++; if (b = t.charAt(K), !s || !(b === h || z && b === g)) return; if (n && "1" !== s) return; J = parseInt(s, 10), k = b } if ((b = t.charAt(++K)) !== p && b !== m && (F || b !== d && "" !== b)) return; if (n) return !0; K = 0, q = [], T = [], I = []; for (; K < _; ) { for (x = K, S = !1, U = !1, -1 === (w = t.indexOf(d, K)) && (w = _), o = 0; K < _; ) { if ((b = t.charAt(K)) === m) o += v - o % v; else { if (b !== p) break; o++ } K++ } if (D && o >= D.indent && (U = !0), b = t.charAt(K), O = null, !U) { if (b === l || b === u || b === f) O = b, K++, o++; else { for (s = ""; K < _ && (b = t.charAt(K), i(b)); ) s += b, K++; b = t.charAt(K), K++, s && (b === h || z && b === g) && (O = b, o += s.length + 1) } if (O) if ((b = t.charAt(K)) === m) o += v - o % v, K++; else if (b === p) { for (R = K + v; K < R && t.charAt(K) === p; ) K++, o++; K === R && t.charAt(K) === p && (K -= v - 1, o -= v - 1) } else b !== d && "" !== b && (O = null) } if (O) { if (!F && k !== O) break; S = !0 } else z || U || t.charAt(x) !== p ? z && D && (U = o >= D.indent || o > v) : U = !0, S = !1, K = x; if (N = t.slice(x, w), C = x === K ? N : t.slice(K, w), (O === l || O === c || O === f) && V.thematicBreak.call(M, e, N, !0)) break; if (E = L, L = !S && !r(C).length, U && D) D.value = D.value.concat(I, N), T = T.concat(I, N), I = []; else if (S) 0 !== I.length && (G = !0, D.value.push(""), D.trail = I.concat()), D = { value: [N], indent: o, trail: [] }, q.push(D), T = T.concat(I, N), I = []; else if (L) { if (E && !z) break; I.push(N) } else { if (E) break; if (a(H, V, M, [e, N, !0])) break; D.value = D.value.concat(I, N), T = T.concat(I, N), I = [] } K = w + 1 } $ = e(T.join(d)).reset({ type: "list", ordered: y, start: J, spread: G, children: [] }), B = M.enterList(), P = M.enterBlock(), K = -1, _ = q.length; for (; ++K < _; ) D = q[K].value.join(d), j = e.now(), e(D)(A(M, D, j), $), D = q[K].trail.join(d), K !== _ - 1 && (D += d), e(D); return B(), P(), $ } ; var l = "*" , c = "_" , u = "+" , f = "-" , h = "." , p = " " , d = "\n" , m = "\t" , g = ")" , v = 4 , y = /\n\n(?!\s*$)/ , b = /^\[(.)][ \t]/ , k = /^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/ , w = /^([ \t]*)([*+-]|\d+[.)])([ \t]+)/ , x = /^( {1,4}|\t)?/gm; function A(e, t, n) { var r, i, o = e.offset, s = null, a = null; return t = (e.options.pedantic ? S : O).apply(null, arguments), e.options.gfm && (r = t.match(b)) && (i = r[0].length, s = " " !== r[1], a = r[1], o[n.line] += i, t = t.slice(i)), { type: "listItem", spread: y.test(t), checked: s, checklist: a, children: e.tokenizeBlock(t, n) } } function S(e, t, n) { var r = e.offset , i = n.line; return t = t.replace(w, o), i = n.line, t.replace(x, o); function o(e) { return r[i] = (r[i] || 0) + e.length, i++, "" } } function O(e, t, n) { var r, i, a, l, c, u, f, h = e.offset, m = n.line; for (l = (t = t.replace(k, (function(e, t, n, o, s) { i = t + n + o, a = s, Number(n) < 10 && i.length % 2 == 1 && (n = p + n); return (r = t + p.repeat(n.length) + o) + a } ))).split(d), (c = s(t, o(r).indent).split(d))[0] = a, h[m] = (h[m] || 0) + i.length, m++, u = 0, f = l.length; ++u < f; ) h[m] = (h[m] || 0) + l[u].length - c[u].length, m++; return c.join(d) } } , 8607: (e,t,n)=>{ "use strict"; var r = n(4898) , i = n(8813) , o = n(6047); e.exports = function(e, t, n) { var u, f, h, p, d, m = this, g = m.options.commonmark, v = m.blockTokenizers, y = m.interruptParagraph, b = t.indexOf(a), k = t.length; for (; b < k; ) { if (-1 === b) { b = k; break } if (t.charAt(b + 1) === a) break; if (g) { for (p = 0, u = b + 1; u < k; ) { if ((h = t.charAt(u)) === s) { p = c; break } if (h !== l) break; p++, u++ } if (p >= c && h !== a) { b = t.indexOf(a, b + 1); continue } } if (f = t.slice(b + 1), o(y, v, m, [e, f, !0])) break; if (u = b, -1 !== (b = t.indexOf(a, b + 1)) && "" === r(t.slice(u, b))) { b = u; break } } if (f = t.slice(0, b), n) return !0; return d = e.now(), f = i(f), e(f)({ type: "paragraph", children: m.tokenizeInline(f, d) }) } ; var s = "\t" , a = "\n" , l = " " , c = 4 } , 6252: (e,t,n)=>{ "use strict"; var r = n(1900) , i = n(2356) , o = n(2115); e.exports = m, m.locator = i; var s = "link" , a = "image" , l = "shortcut" , c = "collapsed" , u = "full" , f = "!" , h = "[" , p = "\\" , d = "]"; function m(e, t, n) { var i, m, g, v, y, b, k, w, x = this, A = x.options.commonmark, S = t.charAt(0), O = 0, C = t.length, N = "", E = "", L = s, q = l; if (S === f && (L = a, E = S, S = t.charAt(++O)), S === h) { for (O++, E += S, b = "", w = 0; O < C; ) { if ((S = t.charAt(O)) === h) k = !0, w++; else if (S === d) { if (!w) break; w-- } S === p && (b += p, S = t.charAt(++O)), b += S, O++ } if (N = b, i = b, (S = t.charAt(O)) === d) { if (O++, N += S, b = "", !A) for (; O < C && (S = t.charAt(O), r(S)); ) b += S, O++; if ((S = t.charAt(O)) === h) { for (m = "", b += S, O++; O < C && (S = t.charAt(O)) !== h && S !== d; ) S === p && (m += p, S = t.charAt(++O)), m += S, O++; (S = t.charAt(O)) === d ? (q = m ? u : c, b += m + S, O++) : m = "", N += b, b = "" } else { if (!i) return; m = i } if (q === u || !k) return N = E + N, L === s && x.inLink ? null : !!n || ((g = e.now()).column += E.length, g.offset += E.length, v = { type: L + "Reference", identifier: o(m = q === u ? m : i), label: m, referenceType: q }, L === s ? (y = x.enterLink(), v.children = x.tokenizeInline(i, g), y()) : v.alt = x.decode.raw(x.unescape(i), g) || null, e(N)(v)) } } } } , 5702: (e,t,n)=>{ "use strict"; var r = n(4898) , i = n(1900) , o = n(6451); e.exports = c, c.locator = o; var s = "\\" , a = "*" , l = "_"; function c(e, t, n) { var o, c, u, f, h, p, d, m = 0, g = t.charAt(m); if (!(g !== a && g !== l || t.charAt(++m) !== g || (c = this.options.pedantic, h = (u = g) + u, p = t.length, m++, f = "", g = "", c && i(t.charAt(m))))) for (; m < p; ) { if (d = g, !((g = t.charAt(m)) !== u || t.charAt(m + 1) !== u || c && i(d)) && (g = t.charAt(m + 2)) !== u) { if (!r(f)) return; return !!n || ((o = e.now()).column += 2, o.offset += 2, e(h + f + h)({ type: "strong", children: this.tokenizeInline(f, o) })) } c || g !== s || (f += g, g = t.charAt(++m)), f += g, m++ } } } , 7793: (e,t,n)=>{ "use strict"; var r = n(1900); e.exports = function(e, t, n) { var i, s, v, y, b, k, w, x, A, S, O, C, N, E, L, q, T, I, D, B, P, $; if (!this.options.gfm) return; i = 0, L = 0, k = t.length + 1, w = []; for (; i < k; ) { if (D = t.indexOf(o, i), B = t.indexOf(u, i + 1), -1 === D && (D = t.length), -1 === B || B > D) { if (L < h) return; break } if (q = t.slice(i, D), 0 === L) $ = q[0] !== u; else if ($ && q[0] === u || !$ && q[0] !== u) break; w.push(q), L++, i = D + 1 } y = w.join(o), s = w.splice(1, 1)[0] || [], i = 0, k = s.length, L--, v = !1, O = []; for (; i < k; ) { if ((A = s.charAt(i)) === u) { if (S = null, !1 === v) { if (!1 === P) return } else O.push(v), v = !1; P = !1 } else if (A === a) S = !0, v = v || null; else if (A === l) v = v === p ? d : S && null === v ? m : p; else if (!r(A)) return; i++ } !1 !== v && O.push(v); if (O.length < f) return; if (n) return !0; E = -1, T = [], I = e(y).reset({ type: "table", align: O, children: T }); for (; ++E < L; ) { for (q = w[E], b = { type: "tableRow", children: [] }, E && e(o), e(q).reset(b, I), k = q.length + 1, i = 0, x = "", C = "", N = !0; i < k; ) { if ("" === (A = q.charAt(i)) || A === u) if (N) e(A); else { if ((C || A) && !N) { y = C, x.length > 1 && (A ? (y += x.slice(0, -1), x = x.charAt(x.length - 1)) : (y += x, x = "")); let t = g(y) , {start: n, end: r} = t , i = y.slice(n, y.length - r) , o = e.now(); o.offset += n, o.column += n, e(y)({ type: "tableCell", padding: t, children: this.tokenizeInline(i, o) }, b) } e(x + A), x = "", C = "" } else x && (C += x, x = ""), C += A, A === c && i !== k - 2 && (C += q.charAt(i + 1), i++); N = !1, i++ } E || e(o + s) } return I } ; var i = "\t" , o = "\n" , s = " " , a = "-" , l = ":" , c = "\\" , u = "|" , f = 1 , h = 2 , p = "left" , d = "center" , m = "right"; function g(e) { let t = 0 , n = 0; for (let n = 0, r = e.length; n < r; n++) { let r = e[n]; if (r !== i && r !== s) break; t += 1 } for (let r = e.length - 1; r >= t; r--) { let t = e[r]; if (t !== i && t !== s) break; n += 1 } return { start: t, end: n } } } , 4410: e=>{ "use strict"; e.exports = function(e, t, n) { var r, i, o, s, a, l, c, u, f, h, p = this; if (n) return !0; r = p.inlineMethods, s = r.length, i = p.inlineTokenizers, o = -1, f = t.length; for (; ++o < s; ) "text" !== (u = r[o]) && i[u] && ((c = i[u].locator) || e.file.fail("Missing locator: `" + u + "`"), -1 !== (l = c.call(p, t, 1)) && l < f && (f = l)); a = t.slice(0, f), h = e.now(), p.decode(a, h, (function(t, n, r) { e(r || t)({ type: "text", value: t }) } )) } } , 6968: e=>{ "use strict"; e.exports = function(e, l, c) { var u, f, h, p, d = -1, m = l.length + 1, g = ""; for (; ++d < m && ((u = l.charAt(d)) === t || u === r); ) g += u; if (u !== i && u !== o && u !== s) return; f = u, g += u, h = 1, p = ""; for (; ++d < m; ) if ((u = l.charAt(d)) === f) h++, g += p + f, p = ""; else { if (u !== r) return h >= a && (!u || u === n) ? (g += p, !!c || e(g)({ type: "thematicBreak" })) : void 0; p += u } } ; var t = "\t" , n = "\n" , r = " " , i = "*" , o = "-" , s = "_" , a = 3 } , 1944: (e,t,n)=>{ "use strict"; var r = n(7122) , i = n(3507) , o = n(7092) , s = n(741) , a = n(1900) , l = n(4307); e.exports = S, S.locator = l, S.notInLink = !0; var c = 33 , u = 38 , f = 41 , h = 42 , p = 44 , d = 45 , m = 46 , g = 58 , v = 59 , y = 63 , b = 60 , k = 95 , w = 126 , x = "(" , A = ")"; function S(e, t, n) { var l, S, O, C, N, E, L, q, T, I, D, B, P, $, j = this, R = j.options.gfm, U = j.inlineTokenizers, M = t.length, z = -1, F = !1; if (R) { if ("www." === t.slice(0, 4)) F = !0, C = 4; else if ("http://" === t.slice(0, 7).toLowerCase()) C = 7; else { if ("https://" !== t.slice(0, 8).toLowerCase()) return; C = 8 } for (z = C - 1, O = C, l = []; C < M; ) if ((L = t.charCodeAt(C)) !== m) { if (!o(L) && !s(L) && L !== d && L !== k) break; C++ } else { if (z === C - 1) break; l.push(C), z = C, C++ } if (L === m && (l.pop(), C--), void 0 !== l[0] && (S = l.length < 2 ? O : l[l.length - 2] + 1, -1 === t.slice(S, C).indexOf("_"))) { if (n) return !0; for (q = C, N = C; C < M && (L = t.charCodeAt(C), !a(L) && L !== b); ) C++, L === c || L === h || L === p || L === m || L === g || L === y || L === k || L === w || (q = C); if (C = q, t.charCodeAt(C - 1) === f) for (E = t.slice(N, C), T = r(E, x), I = r(E, A); I > T; ) C = N + E.lastIndexOf(A), E = t.slice(N, C), I--; if (t.charCodeAt(C - 1) === v && (C--, s(t.charCodeAt(C - 1)))) { for (q = C - 2; s(t.charCodeAt(q)); ) q--; t.charCodeAt(q) === u && (C = q) } return D = t.slice(0, C), P = i(D, { nonTerminated: !1 }), F && (P = "http://" + P), $ = j.enterLink(), j.inlineTokenizers = { text: U.text }, B = j.tokenizeInline(D, e.now()), j.inlineTokenizers = U, $(), e(D)({ type: "link", title: null, url: P, children: B }) } } } } , 7269: e=>{ "use strict"; function t(e) { var t, n; return "text" !== e.type || !e.position || (t = e.position.start, n = e.position.end, t.line !== n.line || n.column - t.column === e.value.length) } function n(e, t) { return e.value += t.value, e } function r(e, t) { return this.options.commonmark || this.options.gfm ? t : (e.children = e.children.concat(t.children), e) } e.exports = function(e) { return function(i, o) { var s, a, l, c, u, f = this, h = f.offset, p = [], d = f[e + "Methods"], m = f[e + "Tokenizers"], g = o.line, v = o.column; if (!i) return p; O.now = k, O.file = f.file, y(""); for (; i; ) { for (s = -1, a = d.length, c = !1; ++s < a && (!(l = m[d[s]]) || l.onlyAtStart && !f.atStart || l.notInList && f.inList || l.notInBlock && f.inBlock || l.notInLink && f.inLink || (u = i.length, l.apply(f, [O, i]), !(c = u !== i.length))); ) ; c || f.file.fail(new Error("Infinite loop"), O.now()) } return f.eof = k(), p; function y(e) { for (var t = -1, n = e.indexOf("\n"); -1 !== n; ) g++, t = n, n = e.indexOf("\n", n + 1); -1 === t ? v += e.length : v = e.length - t, g in h && (-1 !== t ? v += h[g] : v <= h[g] && (v = h[g] + 1)) } function b() { var e = [] , t = g + 1; return function() { for (var n = g + 1; t < n; ) e.push((h[t] || 0) + 1), t++; return e } } function k() { var e = { line: g, column: v }; return e.offset = f.toOffset(e), e } function w(e) { this.start = e, this.end = k() } function x(e) { i.slice(0, e.length) !== e && f.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"), k()) } function A() { var e = k(); return t; function t(t, n) { var r = t.position , i = r ? r.start : e , o = [] , s = r && r.end.line , a = e.line; if (t.position = new w(i), r && n && r.indent) { if (o = r.indent, s < a) { for (; ++s < a; ) o.push((h[s] || 0) + 1); o.push(e.column) } n = o.concat(n) } return t.position.indent = n || [], t } } function S(e, i) { var o = i ? i.children : p , s = o[o.length - 1]; return s && e.type === s.type && ("text" === e.type || "blockquote" === e.type) && t(s) && t(e) && (e = ("text" === e.type ? n : r).call(f, s, e)), e !== s && o.push(e), e } function O(e) { var t = b() , n = A() , r = k(); x(e), s.reset = a, a.test = l, s.test = l, i = i.slice(e.length), y(e); let o = f.atStart; return f.atStart && 0 !== e.length && f.exitStart(), t = t(), s; function s(e, r) { return n(S(n(e), r), t) } function a() { var t = s.apply(null, arguments); return g = r.line, v = r.column, i = e + i, f.atStart = o, t } function l() { var t = n({}); return g = r.line, v = r.column, i = e + i, t.position } } } } } , 9359: e=>{ "use strict"; e.exports = function(e, n) { return function(r) { var i, o = 0, s = r.indexOf(t), a = e[n], l = []; for (; -1 !== s; ) l.push(r.slice(o, s)), o = s + 1, (i = r.charAt(o)) && -1 !== a.indexOf(i) || l.push(t), s = r.indexOf(t, o + 1); return l.push(r.slice(o)), l.join("") } } ; var t = "\\" } , 7122: e=>{ "use strict"; e.exports = function(e, t) { var n, r = String(e), i = 0; if ("string" != typeof t) throw new Error("Expected character"); n = r.indexOf(t); for (; -1 !== n; ) i++, n = r.indexOf(t, n + t.length); return i } } , 9510: e=>{ "use strict"; e.exports = function(e) { return String(e).replace(/\s+/g, " ") } } , 6058: e=>{ "use strict"; e.exports = function(e) { var o, s = 0, a = 0, l = e.charAt(s), c = {}, u = 0; for (; l === t || l === n; ) { for (a += o = l === t ? i : r, o > 1 && (a = Math.floor(a / o) * o); u < a; ) c[++u] = s; l = e.charAt(++s) } return { indent: a, stops: c } } ; var t = "\t" , n = " " , r = 1 , i = 4 } , 4839: (e,t)=>{ "use strict"; var n = "<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>" , r = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>"; t.X = new RegExp("^(?:" + n + "|" + r + ")"), t.T = new RegExp("^(?:" + n + "|" + r + "|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)") } , 6047: e=>{ "use strict"; e.exports = function(e, t, n, r) { var i, o, s = e.length, a = -1; for (; ++a < s; ) if ((void 0 === (o = (i = e[a])[1] || {}).pedantic || o.pedantic === n.options.pedantic) && (void 0 === o.commonmark || o.commonmark === n.options.commonmark) && t[i[0]].apply(n, r)) return !0; return !1 } } , 741: e=>{ "use strict"; e.exports = function(e) { var t = "string" == typeof e ? e.charCodeAt(0) : e; return t >= 97 && t <= 122 || t >= 65 && t <= 90 } } , 7092: e=>{ "use strict"; e.exports = function(e) { var t = "string" == typeof e ? e.charCodeAt(0) : e; return t >= 48 && t <= 57 } } , 1900: e=>{ "use strict"; e.exports = function(e) { return n.test("number" == typeof e ? t(e) : e.charAt(0)) } ; var t = String.fromCharCode , n = /\s/ } , 8257: e=>{ "use strict"; e.exports = function(e) { return n.test("number" == typeof e ? t(e) : e.charAt(0)) } ; var t = String.fromCharCode , n = /\w/ } , 4982: e=>{ "use strict"; e.exports = i; var t = ["\\", "`", "*", "{", "}", "[", "]", "(", ")", "#", "+", "-", ".", "!", "_", ">"] , n = t.concat(["~", "|"]) , r = n.concat(["\n", '"', "$", "%", "&", "'", ",", "/", ":", ";", "<", "=", "?", "@", "^"]); function i(e) { var i = e || {}; return i.commonmark ? r : i.gfm ? n : t } i.default = t, i.gfm = n, i.commonmark = r } , 2115: (e,t,n)=>{ "use strict"; var r = n(9510); e.exports = function(e) { return r(e).toLowerCase() } } , 5540: (e,t,n)=>{ "use strict"; var r = n(4898) , i = n(6058); e.exports = function(e, t) { var n, l, c, u = e.split(o), f = u.length + 1, h = 1 / 0, p = []; u.unshift(s.repeat(t) + a); for (; f--; ) if (l = i(u[f]), p[f] = l.stops, 0 !== r(u[f]).length) { if (!l.indent) { h = 1 / 0; break } l.indent > 0 && l.indent < h && (h = l.indent) } if (h !== 1 / 0) for (f = u.length; f--; ) { for (c = p[f], n = h; n && !(n in c); ) n--; u[f] = u[f].slice(c[n] + 1) } return u.shift(), u.join(o) } ; var o = "\n" , s = " " , a = "!" } , 9546: e=>{ "use strict"; e.exports = function(e, t, n) { return function() { var r = n || this , i = r[e]; return r[e] = !t, o; function o() { r[e] = i } } } } , 8813: e=>{ "use strict"; e.exports = function(e) { return String(e).replace(/\n+$/, "") } } , 4898: (e,t)=>{ (t = e.exports = function(e) { return e.replace(/^\s*|\s*$/g, "") } ).left = function(e) { return e.replace(/^\s*/, "") } , t.right = function(e) { return e.replace(/\s*$/, "") } } , 7057: e=>{ e.exports = function() { for (var e = {}, n = 0; n < arguments.length; n++) { var r = arguments[n]; for (var i in r) t.call(r, i) && (e[i] = r[i]) } return e } ; var t = Object.prototype.hasOwnProperty } , 9710: e=>{ "use strict"; e.exports = JSON.parse('{"nbsp":" ","iexcl":"¡","cent":"¢","pound":"£","curren":"¤","yen":"¥","brvbar":"¦","sect":"§","uml":"¨","copy":"©","ordf":"ª","laquo":"«","not":"¬","shy":"­","reg":"®","macr":"¯","deg":"°","plusmn":"±","sup2":"²","sup3":"³","acute":"´","micro":"µ","para":"¶","middot":"·","cedil":"¸","sup1":"¹","ordm":"º","raquo":"»","frac14":"¼","frac12":"½","frac34":"¾","iquest":"¿","Agrave":"À","Aacute":"Á","Acirc":"Â","Atilde":"Ã","Auml":"Ä","Aring":"Å","AElig":"Æ","Ccedil":"Ç","Egrave":"È","Eacute":"É","Ecirc":"Ê","Euml":"Ë","Igrave":"Ì","Iacute":"Í","Icirc":"Î","Iuml":"Ï","ETH":"Ð","Ntilde":"Ñ","Ograve":"Ò","Oacute":"Ó","Ocirc":"Ô","Otilde":"Õ","Ouml":"Ö","times":"×","Oslash":"Ø","Ugrave":"Ù","Uacute":"Ú","Ucirc":"Û","Uuml":"Ü","Yacute":"Ý","THORN":"Þ","szlig":"ß","agrave":"à","aacute":"á","acirc":"â","atilde":"ã","auml":"ä","aring":"å","aelig":"æ","ccedil":"ç","egrave":"è","eacute":"é","ecirc":"ê","euml":"ë","igrave":"ì","iacute":"í","icirc":"î","iuml":"ï","eth":"ð","ntilde":"ñ","ograve":"ò","oacute":"ó","ocirc":"ô","otilde":"õ","ouml":"ö","divide":"÷","oslash":"ø","ugrave":"ù","uacute":"ú","ucirc":"û","uuml":"ü","yacute":"ý","thorn":"þ","yuml":"ÿ","fnof":"ƒ","Alpha":"Α","Beta":"Β","Gamma":"Γ","Delta":"Δ","Epsilon":"Ε","Zeta":"Ζ","Eta":"Η","Theta":"Θ","Iota":"Ι","Kappa":"Κ","Lambda":"Λ","Mu":"Μ","Nu":"Ν","Xi":"Ξ","Omicron":"Ο","Pi":"Π","Rho":"Ρ","Sigma":"Σ","Tau":"Τ","Upsilon":"Υ","Phi":"Φ","Chi":"Χ","Psi":"Ψ","Omega":"Ω","alpha":"α","beta":"β","gamma":"γ","delta":"δ","epsilon":"ε","zeta":"ζ","eta":"η","theta":"θ","iota":"ι","kappa":"κ","lambda":"λ","mu":"μ","nu":"ν","xi":"ξ","omicron":"ο","pi":"π","rho":"ρ","sigmaf":"ς","sigma":"σ","tau":"τ","upsilon":"υ","phi":"φ","chi":"χ","psi":"ψ","omega":"ω","thetasym":"ϑ","upsih":"ϒ","piv":"ϖ","bull":"•","hellip":"…","prime":"′","Prime":"″","oline":"‾","frasl":"⁄","weierp":"℘","image":"ℑ","real":"ℜ","trade":"™","alefsym":"ℵ","larr":"←","uarr":"↑","rarr":"→","darr":"↓","harr":"↔","crarr":"↵","lArr":"⇐","uArr":"⇑","rArr":"⇒","dArr":"⇓","hArr":"⇔","forall":"∀","part":"∂","exist":"∃","empty":"∅","nabla":"∇","isin":"∈","notin":"∉","ni":"∋","prod":"∏","sum":"∑","minus":"−","lowast":"∗","radic":"√","prop":"∝","infin":"∞","ang":"∠","and":"∧","or":"∨","cap":"∩","cup":"∪","int":"∫","there4":"∴","sim":"∼","cong":"≅","asymp":"≈","ne":"≠","equiv":"≡","le":"≤","ge":"≥","sub":"⊂","sup":"⊃","nsub":"⊄","sube":"⊆","supe":"⊇","oplus":"⊕","otimes":"⊗","perp":"⊥","sdot":"⋅","lceil":"⌈","rceil":"⌉","lfloor":"⌊","rfloor":"⌋","lang":"〈","rang":"〉","loz":"◊","spades":"♠","clubs":"♣","hearts":"♥","diams":"♦","quot":"\\"","amp":"&","lt":"<","gt":">","OElig":"Œ","oelig":"œ","Scaron":"Š","scaron":"š","Yuml":"Ÿ","circ":"ˆ","tilde":"˜","ensp":" ","emsp":" ","thinsp":" ","zwnj":"‌","zwj":"‍","lrm":"‎","rlm":"‏","ndash":"–","mdash":"—","lsquo":"‘","rsquo":"’","sbquo":"‚","ldquo":"“","rdquo":"”","bdquo":"„","dagger":"†","Dagger":"‡","permil":"‰","lsaquo":"‹","rsaquo":"›","euro":"€"}') } , 4472: e=>{ "use strict"; e.exports = JSON.parse('{"AElig":"Æ","AMP":"&","Aacute":"Á","Acirc":"Â","Agrave":"À","Aring":"Å","Atilde":"Ã","Auml":"Ä","COPY":"©","Ccedil":"Ç","ETH":"Ð","Eacute":"É","Ecirc":"Ê","Egrave":"È","Euml":"Ë","GT":">","Iacute":"Í","Icirc":"Î","Igrave":"Ì","Iuml":"Ï","LT":"<","Ntilde":"Ñ","Oacute":"Ó","Ocirc":"Ô","Ograve":"Ò","Oslash":"Ø","Otilde":"Õ","Ouml":"Ö","QUOT":"\\"","REG":"®","THORN":"Þ","Uacute":"Ú","Ucirc":"Û","Ugrave":"Ù","Uuml":"Ü","Yacute":"Ý","aacute":"á","acirc":"â","acute":"´","aelig":"æ","agrave":"à","amp":"&","aring":"å","atilde":"ã","auml":"ä","brvbar":"¦","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","curren":"¤","deg":"°","divide":"÷","eacute":"é","ecirc":"ê","egrave":"è","eth":"ð","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","iacute":"í","icirc":"î","iexcl":"¡","igrave":"ì","iquest":"¿","iuml":"ï","laquo":"«","lt":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","ntilde":"ñ","oacute":"ó","ocirc":"ô","ograve":"ò","ordf":"ª","ordm":"º","oslash":"ø","otilde":"õ","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","raquo":"»","reg":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","thorn":"þ","times":"×","uacute":"ú","ucirc":"û","ugrave":"ù","uml":"¨","uuml":"ü","yacute":"ý","yen":"¥","yuml":"ÿ"}') } , 5115: e=>{ "use strict"; e.exports = JSON.parse('{"AEli":"Æ","AElig":"Æ","AM":"&","AMP":"&","Aacut":"Á","Aacute":"Á","Abreve":"Ă","Acir":"Â","Acirc":"Â","Acy":"А","Afr":"𝔄","Agrav":"À","Agrave":"À","Alpha":"Α","Amacr":"Ā","And":"⩓","Aogon":"Ą","Aopf":"𝔸","ApplyFunction":"⁡","Arin":"Å","Aring":"Å","Ascr":"𝒜","Assign":"≔","Atild":"Ã","Atilde":"Ã","Aum":"Ä","Auml":"Ä","Backslash":"∖","Barv":"⫧","Barwed":"⌆","Bcy":"Б","Because":"∵","Bernoullis":"ℬ","Beta":"Β","Bfr":"𝔅","Bopf":"𝔹","Breve":"˘","Bscr":"ℬ","Bumpeq":"≎","CHcy":"Ч","COP":"©","COPY":"©","Cacute":"Ć","Cap":"⋒","CapitalDifferentialD":"ⅅ","Cayleys":"ℭ","Ccaron":"Č","Ccedi":"Ç","Ccedil":"Ç","Ccirc":"Ĉ","Cconint":"∰","Cdot":"Ċ","Cedilla":"¸","CenterDot":"·","Cfr":"ℭ","Chi":"Χ","CircleDot":"⊙","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","Colon":"∷","Colone":"⩴","Congruent":"≡","Conint":"∯","ContourIntegral":"∮","Copf":"ℂ","Coproduct":"∐","CounterClockwiseContourIntegral":"∳","Cross":"⨯","Cscr":"𝒞","Cup":"⋓","CupCap":"≍","DD":"ⅅ","DDotrahd":"⤑","DJcy":"Ђ","DScy":"Ѕ","DZcy":"Џ","Dagger":"‡","Darr":"↡","Dashv":"⫤","Dcaron":"Ď","Dcy":"Д","Del":"∇","Delta":"Δ","Dfr":"𝔇","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","Diamond":"⋄","DifferentialD":"ⅆ","Dopf":"𝔻","Dot":"¨","DotDot":"⃜","DotEqual":"≐","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrow":"↓","DownArrowBar":"⤓","DownArrowUpArrow":"⇵","DownBreve":"̑","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVector":"↽","DownLeftVectorBar":"⥖","DownRightTeeVector":"⥟","DownRightVector":"⇁","DownRightVectorBar":"⥗","DownTee":"⊤","DownTeeArrow":"↧","Downarrow":"⇓","Dscr":"𝒟","Dstrok":"Đ","ENG":"Ŋ","ET":"Ð","ETH":"Ð","Eacut":"É","Eacute":"É","Ecaron":"Ě","Ecir":"Ê","Ecirc":"Ê","Ecy":"Э","Edot":"Ė","Efr":"𝔈","Egrav":"È","Egrave":"È","Element":"∈","Emacr":"Ē","EmptySmallSquare":"◻","EmptyVerySmallSquare":"▫","Eogon":"Ę","Eopf":"𝔼","Epsilon":"Ε","Equal":"⩵","EqualTilde":"≂","Equilibrium":"⇌","Escr":"ℰ","Esim":"⩳","Eta":"Η","Eum":"Ë","Euml":"Ë","Exists":"∃","ExponentialE":"ⅇ","Fcy":"Ф","Ffr":"𝔉","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","Fopf":"𝔽","ForAll":"∀","Fouriertrf":"ℱ","Fscr":"ℱ","GJcy":"Ѓ","G":">","GT":">","Gamma":"Γ","Gammad":"Ϝ","Gbreve":"Ğ","Gcedil":"Ģ","Gcirc":"Ĝ","Gcy":"Г","Gdot":"Ġ","Gfr":"𝔊","Gg":"⋙","Gopf":"𝔾","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","Gt":"≫","HARDcy":"Ъ","Hacek":"ˇ","Hat":"^","Hcirc":"Ĥ","Hfr":"ℌ","HilbertSpace":"ℋ","Hopf":"ℍ","HorizontalLine":"─","Hscr":"ℋ","Hstrok":"Ħ","HumpDownHump":"≎","HumpEqual":"≏","IEcy":"Е","IJlig":"IJ","IOcy":"Ё","Iacut":"Í","Iacute":"Í","Icir":"Î","Icirc":"Î","Icy":"И","Idot":"İ","Ifr":"ℑ","Igrav":"Ì","Igrave":"Ì","Im":"ℑ","Imacr":"Ī","ImaginaryI":"ⅈ","Implies":"⇒","Int":"∬","Integral":"∫","Intersection":"⋂","InvisibleComma":"⁣","InvisibleTimes":"⁢","Iogon":"Į","Iopf":"𝕀","Iota":"Ι","Iscr":"ℐ","Itilde":"Ĩ","Iukcy":"І","Ium":"Ï","Iuml":"Ï","Jcirc":"Ĵ","Jcy":"Й","Jfr":"𝔍","Jopf":"𝕁","Jscr":"𝒥","Jsercy":"Ј","Jukcy":"Є","KHcy":"Х","KJcy":"Ќ","Kappa":"Κ","Kcedil":"Ķ","Kcy":"К","Kfr":"𝔎","Kopf":"𝕂","Kscr":"𝒦","LJcy":"Љ","L":"<","LT":"<","Lacute":"Ĺ","Lambda":"Λ","Lang":"⟪","Laplacetrf":"ℒ","Larr":"↞","Lcaron":"Ľ","Lcedil":"Ļ","Lcy":"Л","LeftAngleBracket":"⟨","LeftArrow":"←","LeftArrowBar":"⇤","LeftArrowRightArrow":"⇆","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVector":"⇃","LeftDownVectorBar":"⥙","LeftFloor":"⌊","LeftRightArrow":"↔","LeftRightVector":"⥎","LeftTee":"⊣","LeftTeeArrow":"↤","LeftTeeVector":"⥚","LeftTriangle":"⊲","LeftTriangleBar":"⧏","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVector":"↿","LeftUpVectorBar":"⥘","LeftVector":"↼","LeftVectorBar":"⥒","Leftarrow":"⇐","Leftrightarrow":"⇔","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","LessLess":"⪡","LessSlantEqual":"⩽","LessTilde":"≲","Lfr":"𝔏","Ll":"⋘","Lleftarrow":"⇚","Lmidot":"Ŀ","LongLeftArrow":"⟵","LongLeftRightArrow":"⟷","LongRightArrow":"⟶","Longleftarrow":"⟸","Longleftrightarrow":"⟺","Longrightarrow":"⟹","Lopf":"𝕃","LowerLeftArrow":"↙","LowerRightArrow":"↘","Lscr":"ℒ","Lsh":"↰","Lstrok":"Ł","Lt":"≪","Map":"⤅","Mcy":"М","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","MinusPlus":"∓","Mopf":"𝕄","Mscr":"ℳ","Mu":"Μ","NJcy":"Њ","Nacute":"Ń","Ncaron":"Ň","Ncedil":"Ņ","Ncy":"Н","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","Nfr":"𝔑","NoBreak":"⁠","NonBreakingSpace":" ","Nopf":"ℕ","Not":"⫬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","NotLeftTriangle":"⋪","NotLeftTriangleBar":"⧏̸","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangle":"⋫","NotRightTriangleBar":"⧐̸","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","Nscr":"𝒩","Ntild":"Ñ","Ntilde":"Ñ","Nu":"Ν","OElig":"Œ","Oacut":"Ó","Oacute":"Ó","Ocir":"Ô","Ocirc":"Ô","Ocy":"О","Odblac":"Ő","Ofr":"𝔒","Ograv":"Ò","Ograve":"Ò","Omacr":"Ō","Omega":"Ω","Omicron":"Ο","Oopf":"𝕆","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","Or":"⩔","Oscr":"𝒪","Oslas":"Ø","Oslash":"Ø","Otild":"Õ","Otilde":"Õ","Otimes":"⨷","Oum":"Ö","Ouml":"Ö","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","PartialD":"∂","Pcy":"П","Pfr":"𝔓","Phi":"Φ","Pi":"Π","PlusMinus":"±","Poincareplane":"ℌ","Popf":"ℙ","Pr":"⪻","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","Prime":"″","Product":"∏","Proportion":"∷","Proportional":"∝","Pscr":"𝒫","Psi":"Ψ","QUO":"\\"","QUOT":"\\"","Qfr":"𝔔","Qopf":"ℚ","Qscr":"𝒬","RBarr":"⤐","RE":"®","REG":"®","Racute":"Ŕ","Rang":"⟫","Rarr":"↠","Rarrtl":"⤖","Rcaron":"Ř","Rcedil":"Ŗ","Rcy":"Р","Re":"ℜ","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","Rfr":"ℜ","Rho":"Ρ","RightAngleBracket":"⟩","RightArrow":"→","RightArrowBar":"⇥","RightArrowLeftArrow":"⇄","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVector":"⇂","RightDownVectorBar":"⥕","RightFloor":"⌋","RightTee":"⊢","RightTeeArrow":"↦","RightTeeVector":"⥛","RightTriangle":"⊳","RightTriangleBar":"⧐","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVector":"↾","RightUpVectorBar":"⥔","RightVector":"⇀","RightVectorBar":"⥓","Rightarrow":"⇒","Ropf":"ℝ","RoundImplies":"⥰","Rrightarrow":"⇛","Rscr":"ℛ","Rsh":"↱","RuleDelayed":"⧴","SHCHcy":"Щ","SHcy":"Ш","SOFTcy":"Ь","Sacute":"Ś","Sc":"⪼","Scaron":"Š","Scedil":"Ş","Scirc":"Ŝ","Scy":"С","Sfr":"𝔖","ShortDownArrow":"↓","ShortLeftArrow":"←","ShortRightArrow":"→","ShortUpArrow":"↑","Sigma":"Σ","SmallCircle":"∘","Sopf":"𝕊","Sqrt":"√","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","Sscr":"𝒮","Star":"⋆","Sub":"⋐","Subset":"⋐","SubsetEqual":"⊆","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","SuchThat":"∋","Sum":"∑","Sup":"⋑","Superset":"⊃","SupersetEqual":"⊇","Supset":"⋑","THOR":"Þ","THORN":"Þ","TRADE":"™","TSHcy":"Ћ","TScy":"Ц","Tab":"\\t","Tau":"Τ","Tcaron":"Ť","Tcedil":"Ţ","Tcy":"Т","Tfr":"𝔗","Therefore":"∴","Theta":"Θ","ThickSpace":"  ","ThinSpace":" ","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","Topf":"𝕋","TripleDot":"⃛","Tscr":"𝒯","Tstrok":"Ŧ","Uacut":"Ú","Uacute":"Ú","Uarr":"↟","Uarrocir":"⥉","Ubrcy":"Ў","Ubreve":"Ŭ","Ucir":"Û","Ucirc":"Û","Ucy":"У","Udblac":"Ű","Ufr":"𝔘","Ugrav":"Ù","Ugrave":"Ù","Umacr":"Ū","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","Uopf":"𝕌","UpArrow":"↑","UpArrowBar":"⤒","UpArrowDownArrow":"⇅","UpDownArrow":"↕","UpEquilibrium":"⥮","UpTee":"⊥","UpTeeArrow":"↥","Uparrow":"⇑","Updownarrow":"⇕","UpperLeftArrow":"↖","UpperRightArrow":"↗","Upsi":"ϒ","Upsilon":"Υ","Uring":"Ů","Uscr":"𝒰","Utilde":"Ũ","Uum":"Ü","Uuml":"Ü","VDash":"⊫","Vbar":"⫫","Vcy":"В","Vdash":"⊩","Vdashl":"⫦","Vee":"⋁","Verbar":"‖","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","Vopf":"𝕍","Vscr":"𝒱","Vvdash":"⊪","Wcirc":"Ŵ","Wedge":"⋀","Wfr":"𝔚","Wopf":"𝕎","Wscr":"𝒲","Xfr":"𝔛","Xi":"Ξ","Xopf":"𝕏","Xscr":"𝒳","YAcy":"Я","YIcy":"Ї","YUcy":"Ю","Yacut":"Ý","Yacute":"Ý","Ycirc":"Ŷ","Ycy":"Ы","Yfr":"𝔜","Yopf":"𝕐","Yscr":"𝒴","Yuml":"Ÿ","ZHcy":"Ж","Zacute":"Ź","Zcaron":"Ž","Zcy":"З","Zdot":"Ż","ZeroWidthSpace":"​","Zeta":"Ζ","Zfr":"ℨ","Zopf":"ℤ","Zscr":"𝒵","aacut":"á","aacute":"á","abreve":"ă","ac":"∾","acE":"∾̳","acd":"∿","acir":"â","acirc":"â","acut":"´","acute":"´","acy":"а","aeli":"æ","aelig":"æ","af":"⁡","afr":"𝔞","agrav":"à","agrave":"à","alefsym":"ℵ","aleph":"ℵ","alpha":"α","amacr":"ā","amalg":"⨿","am":"&","amp":"&","and":"∧","andand":"⩕","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsd":"∡","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","aogon":"ą","aopf":"𝕒","ap":"≈","apE":"⩰","apacir":"⩯","ape":"≊","apid":"≋","apos":"\'","approx":"≈","approxeq":"≊","arin":"å","aring":"å","ascr":"𝒶","ast":"*","asymp":"≈","asympeq":"≍","atild":"ã","atilde":"ã","aum":"ä","auml":"ä","awconint":"∳","awint":"⨑","bNot":"⫭","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","barvee":"⊽","barwed":"⌅","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","beta":"β","beth":"ℶ","between":"≬","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":"⌐","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxDL":"╗","boxDR":"╔","boxDl":"╖","boxDr":"╓","boxH":"═","boxHD":"╦","boxHU":"╩","boxHd":"╤","boxHu":"╧","boxUL":"╝","boxUR":"╚","boxUl":"╜","boxUr":"╙","boxV":"║","boxVH":"╬","boxVL":"╣","boxVR":"╠","boxVh":"╫","boxVl":"╢","boxVr":"╟","boxbox":"⧉","boxdL":"╕","boxdR":"╒","boxdl":"┐","boxdr":"┌","boxh":"─","boxhD":"╥","boxhU":"╨","boxhd":"┬","boxhu":"┴","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxuL":"╛","boxuR":"╘","boxul":"┘","boxur":"└","boxv":"│","boxvH":"╪","boxvL":"╡","boxvR":"╞","boxvh":"┼","boxvl":"┤","boxvr":"├","bprime":"‵","breve":"˘","brvba":"¦","brvbar":"¦","bscr":"𝒷","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsol":"\\\\","bsolb":"⧅","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","bumpeq":"≏","cacute":"ć","cap":"∩","capand":"⩄","capbrcup":"⩉","capcap":"⩋","capcup":"⩇","capdot":"⩀","caps":"∩︀","caret":"⁁","caron":"ˇ","ccaps":"⩍","ccaron":"č","ccedi":"ç","ccedil":"ç","ccirc":"ĉ","ccups":"⩌","ccupssm":"⩐","cdot":"ċ","cedi":"¸","cedil":"¸","cemptyv":"⦲","cen":"¢","cent":"¢","centerdot":"·","cfr":"𝔠","chcy":"ч","check":"✓","checkmark":"✓","chi":"χ","cir":"○","cirE":"⧃","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledR":"®","circledS":"Ⓢ","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","clubs":"♣","clubsuit":"♣","colon":":","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","conint":"∮","copf":"𝕔","coprod":"∐","cop":"©","copy":"©","copysr":"℗","crarr":"↵","cross":"✗","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cup":"∪","cupbrcap":"⩈","cupcap":"⩆","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curre":"¤","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dArr":"⇓","dHar":"⥥","dagger":"†","daleth":"ℸ","darr":"↓","dash":"‐","dashv":"⊣","dbkarow":"⤏","dblac":"˝","dcaron":"ď","dcy":"д","dd":"ⅆ","ddagger":"‡","ddarr":"⇊","ddotseq":"⩷","de":"°","deg":"°","delta":"δ","demptyv":"⦱","dfisht":"⥿","dfr":"𝔡","dharl":"⇃","dharr":"⇂","diam":"⋄","diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","digamma":"ϝ","disin":"⋲","div":"÷","divid":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","dopf":"𝕕","dot":"˙","doteq":"≐","doteqdot":"≑","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","downarrow":"↓","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","dscr":"𝒹","dscy":"ѕ","dsol":"⧶","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","dzcy":"џ","dzigrarr":"⟿","eDDot":"⩷","eDot":"≑","eacut":"é","eacute":"é","easter":"⩮","ecaron":"ě","ecir":"ê","ecirc":"ê","ecolon":"≕","ecy":"э","edot":"ė","ee":"ⅇ","efDot":"≒","efr":"𝔢","eg":"⪚","egrav":"è","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","emacr":"ē","empty":"∅","emptyset":"∅","emptyv":"∅","emsp13":" ","emsp14":" ","emsp":" ","eng":"ŋ","ensp":" ","eogon":"ę","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","equals":"=","equest":"≟","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erDot":"≓","erarr":"⥱","escr":"ℯ","esdot":"≐","esim":"≂","eta":"η","et":"ð","eth":"ð","eum":"ë","euml":"ë","euro":"€","excl":"!","exist":"∃","expectation":"ℰ","exponentiale":"ⅇ","fallingdotseq":"≒","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","ffr":"𝔣","filig":"fi","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","fopf":"𝕗","forall":"∀","fork":"⋔","forkv":"⫙","fpartint":"⨍","frac1":"¼","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac3":"¾","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","gE":"≧","gEl":"⪌","gacute":"ǵ","gamma":"γ","gammad":"ϝ","gap":"⪆","gbreve":"ğ","gcirc":"ĝ","gcy":"г","gdot":"ġ","ge":"≥","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","ges":"⩾","gescc":"⪩","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","gfr":"𝔤","gg":"≫","ggg":"⋙","gimel":"ℷ","gjcy":"ѓ","gl":"≷","glE":"⪒","gla":"⪥","glj":"⪤","gnE":"≩","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gneq":"⪈","gneqq":"≩","gnsim":"⋧","gopf":"𝕘","grave":"`","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","g":">","gt":">","gtcc":"⪧","gtcir":"⩺","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","hArr":"⇔","hairsp":" ","half":"½","hamilt":"ℋ","hardcy":"ъ","harr":"↔","harrcir":"⥈","harrw":"↭","hbar":"ℏ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","horbar":"―","hscr":"𝒽","hslash":"ℏ","hstrok":"ħ","hybull":"⁃","hyphen":"‐","iacut":"í","iacute":"í","ic":"⁣","icir":"î","icirc":"î","icy":"и","iecy":"е","iexc":"¡","iexcl":"¡","iff":"⇔","ifr":"𝔦","igrav":"ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","ijlig":"ij","imacr":"ī","image":"ℑ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","imof":"⊷","imped":"Ƶ","in":"∈","incare":"℅","infin":"∞","infintie":"⧝","inodot":"ı","int":"∫","intcal":"⊺","integers":"ℤ","intercal":"⊺","intlarhk":"⨗","intprod":"⨼","iocy":"ё","iogon":"į","iopf":"𝕚","iota":"ι","iprod":"⨼","iques":"¿","iquest":"¿","iscr":"𝒾","isin":"∈","isinE":"⋹","isindot":"⋵","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","itilde":"ĩ","iukcy":"і","ium":"ï","iuml":"ï","jcirc":"ĵ","jcy":"й","jfr":"𝔧","jmath":"ȷ","jopf":"𝕛","jscr":"𝒿","jsercy":"ј","jukcy":"є","kappa":"κ","kappav":"ϰ","kcedil":"ķ","kcy":"к","kfr":"𝔨","kgreen":"ĸ","khcy":"х","kjcy":"ќ","kopf":"𝕜","kscr":"𝓀","lAarr":"⇚","lArr":"⇐","lAtail":"⤛","lBarr":"⤎","lE":"≦","lEg":"⪋","lHar":"⥢","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","lambda":"λ","lang":"⟨","langd":"⦑","langle":"⟨","lap":"⪅","laqu":"«","laquo":"«","larr":"←","larrb":"⇤","larrbfs":"⤟","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","lat":"⪫","latail":"⤙","late":"⪭","lates":"⪭︀","lbarr":"⤌","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","lcaron":"ľ","lcedil":"ļ","lceil":"⌈","lcub":"{","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","leftarrow":"←","leftarrowtail":"↢","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","leftthreetimes":"⋋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","les":"⩽","lescc":"⪨","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","lessgtr":"≶","lesssim":"≲","lfisht":"⥼","lfloor":"⌊","lfr":"𝔩","lg":"≶","lgE":"⪑","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","ljcy":"љ","ll":"≪","llarr":"⇇","llcorner":"⌞","llhard":"⥫","lltri":"◺","lmidot":"ŀ","lmoust":"⎰","lmoustache":"⎰","lnE":"≨","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","longleftrightarrow":"⟷","longmapsto":"⟼","longrightarrow":"⟶","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","lstrok":"ł","l":"<","lt":"<","ltcc":"⪦","ltcir":"⩹","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltrPar":"⦖","ltri":"◃","ltrie":"⊴","ltrif":"◂","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","mDDot":"∺","mac":"¯","macr":"¯","male":"♂","malt":"✠","maltese":"✠","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","mcy":"м","mdash":"—","measuredangle":"∡","mfr":"𝔪","mho":"℧","micr":"µ","micro":"µ","mid":"∣","midast":"*","midcir":"⫰","middo":"·","middot":"·","minus":"−","minusb":"⊟","minusd":"∸","minusdu":"⨪","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","mopf":"𝕞","mp":"∓","mscr":"𝓂","mstpos":"∾","mu":"μ","multimap":"⊸","mumap":"⊸","nGg":"⋙̸","nGt":"≫⃒","nGtv":"≫̸","nLeftarrow":"⇍","nLeftrightarrow":"⇎","nLl":"⋘̸","nLt":"≪⃒","nLtv":"≪̸","nRightarrow":"⇏","nVDash":"⊯","nVdash":"⊮","nabla":"∇","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natur":"♮","natural":"♮","naturals":"ℕ","nbs":" ","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","ncaron":"ň","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","ncy":"н","ndash":"–","ne":"≠","neArr":"⇗","nearhk":"⤤","nearr":"↗","nearrow":"↗","nedot":"≐̸","nequiv":"≢","nesear":"⤨","nesim":"≂̸","nexist":"∄","nexists":"∄","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","ngsim":"≵","ngt":"≯","ngtr":"≯","nhArr":"⇎","nharr":"↮","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","njcy":"њ","nlArr":"⇍","nlE":"≦̸","nlarr":"↚","nldr":"‥","nle":"≰","nleftarrow":"↚","nleftrightarrow":"↮","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nlsim":"≴","nlt":"≮","nltri":"⋪","nltrie":"⋬","nmid":"∤","nopf":"𝕟","no":"¬","not":"¬","notin":"∉","notinE":"⋹̸","notindot":"⋵̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","npar":"∦","nparallel":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","npre":"⪯̸","nprec":"⊀","npreceq":"⪯̸","nrArr":"⇏","nrarr":"↛","nrarrc":"⤳̸","nrarrw":"↝̸","nrightarrow":"↛","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","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":"≹","ntild":"ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","nu":"ν","num":"#","numero":"№","numsp":" ","nvDash":"⊭","nvHarr":"⤄","nvap":"≍⃒","nvdash":"⊬","nvge":"≥⃒","nvgt":">⃒","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwArr":"⇖","nwarhk":"⤣","nwarr":"↖","nwarrow":"↖","nwnear":"⤧","oS":"Ⓢ","oacut":"ó","oacute":"ó","oast":"⊛","ocir":"ô","ocirc":"ô","ocy":"о","odash":"⊝","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","oelig":"œ","ofcir":"⦿","ofr":"𝔬","ogon":"˛","ograv":"ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","omacr":"ō","omega":"ω","omicron":"ο","omid":"⦶","ominus":"⊖","oopf":"𝕠","opar":"⦷","operp":"⦹","oplus":"⊕","or":"∨","orarr":"↻","ord":"º","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oscr":"ℴ","oslas":"ø","oslash":"ø","osol":"⊘","otild":"õ","otilde":"õ","otimes":"⊗","otimesas":"⨶","oum":"ö","ouml":"ö","ovbar":"⌽","par":"¶","para":"¶","parallel":"∥","parsim":"⫳","parsl":"⫽","part":"∂","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","pfr":"𝔭","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plus":"+","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plusdo":"∔","plusdu":"⨥","pluse":"⩲","plusm":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","pointint":"⨕","popf":"𝕡","poun":"£","pound":"£","pr":"≺","prE":"⪳","prap":"⪷","prcue":"≼","pre":"⪯","prec":"≺","precapprox":"⪷","preccurlyeq":"≼","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","precsim":"≾","prime":"′","primes":"ℙ","prnE":"⪵","prnap":"⪹","prnsim":"⋨","prod":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","propto":"∝","prsim":"≾","prurel":"⊰","pscr":"𝓅","psi":"ψ","puncsp":" ","qfr":"𝔮","qint":"⨌","qopf":"𝕢","qprime":"⁗","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quo":"\\"","quot":"\\"","rAarr":"⇛","rArr":"⇒","rAtail":"⤜","rBarr":"⤏","rHar":"⥤","race":"∽̱","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","rangd":"⦒","range":"⦥","rangle":"⟩","raqu":"»","raquo":"»","rarr":"→","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","rarrtl":"↣","rarrw":"↝","ratail":"⤚","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","rcaron":"ř","rcedil":"ŗ","rceil":"⌉","rcub":"}","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","rect":"▭","re":"®","reg":"®","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","rhard":"⇁","rharu":"⇀","rharul":"⥬","rho":"ρ","rhov":"ϱ","rightarrow":"→","rightarrowtail":"↣","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","rightthreetimes":"⋌","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoust":"⎱","rmoustache":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","roplus":"⨮","rotimes":"⨵","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","rsaquo":"›","rscr":"𝓇","rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","ruluhar":"⥨","rx":"℞","sacute":"ś","sbquo":"‚","sc":"≻","scE":"⪴","scap":"⪸","scaron":"š","sccue":"≽","sce":"⪰","scedil":"ş","scirc":"ŝ","scnE":"⪶","scnap":"⪺","scnsim":"⋩","scpolint":"⨓","scsim":"≿","scy":"с","sdot":"⋅","sdotb":"⊡","sdote":"⩦","seArr":"⇘","searhk":"⤥","searr":"↘","searrow":"↘","sec":"§","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","sfr":"𝔰","sfrown":"⌢","sharp":"♯","shchcy":"щ","shcy":"ш","shortmid":"∣","shortparallel":"∥","sh":"­","shy":"­","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","softcy":"ь","sol":"/","solb":"⧄","solbar":"⌿","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","squ":"□","square":"□","squarf":"▪","squf":"▪","srarr":"→","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","subE":"⫅","subdot":"⪽","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","subseteq":"⊆","subseteqq":"⫅","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succ":"≻","succapprox":"⪸","succcurlyeq":"≽","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","sum":"∑","sung":"♪","sup":"⊃","sup1":"¹","sup2":"²","sup3":"³","supE":"⫆","supdot":"⪾","supdsub":"⫘","supe":"⊇","supedot":"⫄","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swArr":"⇙","swarhk":"⤦","swarr":"↙","swarrow":"↙","swnwar":"⤪","szli":"ß","szlig":"ß","target":"⌖","tau":"τ","tbrk":"⎴","tcaron":"ť","tcedil":"ţ","tcy":"т","tdot":"⃛","telrec":"⌕","tfr":"𝔱","there4":"∴","therefore":"∴","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","thinsp":" ","thkap":"≈","thksim":"∼","thor":"þ","thorn":"þ","tilde":"˜","time":"×","times":"×","timesb":"⊠","timesbar":"⨱","timesd":"⨰","tint":"∭","toea":"⤨","top":"⊤","topbot":"⌶","topcir":"⫱","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","tscr":"𝓉","tscy":"ц","tshcy":"ћ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","uArr":"⇑","uHar":"⥣","uacut":"ú","uacute":"ú","uarr":"↑","ubrcy":"ў","ubreve":"ŭ","ucir":"û","ucirc":"û","ucy":"у","udarr":"⇅","udblac":"ű","udhar":"⥮","ufisht":"⥾","ufr":"𝔲","ugrav":"ù","ugrave":"ù","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","umacr":"ū","um":"¨","uml":"¨","uogon":"ų","uopf":"𝕦","uparrow":"↑","updownarrow":"↕","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","upsi":"υ","upsih":"ϒ","upsilon":"υ","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","uring":"ů","urtri":"◹","uscr":"𝓊","utdot":"⋰","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","uum":"ü","uuml":"ü","uwangle":"⦧","vArr":"⇕","vBar":"⫨","vBarv":"⫩","vDash":"⊨","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vcy":"в","vdash":"⊢","vee":"∨","veebar":"⊻","veeeq":"≚","vellip":"⋮","verbar":"|","vert":"|","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","vopf":"𝕧","vprop":"∝","vrtri":"⊳","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","vzigzag":"⦚","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","wedgeq":"≙","weierp":"℘","wfr":"𝔴","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","xfr":"𝔵","xhArr":"⟺","xharr":"⟷","xi":"ξ","xlArr":"⟸","xlarr":"⟵","xmap":"⟼","xnis":"⋻","xodot":"⨀","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrArr":"⟹","xrarr":"⟶","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","yacut":"ý","yacute":"ý","yacy":"я","ycirc":"ŷ","ycy":"ы","ye":"¥","yen":"¥","yfr":"𝔶","yicy":"ї","yopf":"𝕪","yscr":"𝓎","yucy":"ю","yum":"ÿ","yuml":"ÿ","zacute":"ź","zcaron":"ž","zcy":"з","zdot":"ż","zeetrf":"ℨ","zeta":"ζ","zfr":"𝔷","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","zscr":"𝓏","zwj":"‍","zwnj":"‌"}') } , 8192: e=>{ "use strict"; e.exports = JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}') } , 7274: e=>{ "use strict"; e.exports = JSON.parse('["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]') } , 5547: e=>{ "use strict"; e.exports = JSON.parse('["cent","copy","divide","gt","lt","not","para","times"]') } } , t = {}; function n(r) { var i = t[r]; if (void 0 !== i) return i.exports; var o = t[r] = { exports: {} }; return e[r](o, o.exports, n), o.exports } n.n = e=>{ var t = e && e.__esModule ? ()=>e.default : ()=>e; return n.d(t, { a: t }), t } , n.d = (e,t)=>{ for (var r in t) n.o(t, r) && !n.o(e, r) && Object.defineProperty(e, r, { enumerable: !0, get: t[r] }) } , n.o = (e,t)=>Object.prototype.hasOwnProperty.call(e, t), (()=>{ "use strict"; var e = n(2292) , t = n.n(e) , r = n(7497) , i = n.n(r) , o = n(7074) , s = n.n(o); const a = Symbol.for("yaml.alias") , l = Symbol.for("yaml.document") , c = Symbol.for("yaml.map") , u = Symbol.for("yaml.pair") , f = Symbol.for("yaml.scalar") , h = Symbol.for("yaml.seq") , p = Symbol.for("yaml.node.type") , d = e=>!!e && "object" == typeof e && e[p] === a , m = e=>!!e && "object" == typeof e && e[p] === l , g = e=>!!e && "object" == typeof e && e[p] === c , v = e=>!!e && "object" == typeof e && e[p] === u , y = e=>!!e && "object" == typeof e && e[p] === f , b = e=>!!e && "object" == typeof e && e[p] === h; function k(e) { if (e && "object" == typeof e) switch (e[p]) { case c: case h: return !0 } return !1 } function w(e) { if (e && "object" == typeof e) switch (e[p]) { case a: case c: case f: case h: return !0 } return !1 } class x { constructor(e) { Object.defineProperty(this, p, { value: e }) } } const A = Symbol("break visit") , S = Symbol("skip children") , O = Symbol("remove node"); function C(e, t) { if (m(e)) { N(null, e.contents, t, Object.freeze([e])) === O && (e.contents = null) } else N(null, e, t, Object.freeze([])) } function N(e, t, n, r) { let i; if ("function" == typeof n ? i = n(e, t, r) : g(t) ? n.Map && (i = n.Map(e, t, r)) : b(t) ? n.Seq && (i = n.Seq(e, t, r)) : v(t) ? n.Pair && (i = n.Pair(e, t, r)) : y(t) ? n.Scalar && (i = n.Scalar(e, t, r)) : d(t) && n.Alias && (i = n.Alias(e, t, r)), w(i) || v(i)) { const t = r[r.length - 1]; if (k(t)) t.items[e] = i; else if (v(t)) "key" === e ? t.key = i : t.value = i; else { if (!m(t)) { const e = d(t) ? "alias" : "scalar"; throw new Error(`Cannot replace node with ${e} parent`) } t.contents = i } return N(e, i, n, r) } if ("symbol" != typeof i) if (k(t)) { r = Object.freeze(r.concat(t)); for (let e = 0; e < t.items.length; ++e) { const i = N(e, t.items[e], n, r); if ("number" == typeof i) e = i - 1; else { if (i === A) return A; i === O && (t.items.splice(e, 1), e -= 1) } } } else if (v(t)) { r = Object.freeze(r.concat(t)); const e = N("key", t.key, n, r); if (e === A) return A; e === O && (t.key = null); const i = N("value", t.value, n, r); if (i === A) return A; i === O && (t.value = null) } return i } C.BREAK = A, C.SKIP = S, C.REMOVE = O; const E = { "!": "%21", ",": "%2C", "[": "%5B", "]": "%5D", "{": "%7B", "}": "%7D" }; class L { constructor(e, t) { this.marker = null, this.yaml = Object.assign({}, L.defaultYaml, e), this.tags = Object.assign({}, L.defaultTags, t) } atDocument() { const e = new L(this.yaml,this.tags); switch (this.yaml.version) { case "1.1": this.atNextDocument = !0; break; case "1.2": this.atNextDocument = !1, this.yaml = { explicit: L.defaultYaml.explicit, version: "1.2" }, this.tags = Object.assign({}, L.defaultTags) } return e } add(e, t) { this.atNextDocument && (this.yaml = { explicit: L.defaultYaml.explicit, version: "1.1" }, this.tags = Object.assign({}, L.defaultTags), this.atNextDocument = !1); const n = e.trim().split(/[ \t]+/) , r = n.shift(); switch (r) { case "%TAG": { if (2 !== n.length && (t(0, "%TAG directive should contain exactly two parts"), n.length < 2)) return !1; const [e,r] = n; return this.tags[e] = r, !0 } case "%YAML": { if (this.yaml.explicit = !0, n.length < 1) return t(0, "%YAML directive should contain exactly one part"), !1; const [e] = n; return "1.1" === e || "1.2" === e ? (this.yaml.version = e, !0) : (t(6, `Unsupported YAML version ${e}`, !0), !1) } default: return t(0, `Unknown directive ${r}`, !0), !1 } } tagName(e, t) { if ("!" === e) return "!"; if ("!" !== e[0]) return t(`Not a valid tag: ${e}`), null; if ("<" === e[1]) { const n = e.slice(2, -1); return "!" === n || "!!" === n ? (t(`Verbatim tags aren't resolved, so ${e} is invalid.`), null) : (">" !== e[e.length - 1] && t("Verbatim tags must end with a >"), n) } const [,n,r] = e.match(/^(.*!)([^!]*)$/); r || t(`The ${e} tag has no suffix`); const i = this.tags[n]; return i ? i + decodeURIComponent(r) : "!" === n ? e : (t(`Could not resolve tag: ${e}`), null) } tagString(e) { for (const [t,n] of Object.entries(this.tags)) if (e.startsWith(n)) return t + e.substring(n.length).replace(/[!,[\]{}]/g, (e=>E[e])); return "!" === e[0] ? e : `!<${e}>` } toString(e) { const t = this.yaml.explicit ? [`%YAML ${this.yaml.version || "1.2"}`] : [] , n = Object.entries(this.tags); let r; if (e && n.length > 0 && w(e.contents)) { const t = {}; C(e.contents, ((e,n)=>{ w(n) && n.tag && (t[n.tag] = !0) } )), r = Object.keys(t) } else r = []; for (const [i,o] of n) "!!" === i && "tag:yaml.org,2002:" === o || e && !r.some((e=>e.startsWith(o))) || t.push(`%TAG ${i} ${o}`); return t.join("\n") } } function q(e, t, n) { if (Array.isArray(e)) return e.map(((e,t)=>q(e, String(t), n))); if (e && "function" == typeof e.toJSON) { if (!n) return e.toJSON(t); const r = n.anchors && n.anchors.get(e); r && (n.onCreate = e=>{ r.res = e, delete n.onCreate } ); const i = e.toJSON(t, n); return r && n.onCreate && n.onCreate(i), i } return n && n.keep || "bigint" != typeof e ? e : Number(e) } L.defaultYaml = { explicit: !1, version: "1.2" }, L.defaultTags = { "!!": "tag:yaml.org,2002:" }; class T extends x { constructor(e) { super(a), this.source = e, Object.defineProperty(this, "tag", { set() { throw new Error("Alias nodes cannot have tags") } }) } toJSON(e, t) { if (!t) return q(this.source, "string" == typeof e ? e : null, t); const {anchors: n, maxAliasCount: r} = t , i = n && n.get(this.source); if (!i || void 0 === i.res) { throw new ReferenceError("This should not happen: Alias anchor was not resolved?") } if (r >= 0 && (i.count += 1, 0 === i.aliasCount && (i.aliasCount = I(this.source, n)), i.count * i.aliasCount > r)) { throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack") } return i.res } toString({anchors: e, doc: t, implicitKey: n, inStringifyKey: r}, i, o) { let s = Object.keys(e).find((t=>e[t] === this.source)); if (!s && r && (s = t.anchors.getName(this.source) || t.anchors.newName()), s) return `*${s}${n ? " " : ""}`; const a = t.anchors.getName(this.source) ? "Alias node must be after source node" : "Source node not found for alias node"; throw new Error(`${a} [${this.range}]`) } } function I(e, t) { if (d(e)) { const n = t && t.get(e.source); return n ? n.count * n.aliasCount : 0 } if (k(e)) { let n = 0; for (const r of e.items) { const e = I(r, t); e > n && (n = e) } return n } if (v(e)) { const n = I(e.key, t) , r = I(e.value, t); return Math.max(n, r) } return 1 } const D = e=>!e || "function" != typeof e && "object" != typeof e; class B extends x { constructor(e) { super(f), this.value = e } toJSON(e, t) { return t && t.keep ? this.value : q(this.value, e, t) } toString() { return String(this.value) } } B.BLOCK_FOLDED = "BLOCK_FOLDED", B.BLOCK_LITERAL = "BLOCK_LITERAL", B.PLAIN = "PLAIN", B.QUOTE_DOUBLE = "QUOTE_DOUBLE", B.QUOTE_SINGLE = "QUOTE_SINGLE"; function P(e, t, n) { var r, i; if (w(e)) return e; if (v(e)) { const t = null === (i = (r = n.schema.map).createNode) || void 0 === i ? void 0 : i.call(r, n.schema, null, n); return t.items.push(e), t } (e instanceof String || e instanceof Number || e instanceof Boolean || "function" == typeof BigInt && e instanceof BigInt) && (e = e.valueOf()); const {onAlias: o, onTagObj: s, prevObjects: a} = n , {map: l, seq: c, tags: u} = n.schema; t && t.startsWith("!!") && (t = "tag:yaml.org,2002:" + t.slice(2)); let f = function(e, t, n) { if (t) { const e = n.filter((e=>e.tag === t)) , r = e.find((e=>!e.format)) || e[0]; if (!r) throw new Error(`Tag ${t} not found`); return r } return n.find((t=>t.identify && t.identify(e) && !t.format)) }(e, t, u); if (!f) { if (e && "function" == typeof e.toJSON && (e = e.toJSON()), !e || "object" != typeof e) return new B(e); f = e instanceof Map ? l : Symbol.iterator in Object(e) ? c : l } s && (s(f), delete n.onTagObj); const h = { value: void 0, node: void 0 }; if (e && "object" == typeof e) { const t = a.get(e); if (t) return o(t); h.value = e, a.set(e, h) } const p = (null == f ? void 0 : f.createNode) ? f.createNode(n.schema, e, n) : new B(e); return t && (p.tag = t), h.node = p, p } function $(e, t, n) { return n ? n.includes("\n") ? `${e}\n` + n.replace(/^/gm, `${t || ""}#`) : e.endsWith(" ") ? `${e}#${n}` : `${e} #${n}` : e } const j = "flow" , R = "block" , U = "quoted"; function M(e, t, n="flow", {indentAtStart: r, lineWidth: i=80, minContentWidth: o=20, onFold: s, onOverflow: a}={}) { if (!i || i < 0) return e; const l = Math.max(1 + o, 1 + i - t.length); if (e.length <= l) return e; const c = [] , u = {}; let f, h, p = i - t.length; "number" == typeof r && (r > i - Math.max(2, o) ? c.push(0) : p = i - r); let d = !1 , m = -1 , g = -1 , v = -1; n === R && (m = z(e, m), -1 !== m && (p = m + l)); for (let t; t = e[m += 1]; ) { if (n === U && "\\" === t) { switch (g = m, e[m + 1]) { case "x": m += 3; break; case "u": m += 5; break; case "U": m += 9; break; default: m += 1 } v = m } if ("\n" === t) n === R && (m = z(e, m)), p = m + l, f = void 0; else { if (" " === t && h && " " !== h && "\n" !== h && "\t" !== h) { const t = e[m + 1]; t && " " !== t && "\n" !== t && "\t" !== t && (f = m) } if (m >= p) if (f) c.push(f), p = f + l, f = void 0; else if (n === U) { for (; " " === h || "\t" === h; ) h = t, t = e[m += 1], d = !0; const n = m > v + 1 ? m - 2 : g - 1; if (u[n]) return e; c.push(n), u[n] = !0, p = n + l, f = void 0 } else d = !0 } h = t } if (d && a && a(), 0 === c.length) return e; s && s(); let y = e.slice(0, c[0]); for (let r = 0; r < c.length; ++r) { const i = c[r] , o = c[r + 1] || e.length; 0 === i ? y = `\n${t}${e.slice(0, o)}` : (n === U && u[i] && (y += `${e[i]}\\`), y += `\n${t}${e.slice(i + 1, o)}`) } return y } function z(e, t) { let n = e[t + 1]; for (; " " === n || "\t" === n; ) { do { n = e[t += 1] } while (n && "\n" !== n); n = e[t + 1] } return t } const F = e=>({ indentAtStart: e.indentAtStart, lineWidth: e.options.lineWidth, minContentWidth: e.options.minContentWidth }) , V = e=>/^(%|---|\.\.\.)/m.test(e); function H(e, t) { const n = JSON.stringify(e); if (t.options.doubleQuotedAsJSON) return n; const {implicitKey: r} = t , i = t.options.doubleQuotedMinMultiLineLength , o = t.indent || (V(e) ? " " : ""); let s = "" , a = 0; for (let e = 0, t = n[e]; t; t = n[++e]) if (" " === t && "\\" === n[e + 1] && "n" === n[e + 2] && (s += n.slice(a, e) + "\\ ", e += 1, a = e, t = "\\"), "\\" === t) switch (n[e + 1]) { case "u": { s += n.slice(a, e); const t = n.substr(e + 2, 4); switch (t) { case "0000": s += "\\0"; break; case "0007": s += "\\a"; break; case "000b": s += "\\v"; break; case "001b": s += "\\e"; break; case "0085": s += "\\N"; break; case "00a0": s += "\\_"; break; case "2028": s += "\\L"; break; case "2029": s += "\\P"; break; default: "00" === t.substr(0, 2) ? s += "\\x" + t.substr(2) : s += n.substr(e, 6) } e += 5, a = e + 1 } break; case "n": if (r || '"' === n[e + 2] || n.length < i) e += 1; else { for (s += n.slice(a, e) + "\n\n"; "\\" === n[e + 2] && "n" === n[e + 3] && '"' !== n[e + 4]; ) s += "\n", e += 2; s += o, " " === n[e + 2] && (s += "\\"), e += 1, a = e + 1 } break; default: e += 1 } return s = a ? s + n.slice(a) : n, r ? s : M(s, o, U, F(t)) } function K(e, t) { if (t.implicitKey) { if (/\n/.test(e)) return H(e, t) } else if (/[ \t]\n|\n[ \t]/.test(e)) return H(e, t); const n = t.indent || (V(e) ? " " : "") , r = "'" + e.replace(/'/g, "''").replace(/\n+/g, `$&\n${n}`) + "'"; return t.implicitKey ? r : M(r, n, j, F(t)) } function _({comment: e, type: t, value: n}, r, i, o) { if (/\n[\t ]+$/.test(n) || /^\s*$/.test(n)) return H(n, r); const s = r.indent || (r.forceBlockIndent || V(n) ? " " : "") , a = s ? "2" : "1" , l = t !== B.BLOCK_FOLDED && (t === B.BLOCK_LITERAL || !function(e, t, n) { if (!t || t < 0) return !1; const r = t - n , i = e.length; if (i <= r) return !1; for (let t = 0, n = 0; t < i; ++t) if ("\n" === e[t]) { if (t - n > r) return !0; if (n = t + 1, i - n <= r) return !1 } return !0 }(n, r.options.lineWidth, s.length)); let c = l ? "|" : ">"; if (!n) return c + "\n"; let u = "" , f = ""; if (n = n.replace(/[\n\t ]*$/, (e=>{ const t = e.indexOf("\n"); return -1 === t ? c += "-" : n !== e && t === e.length - 1 || (c += "+", o && o()), f = e.replace(/\n$/, ""), "" } )).replace(/^[\n ]*/, (e=>{ -1 !== e.indexOf(" ") && (c += a); const t = e.match(/ +$/); return t ? (u = e.slice(0, -t[0].length), t[0]) : (u = e, "") } )), f && (f = f.replace(/\n+(?!\n|$)/g, `$&${s}`)), u && (u = u.replace(/\n+/g, `$&${s}`)), e && (c += " #" + e.replace(/ ?[\r\n]+/g, " "), i && i()), !n) return `${c}${a}\n${s}${f}`; if (l) return n = n.replace(/\n+/g, `$&${s}`), `${c}\n${s}${u}${n}${f}`; n = n.replace(/\n+/g, "\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g, "$1$2").replace(/\n+/g, `$&${s}`); const h = M(`${u}${n}${f}`, s, R, F(r)); return `${c}\n${s}${h}` } function J(e, t, n, r) { const {implicitKey: i, inFlow: o} = t , s = "string" == typeof e.value ? e : Object.assign({}, e, { value: String(e.value) }); let {type: a} = e; a !== B.QUOTE_DOUBLE && /[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(s.value) && (a = B.QUOTE_DOUBLE); const l = e=>{ switch (e) { case B.BLOCK_FOLDED: case B.BLOCK_LITERAL: return i || o ? H(s.value, t) : _(s, t, n, r); case B.QUOTE_DOUBLE: return H(s.value, t); case B.QUOTE_SINGLE: return K(s.value, t); case B.PLAIN: return function(e, t, n, r) { var i; const {comment: o, type: s, value: a} = e , {actualString: l, implicitKey: c, indent: u, inFlow: f} = t; if (c && /[\n[\]{},]/.test(a) || f && /[[\]{},]/.test(a)) return H(a, t); if (!a || /^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a)) { const i = -1 !== a.indexOf('"') , o = -1 !== a.indexOf("'"); let s; return s = i && !o ? K : o && !i ? H : t.options.singleQuote ? K : H, c || f || -1 === a.indexOf("\n") ? s(a, t) : _(e, t, n, r) } if (!c && !f && s !== B.PLAIN && -1 !== a.indexOf("\n")) return _(e, t, n, r); if ("" === u && V(a)) return t.forceBlockIndent = !0, _(e, t, n, r); const h = a.replace(/\n+/g, `$&\n${u}`); if (l) for (const e of t.doc.schema.tags) if (e.default && "tag:yaml.org,2002:str" !== e.tag && (null === (i = e.test) || void 0 === i ? void 0 : i.test(h))) return H(a, t); const p = c ? h : M(h, u, j, F(t)); return !o || f || -1 === p.indexOf("\n") && -1 === o.indexOf("\n") ? p : (n && n(), function(e, t, n) { return n ? `#${n.replace(/[\s\S]^/gm, `$&${t}#`)}\n ${t}${e}` : e }(p, u, o)) }(s, t, n, r); default: return null } } ; let c = l(a); if (null === c) { const {defaultKeyType: e, defaultStringType: n} = t.options , r = i && e || n; if (c = l(r), null === c) throw new Error(`Unsupported default string type ${r}`) } return c } const G = (e,t)=>({ anchors: Object.create(null), doc: e, indent: "", indentStep: "number" == typeof t.indent ? " ".repeat(t.indent) : " ", options: Object.assign({ defaultKeyType: null, defaultStringType: "PLAIN", directives: null, doubleQuotedAsJSON: !1, doubleQuotedMinMultiLineLength: 40, falseStr: "false", indentSeq: !0, lineWidth: 80, minContentWidth: 20, nullStr: "null", simpleKeys: !1, singleQuote: !1, trueStr: "true" }, t) }); function Y(e, t, n, r) { if (v(e)) return e.toString(t, n, r); if (d(e)) return e.toString(t); let i; const o = w(e) ? e : t.doc.createNode(e, { onTagObj: e=>i = e }); i || (i = function(e, t) { if (t.tag) { const n = e.filter((e=>e.tag === t.tag)); if (n.length > 0) return n.find((e=>e.format === t.format)) || n[0] } let n, r; if (y(t)) { r = t.value; const i = e.filter((e=>e.identify && e.identify(r))); n = i.find((e=>e.format === t.format)) || i.find((e=>!e.format)) } else r = t, n = e.find((e=>e.nodeClass && r instanceof e.nodeClass)); if (!n) { const e = r && r.constructor ? r.constructor.name : typeof r; throw new Error(`Tag not resolved for ${e} value`) } return n }(t.doc.schema.tags, o)); const s = function(e, t, {anchors: n, doc: r}) { const i = [] , o = r.anchors.getName(e); return o && (n[o] = e, i.push(`&${o}`)), e.tag ? i.push(r.directives.tagString(e.tag)) : t.default || i.push(r.directives.tagString(t.tag)), i.join(" ") }(o, i, t); s.length > 0 && (t.indentAtStart = (t.indentAtStart || 0) + s.length + 1); const a = "function" == typeof i.stringify ? i.stringify(o, t, n, r) : y(o) ? J(o, t, n, r) : o.toString(t, n, r); return s ? y(o) || "{" === a[0] || "[" === a[0] ? `${s} ${a}` : `${s}\n${t.indent}${a}` : a } function W(e, t, n) { let r = n; for (let e = t.length - 1; e >= 0; --e) { const n = t[e]; if ("number" == typeof n && Number.isInteger(n) && n >= 0) { const e = []; e[n] = r, r = e } else { const e = {}; Object.defineProperty(e, "symbol" == typeof n ? n : String(n), { value: r, writable: !0, enumerable: !0, configurable: !0 }), r = e } } return P(r, void 0, { onAlias() { throw new Error("Repeated objects are not supported here") }, prevObjects: new Map, schema: e }) } const Q = e=>null == e || "object" == typeof e && !!e[Symbol.iterator]().next().done; class Z extends x { constructor(e, t) { super(e), Object.defineProperty(this, "schema", { value: t, configurable: !0, enumerable: !1, writable: !0 }) } addIn(e, t) { if (Q(e)) this.add(t); else { const [n,...r] = e , i = this.get(n, !0); if (k(i)) i.addIn(r, t); else { if (void 0 !== i || !this.schema) throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`); this.set(n, W(this.schema, r, t)) } } } deleteIn([e,...t]) { if (0 === t.length) return this.delete(e); const n = this.get(e, !0); if (k(n)) return n.deleteIn(t); throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`) } getIn([e,...t], n) { const r = this.get(e, !0); return 0 === t.length ? !n && y(r) ? r.value : r : k(r) ? r.getIn(t, n) : void 0 } hasAllNullValues(e) { return this.items.every((t=>{ if (!t || w(t)) return !1; const n = t.value; return null == n || e && y(n) && null == n.value && !n.commentBefore && !n.comment && !n.tag } )) } hasIn([e,...t]) { if (0 === t.length) return this.has(e); const n = this.get(e, !0); return !!k(n) && n.hasIn(t) } setIn([e,...t], n) { if (0 === t.length) this.set(e, n); else { const r = this.get(e, !0); if (k(r)) r.setIn(t, n); else { if (void 0 !== r || !this.schema) throw new Error(`Expected YAML collection at ${e}. Remaining path: ${t}`); this.set(e, W(this.schema, t, n)) } } } _toString(e, {blockItem: t, flowChars: n, itemIndent: r}, i, o) { const {indent: s, indentStep: a} = e , l = this.flow || e.inFlow; l && (r += a), e = Object.assign({}, e, { indent: r, inFlow: l, type: null }); let c = !1 , u = !1; const f = this.items.reduce(((t,n,i)=>{ let o = null; if (w(n) || v(n)) { if (!c && n.spaceBefore && t.push({ type: "comment", str: "" }), n.commentBefore) for (const e of n.commentBefore.match(/^.*$/gm)) t.push({ type: "comment", str: `#${e}` }); n.comment && (o = n.comment); const e = n; l && (!c && n.spaceBefore || n.commentBefore || n.comment || e.key && (e.key.commentBefore || e.key.comment) || e.value && (e.value.commentBefore || e.value.comment)) && (u = !0) } c = !1; let s = Y(n, e, (()=>o = null), (()=>c = !0)); return l && !u && s.includes("\n") && (u = !0), l && i < this.items.length - 1 && (s += ","), s = $(s, r, o), c && (o || l) && (c = !1), t.push({ type: "item", str: s }), t } ), []); let h; if (0 === f.length) h = n.start + n.end; else if (l) { const {start: e, end: t} = n , r = f.map((e=>e.str)); if (u || r.reduce(((e,t)=>e + t.length + 2), 2) > Z.maxFlowStringSingleLineLength) { h = e; for (const e of r) h += e ? `\n${a}${s}${e}` : "\n"; h += `\n${s}${t}` } else h = `${e} ${r.join(" ")} ${t}` } else { const e = f.map(t); h = e.shift() || ""; for (const t of e) h += t ? `\n${s}${t}` : "\n" } return this.comment ? (h += "\n" + this.comment.replace(/^/gm, `${s}#`), i && i()) : c && o && o(), h } } function X(e, t) { "debug" !== e && "warn" !== e || ("undefined" != typeof process && process.emitWarning ? process.emitWarning(t) : console.warn(t)) } function ee(e, t, n) { const r = P(e, void 0, n) , i = P(t, void 0, n); return new ne(r,i) } Z.maxFlowStringSingleLineLength = 60; function te(e, t, n) { if (!d(n) || !g(n.source)) throw new Error("Merge sources must be map aliases"); const r = n.source.toJSON(null, e, Map); for (const [e,n] of r) t instanceof Map ? t.has(e) || t.set(e, n) : t instanceof Set ? t.add(e) : Object.prototype.hasOwnProperty.call(t, e) || Object.defineProperty(t, e, { value: n, writable: !0, enumerable: !0, configurable: !0 }); return t } class ne extends x { constructor(e, t=null) { super(u), this.key = e, this.value = t } get commentBefore() { return w(this.key) ? this.key.commentBefore : void 0 } set commentBefore(e) { if (null == this.key && (this.key = new B(null)), !w(this.key)) { throw new Error("Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.") } this.key.commentBefore = e } get spaceBefore() { return w(this.key) ? this.key.spaceBefore : void 0 } set spaceBefore(e) { if (null == this.key && (this.key = new B(null)), !w(this.key)) { throw new Error("Pair.spaceBefore is an alias for Pair.key.spaceBefore. To set it, the key must be a Node.") } this.key.spaceBefore = e } addToJSMap(e, t) { if (e && e.doc.schema.merge && ((n = this.key) === ne.MERGE_KEY || y(n) && n.value === ne.MERGE_KEY && (!n.type || n.type === B.PLAIN))) if (b(this.value)) for (const n of this.value.items) te(e, t, n); else if (Array.isArray(this.value)) for (const n of this.value) te(e, t, n); else te(e, t, this.value); else { const n = q(this.key, "", e); if (t instanceof Map) { const r = q(this.value, n, e); t.set(n, r) } else if (t instanceof Set) t.add(n); else { const r = function(e, t, n) { if (null === t) return ""; if ("object" != typeof t) return String(t); if (w(e) && n && n.doc) { const t = G(n.doc, {}); t.inFlow = !0, t.inStringifyKey = !0; const r = e.toString(t); if (!n.mapKeyWarned) { let e = JSON.stringify(r); e.length > 40 && (e = e.substring(0, 36) + '..."'), X(n.doc.options.logLevel, `Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`), n.mapKeyWarned = !0 } return r } return JSON.stringify(t) }(this.key, n, e) , i = q(this.value, r, e); r in t ? Object.defineProperty(t, r, { value: i, writable: !0, enumerable: !0, configurable: !0 }) : t[r] = i } } var n; return t } toJSON(e, t) { const n = t && t.mapAsMap ? new Map : {}; return this.addToJSMap(t, n) } toString(e, t, n) { if (!e || !e.doc) return JSON.stringify(this); const {allNullValues: r, doc: i, indent: o, indentStep: s, options: {indentSeq: a, simpleKeys: l}} = e; let {key: c, value: u} = this , f = w(c) && c.comment || null; if (l) { if (f) throw new Error("With simple keys, key nodes cannot have comments"); if (k(c)) { throw new Error("With simple keys, collection cannot be used as a key value") } } let h = !l && (!c || f && null == u || k(c) || (y(c) ? c.type === B.BLOCK_FOLDED || c.type === B.BLOCK_LITERAL : "object" == typeof c)); e = Object.assign({}, e, { allNullValues: !1, implicitKey: !h && (l || !r), indent: o + s }); let p = !1 , d = Y(c, e, (()=>f = null), (()=>p = !0)); if (!h && !e.inFlow && d.length > 1024) { if (l) throw new Error("With simple keys, single line scalar must not span more than 1024 characters"); h = !0 } if (r && (!l || e.inFlow) || null == u && (h || e.inFlow)) return d = $(d, e.indent, f), this.comment ? (f && !this.comment.includes("\n") ? d += `\n${e.indent || ""}#${this.comment}` : d = $(d, e.indent, this.comment), t && t()) : p && !f && n && n(), e.inFlow && !h ? d : `? ${d}`; d = h ? `? ${$(d, e.indent, f)}\n${o}:` : $(`${d}:`, e.indent, f), this.comment && (!f || h || this.comment.includes("\n") ? d = $(d, e.indent, this.comment) : d += `\n${e.indent || ""}#${this.comment}`, t && t()); let m = "" , g = null; if (w(u)) { if (u.spaceBefore && (m = "\n"), u.commentBefore) { m += `\n${u.commentBefore.replace(/^/gm, `${e.indent}#`)}` } g = u.comment } else u && "object" == typeof u && (u = i.createNode(u)); e.implicitKey = !1, h || f || this.comment || !y(u) || (e.indentAtStart = d.length + 1), p = !1, a || !(s.length >= 2) || e.inFlow || h || !b(u) || u.flow || u.tag || i.anchors.getName(u) || (e.indent = e.indent.substr(2)); const v = Y(u, e, (()=>g = null), (()=>p = !0)); let x = " "; if (m || f || this.comment) x = `${m}\n${e.indent}`; else if (!h && k(u)) { ("[" === v[0] || "{" === v[0]) && !v.includes("\n") || (x = `\n${e.indent}`) } else "\n" === v[0] && (x = ""); return p && !g && n && n(), $(d + x + v, e.indent, g) } } ne.MERGE_KEY = "<<"; const re = { anchorPrefix: "a", intAsBigInt: !1, keepUndefined: !1, logLevel: "warn", prettyErrors: !0, strict: !0, version: "1.2" }; class ie extends Z { constructor(e) { super(h, e), this.items = [] } static get tagName() { return "tag:yaml.org,2002:seq" } add(e) { this.items.push(e) } delete(e) { const t = oe(e); if ("number" != typeof t) return !1; return this.items.splice(t, 1).length > 0 } get(e, t) { const n = oe(e); if ("number" != typeof n) return; const r = this.items[n]; return !t && y(r) ? r.value : r } has(e) { const t = oe(e); return "number" == typeof t && t < this.items.length } set(e, t) { const n = oe(e); if ("number" != typeof n) throw new Error(`Expected a valid index, not ${e}.`); const r = this.items[n]; y(r) && D(t) ? r.value = t : this.items[n] = t } toJSON(e, t) { const n = []; t && t.onCreate && t.onCreate(n); let r = 0; for (const e of this.items) n.push(q(e, String(r++), t)); return n } toString(e, t, n) { return e ? super._toString(e, { blockItem: e=>"comment" === e.type ? e.str : `- ${e.str}`, flowChars: { start: "[", end: "]" }, itemIndent: (e.indent || "") + " " }, t, n) : JSON.stringify(this) } } function oe(e) { let t = y(e) ? e.value : e; return t && "string" == typeof t && (t = Number(t)), "number" == typeof t && Number.isInteger(t) && t >= 0 ? t : null } class se { constructor(e) { this.map = Object.create(null), this.prefix = e } createAlias(e, t) { return this.setAnchor(e, t), new T(e) } createMergePair(...e) { const t = new B(ne.MERGE_KEY) , n = e.map((e=>{ if (d(e)) { if (g(e.source)) return e } else if (g(e)) return this.createAlias(e); throw new Error("Merge sources must be Map nodes or their Aliases") } )); if (1 === n.length) return new ne(t,n[0]); const r = new ie; return r.items = n, new ne(t,r) } getName(e) { return Object.keys(this.map).find((t=>this.map[t] === e)) } getNames() { return Object.keys(this.map) } getNode(e) { return this.map[e] } newName(e) { e || (e = this.prefix); const t = Object.keys(this.map); for (let n = 1; ; ++n) { const r = `${e}${n}`; if (!t.includes(r)) return r } } setAnchor(e, t) { const {map: n} = this; if (!e) return t ? (delete n[t], t) : null; if (!y(e) && !k(e)) throw new Error("Anchors may only be set for Scalar, Seq and Map nodes"); if (t) { if (/[\x00-\x19\s,[\]{}]/.test(t)) throw new Error("Anchor names must not contain whitespace or control characters"); const r = n[t]; r && r !== e && (n[this.newName(t)] = r) } const r = Object.keys(n).find((t=>n[t] === e)); if (r) { if (!t || r === t) return r; delete n[r] } else t || (t = this.newName()); return n[t] = e, t } } function ae({format: e, minFractionDigits: t, tag: n, value: r}) { if ("bigint" == typeof r) return String(r); const i = "number" == typeof r ? r : Number(r); if (!isFinite(i)) return isNaN(i) ? ".nan" : i < 0 ? "-.inf" : ".inf"; let o = JSON.stringify(r); if (!e && t && (!n || "tag:yaml.org,2002:float" === n) && /^\d/.test(o)) { let e = o.indexOf("."); e < 0 && (e = o.length, o += "."); let n = t - (o.length - e - 1); for (; n-- > 0; ) o += "0" } return o } function le(e, t) { const n = y(t) ? t.value : t; for (const r of e) if (v(r)) { if (r.key === t || r.key === n) return r; if (y(r.key) && r.key.value === n) return r } } class ce extends Z { constructor(e) { super(c, e), this.items = [] } static get tagName() { return "tag:yaml.org,2002:map" } add(e, t) { let n; n = v(e) ? e : new ne(e && "object" == typeof e && "key"in e ? e.key : e,e.value); const r = le(this.items, n.key) , i = this.schema && this.schema.sortMapEntries; if (r) { if (!t) throw new Error(`Key ${n.key} already set`); y(r.value) && D(n.value) ? r.value.value = n.value : r.value = n.value } else if (i) { const e = this.items.findIndex((e=>i(n, e) < 0)); -1 === e ? this.items.push(n) : this.items.splice(e, 0, n) } else this.items.push(n) } delete(e) { const t = le(this.items, e); if (!t) return !1; return this.items.splice(this.items.indexOf(t), 1).length > 0 } get(e, t) { const n = le(this.items, e) , r = n && n.value; return !t && y(r) ? r.value : r } has(e) { return !!le(this.items, e) } set(e, t) { this.add(new ne(e,t), !0) } toJSON(e, t, n) { const r = n ? new n : t && t.mapAsMap ? new Map : {}; t && t.onCreate && t.onCreate(r); for (const e of this.items) e.addToJSMap(t, r); return r } toString(e, t, n) { if (!e) return JSON.stringify(this); for (const e of this.items) if (!v(e)) throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`); return !e.allNullValues && this.hasAllNullValues(!1) && (e = Object.assign({}, e, { allNullValues: !0 })), super._toString(e, { blockItem: e=>e.str, flowChars: { start: "{", end: "}" }, itemIndent: e.indent || "" }, t, n) } } const ue = { collection: "map", createNode: function(e, t, n) { const {keepUndefined: r, replacer: i} = n , o = new ce(e) , s = (e,s)=>{ if ("function" == typeof i) s = i.call(t, e, s); else if (Array.isArray(i) && !i.includes(e)) return; (void 0 !== s || r) && o.items.push(ee(e, s, n)) } ; if (t instanceof Map) for (const [e,n] of t) s(e, n); else if (t && "object" == typeof t) for (const e of Object.keys(t)) s(e, t[e]); return "function" == typeof e.sortMapEntries && o.items.sort(e.sortMapEntries), o }, default: !0, nodeClass: ce, tag: "tag:yaml.org,2002:map", resolve: (e,t)=>(g(e) || t("Expected a mapping for this tag"), e) }; const fe = { collection: "seq", createNode: function(e, t, n) { const {replacer: r} = n , i = new ie(e); if (t && Symbol.iterator in Object(t)) { let e = 0; for (let o of t) { if ("function" == typeof r) { const n = t instanceof Set ? o : String(e++); o = r.call(t, n, o) } i.items.push(P(o, void 0, n)) } } return i }, default: !0, nodeClass: ie, tag: "tag:yaml.org,2002:seq", resolve: (e,t)=>(b(e) || t("Expected a sequence for this tag"), e) } , he = [ue, fe, { identify: e=>"string" == typeof e, default: !0, tag: "tag:yaml.org,2002:str", resolve: e=>e, stringify: (e,t,n,r)=>J(e, t = Object.assign({ actualString: !0 }, t), n, r) }] , pe = e=>"bigint" == typeof e || Number.isInteger(e) , de = (e,t,n,{intAsBigInt: r})=>r ? BigInt(e) : parseInt(e.substring(t), n); function me(e, t, n) { const {value: r} = e; return pe(r) && r >= 0 ? n + r.toString(t) : ae(e) } const ge = { identify: e=>null == e, createNode: ()=>new B(null), default: !0, tag: "tag:yaml.org,2002:null", test: /^(?:~|[Nn]ull|NULL)?$/, resolve: ()=>new B(null), stringify: ({source: e},t)=>e && ge.test.test(e) ? e : t.options.nullStr } , ve = { identify: e=>"boolean" == typeof e, default: !0, tag: "tag:yaml.org,2002:bool", test: /^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/, resolve: e=>new B("t" === e[0] || "T" === e[0]), stringify({source: e, value: t}, n) { if (e && ve.test.test(e)) { if (t === ("t" === e[0] || "T" === e[0])) return e } return t ? n.options.trueStr : n.options.falseStr } } , ye = { identify: e=>pe(e) && e >= 0, default: !0, tag: "tag:yaml.org,2002:int", format: "OCT", test: /^0o[0-7]+$/, resolve: (e,t,n)=>de(e, 2, 8, n), stringify: e=>me(e, 8, "0o") } , be = { identify: pe, default: !0, tag: "tag:yaml.org,2002:int", test: /^[-+]?[0-9]+$/, resolve: (e,t,n)=>de(e, 0, 10, n), stringify: ae } , ke = { identify: e=>pe(e) && e >= 0, default: !0, tag: "tag:yaml.org,2002:int", format: "HEX", test: /^0x[0-9a-fA-F]+$/, resolve: (e,t,n)=>de(e, 2, 16, n), stringify: e=>me(e, 16, "0x") } , we = { identify: e=>"number" == typeof e, default: !0, tag: "tag:yaml.org,2002:float", test: /^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/, resolve: e=>"nan" === e.slice(-3).toLowerCase() ? NaN : "-" === e[0] ? Number.NEGATIVE_INFINITY : Number.POSITIVE_INFINITY, stringify: ae } , xe = { identify: e=>"number" == typeof e, default: !0, tag: "tag:yaml.org,2002:float", format: "EXP", test: /^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/, resolve: e=>parseFloat(e), stringify: ({value: e})=>Number(e).toExponential() } , Ae = { identify: e=>"number" == typeof e, default: !0, tag: "tag:yaml.org,2002:float", test: /^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/, resolve(e) { const t = new B(parseFloat(e)) , n = e.indexOf("."); return -1 !== n && "0" === e[e.length - 1] && (t.minFractionDigits = e.length - n - 1), t }, stringify: ae } , Se = he.concat([ge, ve, ye, be, ke, we, xe, Ae]); function Oe(e) { return "bigint" == typeof e || Number.isInteger(e) } const Ce = ({value: e})=>JSON.stringify(e) , Ne = [ue, fe].concat([{ identify: e=>"string" == typeof e, default: !0, tag: "tag:yaml.org,2002:str", resolve: e=>e, stringify: Ce }, { identify: e=>null == e, createNode: ()=>new B(null), default: !0, tag: "tag:yaml.org,2002:null", test: /^null$/, resolve: ()=>null, stringify: Ce }, { identify: e=>"boolean" == typeof e, default: !0, tag: "tag:yaml.org,2002:bool", test: /^true|false$/, resolve: e=>"true" === e, stringify: Ce }, { identify: Oe, default: !0, tag: "tag:yaml.org,2002:int", test: /^-?(?:0|[1-9][0-9]*)$/, resolve: (e,t,{intAsBigInt: n})=>n ? BigInt(e) : parseInt(e, 10), stringify: ({value: e})=>Oe(e) ? e.toString() : JSON.stringify(e) }, { identify: e=>"number" == typeof e, default: !0, tag: "tag:yaml.org,2002:float", test: /^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/, resolve: e=>parseFloat(e), stringify: Ce }], { default: !0, tag: "", test: /^/, resolve: (e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`), e) }) , Ee = { identify: e=>e instanceof Uint8Array, default: !1, tag: "tag:yaml.org,2002:binary", resolve(e, t) { if ("function" == typeof Buffer) return Buffer.from(e, "base64"); if ("function" == typeof atob) { const t = atob(e.replace(/[\n\r]/g, "")) , n = new Uint8Array(t.length); for (let e = 0; e < t.length; ++e) n[e] = t.charCodeAt(e); return n } return t("This environment does not support reading binary tags; either Buffer or atob is required"), e }, stringify({comment: e, type: t, value: n}, r, i, o) { const s = n; let a; if ("function" == typeof Buffer) a = s instanceof Buffer ? s.toString("base64") : Buffer.from(s.buffer).toString("base64"); else { if ("function" != typeof btoa) throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required"); { let e = ""; for (let t = 0; t < s.length; ++t) e += String.fromCharCode(s[t]); a = btoa(e) } } if (t || (t = B.BLOCK_LITERAL), t !== B.QUOTE_DOUBLE) { const e = Math.max(r.options.lineWidth - r.indent.length, r.options.minContentWidth) , n = Math.ceil(a.length / e) , i = new Array(n); for (let t = 0, r = 0; t < n; ++t, r += e) i[t] = a.substr(r, e); a = i.join(t === B.BLOCK_LITERAL ? "\n" : " ") } return J({ comment: e, type: t, value: a }, r, i, o) } }; function Le(e, t) { if (b(e)) for (let n = 0; n < e.items.length; ++n) { let r = e.items[n]; if (!v(r)) { if (g(r)) { r.items.length > 1 && t("Each pair must have its own sequence indicator"); const e = r.items[0] || new ne(null); r.commentBefore && (e.commentBefore = e.commentBefore ? `${r.commentBefore}\n${e.commentBefore}` : r.commentBefore), r.comment && (e.comment = e.comment ? `${r.comment}\n${e.comment}` : r.comment), r = e } e.items[n] = v(r) ? r : new ne(r) } } else t("Expected a sequence for this tag"); return e } function qe(e, t, n) { const {replacer: r} = n , i = new ie(e); i.tag = "tag:yaml.org,2002:pairs"; let o = 0; if (t && Symbol.iterator in Object(t)) for (let e of t) { let s, a; if ("function" == typeof r && (e = r.call(t, String(o++), e)), Array.isArray(e)) { if (2 !== e.length) throw new TypeError(`Expected [key, value] tuple: ${e}`); s = e[0], a = e[1] } else if (e && e instanceof Object) { const t = Object.keys(e); if (1 !== t.length) throw new TypeError(`Expected { key: value } tuple: ${e}`); s = t[0], a = e[s] } else s = e; i.items.push(ee(s, a, n)) } return i } const Te = { collection: "seq", default: !1, tag: "tag:yaml.org,2002:pairs", resolve: Le, createNode: qe }; class Ie extends ie { constructor() { super(), this.add = ce.prototype.add.bind(this), this.delete = ce.prototype.delete.bind(this), this.get = ce.prototype.get.bind(this), this.has = ce.prototype.has.bind(this), this.set = ce.prototype.set.bind(this), this.tag = Ie.tag } toJSON(e, t) { if (!t) return super.toJSON(e); const n = new Map; t && t.onCreate && t.onCreate(n); for (const e of this.items) { let r, i; if (v(e) ? (r = q(e.key, "", t), i = q(e.value, r, t)) : r = q(e, "", t), n.has(r)) throw new Error("Ordered maps must not include duplicate keys"); n.set(r, i) } return n } } Ie.tag = "tag:yaml.org,2002:omap"; const De = { collection: "seq", identify: e=>e instanceof Map, nodeClass: Ie, default: !1, tag: "tag:yaml.org,2002:omap", resolve(e, t) { const n = Le(e, t) , r = []; for (const {key: e} of n.items) y(e) && (r.includes(e.value) ? t(`Ordered maps must not include duplicate keys: ${e.value}`) : r.push(e.value)); return Object.assign(new Ie, n) }, createNode(e, t, n) { const r = qe(e, t, n) , i = new Ie; return i.items = r.items, i } }; class Be extends ce { constructor(e) { super(e), this.tag = Be.tag } add(e) { let t; t = v(e) ? e : "object" == typeof e && "key"in e && "value"in e && null === e.value ? new ne(e.key,null) : new ne(e,null); le(this.items, t.key) || this.items.push(t) } get(e, t) { const n = le(this.items, e); return !t && v(n) ? y(n.key) ? n.key.value : n.key : n } set(e, t) { if ("boolean" != typeof t) throw new Error("Expected boolean value for set(key, value) in a YAML set, not " + typeof t); const n = le(this.items, e); n && !t ? this.items.splice(this.items.indexOf(n), 1) : !n && t && this.items.push(new ne(e)) } toJSON(e, t) { return super.toJSON(e, t, Set) } toString(e, t, n) { if (!e) return JSON.stringify(this); if (this.hasAllNullValues(!0)) return super.toString(Object.assign({}, e, { allNullValues: !0 }), t, n); throw new Error("Set items must all have null values") } } Be.tag = "tag:yaml.org,2002:set"; const Pe = { collection: "map", identify: e=>e instanceof Set, nodeClass: Be, default: !1, tag: "tag:yaml.org,2002:set", resolve(e, t) { if (g(e)) { if (e.hasAllNullValues(!0)) return Object.assign(new Be, e); t("Set items must all have null values") } else t("Expected a mapping for this tag"); return e }, createNode(e, t, n) { const {replacer: r} = n , i = new Be(e); if (t && Symbol.iterator in Object(t)) for (let e of t) "function" == typeof r && (e = r.call(t, e, e)), i.items.push(ee(e, null, n)); return i } }; function $e(e, t) { const n = e[0] , r = "-" === n || "+" === n ? e.substring(1) : e , i = e=>t ? BigInt(e) : Number(e) , o = r.replace(/_/g, "").split(":").reduce(((e,t)=>e * i(60) + i(t)), i(0)); return "-" === n ? i(-1) * o : o } function je(e) { let {value: t} = e , n = e=>e; if ("bigint" == typeof t) n = e=>BigInt(e); else if (isNaN(t) || !isFinite(t)) return ae(e); let r = ""; t < 0 && (r = "-", t *= n(-1)); const i = n(60) , o = [t % i]; return t < 60 ? o.unshift(0) : (t = (t - o[0]) / i, o.unshift(t % i), t >= 60 && (t = (t - o[0]) / i, o.unshift(t))), r + o.map((e=>e < 10 ? "0" + String(e) : String(e))).join(":").replace(/000000\d*$/, "") } const Re = { identify: e=>"bigint" == typeof e || Number.isInteger(e), default: !0, tag: "tag:yaml.org,2002:int", format: "TIME", test: /^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/, resolve: (e,t,{intAsBigInt: n})=>$e(e, n), stringify: je } , Ue = { identify: e=>"number" == typeof e, default: !0, tag: "tag:yaml.org,2002:float", format: "TIME", test: /^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/, resolve: e=>$e(e, !1), stringify: je } , Me = { identify: e=>e instanceof Date, default: !0, tag: "tag:yaml.org,2002:timestamp", test: RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"), resolve(e) { const t = e.match(Me.test); if (!t) throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd"); const [,n,r,i,o,s,a] = t.map(Number) , l = t[7] ? Number((t[7] + "00").substr(1, 3)) : 0; let c = Date.UTC(n, r - 1, i, o || 0, s || 0, a || 0, l); const u = t[8]; if (u && "Z" !== u) { let e = $e(u, !1); Math.abs(e) < 30 && (e *= 60), c -= 6e4 * e } return new Date(c) }, stringify: ({value: e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/, "") } , ze = { identify: e=>null == e, createNode: ()=>new B(null), default: !0, tag: "tag:yaml.org,2002:null", test: /^(?:~|[Nn]ull|NULL)?$/, resolve: ()=>new B(null), stringify: ({source: e},t)=>e && ze.test.test(e) ? e : t.options.nullStr }; function Fe({value: e, source: t}, n) { return t && (e ? Ve : He).test.test(t) ? t : e ? n.options.trueStr : n.options.falseStr } const Ve = { identify: e=>!0 === e, default: !0, tag: "tag:yaml.org,2002:bool", test: /^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/, resolve: ()=>new B(!0), stringify: Fe } , He = { identify: e=>!1 === e, default: !0, tag: "tag:yaml.org,2002:bool", test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i, resolve: ()=>new B(!1), stringify: Fe } , Ke = e=>"bigint" == typeof e || Number.isInteger(e); function _e(e, t, n, {intAsBigInt: r}) { const i = e[0]; if ("-" !== i && "+" !== i || (t += 1), e = e.substring(t).replace(/_/g, ""), r) { switch (n) { case 2: e = `0b${e}`; break; case 8: e = `0o${e}`; break; case 16: e = `0x${e}` } const t = BigInt(e); return "-" === i ? BigInt(-1) * t : t } const o = parseInt(e, n); return "-" === i ? -1 * o : o } function Je(e, t, n) { const {value: r} = e; if (Ke(r)) { const e = r.toString(t); return r < 0 ? "-" + n + e.substr(1) : n + e } return ae(e) } const Ge = he.concat([ze, Ve, He, { identify: Ke, default: !0, tag: "tag:yaml.org,2002:int", format: "BIN", test: /^[-+]?0b[0-1_]+$/, resolve: (e,t,n)=>_e(e, 2, 2, n), stringify: e=>Je(e, 2, "0b") }, { identify: Ke, default: !0, tag: "tag:yaml.org,2002:int", format: "OCT", test: /^[-+]?0[0-7_]+$/, resolve: (e,t,n)=>_e(e, 1, 8, n), stringify: e=>Je(e, 8, "0") }, { identify: Ke, default: !0, tag: "tag:yaml.org,2002:int", test: /^[-+]?[0-9][0-9_]*$/, resolve: (e,t,n)=>_e(e, 0, 10, n), stringify: ae }, { identify: Ke, default: !0, tag: "tag:yaml.org,2002:int", format: "HEX", test: /^[-+]?0x[0-9a-fA-F_]+$/, resolve: (e,t,n)=>_e(e, 2, 16, n), stringify: e=>Je(e, 16, "0x") }, { identify: e=>"number" == typeof e, default: !0, tag: "tag:yaml.org,2002:float", test: /^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/, resolve: e=>"nan" === e.slice(-3).toLowerCase() ? NaN : "-" === e[0] ? Number.NEGATIVE_INFINITY : Number.POSITIVE_INFINITY, stringify: ae }, { identify: e=>"number" == typeof e, default: !0, tag: "tag:yaml.org,2002:float", format: "EXP", test: /^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/, resolve: e=>parseFloat(e.replace(/_/g, "")), stringify: ({value: e})=>Number(e).toExponential() }, { identify: e=>"number" == typeof e, default: !0, tag: "tag:yaml.org,2002:float", test: /^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/, resolve(e) { const t = new B(parseFloat(e.replace(/_/g, ""))) , n = e.indexOf("."); if (-1 !== n) { const r = e.substring(n + 1).replace(/_/g, ""); "0" === r[r.length - 1] && (t.minFractionDigits = r.length) } return t }, stringify: ae }], Ee, De, Te, Pe, Re, Ue, Me) , Ye = { core: Se, failsafe: he, json: Ne, yaml11: Ge } , We = { binary: Ee, bool: ve, float: Ae, floatExp: xe, floatNaN: we, floatTime: Ue, int: be, intHex: ke, intOct: ye, intTime: Re, map: ue, null: ge, omap: De, pairs: Te, seq: fe, set: Pe, timestamp: Me }; const Qe = (e,t)=>e.key < t.key ? -1 : e.key > t.key ? 1 : 0 , Ze = { "tag:yaml.org,2002:binary": We.binary, "tag:yaml.org,2002:omap": We.omap, "tag:yaml.org,2002:pairs": We.pairs, "tag:yaml.org,2002:set": We.set, "tag:yaml.org,2002:timestamp": We.timestamp }; class Xe { constructor({customTags: e, merge: t, resolveKnownTags: n, schema: r, sortMapEntries: i}) { this.map = We.map, this.seq = We.seq, this.merge = !!t, this.name = r || "core", this.knownTags = n ? Ze : {}, this.tags = function(e, t, n, r) { let i = e[r.replace(/\W/g, "")]; if (!i) { const t = Object.keys(e).map((e=>JSON.stringify(e))).join(", "); throw new Error(`Unknown schema "${r}"; use one of ${t}`) } if (Array.isArray(n)) for (const e of n) i = i.concat(e); else "function" == typeof n && (i = n(i.slice())); return i.map((e=>{ if ("string" != typeof e) return e; const n = t[e]; if (n) return n; const r = Object.keys(t).map((e=>JSON.stringify(e))).join(", "); throw new Error(`Unknown custom tag "${e}"; use one of ${r}`) } )) }(Ye, We, e, this.name), this.sortMapEntries = !0 === i ? Qe : i || null } } function et(e, t, n, r) { if (r && "object" == typeof r) if (Array.isArray(r)) for (let t = 0, n = r.length; t < n; ++t) { const n = r[t] , i = et(e, r, String(t), n); void 0 === i ? delete r[t] : i !== n && (r[t] = i) } else if (r instanceof Map) for (const t of Array.from(r.keys())) { const n = r.get(t) , i = et(e, r, t, n); void 0 === i ? r.delete(t) : i !== n && r.set(t, i) } else if (r instanceof Set) for (const t of Array.from(r)) { const n = et(e, r, t, t); void 0 === n ? r.delete(t) : n !== t && (r.delete(t), r.add(n)) } else for (const [t,n] of Object.entries(r)) { const i = et(e, r, t, n); void 0 === i ? delete r[t] : i !== n && (r[t] = i) } return e.call(t, n, r) } class tt { constructor(e, t, n) { let r; this.commentBefore = null, this.comment = null, this.errors = [], this.warnings = [], Object.defineProperty(this, p, { value: l }), "function" == typeof t || Array.isArray(t) ? r = t : void 0 === n && t && (n = t, t = void 0); const i = Object.assign({}, re, n); this.options = i, this.anchors = new se(this.options.anchorPrefix); let {version: o} = i; (null == n ? void 0 : n.directives) ? (this.directives = n.directives.atDocument(), this.directives.yaml.explicit && (o = this.directives.yaml.version)) : this.directives = new L({ version: o }), this.setSchema(o, n), this.contents = void 0 === e ? null : this.createNode(e, { replacer: r }) } add(e) { nt(this.contents) && this.contents.add(e) } addIn(e, t) { nt(this.contents) && this.contents.addIn(e, t) } createNode(e, {flow: t, keepUndefined: n, onTagObj: r, replacer: i, tag: o}={}) { if ("function" == typeof i) e = i.call({ "": e }, "", e); else if (Array.isArray(i)) { const e = e=>"number" == typeof e || e instanceof String || e instanceof Number , t = i.filter(e).map(String); t.length > 0 && (i = i.concat(t)) } "boolean" != typeof n && (n = !!this.options.keepUndefined); const s = [] , a = P(e, o, { keepUndefined: n, onAlias(e) { const t = new T(e); return s.push(t), t }, onTagObj: r, prevObjects: new Map, replacer: i, schema: this.schema }); for (const e of s) { e.source = e.source.node; let t = this.anchors.getName(e.source); t || (t = this.anchors.newName(), this.anchors.map[t] = e.source) } return t && k(a) && (a.flow = !0), a } createPair(e, t, n={}) { const r = this.createNode(e, n) , i = this.createNode(t, n); return new ne(r,i) } delete(e) { return !!nt(this.contents) && this.contents.delete(e) } deleteIn(e) { return Q(e) ? null != this.contents && (this.contents = null, !0) : !!nt(this.contents) && this.contents.deleteIn(e) } get(e, t) { return k(this.contents) ? this.contents.get(e, t) : void 0 } getIn(e, t) { return Q(e) ? !t && y(this.contents) ? this.contents.value : this.contents : k(this.contents) ? this.contents.getIn(e, t) : void 0 } has(e) { return !!k(this.contents) && this.contents.has(e) } hasIn(e) { return Q(e) ? void 0 !== this.contents : !!k(this.contents) && this.contents.hasIn(e) } set(e, t) { null == this.contents ? this.contents = W(this.schema, [e], t) : nt(this.contents) && this.contents.set(e, t) } setIn(e, t) { Q(e) ? this.contents = t : null == this.contents ? this.contents = W(this.schema, Array.from(e), t) : nt(this.contents) && this.contents.setIn(e, t) } setSchema(e, t) { let n; switch (String(e)) { case "1.1": this.directives.yaml.version = "1.1", n = Object.assign({ merge: !0, resolveKnownTags: !1, schema: "yaml-1.1" }, t); break; case "1.2": this.directives.yaml.version = "1.2", n = Object.assign({ merge: !1, resolveKnownTags: !0, schema: "core" }, t); break; default: { const t = JSON.stringify(e); throw new Error(`Expected '1.1' or '1.2' as version, but found: ${t}`) } } this.schema = new Xe(n) } toJS({json: e, jsonArg: t, mapAsMap: n, maxAliasCount: r, onAnchor: i, reviver: o}={}) { const s = Object.values(this.anchors.map).map((e=>[e, { alias: [], aliasCount: 0, count: 1 }])) , a = s.length > 0 ? new Map(s) : null , l = { anchors: a, doc: this, keep: !e, mapAsMap: !0 === n, mapKeyWarned: !1, maxAliasCount: "number" == typeof r ? r : 100, stringify: Y } , c = q(this.contents, t || "", l); if ("function" == typeof i && a) for (const {count: e, res: t} of a.values()) i(t, e); return "function" == typeof o ? et(o, { "": c }, "", c) : c } toJSON(e, t) { return this.toJS({ json: !0, jsonArg: e, mapAsMap: !1, onAnchor: t }) } toString(e={}) { if (this.errors.length > 0) throw new Error("Document with errors cannot be stringified"); if ("indent"in e && (!Number.isInteger(e.indent) || Number(e.indent) <= 0)) { const t = JSON.stringify(e.indent); throw new Error(`"indent" option must be a positive integer, not ${t}`) } const t = []; let n = !0 === e.directives; if (!1 !== e.directives) { const e = this.directives.toString(this); e ? (t.push(e), n = !0) : this.directives.marker && (n = !0) } n && t.push("---"), this.commentBefore && (1 !== t.length && t.unshift(""), t.unshift(this.commentBefore.replace(/^/gm, "#"))); const r = G(this, e); let i = !1 , o = null; if (this.contents) { w(this.contents) && (this.contents.spaceBefore && n && t.push(""), this.contents.commentBefore && t.push(this.contents.commentBefore.replace(/^/gm, "#")), r.forceBlockIndent = !!this.comment, o = this.contents.comment); const e = o ? void 0 : ()=>i = !0; let s = Y(this.contents, r, (()=>o = null), e); o && (s = $(s, "", o)), "|" !== s[0] && ">" !== s[0] || "---" !== t[t.length - 1] ? t.push(s) : t[t.length - 1] = `--- ${s}` } else t.push(Y(this.contents, r)); return this.comment && (i && !o || "" === t[t.length - 1] || t.push(""), t.push(this.comment.replace(/^/gm, "#"))), t.join("\n") + "\n" } } function nt(e) { if (k(e)) return !0; throw new Error("Expected a YAML collection as document contents") } class rt extends Error { constructor(e, t, n) { if (!n) throw new Error(`Invalid arguments for new ${e}`); super(), this.name = e, this.message = n, this.offset = t } } class it extends rt { constructor(e, t) { super("YAMLParseError", e, t) } } class ot extends rt { constructor(e, t) { super("YAMLWarning", e, t) } } const st = (e,t)=>n=>{ if (-1 === n.offset) return; n.linePos = t.linePos(n.offset); const {line: r, col: i} = n.linePos; n.message += ` at line ${r}, column ${i}`; let o = i - 1 , s = e.substring(t.lineStarts[r - 1], t.lineStarts[r]).replace(/[\n\r]+$/, ""); if (o >= 60 && s.length > 80) { const e = Math.min(o - 39, s.length - 79); s = "…" + s.substring(e), o -= e - 1 } if (s.length > 80 && (s = s.substring(0, 79) + "…"), r > 1 && /^ *$/.test(s.substring(0, o))) { let n = e.substring(t.lineStarts[r - 2], t.lineStarts[r - 1]); n.length > 80 && (n = n.substring(0, 79) + "…\n"), s = n + s } if (/[^ ]/.test(s)) { const e = " ".repeat(o) + "^"; n.message += `:\n\n${s}\n${e}\n` } } ; function at(e, t, n, r, i, o) { let s = 0 , a = !1 , l = n , c = n , u = "" , f = !1 , h = !1 , p = "" , d = "" , m = "" , g = null , v = null; for (const n of t) { switch (n.type) { case "space": l && "doc-start" !== r && "\t" === n.source[0] && o(i + s, "Tabs are not allowed as indentation"), c = !0; break; case "comment": { e.options.strict && !c && o(i + s, "Comments must be separated from other tokens by white space characters"); const t = n.source.substring(1); f ? u += p + t : u = t, f = !0, p = ""; break } case "newline": l && !f && (a = !0), l = !0, h = !0, c = !0, p += n.source; break; case "anchor": d && o(i + s, "A node can have at most one anchor"), d = n.source.substring(1), null === v && (v = i + s), l = !1, c = !1; break; case "tag": { m && o(i + s, "A node can have at most one tag"); const t = e.directives.tagName(n.source, (e=>o(i, e))); t && (m = t), null === v && (v = i + s), l = !1, c = !1; break } case r: g = { indent: n.indent, offset: i + s }, l = !1, c = !1; break; default: o(i + s, `Unexpected ${n.type} token`), l = !1, c = !1 } n.source && (s += n.source.length) } return { found: g, spaceBefore: a, comment: u, hasNewline: h, anchor: d, tagName: m, length: s, start: null != v ? v : i + s } } function lt(e) { if (!e) return null; switch (e.type) { case "alias": case "scalar": case "double-quoted-scalar": case "single-quoted-scalar": return e.source.includes("\n"); case "flow-collection": for (const t of e.items) switch (t.type) { case "newline": return !0; case "alias": case "scalar": case "double-quoted-scalar": case "single-quoted-scalar": case "flow-collection": if (lt(t)) return !0 } return !1; default: return !0 } } const ct = "All mapping items must start at the same column"; function ut(e, t, n, r) { let i = ""; if (e) { let o = !1 , s = !1 , a = ""; for (const {source: l, type: c} of e) { switch (c) { case "space": o = !0; break; case "comment": { n && !o && r(t, "Comments must be separated from other tokens by white space characters"); const e = l.substring(1); s ? i += a + e : i = e, s = !0, a = ""; break } case "newline": s && (a += l), o = !0; break; default: r(t, `Unexpected ${c} at node end`) } t += l.length } } return { comment: i, offset: t } } function ft(e, t, n, r, i, o) { let s; switch (n.type) { case "block-map": s = function({composeNode: e, composeEmptyNode: t}, n, {indent: r, items: i, offset: o}, s, a) { var l; const c = o , u = new ce(n.schema); s && n.anchors.setAnchor(u, s); for (const {start: s, key: c, sep: f, value: h} of i) { const i = at(n, s, !0, "explicit-key-ind", o, a) , p = !i.found; if (p) { if (c && ("block-seq" === c.type ? a(o, "A block sequence may not be used as an implicit map key") : "indent"in c && c.indent !== r && a(o, ct)), !i.anchor && !i.tagName && !f) { i.comment && (u.comment ? u.comment += "\n" + i.comment : u.comment = i.comment); continue } } else (null === (l = i.found) || void 0 === l ? void 0 : l.indent) !== r && a(o, ct); o += i.length, p && lt(c) && a(o, "Implicit keys need to be on a single line"); const d = o , m = c ? e(n, c, i, a) : t(n, o, s, null, i, a); o = m.range[1]; const g = at(n, f || [], !c || "block-scalar" === c.type, "map-value-ind", o, a); if (o += g.length, g.found) { p && ("block-map" !== (null == h ? void 0 : h.type) || g.hasNewline || a(o, "Nested mappings are not allowed in compact mappings"), n.options.strict && i.start < g.found.offset - 1024 && a(o, "The : indicator must be at most 1024 chars after the start of an implicit block mapping key")); const r = h ? e(n, h, g, a) : t(n, o, f, null, g, a); o = r.range[1], u.items.push(new ne(m,r)) } else p && a(d, "Implicit map keys need to be followed by map values"), g.comment && (m.comment ? m.comment += "\n" + g.comment : m.comment = g.comment), u.items.push(new ne(m)) } return u.range = [c, o], u }(e, t, n, r, o); break; case "block-seq": s = function({composeNode: e, composeEmptyNode: t}, n, {items: r, offset: i}, o, s) { const a = i , l = new ie(n.schema); o && n.anchors.setAnchor(l, o); for (const {start: o, value: a} of r) { const r = at(n, o, !0, "seq-item-ind", i, s); if (i += r.length, !r.found) { if (!(r.anchor || r.tagName || a)) { r.comment && (l.comment = r.comment); continue } s(i, a && "block-seq" === a.type ? "All sequence items must start at the same column" : "Sequence item without - indicator") } const c = a ? e(n, a, r, s) : t(n, i, o, null, r, s); i = c.range[1], l.items.push(c) } return l.range = [a, i], l }(e, t, n, r, o); break; case "flow-collection": s = function({composeNode: e, composeEmptyNode: t}, n, r, i, o) { const s = "{" === r.start.source , a = s ? new ce(n.schema) : new ie(n.schema); a.flow = !0, i && n.anchors.setAnchor(a, i); let l = null , c = null , u = !1 , f = "" , h = !1 , p = !1 , d = "" , m = "" , g = "" , y = r.offset + 1 , b = !1 , k = !1 , x = !1 , A = !1 , S = null; function O() { const e = { spaceBefore: u, comment: f, anchor: m, tagName: g }; return u = !1, f = "", p = !1, d = "", m = "", g = "", e } function C(e) { if (c ? p && (c.comment = f) : c = t(n, y, r.items, e, O(), o), s || k) a.items.push(l ? new ne(l,c) : new ne(c)); else { const e = a; if (l) { const t = new ce(n.schema); t.flow = !0, t.items.push(new ne(l,c)), e.items.push(t) } else e.items.push(c) } } for (let i = 0; i < r.items.length; ++i) { const N = r.items[i]; let E = !0; switch (N.type) { case "space": h = !0; break; case "comment": { n.options.strict && !h && o(y, "Comments must be separated from other tokens by white space characters"); const e = N.source.substring(1); p ? f += d + e : f = e, b = !1, p = !0, d = ""; break } case "newline": if (b && !p && (u = !0), x) { if (p) { let e = a.items[a.items.length - 1]; v(e) && (e = e.value || e.key), w(e) ? e.comment = f : o(y, "Error adding trailing comment to node"), f = "", p = !1 } x = !1 } else d += N.source, s || l || !c || (A = !0); b = !0, h = !0; break; case "anchor": m && o(y, "A node can have at most one anchor"), m = N.source.substring(1), b = !1, x = !1, h = !1; break; case "tag": { g && o(y, "A node can have at most one tag"); const e = n.directives.tagName(N.source, (e=>o(y, e))); e && (g = e), b = !1, x = !1, h = !1; break } case "explicit-key-ind": (m || g) && o(y, "Anchors and tags must be after the ? indicator"), k = !0, b = !1, x = !1, h = !1; break; case "map-value-ind": if (l) { if (c) { o(y, "Missing {} around pair used as mapping key"); const e = new ce(n.schema); e.flow = !0, e.items.push(new ne(l,c)), e.range = [l.range[0], c.range[1]], l = e, c = null } } else if (c) { if (n.options.strict) { const e = "Implicit keys of flow sequence pairs need to be on a single line"; if (A) o(y, e); else if (S) { lt(S) && o(y, e); const t = "offset"in S && S.offset; "number" == typeof t && t < y - 1024 && o(y, "The : indicator must be at most 1024 chars after the start of an implicit flow sequence key"), S = null } } l = c, c = null } else l = t(n, y, r.items, i, O(), o); p && (l.comment = f, f = "", p = !1), k = !1, x = !1, h = !1; break; case "comma": l || c || m || g || k ? C(i) : o(y, "Unexpected , in flow " + (s ? "map" : "sequence")), l = null, c = null, k = !1, x = !0, h = !1, A = !1, S = null; break; case "block-map": case "block-seq": o(y, "Block collections are not allowed within flow collections"); default: c && o(y, "Missing , between flow collection items"), s || l || k || (S = N), c = e(n, N, O(), o), y = c.range[1], b = !1, E = !1, x = !1, h = !1 } E && (y += N.source.length) } (l || c || m || g || k) && C(r.items.length); const N = s ? "}" : "]" , [E,...L] = r.end; E && E.source === N || o(y, `Expected flow ${s ? "map" : "sequence"} to end with ${N}`); if (E && (y += E.source.length), L.length > 0) { const e = ut(L, y, n.options.strict, o); e.comment && (a.comment = f), y = e.offset } return a.range = [r.offset, y], a }(e, t, n, r, o) } if (!i) return s; const a = s.constructor; if ("!" === i || i === a.tagName) return s.tag = a.tagName, s; const l = g(s) ? "map" : "seq"; let c = t.schema.tags.find((e=>e.collection === l && e.tag === i)); if (!c) { const e = t.schema.knownTags[i]; if (!e || e.collection !== l) return o(s.range[0], `Unresolved tag: ${i}`, !0), s.tag = i, s; t.schema.tags.push(Object.assign({}, e, { default: !1 })), c = e } const u = c.resolve(s, (e=>o(s.range[0], e)), t.options) , f = w(u) ? u : new B(u); return f.range = s.range, f.tag = i, (null == c ? void 0 : c.format) && (f.format = c.format), f } function ht(e, t, n) { const r = function({offset: e, props: t}, n, r) { if ("block-scalar-header" !== t[0].type) return r(e, "Block scalar header not found"), null; const {source: i} = t[0] , o = i[0]; let s = 0 , a = "" , l = -1; for (let t = 1; t < i.length; ++t) { const n = i[t]; if (a || "-" !== n && "+" !== n) { const r = Number(n); !s && r ? s = r : -1 === l && (l = e + t) } else a = n } -1 !== l && r(l, `Block scalar header includes extra characters: ${i}`); let c = !1 , u = "" , f = i.length; for (let i = 1; i < t.length; ++i) { const o = t[i]; switch (o.type) { case "space": c = !0; case "newline": f += o.source.length; break; case "comment": if (n && !c) { r(e + f, "Comments must be separated from other tokens by white space characters") } f += o.source.length, u = o.source.substring(1); break; case "error": r(e + f, o.message), f += o.source.length; break; default: { r(e + f, `Unexpected token in block scalar header: ${o.type}`); const t = o.source; t && "string" == typeof t && (f += t.length) } } } return { mode: o, indent: s, chomp: a, comment: u, length: f } }(e, t, n); if (!r) return { value: "", type: null, comment: "", length: 0 }; const i = ">" === r.mode ? B.BLOCK_FOLDED : B.BLOCK_LITERAL , o = e.source ? function(e) { const t = e.split(/\n( *)/) , n = t[0] , r = n.match(/^( *)/) , i = [r && r[1] ? [r[1], n.slice(r[1].length)] : ["", n]]; for (let e = 1; e < t.length; e += 2) i.push([t[e], t[e + 1]]); return i }(e.source) : []; let s = o.length; for (let e = o.length - 1; e >= 0; --e) { const t = o[e][1]; if ("" !== t && "\r" !== t) break; s = e } if (!e.source || 0 === s) { const t = "+" === r.chomp ? o.map((e=>e[0])).join("\n") : ""; let n = r.length; return e.source && (n += e.source.length), { value: t, type: i, comment: r.comment, length: n } } let a = e.indent + r.indent , l = e.offset + r.length , c = 0; for (let e = 0; e < s; ++e) { const [t,i] = o[e]; if ("" !== i && "\r" !== i) { if (t.length < a) { const e = "Block scalars with more-indented leading empty lines must use an explicit indentation indicator"; n(l + t.length, e) } 0 === r.indent && (a = t.length), c = e; break } 0 === r.indent && t.length > a && (a = t.length), l += t.length + i.length + 1 } let u = "" , f = "" , h = !1; for (let e = 0; e < c; ++e) u += o[e][0].slice(a) + "\n"; for (let e = c; e < s; ++e) { let[t,s] = o[e]; l += t.length + s.length + 1; const c = "\r" === s[s.length - 1]; if (c && (s = s.slice(0, -1)), s && t.length < a) { const e = `Block scalar lines must not be less indented than their ${r.indent ? "explicit indentation indicator" : "first line"}`; n(l - s.length - (c ? 2 : 1), e), t = "" } i === B.BLOCK_LITERAL ? (u += f + t.slice(a) + s, f = "\n") : t.length > a || "\t" === s[0] ? (" " === f ? f = "\n" : h || "\n" !== f || (f = "\n\n"), u += f + t.slice(a) + s, f = "\n", h = !0) : "" === s ? "\n" === f ? u += "\n" : f = "\n" : (u += f + s, f = " ", h = !1) } switch (r.chomp) { case "-": break; case "+": for (let e = s; e < o.length; ++e) u += "\n" + o[e][0].slice(a); "\n" !== u[u.length - 1] && (u += "\n"); break; default: u += "\n" } return { value: u, type: i, comment: r.comment, length: r.length + e.source.length } } function pt({offset: e, type: t, source: n, end: r}, i, o) { let s, a; const l = (t,n)=>o(e + t, n); switch (t) { case "scalar": s = B.PLAIN, a = function(e, t) { switch (e[0]) { case "\t": t(0, "Plain value cannot start with a tab character"); break; case "|": case ">": t(0, `Plain value cannot start with block scalar indicator ${e[0]}`); break; case "@": case "`": t(0, `Plain value cannot start with reserved character ${e[0]}`); break } return dt(e.trim()) }(n, l); break; case "single-quoted-scalar": s = B.QUOTE_SINGLE, a = function(e, t) { "'" === e[e.length - 1] && 1 !== e.length || t(e.length, "Missing closing 'quote"); return dt(e.slice(1, -1)).replace(/''/g, "'") }(n, l); break; case "double-quoted-scalar": s = B.QUOTE_DOUBLE, a = function(e, t) { let n = ""; for (let r = 1; r < e.length - 1; ++r) { const i = e[r]; if ("\r" !== i || "\n" !== e[r + 1]) if ("\n" === i) { const {fold: t, offset: i} = mt(e, r); n += t, r = i } else if ("\\" === i) { let i = e[++r]; const o = gt[i]; if (o) n += o; else if ("\n" === i) for (i = e[r + 1]; " " === i || "\t" === i; ) i = e[1 + ++r]; else if ("x" === i || "u" === i || "U" === i) { const o = { x: 2, u: 4, U: 8 }[i]; n += vt(e, r + 1, o, t), r += o } else { const i = e.substr(r - 1, 2); t(r - 1, `Invalid escape sequence ${i}`), n += i } } else if (" " === i || "\t" === i) { const t = r; let o = e[r + 1]; for (; " " === o || "\t" === o; ) o = e[1 + ++r]; "\n" !== o && (n += r > t ? e.slice(t, r + 1) : i) } else n += i } '"' === e[e.length - 1] && 1 !== e.length || t(e.length, 'Missing closing "quote'); return n }(n, l); break; default: return o(e, `Expected a flow scalar value, but found: ${t}`), { value: "", type: null, comment: "", length: n.length } } const c = ut(r, 0, i, l); return { value: a, type: s, comment: c.comment, length: n.length + c.offset } } function dt(e) { const t = e.split(/[ \t]*\r?\n[ \t]*/); let n = t[0] , r = " "; for (let e = 1; e < t.length - 1; ++e) { const i = t[e]; "" === i ? "\n" === r ? n += r : r = "\n" : (n += r + i, r = " ") } return t.length > 1 && (n += r + t[t.length - 1]), n } function mt(e, t) { let n = "" , r = e[t + 1]; for (; !(" " !== r && "\t" !== r && "\n" !== r && "\r" !== r || "\r" === r && "\n" !== e[t + 2]); ) "\n" === r && (n += "\n"), r = e[(t += 1) + 1]; return n || (n = " "), { fold: n, offset: t } } const gt = { 0: "\0", a: "", b: "\b", e: "", f: "\f", n: "\n", r: "\r", t: "\t", v: "\v", N: "…", _: " ", L: "\u2028", P: "\u2029", " ": " ", '"': '"', "/": "/", "\\": "\\", "\t": "\t" }; function vt(e, t, n, r) { const i = e.substr(t, n) , o = i.length === n && /^[0-9a-fA-F]+$/.test(i) ? parseInt(i, 16) : NaN; if (isNaN(o)) { const i = e.substr(t - 2, n + 2); return r(t - 2, `Invalid escape sequence ${i}`), i } return String.fromCodePoint(o) } function yt(e, t, n, r, i) { const {offset: o} = t , {value: s, type: a, comment: l, length: c} = "block-scalar" === t.type ? ht(t, e.options.strict, i) : pt(t, e.options.strict, i) , u = r ? function(e, t, n, r) { var i; if ("!" === n) return bt(e); const o = []; for (const t of e.tags) if (!t.collection && t.tag === n) { if (!t.default || !t.test) return t; o.push(t) } for (const e of o) if (null === (i = e.test) || void 0 === i ? void 0 : i.test(t)) return e; const s = e.knownTags[n]; if (s && !s.collection) return e.tags.push(Object.assign({}, s, { default: !1, test: void 0 })), s; return r(0, `Unresolved tag: ${n}`, "tag:yaml.org,2002:str" !== n), bt(e) }(e.schema, s, r, i) : function(e, t, n) { var r; if (n) for (const n of e.tags) if (n.default && (null === (r = n.test) || void 0 === r ? void 0 : r.test(t))) return n; return bt(e) }(e.schema, s, "scalar" === t.type); let f; try { const t = u ? u.resolve(s, (e=>i(o, e)), e.options) : s; f = y(t) ? t : new B(t) } catch (e) { i(o, e.message), f = new B(s) } return f.range = [o, o + c], f.source = s, a && (f.type = a), r && (f.tag = r), (null == u ? void 0 : u.format) && (f.format = u.format), l && (f.comment = l), n && e.anchors.setAnchor(f, n), f } const bt = e=>e.tags.find((e=>!e.collection && "tag:yaml.org,2002:str" === e.tag)); function kt(e, t, n) { if (t) { null === n && (n = t.length); for (let r = n - 1; r >= 0; --r) { let n = t[r]; switch (n.type) { case "space": case "comment": case "newline": e -= n.source.length; continue } for (n = t[++r]; "space" === (null == n ? void 0 : n.type); ) e += n.source.length, n = t[++r]; break } } return e } const wt = { composeNode: xt, composeEmptyNode: At }; function xt(e, t, n, r) { const {spaceBefore: i, comment: o, anchor: s, tagName: a} = n; let l; switch (t.type) { case "alias": l = function(e, {offset: t, source: n, end: r}, i) { const o = n.substring(1) , s = e.anchors.getNode(o); s || i(t, `Aliased anchor not found: ${o}`); const a = new T(s) , l = ut(r, t + n.length, e.options.strict, i); a.range = [t, l.offset], l.comment && (a.comment = l.comment); return a }(e, t, r), (s || a) && r(t.offset, "An alias node must not specify any properties"); break; case "scalar": case "single-quoted-scalar": case "double-quoted-scalar": case "block-scalar": l = yt(e, t, s, a, r); break; case "block-map": case "block-seq": case "flow-collection": l = ft(wt, e, t, s, a, r); break; default: throw console.log(t), new Error(`Unsupporten token type: ${t.type}`) } return i && (l.spaceBefore = !0), o && ("scalar" === t.type && "" === t.source ? l.comment = o : l.commentBefore = o), l } function At(e, t, n, r, {spaceBefore: i, comment: o, anchor: s, tagName: a}, l) { const c = yt(e, { type: "scalar", offset: kt(t, n, r), indent: -1, source: "" }, s, a, l); return i && (c.spaceBefore = !0), o && (c.comment = o), c } function St(e) { let t = "" , n = !1 , r = !1; for (let i = 0; i < e.length; ++i) { const o = e[i]; switch (o[0]) { case "#": t += ("" === t ? "" : r ? "\n\n" : "\n") + o.substring(1), n = !0, r = !1; break; case "%": "#" !== e[i + 1][0] && (i += 1), n = !1; break; default: n || (r = !0), n = !1 } } return { comment: t, afterEmptyLine: r } } class Ot { constructor(e, t={}) { this.doc = null, this.atDirectives = !1, this.prelude = [], this.errors = [], this.warnings = [], this.onError = (e,t,n)=>{ n ? this.warnings.push(new ot(e,t)) : this.errors.push(new it(e,t)) } , this.next = e=>{ switch (e.type) { case "directive": this.directives.add(e.source, this.onError), this.prelude.push(e.source), this.atDirectives = !0; break; case "document": { const t = function(e, t, {offset: n, start: r, value: i, end: o}, s) { const a = Object.assign({ directives: t }, e) , l = new tt(void 0,a) , c = at(l, r, !0, "doc-start", n, s); c.found && (l.directives.marker = !0), l.contents = i ? xt(l, i, c, s) : At(l, n + c.length, r, null, c, s); const u = ut(o, l.contents.range[1], !1, s); return u.comment && (l.comment = u.comment), l.range = [n, u.offset], l }(this.options, this.directives, e, this.onError); this.decorate(t, !1), this.doc && this.onDocument(this.doc), this.doc = t, this.atDirectives = !1; break } case "byte-order-mark": case "space": break; case "comment": case "newline": this.prelude.push(e.source); break; case "error": { const t = e.source ? `${e.message}: ${JSON.stringify(e.source)}` : e.message , n = new it(-1,t); this.atDirectives || !this.doc ? this.errors.push(n) : this.doc.errors.push(n); break } case "doc-end": { if (!this.doc) { const t = "Unexpected doc-end without preceding document"; this.errors.push(new it(e.offset,t)); break } const t = ut(e.end, e.offset + e.source.length, this.doc.options.strict, this.onError); if (this.decorate(this.doc, !0), t.comment) { const e = this.doc.comment; this.doc.comment = e ? `${e}\n${t.comment}` : t.comment } this.doc.range[1] = t.offset; break } default: this.errors.push(new it(-1,`Unsupported token ${e.type}`)) } } , this.directives = new L({ version: (null == t ? void 0 : t.version) || re.version }), this.onDocument = e, this.options = t } decorate(e, t) { const {comment: n, afterEmptyLine: r} = St(this.prelude); if (n) { const i = e.contents; if (t) e.comment = e.comment ? `${e.comment}\n${n}` : n; else if (r || e.directives.marker || !i) e.commentBefore = n; else if (k(i) && !i.flow && i.items.length > 0) { const e = i.items[0] , t = e.commentBefore; e.commentBefore = t ? `${n}\n${t}` : n } else { const e = i.commentBefore; i.commentBefore = e ? `${n}\n${e}` : n } } t ? (Array.prototype.push.apply(e.errors, this.errors), Array.prototype.push.apply(e.warnings, this.warnings)) : (e.errors = this.errors, e.warnings = this.warnings), this.prelude = [], this.errors = [], this.warnings = [] } streamInfo() { return { comment: St(this.prelude).comment, directives: this.directives, errors: this.errors, warnings: this.warnings } } end(e=!1, t=-1) { if (this.doc) this.decorate(this.doc, !0), this.onDocument(this.doc), this.doc = null; else if (e) { const e = Object.assign({ directives: this.directives }, this.options) , n = new tt(void 0,e); this.atDirectives && this.onError(t, "Missing directives-end indicator line"), n.range = [0, t], this.decorate(n, !1), this.onDocument(n) } } } class Ct { constructor() { this.lineStarts = [], this.addNewLine = e=>this.lineStarts.push(e), this.linePos = e=>{ let t = 0 , n = this.lineStarts.length; for (; t < n; ) { const r = t + n >> 1; this.lineStarts[r] < e ? t = r + 1 : n = r } if (this.lineStarts[t] === e) return { line: t + 1, col: 1 }; if (0 === t) return { line: 0, col: e }; return { line: t, col: e - this.lineStarts[t - 1] + 1 } } } } const Nt = ""; function Et(e) { switch (e) { case void 0: case " ": case "\n": case "\r": case "\t": return !0; default: return !1 } } const Lt = [",", "[", "]", "{", "}"] , qt = [" ", ",", "[", "]", "{", "}", "\n", "\r", "\t"] , Tt = e=>!e || qt.includes(e); class It { constructor(e) { this.atEnd = !1, this.blockScalarIndent = -1, this.blockScalarKeep = !1, this.buffer = "", this.flowKey = !1, this.flowLevel = 0, this.indentNext = 0, this.indentValue = 0, this.next = null, this.pos = 0, this.push = e } lex(e, t) { e && (this.buffer = this.buffer ? this.buffer + e : e), this.atEnd = !t; let n = this.next || "stream"; for (; n && (t || this.hasChars(1)); ) n = this.parseNext(n) } atLineEnd() { let e = this.pos , t = this.buffer[e]; for (; " " === t || "\t" === t; ) t = this.buffer[++e]; return !t || "#" === t || "\n" === t || "\r" === t && "\n" === this.buffer[e + 1] } charAt(e) { return this.buffer[this.pos + e] } continueScalar(e) { let t = this.buffer[e]; if (this.indentNext > 0) { let n = 0; for (; " " === t; ) t = this.buffer[++n + e]; if ("\r" === t) { const t = this.buffer[n + e + 1]; if ("\n" === t || !t && !this.atEnd) return e + n + 1 } return "\n" === t || n >= this.indentNext || !t && !this.atEnd ? e + n : -1 } if ("-" === t || "." === t) { const t = this.buffer.substr(e, 3); if (("---" === t || "..." === t) && Et(this.buffer[e + 3])) return -1 } return e } getLine() { let e = this.buffer.indexOf("\n", this.pos); return -1 === e ? this.atEnd ? this.buffer.substring(this.pos) : null : ("\r" === this.buffer[e - 1] && (e -= 1), this.buffer.substring(this.pos, e)) } hasChars(e) { return this.pos + e <= this.buffer.length } setNext(e) { return this.buffer = this.buffer.substring(this.pos), this.pos = 0, this.next = e, null } peek(e) { return this.buffer.substr(this.pos, e) } parseNext(e) { switch (e) { case "stream": return this.parseStream(); case "line-start": return this.parseLineStart(); case "block-start": return this.parseBlockStart(); case "doc": return this.parseDocument(); case "flow": return this.parseFlowCollection(); case "quoted-scalar": return this.parseQuotedScalar(); case "block-scalar": return this.parseBlockScalar(); case "plain-scalar": return this.parsePlainScalar() } } parseStream() { let e = this.getLine(); if (null === e) return this.setNext("stream"); if ("\ufeff" === e[0] && (this.pushCount(1), e = e.substring(1)), "%" === e[0]) { let t = e.length; const n = e.indexOf("#"); if (-1 !== n) { const r = e[n - 1]; " " !== r && "\t" !== r || (t = n - 1) } for (; ; ) { const n = e[t - 1]; if (" " !== n && "\t" !== n) break; t -= 1 } const r = this.pushCount(t) + this.pushSpaces(!0); return this.pushCount(e.length - r), this.pushNewline(), "stream" } if (this.atLineEnd()) { const t = this.pushSpaces(!0); return this.pushCount(e.length - t), this.pushNewline(), "stream" } return this.push(""), this.parseLineStart() } parseLineStart() { const e = this.charAt(0); if (!e && !this.atEnd) return this.setNext("line-start"); if ("-" === e || "." === e) { if (!this.atEnd && !this.hasChars(4)) return this.setNext("line-start"); const e = this.peek(3); if ("---" === e && Et(this.charAt(3))) return this.pushCount(3), this.indentValue = 0, this.indentNext = 0, "doc"; if ("..." === e && Et(this.charAt(3))) return this.pushCount(3), "stream" } return this.indentValue = this.pushSpaces(!1), this.indentNext > this.indentValue && !Et(this.charAt(1)) && (this.indentNext = this.indentValue), this.parseBlockStart() } parseBlockStart() { const [e,t] = this.peek(2); if (!t && !this.atEnd) return this.setNext("block-start"); if (("-" === e || "?" === e || ":" === e) && Et(t)) { const e = this.pushCount(1) + this.pushSpaces(!0); return this.indentNext = this.indentValue + 1, this.indentValue += e, this.parseBlockStart() } return "doc" } parseDocument() { this.pushSpaces(!0); const e = this.getLine(); if (null === e) return this.setNext("doc"); let t = this.pushIndicators(); switch (e[t]) { case "#": this.pushCount(e.length - t); case void 0: return this.pushNewline(), this.parseLineStart(); case "{": case "[": return this.pushCount(1), this.flowKey = !1, this.flowLevel = 1, "flow"; case "}": case "]": return this.pushCount(1), "doc"; case "*": return this.pushUntil(Tt), "doc"; case '"': case "'": return this.parseQuotedScalar(); case "|": case ">": return t += this.parseBlockScalarHeader(), t += this.pushSpaces(!0), this.pushCount(e.length - t), this.pushNewline(), this.parseBlockScalar(); default: return this.parsePlainScalar() } } parseFlowCollection() { let e, t, n = -1; do { e = this.pushNewline(), t = this.pushSpaces(!0), e > 0 && (this.indentValue = n = t) } while (e + t > 0); const r = this.getLine(); if (null === r) return this.setNext("flow"); if (-1 !== n && n < this.indentNext || 0 === n && (r.startsWith("---") || r.startsWith("...")) && Et(r[3])) { if (!(n === this.indentNext - 1 && 1 === this.flowLevel && ("]" === r[0] || "}" === r[0]))) return this.flowLevel = 0, this.push(""), this.parseLineStart() } let i = 0; for (; "," === r[i]; ) i += this.pushCount(1) + this.pushSpaces(!0); switch (i += this.pushIndicators(), r[i]) { case void 0: return "flow"; case "#": return this.pushCount(r.length - i), "flow"; case "{": case "[": return this.pushCount(1), this.flowKey = !1, this.flowLevel += 1, "flow"; case "}": case "]": return this.pushCount(1), this.flowKey = !0, this.flowLevel -= 1, this.flowLevel ? "flow" : "doc"; case "*": return this.pushUntil(Tt), "flow"; case '"': case "'": return this.flowKey = !0, this.parseQuotedScalar(); case ":": { const e = this.charAt(1); if (this.flowKey || Et(e) || "," === e) return this.pushCount(1), this.pushSpaces(!0), "flow" } default: return this.flowKey = !1, this.parsePlainScalar() } } parseQuotedScalar() { const e = this.charAt(0); let t = this.buffer.indexOf(e, this.pos + 1); if ("'" === e) for (; -1 !== t && "'" === this.buffer[t + 1]; ) t = this.buffer.indexOf("'", t + 2); else for (; -1 !== t; ) { let e = 0; for (; "\\" === this.buffer[t - 1 - e]; ) e += 1; if (e % 2 == 0) break; t = this.buffer.indexOf('"', t + 1) } let n = this.buffer.indexOf("\n", this.pos); if (-1 !== n && n < t) { for (; -1 !== n && n < t; ) { const e = this.continueScalar(n + 1); if (-1 === e) break; n = this.buffer.indexOf("\n", e) } -1 !== n && n < t && (t = n - 1) } if (-1 === t) { if (!this.atEnd) return this.setNext("quoted-scalar"); t = this.buffer.length } return this.pushToIndex(t + 1, !1), this.flowLevel ? "flow" : "doc" } parseBlockScalarHeader() { this.blockScalarIndent = -1, this.blockScalarKeep = !1; let e = this.pos; for (; ; ) { const t = this.buffer[++e]; if ("+" === t) this.blockScalarKeep = !0; else if (t > "0" && t <= "9") this.blockScalarIndent = Number(t) - 1; else if ("-" !== t) break } return this.pushUntil((e=>Et(e) || "#" === e)) } parseBlockScalar() { let e, t = this.pos - 1, n = 0; e: for (let r = this.pos; e = this.buffer[r]; ++r) switch (e) { case " ": n += 1; break; case "\n": t = r, n = 0; break; case "\r": { const e = this.buffer[r + 1]; if (!e && !this.atEnd) return this.setNext("block-scalar"); if ("\n" === e) break } default: break e } if (!e && !this.atEnd) return this.setNext("block-scalar"); if (n >= this.indentNext) { -1 === this.blockScalarIndent ? this.indentNext = n : this.indentNext += this.blockScalarIndent; do { const e = this.continueScalar(t + 1); if (-1 === e) break; t = this.buffer.indexOf("\n", e) } while (-1 !== t); if (-1 === t) { if (!this.atEnd) return this.setNext("block-scalar"); t = this.buffer.length } } if (!this.blockScalarKeep) for (; ; ) { let e = t - 1 , n = this.buffer[e]; for ("\r" === n && (n = this.buffer[--e]); " " === n || "\t" === n; ) n = this.buffer[--e]; if (!("\n" === n && e >= this.pos)) break; t = e } return this.push(Nt), this.pushToIndex(t + 1, !0), this.parseLineStart() } parsePlainScalar() { const e = this.flowLevel > 0; let t, n = this.pos - 1, r = this.pos - 1; for (; t = this.buffer[++r]; ) if (":" === t) { const t = this.buffer[r + 1]; if (Et(t) || e && "," === t) break; n = r } else if (Et(t)) { const i = this.buffer[r + 1]; if ("#" === i || e && Lt.includes(i)) break; if ("\r" === t && ("\n" === i ? (r += 1, t = "\n") : n = r), "\n" === t) { const e = this.continueScalar(r + 1); if (-1 === e) break; r = Math.max(r, e - 2) } } else { if (e && Lt.includes(t)) break; n = r } return t || this.atEnd ? (this.push(Nt), this.pushToIndex(n + 1, !0), e ? "flow" : "doc") : this.setNext("plain-scalar") } pushCount(e) { return e > 0 ? (this.push(this.buffer.substr(this.pos, e)), this.pos += e, e) : 0 } pushToIndex(e, t) { const n = this.buffer.slice(this.pos, e); return n ? (this.push(n), this.pos += n.length, n.length) : (t && this.push(""), 0) } pushIndicators() { switch (this.charAt(0)) { case "!": if ("<" === this.charAt(1)) return this.pushVerbatimTag() + this.pushSpaces(!0) + this.pushIndicators(); case "&": return this.pushUntil(Tt) + this.pushSpaces(!0) + this.pushIndicators(); case ":": case "?": case "-": if (Et(this.charAt(1))) return 0 === this.flowLevel && (this.indentNext = this.indentValue + 1), this.pushCount(1) + this.pushSpaces(!0) + this.pushIndicators() } return 0 } pushVerbatimTag() { let e = this.pos + 2 , t = this.buffer[e]; for (; !Et(t) && ">" !== t; ) t = this.buffer[++e]; return this.pushToIndex(">" === t ? e + 1 : e, !1) } pushNewline() { const e = this.buffer[this.pos]; return "\n" === e ? this.pushCount(1) : "\r" === e && "\n" === this.charAt(1) ? this.pushCount(2) : 0 } pushSpaces(e) { let t, n = this.pos - 1; do { t = this.buffer[++n] } while (" " === t || e && "\t" === t); const r = n - this.pos; return r > 0 && (this.push(this.buffer.substr(this.pos, r)), this.pos = n), r } pushUntil(e) { let t = this.pos , n = this.buffer[t]; for (; !e(n); ) n = this.buffer[++t]; return this.pushToIndex(t, !1) } } function Dt(e, t) { for (let n = 0; n < e.length; ++n) if (e[n].type === t) return !0; return !1 } function Bt(e) { for (let t = 0; t < e.length; ++t) switch (e[t].type) { case "space": case "comment": case "newline": break; default: return !0 } return !1 } function Pt(e) { let t = !1; for (let n = 0; n < e.length; ++n) switch (e[n].type) { case "space": break; case "comment": t = !0; break; case "newline": if (!t) return !1; break; default: return !1 } if (t) for (let t = e.length - 1; t >= 0; --t) switch (e[t].type) { case "space": break; case "newline": return !0; default: return !1 } return !1 } function $t(e) { switch (e.type) { case "document": return e.start; case "block-map": { const t = e.items[e.items.length - 1]; return t.sep || t.start } case "block-seq": return e.items[e.items.length - 1].start; default: return [] } } function jt(e) { var t; if (0 === e.length) return []; let n = e.length; e: for (; --n >= 0; ) switch (e[n].type) { case "explicit-key-ind": case "map-value-ind": case "seq-item-ind": case "newline": break e } for (; "space" === (null === (t = e[++n]) || void 0 === t ? void 0 : t.type); ) ; return e.splice(n, e.length) } class Rt { constructor(e, t) { this.atNewLine = !0, this.atScalar = !1, this.indent = 0, this.offset = 0, this.onKeyLine = !1, this.stack = [], this.source = "", this.type = "", this.next = e=>{ if (this.source = e, this.atScalar) return this.atScalar = !1, this.step(), void (this.offset += e.length); const t = function(e) { switch (e) { case "\ufeff": return "byte-order-mark"; case "": return "doc-mode"; case "": return "flow-error-end"; case Nt: return "scalar"; case "---": return "doc-start"; case "...": return "doc-end"; case "": case "\n": case "\r\n": return "newline"; case "-": return "seq-item-ind"; case "?": return "explicit-key-ind"; case ":": return "map-value-ind"; case "{": return "flow-map-start"; case "}": return "flow-map-end"; case "[": return "flow-seq-start"; case "]": return "flow-seq-end"; case ",": return "comma" } switch (e[0]) { case " ": case "\t": return "space"; case "#": return "comment"; case "%": return "directive-line"; case "*": return "alias"; case "&": return "anchor"; case "!": return "tag"; case "'": return "single-quoted-scalar"; case '"': return "double-quoted-scalar"; case "|": case ">": return "block-scalar-header" } return null }(e); if (t) if ("scalar" === t) this.atNewLine = !1, this.atScalar = !0, this.type = "scalar"; else { switch (this.type = t, this.step(), t) { case "newline": this.atNewLine = !0, this.indent = 0, this.onNewLine && this.onNewLine(this.offset + e.length); break; case "space": this.atNewLine && " " === e[0] && (this.indent += e.length); break; case "explicit-key-ind": case "map-value-ind": case "seq-item-ind": this.atNewLine && (this.indent += e.length); break; case "doc-mode": return; default: this.atNewLine = !1 } this.offset += e.length } else { const t = `Not a YAML token: ${e}`; this.pop({ type: "error", offset: this.offset, message: t, source: e }), this.offset += e.length } } , this.lexer = new It(this.next), this.push = e, this.onNewLine = t } parse(e, t=!1) { this.onNewLine && 0 === this.offset && this.onNewLine(0), this.lexer.lex(e, t), t || this.end() } end() { for (; this.stack.length > 0; ) this.pop() } get sourceToken() { return { type: this.type, indent: this.indent, source: this.source } } step() { const e = this.peek(1); if ("doc-end" !== this.type || e && "doc-end" === e.type) { if (!e) return this.stream(); switch (e.type) { case "document": return this.document(e); case "alias": case "scalar": case "single-quoted-scalar": case "double-quoted-scalar": return this.scalar(e); case "block-scalar": return this.blockScalar(e); case "block-map": return this.blockMap(e); case "block-seq": return this.blockSequence(e); case "flow-collection": return this.flowCollection(e); case "doc-end": return this.documentEnd(e) } this.pop() } else { for (; this.stack.length > 0; ) this.pop(); this.stack.push({ type: "doc-end", offset: this.offset, source: this.source }) } } peek(e) { return this.stack[this.stack.length - e] } pop(e) { const t = e || this.stack.pop(); if (t) if (0 === this.stack.length) this.push(t); else { const e = this.peek(1); switch ("block-scalar" !== t.type && "flow-collection" !== t.type || (t.indent = "indent"in e ? e.indent : -1), e.type) { case "document": e.value = t; break; case "block-scalar": e.props.push(t); break; case "block-map": { const n = e.items[e.items.length - 1]; if (n.value) return e.items.push({ start: [], key: t, sep: [] }), void (this.onKeyLine = !0); if (!n.sep) return Object.assign(n, { key: t, sep: [] }), void (this.onKeyLine = !Dt(n.start, "explicit-key-ind")); n.value = t; break } case "block-seq": { const n = e.items[e.items.length - 1]; n.value ? e.items.push({ start: [], value: t }) : n.value = t; break } case "flow-collection": e.items.push(t); break; default: this.pop(), this.pop(t) } if (!("document" !== e.type && "block-map" !== e.type && "block-seq" !== e.type || "block-map" !== t.type && "block-seq" !== t.type)) { const n = t.items[t.items.length - 1]; n && !n.sep && !n.value && n.start.length > 0 && !Bt(n.start) && (0 === t.indent || n.start.every((e=>"comment" !== e.type || e.indent < t.indent))) && ("document" === e.type ? e.end = n.start : e.items.push({ start: n.start }), t.items.splice(-1, 1)) } } else { const e = "Tried to pop an empty stack"; this.push({ type: "error", source: "", message: e }) } } stream() { switch (this.type) { case "directive-line": return void this.push({ type: "directive", source: this.source }); case "byte-order-mark": case "space": case "comment": case "newline": return void this.push(this.sourceToken); case "doc-mode": case "doc-start": { const e = { type: "document", offset: this.offset, start: [] }; return "doc-start" === this.type && e.start.push(this.sourceToken), void this.stack.push(e) } } this.push({ type: "error", offset: this.offset, message: `Unexpected ${this.type} token in YAML stream`, source: this.source }) } document(e) { if (e.value) return this.lineEnd(e); switch (this.type) { case "doc-start": return void (Bt(e.start) ? (this.pop(), this.step()) : e.start.push(this.sourceToken)); case "anchor": case "tag": case "space": case "comment": case "newline": return void e.start.push(this.sourceToken) } const t = this.startBlockValue(e); t ? this.stack.push(t) : this.push({ type: "error", offset: this.offset, message: `Unexpected ${this.type} token in YAML document`, source: this.source }) } scalar(e) { if ("map-value-ind" === this.type) { const t = jt($t(this.peek(2))); let n; e.end ? (n = e.end, n.push(this.sourceToken), delete e.end) : n = [this.sourceToken]; const r = { type: "block-map", offset: e.offset, indent: e.indent, items: [{ start: t, key: e, sep: n }] }; this.onKeyLine = !0, this.stack[this.stack.length - 1] = r } else this.lineEnd(e) } blockScalar(e) { switch (this.type) { case "space": case "comment": case "newline": return void e.props.push(this.sourceToken); case "scalar": if (e.source = this.source, this.atNewLine = !0, this.indent = 0, this.onNewLine) { let e = this.source.indexOf("\n") + 1; for (; 0 !== e; ) this.onNewLine(this.offset + e), e = this.source.indexOf("\n", e) + 1 } this.pop(); break; default: this.pop(), this.step() } } blockMap(e) { var t; const n = e.items[e.items.length - 1]; switch (this.type) { case "newline": if (this.onKeyLine = !1, !n.sep && Pt(n.start)) { const r = e.items[e.items.length - 2] , i = null === (t = null == r ? void 0 : r.value) || void 0 === t ? void 0 : t.end; if (Array.isArray(i)) return Array.prototype.push.apply(i, n.start), void (n.start = [this.sourceToken]) } case "space": case "comment": return void (n.value ? e.items.push({ start: [this.sourceToken] }) : n.sep ? n.sep.push(this.sourceToken) : n.start.push(this.sourceToken)) } if (this.indent >= e.indent) { const t = !this.onKeyLine && this.indent === e.indent && (n.sep || Bt(n.start)); switch (this.type) { case "anchor": case "tag": return void (t || n.value ? (e.items.push({ start: [this.sourceToken] }), this.onKeyLine = !0) : n.sep ? n.sep.push(this.sourceToken) : n.start.push(this.sourceToken)); case "explicit-key-ind": return n.sep || Dt(n.start, "explicit-key-ind") ? t || n.value ? e.items.push({ start: [this.sourceToken] }) : this.stack.push({ type: "block-map", offset: this.offset, indent: this.indent, items: [{ start: [this.sourceToken] }] }) : n.start.push(this.sourceToken), void (this.onKeyLine = !0); case "map-value-ind": if (n.sep) if (n.value || t && !Dt(n.start, "explicit-key-ind")) e.items.push({ start: [], key: null, sep: [this.sourceToken] }); else if (Dt(n.sep, "map-value-ind")) this.stack.push({ type: "block-map", offset: this.offset, indent: this.indent, items: [{ start: [], key: null, sep: [this.sourceToken] }] }); else if (Dt(n.start, "explicit-key-ind") && function(e) { switch (null == e ? void 0 : e.type) { case "alias": case "scalar": case "single-quoted-scalar": case "double-quoted-scalar": case "flow-collection": return !0; default: return !1 } }(n.key) && !Dt(n.sep, "newline")) { const e = jt(n.start) , t = n.key , r = n.sep; r.push(this.sourceToken), delete n.key, delete n.sep, this.stack.push({ type: "block-map", offset: this.offset, indent: this.indent, items: [{ start: e, key: t, sep: r }] }) } else n.sep.push(this.sourceToken); else Object.assign(n, { key: null, sep: [this.sourceToken] }); return void (this.onKeyLine = !0); case "alias": case "scalar": case "single-quoted-scalar": case "double-quoted-scalar": { const r = this.flowScalar(this.type); return void (t || n.value ? (e.items.push({ start: [], key: r, sep: [] }), this.onKeyLine = !0) : n.sep ? this.stack.push(r) : (Object.assign(n, { key: r, sep: [] }), this.onKeyLine = !0)) } default: { const r = this.startBlockValue(e); if (r) return t && "block-seq" !== r.type && Dt(n.start, "explicit-key-ind") && e.items.push({ start: [] }), void this.stack.push(r) } } } this.pop(), this.step() } blockSequence(e) { var t; const n = e.items[e.items.length - 1]; switch (this.type) { case "newline": if (!n.value && Pt(n.start)) { const r = e.items[e.items.length - 2] , i = null === (t = null == r ? void 0 : r.value) || void 0 === t ? void 0 : t.end; if (Array.isArray(i)) return Array.prototype.push.apply(i, n.start), void (n.start = [this.sourceToken]) } case "space": case "comment": return void (n.value ? e.items.push({ start: [this.sourceToken] }) : n.start.push(this.sourceToken)); case "anchor": case "tag": if (n.value || this.indent <= e.indent) break; return void n.start.push(this.sourceToken); case "seq-item-ind": if (this.indent !== e.indent) break; return void (n.value || Dt(n.start, "seq-item-ind") ? e.items.push({ start: [this.sourceToken] }) : n.start.push(this.sourceToken)) } if (this.indent > e.indent) { const t = this.startBlockValue(e); if (t) return this.stack.push(t) } this.pop(), this.step() } flowCollection(e) { if ("flow-error-end" === this.type) { let e; do { this.pop(), e = this.peek(1) } while (e && "flow-collection" === e.type) } else if (0 === e.end.length) { switch (this.type) { case "space": case "comment": case "newline": case "comma": case "explicit-key-ind": case "map-value-ind": case "anchor": case "tag": return void e.items.push(this.sourceToken); case "alias": case "scalar": case "single-quoted-scalar": case "double-quoted-scalar": return void e.items.push(this.flowScalar(this.type)); case "flow-map-end": case "flow-seq-end": return void e.end.push(this.sourceToken) } const t = this.startBlockValue(e); if (t) return this.stack.push(t); this.pop(), this.step() } else { const t = this.peek(2); if ("block-map" !== t.type || "map-value-ind" !== this.type && ("newline" !== this.type || t.items[t.items.length - 1].sep)) if ("map-value-ind" === this.type && "flow-collection" !== t.type) { const n = jt($t(t)) , r = e.end.splice(1, e.end.length); r.push(this.sourceToken); const i = { type: "block-map", offset: e.offset, indent: e.indent, items: [{ start: n, key: e, sep: r }] }; this.onKeyLine = !0, this.stack[this.stack.length - 1] = i } else this.lineEnd(e); else this.pop(), this.step() } } flowScalar(e) { if (this.onNewLine) { let e = this.source.indexOf("\n") + 1; for (; 0 !== e; ) this.onNewLine(this.offset + e), e = this.source.indexOf("\n", e) + 1 } return { type: e, offset: this.offset, indent: this.indent, source: this.source } } startBlockValue(e) { switch (this.type) { case "alias": case "scalar": case "single-quoted-scalar": case "double-quoted-scalar": return this.flowScalar(this.type); case "block-scalar-header": return { type: "block-scalar", offset: this.offset, indent: this.indent, props: [this.sourceToken] }; case "flow-map-start": case "flow-seq-start": return { type: "flow-collection", offset: this.offset, indent: this.indent, start: this.sourceToken, items: [], end: [] }; case "seq-item-ind": return { type: "block-seq", offset: this.offset, indent: this.indent, items: [{ start: [this.sourceToken] }] }; case "explicit-key-ind": return this.onKeyLine = !0, { type: "block-map", offset: this.offset, indent: this.indent, items: [{ start: [this.sourceToken] }] }; case "map-value-ind": { this.onKeyLine = !0; const t = jt($t(e)); return { type: "block-map", offset: this.offset, indent: this.indent, items: [{ start: t, key: null, sep: [this.sourceToken] }] } } } return null } documentEnd(e) { "doc-mode" !== this.type && (e.end ? e.end.push(this.sourceToken) : e.end = [this.sourceToken], "newline" === this.type && this.pop()) } lineEnd(e) { switch (this.type) { case "comma": case "doc-start": case "doc-end": case "flow-seq-end": case "flow-map-end": case "map-value-ind": this.pop(), this.step(); break; case "newline": this.onKeyLine = !1; default: e.end ? e.end.push(this.sourceToken) : e.end = [this.sourceToken], "newline" === this.type && this.pop() } } } function Ut(e) { const t = !e || !1 !== e.prettyErrors; return { lineCounter: e && e.lineCounter || t && new Ct || null, prettyErrors: t } } function Mt(e, t, n) { let r; "function" == typeof t ? r = t : void 0 === n && t && "object" == typeof t && (n = t); const i = function(e, t) { const {lineCounter: n, prettyErrors: r} = Ut(t); let i = null; const o = new Ot((e=>{ if (i) { if ("silent" !== i.options.logLevel) { const t = "Source contains multiple documents; please use YAML.parseAllDocuments()"; i.errors.push(new it(e.range[0],t)) } } else i = e } ),t); return new Rt(o.next,null == n ? void 0 : n.addNewLine).parse(e), o.end(!0, e.length), r && n && (i.errors.forEach(st(e, n)), i.warnings.forEach(st(e, n))), i }(e, n); if (!i) return null; if (i.warnings.forEach((e=>X(i.options.logLevel, e))), i.errors.length > 0) { if ("silent" !== i.options.logLevel) throw i.errors[0]; i.errors = [] } return i.toJS(Object.assign({ reviver: r }, n)) } var zt = n(9650) , Ft = n.n(zt) , Vt = n(6658) , Ht = n.n(Vt) , Kt = n(4967) , _t = Ft() , Jt = Kt.Parser , Gt = function() { function e() { this.transformers = [] } return e.prototype.addTransformer = function(e) { this.transformers.push(e) } , e.prototype.removeTransformer = function(e) { for (var t = this.transformers, n = 0; n < t.length; ) t[n] === e ? t.splice(n, 1) : n++ } , e }(); function Yt(e, t, n, r, i) { r.locator = i; var o = e.prototype.inlineTokenizers , s = e.prototype.inlineMethods; o[t] = r, s.splice(s.indexOf(n), 0, t) } function Wt(e, t, n, r, i) { r.locator = i; var o = e.prototype.blockTokenizers , s = e.prototype.blockMethods; o[t] = r, s.splice(s.indexOf(n), 0, t) } function Qt(e, t, n) { for (var r = 0; r < e.length && e[r][0] !== t; r++) ; e.splice(r + 1, 0, [n]) } var Zt = Ht(); function Xt(e, t) { var n = t.position.end , r = t.position.end , i = t.children; return i.length > 0 && (n = i[0].position.start, r = i[i.length - 1].position.end), e.substring(n.offset, r.offset).trim() } var en = n(9650) , tn = n(6658) , nn = n(1039) , rn = n(6859) , on = n(7497) , sn = n(7194) , an = n(4297) , ln = n(7824) , cn = n(7583) , un = n(942) , fn = {}.hasOwnProperty , hn = !1; function pn(e, t) { var n = function(e, t) { var n = t || {}; void 0 === n.allowDangerousHTML || hn || (hn = !0, console.warn("mdast-util-to-hast: deprecation: `allowDangerousHTML` is nonstandard, use `allowDangerousHtml` instead")); var r = n.allowDangerousHtml || n.allowDangerousHTML , i = {}; return s.dangerous = r, s.definition = n.definitions || on(e), s.footnoteById = i, s.footnoteOrder = [], s.augment = o, s.handlers = Object.assign({}, un, n.handlers), s.unknownHandler = n.unknownHandler, s.passThrough = n.passThrough, tn(e, "footnoteDefinition", (function(e) { var t = String(e.identifier).toUpperCase(); fn.call(i, t) || (i[t] = e) } )), s; function o(e, t) { var n, r; return e && e.data && ((n = e.data).hName && ("element" !== t.type && (t = { type: "element", tagName: "", properties: {}, children: [] }), t.tagName = n.hName), "element" === t.type && n.hProperties && (t.properties = Object.assign({}, t.properties, n.hProperties)), t.children && n.hChildren && (t.children = n.hChildren)), r = e && e.position ? e : { position: e }, rn(r) || (t.position = { start: nn.start(r), end: nn.end(r) }), t } function s(e, t, n, r) { return null == r && "object" == typeof n && "length"in n && (r = n, n = {}), o(e, { type: "element", tagName: t, properties: n || {}, children: r || [] }) } }(e, t) , r = sn(n, e) , i = cn(n); return i && (r.children = r.children.concat(en("text", "\n"), i)), r } var dn = 32 , mn = 91; function gn(e, t, n, r) { for (var i = e.length, o = -1; ++o < i; ) if (t[e[o][0]].apply(n, r)) return !0; return !1 } function vn(e) { return !(!e.startsWith("./") && !e.startsWith("../")) || -1 === e.indexOf(":") } var yn = /\u00A0/g; function bn(e) { return (t = e, t.replace(yn, " ")).trim().normalize("NFC"); var t } function kn(e) { return e.split("#").filter((function(e) { return !!e } )).join(" > ").trim() } function wn(e) { var t = "" , n = e.indexOf("|") , r = n > 0; return r ? (t = e.substring(n + 1).trim(), e = e.substring(0, n).trim()) : t = kn(e = e.trim()), e.endsWith("\\") && (e = e.substring(0, e.length - 1)), { href: e = bn(e), title: t, isAlias: r } } function xn(e, t) { var n = function(e) { var t = e.match(/^\s*([0-9]+)\s*(?:x\s*([0-9]+)\s*)?$/); return t ? { x: parseInt(t[1]), y: t[2] ? parseInt(t[2]) : 0 } : null }(e); if (!n) return !1; var r = n.x , i = n.y , o = t.data = t.data || {} , s = o.hProperties = o.hProperties || {}; return s.width = String(r), 0 !== i && (s.height = String(i)), !0 } var An = /^#[^\u2000-\u206F\u2E00-\u2E7F'!"#$%&()*+,.:;<=>?@^`{|}~\[\]\\\s]+/; var Sn = Jt; Sn.globalOptions = { breaks: !0, commonmark: !0 }; var On = new Gt , Cn = new Gt , Nn = {}; function En(e) { var t = s()(e) , n = new Sn(String(t),t); n.setOptions(Sn.globalOptions); for (var r = n.parse(), i = 0, o = On.transformers; i < o.length; i++) { (0, o[i])(r, e) } return r } !function(e) { var t = /\s/ , n = function(e) { return t.test(e) } , r = "=="; Yt(e, "mark", "text", (function(e, t, i) { if (this.options.gfm && t.substr(0, 2) === r && t.substr(0, 4) !== r + r && !n(t.charAt(2))) { var o = "" , s = "" , a = "" , l = "" , c = 1 , u = t.length , f = e.now(); for (f.column += 2, f.offset += 2; ++c < u; ) { if (!("=" !== (o = t.charAt(c)) || "=" !== s || a && n(a))) return !!i || e(r + l + r)({ type: "mark", children: this.tokenizeInline(l, f), data: { hName: "mark" } }); l += s, a = s, s = o } } } ), (function(e, t) { return e.indexOf(r, t) } )) }(Sn), function(e) { var t = /!?\[\[/g , n = /^(!?)\[\[(.+?)]]/; Yt(e, "ilink", "link", (function(e, t, r) { var i = n.exec(t); if (i) { var o = i[2].trim(); if (-1 !== o.indexOf("[[")) return !1; if (r) return !0; var s = ("0" + o).substring(1) , a = "!" === i[1] , l = wn(s) , c = l.href , u = l.title , f = l.isAlias; if (a) return e(i[0])({ type: "iembed", href: c, title: u, data: { hName: "span", hProperties: { className: "internal-embed", src: c, alt: u }, hChildren: [{ type: "text", value: u }] } }); var h = { className: "internal-link", href: c, dataHref: c }; return f && (h["aria-label"] = kn(c), h["data-tooltip-position"] = "top"), e(i[0])({ type: "ilink", href: c, title: u, data: { hName: "a", hProperties: h, hChildren: [{ type: "text", value: u }] } }) } } ), (function(e, n) { t.lastIndex = n; var r = t.exec(e); return r ? r.index : -1 } )) }(Sn), function(e) { var t = /^#\d+$/ , n = /\s/; Yt(e, "tag", "image", (function(e, n, r) { var i = An.exec(n); if (i) { var o = i[0]; return !t.test(o) && (!!r || e(o)({ type: "tag", tag: o, data: { hName: "a", hProperties: { className: "tag", href: o }, hChildren: [{ type: "text", value: o }] } })) } } ), (function(e, t) { for (var r = t; -1 !== (r = e.indexOf("#", r)); ) { if (r <= 0) return r; var i = e.charAt(r - 1); if (n.test(i)) return r; r++ } } )) }(Sn), function(e) { function t(e) { if ("boolean" == typeof e.checked) { var t = e , n = t.data = t.data || {} , r = n.hProperties = n.hProperties || {}; r.className = "task-list-item", e.checked && (r.className += " is-checked"), e.checklist && (r.dataTask = e.checklist); var i = t.children[0]; i && "paragraph" === i.type && (t = i), t.children.unshift({ type: "checklist", data: { hName: "input", hProperties: { className: "task-list-item-checkbox", type: "checkbox", checked: e.checked } }, position: e.position }), delete e.checked } } e.addTransformer((function(e) { Zt(e, "listItem", t) } )) }(On), function(e) { Yt(e, "math", "text", (function(e, t, n) { var r, i, o, s, a, l, c, u = t.length, f = !1, h = !1, p = 0; if (92 === t.charCodeAt(p) && (h = !0, p++), 36 === t.charCodeAt(p)) { if (p++, h) return !!n || e(t.slice(0, p))({ type: "text", value: "$" }); if (36 === t.charCodeAt(p) && (f = !0, p++), o = t.charCodeAt(p), f || 32 !== o && 9 !== o) { for (s = p; p < u; ) { if (i = o, o = t.charCodeAt(p + 1), 36 === i) { if (r = t.charCodeAt(p - 1), !f && (32 !== r && 9 !== r && (o != o || o < 48 || o > 57)) || f && 36 === o) { if (a = p - 1, p++, f) for (var d = ++p; d < u; ) { var m = t.charAt(d); if ("\n" === m) { p = d + 1; break } if (!/\s/.test(m)) break; d++ } l = p; break } } else 92 === i && (p++, o = t.charCodeAt(p + 1)); p++ } if (void 0 !== l) return !!n || (c = t.slice(s, a + 1), e(t.slice(0, l))({ type: "inlineMath", value: c, data: { hName: "span", hProperties: { className: f ? "math math-block" : "math math-inline" }, hChildren: [{ type: "text", value: c }] } })) } } } ), (function(e, t) { return e.indexOf("$", t) } )) }(Sn), function(e) { Wt(e, "math", "fencedCode", (function(e, t, n) { for (var r, i, o, s, a, l, c, u, f, h, p, d = t.length, m = 0; m < d && 32 === t.charCodeAt(m); ) m++; for (a = m; m < d && 36 === t.charCodeAt(m); ) m++; if (!((l = m - a) < 2)) { for (; m < d && 32 === t.charCodeAt(m); ) m++; for (c = m; m < d; ) { if (36 === (r = t.charCodeAt(m))) return; if (10 === r) break; m++ } if (10 === t.charCodeAt(m)) { if (n) return !0; for (i = [], c !== m && i.push(t.slice(c, m)), m++, o = -1 === (o = t.indexOf("\n", m + 1)) ? d : o; m < d; ) { for (u = !1, h = m, p = o, s = o, f = 0; s > h && 32 === t.charCodeAt(s - 1); ) s--; for (; s > h && 36 === t.charCodeAt(s - 1); ) f++, s--; for (l <= f && t.indexOf("$", h) === s && (u = !0, p = s); h <= p && h - m < a && 32 === t.charCodeAt(h); ) h++; if (u) for (; p > h && 32 === t.charCodeAt(p - 1); ) p--; if (u && h === p || i.push(t.slice(h, p)), u) break; m = o + 1, o = -1 === (o = t.indexOf("\n", m + 1)) ? d : o } return i = i.join("\n"), e(t.slice(0, o))({ type: "math", value: i, data: { hName: "div", hProperties: { className: "math math-block" }, hChildren: [{ type: "text", value: i }] } }) } } } )); var t = e.prototype; Qt(t.interruptParagraph, "fencedCode", "math"), Qt(t.interruptList, "fencedCode", "math"), Qt(t.interruptBlockquote, "fencedCode", "math") }(Sn), function(e) { for (var t = e.prototype, n = t.blockMethods, r = [], i = 0; i < n.length; i++) { var o = n[i]; "newline" !== o && "indentedCode" !== o && "paragraph" !== o && "footnoteDefinition" !== o && r.push([o]) } r.push(["footnoteDefinition"]), t.interruptFootnoteDefinition = r, Yt(e, "inlineNote", "reference", (function(e, t, n) { var r, i, o, s, a, l, c, u = t.length + 1, f = 0, h = 0; if (94 === t.charCodeAt(f++) && t.charCodeAt(f++) === mn) { for (o = f; f < u; ) { if ((i = t.charCodeAt(f)) != i) return; if (void 0 === l) if (92 === i) f += 2; else if (i === mn) h++, f++; else if (93 === i) { if (0 === h) { s = f, f++; break } h--, f++ } else if (96 === i) { for (a = f, l = 1; 96 === t.charCodeAt(a + l); ) l++; f += l } else f++; else if (96 === i) { for (a = f, c = 1; 96 === t.charCodeAt(a + c); ) c++; f += c, l === c && (l = void 0), c = void 0 } else f++ } if (void 0 !== s) return !!n || ((r = e.now()).column += 2, r.offset += 2, e(t.slice(0, f))({ type: "footnote", children: this.tokenizeInline(t.slice(o, s), r) })) } } ), (function(e, t) { return e.indexOf("^[", t) } )), Wt(e, "footnoteDefinition", "definition", (function(e, t, n) { for (var r, i, o, a, l, c, u, f, h, p, d, m, g, v = this, y = v.interruptFootnoteDefinition, b = v.offset, k = t.length + 1, w = 0, x = []; w < k && (9 === (a = t.charCodeAt(w)) || a === dn); ) w++; if (t.charCodeAt(w++) === mn && 94 === t.charCodeAt(w++)) { for (i = w; w < k; ) { if ((a = t.charCodeAt(w)) != a || 10 === a || 9 === a || a === dn) return; if (93 === a) { o = w, w++; break } w++ } if (void 0 !== o && i !== o && 58 === t.charCodeAt(w++)) { if (n) return !0; for (r = t.slice(i, o), l = e.now(), h = 0, p = 0, d = w, m = []; w < k; ) { if ((a = t.charCodeAt(w)) != a || 10 === a) g = { start: h, contentStart: d || w, contentEnd: w, end: w }, m.push(g), 10 === a && (h = w + 1, p = 0, d = void 0, g.end = h); else if (void 0 !== p) if (a === dn || 9 === a) (p += a === dn ? 1 : 4 - p % 4) > 4 && (p = void 0, d = w); else { if (p < 4 && g && (g.contentStart === g.contentEnd || gn(y, s, v, [e, t.slice(w, 1024), !0]))) break; p = void 0, d = w } w++ } for (w = -1, k = m.length; k > 0 && (g = m[k - 1]).contentStart === g.contentEnd; ) k--; for (c = e(t.slice(0, g.contentEnd)); ++w < k; ) g = m[w], b[l.line + w] = (b[l.line + w] || 0) + (g.contentStart - g.start), x.push(t.slice(g.contentStart, g.end)); return u = v.enterBlock(), f = v.tokenizeBlock(x.join(""), l), u(), c({ type: "footnoteDefinition", identifier: r.toLowerCase(), label: r, children: f }) } } } )), Yt(e, "footnoteCall", "reference", (function(e, t, n) { var r, i, o, s, a = t.length + 1, l = 0; if (t.charCodeAt(l++) === mn && 94 === t.charCodeAt(l++)) { for (i = l; l < a; ) { if ((s = t.charCodeAt(l)) != s || 10 === s || 9 === s || s === dn) return; if (93 === s) { o = l, l++; break } l++ } if (void 0 !== o && i !== o) return !!n || (r = t.slice(i, o), e(t.slice(0, l))({ type: "footnoteReference", identifier: r.toLowerCase(), label: r })) } } ), (function(e, t) { return e.indexOf("[", t) } )); var s = t.blockTokenizers , a = t.inlineTokenizers , l = s.definition , c = a.reference; function u(e, t, n) { var r = 0; if (33 === t.charCodeAt(r) && r++, t.charCodeAt(r) === mn && 94 !== t.charCodeAt(r + 1)) return c.call(this, e, t, n) } s.definition = function(e, t, n) { for (var r = 0, i = t.charCodeAt(r); i === dn || 9 === i; ) i = t.charCodeAt(++r); if (i === mn && 94 !== t.charCodeAt(r + 1)) return l.call(this, e, t, n) } , a.reference = u, u.locator = c.locator }(Sn), function(e) { var t = e.prototype.inlineTokenizers , n = t.break , r = function(e, t, r) { if (!this.options.breaks && !this.options.breakOnce) return n.call(this, e, t, r); for (var i, o = t.length, s = -1; ++s < o; ) { if (10 === (i = t.charCodeAt(s))) return this.options.breakOnce = !1, !!r || e(t.slice(0, s + 1))({ type: "break" }); if (32 !== i) return } }; r.locator = n.locator, t.break = r }(Sn), function(e) { var t = "---" , n = function(e, n, r) { if (n.slice(0, 3) === t && "\n" === n.charAt(3)) { for (var i = n.indexOf(t, 3); -1 !== i && "\n" !== n.charAt(i - 1); ) i = n.indexOf(t, i + 3); return -1 !== i ? !!r || e(n.slice(0, i + 3))({ type: "yaml", value: n.slice(4, i - 1) }) : void 0 } }; n.onlyAtStart = !0; var r = e.prototype; r.blockMethods.unshift("frontmatter"), r.blockTokenizers.frontmatter = n }(Sn), function(e) { var t = /^\^([a-zA-Z0-9\-]+)$/ , n = /\s/; Yt(e, "blockid", "text", (function(e, n, r) { var i = t.exec(n); if (i) { var o = i[1]; return !!r || e(i[0])({ type: "blockid", id: o }) } } ), (function(e, t) { for (var r = t; -1 !== (r = e.indexOf("^", r)); ) { if (r <= 0) return -1; var i = e.charAt(r - 1); if (n.test(i)) return r; r++ } } )); var r = /^\^([a-zA-Z0-9\-]+)(?=$|\n$|\n\n)/; Wt(e, "blockid", "paragraph", (function(e, t, n) { var i = r.exec(t); if (i) { var o = i[1]; return !!n || e(i[0])({ type: "blockid", id: o }) } } )) }(Sn), function(e) { e.addTransformer((function(e) { Zt(e, "link", (function(e, t, n) { var r = e.url; if (r && vn(r)) { var i = void 0; try { i = decodeURI(r) } catch (e) { return } var o = bn(i); n.children[t] = { type: "ilink", href: o, title: "", converted: !0, data: { url: r, hName: "a", hProperties: { href: o, dataHref: o, className: "internal-link", title: e.title } }, children: e.children, position: e.position } } } )) } )) }(On), function(e) { e.addTransformer((function(e) { Zt(e, "image", (function(e, t, n) { var r = e.url; if (r && vn(r)) { var i = bn(function(e) { try { return decodeURI(e) } catch (t) { return e } }(r)); n.children[t] = { type: "iembed", href: i, title: e.alt, data: { hName: "span", hProperties: { className: "internal-embed", src: i, alt: e.alt } }, children: e.children, position: e.position } } } )) } )) }(On), function(e) { e.addTransformer((function(e) { var t = [] , n = {} , r = {}; function i(e, t, n) { var r, i, o, s, a = String(t + 1), l = a; if (n > 0 && (l += "-" + n), e.type = "fnRef", e.data = { hName: "sup", hProperties: { className: "footnote-ref", "data-footnote-id": "fnref-" + l } }, !e.identifier && e.hasOwnProperty("children")) { var c = e.children , u = null === (i = null === (r = c[0]) || void 0 === r ? void 0 : r.position) || void 0 === i ? void 0 : i.start , f = null === (s = null === (o = c[c.length - 1]) || void 0 === o ? void 0 : o.position) || void 0 === s ? void 0 : s.end; u && f && (e.data.contentPosition = { start: u, end: f }, e.identifier = "".concat("[inline").concat(t)) } e.children = [{ type: "element", data: { hName: "a", hProperties: { className: "footnote-link", href: "#fn-" + a, "data-footref": e.identifier }, hChildren: [{ type: "text", value: "[" + l + "]" }] } }] } Zt(e, "footnoteDefinition", (function(e) { var t = String(e.identifier); r[":" + t] = -1, n[":" + t] = { children: e.children, position: e.position } } )), Zt(e, ["footnote", "footnoteReference"], (function(e) { if ("footnote" === e.type) { var o = t.length , s = String(o); t.push({ count: 1, identifier: s }), n[s] = { children: e.children, position: e.position, isInline: !e.identifier && e.hasOwnProperty("children") }, i(e, o, 0) } else { s = String(e.identifier); if (!r.hasOwnProperty(":" + s)) return e.type = "text", void (e.value = s); -1 === (o = r[":" + s]) && (o = t.length, r[":" + s] = o, t.push({ count: 0, identifier: ":" + s })); var a = t[o] , l = a.count; a.count++, i(e, o, l) } } )); for (var o = [], s = 0; s < t.length; s++) { var a = t[s] , l = n[a.identifier]; if (l) { var c = l.children , u = c[c.length - 1]; u && "paragraph" === u.type && (c = u.children); for (var f = String(s + 1), h = 0; h < a.count; h++) { var p = f; h > 0 && (p += "-" + h), c.push({ type: "element", data: { hName: "a", hProperties: { className: "footnote-backref footnote-link", href: "#fnref-" + p }, hChildren: [{ type: "text", value: "↩︎" }] } }) } o.push({ type: "listItem", synthetic: !0, data: { hProperties: { "data-footnote-id": "fn-" + f }, isInline: l.isInline }, children: [{ type: "paragraph", children: l.children }], position: l.position }) } } if (0 !== o.length) { var d, m = e.children[e.children.length - 1], g = { start: d = m ? m.position.end : { line: 1, column: 1, offset: 0 }, end: d }; e.children = e.children.concat({ type: "text", value: "\n", position: g }, { type: "element", position: g, data: { hName: "section", hProperties: { className: "footnotes" } }, children: [{ type: "thematicBreak", position: g }, { type: "list", position: g, ordered: !0, start: 1, spread: !1, children: o }] }) } } )) }(On), function(e) { e.addTransformer((function(e) { Zt(e, "image", (function(e) { var t = e.alt; if (t) { var n = t.lastIndexOf("|"); if (-1 !== n) xn(t.substr(n + 1), e) && (e.alt = t.substr(0, n)) } } )) } )) }(On), function(e) { e.addTransformer((function(e) { Zt(e, "iembed", (function(e) { var t = e.title; if (t) { var n = t.lastIndexOf("|"); if (-1 !== n) xn(t.substr(n + 1), e) && (t = t.substr(0, n)); else xn(t, e) && (t = ""); t || (t = e.href), e.data.hProperties.alt = t } } )) } )) }(On), function(e, t) { t.blockid = function() { return null } , e.addTransformer((function(e) { for (var t, n = e.children, r = function(e) { var r = n[e]; if ("blockid" === r.type) { if (e > 0) n[e - 1].id = r.id; return n.splice(e, 1), e--, t = e, "continue" } if ("list" === r.type) return Zt(r, "listItem", (function(e) { var t = null; Zt(e, ["list", "blockid"], (function(e) { return "list" === e.type ? "skip" : (t = e.id, !1) } )), t && (e.id = t) } )), t = e, "continue"; var i = null; Zt(r, "blockid", (function(e) { i = e.id } )), i && (r.id = i), t = e }, i = 0; i < n.length; i++) r(i), i = t } )) }(On, Nn), function(e) { e.addTransformer((function(e, t) { Zt(e, "heading", (function(e, n, r) { var i = Xt(t, e); e.data = { hProperties: { dataHeading: i } } } )) } )) }(On), function(e, t) { t.callout = function(e, t) { var n = t.callout , r = n.color , i = null; if (r) { r = r.replace(/^#([a-f\d])([a-f\d])([a-f\d])$/i, (function(e, t, n, r) { return "#" + t + t + n + n + r + r } )); var o = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r); o && (i = "--callout-color: " + [parseInt(o[1], 16), parseInt(o[2], 16), parseInt(o[3], 16)].join(",") + ";") } return e(t, "div", { className: "callout", dataCallout: n.type, dataCalloutIcon: n.icon, dataCalloutFold: n.fold, dataCalloutMetadata: n.data, style: i }, an(e, t)) } , t["callout-title"] = function(e, t) { return e(t, "div", { className: "callout-title" }, [e({}, "div", { className: "callout-icon" }), e({}, "div", { className: "callout-title-inner" }, an(e, t))]) } , t["callout-content"] = function(e, t) { return e(t, "div", { className: "callout-content" }, ln(an(e, t), !0)) } , e.addTransformer((function(e) { Zt(e, "blockquote", (function(e) { var t = e.callout; if (t) { e.type = "callout"; var n = [] , r = e.children , i = r && r[0]; if (i && i.position.start.line === e.position.start.line) if ("paragraph" === i.type) { for (var o = i.children, s = 0, a = void 0; s < o.length; s++) if ("break" === o[s].type) { a = o[s]; break } var l = r.slice(1); a ? (n.push({ type: "callout-title", position: { start: i.position.start, end: a.position.start }, children: o.slice(0, s) }), i.position.start = a.position.end, i.children = o.slice(s + 1), l.unshift(i)) : n.push({ type: "callout-title", position: i.position, children: o }), l.length > 0 && n.push({ type: "callout-content", position: { start: l[0].position.start, end: l[l.length - 1].position.end }, children: l }) } else { n.push({ type: "callout-title", position: i.position, children: [i] }); var c = r[1]; if (c) { var u = c.position.start , f = r[r.length - 1].position.end; n.push({ type: "callout-content", position: { start: u, end: f }, children: r.slice(1) }) } } else { var h = { start: e.position.start, end: e.position.start } , p = t.type.trim().replace(/\-/g, " ").toLowerCase(); p = p.charAt(0).toUpperCase() + p.substr(1), n.push({ type: "callout-title", position: h, children: [{ type: "text", value: p, position: h }] }), i && n.push({ type: "callout-content", position: e.position, children: r }) } e.children = n } } )) } )) }(On, Nn), function(e) { function t(e) { var t = e.properties; if (t && !t.className) { t.className = "external-link", t.target = "_blank", t.rel = "noopener nofollow"; var n = "" , r = e.children; r && r.length > 0 && (n = r[0].value), t.href !== n && (t["aria-label"] = t.href, t["data-tooltip-position"] = "top") } } e.addTransformer((function(e) { Zt(e, { type: "element", tagName: "a" }, t) } )) }(Cn), function(e, t) { t.yaml = function(e, t) { var n = t.value || ""; return e(t.position, "pre", { className: "frontmatter" }, [e(t, "code", { className: "language-yaml" }, [_t("text", n)])]) } }(0, Nn), function(e, t) { var n = /^%%(.+?)%%/; Yt(e, "comment", "text", (function(e, t, r) { var i = n.exec(t); if (i) { if (r) return !0; var o = e.now(); return o.column += 2, o.offset += 2, e(i[0])({ type: "comment", children: this.tokenizeInline(i[1], o) }) } } ), (function(e, t) { return e.indexOf("%%", t) } )), t.comment = function() { return null } , Wt(e, "comment", "fencedCode", (function(e, t, n) { for (var r = t.length, i = 0; i < r && 32 === t.charCodeAt(i); ) i++; for (var o = i; i < r && 37 === t.charCodeAt(i); ) i++; var s = i - o; if (!(s < 2)) { for (var a = i; i < r; ) { var l = t.charCodeAt(i); if (37 === l) return; if (10 === l) break; i++ } if (n) return !0; for (var c = r, u = 0; i < r; ) { if (37 === t.charCodeAt(i)) { if (s === ++u) { c = i + 1; break } } else u = 0; i++ } var f = t.substring(a, c - s) , h = e.now(); return e(t.slice(0, c))({ type: "comment", value: f, children: this.tokenizeInline(f, h) }) } } )); var r = e.prototype; Qt(r.interruptParagraph, "fencedCode", "comment"), Qt(r.interruptList, "fencedCode", "comment"), Qt(r.interruptBlockquote, "fencedCode", "comment") }(Sn, Nn); function Ln(e) { var t = e.children[0]; if (t && "yaml" === t.type) try { var n = Mt(t.value, void 0, {}); if (n && "object" == typeof n && !Array.isArray(n)) return n || void 0 } catch (e) { return null } } Object.prototype.hasOwnProperty; function qn(e) { return i()(e) } function Tn(e) { var t = []; if (!e) return t; for (var n = 0, r = e; n < r.length; n++) { var i = r[n]; t.push(In(i)) } return t } function In(e) { if (!e) return ""; var t = e.type; if ("html" === t) return ""; if ("iembed" === t) return e.href; if ("listItem" === t) { var n = Tn(e.children); return 1 === n.length ? n[0] + "\n" : n.join("\n") } if ("tag" === t) return e.tag; if ("comment" === t) return ""; var r = e.value || e.alt || e.title || e.hasOwnProperty("children") && Tn(e.children).join("") || ""; return "list" === t && void 0 !== e.start && null !== e.start && (r = e.start + ". " + r), "paragraph" === t || "break" === t || "heading" === t || "code" === t || "break" === t ? r += "\n" : r.endsWith("\n") && (r = r.substring(0, r.length - 1)), "tableCell" === t ? r += " " : "tableRow" === t && (r += "\n"), r } function Dn(e) { var n = En(e) , r = { definitions: qn(n) } , i = [] , o = [] , s = [] , a = n.children , l = Ln(n); n.children = [null]; for (var c = function(e) { var l = a[e] , c = 7; "heading" === l.type && (c = l.depth || 1); var u = l.position.start.line - 1 , f = l.position.end.line - 1; Zt(l, ["checklist", "listItem", "code"], (function(e) { var t = e.position.start.line - 1 , n = e.data = e.data || {}; (n.hProperties = n.hProperties || {})["data-line"] = String(t - u) } )), n.children[0] = l; var h = function(e, n) { (n = n || {}).allowDangerousHtml = !0, n.handlers = Nn; for (var r = pn(e, n), i = 0, o = Cn.transformers; i < o.length; i++) (0, o[i])(r, ""); return t()(r, { allowDangerousHtml: !0 }) }(n, r); i.push(h), o.push([u, f]), s.push(c) }, u = 0; u < a.length; u++) c(u); return { sectionHtml: i, lineNumbers: o, levels: s, frontmatter: l } } function Bn(e) { return { line: e.line - 1, col: e.column - 1, offset: e.offset } } function Pn(e) { return { start: Bn(e.start), end: Bn(e.end) } } function $n(e) { var t = [] , n = function(e, n, i) { var o = e ? e + "." + n : n; if ("string" == typeof i) { if (i.startsWith("[[") && i.endsWith("]]")) { var s = wn(i.substring(2, i.length - 2)) , a = s.title , l = s.href; t.push({ key: o, link: l, original: i, displayText: a }) } } else r(o, i) } , r = function(e, t) { if (Array.isArray(t)) for (var r = 0; r < t.length; r++) { var i = t[r]; n(e, String(r), i) } else if ("object" == typeof t) for (var o in t) t.hasOwnProperty(o) && n(e, o, t[o]) }; return r("", e), t } function jn(e) { self.postMessage(e) } self.onmessage = function(e) { try { var t = e.data; if (t.hasOwnProperty("metadataCache")) return void function(e) { if (!e) return void jn({}); jn(function(e, t) { var n = { links: [], embeds: [], tags: [], headings: [], footnotes: [], footnoteRefs: [], referenceLinks: [], sections: [], listItems: [], blocks: {} } , r = En(e) , i = r.children[0]; if (i && "yaml" === i.type) { var o = Ln(r); o && (n.frontmatter = o, n.frontmatterPosition = Pn(i.position), n.frontmatterLinks = $n(o)) } for (var s = 0, a = r.children; s < a.length; s++) { var l = a[s] , c = Pn(l.position) , u = { type: l.type, position: c } , f = l.id; f && "string" == typeof f && (u.id = f, n.blocks[f.toLowerCase()] = { position: c, id: f }), n.sections.push(u) } return Zt(r, ["heading", "ilink", "iembed", "tag", "listItem", "fnRef", "footnoteDefinition", "definition"], (function(r, i, o) { var s, a; if ("fnRef" === r.type) { var l = null === (s = r.data) || void 0 === s ? void 0 : s.contentPosition; l ? n.footnotes.push({ position: Pn(l), id: r.identifier || "" }) : n.footnoteRefs.push({ position: Pn(r.position), id: r.identifier || "" }) } else if ("footnoteDefinition" === r.type) n.footnotes.push({ position: Pn(r.position), id: r.identifier || "" }); else if ("definition" === r.type && r.url) { var c = r.label || r.identifier; n.referenceLinks.push({ position: Pn(r.position), id: c || "", link: r.url || "" }) } else if ("heading" === r.type && "root" === o.type) { var u = Xt(e, r); n.headings.push({ position: Pn(r.position), heading: u, level: r.depth || 1 }) } else if ("ilink" === r.type) { var f = e.substring(r.position.start.offset, r.position.end.offset) , h = r.href || ""; !(d = r.title || "") && r.converted && (d = In(r)); var p = { position: Pn(r.position), link: h, original: f, displayText: d }; t && delete p.original, n.links.push(p) } else if ("iembed" === r.type) { f = e.substring(r.position.start.offset, r.position.end.offset), h = r.href || ""; var d = r.title || ""; p = { position: Pn(r.position), link: h, original: f, displayText: d }, t && delete p.original, n.embeds.push(p) } else if ("tag" === r.type) { var m = r.tag || ""; n.tags.push({ position: Pn(r.position), tag: m }) } else if ("listItem" === r.type) { if (r.synthetic) { if (null === (a = r.data) || void 0 === a ? void 0 : a.isInline) return; return "skip" } var g = Pn(r.position) , v = r.children; if (v && v.length > 1) for (var y = v.length - 1; y >= 0; y--) { var b = v[y]; if ("list" !== b.type) { g.end = Bn(b.position.end); break } b.listParentPosition = r.position } var k = 0; "list" === o.type && (o.listParentPosition ? k = o.listParentPosition.start.line - 1 : 0 == (k = -(o.position.start.line - 1)) && (k = -1)); var w = { position: g, parent: k } , x = r.checklist; "string" == typeof x && (w.task = x), (c = r.id) && "string" == typeof c && (w.id = c, n.blocks[c.toLowerCase()] = { position: g, id: c }), n.listItems.push(w) } } )), 0 === n.links.length && delete n.links, 0 === n.embeds.length && delete n.embeds, 0 === n.tags.length && delete n.tags, 0 === n.headings.length && delete n.headings, 0 === n.footnotes.length && delete n.footnotes, 0 === n.footnoteRefs.length && delete n.footnoteRefs, 0 === n.referenceLinks.length && delete n.referenceLinks, (0 === n.sections.length || t) && delete n.sections, 0 === n.listItems.length && delete n.listItems, 0 === Object.keys(n.blocks).length && delete n.blocks, n }((new TextDecoder).decode(e))) }(t.metadataCache); if (t.hasOwnProperty("parseSections")) return n = t.parseSections, r = t.options, Sn.globalOptions = r || {}, void jn(Dn(n)) } catch (e) { console.error("AppWorker exception", e) } var n, r; jn(null) } } )() } )();