diff --git a/MystEditor.js b/MystEditor.js
index 5c23eba..94ab722 100644
--- a/MystEditor.js
+++ b/MystEditor.js
@@ -33267,7 +33267,7 @@ const Z1t = (t, {
name: a,
role: o
}) => (s[a] = o, s), {});
- r.renderer.rules[sie] = (s, a) => s[a].content, r.use(Dre, {
+ r.renderer.rules[sie] = (s, a, o, l, u) => `${s[a].content}`, r.use(Dre, {
roles: i
});
};
@@ -33342,30 +33342,33 @@ function lie(t, e) {
return r;
}
function tmt(t, e = (r, n, i) => n) {
- t.use(nmt), t.use(imt), t.use(smt);
- const r = ["softbreak"], n = [...Object.keys(t.renderer.rules).filter((i) => !r.includes(i)), "paragraph_open", "heading_open", "admonition_open", "link_open"];
+ t.use(nmt), t.use(imt), t.use(smt), t.use(amt);
+ const r = ["softbreak"], n = [...Object.keys(t.renderer.rules).filter((i) => !r.includes(i)), "paragraph_open", "heading_open", "admonition_open", "link_open", "list_item_open"];
for (const i of n) {
const s = t.renderer.rules[i];
- t.renderer.rules[i] = rmt(s, e);
+ t.renderer.rules[i] = rmt(s);
}
}
function rmt(t, e) {
return (r, n, i, s, a) => {
+ const o = t != null ? t : a.renderToken.bind(a);
+ if (r[n].type === "list_item_open" && r[n + 1].type !== "list_item_close")
+ return o(r, n, i, s, a);
if (["paragraph_open", "heading_open"].includes(r[n].type)) {
- const l = r[n + 1];
- let u = 0, h = !1;
- for (const f of l.children) {
- if (f.type === "softbreak") {
- u++, h = !1;
+ const u = r[n + 1];
+ let h = 0, f = !1;
+ for (const d of u.children) {
+ if (d.type === "softbreak") {
+ h++, f = !1;
continue;
}
- h || (f.map = [r[n].map[0] + u, r[n].map[0] + u + 1], h = !0);
+ !f && !d.type.includes("_open") && (d.map = [r[n].map[0] + h, r[n].map[0] + h + 1], f = !0);
}
} else if (r[n].map) {
- const l = lie(r[n], s), u = oie();
- s.lineMap.current.has(l) || (s.lineMap.current.set(l, u), r[n].attrSet(kD, u));
+ const u = lie(r[n], s), h = oie();
+ s.lineMap.current.has(u) || (s.lineMap.current.set(u, h), r[n].attrSet(kD, h));
}
- return t ? e(r[n], t(r, n, i, s, a), s) : e(r[n], a.renderToken(r, n, i), s);
+ return o(r, n, i, s, a);
};
}
function nmt(t) {
@@ -33380,13 +33383,21 @@ function nmt(t) {
t.renderer.rules.directive = e(t.renderer.rules.directive), t.renderer.rules.directive_error = e(t.renderer.rules.directive_error);
}
function imt(t) {
+ const e = t.renderer.rules.role;
+ t.renderer.rules.role = (r, n, i, s, a) => {
+ let o = e(r, n, i, s, a);
+ const l = o.indexOf(">");
+ return o = o.slice(0, l) + a.renderAttrs(r[n]) + o.slice(l), o;
+ };
+}
+function smt(t) {
const e = t.renderer.rules.text;
t.renderer.rules.text = (r, n, i, s, a) => {
const o = r[n], l = e(r, n, i, s, a);
return `${l}`;
};
}
-function smt(t) {
+function amt(t) {
const e = t.renderer.rules.fence;
t.renderer.rules.fence = (r, n, i, s, a) => {
const o = e(r, n, i, s, a), l = r[n];
@@ -33771,19 +33782,19 @@ const Ns = cie.exports, T4 = {
return -1;
}
}
-}, amt = T4, omt = {
+}, omt = T4, lmt = {
clamp: (t, e, r) => e > r ? Math.min(e, Math.max(r, t)) : Math.min(r, Math.max(e, t)),
round: (t) => Math.round(t * 1e10) / 1e10
-}, lmt = omt, cmt = {
+}, cmt = lmt, umt = {
dec2hex: (t) => {
const e = Math.round(t).toString(16);
return e.length > 1 ? e : `0${e}`;
}
-}, umt = cmt, hmt = {
- channel: amt,
- lang: lmt,
- unit: umt
-}, ir = hmt, Oh = {};
+}, hmt = umt, fmt = {
+ channel: omt,
+ lang: cmt,
+ unit: hmt
+}, ir = fmt, Oh = {};
for (let t = 0; t <= 255; t++)
Oh[t] = ir.unit.dec2hex(t);
const Ss = {
@@ -33791,7 +33802,7 @@ const Ss = {
RGB: 1,
HSL: 2
};
-class fmt {
+class dmt {
constructor() {
this.type = Ss.ALL;
}
@@ -33810,10 +33821,10 @@ class fmt {
return this.type === e;
}
}
-const dmt = fmt;
-class pmt {
+const pmt = dmt;
+class gmt {
constructor(e, r) {
- this.color = r, this.changed = !1, this.data = e, this.type = new dmt();
+ this.color = r, this.changed = !1, this.data = e, this.type = new pmt();
}
set(e, r) {
return this.color = r, this.changed = !1, this.data = e, this.type.type = Ss.ALL, this;
@@ -33875,7 +33886,7 @@ class pmt {
this.changed = !0, this.data.a = e;
}
}
-const gmt = pmt, mmt = new gmt({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), kT = mmt, uie = {
+const mmt = gmt, vmt = new mmt({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), kT = vmt, uie = {
re: /^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,
parse: (t) => {
if (t.charCodeAt(0) !== 35)
@@ -34115,7 +34126,7 @@ const gmt = pmt, mmt = new gmt({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), kT =
const { r: e, g: r, b: n, a: i } = t;
return i < 1 ? `rgba(${ir.lang.round(e)}, ${ir.lang.round(r)}, ${ir.lang.round(n)}, ${ir.lang.round(i)})` : `rgb(${ir.lang.round(e)}, ${ir.lang.round(r)}, ${ir.lang.round(n)})`;
}
-}, Qw = hie, vmt = {
+}, Qw = hie, ymt = {
format: {
keyword: mU,
hex: ry,
@@ -34133,12 +34144,12 @@ const gmt = pmt, mmt = new gmt({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), kT =
throw new Error(`Unsupported color format: "${t}"`);
},
stringify: (t) => !t.changed && t.color ? t.color : t.type.is(Ss.HSL) || t.data.r === void 0 ? Yw.stringify(t) : t.a < 1 || !Number.isInteger(t.r) || !Number.isInteger(t.g) || !Number.isInteger(t.b) ? Qw.stringify(t) : ry.stringify(t)
-}, $l = vmt, ymt = (t, e) => {
+}, $l = ymt, bmt = (t, e) => {
const r = $l.parse(t);
for (const n in e)
r[n] = ir.channel.clamp[n](e[n]);
return $l.stringify(r);
-}, fie = ymt, bmt = (t, e, r = 0, n = 1) => {
+}, fie = bmt, xmt = (t, e, r = 0, n = 1) => {
if (typeof t != "number")
return fie(t, { a: e });
const i = kT.set({
@@ -34148,31 +34159,31 @@ const gmt = pmt, mmt = new gmt({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), kT =
a: ir.channel.clamp.a(n)
});
return $l.stringify(i);
-}, Qd = bmt, xmt = (t, e) => ir.lang.round($l.parse(t)[e]), die = xmt, wmt = (t) => {
+}, Qd = xmt, wmt = (t, e) => ir.lang.round($l.parse(t)[e]), die = wmt, Omt = (t) => {
const { r: e, g: r, b: n } = $l.parse(t), i = 0.2126 * ir.channel.toLinear(e) + 0.7152 * ir.channel.toLinear(r) + 0.0722 * ir.channel.toLinear(n);
return ir.lang.round(i);
-}, Omt = wmt, kmt = (t) => Omt(t) >= 0.5, Smt = kmt, Tmt = (t) => !Smt(t), z0 = Tmt, Cmt = (t, e, r) => {
+}, kmt = Omt, Smt = (t) => kmt(t) >= 0.5, Tmt = Smt, Cmt = (t) => !Tmt(t), z0 = Cmt, Emt = (t, e, r) => {
const n = $l.parse(t), i = n[e], s = ir.channel.clamp[e](i + r);
return i !== s && (n[e] = s), $l.stringify(n);
-}, pie = Cmt, Emt = (t, e) => pie(t, "l", e), Ft = Emt, _mt = (t, e) => pie(t, "l", -e), Qt = _mt, Amt = (t, e) => {
+}, pie = Emt, _mt = (t, e) => pie(t, "l", e), Ft = _mt, Amt = (t, e) => pie(t, "l", -e), Qt = Amt, Lmt = (t, e) => {
const r = $l.parse(t), n = {};
for (const i in e)
!e[i] || (n[i] = r[i] + e[i]);
return fie(t, n);
-}, Pe = Amt, Lmt = (t, e, r = 50) => {
+}, Pe = Lmt, Rmt = (t, e, r = 50) => {
const { r: n, g: i, b: s, a } = $l.parse(t), { r: o, g: l, b: u, a: h } = $l.parse(e), f = r / 100, d = f * 2 - 1, p = a - h, m = ((d * p === -1 ? d : (d + p) / (1 + d * p)) + 1) / 2, v = 1 - m, y = n * m + o * v, b = i * m + l * v, w = s * m + u * v, O = a * f + h * (1 - f);
return Qd(y, b, w, O);
-}, Rmt = Lmt, Mmt = (t, e = 100) => {
+}, Mmt = Rmt, Dmt = (t, e = 100) => {
const r = $l.parse(t);
- return r.r = 255 - r.r, r.g = 255 - r.g, r.b = 255 - r.b, Rmt(r, t, e);
-}, Ot = Mmt;
+ return r.r = 255 - r.r, r.g = 255 - r.g, r.b = 255 - r.b, Mmt(r, t, e);
+}, Ot = Dmt;
/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
const {
entries: gie,
setPrototypeOf: vU,
- isFrozen: Dmt,
- getPrototypeOf: Nmt,
- getOwnPropertyDescriptor: Imt
+ isFrozen: Nmt,
+ getPrototypeOf: Imt,
+ getOwnPropertyDescriptor: Pmt
} = Object;
let {
freeze: la,
@@ -34194,7 +34205,7 @@ x8 || (x8 = function(e, r, n) {
w8 || (w8 = function(e, r) {
return new e(...r);
});
-const Ww = uo(Array.prototype.forEach), yU = uo(Array.prototype.pop), Fm = uo(Array.prototype.push), _4 = uo(String.prototype.toLowerCase), N6 = uo(String.prototype.toString), bU = uo(String.prototype.match), zm = uo(String.prototype.replace), Pmt = uo(String.prototype.indexOf), $mt = uo(String.prototype.trim), cl = uo(Object.prototype.hasOwnProperty), Zs = uo(RegExp.prototype.test), Vm = Bmt(TypeError);
+const Ww = uo(Array.prototype.forEach), yU = uo(Array.prototype.pop), Fm = uo(Array.prototype.push), _4 = uo(String.prototype.toLowerCase), N6 = uo(String.prototype.toString), bU = uo(String.prototype.match), zm = uo(String.prototype.replace), $mt = uo(String.prototype.indexOf), Bmt = uo(String.prototype.trim), cl = uo(Object.prototype.hasOwnProperty), Zs = uo(RegExp.prototype.test), Vm = Fmt(TypeError);
function uo(t) {
return function(e) {
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
@@ -34202,7 +34213,7 @@ function uo(t) {
return x8(t, e, n);
};
}
-function Bmt(t) {
+function Fmt(t) {
return function() {
for (var e = arguments.length, r = new Array(e), n = 0; n < e; n++)
r[n] = arguments[n];
@@ -34217,13 +34228,13 @@ function kr(t, e) {
let i = e[n];
if (typeof i == "string") {
const s = r(i);
- s !== i && (Dmt(e) || (e[n] = s), i = s);
+ s !== i && (Nmt(e) || (e[n] = s), i = s);
}
t[i] = !0;
}
return t;
}
-function Fmt(t) {
+function zmt(t) {
for (let e = 0; e < t.length; e++)
cl(t, e) || (t[e] = null);
return t;
@@ -34231,42 +34242,42 @@ function Fmt(t) {
function od(t) {
const e = mie(null);
for (const [r, n] of gie(t))
- cl(t, r) && (Array.isArray(n) ? e[r] = Fmt(n) : n && typeof n == "object" && n.constructor === Object ? e[r] = od(n) : e[r] = n);
+ cl(t, r) && (Array.isArray(n) ? e[r] = zmt(n) : n && typeof n == "object" && n.constructor === Object ? e[r] = od(n) : e[r] = n);
return e;
}
function Um(t, e) {
for (; t !== null; ) {
- const n = Imt(t, e);
+ const n = Pmt(t, e);
if (n) {
if (n.get)
return uo(n.get);
if (typeof n.value == "function")
return uo(n.value);
}
- t = Nmt(t);
+ t = Imt(t);
}
function r() {
return null;
}
return r;
}
-const xU = la(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), I6 = la(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), P6 = la(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), zmt = la(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), $6 = la(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Vmt = la(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), wU = la(["#text"]), OU = la(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), B6 = la(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), kU = la(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Gw = la(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Umt = Wo(/\{\{[\w\W]*|[\w\W]*\}\}/gm), qmt = Wo(/<%[\w\W]*|[\w\W]*%>/gm), Ymt = Wo(/\${[\w\W]*}/gm), Qmt = Wo(/^data-[\-\w.\u00B7-\uFFFF]/), Wmt = Wo(/^aria-[\-\w]+$/), vie = Wo(
+const xU = la(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), I6 = la(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), P6 = la(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Vmt = la(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), $6 = la(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Umt = la(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), wU = la(["#text"]), OU = la(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), B6 = la(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), kU = la(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Gw = la(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), qmt = Wo(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ymt = Wo(/<%[\w\W]*|[\w\W]*%>/gm), Qmt = Wo(/\${[\w\W]*}/gm), Wmt = Wo(/^data-[\-\w.\u00B7-\uFFFF]/), Gmt = Wo(/^aria-[\-\w]+$/), vie = Wo(
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
-), Gmt = Wo(/^(?:\w+script|data):/i), Hmt = Wo(
+), Hmt = Wo(/^(?:\w+script|data):/i), Xmt = Wo(
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
-), yie = Wo(/^html$/i), Xmt = Wo(/^[a-z][.\w]*(-[.\w]+)+$/i);
+), yie = Wo(/^html$/i), Zmt = Wo(/^[a-z][.\w]*(-[.\w]+)+$/i);
var SU = /* @__PURE__ */ Object.freeze({
__proto__: null,
- MUSTACHE_EXPR: Umt,
- ERB_EXPR: qmt,
- TMPLIT_EXPR: Ymt,
- DATA_ATTR: Qmt,
- ARIA_ATTR: Wmt,
+ MUSTACHE_EXPR: qmt,
+ ERB_EXPR: Ymt,
+ TMPLIT_EXPR: Qmt,
+ DATA_ATTR: Wmt,
+ ARIA_ATTR: Gmt,
IS_ALLOWED_URI: vie,
- IS_SCRIPT_OR_DATA: Gmt,
- ATTR_WHITESPACE: Hmt,
+ IS_SCRIPT_OR_DATA: Hmt,
+ ATTR_WHITESPACE: Xmt,
DOCTYPE_NAME: yie,
- CUSTOM_ELEMENT: Xmt
+ CUSTOM_ELEMENT: Zmt
});
const qm = {
element: 1,
@@ -34281,9 +34292,9 @@ const qm = {
documentType: 10,
documentFragment: 11,
notation: 12
-}, Zmt = function() {
+}, jmt = function() {
return typeof window > "u" ? null : window;
-}, jmt = function(e, r) {
+}, Kmt = function(e, r) {
if (typeof e != "object" || typeof e.createPolicy != "function")
return null;
let n = null;
@@ -34304,7 +34315,7 @@ const qm = {
}
};
function bie() {
- let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Zmt();
+ let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : jmt();
const e = (qe) => bie(qe);
if (e.version = "3.1.6", e.removed = [], !t || !t.document || t.document.nodeType !== qm.document)
return e.isSupported = !1, e;
@@ -34405,10 +34416,10 @@ function bie() {
throw Vm('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
O = te.TRUSTED_TYPES_POLICY, S = O.createHTML("");
} else
- O === void 0 && (O = jmt(p, i)), O !== null && typeof S == "string" && (S = O.createHTML(""));
+ O === void 0 && (O = Kmt(p, i)), O !== null && typeof S == "string" && (S = O.createHTML(""));
la && la(te), ut = te;
}
- }, Ye = kr({}, ["mi", "mo", "mn", "ms", "mtext"]), pt = kr({}, ["foreignobject", "annotation-xml"]), tt = kr({}, ["title", "style", "font", "a", "script"]), He = kr({}, [...I6, ...P6, ...zmt]), kt = kr({}, [...$6, ...Vmt]), st = function(te) {
+ }, Ye = kr({}, ["mi", "mo", "mn", "ms", "mtext"]), pt = kr({}, ["foreignobject", "annotation-xml"]), tt = kr({}, ["title", "style", "font", "a", "script"]), He = kr({}, [...I6, ...P6, ...Vmt]), kt = kr({}, [...$6, ...Umt]), st = function(te) {
let Le = w(te);
(!Le || !Le.tagName) && (Le = {
namespaceURI: Ce,
@@ -34527,7 +34538,7 @@ function bie() {
return !1;
} else if (!fe[Le]) {
if (!Zs(F, zm(ze, D, ""))) {
- if (!((Le === "src" || Le === "xlink:href" || Le === "href") && te !== "script" && Pmt(ze, "data:") === 0 && re[te])) {
+ if (!((Le === "src" || Le === "xlink:href" || Le === "href") && te !== "script" && $mt(ze, "data:") === 0 && re[te])) {
if (!(Z && !Zs(I, zm(ze, D, "")))) {
if (ze)
return !1;
@@ -34560,7 +34571,7 @@ function bie() {
namespaceURI: rt,
value: St
} = cr, Tt = je(Jt);
- let Je = Jt === "value" ? St : $mt(St);
+ let Je = Jt === "value" ? St : Bmt(St);
if (ze.attrName = Tt, ze.attrValue = Je, ze.keepAttr = !0, ze.forceKeepAttr = void 0, tr("uponSanitizeAttribute", te, ze), Je = ze.attrValue, ae && Zs(/((--!?|])>)|<\/(style|title)/i, Je)) {
dt(Jt, te);
continue;
@@ -34696,14 +34707,14 @@ var Yg = bie(), xie = Object.defineProperty, x = (t, e) => xie(t, "name", { valu
}, X.error = () => {
}, X.fatal = () => {
}, e <= ou.fatal && (X.fatal = console.error ? console.error.bind(console, wo("FATAL"), "color: orange") : console.log.bind(console, "\x1B[35m", wo("FATAL"))), e <= ou.error && (X.error = console.error ? console.error.bind(console, wo("ERROR"), "color: orange") : console.log.bind(console, "\x1B[31m", wo("ERROR"))), e <= ou.warn && (X.warn = console.warn ? console.warn.bind(console, wo("WARN"), "color: orange") : console.log.bind(console, "\x1B[33m", wo("WARN"))), e <= ou.info && (X.info = console.info ? console.info.bind(console, wo("INFO"), "color: lightblue") : console.log.bind(console, "\x1B[34m", wo("INFO"))), e <= ou.debug && (X.debug = console.debug ? console.debug.bind(console, wo("DEBUG"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", wo("DEBUG"))), e <= ou.trace && (X.trace = console.debug ? console.debug.bind(console, wo("TRACE"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", wo("TRACE")));
-}, "setLogLevel"), wo = /* @__PURE__ */ x((t) => `%c${Ns().format("ss.SSS")} : ${t} : `, "format"), Oie = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, ny = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, Kmt = /\s*%%.*\n/gm, ib, kie = (ib = class extends Error {
+}, "setLogLevel"), wo = /* @__PURE__ */ x((t) => `%c${Ns().format("ss.SSS")} : ${t} : `, "format"), Oie = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, ny = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, Jmt = /\s*%%.*\n/gm, ib, kie = (ib = class extends Error {
constructor(e) {
super(e), this.name = "UnknownDiagramError";
}
}, (() => {
x(ib, "UnknownDiagramError");
})(), ib), Qg = {}, TD = /* @__PURE__ */ x(function(t, e) {
- t = t.replace(Oie, "").replace(ny, "").replace(Kmt, `
+ t = t.replace(Oie, "").replace(ny, "").replace(Jmt, `
`);
for (const [r, { detector: n }] of Object.entries(Qg))
if (n(t, e))
@@ -34716,14 +34727,14 @@ var Yg = bie(), xie = Object.defineProperty, x = (t, e) => xie(t, "name", { valu
Tie(e, r, n);
}, "registerLazyLoadedDiagrams"), Tie = /* @__PURE__ */ x((t, e, r) => {
Qg[t] && X.warn(`Detector with key ${t} already exists. Overwriting.`), Qg[t] = { detector: e, loader: r }, X.debug(`Detector with key ${t} added${r ? " with loader" : ""}`);
-}, "addDetector"), Jmt = /* @__PURE__ */ x((t) => Qg[t].loader, "getDiagramLoader"), O8 = /* @__PURE__ */ x((t, e, { depth: r = 2, clobber: n = !1 } = {}) => {
+}, "addDetector"), evt = /* @__PURE__ */ x((t) => Qg[t].loader, "getDiagramLoader"), O8 = /* @__PURE__ */ x((t, e, { depth: r = 2, clobber: n = !1 } = {}) => {
const i = { depth: r, clobber: n };
return Array.isArray(e) && !Array.isArray(t) ? (e.forEach((s) => O8(t, s, i)), t) : Array.isArray(e) && Array.isArray(t) ? (e.forEach((s) => {
t.includes(s) || t.push(s);
}), t) : t === void 0 || r <= 0 ? t != null && typeof t == "object" && typeof e == "object" ? Object.assign(t, e) : e : (e !== void 0 && typeof t == "object" && typeof e == "object" && Object.keys(e).forEach((s) => {
typeof e[s] == "object" && (t[s] === void 0 || typeof t[s] == "object") ? (t[s] === void 0 && (t[s] = Array.isArray(e[s]) ? [] : {}), t[s] = O8(t[s], e[s], { depth: r - 1, clobber: n })) : (n || typeof t[s] != "object" && typeof e[s] != "object") && (t[s] = e[s]);
}), t);
-}, "assignWithDepth"), Ci = O8, ST = "#ffffff", TT = "#f2f2f2", ta = /* @__PURE__ */ x((t, e) => e ? Pe(t, { s: -40, l: 10 }) : Pe(t, { s: -40, l: -10 }), "mkBorder"), sb, evt = (sb = class {
+}, "assignWithDepth"), Ci = O8, ST = "#ffffff", TT = "#f2f2f2", ta = /* @__PURE__ */ x((t, e) => e ? Pe(t, { s: -40, l: 10 }) : Pe(t, { s: -40, l: -10 }), "mkBorder"), sb, tvt = (sb = class {
constructor() {
this.background = "#f4f4f4", this.primaryColor = "#fff4dd", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px";
}
@@ -34773,10 +34784,10 @@ var Yg = bie(), xie = Object.defineProperty, x = (t, e) => xie(t, "name", { valu
}
}, (() => {
x(sb, "Theme");
-})(), sb), tvt = /* @__PURE__ */ x((t) => {
- const e = new evt();
+})(), sb), rvt = /* @__PURE__ */ x((t) => {
+ const e = new tvt();
return e.calculate(t), e;
-}, "getThemeVariables"), ab, rvt = (ab = class {
+}, "getThemeVariables"), ab, nvt = (ab = class {
constructor() {
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = Ft(this.primaryColor, 16), this.tertiaryColor = Pe(this.primaryColor, { h: -160 }), this.primaryBorderColor = Ot(this.background), this.secondaryBorderColor = ta(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = ta(this.tertiaryColor, this.darkMode), this.primaryTextColor = Ot(this.primaryColor), this.secondaryTextColor = Ot(this.secondaryColor), this.tertiaryTextColor = Ot(this.tertiaryColor), this.lineColor = Ot(this.background), this.textColor = Ot(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = Ft(Ot("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 = Qd(255, 255, 255, 0.25), this.arrowheadColor = "calculated", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#F9FFFE", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "calculated", this.activationBkgColor = "calculated", this.sequenceNumberColor = "black", this.sectionBkgColor = Qt("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = Qt(this.sectionBkgColor, 10), this.taskBorderColor = Qd(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = Qd(255, 255, 255, 50), this.activeTaskBkgColor = "#81B1DB", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "grey", this.critBorderColor = "#E83737", this.critBkgColor = "#E83737", this.taskTextDarkColor = "calculated", this.todayLineColor = "#DB5757", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd";
}
@@ -34829,10 +34840,10 @@ var Yg = bie(), xie = Object.defineProperty, x = (t, e) => xie(t, "name", { valu
}
}, (() => {
x(ab, "Theme");
-})(), ab), nvt = /* @__PURE__ */ x((t) => {
- const e = new rvt();
+})(), ab), ivt = /* @__PURE__ */ x((t) => {
+ const e = new nvt();
return e.calculate(t), e;
-}, "getThemeVariables"), ob, ivt = (ob = class {
+}, "getThemeVariables"), ob, svt = (ob = class {
constructor() {
this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = Pe(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = Pe(this.primaryColor, { h: -160 }), this.primaryBorderColor = ta(this.primaryColor, this.darkMode), this.secondaryBorderColor = ta(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = ta(this.tertiaryColor, this.darkMode), this.primaryTextColor = Ot(this.primaryColor), this.secondaryTextColor = Ot(this.secondaryColor), this.tertiaryTextColor = Ot(this.tertiaryColor), this.lineColor = Ot(this.background), this.textColor = Ot(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", this.border2 = "#aaaa33", this.arrowheadColor = "#333333", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.labelBackground = "rgba(232,232,232, 0.8)", this.textColor = "#333", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = this.taskTextDarkColor, this.taskTextClickableColor = "calculated", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBorderColor = "calculated", this.critBkgColor = "calculated", this.todayLineColor = "calculated", this.sectionBkgColor = Qd(102, 102, 255, 0.49), this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#fff400", this.taskBorderColor = "#534fbc", this.taskBkgColor = "#8a90dd", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "#534fbc", this.activeTaskBkgColor = "#bfc7ff", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.updateColors();
}
@@ -34879,9 +34890,9 @@ var Yg = bie(), xie = Object.defineProperty, x = (t, e) => xie(t, "name", { valu
}, (() => {
x(ob, "Theme");
})(), ob), CD = /* @__PURE__ */ x((t) => {
- const e = new ivt();
+ const e = new svt();
return e.calculate(t), e;
-}, "getThemeVariables"), lb, svt = (lb = class {
+}, "getThemeVariables"), lb, avt = (lb = class {
constructor() {
this.background = "#f4f4f4", this.primaryColor = "#cde498", this.secondaryColor = "#cdffb2", this.background = "white", this.mainBkg = "#cde498", this.secondBkg = "#cdffb2", this.lineColor = "green", this.border1 = "#13540c", this.border2 = "#6eaa49", this.arrowheadColor = "green", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.tertiaryColor = Ft("#cde498", 10), this.primaryBorderColor = ta(this.primaryColor, this.darkMode), this.secondaryBorderColor = ta(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = ta(this.tertiaryColor, this.darkMode), this.primaryTextColor = Ot(this.primaryColor), this.secondaryTextColor = Ot(this.secondaryColor), this.tertiaryTextColor = Ot(this.primaryColor), this.lineColor = Ot(this.background), this.textColor = Ot(this.background), this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#333", this.edgeLabelBackground = "#e8e8e8", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "#333", this.signalTextColor = "#333", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "#326932", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "#6eaa49", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#6eaa49", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "#487e3a", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
}
@@ -34932,10 +34943,10 @@ var Yg = bie(), xie = Object.defineProperty, x = (t, e) => xie(t, "name", { valu
}
}, (() => {
x(lb, "Theme");
-})(), lb), avt = /* @__PURE__ */ x((t) => {
- const e = new svt();
+})(), lb), ovt = /* @__PURE__ */ x((t) => {
+ const e = new avt();
return e.calculate(t), e;
-}, "getThemeVariables"), cb, ovt = (cb = class {
+}, "getThemeVariables"), cb, lvt = (cb = class {
constructor() {
this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = Ft(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = Pe(this.primaryColor, { h: -160 }), this.primaryBorderColor = ta(this.primaryColor, this.darkMode), this.secondaryBorderColor = ta(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = ta(this.tertiaryColor, this.darkMode), this.primaryTextColor = Ot(this.primaryColor), this.secondaryTextColor = Ot(this.secondaryColor), this.tertiaryTextColor = Ot(this.tertiaryColor), this.lineColor = Ot(this.background), this.textColor = Ot(this.background), this.mainBkg = "#eee", this.secondBkg = "calculated", this.lineColor = "#666", this.border1 = "#999", this.border2 = "calculated", this.note = "#ffa", this.text = "#333", this.critical = "#d42", this.done = "#bbb", this.arrowheadColor = "#333333", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "white", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = this.actorBorder, this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "calculated", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBkgColor = "calculated", this.critBorderColor = "calculated", this.todayLineColor = "calculated", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
}
@@ -34982,24 +34993,24 @@ var Yg = bie(), xie = Object.defineProperty, x = (t, e) => xie(t, "name", { valu
}
}, (() => {
x(cb, "Theme");
-})(), cb), lvt = /* @__PURE__ */ x((t) => {
- const e = new ovt();
+})(), cb), cvt = /* @__PURE__ */ x((t) => {
+ const e = new lvt();
return e.calculate(t), e;
}, "getThemeVariables"), Lu = {
base: {
- getThemeVariables: tvt
+ getThemeVariables: rvt
},
dark: {
- getThemeVariables: nvt
+ getThemeVariables: ivt
},
default: {
getThemeVariables: CD
},
forest: {
- getThemeVariables: avt
+ getThemeVariables: ovt
},
neutral: {
- getThemeVariables: lvt
+ getThemeVariables: cvt
}
}, gh = {
flowchart: {
@@ -35677,14 +35688,14 @@ var Yg = bie(), xie = Object.defineProperty, x = (t, e) => xie(t, "name", { valu
packet: {
...gh.packet
}
-}, Eie = /* @__PURE__ */ x((t, e = "") => Object.keys(t).reduce((r, n) => Array.isArray(t[n]) ? r : typeof t[n] == "object" && t[n] !== null ? [...r, e + n, ...Eie(t[n], "")] : [...r, e + n], []), "keyify"), cvt = new Set(Eie(Cie, "")), jr = Cie, p3 = /* @__PURE__ */ x((t) => {
+}, Eie = /* @__PURE__ */ x((t, e = "") => Object.keys(t).reduce((r, n) => Array.isArray(t[n]) ? r : typeof t[n] == "object" && t[n] !== null ? [...r, e + n, ...Eie(t[n], "")] : [...r, e + n], []), "keyify"), uvt = new Set(Eie(Cie, "")), jr = Cie, p3 = /* @__PURE__ */ x((t) => {
if (X.debug("sanitizeDirective called with", t), !(typeof t != "object" || t == null)) {
if (Array.isArray(t)) {
t.forEach((e) => p3(e));
return;
}
for (const e of Object.keys(t)) {
- if (X.debug("Checking key", e), e.startsWith("__") || e.includes("proto") || e.includes("constr") || !cvt.has(e) || t[e] == null) {
+ if (X.debug("Checking key", e), e.startsWith("__") || e.includes("proto") || e.includes("constr") || !uvt.has(e) || t[e] == null) {
X.debug("sanitize deleting key: ", e), delete t[e];
continue;
}
@@ -35694,7 +35705,7 @@ var Yg = bie(), xie = Object.defineProperty, x = (t, e) => xie(t, "name", { valu
}
const r = ["themeCSS", "fontFamily", "altFontFamily"];
for (const n of r)
- e.includes(n) && (X.debug("sanitizing css option", e), t[e] = uvt(t[e]));
+ e.includes(n) && (X.debug("sanitizing css option", e), t[e] = hvt(t[e]));
}
if (t.themeVariables)
for (const e of Object.keys(t.themeVariables)) {
@@ -35703,7 +35714,7 @@ var Yg = bie(), xie = Object.defineProperty, x = (t, e) => xie(t, "name", { valu
}
X.debug("After sanitization", t);
}
-}, "sanitizeDirective"), uvt = /* @__PURE__ */ x((t) => {
+}, "sanitizeDirective"), hvt = /* @__PURE__ */ x((t) => {
let e = 0, r = 0;
for (const n of t) {
if (e < r)
@@ -35723,9 +35734,9 @@ var Yg = bie(), xie = Object.defineProperty, x = (t, e) => xie(t, "name", { valu
r.theme && r.theme in Lu && (r.themeVariables = Lu[r.theme].getThemeVariables(s));
}
return iy = r, Mie(iy), iy;
-}, "updateCurrentConfig"), hvt = /* @__PURE__ */ x((t) => (Sa = Ci({}, Wg), Sa = Ci(Sa, t), t.theme && Lu[t.theme] && (Sa.themeVariables = Lu[t.theme].getThemeVariables(t.themeVariables)), CT(Sa, Gg), Sa), "setSiteConfig"), fvt = /* @__PURE__ */ x((t) => {
+}, "updateCurrentConfig"), fvt = /* @__PURE__ */ x((t) => (Sa = Ci({}, Wg), Sa = Ci(Sa, t), t.theme && Lu[t.theme] && (Sa.themeVariables = Lu[t.theme].getThemeVariables(t.themeVariables)), CT(Sa, Gg), Sa), "setSiteConfig"), dvt = /* @__PURE__ */ x((t) => {
_ie = Ci({}, t);
-}, "saveConfigFromInitialize"), dvt = /* @__PURE__ */ x((t) => (Sa = Ci(Sa, t), CT(Sa, Gg), Sa), "updateSiteConfig"), Aie = /* @__PURE__ */ x(() => Ci({}, Sa), "getSiteConfig"), Lie = /* @__PURE__ */ x((t) => (Mie(t), Ci(iy, t), pi()), "setConfig"), pi = /* @__PURE__ */ x(() => Ci({}, iy), "getConfig"), Rie = /* @__PURE__ */ x((t) => {
+}, "saveConfigFromInitialize"), pvt = /* @__PURE__ */ x((t) => (Sa = Ci(Sa, t), CT(Sa, Gg), Sa), "updateSiteConfig"), Aie = /* @__PURE__ */ x(() => Ci({}, Sa), "getSiteConfig"), Lie = /* @__PURE__ */ x((t) => (Mie(t), Ci(iy, t), pi()), "setConfig"), pi = /* @__PURE__ */ x(() => Ci({}, iy), "getConfig"), Rie = /* @__PURE__ */ x((t) => {
var e;
!t || (["secure", ...(e = Sa.secure) != null ? e : []].forEach((r) => {
Object.hasOwn(t, r) && (X.debug(`Denied attempt to modify a secure key ${r}`, t[r]), delete t[r]);
@@ -35734,7 +35745,7 @@ var Yg = bie(), xie = Object.defineProperty, x = (t, e) => xie(t, "name", { valu
}), Object.keys(t).forEach((r) => {
typeof t[r] == "string" && (t[r].includes("<") || t[r].includes(">") || t[r].includes("url(data:")) && delete t[r], typeof t[r] == "object" && Rie(t[r]);
}));
-}, "sanitize"), pvt = /* @__PURE__ */ x((t) => {
+}, "sanitize"), gvt = /* @__PURE__ */ x((t) => {
var e;
p3(t), t.fontFamily && !((e = t.themeVariables) != null && e.fontFamily) && (t.themeVariables = {
...t.themeVariables,
@@ -35742,13 +35753,13 @@ var Yg = bie(), xie = Object.defineProperty, x = (t, e) => xie(t, "name", { valu
}), Gg.push(t), CT(Sa, Gg);
}, "addDirective"), g3 = /* @__PURE__ */ x((t = Sa) => {
Gg = [], CT(t, Gg);
-}, "reset"), gvt = {
+}, "reset"), mvt = {
LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."
-}, TU = {}, mvt = /* @__PURE__ */ x((t) => {
- TU[t] || (X.warn(gvt[t]), TU[t] = !0);
+}, TU = {}, vvt = /* @__PURE__ */ x((t) => {
+ TU[t] || (X.warn(mvt[t]), TU[t] = !0);
}, "issueWarning"), Mie = /* @__PURE__ */ x((t) => {
- !t || (t.lazyLoadedDiagrams || t.loadExternalDiagramsAtStartup) && mvt("LAZY_LOAD_DEPRECATED");
-}, "checkConfig"), X1 = /
/gi, vvt = /* @__PURE__ */ x((t) => t ? Iie(t).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), yvt = /* @__PURE__ */ (() => {
+ !t || (t.lazyLoadedDiagrams || t.loadExternalDiagramsAtStartup) && vvt("LAZY_LOAD_DEPRECATED");
+}, "checkConfig"), X1 = /
/gi, yvt = /* @__PURE__ */ x((t) => t ? Iie(t).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), bvt = /* @__PURE__ */ (() => {
let t = !1;
return () => {
t || (Die(), t = !0);
@@ -35765,22 +35776,22 @@ function Die() {
});
}
x(Die, "setupDompurifyHooks");
-var Nie = /* @__PURE__ */ x((t) => (yvt(), Yg.sanitize(t)), "removeScript"), CU = /* @__PURE__ */ x((t, e) => {
+var Nie = /* @__PURE__ */ x((t) => (bvt(), Yg.sanitize(t)), "removeScript"), CU = /* @__PURE__ */ x((t, e) => {
var r;
if (((r = e.flowchart) == null ? void 0 : r.htmlLabels) !== !1) {
const n = e.securityLevel;
- n === "antiscript" || n === "strict" ? t = Nie(t) : n !== "loose" && (t = Iie(t), t = t.replace(//g, ">"), t = t.replace(/=/g, "="), t = Ovt(t));
+ n === "antiscript" || n === "strict" ? t = Nie(t) : n !== "loose" && (t = Iie(t), t = t.replace(//g, ">"), t = t.replace(/=/g, "="), t = kvt(t));
}
return t;
}, "sanitizeMore"), ni = /* @__PURE__ */ x((t, e) => t && (e.dompurifyConfig ? t = Yg.sanitize(CU(t, e), e.dompurifyConfig).toString() : t = Yg.sanitize(CU(t, e), {
FORBID_TAGS: ["style"]
-}).toString(), t), "sanitizeText"), bvt = /* @__PURE__ */ x((t, e) => typeof t == "string" ? ni(t, e) : t.flat().map((r) => ni(r, e)), "sanitizeTextOrArray"), xvt = /* @__PURE__ */ x((t) => X1.test(t), "hasBreaks"), wvt = /* @__PURE__ */ x((t) => t.split(X1), "splitBreaks"), Ovt = /* @__PURE__ */ x((t) => t.replace(/#br#/g, "
"), "placeholderToBreak"), Iie = /* @__PURE__ */ x((t) => t.replace(X1, "#br#"), "breakToPlaceholder"), kvt = /* @__PURE__ */ x((t) => {
+}).toString(), t), "sanitizeText"), xvt = /* @__PURE__ */ x((t, e) => typeof t == "string" ? ni(t, e) : t.flat().map((r) => ni(r, e)), "sanitizeTextOrArray"), wvt = /* @__PURE__ */ x((t) => X1.test(t), "hasBreaks"), Ovt = /* @__PURE__ */ x((t) => t.split(X1), "splitBreaks"), kvt = /* @__PURE__ */ x((t) => t.replace(/#br#/g, "
"), "placeholderToBreak"), Iie = /* @__PURE__ */ x((t) => t.replace(X1, "#br#"), "breakToPlaceholder"), Svt = /* @__PURE__ */ x((t) => {
let e = "";
return t && (e = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, e = e.replaceAll(/\(/g, "\\("), e = e.replaceAll(/\)/g, "\\)")), e;
-}, "getUrl"), bn = /* @__PURE__ */ x((t) => !(t === !1 || ["false", "null", "0"].includes(String(t).trim().toLowerCase())), "evaluate"), Svt = /* @__PURE__ */ x(function(...t) {
+}, "getUrl"), bn = /* @__PURE__ */ x((t) => !(t === !1 || ["false", "null", "0"].includes(String(t).trim().toLowerCase())), "evaluate"), Tvt = /* @__PURE__ */ x(function(...t) {
const e = t.filter((r) => !isNaN(r));
return Math.max(...e);
-}, "getMax"), Tvt = /* @__PURE__ */ x(function(...t) {
+}, "getMax"), Cvt = /* @__PURE__ */ x(function(...t) {
const e = t.filter((r) => !isNaN(r));
return Math.min(...e);
}, "getMin"), sy = /* @__PURE__ */ x(function(t) {
@@ -35789,15 +35800,15 @@ var Nie = /* @__PURE__ */ x((t) => (yvt(), Yg.sanitize(t)), "removeScript"), CU
let i = e[n];
if (i === "," && n > 0 && n + 1 < e.length) {
const s = e[n - 1], a = e[n + 1];
- Cvt(s, a) && (i = s + "," + a, n++, r.pop());
+ Evt(s, a) && (i = s + "," + a, n++, r.pop());
}
- r.push(Evt(i));
+ r.push(_vt(i));
}
return r.join("");
-}, "parseGenericTypes"), k8 = /* @__PURE__ */ x((t, e) => Math.max(0, t.split(e).length - 1), "countOccurrence"), Cvt = /* @__PURE__ */ x((t, e) => {
+}, "parseGenericTypes"), k8 = /* @__PURE__ */ x((t, e) => Math.max(0, t.split(e).length - 1), "countOccurrence"), Evt = /* @__PURE__ */ x((t, e) => {
const r = k8(t, "~"), n = k8(e, "~");
return r === 1 && n === 1;
-}, "shouldCombineSets"), Evt = /* @__PURE__ */ x((t) => {
+}, "shouldCombineSets"), _vt = /* @__PURE__ */ x((t) => {
const e = k8(t, "~");
let r = !1;
if (e <= 1)
@@ -35824,7 +35835,7 @@ var Nie = /* @__PURE__ */ x((t) => (yvt(), Yg.sanitize(t)), "removeScript"), CU
return t;
if (!(EU() || e.legacyMathML || e.forceLegacyMathML))
return t.replace(S8, "MathML is unsupported in this environment.");
- const { default: r } = await Promise.resolve().then(() => MLt), n = e.forceLegacyMathML || !EU() && e.legacyMathML ? "htmlAndMathml" : "mathml";
+ const { default: r } = await Promise.resolve().then(() => DLt), n = e.forceLegacyMathML || !EU() && e.legacyMathML ? "htmlAndMathml" : "mathml";
return t.split(X1).map(
(i) => ca(i) ? `
${i}
` : `${i}
`
).join("").replace(
@@ -35836,26 +35847,26 @@ var Nie = /* @__PURE__ */ x((t) => (yvt(), Yg.sanitize(t)), "removeScript"), CU
}).replace(/\n/g, " ").replace(//g, "")
);
}, "renderKatex"), at = {
- getRows: vvt,
+ getRows: yvt,
sanitizeText: ni,
- sanitizeTextOrArray: bvt,
- hasBreaks: xvt,
- splitBreaks: wvt,
+ sanitizeTextOrArray: xvt,
+ hasBreaks: wvt,
+ splitBreaks: Ovt,
lineBreakRegex: X1,
removeScript: Nie,
- getUrl: kvt,
+ getUrl: Svt,
evaluate: bn,
- getMax: Svt,
- getMin: Tvt
-}, _vt = /* @__PURE__ */ x(function(t, e) {
+ getMax: Tvt,
+ getMin: Cvt
+}, Avt = /* @__PURE__ */ x(function(t, e) {
for (let r of e)
t.attr(r[0], r[1]);
-}, "d3Attrs"), Avt = /* @__PURE__ */ x(function(t, e, r) {
+}, "d3Attrs"), Lvt = /* @__PURE__ */ x(function(t, e, r) {
let n = /* @__PURE__ */ new Map();
return r ? (n.set("width", "100%"), n.set("style", `max-width: ${e}px;`)) : (n.set("height", t), n.set("width", e)), n;
}, "calculateSvgSizeAttrs"), ms = /* @__PURE__ */ x(function(t, e, r, n) {
- const i = Avt(e, r, n);
- _vt(t, i);
+ const i = Lvt(e, r, n);
+ Avt(t, i);
}, "configureSvgSize"), Z1 = /* @__PURE__ */ x(function(t, e, r, n) {
const i = e.node().getBBox(), s = i.width, a = i.height;
X.info(`SVG bounds: ${s}x${a}`, i);
@@ -35863,7 +35874,7 @@ var Nie = /* @__PURE__ */ x((t) => (yvt(), Yg.sanitize(t)), "removeScript"), CU
X.info(`Graph bounds: ${o}x${l}`, t), o = s + r * 2, l = a + r * 2, X.info(`Calculated bounds: ${o}x${l}`), ms(e, l, o, n);
const u = `${i.x - r} ${i.y - r} ${i.width + 2 * r} ${i.height + 2 * r}`;
e.attr("viewBox", u);
-}, "setupGraphViewbox"), A4 = {}, Lvt = /* @__PURE__ */ x((t, e, r) => {
+}, "setupGraphViewbox"), A4 = {}, Rvt = /* @__PURE__ */ x((t, e, r) => {
let n = "";
return t in A4 && A4[t] ? n = A4[t](r) : X.warn(`No theme found for ${t}`), ` & {
font-family: ${r.fontFamily};
@@ -35921,9 +35932,9 @@ var Nie = /* @__PURE__ */ x((t) => (yvt(), Yg.sanitize(t)), "removeScript"), CU
${e}
`;
-}, "getStyles"), Rvt = /* @__PURE__ */ x((t, e) => {
+}, "getStyles"), Mvt = /* @__PURE__ */ x((t, e) => {
e !== void 0 && (A4[t] = e);
-}, "addStylesForDiagram"), Mvt = Lvt, ED = {};
+}, "addStylesForDiagram"), Dvt = Rvt, ED = {};
wie(ED, {
clear: () => Xi,
getAccDescription: () => bs,
@@ -35942,31 +35953,31 @@ var _D = "", AD = "", LD = "", RD = /* @__PURE__ */ x((t) => ni(t, pi()), "sanit
`);
}, "setAccDescription"), bs = /* @__PURE__ */ x(() => LD, "getAccDescription"), fa = /* @__PURE__ */ x((t) => {
AD = RD(t);
-}, "setDiagramTitle"), xs = /* @__PURE__ */ x(() => AD, "getDiagramTitle"), _U = X, Dvt = SD, be = pi, AU = Lie, Pie = Wg, Nvt = /* @__PURE__ */ x((t) => ni(t, be()), "sanitizeText"), $ie = Z1, Ivt = /* @__PURE__ */ x(() => ED, "getCommonDb"), m3 = {}, v3 = /* @__PURE__ */ x((t, e, r) => {
+}, "setDiagramTitle"), xs = /* @__PURE__ */ x(() => AD, "getDiagramTitle"), _U = X, Nvt = SD, be = pi, AU = Lie, Pie = Wg, Ivt = /* @__PURE__ */ x((t) => ni(t, be()), "sanitizeText"), $ie = Z1, Pvt = /* @__PURE__ */ x(() => ED, "getCommonDb"), m3 = {}, v3 = /* @__PURE__ */ x((t, e, r) => {
var n;
- m3[t] && _U.warn(`Diagram with id ${t} already registered. Overwriting.`), m3[t] = e, r && Tie(t, r), Rvt(t, e.styles), (n = e.injectUtils) == null || n.call(
+ m3[t] && _U.warn(`Diagram with id ${t} already registered. Overwriting.`), m3[t] = e, r && Tie(t, r), Mvt(t, e.styles), (n = e.injectUtils) == null || n.call(
e,
_U,
- Dvt,
- be,
Nvt,
+ be,
+ Ivt,
$ie,
- Ivt(),
+ Pvt(),
() => {
}
);
}, "registerDiagram"), T8 = /* @__PURE__ */ x((t) => {
if (t in m3)
return m3[t];
- throw new Pvt(t);
-}, "getDiagram"), ub, Pvt = (ub = class extends Error {
+ throw new $vt(t);
+}, "getDiagram"), ub, $vt = (ub = class extends Error {
constructor(e) {
super(`Diagram ${e} not found.`);
}
}, (() => {
x(ub, "DiagramNotFoundError");
})(), ub);
-const $vt = Object.freeze(
+const Bvt = Object.freeze(
{
left: 0,
top: 0,
@@ -35978,19 +35989,19 @@ const $vt = Object.freeze(
vFlip: !1,
hFlip: !1
}), Bie = Object.freeze({
- ...$vt,
+ ...Bvt,
...y3
-}), Bvt = Object.freeze({
+}), Fvt = Object.freeze({
...Bie,
body: "",
hidden: !1
-}), Fvt = Object.freeze({
+}), zvt = Object.freeze({
width: null,
height: null
-}), zvt = Object.freeze({
- ...Fvt,
+}), Vvt = Object.freeze({
+ ...zvt,
...y3
-}), F6 = /^[a-z0-9]+(-[a-z0-9]+)*$/, Vvt = (t, e, r, n = "") => {
+}), F6 = /^[a-z0-9]+(-[a-z0-9]+)*$/, Uvt = (t, e, r, n = "") => {
const i = t.split(":");
if (t.slice(0, 1) === "@") {
if (i.length < 2 || i.length > 3)
@@ -36026,19 +36037,19 @@ const $vt = Object.freeze(
}
return null;
}, z6 = (t, e) => t ? !!((t.provider === "" || t.provider.match(F6)) && (e && t.prefix === "" || t.prefix.match(F6)) && t.name.match(F6)) : !1;
-function Uvt(t, e) {
+function qvt(t, e) {
const r = {};
!t.hFlip != !e.hFlip && (r.hFlip = !0), !t.vFlip != !e.vFlip && (r.vFlip = !0);
const n = ((t.rotate || 0) + (e.rotate || 0)) % 4;
return n && (r.rotate = n), r;
}
function LU(t, e) {
- const r = Uvt(t, e);
- for (const n in Bvt)
+ const r = qvt(t, e);
+ for (const n in Fvt)
n in y3 ? n in t && !(n in r) && (r[n] = y3[n]) : n in e ? r[n] = e[n] : n in t && (r[n] = t[n]);
return r;
}
-function qvt(t, e) {
+function Yvt(t, e) {
const r = t.icons, n = t.aliases || /* @__PURE__ */ Object.create(null), i = /* @__PURE__ */ Object.create(null);
function s(a) {
if (r[a])
@@ -36063,13 +36074,13 @@ function RU(t, e, r) {
}
return a(e), r.forEach(a), LU(t, s);
}
-function Yvt(t, e) {
+function Qvt(t, e) {
if (t.icons[e])
return RU(t, e, []);
- const r = qvt(t, [e])[e];
+ const r = Yvt(t, [e])[e];
return r ? RU(t, e, r) : null;
}
-const Qvt = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Wvt = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
+const Wvt = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Gvt = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
function MU(t, e, r) {
if (e === 1)
return t;
@@ -36077,11 +36088,11 @@ function MU(t, e, r) {
return Math.ceil(t * e * r) / r;
if (typeof t != "string")
return t;
- const n = t.split(Qvt);
+ const n = t.split(Wvt);
if (n === null || !n.length)
return t;
const i = [];
- let s = n.shift(), a = Wvt.test(s);
+ let s = n.shift(), a = Gvt.test(s);
for (; ; ) {
if (a) {
const o = parseFloat(s);
@@ -36093,7 +36104,7 @@ function MU(t, e, r) {
a = !a;
}
}
-function Gvt(t, e = "defs") {
+function Hvt(t, e = "defs") {
let r = "";
const n = t.indexOf("<" + e);
for (; n >= 0; ) {
@@ -36110,20 +36121,20 @@ function Gvt(t, e = "defs") {
content: t
};
}
-function Hvt(t, e) {
+function Xvt(t, e) {
return t ? "" + t + "" + e : e;
}
-function Xvt(t, e, r) {
- const n = Gvt(t);
- return Hvt(n.defs, e + n.content + r);
+function Zvt(t, e, r) {
+ const n = Hvt(t);
+ return Xvt(n.defs, e + n.content + r);
}
-const Zvt = (t) => t === "unset" || t === "undefined" || t === "none";
-function jvt(t, e) {
+const jvt = (t) => t === "unset" || t === "undefined" || t === "none";
+function Kvt(t, e) {
const r = {
...Bie,
...t
}, n = {
- ...zvt,
+ ...Vvt,
...e
}, i = {
left: r.left,
@@ -36158,7 +36169,7 @@ function jvt(t, e) {
);
break;
}
- w % 2 === 1 && (i.left !== i.top && (O = i.left, i.left = i.top, i.top = O), i.width !== i.height && (O = i.width, i.width = i.height, i.height = O)), v.length && (s = Xvt(
+ w % 2 === 1 && (i.left !== i.top && (O = i.left, i.left = i.top, i.top = O), i.width !== i.height && (O = i.width, i.width = i.height, i.height = O)), v.length && (s = Zvt(
s,
'',
""
@@ -36168,7 +36179,7 @@ function jvt(t, e) {
let h, f;
a === null ? (f = o === null ? "1em" : o === "auto" ? u : o, h = MU(f, l / u)) : (h = a === "auto" ? l : a, f = o === null ? MU(h, u / l) : o === "auto" ? u : o);
const d = {}, p = (m, v) => {
- Zvt(v) || (d[m] = v.toString());
+ jvt(v) || (d[m] = v.toString());
};
p("width", h), p("height", f);
const g = [i.left, i.top, l, u];
@@ -36178,25 +36189,25 @@ function jvt(t, e) {
body: s
};
}
-const Kvt = /\sid="(\S+)"/g, Jvt = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
-let eyt = 0;
-function tyt(t, e = Jvt) {
+const Jvt = /\sid="(\S+)"/g, eyt = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
+let tyt = 0;
+function ryt(t, e = eyt) {
const r = [];
let n;
- for (; n = Kvt.exec(t); )
+ for (; n = Jvt.exec(t); )
r.push(n[1]);
if (!r.length)
return t;
const i = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
return r.forEach((s) => {
- const a = typeof e == "function" ? e(s) : e + (eyt++).toString(), o = s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
+ const a = typeof e == "function" ? e(s) : e + (tyt++).toString(), o = s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
t = t.replace(
new RegExp('([#;"])(' + o + ')([")]|\\.[a-z])', "g"),
"$1" + a + i + "$3"
);
}), t = t.replace(new RegExp(i, "g"), ""), t;
}
-function ryt(t, e) {
+function nyt(t, e) {
let r = t.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
for (const n in e)
r += " " + n + '="' + e[n] + '"';
@@ -36219,8 +36230,8 @@ var Fie = {
else
throw X.error("Invalid icon loader:", e), new Error('Invalid icon loader. Must have either "icons" or "loader" property.');
}
-}, "registerIconPacks"), nyt = /* @__PURE__ */ x(async (t, e) => {
- const r = Vvt(t, !0, e !== void 0);
+}, "registerIconPacks"), iyt = /* @__PURE__ */ x(async (t, e) => {
+ const r = Uvt(t, !0, e !== void 0);
if (!r)
throw new Error(`Invalid icon name: ${t}`);
const n = r.prefix || e;
@@ -36237,19 +36248,19 @@ var Fie = {
throw X.error(o), new Error(`Failed to load icon set: ${r.prefix}`);
}
}
- const s = Yvt(i, r.name);
+ const s = Qvt(i, r.name);
if (!s)
throw new Error(`Icon not found: ${t}`);
return s;
}, "getRegisteredIconData"), E8 = /* @__PURE__ */ x(async (t, e) => {
let r;
try {
- r = await nyt(t, e == null ? void 0 : e.fallbackPrefix);
+ r = await iyt(t, e == null ? void 0 : e.fallbackPrefix);
} catch (s) {
X.error(s), r = Fie;
}
- const n = jvt(r, e);
- return ryt(tyt(n.body), n.attributes);
+ const n = Kvt(r, e);
+ return nyt(ryt(n.body), n.attributes);
}, "getIconSVG"), V0 = /* @__PURE__ */ x(({
flowchart: t
}) => {
@@ -36318,16 +36329,16 @@ qi.relativeFirstCharacters = [".", "/"];
qi.BLANK_URL = "about:blank";
Object.defineProperty(MD, "__esModule", { value: !0 });
var Uf = MD.sanitizeUrl = void 0, Ts = qi;
-function iyt(t) {
+function syt(t) {
return Ts.relativeFirstCharacters.indexOf(t[0]) > -1;
}
-function syt(t) {
+function ayt(t) {
var e = t.replace(Ts.ctrlCharactersRegex, "");
return e.replace(Ts.htmlEntitiesRegex, function(r, n) {
return String.fromCharCode(n);
});
}
-function ayt(t) {
+function oyt(t) {
return URL.canParse(t);
}
function DU(t) {
@@ -36337,17 +36348,17 @@ function DU(t) {
return t;
}
}
-function oyt(t) {
+function lyt(t) {
if (!t)
return Ts.BLANK_URL;
var e, r = DU(t.trim());
do
- r = syt(r).replace(Ts.htmlCtrlEntityRegex, "").replace(Ts.ctrlCharactersRegex, "").replace(Ts.whitespaceEscapeCharsRegex, "").trim(), r = DU(r), e = r.match(Ts.ctrlCharactersRegex) || r.match(Ts.htmlEntitiesRegex) || r.match(Ts.htmlCtrlEntityRegex) || r.match(Ts.whitespaceEscapeCharsRegex);
+ r = ayt(r).replace(Ts.htmlCtrlEntityRegex, "").replace(Ts.ctrlCharactersRegex, "").replace(Ts.whitespaceEscapeCharsRegex, "").trim(), r = DU(r), e = r.match(Ts.ctrlCharactersRegex) || r.match(Ts.htmlEntitiesRegex) || r.match(Ts.htmlCtrlEntityRegex) || r.match(Ts.whitespaceEscapeCharsRegex);
while (e && e.length > 0);
var n = r;
if (!n)
return Ts.BLANK_URL;
- if (iyt(n))
+ if (syt(n))
return n;
var i = n.trimStart(), s = i.match(Ts.urlSchemeRegex);
if (!s)
@@ -36359,23 +36370,23 @@ function oyt(t) {
if (a === "mailto:" || a.includes("://"))
return o;
if (a === "http:" || a === "https:") {
- if (!ayt(o))
+ if (!oyt(o))
return Ts.BLANK_URL;
var l = new URL(o);
return l.protocol = l.protocol.toLowerCase(), l.hostname = l.hostname.toLowerCase(), l.toString();
}
return o;
}
-Uf = MD.sanitizeUrl = oyt;
+Uf = MD.sanitizeUrl = lyt;
function L4(t, e) {
return t == null || e == null ? NaN : t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
}
-function lyt(t, e) {
+function cyt(t, e) {
return t == null || e == null ? NaN : e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
}
function DD(t) {
let e, r, n;
- t.length !== 2 ? (e = L4, r = (o, l) => L4(t(o), l), n = (o, l) => t(o) - l) : (e = t === L4 || t === lyt ? t : cyt, r = t, n = t);
+ t.length !== 2 ? (e = L4, r = (o, l) => L4(t(o), l), n = (o, l) => t(o) - l) : (e = t === L4 || t === cyt ? t : uyt, r = t, n = t);
function i(o, l, u = 0, h = o.length) {
if (u < h) {
if (e(l, l) !== 0)
@@ -36404,17 +36415,17 @@ function DD(t) {
}
return { left: i, center: a, right: s };
}
-function cyt() {
+function uyt() {
return 0;
}
-function uyt(t) {
+function hyt(t) {
return t === null ? NaN : +t;
}
-const hyt = DD(L4), fyt = hyt.right;
-DD(uyt).center;
-const dyt = fyt;
+const fyt = DD(L4), dyt = fyt.right;
+DD(hyt).center;
+const pyt = dyt;
class NU extends Map {
- constructor(e, r = myt) {
+ constructor(e, r = vyt) {
if (super(), Object.defineProperties(this, { _intern: { value: /* @__PURE__ */ new Map() }, _key: { value: r } }), e != null)
for (const [n, i] of e)
this.set(n, i);
@@ -36426,34 +36437,34 @@ class NU extends Map {
return super.has(IU(this, e));
}
set(e, r) {
- return super.set(pyt(this, e), r);
+ return super.set(gyt(this, e), r);
}
delete(e) {
- return super.delete(gyt(this, e));
+ return super.delete(myt(this, e));
}
}
function IU({ _intern: t, _key: e }, r) {
const n = e(r);
return t.has(n) ? t.get(n) : r;
}
-function pyt({ _intern: t, _key: e }, r) {
+function gyt({ _intern: t, _key: e }, r) {
const n = e(r);
return t.has(n) ? t.get(n) : (t.set(n, r), r);
}
-function gyt({ _intern: t, _key: e }, r) {
+function myt({ _intern: t, _key: e }, r) {
const n = e(r);
return t.has(n) && (r = t.get(n), t.delete(n)), r;
}
-function myt(t) {
+function vyt(t) {
return t !== null && typeof t == "object" ? t.valueOf() : t;
}
-const vyt = Math.sqrt(50), yyt = Math.sqrt(10), byt = Math.sqrt(2);
+const yyt = Math.sqrt(50), byt = Math.sqrt(10), xyt = Math.sqrt(2);
function x3(t, e, r) {
- const n = (e - t) / Math.max(0, r), i = Math.floor(Math.log10(n)), s = n / Math.pow(10, i), a = s >= vyt ? 10 : s >= yyt ? 5 : s >= byt ? 2 : 1;
+ const n = (e - t) / Math.max(0, r), i = Math.floor(Math.log10(n)), s = n / Math.pow(10, i), a = s >= yyt ? 10 : s >= byt ? 5 : s >= xyt ? 2 : 1;
let o, l, u;
return i < 0 ? (u = Math.pow(10, -i) / a, o = Math.round(t * u), l = Math.round(e * u), o / u < t && ++o, l / u > e && --l, u = -u) : (u = Math.pow(10, i) * a, o = Math.round(t / u), l = Math.round(e / u), o * u < t && ++o, l * u > e && --l), l < o && 0.5 <= r && r < 2 ? x3(t, e, r * 2) : [o, l, u];
}
-function xyt(t, e, r) {
+function wyt(t, e, r) {
if (e = +e, t = +t, r = +r, !(r > 0))
return [];
if (t === e)
@@ -36485,7 +36496,7 @@ function A8(t, e, r) {
const n = e < t, i = n ? _8(e, t, r) : _8(t, e, r);
return (n ? -1 : 1) * (i < 0 ? 1 / -i : i);
}
-function wyt(t, e) {
+function Oyt(t, e) {
let r;
if (e === void 0)
for (const n of t)
@@ -36497,7 +36508,7 @@ function wyt(t, e) {
}
return r;
}
-function Oyt(t, e) {
+function kyt(t, e) {
let r;
if (e === void 0)
for (const n of t)
@@ -36509,35 +36520,35 @@ function Oyt(t, e) {
}
return r;
}
-function kyt(t, e, r) {
+function Syt(t, e, r) {
t = +t, e = +e, r = (i = arguments.length) < 2 ? (e = t, t = 0, 1) : i < 3 ? 1 : +r;
for (var n = -1, i = Math.max(0, Math.ceil((e - t) / r)) | 0, s = new Array(i); ++n < i; )
s[n] = t + n * r;
return s;
}
-function Syt(t) {
+function Tyt(t) {
return t;
}
var R4 = 1, V6 = 2, L8 = 3, Hw = 4, PU = 1e-6;
-function Tyt(t) {
+function Cyt(t) {
return "translate(" + t + ",0)";
}
-function Cyt(t) {
+function Eyt(t) {
return "translate(0," + t + ")";
}
-function Eyt(t) {
+function _yt(t) {
return (e) => +t(e);
}
-function _yt(t, e) {
+function Ayt(t, e) {
return e = Math.max(0, t.bandwidth() - e * 2) / 2, t.round() && (e = Math.round(e)), (r) => +t(r) + e;
}
-function Ayt() {
+function Lyt() {
return !this.__axis;
}
function qie(t, e) {
- var r = [], n = null, i = null, s = 6, a = 6, o = 3, l = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, u = t === R4 || t === Hw ? -1 : 1, h = t === Hw || t === V6 ? "x" : "y", f = t === R4 || t === L8 ? Tyt : Cyt;
+ var r = [], n = null, i = null, s = 6, a = 6, o = 3, l = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, u = t === R4 || t === Hw ? -1 : 1, h = t === Hw || t === V6 ? "x" : "y", f = t === R4 || t === L8 ? Cyt : Eyt;
function d(p) {
- var g = n == null ? e.ticks ? e.ticks.apply(e, r) : e.domain() : n, m = i == null ? e.tickFormat ? e.tickFormat.apply(e, r) : Syt : i, v = Math.max(s, 0) + o, y = e.range(), b = +y[0] + l, w = +y[y.length - 1] + l, O = (e.bandwidth ? _yt : Eyt)(e.copy(), l), S = p.selection ? p.selection() : p, C = S.selectAll(".domain").data([null]), T = S.selectAll(".tick").data(g, e).order(), L = T.exit(), E = T.enter().append("g").attr("class", "tick"), R = T.select("line"), _ = T.select("text");
+ var g = n == null ? e.ticks ? e.ticks.apply(e, r) : e.domain() : n, m = i == null ? e.tickFormat ? e.tickFormat.apply(e, r) : Tyt : i, v = Math.max(s, 0) + o, y = e.range(), b = +y[0] + l, w = +y[y.length - 1] + l, O = (e.bandwidth ? Ayt : _yt)(e.copy(), l), S = p.selection ? p.selection() : p, C = S.selectAll(".domain").data([null]), T = S.selectAll(".tick").data(g, e).order(), L = T.exit(), E = T.enter().append("g").attr("class", "tick"), R = T.select("line"), _ = T.select("text");
C = C.merge(C.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), T = T.merge(E), R = R.merge(E.append("line").attr("stroke", "currentColor").attr(h + "2", u * s)), _ = _.merge(E.append("text").attr("fill", "currentColor").attr(h, u * v).attr("dy", t === R4 ? "0em" : t === L8 ? "0.71em" : "0.32em")), p !== S && (C = C.transition(p), T = T.transition(p), R = R.transition(p), _ = _.transition(p), L = L.transition(p).attr("opacity", PU).attr("transform", function(A) {
return isFinite(A = O(A)) ? f(A + l) : this.getAttribute("transform");
}), E.attr("opacity", PU).attr("transform", function(A) {
@@ -36545,7 +36556,7 @@ function qie(t, e) {
return f(($ && isFinite($ = $(A)) ? $ : O(A)) + l);
})), L.remove(), C.attr("d", t === Hw || t === V6 ? a ? "M" + u * a + "," + b + "H" + l + "V" + w + "H" + u * a : "M" + l + "," + b + "V" + w : a ? "M" + b + "," + u * a + "V" + l + "H" + w + "V" + u * a : "M" + b + "," + l + "H" + w), T.attr("opacity", 1).attr("transform", function(A) {
return f(O(A) + l);
- }), R.attr(h + "2", u * s), _.attr(h, u * v).text(m), S.filter(Ayt).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", t === V6 ? "start" : t === Hw ? "end" : "middle"), S.each(function() {
+ }), R.attr(h + "2", u * s), _.attr(h, u * v).text(m), S.filter(Lyt).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", t === V6 ? "start" : t === Hw ? "end" : "middle"), S.each(function() {
this.__axis = O;
});
}
@@ -36571,13 +36582,13 @@ function qie(t, e) {
return arguments.length ? (l = +p, d) : l;
}, d;
}
-function Lyt(t) {
+function Ryt(t) {
return qie(R4, t);
}
-function Ryt(t) {
+function Myt(t) {
return qie(L8, t);
}
-var Myt = { value: () => {
+var Dyt = { value: () => {
} };
function Yie() {
for (var t = 0, e = arguments.length, r = {}, n; t < e; ++t) {
@@ -36590,7 +36601,7 @@ function Yie() {
function M4(t) {
this._ = t;
}
-function Dyt(t, e) {
+function Nyt(t, e) {
return t.trim().split(/^|\s+/).map(function(r) {
var n = "", i = r.indexOf(".");
if (i >= 0 && (n = r.slice(i + 1), r = r.slice(0, i)), r && !e.hasOwnProperty(r))
@@ -36601,10 +36612,10 @@ function Dyt(t, e) {
M4.prototype = Yie.prototype = {
constructor: M4,
on: function(t, e) {
- var r = this._, n = Dyt(t + "", r), i, s = -1, a = n.length;
+ var r = this._, n = Nyt(t + "", r), i, s = -1, a = n.length;
if (arguments.length < 2) {
for (; ++s < a; )
- if ((i = (t = n[s]).type) && (i = Nyt(r[i], t.name)))
+ if ((i = (t = n[s]).type) && (i = Iyt(r[i], t.name)))
return i;
return;
}
@@ -36640,7 +36651,7 @@ M4.prototype = Yie.prototype = {
n[i].value.apply(e, r);
}
};
-function Nyt(t, e) {
+function Iyt(t, e) {
for (var r = 0, n = t.length, i; r < n; ++r)
if ((i = t[r]).name === e)
return i.value;
@@ -36648,7 +36659,7 @@ function Nyt(t, e) {
function $U(t, e, r) {
for (var n = 0, i = t.length; n < i; ++n)
if (t[n].name === e) {
- t[n] = Myt, t = t.slice(0, n).concat(t.slice(n + 1));
+ t[n] = Dyt, t = t.slice(0, n).concat(t.slice(n + 1));
break;
}
return r != null && t.push({ name: e, value: r }), t;
@@ -36665,53 +36676,53 @@ function ET(t) {
var e = t += "", r = e.indexOf(":");
return r >= 0 && (e = t.slice(0, r)) !== "xmlns" && (t = t.slice(r + 1)), BU.hasOwnProperty(e) ? { space: BU[e], local: t } : t;
}
-function Iyt(t) {
+function Pyt(t) {
return function() {
var e = this.ownerDocument, r = this.namespaceURI;
return r === R8 && e.documentElement.namespaceURI === R8 ? e.createElement(t) : e.createElementNS(r, t);
};
}
-function Pyt(t) {
+function $yt(t) {
return function() {
return this.ownerDocument.createElementNS(t.space, t.local);
};
}
function Qie(t) {
var e = ET(t);
- return (e.local ? Pyt : Iyt)(e);
+ return (e.local ? $yt : Pyt)(e);
}
-function $yt() {
+function Byt() {
}
function ND(t) {
- return t == null ? $yt : function() {
+ return t == null ? Byt : function() {
return this.querySelector(t);
};
}
-function Byt(t) {
+function Fyt(t) {
typeof t != "function" && (t = ND(t));
for (var e = this._groups, r = e.length, n = new Array(r), i = 0; i < r; ++i)
for (var s = e[i], a = s.length, o = n[i] = new Array(a), l, u, h = 0; h < a; ++h)
(l = s[h]) && (u = t.call(l, l.__data__, h, s)) && ("__data__" in l && (u.__data__ = l.__data__), o[h] = u);
return new ho(n, this._parents);
}
-function Fyt(t) {
+function zyt(t) {
return t == null ? [] : Array.isArray(t) ? t : Array.from(t);
}
-function zyt() {
+function Vyt() {
return [];
}
function Wie(t) {
- return t == null ? zyt : function() {
+ return t == null ? Vyt : function() {
return this.querySelectorAll(t);
};
}
-function Vyt(t) {
+function Uyt(t) {
return function() {
- return Fyt(t.apply(this, arguments));
+ return zyt(t.apply(this, arguments));
};
}
-function Uyt(t) {
- typeof t == "function" ? t = Vyt(t) : t = Wie(t);
+function qyt(t) {
+ typeof t == "function" ? t = Uyt(t) : t = Wie(t);
for (var e = this._groups, r = e.length, n = [], i = [], s = 0; s < r; ++s)
for (var a = e[s], o = a.length, l, u = 0; u < o; ++u)
(l = a[u]) && (n.push(t.call(l, l.__data__, u, a)), i.push(l));
@@ -36727,31 +36738,31 @@ function Hie(t) {
return e.matches(t);
};
}
-var qyt = Array.prototype.find;
-function Yyt(t) {
+var Yyt = Array.prototype.find;
+function Qyt(t) {
return function() {
- return qyt.call(this.children, t);
+ return Yyt.call(this.children, t);
};
}
-function Qyt() {
+function Wyt() {
return this.firstElementChild;
}
-function Wyt(t) {
- return this.select(t == null ? Qyt : Yyt(typeof t == "function" ? t : Hie(t)));
+function Gyt(t) {
+ return this.select(t == null ? Wyt : Qyt(typeof t == "function" ? t : Hie(t)));
}
-var Gyt = Array.prototype.filter;
-function Hyt() {
+var Hyt = Array.prototype.filter;
+function Xyt() {
return Array.from(this.children);
}
-function Xyt(t) {
+function Zyt(t) {
return function() {
- return Gyt.call(this.children, t);
+ return Hyt.call(this.children, t);
};
}
-function Zyt(t) {
- return this.selectAll(t == null ? Hyt : Xyt(typeof t == "function" ? t : Hie(t)));
-}
function jyt(t) {
+ return this.selectAll(t == null ? Xyt : Zyt(typeof t == "function" ? t : Hie(t)));
+}
+function Kyt(t) {
typeof t != "function" && (t = Gie(t));
for (var e = this._groups, r = e.length, n = new Array(r), i = 0; i < r; ++i)
for (var s = e[i], a = s.length, o = n[i] = [], l, u = 0; u < a; ++u)
@@ -36761,7 +36772,7 @@ function jyt(t) {
function Xie(t) {
return new Array(t.length);
}
-function Kyt() {
+function Jyt() {
return new ho(this._enter || this._groups.map(Xie), this._parents);
}
function w3(t, e) {
@@ -36782,18 +36793,18 @@ w3.prototype = {
return this._parent.querySelectorAll(t);
}
};
-function Jyt(t) {
+function e2t(t) {
return function() {
return t;
};
}
-function e2t(t, e, r, n, i, s) {
+function t2t(t, e, r, n, i, s) {
for (var a = 0, o, l = e.length, u = s.length; a < u; ++a)
(o = e[a]) ? (o.__data__ = s[a], n[a] = o) : r[a] = new w3(t, s[a]);
for (; a < l; ++a)
(o = e[a]) && (i[a] = o);
}
-function t2t(t, e, r, n, i, s, a) {
+function r2t(t, e, r, n, i, s, a) {
var o, l, u = /* @__PURE__ */ new Map(), h = e.length, f = s.length, d = new Array(h), p;
for (o = 0; o < h; ++o)
(l = e[o]) && (d[o] = p = a.call(l, l.__data__, o, e) + "", u.has(p) ? i[o] = l : u.set(p, l));
@@ -36802,16 +36813,16 @@ function t2t(t, e, r, n, i, s, a) {
for (o = 0; o < h; ++o)
(l = e[o]) && u.get(d[o]) === l && (i[o] = l);
}
-function r2t(t) {
+function n2t(t) {
return t.__data__;
}
-function n2t(t, e) {
+function i2t(t, e) {
if (!arguments.length)
- return Array.from(this, r2t);
- var r = e ? t2t : e2t, n = this._parents, i = this._groups;
- typeof t != "function" && (t = Jyt(t));
+ return Array.from(this, n2t);
+ var r = e ? r2t : t2t, n = this._parents, i = this._groups;
+ typeof t != "function" && (t = e2t(t));
for (var s = i.length, a = new Array(s), o = new Array(s), l = new Array(s), u = 0; u < s; ++u) {
- var h = n[u], f = i[u], d = f.length, p = i2t(t.call(h, h && h.__data__, u, n)), g = p.length, m = o[u] = new Array(g), v = a[u] = new Array(g), y = l[u] = new Array(d);
+ var h = n[u], f = i[u], d = f.length, p = s2t(t.call(h, h && h.__data__, u, n)), g = p.length, m = o[u] = new Array(g), v = a[u] = new Array(g), y = l[u] = new Array(d);
r(h, f, m, v, y, p, e);
for (var b = 0, w = 0, O, S; b < g; ++b)
if (O = m[b]) {
@@ -36822,17 +36833,17 @@ function n2t(t, e) {
}
return a = new ho(a, n), a._enter = o, a._exit = l, a;
}
-function i2t(t) {
+function s2t(t) {
return typeof t == "object" && "length" in t ? t : Array.from(t);
}
-function s2t() {
+function a2t() {
return new ho(this._exit || this._groups.map(Xie), this._parents);
}
-function a2t(t, e, r) {
+function o2t(t, e, r) {
var n = this.enter(), i = this, s = this.exit();
return typeof t == "function" ? (n = t(n), n && (n = n.selection())) : n = n.append(t + ""), e != null && (i = e(i), i && (i = i.selection())), r == null ? s.remove() : r(s), n && i ? n.merge(i).order() : i;
}
-function o2t(t) {
+function l2t(t) {
for (var e = t.selection ? t.selection() : t, r = this._groups, n = e._groups, i = r.length, s = n.length, a = Math.min(i, s), o = new Array(i), l = 0; l < a; ++l)
for (var u = r[l], h = n[l], f = u.length, d = o[l] = new Array(f), p, g = 0; g < f; ++g)
(p = u[g] || h[g]) && (d[g] = p);
@@ -36840,14 +36851,14 @@ function o2t(t) {
o[l] = r[l];
return new ho(o, this._parents);
}
-function l2t() {
+function c2t() {
for (var t = this._groups, e = -1, r = t.length; ++e < r; )
for (var n = t[e], i = n.length - 1, s = n[i], a; --i >= 0; )
(a = n[i]) && (s && a.compareDocumentPosition(s) ^ 4 && s.parentNode.insertBefore(a, s), s = a);
return this;
}
-function c2t(t) {
- t || (t = u2t);
+function u2t(t) {
+ t || (t = h2t);
function e(f, d) {
return f && d ? t(f.__data__, d.__data__) : !f - !d;
}
@@ -36858,17 +36869,17 @@ function c2t(t) {
}
return new ho(i, this._parents).order();
}
-function u2t(t, e) {
+function h2t(t, e) {
return t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
}
-function h2t() {
+function f2t() {
var t = arguments[0];
return arguments[0] = this, t.apply(null, arguments), this;
}
-function f2t() {
+function d2t() {
return Array.from(this);
}
-function d2t() {
+function p2t() {
for (var t = this._groups, e = 0, r = t.length; e < r; ++e)
for (var n = t[e], i = 0, s = n.length; i < s; ++i) {
var a = n[i];
@@ -36877,104 +36888,104 @@ function d2t() {
}
return null;
}
-function p2t() {
+function g2t() {
let t = 0;
for (const e of this)
++t;
return t;
}
-function g2t() {
+function m2t() {
return !this.node();
}
-function m2t(t) {
+function v2t(t) {
for (var e = this._groups, r = 0, n = e.length; r < n; ++r)
for (var i = e[r], s = 0, a = i.length, o; s < a; ++s)
(o = i[s]) && t.call(o, o.__data__, s, i);
return this;
}
-function v2t(t) {
+function y2t(t) {
return function() {
this.removeAttribute(t);
};
}
-function y2t(t) {
+function b2t(t) {
return function() {
this.removeAttributeNS(t.space, t.local);
};
}
-function b2t(t, e) {
+function x2t(t, e) {
return function() {
this.setAttribute(t, e);
};
}
-function x2t(t, e) {
+function w2t(t, e) {
return function() {
this.setAttributeNS(t.space, t.local, e);
};
}
-function w2t(t, e) {
+function O2t(t, e) {
return function() {
var r = e.apply(this, arguments);
r == null ? this.removeAttribute(t) : this.setAttribute(t, r);
};
}
-function O2t(t, e) {
+function k2t(t, e) {
return function() {
var r = e.apply(this, arguments);
r == null ? this.removeAttributeNS(t.space, t.local) : this.setAttributeNS(t.space, t.local, r);
};
}
-function k2t(t, e) {
+function S2t(t, e) {
var r = ET(t);
if (arguments.length < 2) {
var n = this.node();
return r.local ? n.getAttributeNS(r.space, r.local) : n.getAttribute(r);
}
- return this.each((e == null ? r.local ? y2t : v2t : typeof e == "function" ? r.local ? O2t : w2t : r.local ? x2t : b2t)(r, e));
+ return this.each((e == null ? r.local ? b2t : y2t : typeof e == "function" ? r.local ? k2t : O2t : r.local ? w2t : x2t)(r, e));
}
function Zie(t) {
return t.ownerDocument && t.ownerDocument.defaultView || t.document && t || t.defaultView;
}
-function S2t(t) {
+function T2t(t) {
return function() {
this.style.removeProperty(t);
};
}
-function T2t(t, e, r) {
+function C2t(t, e, r) {
return function() {
this.style.setProperty(t, e, r);
};
}
-function C2t(t, e, r) {
+function E2t(t, e, r) {
return function() {
var n = e.apply(this, arguments);
n == null ? this.style.removeProperty(t) : this.style.setProperty(t, n, r);
};
}
-function E2t(t, e, r) {
- return arguments.length > 1 ? this.each((e == null ? S2t : typeof e == "function" ? C2t : T2t)(t, e, r == null ? "" : r)) : Hg(this.node(), t);
+function _2t(t, e, r) {
+ return arguments.length > 1 ? this.each((e == null ? T2t : typeof e == "function" ? E2t : C2t)(t, e, r == null ? "" : r)) : Hg(this.node(), t);
}
function Hg(t, e) {
return t.style.getPropertyValue(e) || Zie(t).getComputedStyle(t, null).getPropertyValue(e);
}
-function _2t(t) {
+function A2t(t) {
return function() {
delete this[t];
};
}
-function A2t(t, e) {
+function L2t(t, e) {
return function() {
this[t] = e;
};
}
-function L2t(t, e) {
+function R2t(t, e) {
return function() {
var r = e.apply(this, arguments);
r == null ? delete this[t] : this[t] = r;
};
}
-function R2t(t, e) {
- return arguments.length > 1 ? this.each((e == null ? _2t : typeof e == "function" ? L2t : A2t)(t, e)) : this.node()[t];
+function M2t(t, e) {
+ return arguments.length > 1 ? this.each((e == null ? A2t : typeof e == "function" ? R2t : L2t)(t, e)) : this.node()[t];
}
function jie(t) {
return t.trim().split(/^|\s+/);
@@ -37006,22 +37017,22 @@ function ese(t, e) {
for (var r = ID(t), n = -1, i = e.length; ++n < i; )
r.remove(e[n]);
}
-function M2t(t) {
+function D2t(t) {
return function() {
Jie(this, t);
};
}
-function D2t(t) {
+function N2t(t) {
return function() {
ese(this, t);
};
}
-function N2t(t, e) {
+function I2t(t, e) {
return function() {
(e.apply(this, arguments) ? Jie : ese)(this, t);
};
}
-function I2t(t, e) {
+function P2t(t, e) {
var r = jie(t + "");
if (arguments.length < 2) {
for (var n = ID(this.node()), i = -1, s = r.length; ++i < s; )
@@ -37029,102 +37040,102 @@ function I2t(t, e) {
return !1;
return !0;
}
- return this.each((typeof e == "function" ? N2t : e ? M2t : D2t)(r, e));
+ return this.each((typeof e == "function" ? I2t : e ? D2t : N2t)(r, e));
}
-function P2t() {
+function $2t() {
this.textContent = "";
}
-function $2t(t) {
+function B2t(t) {
return function() {
this.textContent = t;
};
}
-function B2t(t) {
+function F2t(t) {
return function() {
var e = t.apply(this, arguments);
this.textContent = e == null ? "" : e;
};
}
-function F2t(t) {
- return arguments.length ? this.each(t == null ? P2t : (typeof t == "function" ? B2t : $2t)(t)) : this.node().textContent;
+function z2t(t) {
+ return arguments.length ? this.each(t == null ? $2t : (typeof t == "function" ? F2t : B2t)(t)) : this.node().textContent;
}
-function z2t() {
+function V2t() {
this.innerHTML = "";
}
-function V2t(t) {
+function U2t(t) {
return function() {
this.innerHTML = t;
};
}
-function U2t(t) {
+function q2t(t) {
return function() {
var e = t.apply(this, arguments);
this.innerHTML = e == null ? "" : e;
};
}
-function q2t(t) {
- return arguments.length ? this.each(t == null ? z2t : (typeof t == "function" ? U2t : V2t)(t)) : this.node().innerHTML;
-}
-function Y2t() {
- this.nextSibling && this.parentNode.appendChild(this);
+function Y2t(t) {
+ return arguments.length ? this.each(t == null ? V2t : (typeof t == "function" ? q2t : U2t)(t)) : this.node().innerHTML;
}
function Q2t() {
- return this.each(Y2t);
+ this.nextSibling && this.parentNode.appendChild(this);
}
function W2t() {
- this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
+ return this.each(Q2t);
}
function G2t() {
- return this.each(W2t);
+ this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
+}
+function H2t() {
+ return this.each(G2t);
}
-function H2t(t) {
+function X2t(t) {
var e = typeof t == "function" ? t : Qie(t);
return this.select(function() {
return this.appendChild(e.apply(this, arguments));
});
}
-function X2t() {
+function Z2t() {
return null;
}
-function Z2t(t, e) {
- var r = typeof t == "function" ? t : Qie(t), n = e == null ? X2t : typeof e == "function" ? e : ND(e);
+function j2t(t, e) {
+ var r = typeof t == "function" ? t : Qie(t), n = e == null ? Z2t : typeof e == "function" ? e : ND(e);
return this.select(function() {
return this.insertBefore(r.apply(this, arguments), n.apply(this, arguments) || null);
});
}
-function j2t() {
+function K2t() {
var t = this.parentNode;
t && t.removeChild(this);
}
-function K2t() {
- return this.each(j2t);
-}
function J2t() {
+ return this.each(K2t);
+}
+function ebt() {
var t = this.cloneNode(!1), e = this.parentNode;
return e ? e.insertBefore(t, this.nextSibling) : t;
}
-function ebt() {
+function tbt() {
var t = this.cloneNode(!0), e = this.parentNode;
return e ? e.insertBefore(t, this.nextSibling) : t;
}
-function tbt(t) {
- return this.select(t ? ebt : J2t);
-}
function rbt(t) {
- return arguments.length ? this.property("__data__", t) : this.node().__data__;
+ return this.select(t ? tbt : ebt);
}
function nbt(t) {
+ return arguments.length ? this.property("__data__", t) : this.node().__data__;
+}
+function ibt(t) {
return function(e) {
t.call(this, e, this.__data__);
};
}
-function ibt(t) {
+function sbt(t) {
return t.trim().split(/^|\s+/).map(function(e) {
var r = "", n = e.indexOf(".");
return n >= 0 && (r = e.slice(n + 1), e = e.slice(0, n)), { type: e, name: r };
});
}
-function sbt(t) {
+function abt(t) {
return function() {
var e = this.__on;
if (!!e) {
@@ -37134,9 +37145,9 @@ function sbt(t) {
}
};
}
-function abt(t, e, r) {
+function obt(t, e, r) {
return function() {
- var n = this.__on, i, s = nbt(e);
+ var n = this.__on, i, s = ibt(e);
if (n) {
for (var a = 0, o = n.length; a < o; ++a)
if ((i = n[a]).type === t.type && i.name === t.name) {
@@ -37147,8 +37158,8 @@ function abt(t, e, r) {
this.addEventListener(t.type, s, r), i = { type: t.type, name: t.name, value: e, listener: s, options: r }, n ? n.push(i) : this.__on = [i];
};
}
-function obt(t, e, r) {
- var n = ibt(t + ""), i, s = n.length, a;
+function lbt(t, e, r) {
+ var n = sbt(t + ""), i, s = n.length, a;
if (arguments.length < 2) {
var o = this.node().__on;
if (o) {
@@ -37159,7 +37170,7 @@ function obt(t, e, r) {
}
return;
}
- for (o = e ? abt : sbt, i = 0; i < s; ++i)
+ for (o = e ? obt : abt, i = 0; i < s; ++i)
this.each(o(n[i], e, r));
return this;
}
@@ -37167,20 +37178,20 @@ function tse(t, e, r) {
var n = Zie(t), i = n.CustomEvent;
typeof i == "function" ? i = new i(e, r) : (i = n.document.createEvent("Event"), r ? (i.initEvent(e, r.bubbles, r.cancelable), i.detail = r.detail) : i.initEvent(e, !1, !1)), t.dispatchEvent(i);
}
-function lbt(t, e) {
+function cbt(t, e) {
return function() {
return tse(this, t, e);
};
}
-function cbt(t, e) {
+function ubt(t, e) {
return function() {
return tse(this, t, e.apply(this, arguments));
};
}
-function ubt(t, e) {
- return this.each((typeof e == "function" ? cbt : lbt)(t, e));
+function hbt(t, e) {
+ return this.each((typeof e == "function" ? ubt : cbt)(t, e));
}
-function* hbt() {
+function* fbt() {
for (var t = this._groups, e = 0, r = t.length; e < r; ++e)
for (var n = t[e], i = 0, s = n.length, a; i < s; ++i)
(a = n[i]) && (yield a);
@@ -37192,46 +37203,46 @@ function ho(t, e) {
function cx() {
return new ho([[document.documentElement]], rse);
}
-function fbt() {
+function dbt() {
return this;
}
ho.prototype = cx.prototype = {
constructor: ho,
- select: Byt,
- selectAll: Uyt,
- selectChild: Wyt,
- selectChildren: Zyt,
- filter: jyt,
- data: n2t,
- enter: Kyt,
- exit: s2t,
- join: a2t,
- merge: o2t,
- selection: fbt,
- order: l2t,
- sort: c2t,
- call: h2t,
- nodes: f2t,
- node: d2t,
- size: p2t,
- empty: g2t,
- each: m2t,
- attr: k2t,
- style: E2t,
- property: R2t,
- classed: I2t,
- text: F2t,
- html: q2t,
- raise: Q2t,
- lower: G2t,
- append: H2t,
- insert: Z2t,
- remove: K2t,
- clone: tbt,
- datum: rbt,
- on: obt,
- dispatch: ubt,
- [Symbol.iterator]: hbt
+ select: Fyt,
+ selectAll: qyt,
+ selectChild: Gyt,
+ selectChildren: jyt,
+ filter: Kyt,
+ data: i2t,
+ enter: Jyt,
+ exit: a2t,
+ join: o2t,
+ merge: l2t,
+ selection: dbt,
+ order: c2t,
+ sort: u2t,
+ call: f2t,
+ nodes: d2t,
+ node: p2t,
+ size: g2t,
+ empty: m2t,
+ each: v2t,
+ attr: S2t,
+ style: _2t,
+ property: M2t,
+ classed: P2t,
+ text: z2t,
+ html: Y2t,
+ raise: W2t,
+ lower: H2t,
+ append: X2t,
+ insert: j2t,
+ remove: J2t,
+ clone: rbt,
+ datum: nbt,
+ on: lbt,
+ dispatch: hbt,
+ [Symbol.iterator]: fbt
};
function et(t) {
return typeof t == "string" ? new ho([[document.querySelector(t)]], [document.documentElement]) : new ho([[t]], rse);
@@ -37247,7 +37258,7 @@ function _T(t, e) {
}
function U0() {
}
-var o2 = 0.7, O3 = 1 / o2, ng = "\\s*([+-]?\\d+)\\s*", l2 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Mc = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", dbt = /^#([0-9a-f]{3,8})$/, pbt = new RegExp(`^rgb\\(${ng},${ng},${ng}\\)$`), gbt = new RegExp(`^rgb\\(${Mc},${Mc},${Mc}\\)$`), mbt = new RegExp(`^rgba\\(${ng},${ng},${ng},${l2}\\)$`), vbt = new RegExp(`^rgba\\(${Mc},${Mc},${Mc},${l2}\\)$`), ybt = new RegExp(`^hsl\\(${l2},${Mc},${Mc}\\)$`), bbt = new RegExp(`^hsla\\(${l2},${Mc},${Mc},${l2}\\)$`), FU = {
+var o2 = 0.7, O3 = 1 / o2, ng = "\\s*([+-]?\\d+)\\s*", l2 = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Mc = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", pbt = /^#([0-9a-f]{3,8})$/, gbt = new RegExp(`^rgb\\(${ng},${ng},${ng}\\)$`), mbt = new RegExp(`^rgb\\(${Mc},${Mc},${Mc}\\)$`), vbt = new RegExp(`^rgba\\(${ng},${ng},${ng},${l2}\\)$`), ybt = new RegExp(`^rgba\\(${Mc},${Mc},${Mc},${l2}\\)$`), bbt = new RegExp(`^hsl\\(${l2},${Mc},${Mc}\\)$`), xbt = new RegExp(`^hsla\\(${l2},${Mc},${Mc},${l2}\\)$`), FU = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -37406,18 +37417,18 @@ ux(U0, s0, {
},
hex: zU,
formatHex: zU,
- formatHex8: xbt,
- formatHsl: wbt,
+ formatHex8: wbt,
+ formatHsl: Obt,
formatRgb: VU,
toString: VU
});
function zU() {
return this.rgb().formatHex();
}
-function xbt() {
+function wbt() {
return this.rgb().formatHex8();
}
-function wbt() {
+function Obt() {
return ise(this).formatHsl();
}
function VU() {
@@ -37425,7 +37436,7 @@ function VU() {
}
function s0(t) {
var e, r;
- return t = (t + "").trim().toLowerCase(), (e = dbt.exec(t)) ? (r = e[1].length, e = parseInt(e[1], 16), r === 6 ? UU(e) : r === 3 ? new Is(e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, (e & 15) << 4 | e & 15, 1) : r === 8 ? Xw(e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, (e & 255) / 255) : r === 4 ? Xw(e >> 12 & 15 | e >> 8 & 240, e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, ((e & 15) << 4 | e & 15) / 255) : null) : (e = pbt.exec(t)) ? new Is(e[1], e[2], e[3], 1) : (e = gbt.exec(t)) ? new Is(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, 1) : (e = mbt.exec(t)) ? Xw(e[1], e[2], e[3], e[4]) : (e = vbt.exec(t)) ? Xw(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, e[4]) : (e = ybt.exec(t)) ? QU(e[1], e[2] / 100, e[3] / 100, 1) : (e = bbt.exec(t)) ? QU(e[1], e[2] / 100, e[3] / 100, e[4]) : FU.hasOwnProperty(t) ? UU(FU[t]) : t === "transparent" ? new Is(NaN, NaN, NaN, 0) : null;
+ return t = (t + "").trim().toLowerCase(), (e = pbt.exec(t)) ? (r = e[1].length, e = parseInt(e[1], 16), r === 6 ? UU(e) : r === 3 ? new Is(e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, (e & 15) << 4 | e & 15, 1) : r === 8 ? Xw(e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, (e & 255) / 255) : r === 4 ? Xw(e >> 12 & 15 | e >> 8 & 240, e >> 8 & 15 | e >> 4 & 240, e >> 4 & 15 | e & 240, ((e & 15) << 4 | e & 15) / 255) : null) : (e = gbt.exec(t)) ? new Is(e[1], e[2], e[3], 1) : (e = mbt.exec(t)) ? new Is(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, 1) : (e = vbt.exec(t)) ? Xw(e[1], e[2], e[3], e[4]) : (e = ybt.exec(t)) ? Xw(e[1] * 255 / 100, e[2] * 255 / 100, e[3] * 255 / 100, e[4]) : (e = bbt.exec(t)) ? QU(e[1], e[2] / 100, e[3] / 100, 1) : (e = xbt.exec(t)) ? QU(e[1], e[2] / 100, e[3] / 100, e[4]) : FU.hasOwnProperty(t) ? UU(FU[t]) : t === "transparent" ? new Is(NaN, NaN, NaN, 0) : null;
}
function UU(t) {
return new Is(t >> 16 & 255, t >> 8 & 255, t & 255, 1);
@@ -37460,14 +37471,14 @@ ux(Is, M8, _T(U0, {
},
hex: qU,
formatHex: qU,
- formatHex8: Obt,
+ formatHex8: kbt,
formatRgb: YU,
toString: YU
}));
function qU() {
return `#${Md(this.r)}${Md(this.g)}${Md(this.b)}`;
}
-function Obt() {
+function kbt() {
return `#${Md(this.r)}${Md(this.g)}${Md(this.b)}${Md((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
function YU() {
@@ -37497,13 +37508,13 @@ function ise(t) {
var e = t.r / 255, r = t.g / 255, n = t.b / 255, i = Math.min(e, r, n), s = Math.max(e, r, n), a = NaN, o = s - i, l = (s + i) / 2;
return o ? (e === s ? a = (r - n) / o + (r < n) * 6 : r === s ? a = (n - e) / o + 2 : a = (e - r) / o + 4, o /= l < 0.5 ? s + i : 2 - s - i, a *= 60) : o = l > 0 && l < 1 ? 0 : a, new vl(a, o, l, t.opacity);
}
-function kbt(t, e, r, n) {
+function Sbt(t, e, r, n) {
return arguments.length === 1 ? ise(t) : new vl(t, e, r, n == null ? 1 : n);
}
function vl(t, e, r, n) {
this.h = +t, this.s = +e, this.l = +r, this.opacity = +n;
}
-ux(vl, kbt, _T(U0, {
+ux(vl, Sbt, _T(U0, {
brighter(t) {
return t = t == null ? O3 : Math.pow(O3, t), new vl(this.h, this.s, this.l * t, this.opacity);
},
@@ -37539,7 +37550,7 @@ function Zw(t) {
function U6(t, e, r) {
return (t < 60 ? e + (r - e) * t / 60 : t < 180 ? r : t < 240 ? e + (r - e) * (240 - t) / 60 : e) * 255;
}
-const Sbt = Math.PI / 180, Tbt = 180 / Math.PI, S3 = 18, sse = 0.96422, ase = 1, ose = 0.82521, lse = 4 / 29, ig = 6 / 29, cse = 3 * ig * ig, Cbt = ig * ig * ig;
+const Tbt = Math.PI / 180, Cbt = 180 / Math.PI, S3 = 18, sse = 0.96422, ase = 1, ose = 0.82521, lse = 4 / 29, ig = 6 / 29, cse = 3 * ig * ig, Ebt = ig * ig * ig;
function use(t) {
if (t instanceof Dc)
return new Dc(t.l, t.a, t.b, t.opacity);
@@ -37549,13 +37560,13 @@ function use(t) {
var e = W6(t.r), r = W6(t.g), n = W6(t.b), i = q6((0.2225045 * e + 0.7168786 * r + 0.0606169 * n) / ase), s, a;
return e === r && r === n ? s = a = i : (s = q6((0.4360747 * e + 0.3850649 * r + 0.1430804 * n) / sse), a = q6((0.0139322 * e + 0.0971045 * r + 0.7141733 * n) / ose)), new Dc(116 * i - 16, 500 * (s - i), 200 * (i - a), t.opacity);
}
-function Ebt(t, e, r, n) {
+function _bt(t, e, r, n) {
return arguments.length === 1 ? use(t) : new Dc(t, e, r, n == null ? 1 : n);
}
function Dc(t, e, r, n) {
this.l = +t, this.a = +e, this.b = +r, this.opacity = +n;
}
-ux(Dc, Ebt, _T(U0, {
+ux(Dc, _bt, _T(U0, {
brighter(t) {
return new Dc(this.l + S3 * (t == null ? 1 : t), this.a, this.b, this.opacity);
},
@@ -37573,7 +37584,7 @@ ux(Dc, Ebt, _T(U0, {
}
}));
function q6(t) {
- return t > Cbt ? Math.pow(t, 1 / 3) : t / cse + lse;
+ return t > Ebt ? Math.pow(t, 1 / 3) : t / cse + lse;
}
function Y6(t) {
return t > ig ? t * t * t : cse * (t - lse);
@@ -37584,16 +37595,16 @@ function Q6(t) {
function W6(t) {
return (t /= 255) <= 0.04045 ? t / 12.92 : Math.pow((t + 0.055) / 1.055, 2.4);
}
-function _bt(t) {
+function Abt(t) {
if (t instanceof xu)
return new xu(t.h, t.c, t.l, t.opacity);
if (t instanceof Dc || (t = use(t)), t.a === 0 && t.b === 0)
return new xu(NaN, 0 < t.l && t.l < 100 ? 0 : NaN, t.l, t.opacity);
- var e = Math.atan2(t.b, t.a) * Tbt;
+ var e = Math.atan2(t.b, t.a) * Cbt;
return new xu(e < 0 ? e + 360 : e, Math.sqrt(t.a * t.a + t.b * t.b), t.l, t.opacity);
}
function D8(t, e, r, n) {
- return arguments.length === 1 ? _bt(t) : new xu(t, e, r, n == null ? 1 : n);
+ return arguments.length === 1 ? Abt(t) : new xu(t, e, r, n == null ? 1 : n);
}
function xu(t, e, r, n) {
this.h = +t, this.c = +e, this.l = +r, this.opacity = +n;
@@ -37601,7 +37612,7 @@ function xu(t, e, r, n) {
function hse(t) {
if (isNaN(t.h))
return new Dc(t.l, 0, 0, t.opacity);
- var e = t.h * Sbt;
+ var e = t.h * Tbt;
return new Dc(t.l, Math.cos(e) * t.c, Math.sin(e) * t.c, t.opacity);
}
ux(xu, D8, _T(U0, {
@@ -37621,18 +37632,18 @@ function fse(t, e) {
return t + r * e;
};
}
-function Abt(t, e, r) {
+function Lbt(t, e, r) {
return t = Math.pow(t, r), e = Math.pow(e, r) - t, r = 1 / r, function(n) {
return Math.pow(t + n * e, r);
};
}
-function Lbt(t, e) {
+function Rbt(t, e) {
var r = e - t;
return r ? fse(t, r > 180 || r < -180 ? r - 360 * Math.round(r / 360) : r) : AT(isNaN(t) ? e : t);
}
-function Rbt(t) {
+function Mbt(t) {
return (t = +t) == 1 ? ay : function(e, r) {
- return r - e ? Abt(e, r, t) : AT(isNaN(e) ? r : e);
+ return r - e ? Lbt(e, r, t) : AT(isNaN(e) ? r : e);
};
}
function ay(t, e) {
@@ -37640,7 +37651,7 @@ function ay(t, e) {
return r ? fse(t, r) : AT(isNaN(t) ? e : t);
}
const T3 = function t(e) {
- var r = Rbt(e);
+ var r = Mbt(e);
function n(i, s) {
var a = r((i = M8(i)).r, (s = M8(s)).r), o = r(i.g, s.g), l = r(i.b, s.b), u = ay(i.opacity, s.opacity);
return function(h) {
@@ -37649,7 +37660,7 @@ const T3 = function t(e) {
}
return n.gamma = t, n;
}(1);
-function Mbt(t, e) {
+function Dbt(t, e) {
e || (e = []);
var r = t ? Math.min(e.length, t.length) : 0, n = e.slice(), i;
return function(s) {
@@ -37658,10 +37669,10 @@ function Mbt(t, e) {
return n;
};
}
-function Dbt(t) {
+function Nbt(t) {
return ArrayBuffer.isView(t) && !(t instanceof DataView);
}
-function Nbt(t, e) {
+function Ibt(t, e) {
var r = e ? e.length : 0, n = t ? Math.min(r, t.length) : 0, i = new Array(n), s = new Array(r), a;
for (a = 0; a < n; ++a)
i[a] = PD(t[a], e[a]);
@@ -37673,7 +37684,7 @@ function Nbt(t, e) {
return s;
};
}
-function Ibt(t, e) {
+function Pbt(t, e) {
var r = new Date();
return t = +t, e = +e, function(n) {
return r.setTime(t * (1 - n) + e * n), r;
@@ -37684,7 +37695,7 @@ function gl(t, e) {
return t * (1 - r) + e * r;
};
}
-function Pbt(t, e) {
+function $bt(t, e) {
var r = {}, n = {}, i;
(t === null || typeof t != "object") && (t = {}), (e === null || typeof e != "object") && (e = {});
for (i in e)
@@ -37696,12 +37707,12 @@ function Pbt(t, e) {
};
}
var N8 = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, G6 = new RegExp(N8.source, "g");
-function $bt(t) {
+function Bbt(t) {
return function() {
return t;
};
}
-function Bbt(t) {
+function Fbt(t) {
return function(e) {
return t(e) + "";
};
@@ -37710,7 +37721,7 @@ function dse(t, e) {
var r = N8.lastIndex = G6.lastIndex = 0, n, i, s, a = -1, o = [], l = [];
for (t = t + "", e = e + ""; (n = N8.exec(t)) && (i = G6.exec(e)); )
(s = i.index) > r && (s = e.slice(r, s), o[a] ? o[a] += s : o[++a] = s), (n = n[0]) === (i = i[0]) ? o[a] ? o[a] += i : o[++a] = i : (o[++a] = null, l.push({ i: a, x: gl(n, i) })), r = G6.lastIndex;
- return r < e.length && (s = e.slice(r), o[a] ? o[a] += s : o[++a] = s), o.length < 2 ? l[0] ? Bbt(l[0].x) : $bt(e) : (e = l.length, function(u) {
+ return r < e.length && (s = e.slice(r), o[a] ? o[a] += s : o[++a] = s), o.length < 2 ? l[0] ? Fbt(l[0].x) : Bbt(e) : (e = l.length, function(u) {
for (var h = 0, f; h < e; ++h)
o[(f = l[h]).i] = f.x(u);
return o.join("");
@@ -37718,9 +37729,9 @@ function dse(t, e) {
}
function PD(t, e) {
var r = typeof e, n;
- return e == null || r === "boolean" ? AT(e) : (r === "number" ? gl : r === "string" ? (n = s0(e)) ? (e = n, T3) : dse : e instanceof s0 ? T3 : e instanceof Date ? Ibt : Dbt(e) ? Mbt : Array.isArray(e) ? Nbt : typeof e.valueOf != "function" && typeof e.toString != "function" || isNaN(e) ? Pbt : gl)(t, e);
+ return e == null || r === "boolean" ? AT(e) : (r === "number" ? gl : r === "string" ? (n = s0(e)) ? (e = n, T3) : dse : e instanceof s0 ? T3 : e instanceof Date ? Pbt : Nbt(e) ? Dbt : Array.isArray(e) ? Ibt : typeof e.valueOf != "function" && typeof e.toString != "function" || isNaN(e) ? $bt : gl)(t, e);
}
-function Fbt(t, e) {
+function zbt(t, e) {
return t = +t, e = +e, function(r) {
return Math.round(t * (1 - r) + e * r);
};
@@ -37745,11 +37756,11 @@ function pse(t, e, r, n, i, s) {
};
}
var jw;
-function zbt(t) {
+function Vbt(t) {
const e = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(t + "");
return e.isIdentity ? I8 : pse(e.a, e.b, e.c, e.d, e.e, e.f);
}
-function Vbt(t) {
+function Ubt(t) {
return t == null || (jw || (jw = document.createElementNS("http://www.w3.org/2000/svg", "g")), jw.setAttribute("transform", t), !(t = jw.transform.baseVal.consolidate())) ? I8 : (t = t.matrix, pse(t.a, t.b, t.c, t.d, t.e, t.f));
}
function gse(t, e, r, n) {
@@ -37785,8 +37796,8 @@ function gse(t, e, r, n) {
};
};
}
-var Ubt = gse(zbt, "px, ", "px)", "deg)"), qbt = gse(Vbt, ", ", ")", ")");
-function Ybt(t) {
+var qbt = gse(Vbt, "px, ", "px)", "deg)"), Ybt = gse(Ubt, ", ", ")", ")");
+function Qbt(t) {
return function(e, r) {
var n = t((e = D8(e)).h, (r = D8(r)).h), i = ay(e.c, r.c), s = ay(e.l, r.l), a = ay(e.opacity, r.opacity);
return function(o) {
@@ -37794,14 +37805,14 @@ function Ybt(t) {
};
};
}
-const Qbt = Ybt(Lbt);
+const Wbt = Qbt(Rbt);
var Xg = 0, wv = 0, Ym = 0, mse = 1e3, C3, Ov, E3 = 0, a0 = 0, LT = 0, c2 = typeof performance == "object" && performance.now ? performance : Date, vse = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(t) {
setTimeout(t, 17);
};
function $D() {
- return a0 || (vse(Wbt), a0 = c2.now() + LT);
+ return a0 || (vse(Gbt), a0 = c2.now() + LT);
}
-function Wbt() {
+function Gbt() {
a0 = 0;
}
function _3() {
@@ -37822,7 +37833,7 @@ function yse(t, e, r) {
var n = new _3();
return n.restart(t, e, r), n;
}
-function Gbt() {
+function Hbt() {
$D(), ++Xg;
for (var t = C3, e; t; )
(e = a0 - t._time) >= 0 && t._call.call(void 0, e), t = t._next;
@@ -37831,16 +37842,16 @@ function Gbt() {
function HU() {
a0 = (E3 = c2.now()) + LT, Xg = wv = 0;
try {
- Gbt();
+ Hbt();
} finally {
- Xg = 0, Xbt(), a0 = 0;
+ Xg = 0, Zbt(), a0 = 0;
}
}
-function Hbt() {
+function Xbt() {
var t = c2.now(), e = t - E3;
e > mse && (LT -= e, E3 = t);
}
-function Xbt() {
+function Zbt() {
for (var t, e = C3, r, n = 1 / 0; e; )
e._call ? (n > e._time && (n = e._time), t = e, e = e._next) : (r = e._next, e._next = null, e = t ? t._next = r : C3 = r);
Ov = t, P8(n);
@@ -37849,7 +37860,7 @@ function P8(t) {
if (!Xg) {
wv && (wv = clearTimeout(wv));
var e = t - a0;
- e > 24 ? (t < 1 / 0 && (wv = setTimeout(HU, t - c2.now() - LT)), Ym && (Ym = clearInterval(Ym))) : (Ym || (E3 = c2.now(), Ym = setInterval(Hbt, mse)), Xg = 1, vse(HU));
+ e > 24 ? (t < 1 / 0 && (wv = setTimeout(HU, t - c2.now() - LT)), Ym && (Ym = clearInterval(Ym))) : (Ym || (E3 = c2.now(), Ym = setInterval(Xbt, mse)), Xg = 1, vse(HU));
}
}
function XU(t, e, r) {
@@ -37858,19 +37869,19 @@ function XU(t, e, r) {
n.stop(), t(i + e);
}, e, r), n;
}
-var Zbt = Yie("start", "end", "cancel", "interrupt"), jbt = [], bse = 0, ZU = 1, $8 = 2, D4 = 3, jU = 4, B8 = 5, N4 = 6;
+var jbt = Yie("start", "end", "cancel", "interrupt"), Kbt = [], bse = 0, ZU = 1, $8 = 2, D4 = 3, jU = 4, B8 = 5, N4 = 6;
function RT(t, e, r, n, i, s) {
var a = t.__transition;
if (!a)
t.__transition = {};
else if (r in a)
return;
- Kbt(t, r, {
+ Jbt(t, r, {
name: e,
index: n,
group: i,
- on: Zbt,
- tween: jbt,
+ on: jbt,
+ tween: Kbt,
time: s.time,
delay: s.delay,
duration: s.duration,
@@ -37897,7 +37908,7 @@ function Wl(t, e) {
throw new Error("transition not found");
return r;
}
-function Kbt(t, e, r) {
+function Jbt(t, e, r) {
var n = t.__transition, i;
n[e] = r, r.timer = yse(s, 0, r.time);
function s(u) {
@@ -37933,7 +37944,7 @@ function Kbt(t, e, r) {
delete t.__transition;
}
}
-function Jbt(t, e) {
+function ext(t, e) {
var r = t.__transition, n, i, s = !0, a;
if (!!r) {
e = e == null ? null : e + "";
@@ -37947,12 +37958,12 @@ function Jbt(t, e) {
s && delete t.__transition;
}
}
-function ext(t) {
+function txt(t) {
return this.each(function() {
- Jbt(this, t);
+ ext(this, t);
});
}
-function txt(t, e) {
+function rxt(t, e) {
var r, n;
return function() {
var i = Zc(this, t), s = i.tween;
@@ -37967,7 +37978,7 @@ function txt(t, e) {
i.tween = n;
};
}
-function rxt(t, e, r) {
+function nxt(t, e, r) {
var n, i;
if (typeof r != "function")
throw new Error();
@@ -37985,7 +37996,7 @@ function rxt(t, e, r) {
s.tween = i;
};
}
-function nxt(t, e) {
+function ixt(t, e) {
var r = this._id;
if (t += "", arguments.length < 2) {
for (var n = Wl(this.node(), r).tween, i = 0, s = n.length, a; i < s; ++i)
@@ -37993,7 +38004,7 @@ function nxt(t, e) {
return a.value;
return null;
}
- return this.each((e == null ? txt : rxt)(r, t, e));
+ return this.each((e == null ? rxt : nxt)(r, t, e));
}
function FD(t, e, r) {
var n = t._id;
@@ -38008,75 +38019,75 @@ function xse(t, e) {
var r;
return (typeof e == "number" ? gl : e instanceof s0 ? T3 : (r = s0(e)) ? (e = r, T3) : dse)(t, e);
}
-function ixt(t) {
+function sxt(t) {
return function() {
this.removeAttribute(t);
};
}
-function sxt(t) {
+function axt(t) {
return function() {
this.removeAttributeNS(t.space, t.local);
};
}
-function axt(t, e, r) {
+function oxt(t, e, r) {
var n, i = r + "", s;
return function() {
var a = this.getAttribute(t);
return a === i ? null : a === n ? s : s = e(n = a, r);
};
}
-function oxt(t, e, r) {
+function lxt(t, e, r) {
var n, i = r + "", s;
return function() {
var a = this.getAttributeNS(t.space, t.local);
return a === i ? null : a === n ? s : s = e(n = a, r);
};
}
-function lxt(t, e, r) {
+function cxt(t, e, r) {
var n, i, s;
return function() {
var a, o = r(this), l;
return o == null ? void this.removeAttribute(t) : (a = this.getAttribute(t), l = o + "", a === l ? null : a === n && l === i ? s : (i = l, s = e(n = a, o)));
};
}
-function cxt(t, e, r) {
+function uxt(t, e, r) {
var n, i, s;
return function() {
var a, o = r(this), l;
return o == null ? void this.removeAttributeNS(t.space, t.local) : (a = this.getAttributeNS(t.space, t.local), l = o + "", a === l ? null : a === n && l === i ? s : (i = l, s = e(n = a, o)));
};
}
-function uxt(t, e) {
- var r = ET(t), n = r === "transform" ? qbt : xse;
- return this.attrTween(t, typeof e == "function" ? (r.local ? cxt : lxt)(r, n, FD(this, "attr." + t, e)) : e == null ? (r.local ? sxt : ixt)(r) : (r.local ? oxt : axt)(r, n, e));
-}
function hxt(t, e) {
+ var r = ET(t), n = r === "transform" ? Ybt : xse;
+ return this.attrTween(t, typeof e == "function" ? (r.local ? uxt : cxt)(r, n, FD(this, "attr." + t, e)) : e == null ? (r.local ? axt : sxt)(r) : (r.local ? lxt : oxt)(r, n, e));
+}
+function fxt(t, e) {
return function(r) {
this.setAttribute(t, e.call(this, r));
};
}
-function fxt(t, e) {
+function dxt(t, e) {
return function(r) {
this.setAttributeNS(t.space, t.local, e.call(this, r));
};
}
-function dxt(t, e) {
+function pxt(t, e) {
var r, n;
function i() {
var s = e.apply(this, arguments);
- return s !== n && (r = (n = s) && fxt(t, s)), r;
+ return s !== n && (r = (n = s) && dxt(t, s)), r;
}
return i._value = e, i;
}
-function pxt(t, e) {
+function gxt(t, e) {
var r, n;
function i() {
var s = e.apply(this, arguments);
- return s !== n && (r = (n = s) && hxt(t, s)), r;
+ return s !== n && (r = (n = s) && fxt(t, s)), r;
}
return i._value = e, i;
}
-function gxt(t, e) {
+function mxt(t, e) {
var r = "attr." + t;
if (arguments.length < 2)
return (r = this.tween(r)) && r._value;
@@ -38085,48 +38096,48 @@ function gxt(t, e) {
if (typeof e != "function")
throw new Error();
var n = ET(t);
- return this.tween(r, (n.local ? dxt : pxt)(n, e));
+ return this.tween(r, (n.local ? pxt : gxt)(n, e));
}
-function mxt(t, e) {
+function vxt(t, e) {
return function() {
BD(this, t).delay = +e.apply(this, arguments);
};
}
-function vxt(t, e) {
+function yxt(t, e) {
return e = +e, function() {
BD(this, t).delay = e;
};
}
-function yxt(t) {
+function bxt(t) {
var e = this._id;
- return arguments.length ? this.each((typeof t == "function" ? mxt : vxt)(e, t)) : Wl(this.node(), e).delay;
+ return arguments.length ? this.each((typeof t == "function" ? vxt : yxt)(e, t)) : Wl(this.node(), e).delay;
}
-function bxt(t, e) {
+function xxt(t, e) {
return function() {
Zc(this, t).duration = +e.apply(this, arguments);
};
}
-function xxt(t, e) {
+function wxt(t, e) {
return e = +e, function() {
Zc(this, t).duration = e;
};
}
-function wxt(t) {
+function Oxt(t) {
var e = this._id;
- return arguments.length ? this.each((typeof t == "function" ? bxt : xxt)(e, t)) : Wl(this.node(), e).duration;
+ return arguments.length ? this.each((typeof t == "function" ? xxt : wxt)(e, t)) : Wl(this.node(), e).duration;
}
-function Oxt(t, e) {
+function kxt(t, e) {
if (typeof e != "function")
throw new Error();
return function() {
Zc(this, t).ease = e;
};
}
-function kxt(t) {
+function Sxt(t) {
var e = this._id;
- return arguments.length ? this.each(Oxt(e, t)) : Wl(this.node(), e).ease;
+ return arguments.length ? this.each(kxt(e, t)) : Wl(this.node(), e).ease;
}
-function Sxt(t, e) {
+function Txt(t, e) {
return function() {
var r = e.apply(this, arguments);
if (typeof r != "function")
@@ -38134,19 +38145,19 @@ function Sxt(t, e) {
Zc(this, t).ease = r;
};
}
-function Txt(t) {
+function Cxt(t) {
if (typeof t != "function")
throw new Error();
- return this.each(Sxt(this._id, t));
+ return this.each(Txt(this._id, t));
}
-function Cxt(t) {
+function Ext(t) {
typeof t != "function" && (t = Gie(t));
for (var e = this._groups, r = e.length, n = new Array(r), i = 0; i < r; ++i)
for (var s = e[i], a = s.length, o = n[i] = [], l, u = 0; u < a; ++u)
(l = s[u]) && t.call(l, l.__data__, u, s) && o.push(l);
return new Uu(n, this._parents, this._name, this._id);
}
-function Ext(t) {
+function _xt(t) {
if (t._id !== this._id)
throw new Error();
for (var e = this._groups, r = t._groups, n = e.length, i = r.length, s = Math.min(n, i), a = new Array(n), o = 0; o < s; ++o)
@@ -38156,24 +38167,24 @@ function Ext(t) {
a[o] = e[o];
return new Uu(a, this._parents, this._name, this._id);
}
-function _xt(t) {
+function Axt(t) {
return (t + "").trim().split(/^|\s+/).every(function(e) {
var r = e.indexOf(".");
return r >= 0 && (e = e.slice(0, r)), !e || e === "start";
});
}
-function Axt(t, e, r) {
- var n, i, s = _xt(e) ? BD : Zc;
+function Lxt(t, e, r) {
+ var n, i, s = Axt(e) ? BD : Zc;
return function() {
var a = s(this, t), o = a.on;
o !== n && (i = (n = o).copy()).on(e, r), a.on = i;
};
}
-function Lxt(t, e) {
+function Rxt(t, e) {
var r = this._id;
- return arguments.length < 2 ? Wl(this.node(), r).on.on(t) : this.each(Axt(r, t, e));
+ return arguments.length < 2 ? Wl(this.node(), r).on.on(t) : this.each(Lxt(r, t, e));
}
-function Rxt(t) {
+function Mxt(t) {
return function() {
var e = this.parentNode;
for (var r in this.__transition)
@@ -38182,10 +38193,10 @@ function Rxt(t) {
e && e.removeChild(this);
};
}
-function Mxt() {
- return this.on("end.remove", Rxt(this._id));
+function Dxt() {
+ return this.on("end.remove", Mxt(this._id));
}
-function Dxt(t) {
+function Nxt(t) {
var e = this._name, r = this._id;
typeof t != "function" && (t = ND(t));
for (var n = this._groups, i = n.length, s = new Array(i), a = 0; a < i; ++a)
@@ -38193,7 +38204,7 @@ function Dxt(t) {
(h = o[d]) && (f = t.call(h, h.__data__, d, o)) && ("__data__" in h && (f.__data__ = h.__data__), u[d] = f, RT(u[d], e, r, d, u, Wl(h, r)));
return new Uu(s, this._parents, e, r);
}
-function Nxt(t) {
+function Ixt(t) {
var e = this._name, r = this._id;
typeof t != "function" && (t = Wie(t));
for (var n = this._groups, i = n.length, s = [], a = [], o = 0; o < i; ++o)
@@ -38205,11 +38216,11 @@ function Nxt(t) {
}
return new Uu(s, a, e, r);
}
-var Ixt = cx.prototype.constructor;
-function Pxt() {
- return new Ixt(this._groups, this._parents);
+var Pxt = cx.prototype.constructor;
+function $xt() {
+ return new Pxt(this._groups, this._parents);
}
-function $xt(t, e) {
+function Bxt(t, e) {
var r, n, i;
return function() {
var s = Hg(this, t), a = (this.style.removeProperty(t), Hg(this, t));
@@ -38221,45 +38232,45 @@ function wse(t) {
this.style.removeProperty(t);
};
}
-function Bxt(t, e, r) {
+function Fxt(t, e, r) {
var n, i = r + "", s;
return function() {
var a = Hg(this, t);
return a === i ? null : a === n ? s : s = e(n = a, r);
};
}
-function Fxt(t, e, r) {
+function zxt(t, e, r) {
var n, i, s;
return function() {
var a = Hg(this, t), o = r(this), l = o + "";
return o == null && (l = o = (this.style.removeProperty(t), Hg(this, t))), a === l ? null : a === n && l === i ? s : (i = l, s = e(n = a, o));
};
}
-function zxt(t, e) {
+function Vxt(t, e) {
var r, n, i, s = "style." + e, a = "end." + s, o;
return function() {
var l = Zc(this, t), u = l.on, h = l.value[s] == null ? o || (o = wse(e)) : void 0;
(u !== r || i !== h) && (n = (r = u).copy()).on(a, i = h), l.on = n;
};
}
-function Vxt(t, e, r) {
- var n = (t += "") == "transform" ? Ubt : xse;
- return e == null ? this.styleTween(t, $xt(t, n)).on("end.style." + t, wse(t)) : typeof e == "function" ? this.styleTween(t, Fxt(t, n, FD(this, "style." + t, e))).each(zxt(this._id, t)) : this.styleTween(t, Bxt(t, n, e), r).on("end.style." + t, null);
-}
function Uxt(t, e, r) {
+ var n = (t += "") == "transform" ? qbt : xse;
+ return e == null ? this.styleTween(t, Bxt(t, n)).on("end.style." + t, wse(t)) : typeof e == "function" ? this.styleTween(t, zxt(t, n, FD(this, "style." + t, e))).each(Vxt(this._id, t)) : this.styleTween(t, Fxt(t, n, e), r).on("end.style." + t, null);
+}
+function qxt(t, e, r) {
return function(n) {
this.style.setProperty(t, e.call(this, n), r);
};
}
-function qxt(t, e, r) {
+function Yxt(t, e, r) {
var n, i;
function s() {
var a = e.apply(this, arguments);
- return a !== i && (n = (i = a) && Uxt(t, a, r)), n;
+ return a !== i && (n = (i = a) && qxt(t, a, r)), n;
}
return s._value = e, s;
}
-function Yxt(t, e, r) {
+function Qxt(t, e, r) {
var n = "style." + (t += "");
if (arguments.length < 2)
return (n = this.tween(n)) && n._value;
@@ -38267,36 +38278,36 @@ function Yxt(t, e, r) {
return this.tween(n, null);
if (typeof e != "function")
throw new Error();
- return this.tween(n, qxt(t, e, r == null ? "" : r));
+ return this.tween(n, Yxt(t, e, r == null ? "" : r));
}
-function Qxt(t) {
+function Wxt(t) {
return function() {
this.textContent = t;
};
}
-function Wxt(t) {
+function Gxt(t) {
return function() {
var e = t(this);
this.textContent = e == null ? "" : e;
};
}
-function Gxt(t) {
- return this.tween("text", typeof t == "function" ? Wxt(FD(this, "text", t)) : Qxt(t == null ? "" : t + ""));
-}
function Hxt(t) {
+ return this.tween("text", typeof t == "function" ? Gxt(FD(this, "text", t)) : Wxt(t == null ? "" : t + ""));
+}
+function Xxt(t) {
return function(e) {
this.textContent = t.call(this, e);
};
}
-function Xxt(t) {
+function Zxt(t) {
var e, r;
function n() {
var i = t.apply(this, arguments);
- return i !== r && (e = (r = i) && Hxt(i)), e;
+ return i !== r && (e = (r = i) && Xxt(i)), e;
}
return n._value = t, n;
}
-function Zxt(t) {
+function jxt(t) {
var e = "text";
if (arguments.length < 1)
return (e = this.tween(e)) && e._value;
@@ -38304,9 +38315,9 @@ function Zxt(t) {
return this.tween(e, null);
if (typeof t != "function")
throw new Error();
- return this.tween(e, Xxt(t));
+ return this.tween(e, Zxt(t));
}
-function jxt() {
+function Kxt() {
for (var t = this._name, e = this._id, r = Ose(), n = this._groups, i = n.length, s = 0; s < i; ++s)
for (var a = n[s], o = a.length, l, u = 0; u < o; ++u)
if (l = a[u]) {
@@ -38320,7 +38331,7 @@ function jxt() {
}
return new Uu(n, this._parents, t, r);
}
-function Kxt() {
+function Jxt() {
var t, e, r = this, n = r._id, i = r.size();
return new Promise(function(s, a) {
var o = { value: a }, l = { value: function() {
@@ -38332,78 +38343,78 @@ function Kxt() {
}), i === 0 && s();
});
}
-var Jxt = 0;
+var ewt = 0;
function Uu(t, e, r, n) {
this._groups = t, this._parents = e, this._name = r, this._id = n;
}
function Ose() {
- return ++Jxt;
+ return ++ewt;
}
var lu = cx.prototype;
Uu.prototype = {
constructor: Uu,
- select: Dxt,
- selectAll: Nxt,
+ select: Nxt,
+ selectAll: Ixt,
selectChild: lu.selectChild,
selectChildren: lu.selectChildren,
- filter: Cxt,
- merge: Ext,
- selection: Pxt,
- transition: jxt,
+ filter: Ext,
+ merge: _xt,
+ selection: $xt,
+ transition: Kxt,
call: lu.call,
nodes: lu.nodes,
node: lu.node,
size: lu.size,
empty: lu.empty,
each: lu.each,
- on: Lxt,
- attr: uxt,
- attrTween: gxt,
- style: Vxt,
- styleTween: Yxt,
- text: Gxt,
- textTween: Zxt,
- remove: Mxt,
- tween: nxt,
- delay: yxt,
- duration: wxt,
- ease: kxt,
- easeVarying: Txt,
- end: Kxt,
+ on: Rxt,
+ attr: hxt,
+ attrTween: mxt,
+ style: Uxt,
+ styleTween: Qxt,
+ text: Hxt,
+ textTween: jxt,
+ remove: Dxt,
+ tween: ixt,
+ delay: bxt,
+ duration: Oxt,
+ ease: Sxt,
+ easeVarying: Cxt,
+ end: Jxt,
[Symbol.iterator]: lu[Symbol.iterator]
};
-function ewt(t) {
+function twt(t) {
return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;
}
-var twt = {
+var rwt = {
time: null,
delay: 0,
duration: 250,
- ease: ewt
+ ease: twt
};
-function rwt(t, e) {
+function nwt(t, e) {
for (var r; !(r = t.__transition) || !(r = r[e]); )
if (!(t = t.parentNode))
throw new Error(`transition ${e} not found`);
return r;
}
-function nwt(t) {
+function iwt(t) {
var e, r;
- t instanceof Uu ? (e = t._id, t = t._name) : (e = Ose(), (r = twt).time = $D(), t = t == null ? null : t + "");
+ t instanceof Uu ? (e = t._id, t = t._name) : (e = Ose(), (r = rwt).time = $D(), t = t == null ? null : t + "");
for (var n = this._groups, i = n.length, s = 0; s < i; ++s)
for (var a = n[s], o = a.length, l, u = 0; u < o; ++u)
- (l = a[u]) && RT(l, t, e, u, a, r || rwt(l, e));
+ (l = a[u]) && RT(l, t, e, u, a, r || nwt(l, e));
return new Uu(n, this._parents, t, e);
}
-cx.prototype.interrupt = ext;
-cx.prototype.transition = nwt;
-const F8 = Math.PI, z8 = 2 * F8, ld = 1e-6, iwt = z8 - ld;
+cx.prototype.interrupt = txt;
+cx.prototype.transition = iwt;
+const F8 = Math.PI, z8 = 2 * F8, ld = 1e-6, swt = z8 - ld;
function kse(t) {
this._ += t[0];
for (let e = 1, r = t.length; e < r; ++e)
this._ += arguments[e] + t[e];
}
-function swt(t) {
+function awt(t) {
let e = Math.floor(t);
if (!(e >= 0))
throw new Error(`invalid digits: ${t}`);
@@ -38416,9 +38427,9 @@ function swt(t) {
this._ += Math.round(arguments[i] * r) / r + n[i];
};
}
-class awt {
+class owt {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? kse : swt(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? kse : awt(e);
}
moveTo(e, r) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +r}`;
@@ -38453,7 +38464,7 @@ class awt {
if (e = +e, r = +r, n = +n, a = !!a, n < 0)
throw new Error(`negative radius: ${n}`);
let o = n * Math.cos(i), l = n * Math.sin(i), u = e + o, h = r + l, f = 1 ^ a, d = a ? i - s : s - i;
- this._x1 === null ? this._append`M${u},${h}` : (Math.abs(this._x1 - u) > ld || Math.abs(this._y1 - h) > ld) && this._append`L${u},${h}`, n && (d < 0 && (d = d % z8 + z8), d > iwt ? this._append`A${n},${n},0,1,${f},${e - o},${r - l}A${n},${n},0,1,${f},${this._x1 = u},${this._y1 = h}` : d > ld && this._append`A${n},${n},0,${+(d >= F8)},${f},${this._x1 = e + n * Math.cos(s)},${this._y1 = r + n * Math.sin(s)}`);
+ this._x1 === null ? this._append`M${u},${h}` : (Math.abs(this._x1 - u) > ld || Math.abs(this._y1 - h) > ld) && this._append`L${u},${h}`, n && (d < 0 && (d = d % z8 + z8), d > swt ? this._append`A${n},${n},0,1,${f},${e - o},${r - l}A${n},${n},0,1,${f},${this._x1 = u},${this._y1 = h}` : d > ld && this._append`A${n},${n},0,${+(d >= F8)},${f},${this._x1 = e + n * Math.cos(s)},${this._y1 = r + n * Math.sin(s)}`);
}
rect(e, r, n, i) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +r}h${n = +n}v${+i}h${-n}Z`;
@@ -38462,7 +38473,7 @@ class awt {
return this._;
}
}
-function owt(t) {
+function lwt(t) {
return Math.abs(t = Math.round(t)) >= 1e21 ? t.toLocaleString("en").replace(/,/g, "") : t.toString(10);
}
function A3(t, e) {
@@ -38477,23 +38488,23 @@ function A3(t, e) {
function Zg(t) {
return t = A3(Math.abs(t)), t ? t[1] : NaN;
}
-function lwt(t, e) {
+function cwt(t, e) {
return function(r, n) {
for (var i = r.length, s = [], a = 0, o = t[0], l = 0; i > 0 && o > 0 && (l + o + 1 > n && (o = Math.max(1, n - l)), s.push(r.substring(i -= o, i + o)), !((l += o + 1) > n)); )
o = t[a = (a + 1) % t.length];
return s.reverse().join(e);
};
}
-function cwt(t) {
+function uwt(t) {
return function(e) {
return e.replace(/[0-9]/g, function(r) {
return t[+r];
});
};
}
-var uwt = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+var hwt = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
function L3(t) {
- if (!(e = uwt.exec(t)))
+ if (!(e = hwt.exec(t)))
throw new Error("invalid format: " + t);
var e;
return new zD({
@@ -38516,7 +38527,7 @@ function zD(t) {
zD.prototype.toString = function() {
return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
};
-function hwt(t) {
+function fwt(t) {
e:
for (var e = t.length, r = 1, n = -1, i; r < e; ++r)
switch (t[r]) {
@@ -38535,7 +38546,7 @@ function hwt(t) {
return n > 0 ? t.slice(0, n) + t.slice(i + 1) : t;
}
var Sse;
-function fwt(t, e) {
+function dwt(t, e) {
var r = A3(t, e);
if (!r)
return t + "";
@@ -38553,14 +38564,14 @@ const JU = {
"%": (t, e) => (t * 100).toFixed(e),
b: (t) => Math.round(t).toString(2),
c: (t) => t + "",
- d: owt,
+ d: lwt,
e: (t, e) => t.toExponential(e),
f: (t, e) => t.toFixed(e),
g: (t, e) => t.toPrecision(e),
o: (t) => Math.round(t).toString(8),
p: (t, e) => KU(t * 100, e),
r: KU,
- s: fwt,
+ s: dwt,
X: (t) => Math.round(t).toString(16).toUpperCase(),
x: (t) => Math.round(t).toString(16)
};
@@ -38568,8 +38579,8 @@ function eq(t) {
return t;
}
var tq = Array.prototype.map, rq = ["y", "z", "a", "f", "p", "n", "\xB5", "m", "", "k", "M", "G", "T", "P", "E", "Z", "Y"];
-function dwt(t) {
- var e = t.grouping === void 0 || t.thousands === void 0 ? eq : lwt(tq.call(t.grouping, Number), t.thousands + ""), r = t.currency === void 0 ? "" : t.currency[0] + "", n = t.currency === void 0 ? "" : t.currency[1] + "", i = t.decimal === void 0 ? "." : t.decimal + "", s = t.numerals === void 0 ? eq : cwt(tq.call(t.numerals, String)), a = t.percent === void 0 ? "%" : t.percent + "", o = t.minus === void 0 ? "\u2212" : t.minus + "", l = t.nan === void 0 ? "NaN" : t.nan + "";
+function pwt(t) {
+ var e = t.grouping === void 0 || t.thousands === void 0 ? eq : cwt(tq.call(t.grouping, Number), t.thousands + ""), r = t.currency === void 0 ? "" : t.currency[0] + "", n = t.currency === void 0 ? "" : t.currency[1] + "", i = t.decimal === void 0 ? "." : t.decimal + "", s = t.numerals === void 0 ? eq : uwt(tq.call(t.numerals, String)), a = t.percent === void 0 ? "%" : t.percent + "", o = t.minus === void 0 ? "\u2212" : t.minus + "", l = t.nan === void 0 ? "NaN" : t.nan + "";
function u(f) {
f = L3(f);
var d = f.fill, p = f.align, g = f.sign, m = f.symbol, v = f.zero, y = f.width, b = f.comma, w = f.precision, O = f.trim, S = f.type;
@@ -38583,7 +38594,7 @@ function dwt(t) {
else {
_ = +_;
var I = _ < 0 || 1 / _ < 0;
- if (_ = isNaN(_) ? l : L(Math.abs(_), w), O && (_ = hwt(_)), I && +_ == 0 && g !== "+" && (I = !1), A = (I ? g === "(" ? g : o : g === "-" || g === "(" ? "" : g) + A, $ = (S === "s" ? rq[8 + Sse / 3] : "") + $ + (I && g === "(" ? ")" : ""), E) {
+ if (_ = isNaN(_) ? l : L(Math.abs(_), w), O && (_ = fwt(_)), I && +_ == 0 && g !== "+" && (I = !1), A = (I ? g === "(" ? g : o : g === "-" || g === "(" ? "" : g) + A, $ = (S === "s" ? rq[8 + Sse / 3] : "") + $ + (I && g === "(" ? ")" : ""), E) {
for (k = -1, N = _.length; ++k < N; )
if (M = _.charCodeAt(k), 48 > M || M > 57) {
$ = (M === 46 ? i + _.slice(k + 1) : _.slice(k)) + $, _ = _.slice(0, k);
@@ -38625,21 +38636,21 @@ function dwt(t) {
};
}
var Kw, Tse, Cse;
-pwt({
+gwt({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function pwt(t) {
- return Kw = dwt(t), Tse = Kw.format, Cse = Kw.formatPrefix, Kw;
-}
function gwt(t) {
+ return Kw = pwt(t), Tse = Kw.format, Cse = Kw.formatPrefix, Kw;
+}
+function mwt(t) {
return Math.max(0, -Zg(Math.abs(t)));
}
-function mwt(t, e) {
+function vwt(t, e) {
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(Zg(e) / 3))) * 3 - Zg(Math.abs(t)));
}
-function vwt(t, e) {
+function ywt(t, e) {
return t = Math.abs(t), e = Math.abs(e) - t, Math.max(0, Zg(e) - Zg(t)) + 1;
}
function MT(t, e) {
@@ -38688,7 +38699,7 @@ function V8() {
function f() {
var d = e().length, p = i < n, g = p ? i : n, m = p ? n : i;
s = (m - g) / Math.max(1, d - l + u * 2), o && (s = Math.floor(s)), g += (m - g - s * (d - l)) * h, a = s * (1 - l), o && (g = Math.round(g), a = Math.round(a));
- var v = kyt(d).map(function(y) {
+ var v = Syt(d).map(function(y) {
return g + s * y;
});
return r(p ? v.reverse() : v);
@@ -38717,12 +38728,12 @@ function V8() {
return V8(e(), [n, i]).round(o).paddingInner(l).paddingOuter(u).align(h);
}, MT.apply(f(), arguments);
}
-function ywt(t) {
+function bwt(t) {
return function() {
return t;
};
}
-function bwt(t) {
+function xwt(t) {
return +t;
}
var iq = [0, 1];
@@ -38732,37 +38743,37 @@ function Pp(t) {
function U8(t, e) {
return (e -= t = +t) ? function(r) {
return (r - t) / e;
- } : ywt(isNaN(e) ? NaN : 0.5);
+ } : bwt(isNaN(e) ? NaN : 0.5);
}
-function xwt(t, e) {
+function wwt(t, e) {
var r;
return t > e && (r = t, t = e, e = r), function(n) {
return Math.max(t, Math.min(e, n));
};
}
-function wwt(t, e, r) {
+function Owt(t, e, r) {
var n = t[0], i = t[1], s = e[0], a = e[1];
return i < n ? (n = U8(i, n), s = r(a, s)) : (n = U8(n, i), s = r(s, a)), function(o) {
return s(n(o));
};
}
-function Owt(t, e, r) {
+function kwt(t, e, r) {
var n = Math.min(t.length, e.length) - 1, i = new Array(n), s = new Array(n), a = -1;
for (t[n] < t[0] && (t = t.slice().reverse(), e = e.slice().reverse()); ++a < n; )
i[a] = U8(t[a], t[a + 1]), s[a] = r(e[a], e[a + 1]);
return function(o) {
- var l = dyt(t, o, 1, n) - 1;
+ var l = pyt(t, o, 1, n) - 1;
return s[l](i[l](o));
};
}
function Ese(t, e) {
return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown());
}
-function kwt() {
+function Swt() {
var t = iq, e = iq, r = PD, n, i, s, a = Pp, o, l, u;
function h() {
var d = Math.min(t.length, e.length);
- return a !== Pp && (a = xwt(t[0], t[d - 1])), o = d > 2 ? Owt : wwt, l = u = null, f;
+ return a !== Pp && (a = wwt(t[0], t[d - 1])), o = d > 2 ? kwt : Owt, l = u = null, f;
}
function f(d) {
return d == null || isNaN(d = +d) ? s : (l || (l = o(t.map(n), e, r)))(n(a(d)));
@@ -38770,11 +38781,11 @@ function kwt() {
return f.invert = function(d) {
return a(i((u || (u = o(e, t.map(n), gl)))(d)));
}, f.domain = function(d) {
- return arguments.length ? (t = Array.from(d, bwt), h()) : t.slice();
+ return arguments.length ? (t = Array.from(d, xwt), h()) : t.slice();
}, f.range = function(d) {
return arguments.length ? (e = Array.from(d), h()) : e.slice();
}, f.rangeRound = function(d) {
- return e = Array.from(d), r = Fbt, h();
+ return e = Array.from(d), r = zbt, h();
}, f.clamp = function(d) {
return arguments.length ? (a = d ? !0 : Pp, h()) : a !== Pp;
}, f.interpolate = function(d) {
@@ -38786,39 +38797,39 @@ function kwt() {
};
}
function _se() {
- return kwt()(Pp, Pp);
+ return Swt()(Pp, Pp);
}
-function Swt(t, e, r, n) {
+function Twt(t, e, r, n) {
var i = A8(t, e, r), s;
switch (n = L3(n == null ? ",f" : n), n.type) {
case "s": {
var a = Math.max(Math.abs(t), Math.abs(e));
- return n.precision == null && !isNaN(s = mwt(i, a)) && (n.precision = s), Cse(n, a);
+ return n.precision == null && !isNaN(s = vwt(i, a)) && (n.precision = s), Cse(n, a);
}
case "":
case "e":
case "g":
case "p":
case "r": {
- n.precision == null && !isNaN(s = vwt(i, Math.max(Math.abs(t), Math.abs(e)))) && (n.precision = s - (n.type === "e"));
+ n.precision == null && !isNaN(s = ywt(i, Math.max(Math.abs(t), Math.abs(e)))) && (n.precision = s - (n.type === "e"));
break;
}
case "f":
case "%": {
- n.precision == null && !isNaN(s = gwt(i)) && (n.precision = s - (n.type === "%") * 2);
+ n.precision == null && !isNaN(s = mwt(i)) && (n.precision = s - (n.type === "%") * 2);
break;
}
}
return Tse(n);
}
-function Twt(t) {
+function Cwt(t) {
var e = t.domain;
return t.ticks = function(r) {
var n = e();
- return xyt(n[0], n[n.length - 1], r == null ? 10 : r);
+ return wyt(n[0], n[n.length - 1], r == null ? 10 : r);
}, t.tickFormat = function(r, n) {
var i = e();
- return Swt(i[0], i[i.length - 1], r == null ? 10 : r, n);
+ return Twt(i[0], i[i.length - 1], r == null ? 10 : r, n);
}, t.nice = function(r) {
r == null && (r = 10);
var n = e(), i = 0, s = n.length - 1, a = n[i], o = n[s], l, u, h = 10;
@@ -38840,9 +38851,9 @@ function jg() {
var t = _se();
return t.copy = function() {
return Ese(t, jg());
- }, MT.apply(t, arguments), Twt(t);
+ }, MT.apply(t, arguments), Cwt(t);
}
-function Cwt(t, e) {
+function Ewt(t, e) {
t = t.slice();
var r = 0, n = t.length - 1, i = t[r], s = t[n], a;
return s < i && (a = r, r = n, n = a, a = i, i = s, s = a), t[r] = e.floor(i), t[n] = e.ceil(s), t;
@@ -38961,14 +38972,14 @@ function Y0(t) {
e.setUTCDate(e.getUTCDate() + r * 7);
}, (e, r) => (r - e) / VD);
}
-const qD = Y0(0), R3 = Y0(1), Ewt = Y0(2), _wt = Y0(3), Jg = Y0(4), Awt = Y0(5), Lwt = Y0(6);
+const qD = Y0(0), R3 = Y0(1), _wt = Y0(2), Awt = Y0(3), Jg = Y0(4), Lwt = Y0(5), Rwt = Y0(6);
qD.range;
R3.range;
-Ewt.range;
_wt.range;
-Jg.range;
Awt.range;
+Jg.range;
Lwt.range;
+Rwt.range;
const d2 = Pi((t) => {
t.setDate(1), t.setHours(0, 0, 0, 0);
}, (t, e) => {
@@ -39042,7 +39053,7 @@ function $se(t, e, r, n, i, s) {
return [o, l];
}
$se(vf, Pse, qD, Rse, Lse, Ase);
-const [Rwt, Mwt] = $se(Yu, d2, hx, o0, h2, u2);
+const [Mwt, Dwt] = $se(Yu, d2, hx, o0, h2, u2);
function j6(t) {
if (0 <= t.y && t.y < 100) {
var e = new Date(-1, t.m, t.d, t.H, t.M, t.S, t.L);
@@ -39060,7 +39071,7 @@ function K6(t) {
function Qm(t, e, r) {
return { y: t, m: e, d: r, H: 0, M: 0, S: 0, L: 0 };
}
-function Dwt(t) {
+function Nwt(t) {
var e = t.dateTime, r = t.date, n = t.time, i = t.periods, s = t.days, a = t.shortDays, o = t.months, l = t.shortMonths, u = Wm(i), h = Gm(i), f = Wm(s), d = Gm(s), p = Wm(a), g = Gm(a), m = Wm(o), v = Gm(o), y = Wm(l), b = Gm(l), w = {
a: I,
A: D,
@@ -39069,30 +39080,30 @@ function Dwt(t) {
c: null,
d: hq,
e: hq,
- f: rOt,
- g: fOt,
- G: pOt,
- H: Jwt,
- I: eOt,
- j: tOt,
+ f: nOt,
+ g: dOt,
+ G: gOt,
+ H: eOt,
+ I: tOt,
+ j: rOt,
L: Bse,
- m: nOt,
- M: iOt,
+ m: iOt,
+ M: sOt,
p: B,
q: V,
Q: pq,
s: gq,
- S: sOt,
- u: aOt,
- U: oOt,
- V: lOt,
- w: cOt,
- W: uOt,
+ S: aOt,
+ u: oOt,
+ U: lOt,
+ V: cOt,
+ w: uOt,
+ W: hOt,
x: null,
X: null,
- y: hOt,
- Y: dOt,
- Z: gOt,
+ y: fOt,
+ Y: pOt,
+ Z: mOt,
"%": dq
}, O = {
a: Y,
@@ -39102,30 +39113,30 @@ function Dwt(t) {
c: null,
d: fq,
e: fq,
- f: bOt,
- g: AOt,
- G: ROt,
- H: mOt,
- I: vOt,
- j: yOt,
+ f: xOt,
+ g: LOt,
+ G: MOt,
+ H: vOt,
+ I: yOt,
+ j: bOt,
L: zse,
- m: xOt,
- M: wOt,
+ m: wOt,
+ M: OOt,
p: ne,
q: ie,
Q: pq,
s: gq,
- S: OOt,
- u: kOt,
- U: SOt,
- V: TOt,
- w: COt,
- W: EOt,
+ S: kOt,
+ u: SOt,
+ U: TOt,
+ V: COt,
+ w: EOt,
+ W: _Ot,
x: null,
X: null,
- y: _Ot,
- Y: LOt,
- Z: MOt,
+ y: AOt,
+ Y: ROt,
+ Z: DOt,
"%": dq
}, S = {
a: R,
@@ -39135,31 +39146,31 @@ function Dwt(t) {
c: k,
d: cq,
e: cq,
- f: Xwt,
+ f: Zwt,
g: lq,
G: oq,
H: uq,
I: uq,
- j: Qwt,
- L: Hwt,
- m: Ywt,
- M: Wwt,
+ j: Wwt,
+ L: Xwt,
+ m: Qwt,
+ M: Gwt,
p: E,
- q: qwt,
- Q: jwt,
- s: Kwt,
- S: Gwt,
- u: Bwt,
- U: Fwt,
- V: zwt,
- w: $wt,
- W: Vwt,
+ q: Ywt,
+ Q: Kwt,
+ s: Jwt,
+ S: Hwt,
+ u: Fwt,
+ U: zwt,
+ V: Vwt,
+ w: Bwt,
+ W: Uwt,
x: N,
X: M,
y: lq,
Y: oq,
- Z: Uwt,
- "%": Zwt
+ Z: qwt,
+ "%": jwt
};
w.x = C(r, w), w.X = C(n, w), w.c = C(e, w), O.x = C(r, O), O.X = C(n, O), O.c = C(e, O);
function C(U, Z) {
@@ -39292,37 +39303,37 @@ function Dwt(t) {
}
};
}
-var aq = { "-": "", _: " ", 0: "0" }, ji = /^\s*\d+/, Nwt = /^%/, Iwt = /[\\^$*+?|[\]().{}]/g;
+var aq = { "-": "", _: " ", 0: "0" }, ji = /^\s*\d+/, Iwt = /^%/, Pwt = /[\\^$*+?|[\]().{}]/g;
function Nr(t, e, r) {
var n = t < 0 ? "-" : "", i = (n ? -t : t) + "", s = i.length;
return n + (s < r ? new Array(r - s + 1).join(e) + i : i);
}
-function Pwt(t) {
- return t.replace(Iwt, "\\$&");
+function $wt(t) {
+ return t.replace(Pwt, "\\$&");
}
function Wm(t) {
- return new RegExp("^(?:" + t.map(Pwt).join("|") + ")", "i");
+ return new RegExp("^(?:" + t.map($wt).join("|") + ")", "i");
}
function Gm(t) {
return new Map(t.map((e, r) => [e.toLowerCase(), r]));
}
-function $wt(t, e, r) {
+function Bwt(t, e, r) {
var n = ji.exec(e.slice(r, r + 1));
return n ? (t.w = +n[0], r + n[0].length) : -1;
}
-function Bwt(t, e, r) {
+function Fwt(t, e, r) {
var n = ji.exec(e.slice(r, r + 1));
return n ? (t.u = +n[0], r + n[0].length) : -1;
}
-function Fwt(t, e, r) {
+function zwt(t, e, r) {
var n = ji.exec(e.slice(r, r + 2));
return n ? (t.U = +n[0], r + n[0].length) : -1;
}
-function zwt(t, e, r) {
+function Vwt(t, e, r) {
var n = ji.exec(e.slice(r, r + 2));
return n ? (t.V = +n[0], r + n[0].length) : -1;
}
-function Vwt(t, e, r) {
+function Uwt(t, e, r) {
var n = ji.exec(e.slice(r, r + 2));
return n ? (t.W = +n[0], r + n[0].length) : -1;
}
@@ -39334,15 +39345,15 @@ function lq(t, e, r) {
var n = ji.exec(e.slice(r, r + 2));
return n ? (t.y = +n[0] + (+n[0] > 68 ? 1900 : 2e3), r + n[0].length) : -1;
}
-function Uwt(t, e, r) {
+function qwt(t, e, r) {
var n = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r, r + 6));
return n ? (t.Z = n[1] ? 0 : -(n[2] + (n[3] || "00")), r + n[0].length) : -1;
}
-function qwt(t, e, r) {
+function Ywt(t, e, r) {
var n = ji.exec(e.slice(r, r + 1));
return n ? (t.q = n[0] * 3 - 3, r + n[0].length) : -1;
}
-function Ywt(t, e, r) {
+function Qwt(t, e, r) {
var n = ji.exec(e.slice(r, r + 2));
return n ? (t.m = n[0] - 1, r + n[0].length) : -1;
}
@@ -39350,7 +39361,7 @@ function cq(t, e, r) {
var n = ji.exec(e.slice(r, r + 2));
return n ? (t.d = +n[0], r + n[0].length) : -1;
}
-function Qwt(t, e, r) {
+function Wwt(t, e, r) {
var n = ji.exec(e.slice(r, r + 3));
return n ? (t.m = 0, t.d = +n[0], r + n[0].length) : -1;
}
@@ -39358,159 +39369,159 @@ function uq(t, e, r) {
var n = ji.exec(e.slice(r, r + 2));
return n ? (t.H = +n[0], r + n[0].length) : -1;
}
-function Wwt(t, e, r) {
+function Gwt(t, e, r) {
var n = ji.exec(e.slice(r, r + 2));
return n ? (t.M = +n[0], r + n[0].length) : -1;
}
-function Gwt(t, e, r) {
+function Hwt(t, e, r) {
var n = ji.exec(e.slice(r, r + 2));
return n ? (t.S = +n[0], r + n[0].length) : -1;
}
-function Hwt(t, e, r) {
+function Xwt(t, e, r) {
var n = ji.exec(e.slice(r, r + 3));
return n ? (t.L = +n[0], r + n[0].length) : -1;
}
-function Xwt(t, e, r) {
+function Zwt(t, e, r) {
var n = ji.exec(e.slice(r, r + 6));
return n ? (t.L = Math.floor(n[0] / 1e3), r + n[0].length) : -1;
}
-function Zwt(t, e, r) {
- var n = Nwt.exec(e.slice(r, r + 1));
+function jwt(t, e, r) {
+ var n = Iwt.exec(e.slice(r, r + 1));
return n ? r + n[0].length : -1;
}
-function jwt(t, e, r) {
+function Kwt(t, e, r) {
var n = ji.exec(e.slice(r));
return n ? (t.Q = +n[0], r + n[0].length) : -1;
}
-function Kwt(t, e, r) {
+function Jwt(t, e, r) {
var n = ji.exec(e.slice(r));
return n ? (t.s = +n[0], r + n[0].length) : -1;
}
function hq(t, e) {
return Nr(t.getDate(), e, 2);
}
-function Jwt(t, e) {
+function eOt(t, e) {
return Nr(t.getHours(), e, 2);
}
-function eOt(t, e) {
+function tOt(t, e) {
return Nr(t.getHours() % 12 || 12, e, 2);
}
-function tOt(t, e) {
+function rOt(t, e) {
return Nr(1 + o0.count(Yu(t), t), e, 3);
}
function Bse(t, e) {
return Nr(t.getMilliseconds(), e, 3);
}
-function rOt(t, e) {
+function nOt(t, e) {
return Bse(t, e) + "000";
}
-function nOt(t, e) {
+function iOt(t, e) {
return Nr(t.getMonth() + 1, e, 2);
}
-function iOt(t, e) {
+function sOt(t, e) {
return Nr(t.getMinutes(), e, 2);
}
-function sOt(t, e) {
+function aOt(t, e) {
return Nr(t.getSeconds(), e, 2);
}
-function aOt(t) {
+function oOt(t) {
var e = t.getDay();
return e === 0 ? 7 : e;
}
-function oOt(t, e) {
+function lOt(t, e) {
return Nr(hx.count(Yu(t) - 1, t), e, 2);
}
function Fse(t) {
var e = t.getDay();
return e >= 4 || e === 0 ? l0(t) : l0.ceil(t);
}
-function lOt(t, e) {
+function cOt(t, e) {
return t = Fse(t), Nr(l0.count(Yu(t), t) + (Yu(t).getDay() === 4), e, 2);
}
-function cOt(t) {
+function uOt(t) {
return t.getDay();
}
-function uOt(t, e) {
+function hOt(t, e) {
return Nr(f2.count(Yu(t) - 1, t), e, 2);
}
-function hOt(t, e) {
+function fOt(t, e) {
return Nr(t.getFullYear() % 100, e, 2);
}
-function fOt(t, e) {
+function dOt(t, e) {
return t = Fse(t), Nr(t.getFullYear() % 100, e, 2);
}
-function dOt(t, e) {
+function pOt(t, e) {
return Nr(t.getFullYear() % 1e4, e, 4);
}
-function pOt(t, e) {
+function gOt(t, e) {
var r = t.getDay();
return t = r >= 4 || r === 0 ? l0(t) : l0.ceil(t), Nr(t.getFullYear() % 1e4, e, 4);
}
-function gOt(t) {
+function mOt(t) {
var e = t.getTimezoneOffset();
return (e > 0 ? "-" : (e *= -1, "+")) + Nr(e / 60 | 0, "0", 2) + Nr(e % 60, "0", 2);
}
function fq(t, e) {
return Nr(t.getUTCDate(), e, 2);
}
-function mOt(t, e) {
+function vOt(t, e) {
return Nr(t.getUTCHours(), e, 2);
}
-function vOt(t, e) {
+function yOt(t, e) {
return Nr(t.getUTCHours() % 12 || 12, e, 2);
}
-function yOt(t, e) {
+function bOt(t, e) {
return Nr(1 + UD.count(vf(t), t), e, 3);
}
function zse(t, e) {
return Nr(t.getUTCMilliseconds(), e, 3);
}
-function bOt(t, e) {
+function xOt(t, e) {
return zse(t, e) + "000";
}
-function xOt(t, e) {
+function wOt(t, e) {
return Nr(t.getUTCMonth() + 1, e, 2);
}
-function wOt(t, e) {
+function OOt(t, e) {
return Nr(t.getUTCMinutes(), e, 2);
}
-function OOt(t, e) {
+function kOt(t, e) {
return Nr(t.getUTCSeconds(), e, 2);
}
-function kOt(t) {
+function SOt(t) {
var e = t.getUTCDay();
return e === 0 ? 7 : e;
}
-function SOt(t, e) {
+function TOt(t, e) {
return Nr(qD.count(vf(t) - 1, t), e, 2);
}
function Vse(t) {
var e = t.getUTCDay();
return e >= 4 || e === 0 ? Jg(t) : Jg.ceil(t);
}
-function TOt(t, e) {
+function COt(t, e) {
return t = Vse(t), Nr(Jg.count(vf(t), t) + (vf(t).getUTCDay() === 4), e, 2);
}
-function COt(t) {
+function EOt(t) {
return t.getUTCDay();
}
-function EOt(t, e) {
+function _Ot(t, e) {
return Nr(R3.count(vf(t) - 1, t), e, 2);
}
-function _Ot(t, e) {
+function AOt(t, e) {
return Nr(t.getUTCFullYear() % 100, e, 2);
}
-function AOt(t, e) {
+function LOt(t, e) {
return t = Vse(t), Nr(t.getUTCFullYear() % 100, e, 2);
}
-function LOt(t, e) {
+function ROt(t, e) {
return Nr(t.getUTCFullYear() % 1e4, e, 4);
}
-function ROt(t, e) {
+function MOt(t, e) {
var r = t.getUTCDay();
return t = r >= 4 || r === 0 ? Jg(t) : Jg.ceil(t), Nr(t.getUTCFullYear() % 1e4, e, 4);
}
-function MOt() {
+function DOt() {
return "+0000";
}
function dq() {
@@ -39523,7 +39534,7 @@ function gq(t) {
return Math.floor(+t / 1e3);
}
var fp, M3;
-DOt({
+NOt({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -39533,13 +39544,13 @@ DOt({
months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
});
-function DOt(t) {
- return fp = Dwt(t), M3 = fp.format, fp.parse, fp.utcFormat, fp.utcParse, fp;
-}
function NOt(t) {
- return new Date(t);
+ return fp = Nwt(t), M3 = fp.format, fp.parse, fp.utcFormat, fp.utcParse, fp;
}
function IOt(t) {
+ return new Date(t);
+}
+function POt(t) {
return t instanceof Date ? +t : +new Date(+t);
}
function Use(t, e, r, n, i, s, a, o, l, u) {
@@ -39550,7 +39561,7 @@ function Use(t, e, r, n, i, s, a, o, l, u) {
return h.invert = function(C) {
return new Date(f(C));
}, h.domain = function(C) {
- return arguments.length ? d(Array.from(C, IOt)) : d().map(NOt);
+ return arguments.length ? d(Array.from(C, POt)) : d().map(IOt);
}, h.ticks = function(C) {
var T = d();
return t(T[0], T[T.length - 1], C == null ? 10 : C);
@@ -39558,27 +39569,27 @@ function Use(t, e, r, n, i, s, a, o, l, u) {
return T == null ? S : u(T);
}, h.nice = function(C) {
var T = d();
- return (!C || typeof C.range != "function") && (C = e(T[0], T[T.length - 1], C == null ? 10 : C)), C ? d(Cwt(T, C)) : h;
+ return (!C || typeof C.range != "function") && (C = e(T[0], T[T.length - 1], C == null ? 10 : C)), C ? d(Ewt(T, C)) : h;
}, h.copy = function() {
return Ese(h, Use(t, e, r, n, i, s, a, o, l, u));
}, h;
}
-function POt() {
- return MT.apply(Use(Rwt, Mwt, Yu, d2, hx, o0, h2, u2, zh, M3).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function $Ot() {
+ return MT.apply(Use(Mwt, Dwt, Yu, d2, hx, o0, h2, u2, zh, M3).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
-function $Ot(t) {
+function BOt(t) {
for (var e = t.length / 6 | 0, r = new Array(e), n = 0; n < e; )
r[n] = "#" + t.slice(n * 6, ++n * 6);
return r;
}
-const BOt = $Ot("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");
+const FOt = BOt("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");
function Kn(t) {
return function() {
return t;
};
}
-const mq = Math.abs, ks = Math.atan2, td = Math.cos, FOt = Math.max, J6 = Math.min, tc = Math.sin, $p = Math.sqrt, Cs = 1e-12, p2 = Math.PI, D3 = p2 / 2, I4 = 2 * p2;
-function zOt(t) {
+const mq = Math.abs, ks = Math.atan2, td = Math.cos, zOt = Math.max, J6 = Math.min, tc = Math.sin, $p = Math.sqrt, Cs = 1e-12, p2 = Math.PI, D3 = p2 / 2, I4 = 2 * p2;
+function VOt(t) {
return t > 1 ? 0 : t < -1 ? p2 : Math.acos(t);
}
function vq(t) {
@@ -39598,30 +39609,30 @@ function qse(t) {
e = n;
}
return t;
- }, () => new awt(e);
+ }, () => new owt(e);
}
-function VOt(t) {
+function UOt(t) {
return t.innerRadius;
}
-function UOt(t) {
+function qOt(t) {
return t.outerRadius;
}
-function qOt(t) {
+function YOt(t) {
return t.startAngle;
}
-function YOt(t) {
+function QOt(t) {
return t.endAngle;
}
-function QOt(t) {
+function WOt(t) {
return t && t.padAngle;
}
-function WOt(t, e, r, n, i, s, a, o) {
+function GOt(t, e, r, n, i, s, a, o) {
var l = r - t, u = n - e, h = a - i, f = o - s, d = f * l - h * u;
if (!(d * d < Cs))
return d = (h * (e - s) - f * (t - i)) / d, [t + d * l, e + d * u];
}
function Jw(t, e, r, n, i, s, a) {
- var o = t - r, l = e - n, u = (a ? s : -s) / $p(o * o + l * l), h = u * l, f = -u * o, d = t + h, p = e + f, g = r + h, m = n + f, v = (d + g) / 2, y = (p + m) / 2, b = g - d, w = m - p, O = b * b + w * w, S = i - s, C = d * m - g * p, T = (w < 0 ? -1 : 1) * $p(FOt(0, S * S * O - C * C)), L = (C * w - b * T) / O, E = (-C * b - w * T) / O, R = (C * w + b * T) / O, _ = (-C * b + w * T) / O, A = L - v, $ = E - y, k = R - v, N = _ - y;
+ var o = t - r, l = e - n, u = (a ? s : -s) / $p(o * o + l * l), h = u * l, f = -u * o, d = t + h, p = e + f, g = r + h, m = n + f, v = (d + g) / 2, y = (p + m) / 2, b = g - d, w = m - p, O = b * b + w * w, S = i - s, C = d * m - g * p, T = (w < 0 ? -1 : 1) * $p(zOt(0, S * S * O - C * C)), L = (C * w - b * T) / O, E = (-C * b - w * T) / O, R = (C * w + b * T) / O, _ = (-C * b + w * T) / O, A = L - v, $ = E - y, k = R - v, N = _ - y;
return A * A + $ * $ > k * k + N * N && (L = R, E = _), {
cx: L,
cy: E,
@@ -39632,7 +39643,7 @@ function Jw(t, e, r, n, i, s, a) {
};
}
function e1() {
- var t = VOt, e = UOt, r = Kn(0), n = null, i = qOt, s = YOt, a = QOt, o = null, l = qse(u);
+ var t = UOt, e = qOt, r = Kn(0), n = null, i = YOt, s = QOt, a = WOt, o = null, l = qse(u);
function u() {
var h, f, d = +t.apply(this, arguments), p = +e.apply(this, arguments), g = i.apply(this, arguments) - D3, m = s.apply(this, arguments) - D3, v = mq(m - g), y = m > g;
if (o || (o = h = l()), p < d && (f = p, p = d, d = f), !(p > Cs))
@@ -39649,8 +39660,8 @@ function e1() {
if (R > Cs) {
var B = p * td(w), V = p * tc(w), Y = d * td(O), G = d * tc(O), ee;
if (v < p2)
- if (ee = WOt(I, D, Y, G, B, V, P, F)) {
- var Q = I - ee[0], ne = D - ee[1], ie = B - ee[0], U = V - ee[1], Z = 1 / tc(zOt((Q * ie + ne * U) / ($p(Q * Q + ne * ne) * $p(ie * ie + U * U))) / 2), W = $p(ee[0] * ee[0] + ee[1] * ee[1]);
+ if (ee = GOt(I, D, Y, G, B, V, P, F)) {
+ var Q = I - ee[0], ne = D - ee[1], ie = B - ee[0], U = V - ee[1], Z = 1 / tc(VOt((Q * ie + ne * U) / ($p(Q * Q + ne * ne) * $p(ie * ie + U * U))) / 2), W = $p(ee[0] * ee[0] + ee[1] * ee[1]);
_ = J6(R, (d - W) / (Z - 1)), A = J6(R, (p - W) / (Z + 1));
} else
_ = A = 0;
@@ -39716,15 +39727,15 @@ Qse.prototype = {
function NT(t) {
return new Qse(t);
}
-function GOt(t) {
+function HOt(t) {
return t[0];
}
-function HOt(t) {
+function XOt(t) {
return t[1];
}
function yf(t, e) {
var r = Kn(!0), n = null, i = NT, s = null, a = qse(o);
- t = typeof t == "function" ? t : t === void 0 ? GOt : Kn(t), e = typeof e == "function" ? e : e === void 0 ? HOt : Kn(e);
+ t = typeof t == "function" ? t : t === void 0 ? HOt : Kn(t), e = typeof e == "function" ? e : e === void 0 ? XOt : Kn(e);
function o(l) {
var u, h = (l = Yse(l)).length, f, d = !1, p;
for (n == null && (s = i(p = a())), u = 0; u <= h; ++u)
@@ -39744,14 +39755,14 @@ function yf(t, e) {
return arguments.length ? (l == null ? n = s = null : s = i(n = l), o) : n;
}, o;
}
-function XOt(t, e) {
+function ZOt(t, e) {
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
}
-function ZOt(t) {
+function jOt(t) {
return t;
}
-function jOt() {
- var t = ZOt, e = XOt, r = null, n = Kn(0), i = Kn(I4), s = Kn(0);
+function KOt() {
+ var t = jOt, e = ZOt, r = null, n = Kn(0), i = Kn(I4), s = Kn(0);
function a(o) {
var l, u = (o = Yse(o)).length, h, f, d = 0, p = new Array(u), g = new Array(u), m = +n.apply(this, arguments), v = Math.min(I4, Math.max(-I4, i.apply(this, arguments) - m)), y, b = Math.min(Math.abs(v) / u, s.apply(this, arguments)), w = b * (v < 0 ? -1 : 1), O;
for (l = 0; l < u; ++l)
@@ -39817,10 +39828,10 @@ class Wse {
this._x0 = e, this._y0 = r;
}
}
-function KOt(t) {
+function JOt(t) {
return new Wse(t, !0);
}
-function JOt(t) {
+function e4t(t) {
return new Wse(t, !1);
}
function bf() {
@@ -39921,7 +39932,7 @@ Gse.prototype = {
this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = e;
}
};
-function e4t(t) {
+function t4t(t) {
return new Gse(t);
}
function Hse(t) {
@@ -39962,7 +39973,7 @@ Hse.prototype = {
this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = e;
}
};
-function t4t(t) {
+function r4t(t) {
return new Hse(t);
}
function Xse(t, e) {
@@ -39986,7 +39997,7 @@ Xse.prototype = {
this._x.push(+t), this._y.push(+e);
}
};
-const r4t = function t(e) {
+const n4t = function t(e) {
function r(n) {
return e === 1 ? new IT(n) : new Xse(n, e);
}
@@ -40045,7 +40056,7 @@ YD.prototype = {
this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
}
};
-const n4t = function t(e) {
+const i4t = function t(e) {
function r(n) {
return new YD(n, e);
}
@@ -40096,7 +40107,7 @@ QD.prototype = {
this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
}
};
-const i4t = function t(e) {
+const s4t = function t(e) {
function r(n) {
return new QD(n, e);
}
@@ -40140,7 +40151,7 @@ WD.prototype = {
this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
}
};
-const s4t = function t(e) {
+const a4t = function t(e) {
function r(n) {
return new WD(n, e);
}
@@ -40205,7 +40216,7 @@ Zse.prototype = {
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
}
};
-const a4t = function t(e) {
+const o4t = function t(e) {
function r(n) {
return e ? new Zse(n, e) : new YD(n, 0);
}
@@ -40260,7 +40271,7 @@ jse.prototype = {
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
}
};
-const o4t = function t(e) {
+const l4t = function t(e) {
function r(n) {
return e ? new jse(n, e) : new QD(n, 0);
}
@@ -40308,7 +40319,7 @@ Kse.prototype = {
this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
}
};
-const l4t = function t(e) {
+const c4t = function t(e) {
function r(n) {
return e ? new Kse(n, e) : new WD(n, 0);
}
@@ -40332,7 +40343,7 @@ Jse.prototype = {
t = +t, e = +e, this._point ? this._context.lineTo(t, e) : (this._point = 1, this._context.moveTo(t, e));
}
};
-function c4t(t) {
+function u4t(t) {
return new Jse(t);
}
function yq(t) {
@@ -40418,10 +40429,10 @@ tae.prototype = {
this._context.bezierCurveTo(e, t, n, r, s, i);
}
};
-function u4t(t) {
+function h4t(t) {
return new P3(t);
}
-function h4t(t) {
+function f4t(t) {
return new eae(t);
}
function rae(t) {
@@ -40463,7 +40474,7 @@ function wq(t) {
s[e] = 2 * t[e + 1] - i[e + 1];
return [i, s];
}
-function f4t(t) {
+function d4t(t) {
return new rae(t);
}
function PT(t, e) {
@@ -40502,13 +40513,13 @@ PT.prototype = {
this._x = t, this._y = e;
}
};
-function d4t(t) {
+function p4t(t) {
return new PT(t, 0.5);
}
-function p4t(t) {
+function g4t(t) {
return new PT(t, 0);
}
-function g4t(t) {
+function m4t(t) {
return new PT(t, 1);
}
function Bp(t, e, r) {
@@ -40552,56 +40563,56 @@ Bp.prototype = {
};
new Bp(1, 0, 0);
Bp.prototype;
-var m4t = typeof global == "object" && global && global.Object === Object && global;
-const nae = m4t;
-var v4t = typeof self == "object" && self && self.Object === Object && self, y4t = nae || v4t || Function("return this")();
-const Gl = y4t;
-var b4t = Gl.Symbol;
-const Go = b4t;
-var iae = Object.prototype, x4t = iae.hasOwnProperty, w4t = iae.toString, Hm = Go ? Go.toStringTag : void 0;
-function O4t(t) {
- var e = x4t.call(t, Hm), r = t[Hm];
+var v4t = typeof global == "object" && global && global.Object === Object && global;
+const nae = v4t;
+var y4t = typeof self == "object" && self && self.Object === Object && self, b4t = nae || y4t || Function("return this")();
+const Gl = b4t;
+var x4t = Gl.Symbol;
+const Go = x4t;
+var iae = Object.prototype, w4t = iae.hasOwnProperty, O4t = iae.toString, Hm = Go ? Go.toStringTag : void 0;
+function k4t(t) {
+ var e = w4t.call(t, Hm), r = t[Hm];
try {
t[Hm] = void 0;
var n = !0;
} catch {
}
- var i = w4t.call(t);
+ var i = O4t.call(t);
return n && (e ? t[Hm] = r : delete t[Hm]), i;
}
-var k4t = Object.prototype, S4t = k4t.toString;
-function T4t(t) {
- return S4t.call(t);
+var S4t = Object.prototype, T4t = S4t.toString;
+function C4t(t) {
+ return T4t.call(t);
}
-var C4t = "[object Null]", E4t = "[object Undefined]", Oq = Go ? Go.toStringTag : void 0;
+var E4t = "[object Null]", _4t = "[object Undefined]", Oq = Go ? Go.toStringTag : void 0;
function ah(t) {
- return t == null ? t === void 0 ? E4t : C4t : Oq && Oq in Object(t) ? O4t(t) : T4t(t);
+ return t == null ? t === void 0 ? _4t : E4t : Oq && Oq in Object(t) ? k4t(t) : C4t(t);
}
function Pa(t) {
var e = typeof t;
return t != null && (e == "object" || e == "function");
}
-var _4t = "[object AsyncFunction]", A4t = "[object Function]", L4t = "[object GeneratorFunction]", R4t = "[object Proxy]";
+var A4t = "[object AsyncFunction]", L4t = "[object Function]", R4t = "[object GeneratorFunction]", M4t = "[object Proxy]";
function Ho(t) {
if (!Pa(t))
return !1;
var e = ah(t);
- return e == A4t || e == L4t || e == _4t || e == R4t;
+ return e == L4t || e == R4t || e == A4t || e == M4t;
}
-var M4t = Gl["__core-js_shared__"];
-const t_ = M4t;
+var D4t = Gl["__core-js_shared__"];
+const t_ = D4t;
var kq = function() {
var t = /[^.]+$/.exec(t_ && t_.keys && t_.keys.IE_PROTO || "");
return t ? "Symbol(src)_1." + t : "";
}();
-function D4t(t) {
+function N4t(t) {
return !!kq && kq in t;
}
-var N4t = Function.prototype, I4t = N4t.toString;
+var I4t = Function.prototype, P4t = I4t.toString;
function Q0(t) {
if (t != null) {
try {
- return I4t.call(t);
+ return P4t.call(t);
} catch {
}
try {
@@ -40611,49 +40622,49 @@ function Q0(t) {
}
return "";
}
-var P4t = /[\\^$.*+?()[\]{}|]/g, $4t = /^\[object .+?Constructor\]$/, B4t = Function.prototype, F4t = Object.prototype, z4t = B4t.toString, V4t = F4t.hasOwnProperty, U4t = RegExp(
- "^" + z4t.call(V4t).replace(P4t, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
+var $4t = /[\\^$.*+?()[\]{}|]/g, B4t = /^\[object .+?Constructor\]$/, F4t = Function.prototype, z4t = Object.prototype, V4t = F4t.toString, U4t = z4t.hasOwnProperty, q4t = RegExp(
+ "^" + V4t.call(U4t).replace($4t, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
);
-function q4t(t) {
- if (!Pa(t) || D4t(t))
+function Y4t(t) {
+ if (!Pa(t) || N4t(t))
return !1;
- var e = Ho(t) ? U4t : $4t;
+ var e = Ho(t) ? q4t : B4t;
return e.test(Q0(t));
}
-function Y4t(t, e) {
+function Q4t(t, e) {
return t == null ? void 0 : t[e];
}
function W0(t, e) {
- var r = Y4t(t, e);
- return q4t(r) ? r : void 0;
+ var r = Q4t(t, e);
+ return Y4t(r) ? r : void 0;
}
-var Q4t = W0(Object, "create");
-const g2 = Q4t;
-function W4t() {
+var W4t = W0(Object, "create");
+const g2 = W4t;
+function G4t() {
this.__data__ = g2 ? g2(null) : {}, this.size = 0;
}
-function G4t(t) {
+function H4t(t) {
var e = this.has(t) && delete this.__data__[t];
return this.size -= e ? 1 : 0, e;
}
-var H4t = "__lodash_hash_undefined__", X4t = Object.prototype, Z4t = X4t.hasOwnProperty;
-function j4t(t) {
+var X4t = "__lodash_hash_undefined__", Z4t = Object.prototype, j4t = Z4t.hasOwnProperty;
+function K4t(t) {
var e = this.__data__;
if (g2) {
var r = e[t];
- return r === H4t ? void 0 : r;
+ return r === X4t ? void 0 : r;
}
- return Z4t.call(e, t) ? e[t] : void 0;
+ return j4t.call(e, t) ? e[t] : void 0;
}
-var K4t = Object.prototype, J4t = K4t.hasOwnProperty;
-function e5t(t) {
+var J4t = Object.prototype, e5t = J4t.hasOwnProperty;
+function t5t(t) {
var e = this.__data__;
- return g2 ? e[t] !== void 0 : J4t.call(e, t);
+ return g2 ? e[t] !== void 0 : e5t.call(e, t);
}
-var t5t = "__lodash_hash_undefined__";
-function r5t(t, e) {
+var r5t = "__lodash_hash_undefined__";
+function n5t(t, e) {
var r = this.__data__;
- return this.size += this.has(t) ? 0 : 1, r[t] = g2 && e === void 0 ? t5t : e, this;
+ return this.size += this.has(t) ? 0 : 1, r[t] = g2 && e === void 0 ? r5t : e, this;
}
function c0(t) {
var e = -1, r = t == null ? 0 : t.length;
@@ -40662,12 +40673,12 @@ function c0(t) {
this.set(n[0], n[1]);
}
}
-c0.prototype.clear = W4t;
-c0.prototype.delete = G4t;
-c0.prototype.get = j4t;
-c0.prototype.has = e5t;
-c0.prototype.set = r5t;
-function n5t() {
+c0.prototype.clear = G4t;
+c0.prototype.delete = H4t;
+c0.prototype.get = K4t;
+c0.prototype.has = t5t;
+c0.prototype.set = n5t;
+function i5t() {
this.__data__ = [], this.size = 0;
}
function K1(t, e) {
@@ -40679,22 +40690,22 @@ function $T(t, e) {
return r;
return -1;
}
-var i5t = Array.prototype, s5t = i5t.splice;
-function a5t(t) {
+var s5t = Array.prototype, a5t = s5t.splice;
+function o5t(t) {
var e = this.__data__, r = $T(e, t);
if (r < 0)
return !1;
var n = e.length - 1;
- return r == n ? e.pop() : s5t.call(e, r, 1), --this.size, !0;
+ return r == n ? e.pop() : a5t.call(e, r, 1), --this.size, !0;
}
-function o5t(t) {
+function l5t(t) {
var e = this.__data__, r = $T(e, t);
return r < 0 ? void 0 : e[r][1];
}
-function l5t(t) {
+function c5t(t) {
return $T(this.__data__, t) > -1;
}
-function c5t(t, e) {
+function u5t(t, e) {
var r = this.__data__, n = $T(r, t);
return n < 0 ? (++this.size, r.push([t, e])) : r[n][1] = e, this;
}
@@ -40705,39 +40716,39 @@ function oh(t) {
this.set(n[0], n[1]);
}
}
-oh.prototype.clear = n5t;
-oh.prototype.delete = a5t;
-oh.prototype.get = o5t;
-oh.prototype.has = l5t;
-oh.prototype.set = c5t;
-var u5t = W0(Gl, "Map");
-const m2 = u5t;
-function h5t() {
+oh.prototype.clear = i5t;
+oh.prototype.delete = o5t;
+oh.prototype.get = l5t;
+oh.prototype.has = c5t;
+oh.prototype.set = u5t;
+var h5t = W0(Gl, "Map");
+const m2 = h5t;
+function f5t() {
this.size = 0, this.__data__ = {
hash: new c0(),
map: new (m2 || oh)(),
string: new c0()
};
}
-function f5t(t) {
+function d5t(t) {
var e = typeof t;
return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
}
function BT(t, e) {
var r = t.__data__;
- return f5t(e) ? r[typeof e == "string" ? "string" : "hash"] : r.map;
+ return d5t(e) ? r[typeof e == "string" ? "string" : "hash"] : r.map;
}
-function d5t(t) {
+function p5t(t) {
var e = BT(this, t).delete(t);
return this.size -= e ? 1 : 0, e;
}
-function p5t(t) {
+function g5t(t) {
return BT(this, t).get(t);
}
-function g5t(t) {
+function m5t(t) {
return BT(this, t).has(t);
}
-function m5t(t, e) {
+function v5t(t, e) {
var r = BT(this, t), n = r.size;
return r.set(t, e), this.size += r.size == n ? 0 : 1, this;
}
@@ -40748,15 +40759,15 @@ function lh(t) {
this.set(n[0], n[1]);
}
}
-lh.prototype.clear = h5t;
-lh.prototype.delete = d5t;
-lh.prototype.get = p5t;
-lh.prototype.has = g5t;
-lh.prototype.set = m5t;
-var v5t = "Expected a function";
+lh.prototype.clear = f5t;
+lh.prototype.delete = p5t;
+lh.prototype.get = g5t;
+lh.prototype.has = m5t;
+lh.prototype.set = v5t;
+var y5t = "Expected a function";
function J1(t, e) {
if (typeof t != "function" || e != null && typeof e != "function")
- throw new TypeError(v5t);
+ throw new TypeError(y5t);
var r = function() {
var n = arguments, i = e ? e.apply(this, n) : n[0], s = r.cache;
if (s.has(i))
@@ -40767,25 +40778,25 @@ function J1(t, e) {
return r.cache = new (J1.Cache || lh)(), r;
}
J1.Cache = lh;
-function y5t() {
+function b5t() {
this.__data__ = new oh(), this.size = 0;
}
-function b5t(t) {
+function x5t(t) {
var e = this.__data__, r = e.delete(t);
return this.size = e.size, r;
}
-function x5t(t) {
+function w5t(t) {
return this.__data__.get(t);
}
-function w5t(t) {
+function O5t(t) {
return this.__data__.has(t);
}
-var O5t = 200;
-function k5t(t, e) {
+var k5t = 200;
+function S5t(t, e) {
var r = this.__data__;
if (r instanceof oh) {
var n = r.__data__;
- if (!m2 || n.length < O5t - 1)
+ if (!m2 || n.length < k5t - 1)
return n.push([t, e]), this.size = ++r.size, this;
r = this.__data__ = new lh(n);
}
@@ -40795,19 +40806,19 @@ function wl(t) {
var e = this.__data__ = new oh(t);
this.size = e.size;
}
-wl.prototype.clear = y5t;
-wl.prototype.delete = b5t;
-wl.prototype.get = x5t;
-wl.prototype.has = w5t;
-wl.prototype.set = k5t;
-var S5t = function() {
+wl.prototype.clear = b5t;
+wl.prototype.delete = x5t;
+wl.prototype.get = w5t;
+wl.prototype.has = O5t;
+wl.prototype.set = S5t;
+var T5t = function() {
try {
var t = W0(Object, "defineProperty");
return t({}, "", {}), t;
} catch {
}
}();
-const $3 = S5t;
+const $3 = T5t;
function fx(t, e, r) {
e == "__proto__" && $3 ? $3(t, e, {
configurable: !0,
@@ -40819,7 +40830,7 @@ function fx(t, e, r) {
function q8(t, e, r) {
(r !== void 0 && !K1(t[e], r) || r === void 0 && !(e in t)) && fx(t, e, r);
}
-function T5t(t) {
+function C5t(t) {
return function(e, r, n) {
for (var i = -1, s = Object(e), a = n(e), o = a.length; o--; ) {
var l = a[t ? o : ++i];
@@ -40829,17 +40840,17 @@ function T5t(t) {
return e;
};
}
-var C5t = T5t();
-const HD = C5t;
-var sae = typeof exports == "object" && exports && !exports.nodeType && exports, Sq = sae && typeof module == "object" && module && !module.nodeType && module, E5t = Sq && Sq.exports === sae, Tq = E5t ? Gl.Buffer : void 0, Cq = Tq ? Tq.allocUnsafe : void 0;
+var E5t = C5t();
+const HD = E5t;
+var sae = typeof exports == "object" && exports && !exports.nodeType && exports, Sq = sae && typeof module == "object" && module && !module.nodeType && module, _5t = Sq && Sq.exports === sae, Tq = _5t ? Gl.Buffer : void 0, Cq = Tq ? Tq.allocUnsafe : void 0;
function aae(t, e) {
if (e)
return t.slice();
var r = t.length, n = Cq ? Cq(r) : new t.constructor(r);
return t.copy(n), n;
}
-var _5t = Gl.Uint8Array;
-const B3 = _5t;
+var A5t = Gl.Uint8Array;
+const B3 = A5t;
function XD(t) {
var e = new t.constructor(t.byteLength);
return new B3(e).set(new B3(t)), e;
@@ -40854,7 +40865,7 @@ function lae(t, e) {
e[r] = t[r];
return e;
}
-var Eq = Object.create, A5t = function() {
+var Eq = Object.create, L5t = function() {
function t() {
}
return function(e) {
@@ -40867,40 +40878,40 @@ var Eq = Object.create, A5t = function() {
return t.prototype = void 0, r;
};
}();
-const L5t = A5t;
+const R5t = L5t;
function cae(t, e) {
return function(r) {
return t(e(r));
};
}
-var R5t = cae(Object.getPrototypeOf, Object);
-const ZD = R5t;
-var M5t = Object.prototype;
+var M5t = cae(Object.getPrototypeOf, Object);
+const ZD = M5t;
+var D5t = Object.prototype;
function dx(t) {
- var e = t && t.constructor, r = typeof e == "function" && e.prototype || M5t;
+ var e = t && t.constructor, r = typeof e == "function" && e.prototype || D5t;
return t === r;
}
function uae(t) {
- return typeof t.constructor == "function" && !dx(t) ? L5t(ZD(t)) : {};
+ return typeof t.constructor == "function" && !dx(t) ? R5t(ZD(t)) : {};
}
function Xo(t) {
return t != null && typeof t == "object";
}
-var D5t = "[object Arguments]";
+var N5t = "[object Arguments]";
function _q(t) {
- return Xo(t) && ah(t) == D5t;
+ return Xo(t) && ah(t) == N5t;
}
-var hae = Object.prototype, N5t = hae.hasOwnProperty, I5t = hae.propertyIsEnumerable, P5t = _q(function() {
+var hae = Object.prototype, I5t = hae.hasOwnProperty, P5t = hae.propertyIsEnumerable, $5t = _q(function() {
return arguments;
}()) ? _q : function(t) {
- return Xo(t) && N5t.call(t, "callee") && !I5t.call(t, "callee");
+ return Xo(t) && I5t.call(t, "callee") && !P5t.call(t, "callee");
};
-const t1 = P5t;
-var $5t = Array.isArray;
-const Sr = $5t;
-var B5t = 9007199254740991;
+const t1 = $5t;
+var B5t = Array.isArray;
+const Sr = B5t;
+var F5t = 9007199254740991;
function jD(t) {
- return typeof t == "number" && t > -1 && t % 1 == 0 && t <= B5t;
+ return typeof t == "number" && t > -1 && t % 1 == 0 && t <= F5t;
}
function jc(t) {
return t != null && jD(t.length) && !Ho(t);
@@ -40908,25 +40919,25 @@ function jc(t) {
function F3(t) {
return Xo(t) && jc(t);
}
-function F5t() {
+function z5t() {
return !1;
}
-var fae = typeof exports == "object" && exports && !exports.nodeType && exports, Aq = fae && typeof module == "object" && module && !module.nodeType && module, z5t = Aq && Aq.exports === fae, Lq = z5t ? Gl.Buffer : void 0, V5t = Lq ? Lq.isBuffer : void 0, U5t = V5t || F5t;
-const r1 = U5t;
-var q5t = "[object Object]", Y5t = Function.prototype, Q5t = Object.prototype, dae = Y5t.toString, W5t = Q5t.hasOwnProperty, G5t = dae.call(Object);
-function H5t(t) {
- if (!Xo(t) || ah(t) != q5t)
+var fae = typeof exports == "object" && exports && !exports.nodeType && exports, Aq = fae && typeof module == "object" && module && !module.nodeType && module, V5t = Aq && Aq.exports === fae, Lq = V5t ? Gl.Buffer : void 0, U5t = Lq ? Lq.isBuffer : void 0, q5t = U5t || z5t;
+const r1 = q5t;
+var Y5t = "[object Object]", Q5t = Function.prototype, W5t = Object.prototype, dae = Q5t.toString, G5t = W5t.hasOwnProperty, H5t = dae.call(Object);
+function X5t(t) {
+ if (!Xo(t) || ah(t) != Y5t)
return !1;
var e = ZD(t);
if (e === null)
return !0;
- var r = W5t.call(e, "constructor") && e.constructor;
- return typeof r == "function" && r instanceof r && dae.call(r) == G5t;
+ var r = G5t.call(e, "constructor") && e.constructor;
+ return typeof r == "function" && r instanceof r && dae.call(r) == H5t;
}
-var X5t = "[object Arguments]", Z5t = "[object Array]", j5t = "[object Boolean]", K5t = "[object Date]", J5t = "[object Error]", e3t = "[object Function]", t3t = "[object Map]", r3t = "[object Number]", n3t = "[object Object]", i3t = "[object RegExp]", s3t = "[object Set]", a3t = "[object String]", o3t = "[object WeakMap]", l3t = "[object ArrayBuffer]", c3t = "[object DataView]", u3t = "[object Float32Array]", h3t = "[object Float64Array]", f3t = "[object Int8Array]", d3t = "[object Int16Array]", p3t = "[object Int32Array]", g3t = "[object Uint8Array]", m3t = "[object Uint8ClampedArray]", v3t = "[object Uint16Array]", y3t = "[object Uint32Array]", gn = {};
-gn[u3t] = gn[h3t] = gn[f3t] = gn[d3t] = gn[p3t] = gn[g3t] = gn[m3t] = gn[v3t] = gn[y3t] = !0;
-gn[X5t] = gn[Z5t] = gn[l3t] = gn[j5t] = gn[c3t] = gn[K5t] = gn[J5t] = gn[e3t] = gn[t3t] = gn[r3t] = gn[n3t] = gn[i3t] = gn[s3t] = gn[a3t] = gn[o3t] = !1;
-function b3t(t) {
+var Z5t = "[object Arguments]", j5t = "[object Array]", K5t = "[object Boolean]", J5t = "[object Date]", e3t = "[object Error]", t3t = "[object Function]", r3t = "[object Map]", n3t = "[object Number]", i3t = "[object Object]", s3t = "[object RegExp]", a3t = "[object Set]", o3t = "[object String]", l3t = "[object WeakMap]", c3t = "[object ArrayBuffer]", u3t = "[object DataView]", h3t = "[object Float32Array]", f3t = "[object Float64Array]", d3t = "[object Int8Array]", p3t = "[object Int16Array]", g3t = "[object Int32Array]", m3t = "[object Uint8Array]", v3t = "[object Uint8ClampedArray]", y3t = "[object Uint16Array]", b3t = "[object Uint32Array]", gn = {};
+gn[h3t] = gn[f3t] = gn[d3t] = gn[p3t] = gn[g3t] = gn[m3t] = gn[v3t] = gn[y3t] = gn[b3t] = !0;
+gn[Z5t] = gn[j5t] = gn[c3t] = gn[K5t] = gn[u3t] = gn[J5t] = gn[e3t] = gn[t3t] = gn[r3t] = gn[n3t] = gn[i3t] = gn[s3t] = gn[a3t] = gn[o3t] = gn[l3t] = !1;
+function x3t(t) {
return Xo(t) && jD(t.length) && !!gn[ah(t)];
}
function em(t) {
@@ -40934,24 +40945,24 @@ function em(t) {
return t(e);
};
}
-var pae = typeof exports == "object" && exports && !exports.nodeType && exports, oy = pae && typeof module == "object" && module && !module.nodeType && module, x3t = oy && oy.exports === pae, r_ = x3t && nae.process, w3t = function() {
+var pae = typeof exports == "object" && exports && !exports.nodeType && exports, oy = pae && typeof module == "object" && module && !module.nodeType && module, w3t = oy && oy.exports === pae, r_ = w3t && nae.process, O3t = function() {
try {
var t = oy && oy.require && oy.require("util").types;
return t || r_ && r_.binding && r_.binding("util");
} catch {
}
}();
-const xf = w3t;
-var Rq = xf && xf.isTypedArray, O3t = Rq ? em(Rq) : b3t;
-const FT = O3t;
+const xf = O3t;
+var Rq = xf && xf.isTypedArray, k3t = Rq ? em(Rq) : x3t;
+const FT = k3t;
function Y8(t, e) {
if (!(e === "constructor" && typeof t[e] == "function") && e != "__proto__")
return t[e];
}
-var k3t = Object.prototype, S3t = k3t.hasOwnProperty;
+var S3t = Object.prototype, T3t = S3t.hasOwnProperty;
function px(t, e, r) {
var n = t[e];
- (!(S3t.call(t, e) && K1(n, r)) || r === void 0 && !(e in t)) && fx(t, e, r);
+ (!(T3t.call(t, e) && K1(n, r)) || r === void 0 && !(e in t)) && fx(t, e, r);
}
function tm(t, e, r, n) {
var i = !r;
@@ -40962,46 +40973,46 @@ function tm(t, e, r, n) {
}
return r;
}
-function T3t(t, e) {
+function C3t(t, e) {
for (var r = -1, n = Array(t); ++r < t; )
n[r] = e(r);
return n;
}
-var C3t = 9007199254740991, E3t = /^(?:0|[1-9]\d*)$/;
+var E3t = 9007199254740991, _3t = /^(?:0|[1-9]\d*)$/;
function zT(t, e) {
var r = typeof t;
- return e = e == null ? C3t : e, !!e && (r == "number" || r != "symbol" && E3t.test(t)) && t > -1 && t % 1 == 0 && t < e;
+ return e = e == null ? E3t : e, !!e && (r == "number" || r != "symbol" && _3t.test(t)) && t > -1 && t % 1 == 0 && t < e;
}
-var _3t = Object.prototype, A3t = _3t.hasOwnProperty;
+var A3t = Object.prototype, L3t = A3t.hasOwnProperty;
function gae(t, e) {
- var r = Sr(t), n = !r && t1(t), i = !r && !n && r1(t), s = !r && !n && !i && FT(t), a = r || n || i || s, o = a ? T3t(t.length, String) : [], l = o.length;
+ var r = Sr(t), n = !r && t1(t), i = !r && !n && r1(t), s = !r && !n && !i && FT(t), a = r || n || i || s, o = a ? C3t(t.length, String) : [], l = o.length;
for (var u in t)
- (e || A3t.call(t, u)) && !(a && (u == "length" || i && (u == "offset" || u == "parent") || s && (u == "buffer" || u == "byteLength" || u == "byteOffset") || zT(u, l))) && o.push(u);
+ (e || L3t.call(t, u)) && !(a && (u == "length" || i && (u == "offset" || u == "parent") || s && (u == "buffer" || u == "byteLength" || u == "byteOffset") || zT(u, l))) && o.push(u);
return o;
}
-function L3t(t) {
+function R3t(t) {
var e = [];
if (t != null)
for (var r in Object(t))
e.push(r);
return e;
}
-var R3t = Object.prototype, M3t = R3t.hasOwnProperty;
-function D3t(t) {
+var M3t = Object.prototype, D3t = M3t.hasOwnProperty;
+function N3t(t) {
if (!Pa(t))
- return L3t(t);
+ return R3t(t);
var e = dx(t), r = [];
for (var n in t)
- n == "constructor" && (e || !M3t.call(t, n)) || r.push(n);
+ n == "constructor" && (e || !D3t.call(t, n)) || r.push(n);
return r;
}
function G0(t) {
- return jc(t) ? gae(t, !0) : D3t(t);
+ return jc(t) ? gae(t, !0) : N3t(t);
}
-function N3t(t) {
+function I3t(t) {
return tm(t, G0(t));
}
-function I3t(t, e, r, n, i, s, a) {
+function P3t(t, e, r, n, i, s, a) {
var o = Y8(t, r), l = Y8(e, r), u = a.get(l);
if (u) {
q8(t, r, u);
@@ -41010,14 +41021,14 @@ function I3t(t, e, r, n, i, s, a) {
var h = s ? s(o, l, r + "", t, e, a) : void 0, f = h === void 0;
if (f) {
var d = Sr(l), p = !d && r1(l), g = !d && !p && FT(l);
- h = l, d || p || g ? Sr(o) ? h = o : F3(o) ? h = lae(o) : p ? (f = !1, h = aae(l, !0)) : g ? (f = !1, h = oae(l, !0)) : h = [] : H5t(l) || t1(l) ? (h = o, t1(o) ? h = N3t(o) : (!Pa(o) || Ho(o)) && (h = uae(l))) : f = !1;
+ h = l, d || p || g ? Sr(o) ? h = o : F3(o) ? h = lae(o) : p ? (f = !1, h = aae(l, !0)) : g ? (f = !1, h = oae(l, !0)) : h = [] : X5t(l) || t1(l) ? (h = o, t1(o) ? h = I3t(o) : (!Pa(o) || Ho(o)) && (h = uae(l))) : f = !1;
}
f && (a.set(l, h), i(h, l, n, s, a), a.delete(l)), q8(t, r, h);
}
function mae(t, e, r, n, i) {
t !== e && HD(e, function(s, a) {
if (i || (i = new wl()), Pa(s))
- I3t(t, e, a, r, mae, n, i);
+ P3t(t, e, a, r, mae, n, i);
else {
var o = n ? n(Y8(t, a), s, a + "", t, e, i) : void 0;
o === void 0 && (o = s), q8(t, a, o);
@@ -41027,7 +41038,7 @@ function mae(t, e, r, n, i) {
function Qu(t) {
return t;
}
-function P3t(t, e, r) {
+function $3t(t, e, r) {
switch (r.length) {
case 0:
return t.call(e);
@@ -41048,7 +41059,7 @@ function vae(t, e, r) {
i = -1;
for (var o = Array(e + 1); ++i < e; )
o[i] = n[i];
- return o[e] = r(a), P3t(t, this, o);
+ return o[e] = r(a), $3t(t, this, o);
};
}
function Fp(t) {
@@ -41056,7 +41067,7 @@ function Fp(t) {
return t;
};
}
-var $3t = $3 ? function(t, e) {
+var B3t = $3 ? function(t, e) {
return $3(t, "toString", {
configurable: !0,
enumerable: !1,
@@ -41064,22 +41075,22 @@ var $3t = $3 ? function(t, e) {
writable: !0
});
} : Qu;
-const B3t = $3t;
-var F3t = 800, z3t = 16, V3t = Date.now;
-function U3t(t) {
+const F3t = B3t;
+var z3t = 800, V3t = 16, U3t = Date.now;
+function q3t(t) {
var e = 0, r = 0;
return function() {
- var n = V3t(), i = z3t - (n - r);
+ var n = U3t(), i = V3t - (n - r);
if (r = n, i > 0) {
- if (++e >= F3t)
+ if (++e >= z3t)
return arguments[0];
} else
e = 0;
return t.apply(void 0, arguments);
};
}
-var q3t = U3t(B3t);
-const yae = q3t;
+var Y3t = q3t(F3t);
+const yae = Y3t;
function gx(t, e) {
return yae(vae(t, e, Qu), t + "");
}
@@ -41099,32 +41110,32 @@ function bae(t) {
return e;
});
}
-var Y3t = bae(function(t, e, r) {
+var Q3t = bae(function(t, e, r) {
mae(t, e, r);
});
-const z3 = Y3t;
-var xae = "\u200B", Q3t = {
+const z3 = Q3t;
+var xae = "\u200B", W3t = {
curveBasis: j1,
- curveBasisClosed: e4t,
- curveBasisOpen: t4t,
- curveBumpX: KOt,
- curveBumpY: JOt,
- curveBundle: r4t,
- curveCardinalClosed: i4t,
- curveCardinalOpen: s4t,
- curveCardinal: n4t,
- curveCatmullRomClosed: o4t,
- curveCatmullRomOpen: l4t,
- curveCatmullRom: a4t,
+ curveBasisClosed: t4t,
+ curveBasisOpen: r4t,
+ curveBumpX: JOt,
+ curveBumpY: e4t,
+ curveBundle: n4t,
+ curveCardinalClosed: s4t,
+ curveCardinalOpen: a4t,
+ curveCardinal: i4t,
+ curveCatmullRomClosed: l4t,
+ curveCatmullRomOpen: c4t,
+ curveCatmullRom: o4t,
curveLinear: NT,
- curveLinearClosed: c4t,
- curveMonotoneX: u4t,
- curveMonotoneY: h4t,
- curveNatural: f4t,
- curveStep: d4t,
- curveStepAfter: g4t,
- curveStepBefore: p4t
-}, W3t = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, G3t = /* @__PURE__ */ x(function(t, e) {
+ curveLinearClosed: u4t,
+ curveMonotoneX: h4t,
+ curveMonotoneY: f4t,
+ curveNatural: d4t,
+ curveStep: p4t,
+ curveStepAfter: m4t,
+ curveStepBefore: g4t
+}, G3t = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, H3t = /* @__PURE__ */ x(function(t, e) {
const r = wae(t, /(?:init\b)|(?:initialize\b)/);
let n = {};
if (Array.isArray(r)) {
@@ -41141,7 +41152,7 @@ var xae = "\u200B", Q3t = {
var r, n;
try {
const i = new RegExp(
- `[%]{2}(?![{]${W3t.source})(?=[}][%]{2}).*
+ `[%]{2}(?![{]${G3t.source})(?=[}][%]{2}).*
`,
"ig"
);
@@ -41161,9 +41172,9 @@ var xae = "\u200B", Q3t = {
`ERROR: ${i.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`
), { type: void 0, args: null };
}
-}, "detectDirective"), H3t = /* @__PURE__ */ x(function(t) {
+}, "detectDirective"), X3t = /* @__PURE__ */ x(function(t) {
return t.replace(ny, "");
-}, "removeDirectives"), X3t = /* @__PURE__ */ x(function(t, e) {
+}, "removeDirectives"), Z3t = /* @__PURE__ */ x(function(t, e) {
for (const [r, n] of e.entries())
if (n.match(t))
return r;
@@ -41174,7 +41185,7 @@ function mx(t, e) {
if (!t)
return e;
const r = `curve${t.charAt(0).toUpperCase() + t.slice(1)}`;
- return (n = Q3t[r]) != null ? n : e;
+ return (n = W3t[r]) != null ? n : e;
}
x(mx, "interpolateToCurve");
function Oae(t, e) {
@@ -41183,7 +41194,7 @@ function Oae(t, e) {
return e.securityLevel !== "loose" ? Uf(r) : r;
}
x(Oae, "formatUrl");
-var Z3t = /* @__PURE__ */ x((t, ...e) => {
+var j3t = /* @__PURE__ */ x((t, ...e) => {
const r = t.split("."), n = r.length - 1, i = r[n];
let s = window;
for (let a = 0; a < n; a++)
@@ -41236,7 +41247,7 @@ var Dq = /* @__PURE__ */ x((t, e = 2) => {
r = i;
}
throw new Error("Could not find a suitable point for the given distance");
-}, "calculatePoint"), j3t = /* @__PURE__ */ x((t, e, r) => {
+}, "calculatePoint"), K3t = /* @__PURE__ */ x((t, e, r) => {
X.info(`our points ${JSON.stringify(e)}`), e[0] !== r && (e = e.reverse());
const i = JD(e, 25), s = t ? 10 : 5, a = Math.atan2(e[0].y - i.y, e[0].x - i.x), o = { x: 0, y: 0 };
return o.x = Math.sin(a) * s + (e[0].x + i.x) / 2, o.y = -Math.cos(a) * s + (e[0].y + i.y) / 2, o;
@@ -41264,7 +41275,7 @@ function Eae(t) {
return e;
}
x(Eae, "makeRandomHex");
-var _ae = /* @__PURE__ */ x((t) => Eae(t.length), "random"), K3t = /* @__PURE__ */ x(function() {
+var _ae = /* @__PURE__ */ x((t) => Eae(t.length), "random"), J3t = /* @__PURE__ */ x(function() {
return {
x: 0,
y: 0,
@@ -41279,7 +41290,7 @@ var _ae = /* @__PURE__ */ x((t) => Eae(t.length), "random"), K3t = /* @__PURE__
valign: void 0,
text: ""
};
-}, "getTextObj"), J3t = /* @__PURE__ */ x(function(t, e) {
+}, "getTextObj"), ekt = /* @__PURE__ */ x(function(t, e) {
const r = e.text.replace(at.lineBreakRegex, " "), [, n] = H0(e.fontSize), i = t.append("text");
i.attr("x", e.x), i.attr("y", e.y), i.style("text-anchor", e.anchor), i.style("font-family", e.fontFamily), i.style("font-size", n), i.style("font-weight", e.fontWeight), i.attr("fill", e.fill), e.class !== void 0 && i.attr("class", e.class);
const s = i.append("tspan");
@@ -41296,7 +41307,7 @@ var _ae = /* @__PURE__ */ x((t) => Eae(t.length), "random"), K3t = /* @__PURE__
return n.forEach((a, o) => {
const l = Ol(`${a} `, r), u = Ol(s, r);
if (l > e) {
- const { hyphenatedStrings: d, remainingWord: p } = ekt(a, e, "-", r);
+ const { hyphenatedStrings: d, remainingWord: p } = tkt(a, e, "-", r);
i.push(s, ...d), s = p;
} else
u + l >= e ? (i.push(s), s = a) : s = [s, a].filter(Boolean).join(" ");
@@ -41304,7 +41315,7 @@ var _ae = /* @__PURE__ */ x((t) => Eae(t.length), "random"), K3t = /* @__PURE__
}), i.filter((a) => a !== "").join(r.joinWith);
},
(t, e, r) => `${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`
-), ekt = J1(
+), tkt = J1(
(t, e, r = "-", n) => {
n = Object.assign(
{ fontSize: 12, fontWeight: 400, fontFamily: "Arial", margin: 0 },
@@ -41344,9 +41355,9 @@ var eN = J1(
let p = 0;
const g = { width: 0, height: 0, lineHeight: 0 };
for (const m of o) {
- const v = K3t();
+ const v = J3t();
v.text = m || xae;
- const y = J3t(h, v).style("font-size", s).style("font-weight", i).style("font-family", d), b = (y._groups || y)[0][0].getBBox();
+ const y = ekt(h, v).style("font-size", s).style("font-weight", i).style("font-family", d), b = (y._groups || y)[0][0].getBBox();
if (b.width === 0 && b.height === 0)
throw new Error("svg element not in render tree");
g.width = Math.round(Math.max(g.width, b.width)), p = Math.round(b.height), g.height += p, g.lineHeight = Math.round(Math.max(g.lineHeight, p));
@@ -41358,20 +41369,20 @@ var eN = J1(
return l[f];
},
(t, e) => `${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`
-), hb, tkt = (hb = class {
+), hb, rkt = (hb = class {
constructor(e = !1, r) {
this.count = 0, this.count = r ? r.length : 0, this.next = e ? () => this.count++ : () => Date.now();
}
}, (() => {
x(hb, "InitIDGenerator");
-})(), hb), eO, rkt = /* @__PURE__ */ x(function(t) {
+})(), hb), eO, nkt = /* @__PURE__ */ x(function(t) {
return eO = eO || document.createElement("div"), t = escape(t).replace(/%26/g, "&").replace(/%23/g, "#").replace(/%3B/g, ";"), eO.innerHTML = t, unescape(eO.textContent);
}, "entityDecode");
function tN(t) {
return "str" in t;
}
x(tN, "isDetailedError");
-var nkt = /* @__PURE__ */ x((t, e, r, n) => {
+var ikt = /* @__PURE__ */ x((t, e, r, n) => {
var s;
if (!n)
return;
@@ -41394,23 +41405,23 @@ var sr = {
calculateTextWidth: Ol,
calculateTextDimensions: eN,
cleanAndMerge: ch,
- detectInit: G3t,
+ detectInit: H3t,
detectDirective: wae,
- isSubstringInArray: X3t,
+ isSubstringInArray: Z3t,
interpolateToCurve: mx,
calcLabelPosition: Sae,
- calcCardinalityPosition: j3t,
+ calcCardinalityPosition: K3t,
calcTerminalLabelPosition: Tae,
formatUrl: Oae,
getStylesFromArray: vx,
generateId: Cae,
random: _ae,
- runFunc: Z3t,
- entityDecode: rkt,
- insertTitle: nkt,
+ runFunc: j3t,
+ entityDecode: nkt,
+ insertTitle: ikt,
parseFontSize: H0,
- InitIDGenerator: tkt
-}, ikt = /* @__PURE__ */ x(function(t) {
+ InitIDGenerator: rkt
+}, skt = /* @__PURE__ */ x(function(t) {
let e = t;
return e = e.replace(/style.*:\S*#.*;/g, function(r) {
return r.substring(0, r.length - 1);
@@ -41445,33 +41456,33 @@ let X0 = rN();
function Rae(t) {
X0 = t;
}
-const Mae = /[&<>"']/, skt = new RegExp(Mae.source, "g"), Dae = /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, akt = new RegExp(Dae.source, "g"), okt = {
+const Mae = /[&<>"']/, akt = new RegExp(Mae.source, "g"), Dae = /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, okt = new RegExp(Dae.source, "g"), lkt = {
"&": "&",
"<": "<",
">": ">",
'"': """,
"'": "'"
-}, Iq = (t) => okt[t];
+}, Iq = (t) => lkt[t];
function Ka(t, e) {
if (e) {
if (Mae.test(t))
- return t.replace(skt, Iq);
+ return t.replace(akt, Iq);
} else if (Dae.test(t))
- return t.replace(akt, Iq);
+ return t.replace(okt, Iq);
return t;
}
-const lkt = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;
-function ckt(t) {
- return t.replace(lkt, (e, r) => (r = r.toLowerCase(), r === "colon" ? ":" : r.charAt(0) === "#" ? r.charAt(1) === "x" ? String.fromCharCode(parseInt(r.substring(2), 16)) : String.fromCharCode(+r.substring(1)) : ""));
+const ckt = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;
+function ukt(t) {
+ return t.replace(ckt, (e, r) => (r = r.toLowerCase(), r === "colon" ? ":" : r.charAt(0) === "#" ? r.charAt(1) === "x" ? String.fromCharCode(parseInt(r.substring(2), 16)) : String.fromCharCode(+r.substring(1)) : ""));
}
-const ukt = /(^|[^\[])\^/g;
+const hkt = /(^|[^\[])\^/g;
function en(t, e) {
let r = typeof t == "string" ? t : t.source;
e = e || "";
const n = {
replace: (i, s) => {
let a = typeof s == "string" ? s : s.source;
- return a = a.replace(ukt, "$1"), r = r.replace(i, a), n;
+ return a = a.replace(hkt, "$1"), r = r.replace(i, a), n;
},
getRegex: () => new RegExp(r, e)
};
@@ -41520,7 +41531,7 @@ function Xm(t, e, r) {
}
return t.slice(0, n - i);
}
-function hkt(t, e) {
+function fkt(t, e) {
if (t.indexOf(e[1]) === -1)
return -1;
let r = 0;
@@ -41555,7 +41566,7 @@ function Bq(t, e, r, n) {
text: Ka(a)
};
}
-function fkt(t, e) {
+function dkt(t, e) {
const r = t.match(/^(\s+)(?:```)/);
if (r === null)
return e;
@@ -41601,7 +41612,7 @@ class U3 {
fences(e) {
const r = this.rules.block.fences.exec(e);
if (r) {
- const n = r[0], i = fkt(n, r[3] || "");
+ const n = r[0], i = dkt(n, r[3] || "");
return {
type: "code",
raw: n,
@@ -41880,7 +41891,7 @@ ${f}` : f;
if ((n.length - a.length) % 2 === 0)
return;
} else {
- const a = hkt(r[2], "()");
+ const a = fkt(r[2], "()");
if (a > -1) {
const l = (r[0].indexOf("!") === 0 ? 5 : 4) + r[1].length + a;
r[2] = r[2].substring(0, a), r[0] = r[0].substring(0, l).trim(), r[3] = "";
@@ -42044,25 +42055,25 @@ ${f}` : f;
}
}
}
-const dkt = /^(?: *(?:\n|$))+/, pkt = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, gkt = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, yx = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, mkt = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Nae = /(?:[*+-]|\d{1,9}[.)])/, Iae = en(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, Nae).replace(/blockCode/g, / {4}/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), nN = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, vkt = /^[^\n]+/, iN = /(?!\s*\])(?:\\.|[^\[\]\\])+/, ykt = en(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", iN).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), bkt = en(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Nae).getRegex(), VT = "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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", sN = /|$))/, xkt = en("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))", "i").replace("comment", sN).replace("tag", VT).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Pae = en(nN).replace("hr", yx).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", VT).getRegex(), wkt = en(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Pae).getRegex(), aN = {
- blockquote: wkt,
- code: pkt,
- def: ykt,
- fences: gkt,
- heading: mkt,
+const pkt = /^(?: *(?:\n|$))+/, gkt = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, mkt = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, yx = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, vkt = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Nae = /(?:[*+-]|\d{1,9}[.)])/, Iae = en(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, Nae).replace(/blockCode/g, / {4}/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), nN = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, ykt = /^[^\n]+/, iN = /(?!\s*\])(?:\\.|[^\[\]\\])+/, bkt = en(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", iN).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), xkt = en(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Nae).getRegex(), VT = "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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", sN = /|$))/, wkt = en("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))", "i").replace("comment", sN).replace("tag", VT).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Pae = en(nN).replace("hr", yx).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", VT).getRegex(), Okt = en(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Pae).getRegex(), aN = {
+ blockquote: Okt,
+ code: gkt,
+ def: bkt,
+ fences: mkt,
+ heading: vkt,
hr: yx,
- html: xkt,
+ html: wkt,
lheading: Iae,
- list: bkt,
- newline: dkt,
+ list: xkt,
+ newline: pkt,
paragraph: Pae,
table: ly,
- text: vkt
-}, Fq = en("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", yx).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", " {4}[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", VT).getRegex(), Okt = {
+ text: ykt
+}, Fq = en("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", yx).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", " {4}[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", VT).getRegex(), kkt = {
...aN,
table: Fq,
paragraph: en(nN).replace("hr", yx).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Fq).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", VT).getRegex()
-}, kkt = {
+}, Skt = {
...aN,
html: en(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", sN).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
def: /^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
@@ -42071,27 +42082,27 @@ const dkt = /^(?: *(?:\n|$))+/, pkt = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, gk
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
paragraph: en(nN).replace("hr", yx).replace("heading", ` *#{1,6} *[^
]`).replace("lheading", Iae).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
-}, $ae = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Skt = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Bae = /^( {2,}|\\)\n(?!\s*$)/, Tkt = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g, _kt = en(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, bx).getRegex(), Akt = en("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, bx).getRegex(), Lkt = en("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, bx).getRegex(), Rkt = en(/\\([punct])/, "gu").replace(/punct/g, bx).getRegex(), Mkt = en(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Dkt = en(sN).replace("(?:-->|$)", "-->").getRegex(), Nkt = en("^comment|^[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment", Dkt).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q3 = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Ikt = en(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", q3).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Fae = en(/^!?\[(label)\]\[(ref)\]/).replace("label", q3).replace("ref", iN).getRegex(), zae = en(/^!?\[(ref)\](?:\[\])?/).replace("ref", iN).getRegex(), Pkt = en("reflink|nolink(?!\\()", "g").replace("reflink", Fae).replace("nolink", zae).getRegex(), oN = {
+}, $ae = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Tkt = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Bae = /^( {2,}|\\)\n(?!\s*$)/, Ckt = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g, Akt = en(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, bx).getRegex(), Lkt = en("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, bx).getRegex(), Rkt = en("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, bx).getRegex(), Mkt = en(/\\([punct])/, "gu").replace(/punct/g, bx).getRegex(), Dkt = en(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Nkt = en(sN).replace("(?:-->|$)", "-->").getRegex(), Ikt = en("^comment|^[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment", Nkt).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q3 = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Pkt = en(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", q3).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Fae = en(/^!?\[(label)\]\[(ref)\]/).replace("label", q3).replace("ref", iN).getRegex(), zae = en(/^!?\[(ref)\](?:\[\])?/).replace("ref", iN).getRegex(), $kt = en("reflink|nolink(?!\\()", "g").replace("reflink", Fae).replace("nolink", zae).getRegex(), oN = {
_backpedal: ly,
- anyPunctuation: Rkt,
- autolink: Mkt,
- blockSkip: Ekt,
+ anyPunctuation: Mkt,
+ autolink: Dkt,
+ blockSkip: _kt,
br: Bae,
- code: Skt,
+ code: Tkt,
del: ly,
- emStrongLDelim: _kt,
- emStrongRDelimAst: Akt,
- emStrongRDelimUnd: Lkt,
+ emStrongLDelim: Akt,
+ emStrongRDelimAst: Lkt,
+ emStrongRDelimUnd: Rkt,
escape: $ae,
- link: Ikt,
+ link: Pkt,
nolink: zae,
- punctuation: Ckt,
+ punctuation: Ekt,
reflink: Fae,
- reflinkSearch: Pkt,
- tag: Nkt,
- text: Tkt,
+ reflinkSearch: $kt,
+ tag: Ikt,
+ text: Ckt,
url: ly
-}, $kt = {
+}, Bkt = {
...oN,
link: en(/^!?\[(label)\]\((.*?)\)/).replace("label", q3).getRegex(),
reflink: en(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q3).getRegex()
@@ -42102,19 +42113,19 @@ const dkt = /^(?: *(?:\n|$))+/, pkt = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, gk
_backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
del: /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,
text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\ 2 && d.push(w);
+ Vkt(w[0], w[w.length - 1]) || w.push([w[0][0], w[0][1]]), w.length > 2 && d.push(w);
}
const p = [];
h = Math.max(h, 0.1);
@@ -43276,7 +43287,7 @@ function xx(t, e) {
let i = e.hachureGap;
i < 0 && (i = 4 * e.strokeWidth), i = Math.round(Math.max(i, 0.1));
let s = 1;
- return e.roughness >= 1 && (((r = e.randomizer) === null || r === void 0 ? void 0 : r.next()) || Math.random()) > 0.7 && (s = i), Vkt(t, i, n, s || 1);
+ return e.roughness >= 1 && (((r = e.randomizer) === null || r === void 0 ? void 0 : r.next()) || Math.random()) > 0.7 && (s = i), Ukt(t, i, n, s || 1);
}
class hN {
constructor(e) {
@@ -43300,7 +43311,7 @@ function YT(t) {
const e = t[0], r = t[1];
return Math.sqrt(Math.pow(e[0] - r[0], 2) + Math.pow(e[1] - r[1], 2));
}
-class Ukt extends hN {
+class qkt extends hN {
fillPolygons(e, r) {
let n = r.hachureGap;
n < 0 && (n = 4 * r.strokeWidth), n = Math.max(n, 0.1);
@@ -43310,13 +43321,13 @@ class Ukt extends hN {
return { type: "fillSketch", ops: this.renderLines(a, r) };
}
}
-class qkt extends hN {
+class Ykt extends hN {
fillPolygons(e, r) {
const n = this._fillPolygons(e, r), i = Object.assign({}, r, { hachureAngle: r.hachureAngle + 90 }), s = this._fillPolygons(e, i);
return n.ops = n.ops.concat(s.ops), n;
}
}
-class Ykt {
+class Qkt {
constructor(e) {
this.helper = e;
}
@@ -43341,7 +43352,7 @@ class Ykt {
return { type: "fillSketch", ops: n };
}
}
-class Qkt {
+class Wkt {
constructor(e) {
this.helper = e;
}
@@ -43363,7 +43374,7 @@ class Qkt {
}), s;
}
}
-class Wkt {
+class Gkt {
constructor(e) {
this.helper = e;
}
@@ -43386,7 +43397,7 @@ class Wkt {
}
}
const va = {};
-class Gkt {
+class Hkt {
constructor(e) {
this.seed = e;
}
@@ -43394,7 +43405,7 @@ class Gkt {
return this.seed ? (2 ** 31 - 1 & (this.seed = Math.imul(48271, this.seed))) / 2 ** 31 : Math.random();
}
}
-const Hkt = 0, i_ = 1, zq = 2, rO = { A: 7, a: 7, C: 6, c: 6, H: 1, h: 1, L: 2, l: 2, M: 2, m: 2, Q: 4, q: 4, S: 4, s: 4, T: 2, t: 2, V: 1, v: 1, Z: 0, z: 0 };
+const Xkt = 0, i_ = 1, zq = 2, rO = { A: 7, a: 7, C: 6, c: 6, H: 1, h: 1, L: 2, l: 2, M: 2, m: 2, Q: 4, q: 4, S: 4, s: 4, T: 2, t: 2, V: 1, v: 1, Z: 0, z: 0 };
function s_(t, e) {
return t.type === e;
}
@@ -43405,7 +43416,7 @@ function fN(t) {
if (a.match(/^([ \t\r\n,]+)/))
a = a.substr(RegExp.$1.length);
else if (a.match(/^([aAcChHlLmMqQsStTvVzZ])/))
- o[o.length] = { type: Hkt, text: RegExp.$1 }, a = a.substr(RegExp.$1.length);
+ o[o.length] = { type: Xkt, text: RegExp.$1 }, a = a.substr(RegExp.$1.length);
else {
if (!a.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))
return [];
@@ -43599,7 +43610,7 @@ function roe(t, e, r, n, i, s, a, o, l, u) {
return $;
}
}
-const Xkt = { randOffset: function(t, e) {
+const Zkt = { randOffset: function(t, e) {
return jt(t, e);
}, randOffsetWithRange: function(t, e, r) {
return W3(t, e, r);
@@ -43622,7 +43633,7 @@ function P4(t, e, r) {
}
return n === 2 ? noe(t[0][0], t[0][1], t[1][0], t[1][1], r) : { type: "path", ops: [] };
}
-function Zkt(t, e, r, n, i) {
+function jkt(t, e, r, n, i) {
return function(s, a) {
return P4(s, !0, a);
}([[t, e], [t + r, e], [t + r, e + n], [t, e + n]], i);
@@ -43687,7 +43698,7 @@ function qq(t, e) {
break;
case "C": {
const [l, u, h, f, d, p] = o;
- n.push(...jkt(l, u, h, f, d, p, s, e)), s = [d, p];
+ n.push(...Kkt(l, u, h, f, d, p, s, e)), s = [d, p];
break;
}
case "Z":
@@ -43714,32 +43725,32 @@ function dp(t, e) {
if (!va[i])
switch (i) {
case "zigzag":
- va[i] || (va[i] = new Ukt(n));
+ va[i] || (va[i] = new qkt(n));
break;
case "cross-hatch":
- va[i] || (va[i] = new qkt(n));
+ va[i] || (va[i] = new Ykt(n));
break;
case "dots":
- va[i] || (va[i] = new Ykt(n));
+ va[i] || (va[i] = new Qkt(n));
break;
case "dashed":
- va[i] || (va[i] = new Qkt(n));
+ va[i] || (va[i] = new Wkt(n));
break;
case "zigzag-line":
- va[i] || (va[i] = new Wkt(n));
+ va[i] || (va[i] = new Gkt(n));
break;
default:
i = "hachure", va[i] || (va[i] = new hN(n));
}
return va[i];
- }(e, Xkt).fillPolygons(t, e);
+ }(e, Zkt).fillPolygons(t, e);
}
function Yq(t) {
const e = Object.assign({}, t);
return e.randomizer = void 0, t.seed && (e.seed = t.seed + 1), e;
}
function soe(t) {
- return t.randomizer || (t.randomizer = new Gkt(t.seed || 0)), t.randomizer.next();
+ return t.randomizer || (t.randomizer = new Hkt(t.seed || 0)), t.randomizer.next();
}
function W3(t, e, r, n = 1) {
return r.roughness * n * (soe(r) * (e - t) + t);
@@ -43820,7 +43831,7 @@ function Wq(t, e, r, n, i, s, a, o, l) {
h.push([jt(o, l) + e + n * Math.cos(f), jt(o, l) + r + i * Math.sin(f)]);
return h.push([e + n * Math.cos(a), r + i * Math.sin(a)]), h.push([e + n * Math.cos(a), r + i * Math.sin(a)]), G3(h, null, l);
}
-function jkt(t, e, r, n, i, s, a, o) {
+function Kkt(t, e, r, n, i, s, a, o) {
const l = [], u = [o.maxRandomnessOffset || 1, (o.maxRandomnessOffset || 1) + 0.3];
let h = [0, 0];
const f = o.disableMultiStroke ? 1 : 2, d = o.preserveVertices;
@@ -43855,7 +43866,7 @@ function Gq(t, e = 0) {
function $4(t, e) {
return Math.pow(t[0] - e[0], 2) + Math.pow(t[1] - e[1], 2);
}
-function Kkt(t, e, r) {
+function Jkt(t, e, r) {
const n = $4(e, r);
if (n === 0)
return $4(t, e);
@@ -43887,14 +43898,14 @@ function Z8(t, e, r, n) {
var s, a;
return i;
}
-function Jkt(t, e) {
+function eSt(t, e) {
return H3(t, 0, t.length, e);
}
function H3(t, e, r, n, i) {
const s = i || [], a = t[e], o = t[r - 1];
let l = 0, u = 1;
for (let h = e + 1; h < r - 1; ++h) {
- const f = Kkt(t[h], a, o);
+ const f = Jkt(t[h], a, o);
f > l && (l = f, u = h);
}
return Math.sqrt(l) > n ? (H3(t, e, u + 1, n, s), H3(t, u, r, n, s)) : (s.length || s.push(a), s.push(o)), s;
@@ -43924,7 +43935,7 @@ class X3 {
return this._d("line", [noe(e, r, n, i, a)], a);
}
rectangle(e, r, n, i, s) {
- const a = this._o(s), o = [], l = Zkt(e, r, n, i, a);
+ const a = this._o(s), o = [], l = jkt(e, r, n, i, a);
if (a.fill) {
const u = [[e, r], [e + n, r], [e + n, r + i], [e, r + i]];
a.fillStyle === "solid" ? o.push(a_([u], a)) : o.push(dp([u], a));
@@ -44029,7 +44040,7 @@ class X3 {
return g;
const O = [];
for (const S of g) {
- const C = Jkt(S, d);
+ const C = eSt(S, d);
C.length && O.push(C);
}
return O;
@@ -44090,7 +44101,7 @@ class X3 {
return e.filter((r, n) => n === 0 || r.op !== "move");
}
}
-class eSt {
+class tSt {
constructor(e, r) {
this.canvas = e, this.ctx = this.canvas.getContext("2d"), this.gen = new X3(r);
}
@@ -44176,7 +44187,7 @@ class eSt {
}
}
const iO = "http://www.w3.org/2000/svg";
-class tSt {
+class rSt {
constructor(e, r) {
this.svg = e, this.gen = new X3(r);
}
@@ -44250,10 +44261,10 @@ class tSt {
return this.draw(n);
}
}
-var Bn = { canvas: (t, e) => new eSt(t, e), svg: (t, e) => new tSt(t, e), generator: (t) => new X3(t), newSeed: () => X3.newSeed() }, rSt = /* @__PURE__ */ x((t, e) => {
+var Bn = { canvas: (t, e) => new tSt(t, e), svg: (t, e) => new rSt(t, e), generator: (t) => new X3(t), newSeed: () => X3.newSeed() }, nSt = /* @__PURE__ */ x((t, e) => {
var r = t.x, n = t.y, i = e.x - r, s = e.y - n, a = t.width / 2, o = t.height / 2, l, u;
return Math.abs(s) * a > Math.abs(i) * o ? (s < 0 && (o = -o), l = s === 0 ? 0 : o * i / s, u = o) : (i < 0 && (a = -a), l = a, u = i === 0 ? 0 : a * s / i), { x: r + l, y: n + u };
-}, "intersectRect"), wx = rSt;
+}, "intersectRect"), wx = nSt;
function aoe(t, e) {
e && t.attr("style", e);
}
@@ -44269,7 +44280,7 @@ async function ooe(t) {
), aoe(r, t.labelStyle), r.style("display", "inline-block"), r.style("padding-right", "1px"), r.style("white-space", "nowrap"), r.attr("xmlns", "http://www.w3.org/1999/xhtml"), e.node();
}
x(ooe, "addHtmlLabel");
-var nSt = /* @__PURE__ */ x(async (t, e, r, n) => {
+var iSt = /* @__PURE__ */ x(async (t, e, r, n) => {
let i = t || "";
if (typeof i == "object" && (i = i[0]), bn(be().flowchart.htmlLabels)) {
i = i.replace(/\\n|\n/g, "
"), X.info("vertexText" + i);
@@ -44293,7 +44304,7 @@ var nSt = /* @__PURE__ */ x(async (t, e, r, n) => {
}
return s;
}
-}, "createLabel"), Dd = nSt, Ox = /* @__PURE__ */ x((t, e, r, n, i) => [
+}, "createLabel"), Dd = iSt, Ox = /* @__PURE__ */ x((t, e, r, n, i) => [
"M",
t + i,
e,
@@ -44350,9 +44361,9 @@ var nSt = /* @__PURE__ */ x(async (t, e, r, n) => {
seed: e
};
}, "solidStateFill"), loe = /* @__PURE__ */ x((t) => {
- const e = iSt([...t.cssCompiledStyles || [], ...t.cssStyles || []]);
+ const e = sSt([...t.cssCompiledStyles || [], ...t.cssStyles || []]);
return { stylesMap: e, stylesArray: [...e] };
-}, "compileStyles"), iSt = /* @__PURE__ */ x((t) => {
+}, "compileStyles"), sSt = /* @__PURE__ */ x((t) => {
const e = /* @__PURE__ */ new Map();
return t.forEach((r) => {
const [n, i] = r.split(":");
@@ -44424,14 +44435,14 @@ var nSt = /* @__PURE__ */ x(async (t, e, r, n) => {
return e.offsetX = 0, e.width = C.width, e.height = C.height, e.offsetY = m.height - e.padding / 2, e.intersect = function(T) {
return wx(e, T);
}, { cluster: f, labelBBox: m };
-}, "rect"), sSt = /* @__PURE__ */ x((t, e) => {
+}, "rect"), aSt = /* @__PURE__ */ x((t, e) => {
const r = t.insert("g").attr("class", "note-cluster").attr("id", e.id), n = r.insert("rect", ":first-child"), i = 0 * e.padding, s = i / 2;
n.attr("rx", e.rx).attr("ry", e.ry).attr("x", e.x - e.width / 2 - s).attr("y", e.y - e.height / 2 - s).attr("width", e.width + i).attr("height", e.height + i).attr("fill", "none");
const a = n.node().getBBox();
return e.width = a.width, e.height = a.height, e.intersect = function(o) {
return wx(e, o);
}, { cluster: r, labelBBox: { width: 0, height: 0 } };
-}, "noteGroup"), aSt = /* @__PURE__ */ x(async (t, e) => {
+}, "noteGroup"), oSt = /* @__PURE__ */ x(async (t, e) => {
const r = be(), { themeVariables: n, handDrawnSeed: i } = r, { altBackground: s, compositeBackground: a, compositeTitleBackground: o, nodeBorder: l } = n, u = t.insert("g").attr("class", e.cssClasses).attr("id", e.id).attr("data-id", e.id).attr("data-look", e.look), h = u.insert("g", ":first-child"), f = u.insert("g").attr("class", "cluster-label");
let d = u.append("rect");
const p = f.node().appendChild(await Dd(e.label, e.labelStyle, void 0, !0));
@@ -44475,7 +44486,7 @@ var nSt = /* @__PURE__ */ x(async (t, e, r, n) => {
return e.height = L.height, e.offsetX = 0, e.offsetY = g.height - e.padding / 2, e.labelBBox = g, e.intersect = function(E) {
return wx(e, E);
}, { cluster: u, labelBBox: g };
-}, "roundedWithTitle"), oSt = /* @__PURE__ */ x((t, e) => {
+}, "roundedWithTitle"), lSt = /* @__PURE__ */ x((t, e) => {
const r = be(), { themeVariables: n, handDrawnSeed: i } = r, { nodeBorder: s } = n, a = t.insert("g").attr("class", e.cssClasses).attr("id", e.id).attr("data-look", e.look), o = a.insert("g", ":first-child"), l = 0 * e.padding, u = e.width + l;
e.diff = -e.padding;
const h = e.height + l, f = e.x - u / 2, d = e.y - h / 2;
@@ -44499,20 +44510,20 @@ var nSt = /* @__PURE__ */ x(async (t, e, r, n) => {
return e.height = g.height, e.offsetX = 0, e.offsetY = 0, e.intersect = function(m) {
return wx(e, m);
}, { cluster: a, labelBBox: {} };
-}, "divider"), lSt = coe, cSt = {
+}, "divider"), cSt = coe, uSt = {
rect: coe,
- squareRect: lSt,
- roundedWithTitle: aSt,
- noteGroup: sSt,
- divider: oSt
+ squareRect: cSt,
+ roundedWithTitle: oSt,
+ noteGroup: aSt,
+ divider: lSt
}, uoe = /* @__PURE__ */ new Map(), hoe = /* @__PURE__ */ x(async (t, e) => {
- const r = e.shape || "rect", n = await cSt[r](t, e);
+ const r = e.shape || "rect", n = await uSt[r](t, e);
return uoe.set(e.id, n), n;
-}, "insertCluster"), uSt = /* @__PURE__ */ x(() => {
+}, "insertCluster"), hSt = /* @__PURE__ */ x(() => {
uoe = /* @__PURE__ */ new Map();
-}, "clear"), hSt = /* @__PURE__ */ x((t, e, r, n, i) => {
+}, "clear"), fSt = /* @__PURE__ */ x((t, e, r, n, i) => {
e.arrowTypeStart && Hq(t, "start", e.arrowTypeStart, r, n, i), e.arrowTypeEnd && Hq(t, "end", e.arrowTypeEnd, r, n, i);
-}, "addEdgeMarkers"), fSt = {
+}, "addEdgeMarkers"), dSt = {
arrow_cross: "cross",
arrow_point: "point",
arrow_barb: "barb",
@@ -44523,14 +44534,14 @@ var nSt = /* @__PURE__ */ x(async (t, e, r, n) => {
dependency: "dependency",
lollipop: "lollipop"
}, Hq = /* @__PURE__ */ x((t, e, r, n, i, s) => {
- const a = fSt[r];
+ const a = dSt[r];
if (!a) {
X.warn(`Unknown arrow type: ${r}`);
return;
}
const o = e === "start" ? "Start" : "End";
t.attr(`marker-${e}`, `url(${n}#${i}_${s}-${a}${o})`);
-}, "addEdgeMarker"), Z3 = /* @__PURE__ */ new Map(), ts = /* @__PURE__ */ new Map(), dSt = /* @__PURE__ */ x(() => {
+}, "addEdgeMarker"), Z3 = /* @__PURE__ */ new Map(), ts = /* @__PURE__ */ new Map(), pSt = /* @__PURE__ */ x(() => {
Z3.clear(), ts.clear();
}, "clear"), Jm = /* @__PURE__ */ x((t) => t ? t.reduce((r, n) => r + ";" + n, "") : "", "getLabelStyles"), foe = /* @__PURE__ */ x(async (t, e) => {
let r = bn(be().flowchart.htmlLabels);
@@ -44649,10 +44660,10 @@ var doe = /* @__PURE__ */ x((t, e) => {
}
s.attr("transform", `translate(${a}, ${o})`);
}
-}, "positionEdgeLabel"), pSt = /* @__PURE__ */ x((t, e) => {
+}, "positionEdgeLabel"), gSt = /* @__PURE__ */ x((t, e) => {
const r = t.x, n = t.y, i = Math.abs(e.x - r), s = Math.abs(e.y - n), a = t.width / 2, o = t.height / 2;
return i >= a || s >= o;
-}, "outsideNode"), gSt = /* @__PURE__ */ x((t, e, r) => {
+}, "outsideNode"), mSt = /* @__PURE__ */ x((t, e, r) => {
X.debug(`intersection calc abc89:
outsidePoint: ${JSON.stringify(e)}
insidePoint : ${JSON.stringify(r)}
@@ -44677,8 +44688,8 @@ var doe = /* @__PURE__ */ x((t, e) => {
X.warn("abc88 cutPathAtIntersect", t, e);
let r = [], n = t[0], i = !1;
return t.forEach((s) => {
- if (X.info("abc88 checking point", s, e), !pSt(e, s) && !i) {
- const a = gSt(e, n, s);
+ if (X.info("abc88 checking point", s, e), !gSt(e, s) && !i) {
+ const a = mSt(e, n, s);
X.debug("abc88 inside", s, n, a), X.debug("abc88 intersection", a, e);
let o = !1;
r.forEach((l) => {
@@ -44700,7 +44711,7 @@ x(poe, "extractCornerPoints");
var Zq = /* @__PURE__ */ x(function(t, e, r) {
const n = e.x - t.x, i = e.y - t.y, s = Math.sqrt(n * n + i * i), a = r / s;
return { x: e.x - a * n, y: e.y - a * i };
-}, "findAdjacentPoint"), mSt = /* @__PURE__ */ x(function(t) {
+}, "findAdjacentPoint"), vSt = /* @__PURE__ */ x(function(t) {
const { cornerPointPositions: e } = poe(t), r = [];
for (let n = 0; n < t.length; n++)
if (e.includes(n)) {
@@ -44751,7 +44762,7 @@ var Zq = /* @__PURE__ */ x(function(t, e, r) {
JSON.stringify(l, null, 2)
), l = Xq(l.reverse(), r.get(e.fromCluster).node).reverse(), u = !0);
let d = l.filter((L) => !Number.isNaN(L.y));
- d = mSt(d);
+ d = vSt(d);
let p = d[d.length - 1];
if (d.length > 1) {
p = d[d.length - 1];
@@ -44803,42 +44814,42 @@ var Zq = /* @__PURE__ */ x(function(t, e, r) {
} else
w = t.append("path").attr("d", O).attr("id", e.id).attr("class", " " + b + (e.classes ? " " + e.classes : "")).attr("style", S ? S.reduce((L, E) => L + ";" + E, "") : "");
let C = "";
- (be().flowchart.arrowMarkerAbsolute || be().state.arrowMarkerAbsolute) && (C = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, C = C.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), X.info("arrowTypeStart", e.arrowTypeStart), X.info("arrowTypeEnd", e.arrowTypeEnd), hSt(w, e, C, a, n);
+ (be().flowchart.arrowMarkerAbsolute || be().state.arrowMarkerAbsolute) && (C = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, C = C.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), X.info("arrowTypeStart", e.arrowTypeStart), X.info("arrowTypeEnd", e.arrowTypeEnd), fSt(w, e, C, a, n);
let T = {};
return u && (T.updatedPath = l), T.originalPath = e.points, T;
-}, "insertEdge"), vSt = /* @__PURE__ */ x((t, e, r, n) => {
+}, "insertEdge"), ySt = /* @__PURE__ */ x((t, e, r, n) => {
e.forEach((i) => {
- ESt[i](t, r, n);
+ _St[i](t, r, n);
});
-}, "insertMarkers"), ySt = /* @__PURE__ */ x((t, e, r) => {
+}, "insertMarkers"), bSt = /* @__PURE__ */ x((t, e, r) => {
X.trace("Making markers for ", r), t.append("defs").append("marker").attr("id", r + "_" + e + "-extensionStart").attr("class", "marker extension " + e).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 1,7 L18,13 V 1 Z"), t.append("defs").append("marker").attr("id", r + "_" + e + "-extensionEnd").attr("class", "marker extension " + e).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 1,1 V 13 L18,7 Z");
-}, "extension"), bSt = /* @__PURE__ */ x((t, e, r) => {
+}, "extension"), xSt = /* @__PURE__ */ x((t, e, r) => {
t.append("defs").append("marker").attr("id", r + "_" + e + "-compositionStart").attr("class", "marker composition " + e).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), t.append("defs").append("marker").attr("id", r + "_" + e + "-compositionEnd").attr("class", "marker composition " + e).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
-}, "composition"), xSt = /* @__PURE__ */ x((t, e, r) => {
+}, "composition"), wSt = /* @__PURE__ */ x((t, e, r) => {
t.append("defs").append("marker").attr("id", r + "_" + e + "-aggregationStart").attr("class", "marker aggregation " + e).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), t.append("defs").append("marker").attr("id", r + "_" + e + "-aggregationEnd").attr("class", "marker aggregation " + e).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
-}, "aggregation"), wSt = /* @__PURE__ */ x((t, e, r) => {
+}, "aggregation"), OSt = /* @__PURE__ */ x((t, e, r) => {
t.append("defs").append("marker").attr("id", r + "_" + e + "-dependencyStart").attr("class", "marker dependency " + e).attr("refX", 6).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 5,7 L9,13 L1,7 L9,1 Z"), t.append("defs").append("marker").attr("id", r + "_" + e + "-dependencyEnd").attr("class", "marker dependency " + e).attr("refX", 13).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
-}, "dependency"), OSt = /* @__PURE__ */ x((t, e, r) => {
+}, "dependency"), kSt = /* @__PURE__ */ x((t, e, r) => {
t.append("defs").append("marker").attr("id", r + "_" + e + "-lollipopStart").attr("class", "marker lollipop " + e).attr("refX", 13).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("circle").attr("stroke", "black").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6), t.append("defs").append("marker").attr("id", r + "_" + e + "-lollipopEnd").attr("class", "marker lollipop " + e).attr("refX", 1).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("circle").attr("stroke", "black").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6);
-}, "lollipop"), kSt = /* @__PURE__ */ x((t, e, r) => {
+}, "lollipop"), SSt = /* @__PURE__ */ x((t, e, r) => {
t.append("marker").attr("id", r + "_" + e + "-pointEnd").attr("class", "marker " + e).attr("viewBox", "0 0 10 10").attr("refX", 5).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 8).attr("markerHeight", 8).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), t.append("marker").attr("id", r + "_" + e + "-pointStart").attr("class", "marker " + e).attr("viewBox", "0 0 10 10").attr("refX", 4.5).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 8).attr("markerHeight", 8).attr("orient", "auto").append("path").attr("d", "M 0 5 L 10 10 L 10 0 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0");
-}, "point"), SSt = /* @__PURE__ */ x((t, e, r) => {
+}, "point"), TSt = /* @__PURE__ */ x((t, e, r) => {
t.append("marker").attr("id", r + "_" + e + "-circleEnd").attr("class", "marker " + e).attr("viewBox", "0 0 10 10").attr("refX", 11).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), t.append("marker").attr("id", r + "_" + e + "-circleStart").attr("class", "marker " + e).attr("viewBox", "0 0 10 10").attr("refX", -1).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0");
-}, "circle"), TSt = /* @__PURE__ */ x((t, e, r) => {
+}, "circle"), CSt = /* @__PURE__ */ x((t, e, r) => {
t.append("marker").attr("id", r + "_" + e + "-crossEnd").attr("class", "marker cross " + e).attr("viewBox", "0 0 11 11").attr("refX", 12).attr("refY", 5.2).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("path").attr("d", "M 1,1 l 9,9 M 10,1 l -9,9").attr("class", "arrowMarkerPath").style("stroke-width", 2).style("stroke-dasharray", "1,0"), t.append("marker").attr("id", r + "_" + e + "-crossStart").attr("class", "marker cross " + e).attr("viewBox", "0 0 11 11").attr("refX", -1).attr("refY", 5.2).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("path").attr("d", "M 1,1 l 9,9 M 10,1 l -9,9").attr("class", "arrowMarkerPath").style("stroke-width", 2).style("stroke-dasharray", "1,0");
-}, "cross"), CSt = /* @__PURE__ */ x((t, e, r) => {
+}, "cross"), ESt = /* @__PURE__ */ x((t, e, r) => {
t.append("defs").append("marker").attr("id", r + "_" + e + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L9,13 L14,7 L9,1 Z");
-}, "barb"), ESt = {
- extension: ySt,
- composition: bSt,
- aggregation: xSt,
- dependency: wSt,
- lollipop: OSt,
- point: kSt,
- circle: SSt,
- cross: TSt,
- barb: CSt
-}, moe = vSt, Qs = /* @__PURE__ */ x(async (t, e, r) => {
+}, "barb"), _St = {
+ extension: bSt,
+ composition: xSt,
+ aggregation: wSt,
+ dependency: OSt,
+ lollipop: kSt,
+ point: SSt,
+ circle: TSt,
+ cross: CSt,
+ barb: ESt
+}, moe = ySt, Qs = /* @__PURE__ */ x(async (t, e, r) => {
let n;
const i = e.useHtmlLabels || bn(be().flowchart.htmlLabels);
r ? n = r : n = "node default";
@@ -44887,7 +44898,7 @@ function voe(t, e) {
return t.intersect(e);
}
x(voe, "intersectNode");
-var _St = voe;
+var ASt = voe;
function yoe(t, e, r, n) {
var i = t.x, s = t.y, a = i - n.x, o = s - n.y, l = Math.sqrt(e * e * o * o + r * r * a * a), u = Math.abs(e * r * a / l);
n.x < i && (u = -u);
@@ -44900,7 +44911,7 @@ function xoe(t, e, r) {
return boe(t, e, e, r);
}
x(xoe, "intersectCircle");
-var ASt = xoe;
+var LSt = xoe;
function woe(t, e, r, n) {
var i, s, a, o, l, u, h, f, d, p, g, m, v, y, b;
if (i = e.y - t.y, a = t.x - e.x, l = e.x * t.y - t.x * e.y, d = i * r.x + a * r.y + l, p = i * n.x + a * n.y + l, !(d !== 0 && p !== 0 && j8(d, p)) && (s = n.y - r.y, o = r.x - n.x, u = n.x * r.y - r.x * n.y, h = s * t.x + o * t.y + u, f = s * e.x + o * e.y + u, !(h !== 0 && f !== 0 && j8(h, f)) && (g = i * o - s * a, g !== 0)))
@@ -44911,7 +44922,7 @@ function j8(t, e) {
return t * e > 0;
}
x(j8, "sameSign");
-var LSt = woe;
+var RSt = woe;
function Ooe(t, e, r) {
let n = t.x, i = t.y, s = [], a = Number.POSITIVE_INFINITY, o = Number.POSITIVE_INFINITY;
typeof e.forEach == "function" ? e.forEach(function(h) {
@@ -44919,7 +44930,7 @@ function Ooe(t, e, r) {
}) : (a = Math.min(a, e.x), o = Math.min(o, e.y));
let l = n - t.width / 2 - a, u = i - t.height / 2 - o;
for (let h = 0; h < e.length; h++) {
- let f = e[h], d = e[h < e.length - 1 ? h + 1 : 0], p = LSt(
+ let f = e[h], d = e[h < e.length - 1 ? h + 1 : 0], p = RSt(
t,
r,
{ x: l + f.x, y: u + f.y },
@@ -44933,11 +44944,11 @@ function Ooe(t, e, r) {
}), s[0]) : t;
}
x(Ooe, "intersectPolygon");
-var RSt = Ooe, si = {
- node: _St,
- circle: ASt,
+var MSt = Ooe, si = {
+ node: ASt,
+ circle: LSt,
ellipse: boe,
- polygon: RSt,
+ polygon: MSt,
rect: wx
}, dN = /* @__PURE__ */ x(async (t, e, r) => {
const { labelStyles: n, nodeStyles: i } = Ys(e);
@@ -44953,11 +44964,11 @@ var RSt = Ooe, si = {
return ii(e, f), e.intersect = function(m) {
return si.rect(e, m);
}, s;
-}, "drawRect"), MSt = /* @__PURE__ */ x(async (t, e) => dN(t, e, {
+}, "drawRect"), DSt = /* @__PURE__ */ x(async (t, e) => dN(t, e, {
rx: 5,
ry: 5,
classes: "flowchart-node"
-}), "state"), DSt = /* @__PURE__ */ x(async (t, e) => {
+}), "state"), NSt = /* @__PURE__ */ x(async (t, e) => {
const r = {
rx: 5,
ry: 5,
@@ -44966,7 +44977,7 @@ var RSt = Ooe, si = {
labelPaddingY: ((e == null ? void 0 : e.padding) || 0) * 1
};
return dN(t, e, r);
-}, "roundedRect"), NSt = /* @__PURE__ */ x(async (t, e) => {
+}, "roundedRect"), ISt = /* @__PURE__ */ x(async (t, e) => {
const r = {
rx: 0,
ry: 0,
@@ -44975,7 +44986,7 @@ var RSt = Ooe, si = {
labelPaddingY: ((e == null ? void 0 : e.padding) || 0) * 1
};
return dN(t, e, r);
-}, "squareRect"), ISt = /* @__PURE__ */ x((t, e) => {
+}, "squareRect"), PSt = /* @__PURE__ */ x((t, e) => {
const { themeVariables: r } = be(), { lineColor: n } = r, i = t.insert("g").attr("class", "node default").attr("id", e.domId || e.id);
let s;
if (e.look === "handDrawn") {
@@ -44986,7 +44997,7 @@ var RSt = Ooe, si = {
return s.attr("class", "state-start").attr("r", 7).attr("width", 14).attr("height", 14), ii(e, s), e.intersect = function(a) {
return si.circle(e, 7, a);
}, i;
-}, "stateStart"), PSt = /* @__PURE__ */ x((t, e) => {
+}, "stateStart"), $St = /* @__PURE__ */ x((t, e) => {
const { themeVariables: r } = be(), { lineColor: n } = r, i = t.insert("g").attr("class", "node default").attr("id", e.domId || e.id);
let s, a;
if (e.look === "handDrawn") {
@@ -45013,7 +45024,7 @@ var RSt = Ooe, si = {
return e.height && (f = e.height), e.width && (d = e.width), e.padding && (p = e.padding), e.height = f + p / 2, e.width = d + p / 2, e.intersect = function(g) {
return si.rect(e, g);
}, s;
-}, "forkJoin"), $St = /* @__PURE__ */ x((t, e) => {
+}, "forkJoin"), BSt = /* @__PURE__ */ x((t, e) => {
const { labelStyles: r, nodeStyles: n } = Ys(e);
e.labelStyle = r;
const { themeVariables: i } = be(), { lineColor: s } = i, a = t.insert("g").attr("class", "node default").attr("id", e.domId || e.id), o = 28, l = [
@@ -45038,7 +45049,7 @@ var RSt = Ooe, si = {
return u.attr("class", "state-start").attr("r", 7).attr("width", 28).attr("height", 28).attr("style", n), e.width = 28, e.height = 28, e.intersect = function(h) {
return si.circle(e, 14, h);
}, a;
-}, "choice"), BSt = /* @__PURE__ */ x(async (t, e) => {
+}, "choice"), FSt = /* @__PURE__ */ x(async (t, e) => {
const { themeVariables: r, handDrawnSeed: n } = be(), { noteBorderColor: i, noteBkgColor: s } = r;
e.useHtmlLabels || (e.centerLabel = !0);
const { shapeSvg: o, bbox: l } = await Qs(t, e, "node " + e.cssClasses);
@@ -45060,7 +45071,7 @@ var RSt = Ooe, si = {
return ii(e, h), e.intersect = function(m) {
return si.rect(e, m);
}, o;
-}, "note"), FSt = /* @__PURE__ */ x(async (t, e) => {
+}, "note"), zSt = /* @__PURE__ */ x(async (t, e) => {
const { labelStyles: r, nodeStyles: n } = Ys(e);
e.labelStyle = r;
const { shapeSvg: i, bbox: s } = await Qs(t, e, po(e)), a = s.height + e.padding, o = s.width + a / 4 + e.padding;
@@ -45074,7 +45085,7 @@ var RSt = Ooe, si = {
return ii(e, l), e.intersect = function(h) {
return si.rect(e, h);
}, i;
-}, "stadium"), zSt = /* @__PURE__ */ x(async (t, e) => {
+}, "stadium"), VSt = /* @__PURE__ */ x(async (t, e) => {
var L, E;
const { labelStyles: r, nodeStyles: n } = Ys(e);
e.labelStyle = r;
@@ -45136,7 +45147,7 @@ function uh(t, e, r, n) {
).attr("class", "label-container").attr("transform", "translate(" + -e / 2 + "," + r / 2 + ")");
}
x(uh, "insertPolygonShape");
-var VSt = /* @__PURE__ */ x(async (t, e) => {
+var USt = /* @__PURE__ */ x(async (t, e) => {
const { labelStyles: r, nodeStyles: n } = Ys(e);
e.labelStyle = r;
const { shapeSvg: i, bbox: s } = await Qs(t, e, po(e)), a = ((e == null ? void 0 : e.padding) || 0) / 2, o = s.width + e.padding, l = s.height + e.padding, u = -s.width / 2 - a, h = -s.height / 2 - a, f = [
@@ -45163,31 +45174,31 @@ var VSt = /* @__PURE__ */ x(async (t, e) => {
return e.intersect = function(d) {
return si.polygon(e, f, d);
}, i;
-}, "subroutine"), USt = /* @__PURE__ */ x((t, e, r, n, i, s) => [
+}, "subroutine"), qSt = /* @__PURE__ */ x((t, e, r, n, i, s) => [
`M${t},${e + s}`,
`a${i},${s} 0,0,0 ${r},0`,
`a${i},${s} 0,0,0 ${-r},0`,
`l0,${n}`,
`a${i},${s} 0,0,0 ${r},0`,
`l0,${-n}`
-].join(" "), "createCylinderPathD"), qSt = /* @__PURE__ */ x((t, e, r, n, i, s) => [
+].join(" "), "createCylinderPathD"), YSt = /* @__PURE__ */ x((t, e, r, n, i, s) => [
`M${t},${e + s}`,
`M${t + r},${e + s}`,
`a${i},${s} 0,0,0 ${-r},0`,
`l0,${n}`,
`a${i},${s} 0,0,0 ${r},0`,
`l0,${-n}`
-].join(" "), "createOuterCylinderPathD"), YSt = /* @__PURE__ */ x((t, e, r, n, i, s) => [`M${t - r / 2},${-n / 2}`, `a${i},${s} 0,0,0 ${r},0`].join(" "), "createInnerCylinderPathD"), QSt = /* @__PURE__ */ x(async (t, e) => {
+].join(" "), "createOuterCylinderPathD"), QSt = /* @__PURE__ */ x((t, e, r, n, i, s) => [`M${t - r / 2},${-n / 2}`, `a${i},${s} 0,0,0 ${r},0`].join(" "), "createInnerCylinderPathD"), WSt = /* @__PURE__ */ x(async (t, e) => {
const { labelStyles: r, nodeStyles: n } = Ys(e);
e.labelStyle = r;
const { shapeSvg: i, bbox: s } = await Qs(t, e, po(e)), a = s.width + e.padding, o = a / 2, l = o / (2.5 + a / 50), u = s.height + l + e.padding;
let h;
const { cssStyles: f } = e;
if (e.look === "handDrawn") {
- const d = Bn.svg(i), p = qSt(0, 0, a, u, o, l), g = YSt(0, l, a, u, o, l), m = d.path(p, gs(e, {})), v = d.path(g, gs(e, { fill: "none" }));
+ const d = Bn.svg(i), p = YSt(0, 0, a, u, o, l), g = QSt(0, l, a, u, o, l), m = d.path(p, gs(e, {})), v = d.path(g, gs(e, { fill: "none" }));
h = i.insert(() => v, ":first-child"), h = i.insert(() => m, ":first-child"), h.attr("class", "basic label-container"), f && h.attr("style", f);
} else {
- const d = USt(0, 0, a, u, o, l);
+ const d = qSt(0, 0, a, u, o, l);
h = i.insert("path", ":first-child").attr("d", d).attr("class", "basic label-container").attr("style", f).attr("style", n);
}
return h.attr("label-offset-y", l), h.attr("transform", `translate(${-a / 2}, ${-(u / 2 + l)})`), ii(e, h), e.intersect = function(d) {
@@ -45199,7 +45210,7 @@ var VSt = /* @__PURE__ */ x(async (t, e) => {
}
return p;
}, i;
-}, "cylinder"), WSt = /* @__PURE__ */ x(async (t, e) => {
+}, "cylinder"), GSt = /* @__PURE__ */ x(async (t, e) => {
const { labelStyles: r, nodeStyles: n } = Ys(e);
e.labelStyle = r;
const { shapeSvg: i, bbox: s, halfPadding: a } = await Qs(t, e, po(e)), o = s.width / 2 + a;
@@ -45213,7 +45224,7 @@ var VSt = /* @__PURE__ */ x(async (t, e) => {
return ii(e, l), e.intersect = function(h) {
return X.info("Circle intersect", e, o, h), si.circle(e, o, h);
}, i;
-}, "circle"), GSt = /* @__PURE__ */ x(async (t, e) => {
+}, "circle"), HSt = /* @__PURE__ */ x(async (t, e) => {
var d, p;
const { labelStyles: r, nodeStyles: n } = Ys(e);
e.labelStyle = r;
@@ -45231,14 +45242,14 @@ var VSt = /* @__PURE__ */ x(async (t, e) => {
return ii(e, h), e.intersect = function(g) {
return X.info("DoubleCircle intersect", e, l, g), si.circle(e, l, g);
}, i;
-}, "doublecircle"), HSt = /* @__PURE__ */ x((t, e, r, n) => [
+}, "doublecircle"), XSt = /* @__PURE__ */ x((t, e, r, n) => [
`M${t - n / 2},${e}`,
`L${t + r},${e}`,
`L${t + r},${e - n}`,
`L${t - n / 2},${e - n}`,
`L${t},${e - n / 2}`,
"Z"
-].join(" "), "createPolygonPathD"), XSt = /* @__PURE__ */ x(async (t, e) => {
+].join(" "), "createPolygonPathD"), ZSt = /* @__PURE__ */ x(async (t, e) => {
const { labelStyles: r, nodeStyles: n } = Ys(e);
e.labelStyle = r;
const { shapeSvg: i, bbox: s } = await Qs(t, e, po(e)), a = s.width + e.padding, o = s.height + e.padding, l = [
@@ -45251,20 +45262,20 @@ var VSt = /* @__PURE__ */ x(async (t, e) => {
let u;
const { cssStyles: h } = e;
if (e.look === "handDrawn") {
- const f = Bn.svg(i), d = gs(e, {}), p = HSt(0, 0, a, o), g = f.path(p, d);
+ const f = Bn.svg(i), d = gs(e, {}), p = XSt(0, 0, a, o), g = f.path(p, d);
u = i.insert(() => g, ":first-child").attr("transform", `translate(${-a / 2}, ${o / 2})`), h && u.attr("style", h);
} else
u = uh(i, a, o, l);
return n && u.attr("style", n), e.width = a + o, e.height = o, ii(e, u), e.intersect = function(f) {
return si.polygon(e, l, f);
}, i;
-}, "rect_left_inv_arrow"), ZSt = /* @__PURE__ */ x((t, e, r) => [
+}, "rect_left_inv_arrow"), jSt = /* @__PURE__ */ x((t, e, r) => [
`M${t + r / 2},${e}`,
`L${t + r},${e - r / 2}`,
`L${t + r / 2},${e - r}`,
`L${t},${e - r / 2}`,
"Z"
-].join(" "), "createDecisionBoxPathD"), jSt = /* @__PURE__ */ x(async (t, e) => {
+].join(" "), "createDecisionBoxPathD"), KSt = /* @__PURE__ */ x(async (t, e) => {
const { labelStyles: r, nodeStyles: n } = Ys(e);
e.labelStyle = r;
const { shapeSvg: i, bbox: s } = await Qs(t, e, po(e)), a = s.width + e.padding, o = s.height + e.padding, l = a + o, u = [
@@ -45276,7 +45287,7 @@ var VSt = /* @__PURE__ */ x(async (t, e) => {
let h;
const { cssStyles: f } = e;
if (e.look === "handDrawn") {
- const d = Bn.svg(i), p = gs(e, {}), g = ZSt(0, 0, l), m = d.path(g, p);
+ const d = Bn.svg(i), p = gs(e, {}), g = jSt(0, 0, l), m = d.path(g, p);
h = i.insert(() => m, ":first-child").attr("transform", `translate(${-l / 2}, ${l / 2})`), f && h.attr("style", f);
} else
h = uh(i, l, l, u);
@@ -45294,7 +45305,7 @@ res:`,
si.polygon(e, u, d)
), si.polygon(e, u, d);
}, i;
-}, "question"), KSt = /* @__PURE__ */ x((t, e, r, n, i) => [
+}, "question"), JSt = /* @__PURE__ */ x((t, e, r, n, i) => [
`M${t + i},${e}`,
`L${t + r - i},${e}`,
`L${t + r},${e - n / 2}`,
@@ -45302,7 +45313,7 @@ res:`,
`L${t + i},${e - n}`,
`L${t},${e - n / 2}`,
"Z"
-].join(" "), "createHexagonPathD"), JSt = /* @__PURE__ */ x(async (t, e) => {
+].join(" "), "createHexagonPathD"), eTt = /* @__PURE__ */ x(async (t, e) => {
const { labelStyles: r, nodeStyles: n } = Ys(e);
e.labelStyle = r;
const { shapeSvg: i, bbox: s } = await Qs(t, e, po(e)), a = 4, o = s.height + e.padding, l = o / a, u = s.width + 2 * l + e.padding, h = [
@@ -45316,20 +45327,20 @@ res:`,
let f;
const { cssStyles: d } = e;
if (e.look === "handDrawn") {
- const p = Bn.svg(i), g = gs(e, {}), m = KSt(0, 0, u, o, l), v = p.path(m, g);
+ const p = Bn.svg(i), g = gs(e, {}), m = JSt(0, 0, u, o, l), v = p.path(m, g);
f = i.insert(() => v, ":first-child").attr("transform", `translate(${-u / 2}, ${o / 2})`), d && f.attr("style", d);
} else
f = uh(i, u, o, h);
return n && f.attr("style", n), e.width = u, e.height = o, ii(e, f), e.intersect = function(p) {
return si.polygon(e, h, p);
}, i;
-}, "hexagon"), eTt = /* @__PURE__ */ x((t, e, r, n) => [
+}, "hexagon"), tTt = /* @__PURE__ */ x((t, e, r, n) => [
`M${t - 2 * n / 6},${e}`,
`L${t + r - n / 6},${e}`,
`L${t + r + 2 * n / 6},${e - n}`,
`L${t + n / 6},${e - n}`,
"Z"
-].join(" "), "createLeanRightPathD"), tTt = /* @__PURE__ */ x(async (t, e) => {
+].join(" "), "createLeanRightPathD"), rTt = /* @__PURE__ */ x(async (t, e) => {
const { labelStyles: r, nodeStyles: n } = Ys(e);
e.labelStyle = r;
const { shapeSvg: i, bbox: s } = await Qs(t, e, po(e)), a = s.width + e.padding, o = s.height + e.padding, l = [
@@ -45341,20 +45352,20 @@ res:`,
let u;
const { cssStyles: h } = e;
if (e.look === "handDrawn") {
- const f = Bn.svg(i), d = gs(e, {}), p = eTt(0, 0, a, o), g = f.path(p, d);
+ const f = Bn.svg(i), d = gs(e, {}), p = tTt(0, 0, a, o), g = f.path(p, d);
u = i.insert(() => g, ":first-child").attr("transform", `translate(${-a / 2}, ${o / 2})`), h && u.attr("style", h);
} else
u = uh(i, a, o, l);
return n && u.attr("style", n), e.width = a, e.height = o, ii(e, u), e.intersect = function(f) {
return si.polygon(e, l, f);
}, i;
-}, "lean_right"), rTt = /* @__PURE__ */ x((t, e, r, n) => [
+}, "lean_right"), nTt = /* @__PURE__ */ x((t, e, r, n) => [
`M${t + 2 * n / 6},${e}`,
`L${t + r + n / 6},${e}`,
`L${t + r - 2 * n / 6},${e - n}`,
`L${t - n / 6},${e - n}`,
"Z"
-].join(" "), "createLeanLeftPathD"), nTt = /* @__PURE__ */ x(async (t, e) => {
+].join(" "), "createLeanLeftPathD"), iTt = /* @__PURE__ */ x(async (t, e) => {
const { labelStyles: r, nodeStyles: n } = Ys(e);
e.labelStyle = r;
const { shapeSvg: i, bbox: s } = await Qs(t, e, po(e)), a = s.width + e.padding, o = s.height + e.padding, l = [
@@ -45366,20 +45377,20 @@ res:`,
let u;
const { cssStyles: h } = e;
if (e.look === "handDrawn") {
- const f = Bn.svg(i), d = gs(e, {}), p = rTt(0, 0, a, o), g = f.path(p, d);
+ const f = Bn.svg(i), d = gs(e, {}), p = nTt(0, 0, a, o), g = f.path(p, d);
u = i.insert(() => g, ":first-child").attr("transform", `translate(${-a / 2}, ${o / 2})`), h && u.attr("style", h);
} else
u = uh(i, a, o, l);
return n && u.attr("style", n), e.width = a, e.height = o, ii(e, u), e.intersect = function(f) {
return si.polygon(e, l, f);
}, i;
-}, "lean_left"), iTt = /* @__PURE__ */ x((t, e, r, n) => [
+}, "lean_left"), sTt = /* @__PURE__ */ x((t, e, r, n) => [
`M${t - 2 * n / 6},${e}`,
`L${t + r + 2 * n / 6},${e}`,
`L${t + r - n / 6},${e - n}`,
`L${t + n / 6},${e - n}`,
"Z"
-].join(" "), "createTrapezoidPathD"), sTt = /* @__PURE__ */ x(async (t, e) => {
+].join(" "), "createTrapezoidPathD"), aTt = /* @__PURE__ */ x(async (t, e) => {
const { labelStyles: r, nodeStyles: n } = Ys(e);
e.labelStyle = r;
const { shapeSvg: i, bbox: s } = await Qs(t, e, po(e)), a = s.width + e.padding, o = s.height + e.padding, l = [
@@ -45391,20 +45402,20 @@ res:`,
let u;
const { cssStyles: h } = e;
if (e.look === "handDrawn") {
- const f = Bn.svg(i), d = gs(e, {}), p = iTt(0, 0, a, o), g = f.path(p, d);
+ const f = Bn.svg(i), d = gs(e, {}), p = sTt(0, 0, a, o), g = f.path(p, d);
u = i.insert(() => g, ":first-child").attr("transform", `translate(${-a / 2}, ${o / 2})`), h && u.attr("style", h);
} else
u = uh(i, a, o, l);
return n && u.attr("style", n), e.width = a, e.height = o, ii(e, u), e.intersect = function(f) {
return si.polygon(e, l, f);
}, i;
-}, "trapezoid"), aTt = /* @__PURE__ */ x((t, e, r, n) => [
+}, "trapezoid"), oTt = /* @__PURE__ */ x((t, e, r, n) => [
`M${t + n / 6},${e}`,
`L${t + r - n / 6},${e}`,
`L${t + r + 2 * n / 6},${e - n}`,
`L${t - 2 * n / 6},${e - n}`,
"Z"
-].join(" "), "createInvertedTrapezoidPathD"), oTt = /* @__PURE__ */ x(async (t, e) => {
+].join(" "), "createInvertedTrapezoidPathD"), lTt = /* @__PURE__ */ x(async (t, e) => {
const { labelStyles: r, nodeStyles: n } = Ys(e);
e.labelStyle = r;
const { shapeSvg: i, bbox: s } = await Qs(t, e, po(e)), a = s.width + e.padding, o = s.height + e.padding, l = [
@@ -45416,42 +45427,42 @@ res:`,
let u;
const { cssStyles: h } = e;
if (e.look === "handDrawn") {
- const f = Bn.svg(i), d = gs(e, {}), p = aTt(0, 0, a, o), g = f.path(p, d);
+ const f = Bn.svg(i), d = gs(e, {}), p = oTt(0, 0, a, o), g = f.path(p, d);
u = i.insert(() => g, ":first-child").attr("transform", `translate(${-a / 2}, ${o / 2})`), h && u.attr("style", h);
} else
u = uh(i, a, o, l);
return n && u.attr("style", n), e.width = a, e.height = o, ii(e, u), e.intersect = function(f) {
return si.polygon(e, l, f);
}, i;
-}, "inv_trapezoid"), lTt = /* @__PURE__ */ x(async (t, e) => {
+}, "inv_trapezoid"), cTt = /* @__PURE__ */ x(async (t, e) => {
const { shapeSvg: r } = await Qs(t, e, "label"), n = r.insert("rect", ":first-child"), i = 0.1, s = 0.1;
return n.attr("width", i).attr("height", s), r.attr("class", "label edgeLabel"), ii(e, n), e.intersect = function(a) {
return si.rect(e, a);
}, r;
}, "labelRect"), Kq = {
- state: MSt,
- stateStart: ISt,
- stateEnd: PSt,
+ state: DSt,
+ stateStart: PSt,
+ stateEnd: $St,
fork: jq,
join: jq,
- choice: $St,
- note: BSt,
- roundedRect: DSt,
- rectWithTitle: zSt,
- squareRect: NSt,
- stadium: FSt,
- subroutine: VSt,
- cylinder: QSt,
- circle: WSt,
- doublecircle: GSt,
- odd: XSt,
- diamond: jSt,
- hexagon: JSt,
- lean_right: tTt,
- lean_left: nTt,
- trapezoid: sTt,
- inv_trapezoid: oTt,
- labelRect: lTt
+ choice: BSt,
+ note: FSt,
+ roundedRect: NSt,
+ rectWithTitle: VSt,
+ squareRect: ISt,
+ stadium: zSt,
+ subroutine: USt,
+ cylinder: WSt,
+ circle: GSt,
+ doublecircle: HSt,
+ odd: ZSt,
+ diamond: KSt,
+ hexagon: eTt,
+ lean_right: rTt,
+ lean_left: iTt,
+ trapezoid: aTt,
+ inv_trapezoid: lTt,
+ labelRect: cTt
}, sg = /* @__PURE__ */ new Map(), koe = /* @__PURE__ */ x(async (t, e, r) => {
let n, i;
if (e.shape === "rect" && (e.rx && e.ry ? e.shape = "roundedRect" : e.shape = "squareRect"), e.link) {
@@ -45460,9 +45471,9 @@ res:`,
} else
i = await Kq[e.shape](t, e, r), n = i;
return e.tooltip && i.attr("title", e.tooltip), sg.set(e.id, n), e.haveCallback && sg.get(e.id).attr("class", sg.get(e.id).attr("class") + " clickable"), n;
-}, "insertNode"), cTt = /* @__PURE__ */ x((t, e) => {
+}, "insertNode"), uTt = /* @__PURE__ */ x((t, e) => {
sg.set(e.id, t);
-}, "setNodeElem"), uTt = /* @__PURE__ */ x(() => {
+}, "setNodeElem"), hTt = /* @__PURE__ */ x(() => {
sg.clear();
}, "clear"), Jq = /* @__PURE__ */ x((t) => {
const e = sg.get(t.id);
@@ -45477,7 +45488,7 @@ res:`,
"transform",
"translate(" + (t.x + n - t.width / 2) + ", " + (t.y - t.height / 2 - r) + ")"
) : e.attr("transform", "translate(" + t.x + ", " + t.y + ")"), n;
-}, "positionNode"), hTt = {
+}, "positionNode"), fTt = {
common: at,
getConfig: pi,
insertCluster: hoe,
@@ -45492,23 +45503,23 @@ res:`,
}, y2 = {}, Soe = /* @__PURE__ */ x((t) => {
for (const e of t)
y2[e.name] = e;
-}, "registerLayoutLoaders"), fTt = /* @__PURE__ */ x(() => {
+}, "registerLayoutLoaders"), dTt = /* @__PURE__ */ x(() => {
Soe([
{
name: "dagre",
- loader: /* @__PURE__ */ x(async () => await Promise.resolve().then(() => bIt), "loader")
+ loader: /* @__PURE__ */ x(async () => await Promise.resolve().then(() => xIt), "loader")
}
]);
}, "registerDefaultLayoutLoaders");
-fTt();
+dTt();
var Toe = /* @__PURE__ */ x(async (t, e) => {
if (!(t.layoutAlgorithm in y2))
throw new Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);
const r = y2[t.layoutAlgorithm];
- return (await r.loader()).render(t, e, hTt, {
+ return (await r.loader()).render(t, e, fTt, {
algorithm: r.algorithm
});
-}, "render"), dTt = /* @__PURE__ */ x((t = "", { fallback: e = "dagre" } = {}) => {
+}, "render"), pTt = /* @__PURE__ */ x((t = "", { fallback: e = "dagre" } = {}) => {
if (t in y2)
return t;
if (e in y2)
@@ -45523,14 +45534,14 @@ var Toe = /* @__PURE__ */ x(async (t, e) => {
r = et(o.body);
}
return r.select(`#${t}`);
-}, "selectSvgElement"), Coe = "comm", Eoe = "rule", _oe = "decl", pTt = "@import", gTt = "@keyframes", mTt = "@layer", Aoe = Math.abs, pN = String.fromCharCode;
+}, "selectSvgElement"), Coe = "comm", Eoe = "rule", _oe = "decl", gTt = "@import", mTt = "@keyframes", vTt = "@layer", Aoe = Math.abs, pN = String.fromCharCode;
function Loe(t) {
return t.trim();
}
function B4(t, e, r) {
return t.replace(e, r);
}
-function vTt(t, e, r) {
+function yTt(t, e, r) {
return t.indexOf(e, r);
}
function b2(t, e) {
@@ -45542,7 +45553,7 @@ function n1(t, e, r) {
function ac(t) {
return t.length;
}
-function yTt(t) {
+function bTt(t) {
return t.length;
}
function sO(t, e) {
@@ -45552,10 +45563,10 @@ var QT = 1, i1 = 1, Roe = 0, Zo = 0, ci = 0, rm = "";
function gN(t, e, r, n, i, s, a, o) {
return { value: t, root: e, parent: r, type: n, props: i, children: s, line: QT, column: i1, length: a, return: "", siblings: o };
}
-function bTt() {
+function xTt() {
return ci;
}
-function xTt() {
+function wTt() {
return ci = Zo > 0 ? b2(rm, --Zo) : 0, i1--, ci === 10 && (i1 = 1, QT--), ci;
}
function kl() {
@@ -45602,21 +45613,21 @@ function x2(t) {
}
return 0;
}
-function wTt(t) {
+function OTt(t) {
return QT = i1 = 1, Roe = ac(rm = t), Zo = 0, [];
}
-function OTt(t) {
+function kTt(t) {
return rm = "", t;
}
function l_(t) {
return Loe(WT(Zo - 1, J8(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
}
-function kTt(t) {
+function STt(t) {
for (; (ci = Vh()) && ci < 33; )
kl();
return x2(t) > 2 || x2(ci) > 3 ? "" : " ";
}
-function STt(t, e) {
+function TTt(t, e) {
for (; --e && kl() && !(ci < 48 || ci > 102 || ci > 57 && ci < 65 || ci > 70 && ci < 97); )
;
return WT(t, F4() + (e < 6 && Vh() == 32 && kl() == 32));
@@ -45639,26 +45650,26 @@ function J8(t) {
}
return Zo;
}
-function TTt(t, e) {
+function CTt(t, e) {
for (; kl() && t + ci !== 47 + 10; )
if (t + ci === 42 + 42 && Vh() === 47)
break;
return "/*" + WT(e, Zo - 1) + "*" + pN(t === 47 ? t : kl());
}
-function CTt(t) {
+function ETt(t) {
for (; !x2(Vh()); )
kl();
return WT(t, Zo);
}
-function ETt(t) {
- return OTt(z4("", null, null, null, [""], t = wTt(t), 0, [0], t));
+function _Tt(t) {
+ return kTt(z4("", null, null, null, [""], t = OTt(t), 0, [0], t));
}
function z4(t, e, r, n, i, s, a, o, l) {
for (var u = 0, h = 0, f = a, d = 0, p = 0, g = 0, m = 1, v = 1, y = 1, b = 0, w = "", O = i, S = s, C = n, T = w; v; )
switch (g = b, b = kl()) {
case 40:
if (g != 108 && b2(T, f - 1) == 58) {
- vTt(T += B4(l_(b), "&", "&\f"), "&\f", Aoe(u ? o[u - 1] : 0)) != -1 && (y = -1);
+ yTt(T += B4(l_(b), "&", "&\f"), "&\f", Aoe(u ? o[u - 1] : 0)) != -1 && (y = -1);
break;
}
case 34:
@@ -45670,16 +45681,16 @@ function z4(t, e, r, n, i, s, a, o, l) {
case 10:
case 13:
case 32:
- T += kTt(g);
+ T += STt(g);
break;
case 92:
- T += STt(F4() - 1, 7);
+ T += TTt(F4() - 1, 7);
continue;
case 47:
switch (Vh()) {
case 42:
case 47:
- sO(_Tt(TTt(kl(), F4()), e, r, l), l), (x2(g || 1) == 5 || x2(Vh() || 1) == 5) && ac(T) && n1(T, -1, void 0) !== " " && (T += " ");
+ sO(ATt(CTt(kl(), F4()), e, r, l), l), (x2(g || 1) == 5 || x2(Vh() || 1) == 5) && ac(T) && n1(T, -1, void 0) !== " " && (T += " ");
break;
default:
T += "/";
@@ -45723,7 +45734,7 @@ function z4(t, e, r, n, i, s, a, o, l) {
if (m < 1) {
if (b == 123)
--m;
- else if (b == 125 && m++ == 0 && xTt() == 125)
+ else if (b == 125 && m++ == 0 && wTt() == 125)
continue;
}
switch (T += pN(b), b * m) {
@@ -45734,7 +45745,7 @@ function z4(t, e, r, n, i, s, a, o, l) {
o[u++] = (ac(T) - 1) * y, y = 1;
break;
case 64:
- Vh() === 45 && (T += l_(kl())), d = Vh(), h = f = ac(w = T += CTt(F4())), b++;
+ Vh() === 45 && (T += l_(kl())), d = Vh(), h = f = ac(w = T += ETt(F4())), b++;
break;
case 45:
g === 45 && ac(T) == 2 && (m = 0);
@@ -45743,13 +45754,13 @@ function z4(t, e, r, n, i, s, a, o, l) {
return s;
}
function eY(t, e, r, n, i, s, a, o, l, u, h, f) {
- for (var d = i - 1, p = i === 0 ? s : [""], g = yTt(p), m = 0, v = 0, y = 0; m < n; ++m)
+ for (var d = i - 1, p = i === 0 ? s : [""], g = bTt(p), m = 0, v = 0, y = 0; m < n; ++m)
for (var b = 0, w = n1(t, d + 1, d = Aoe(v = a[m])), O = t; b < g; ++b)
(O = Loe(v > 0 ? p[b] + " " + w : B4(w, /&\f/g, p[b]))) && (l[y++] = O);
return gN(t, e, r, i === 0 ? Eoe : o, l, u, h, f);
}
-function _Tt(t, e, r, n) {
- return gN(t, e, r, Coe, pN(bTt()), n1(t, 2, -2), 0, n);
+function ATt(t, e, r, n) {
+ return gN(t, e, r, Coe, pN(xTt()), n1(t, 2, -2), 0, n);
}
function tY(t, e, r, n, i) {
return gN(t, e, r, _oe, n1(t, 0, n), n1(t, n + 1, -1), n, i);
@@ -45759,17 +45770,17 @@ function eL(t, e) {
r += e(t[n], n, t, e) || "";
return r;
}
-function ATt(t, e, r, n) {
+function LTt(t, e, r, n) {
switch (t.type) {
- case mTt:
+ case vTt:
if (t.children.length)
break;
- case pTt:
+ case gTt:
case _oe:
return t.return = t.return || t.value;
case Coe:
return "";
- case gTt:
+ case mTt:
return t.return = t.value + "{" + eL(t.children, n) + "}";
case Eoe:
if (!ac(t.value = t.props.join(",")))
@@ -45777,198 +45788,198 @@ function ATt(t, e, r, n) {
}
return ac(r = eL(t.children, n)) ? t.return = t.value + "{" + r + "}" : "";
}
-var LTt = cae(Object.keys, Object);
-const RTt = LTt;
-var MTt = Object.prototype, DTt = MTt.hasOwnProperty;
+var RTt = cae(Object.keys, Object);
+const MTt = RTt;
+var DTt = Object.prototype, NTt = DTt.hasOwnProperty;
function Moe(t) {
if (!dx(t))
- return RTt(t);
+ return MTt(t);
var e = [];
for (var r in Object(t))
- DTt.call(t, r) && r != "constructor" && e.push(r);
+ NTt.call(t, r) && r != "constructor" && e.push(r);
return e;
}
-var NTt = W0(Gl, "DataView");
-const tL = NTt;
-var ITt = W0(Gl, "Promise");
-const rL = ITt;
-var PTt = W0(Gl, "Set");
-const ag = PTt;
-var $Tt = W0(Gl, "WeakMap");
-const nL = $Tt;
-var rY = "[object Map]", BTt = "[object Object]", nY = "[object Promise]", iY = "[object Set]", sY = "[object WeakMap]", aY = "[object DataView]", FTt = Q0(tL), zTt = Q0(m2), VTt = Q0(rL), UTt = Q0(ag), qTt = Q0(nL), ud = ah;
+var ITt = W0(Gl, "DataView");
+const tL = ITt;
+var PTt = W0(Gl, "Promise");
+const rL = PTt;
+var $Tt = W0(Gl, "Set");
+const ag = $Tt;
+var BTt = W0(Gl, "WeakMap");
+const nL = BTt;
+var rY = "[object Map]", FTt = "[object Object]", nY = "[object Promise]", iY = "[object Set]", sY = "[object WeakMap]", aY = "[object DataView]", zTt = Q0(tL), VTt = Q0(m2), UTt = Q0(rL), qTt = Q0(ag), YTt = Q0(nL), ud = ah;
(tL && ud(new tL(new ArrayBuffer(1))) != aY || m2 && ud(new m2()) != rY || rL && ud(rL.resolve()) != nY || ag && ud(new ag()) != iY || nL && ud(new nL()) != sY) && (ud = function(t) {
- var e = ah(t), r = e == BTt ? t.constructor : void 0, n = r ? Q0(r) : "";
+ var e = ah(t), r = e == FTt ? t.constructor : void 0, n = r ? Q0(r) : "";
if (n)
switch (n) {
- case FTt:
- return aY;
case zTt:
- return rY;
+ return aY;
case VTt:
- return nY;
+ return rY;
case UTt:
- return iY;
+ return nY;
case qTt:
+ return iY;
+ case YTt:
return sY;
}
return e;
});
const s1 = ud;
-var YTt = "[object Map]", QTt = "[object Set]", WTt = Object.prototype, GTt = WTt.hasOwnProperty;
+var QTt = "[object Map]", WTt = "[object Set]", GTt = Object.prototype, HTt = GTt.hasOwnProperty;
function $r(t) {
if (t == null)
return !0;
if (jc(t) && (Sr(t) || typeof t == "string" || typeof t.splice == "function" || r1(t) || FT(t) || t1(t)))
return !t.length;
var e = s1(t);
- if (e == YTt || e == QTt)
+ if (e == QTt || e == WTt)
return !t.size;
if (dx(t))
return !Moe(t).length;
for (var r in t)
- if (GTt.call(t, r))
+ if (HTt.call(t, r))
return !1;
return !0;
}
-var Doe = "c4", HTt = /* @__PURE__ */ x((t) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t), "detector"), XTt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => vPt);
+var Doe = "c4", XTt = /* @__PURE__ */ x((t) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t), "detector"), ZTt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => yPt);
return { id: Doe, diagram: t };
-}, "loader"), ZTt = {
+}, "loader"), jTt = {
id: Doe,
- detector: HTt,
- loader: XTt
-}, jTt = ZTt, Noe = "flowchart", KTt = /* @__PURE__ */ x((t, e) => {
+ detector: XTt,
+ loader: ZTt
+}, KTt = jTt, Noe = "flowchart", JTt = /* @__PURE__ */ x((t, e) => {
var r, n;
return ((r = e == null ? void 0 : e.flowchart) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" || ((n = e == null ? void 0 : e.flowchart) == null ? void 0 : n.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(t);
-}, "detector"), JTt = /* @__PURE__ */ x(async () => {
+}, "detector"), eCt = /* @__PURE__ */ x(async () => {
const { diagram: t } = await Promise.resolve().then(() => wI);
return { id: Noe, diagram: t };
-}, "loader"), eCt = {
+}, "loader"), tCt = {
id: Noe,
- detector: KTt,
- loader: JTt
-}, tCt = eCt, Ioe = "flowchart-v2", rCt = /* @__PURE__ */ x((t, e) => {
+ detector: JTt,
+ loader: eCt
+}, rCt = tCt, Ioe = "flowchart-v2", nCt = /* @__PURE__ */ x((t, e) => {
var r, n, i;
return ((r = e == null ? void 0 : e.flowchart) == null ? void 0 : r.defaultRenderer) === "dagre-d3" ? !1 : (((n = e == null ? void 0 : e.flowchart) == null ? void 0 : n.defaultRenderer) === "elk" && (e.layout = "elk"), /^\s*graph/.test(t) && ((i = e == null ? void 0 : e.flowchart) == null ? void 0 : i.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(t));
-}, "detector"), nCt = /* @__PURE__ */ x(async () => {
+}, "detector"), iCt = /* @__PURE__ */ x(async () => {
const { diagram: t } = await Promise.resolve().then(() => wI);
return { id: Ioe, diagram: t };
-}, "loader"), iCt = {
+}, "loader"), sCt = {
id: Ioe,
- detector: rCt,
- loader: nCt
-}, sCt = iCt, Poe = "er", aCt = /* @__PURE__ */ x((t) => /^\s*erDiagram/.test(t), "detector"), oCt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => xBt);
+ detector: nCt,
+ loader: iCt
+}, aCt = sCt, Poe = "er", oCt = /* @__PURE__ */ x((t) => /^\s*erDiagram/.test(t), "detector"), lCt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => wBt);
return { id: Poe, diagram: t };
-}, "loader"), lCt = {
+}, "loader"), cCt = {
id: Poe,
- detector: aCt,
- loader: oCt
-}, cCt = lCt, $oe = "gitGraph", uCt = /* @__PURE__ */ x((t) => /^\s*gitGraph/.test(t), "detector"), hCt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => zQt);
+ detector: oCt,
+ loader: lCt
+}, uCt = cCt, $oe = "gitGraph", hCt = /* @__PURE__ */ x((t) => /^\s*gitGraph/.test(t), "detector"), fCt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => VQt);
return { id: $oe, diagram: t };
-}, "loader"), fCt = {
+}, "loader"), dCt = {
id: $oe,
- detector: uCt,
- loader: hCt
-}, dCt = fCt, Boe = "gantt", pCt = /* @__PURE__ */ x((t) => /^\s*gantt/.test(t), "detector"), gCt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => NWt);
+ detector: hCt,
+ loader: fCt
+}, pCt = dCt, Boe = "gantt", gCt = /* @__PURE__ */ x((t) => /^\s*gantt/.test(t), "detector"), mCt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => IWt);
return { id: Boe, diagram: t };
-}, "loader"), mCt = {
+}, "loader"), vCt = {
id: Boe,
- detector: pCt,
- loader: gCt
-}, vCt = mCt, Foe = "info", yCt = /* @__PURE__ */ x((t) => /^\s*info/.test(t), "detector"), bCt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => UWt);
+ detector: gCt,
+ loader: mCt
+}, yCt = vCt, Foe = "info", bCt = /* @__PURE__ */ x((t) => /^\s*info/.test(t), "detector"), xCt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => qWt);
return { id: Foe, diagram: t };
-}, "loader"), xCt = {
+}, "loader"), wCt = {
id: Foe,
- detector: yCt,
- loader: bCt
-}, zoe = "pie", wCt = /* @__PURE__ */ x((t) => /^\s*pie/.test(t), "detector"), OCt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => iGt);
+ detector: bCt,
+ loader: xCt
+}, zoe = "pie", OCt = /* @__PURE__ */ x((t) => /^\s*pie/.test(t), "detector"), kCt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => sGt);
return { id: zoe, diagram: t };
-}, "loader"), kCt = {
+}, "loader"), SCt = {
id: zoe,
- detector: wCt,
- loader: OCt
-}, Voe = "quadrantChart", SCt = /* @__PURE__ */ x((t) => /^\s*quadrantChart/.test(t), "detector"), TCt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => dGt);
+ detector: OCt,
+ loader: kCt
+}, Voe = "quadrantChart", TCt = /* @__PURE__ */ x((t) => /^\s*quadrantChart/.test(t), "detector"), CCt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => pGt);
return { id: Voe, diagram: t };
-}, "loader"), CCt = {
+}, "loader"), ECt = {
id: Voe,
- detector: SCt,
- loader: TCt
-}, ECt = CCt, Uoe = "xychart", _Ct = /* @__PURE__ */ x((t) => /^\s*xychart-beta/.test(t), "detector"), ACt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => _Gt);
+ detector: TCt,
+ loader: CCt
+}, _Ct = ECt, Uoe = "xychart", ACt = /* @__PURE__ */ x((t) => /^\s*xychart-beta/.test(t), "detector"), LCt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => AGt);
return { id: Uoe, diagram: t };
-}, "loader"), LCt = {
+}, "loader"), RCt = {
id: Uoe,
- detector: _Ct,
- loader: ACt
-}, RCt = LCt, qoe = "requirement", MCt = /* @__PURE__ */ x((t) => /^\s*requirement(Diagram)?/.test(t), "detector"), DCt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => aHt);
+ detector: ACt,
+ loader: LCt
+}, MCt = RCt, qoe = "requirement", DCt = /* @__PURE__ */ x((t) => /^\s*requirement(Diagram)?/.test(t), "detector"), NCt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => oHt);
return { id: qoe, diagram: t };
-}, "loader"), NCt = {
+}, "loader"), ICt = {
id: qoe,
- detector: MCt,
- loader: DCt
-}, ICt = NCt, Yoe = "sequence", PCt = /* @__PURE__ */ x((t) => /^\s*sequenceDiagram/.test(t), "detector"), $Ct = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => oXt);
+ detector: DCt,
+ loader: NCt
+}, PCt = ICt, Yoe = "sequence", $Ct = /* @__PURE__ */ x((t) => /^\s*sequenceDiagram/.test(t), "detector"), BCt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => lXt);
return { id: Yoe, diagram: t };
-}, "loader"), BCt = {
+}, "loader"), FCt = {
id: Yoe,
- detector: PCt,
- loader: $Ct
-}, FCt = BCt, Qoe = "class", zCt = /* @__PURE__ */ x((t, e) => {
+ detector: $Ct,
+ loader: BCt
+}, zCt = FCt, Qoe = "class", VCt = /* @__PURE__ */ x((t, e) => {
var r;
return ((r = e == null ? void 0 : e.class) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(t);
-}, "detector"), VCt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => UXt);
+}, "detector"), UCt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => qXt);
return { id: Qoe, diagram: t };
-}, "loader"), UCt = {
+}, "loader"), qCt = {
id: Qoe,
- detector: zCt,
- loader: VCt
-}, qCt = UCt, Woe = "classDiagram", YCt = /* @__PURE__ */ x((t, e) => {
+ detector: VCt,
+ loader: UCt
+}, YCt = qCt, Woe = "classDiagram", QCt = /* @__PURE__ */ x((t, e) => {
var r;
return /^\s*classDiagram/.test(t) && ((r = e == null ? void 0 : e.class) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(t);
-}, "detector"), QCt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => SZt);
+}, "detector"), WCt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => TZt);
return { id: Woe, diagram: t };
-}, "loader"), WCt = {
+}, "loader"), GCt = {
id: Woe,
- detector: YCt,
- loader: QCt
-}, GCt = WCt, Goe = "state", HCt = /* @__PURE__ */ x((t, e) => {
+ detector: QCt,
+ loader: WCt
+}, HCt = GCt, Goe = "state", XCt = /* @__PURE__ */ x((t, e) => {
var r;
return ((r = e == null ? void 0 : e.state) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(t);
-}, "detector"), XCt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => Ijt);
+}, "detector"), ZCt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => Pjt);
return { id: Goe, diagram: t };
-}, "loader"), ZCt = {
+}, "loader"), jCt = {
id: Goe,
- detector: HCt,
- loader: XCt
-}, jCt = ZCt, Hoe = "stateDiagram", KCt = /* @__PURE__ */ x((t, e) => {
+ detector: XCt,
+ loader: ZCt
+}, KCt = jCt, Hoe = "stateDiagram", JCt = /* @__PURE__ */ x((t, e) => {
var r;
return !!(/^\s*stateDiagram-v2/.test(t) || /^\s*stateDiagram/.test(t) && ((r = e == null ? void 0 : e.state) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper");
-}, "detector"), JCt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => $jt);
+}, "detector"), eEt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => Bjt);
return { id: Hoe, diagram: t };
-}, "loader"), eEt = {
+}, "loader"), tEt = {
id: Hoe,
- detector: KCt,
- loader: JCt
-}, tEt = eEt, Xoe = "journey", rEt = /* @__PURE__ */ x((t) => /^\s*journey/.test(t), "detector"), nEt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => sKt);
+ detector: JCt,
+ loader: eEt
+}, rEt = tEt, Xoe = "journey", nEt = /* @__PURE__ */ x((t) => /^\s*journey/.test(t), "detector"), iEt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => aKt);
return { id: Xoe, diagram: t };
-}, "loader"), iEt = {
+}, "loader"), sEt = {
id: Xoe,
- detector: rEt,
- loader: nEt
-}, sEt = iEt, aEt = /* @__PURE__ */ x((t, e, r) => {
+ detector: nEt,
+ loader: iEt
+}, aEt = sEt, oEt = /* @__PURE__ */ x((t, e, r) => {
X.debug(`rendering svg for syntax error
`);
const n = Z0(e), i = n.append("g");
@@ -45991,67 +46002,67 @@ var Doe = "c4", HTt = /* @__PURE__ */ x((t) => /^\s*C4Context|C4Container|C4Comp
"d",
"m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"
), i.append("text").attr("class", "error-text").attr("x", 1440).attr("y", 250).attr("font-size", "150px").style("text-anchor", "middle").text("Syntax error in text"), i.append("text").attr("class", "error-text").attr("x", 1250).attr("y", 400).attr("font-size", "100px").style("text-anchor", "middle").text(`mermaid version ${r}`);
-}, "draw"), Zoe = { draw: aEt }, oEt = Zoe, lEt = {
+}, "draw"), Zoe = { draw: oEt }, lEt = Zoe, cEt = {
db: {},
renderer: Zoe,
parser: {
parse: /* @__PURE__ */ x(() => {
}, "parse")
}
-}, cEt = lEt, joe = "flowchart-elk", uEt = /* @__PURE__ */ x((t, e = {}) => {
+}, uEt = cEt, joe = "flowchart-elk", hEt = /* @__PURE__ */ x((t, e = {}) => {
var r;
return /^\s*flowchart-elk/.test(t) || /^\s*flowchart|graph/.test(t) && ((r = e == null ? void 0 : e.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? (e.layout = "elk", !0) : !1;
-}, "detector"), hEt = /* @__PURE__ */ x(async () => {
+}, "detector"), fEt = /* @__PURE__ */ x(async () => {
const { diagram: t } = await Promise.resolve().then(() => wI);
return { id: joe, diagram: t };
-}, "loader"), fEt = {
+}, "loader"), dEt = {
id: joe,
- detector: uEt,
- loader: hEt
-}, dEt = fEt, Koe = "timeline", pEt = /* @__PURE__ */ x((t) => /^\s*timeline/.test(t), "detector"), gEt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => EKt);
+ detector: hEt,
+ loader: fEt
+}, pEt = dEt, Koe = "timeline", gEt = /* @__PURE__ */ x((t) => /^\s*timeline/.test(t), "detector"), mEt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => _Kt);
return { id: Koe, diagram: t };
-}, "loader"), mEt = {
+}, "loader"), vEt = {
id: Koe,
- detector: pEt,
- loader: gEt
-}, vEt = mEt, Joe = "mindmap", yEt = /* @__PURE__ */ x((t) => /^\s*mindmap/.test(t), "detector"), bEt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => Far);
+ detector: gEt,
+ loader: mEt
+}, yEt = vEt, Joe = "mindmap", bEt = /* @__PURE__ */ x((t) => /^\s*mindmap/.test(t), "detector"), xEt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => zar);
return { id: Joe, diagram: t };
-}, "loader"), xEt = {
+}, "loader"), wEt = {
id: Joe,
- detector: yEt,
- loader: bEt
-}, wEt = xEt, ele = "sankey", OEt = /* @__PURE__ */ x((t) => /^\s*sankey-beta/.test(t), "detector"), kEt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => Oor);
+ detector: bEt,
+ loader: xEt
+}, OEt = wEt, ele = "sankey", kEt = /* @__PURE__ */ x((t) => /^\s*sankey-beta/.test(t), "detector"), SEt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => kor);
return { id: ele, diagram: t };
-}, "loader"), SEt = {
+}, "loader"), TEt = {
id: ele,
- detector: OEt,
- loader: kEt
-}, TEt = SEt, tle = "packet", CEt = /* @__PURE__ */ x((t) => /^\s*packet-beta/.test(t), "detector"), EEt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => Bor);
+ detector: kEt,
+ loader: SEt
+}, CEt = TEt, tle = "packet", EEt = /* @__PURE__ */ x((t) => /^\s*packet-beta/.test(t), "detector"), _Et = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => For);
return { id: tle, diagram: t };
-}, "loader"), _Et = {
+}, "loader"), AEt = {
id: tle,
- detector: CEt,
- loader: EEt
-}, rle = "block", AEt = /* @__PURE__ */ x((t) => /^\s*block-beta/.test(t), "detector"), LEt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => flr);
+ detector: EEt,
+ loader: _Et
+}, rle = "block", LEt = /* @__PURE__ */ x((t) => /^\s*block-beta/.test(t), "detector"), REt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => dlr);
return { id: rle, diagram: t };
-}, "loader"), REt = {
+}, "loader"), MEt = {
id: rle,
- detector: AEt,
- loader: LEt
-}, MEt = REt, nle = "architecture", DEt = /* @__PURE__ */ x((t) => /^\s*architecture/.test(t), "detector"), NEt = /* @__PURE__ */ x(async () => {
- const { diagram: t } = await Promise.resolve().then(() => Hlr);
+ detector: LEt,
+ loader: REt
+}, DEt = MEt, nle = "architecture", NEt = /* @__PURE__ */ x((t) => /^\s*architecture/.test(t), "detector"), IEt = /* @__PURE__ */ x(async () => {
+ const { diagram: t } = await Promise.resolve().then(() => Xlr);
return { id: nle, diagram: t };
-}, "loader"), IEt = {
+}, "loader"), PEt = {
id: nle,
- detector: DEt,
- loader: NEt
-}, PEt = IEt, oY = !1, GT = /* @__PURE__ */ x(() => {
- oY || (oY = !0, v3("error", cEt, (t) => t.toLowerCase().trim() === "error"), v3(
+ detector: NEt,
+ loader: IEt
+}, $Et = PEt, oY = !1, GT = /* @__PURE__ */ x(() => {
+ oY || (oY = !0, v3("error", uEt, (t) => t.toLowerCase().trim() === "error"), v3(
"---",
{
db: {
@@ -46074,32 +46085,32 @@ var Doe = "c4", HTt = /* @__PURE__ */ x((t) => /^\s*C4Context|C4Container|C4Comp
},
(t) => t.toLowerCase().trimStart().startsWith("---")
), Sie(
- jTt,
- GCt,
- qCt,
- cCt,
- vCt,
- xCt,
- kCt,
- ICt,
- FCt,
- dEt,
- sCt,
- tCt,
- wEt,
- vEt,
- dCt,
- tEt,
- jCt,
- sEt,
- ECt,
- TEt,
- _Et,
- RCt,
- MEt,
- PEt
+ KTt,
+ HCt,
+ YCt,
+ uCt,
+ yCt,
+ wCt,
+ SCt,
+ PCt,
+ zCt,
+ pEt,
+ aCt,
+ rCt,
+ OEt,
+ yEt,
+ pCt,
+ rEt,
+ KCt,
+ aEt,
+ _Ct,
+ CEt,
+ AEt,
+ MCt,
+ DEt,
+ $Et
));
-}, "addDiagrams"), $Et = /* @__PURE__ */ x(async () => {
+}, "addDiagrams"), BEt = /* @__PURE__ */ x(async () => {
X.debug("Loading registered diagrams");
const e = (await Promise.allSettled(
Object.entries(Qg).map(async ([r, { detector: n, loader: i }]) => {
@@ -46122,9 +46133,9 @@ var Doe = "c4", HTt = /* @__PURE__ */ x((t) => /^\s*C4Context|C4Container|C4Comp
X.error(r);
throw new Error(`Failed to load ${e.length} external diagrams`);
}
-}, "loadRegisteredDiagrams"), BEt = "graphics-document document";
+}, "loadRegisteredDiagrams"), FEt = "graphics-document document";
function ile(t, e) {
- t.attr("role", BEt), e !== "" && t.attr("aria-roledescription", e);
+ t.attr("role", FEt), e !== "" && t.attr("aria-roledescription", e);
}
x(ile, "setA11yDiagramInfo");
function sle(t, e, r, n) {
@@ -46147,12 +46158,12 @@ var M1, iL = (M1 = class {
static async fromText(e, r = {}) {
var u, h;
const n = pi(), i = TD(e, n);
- e = ikt(e) + `
+ e = skt(e) + `
`;
try {
T8(i);
} catch {
- const f = Jmt(i);
+ const f = evt(i);
if (!f)
throw new kie(`Diagram ${i} not found.`);
const { id: d, diagram: p } = await f();
@@ -46172,11 +46183,11 @@ var M1, iL = (M1 = class {
}
}, (() => {
x(M1, "Diagram");
-})(), M1), lY = [], FEt = /* @__PURE__ */ x(() => {
+})(), M1), lY = [], zEt = /* @__PURE__ */ x(() => {
lY.forEach((t) => {
t();
}), lY = [];
-}, "attachFunctions"), zEt = /* @__PURE__ */ x((t) => t.replace(/^\s*%%(?!{)[^\n]+\n?/gm, "").trimStart(), "cleanupComments");
+}, "attachFunctions"), VEt = /* @__PURE__ */ x((t) => t.replace(/^\s*%%(?!{)[^\n]+\n?/gm, "").trimStart(), "cleanupComments");
function mN(t) {
return typeof t > "u" || t === null;
}
@@ -46208,13 +46219,13 @@ function ule(t) {
return t === 0 && Number.NEGATIVE_INFINITY === 1 / t;
}
x(ule, "isNegativeZero");
-var VEt = mN, UEt = ale, qEt = ole, YEt = cle, QEt = ule, WEt = lle, Ei = {
- isNothing: VEt,
- isObject: UEt,
- toArray: qEt,
- repeat: YEt,
- isNegativeZero: QEt,
- extend: WEt
+var UEt = mN, qEt = ale, YEt = ole, QEt = cle, WEt = ule, GEt = lle, Ei = {
+ isNothing: UEt,
+ isObject: qEt,
+ toArray: YEt,
+ repeat: QEt,
+ isNegativeZero: WEt,
+ extend: GEt
};
function vN(t, e) {
var r = "", n = t.reason || "(unknown reason)";
@@ -46276,7 +46287,7 @@ function hle(t, e) {
return o.replace(/\n$/, "");
}
x(hle, "makeSnippet");
-var GEt = hle, HEt = [
+var HEt = hle, XEt = [
"kind",
"multi",
"resolve",
@@ -46287,7 +46298,7 @@ var GEt = hle, HEt = [
"representName",
"defaultStyle",
"styleAliases"
-], XEt = [
+], ZEt = [
"scalar",
"sequence",
"mapping"
@@ -46303,13 +46314,13 @@ function fle(t) {
x(fle, "compileStyleAliases");
function dle(t, e) {
if (e = e || {}, Object.keys(e).forEach(function(r) {
- if (HEt.indexOf(r) === -1)
+ if (XEt.indexOf(r) === -1)
throw new Ea('Unknown option "' + r + '" is met in definition of "' + t + '" YAML type.');
}), this.options = e, this.tag = t, this.kind = e.kind || null, this.resolve = e.resolve || function() {
return !0;
}, this.construct = e.construct || function(r) {
return r;
- }, this.instanceOf = e.instanceOf || null, this.predicate = e.predicate || null, this.represent = e.represent || null, this.representName = e.representName || null, this.defaultStyle = e.defaultStyle || null, this.multi = e.multi || !1, this.styleAliases = fle(e.styleAliases || null), XEt.indexOf(this.kind) === -1)
+ }, this.instanceOf = e.instanceOf || null, this.predicate = e.predicate || null, this.represent = e.represent || null, this.representName = e.representName || null, this.defaultStyle = e.defaultStyle || null, this.multi = e.multi || !1, this.styleAliases = fle(e.styleAliases || null), ZEt.indexOf(this.kind) === -1)
throw new Ea('Unknown kind "' + this.kind + '" is specified for "' + t + '" YAML type.');
}
x(dle, "Type$1");
@@ -46373,26 +46384,26 @@ j3.prototype.extend = /* @__PURE__ */ x(function(e) {
var i = Object.create(j3.prototype);
return i.implicit = (this.implicit || []).concat(r), i.explicit = (this.explicit || []).concat(n), i.compiledImplicit = sL(i, "implicit"), i.compiledExplicit = sL(i, "explicit"), i.compiledTypeMap = ple(i.compiledImplicit, i.compiledExplicit), i;
}, "extend");
-var ZEt = j3, jEt = new Bs("tag:yaml.org,2002:str", {
+var jEt = j3, KEt = new Bs("tag:yaml.org,2002:str", {
kind: "scalar",
construct: /* @__PURE__ */ x(function(t) {
return t !== null ? t : "";
}, "construct")
-}), KEt = new Bs("tag:yaml.org,2002:seq", {
+}), JEt = new Bs("tag:yaml.org,2002:seq", {
kind: "sequence",
construct: /* @__PURE__ */ x(function(t) {
return t !== null ? t : [];
}, "construct")
-}), JEt = new Bs("tag:yaml.org,2002:map", {
+}), e6t = new Bs("tag:yaml.org,2002:map", {
kind: "mapping",
construct: /* @__PURE__ */ x(function(t) {
return t !== null ? t : {};
}, "construct")
-}), e6t = new ZEt({
+}), t6t = new jEt({
explicit: [
- jEt,
KEt,
- JEt
+ JEt,
+ e6t
]
});
function gle(t) {
@@ -46410,7 +46421,7 @@ function vle(t) {
return t === null;
}
x(vle, "isNull");
-var t6t = new Bs("tag:yaml.org,2002:null", {
+var r6t = new Bs("tag:yaml.org,2002:null", {
kind: "scalar",
resolve: gle,
construct: mle,
@@ -46449,7 +46460,7 @@ function xle(t) {
return Object.prototype.toString.call(t) === "[object Boolean]";
}
x(xle, "isBoolean");
-var r6t = new Bs("tag:yaml.org,2002:bool", {
+var n6t = new Bs("tag:yaml.org,2002:bool", {
kind: "scalar",
resolve: yle,
construct: ble,
@@ -46546,7 +46557,7 @@ function Cle(t) {
return Object.prototype.toString.call(t) === "[object Number]" && t % 1 === 0 && !Ei.isNegativeZero(t);
}
x(Cle, "isInteger");
-var n6t = new Bs("tag:yaml.org,2002:int", {
+var i6t = new Bs("tag:yaml.org,2002:int", {
kind: "scalar",
resolve: Sle,
construct: Tle,
@@ -46572,11 +46583,11 @@ var n6t = new Bs("tag:yaml.org,2002:int", {
decimal: [10, "dec"],
hexadecimal: [16, "hex"]
}
-}), i6t = new RegExp(
+}), s6t = new RegExp(
"^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"
);
function Ele(t) {
- return !(t === null || !i6t.test(t) || t[t.length - 1] === "_");
+ return !(t === null || !s6t.test(t) || t[t.length - 1] === "_");
}
x(Ele, "resolveYamlFloat");
function _le(t) {
@@ -46584,7 +46595,7 @@ function _le(t) {
return e = t.replace(/_/g, "").toLowerCase(), r = e[0] === "-" ? -1 : 1, "+-".indexOf(e[0]) >= 0 && (e = e.slice(1)), e === ".inf" ? r === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY : e === ".nan" ? NaN : r * parseFloat(e, 10);
}
x(_le, "constructYamlFloat");
-var s6t = /^[-+]?[0-9]+e/;
+var a6t = /^[-+]?[0-9]+e/;
function Ale(t, e) {
var r;
if (isNaN(t))
@@ -46616,28 +46627,28 @@ function Ale(t, e) {
}
else if (Ei.isNegativeZero(t))
return "-0.0";
- return r = t.toString(10), s6t.test(r) ? r.replace("e", ".e") : r;
+ return r = t.toString(10), a6t.test(r) ? r.replace("e", ".e") : r;
}
x(Ale, "representYamlFloat");
function Lle(t) {
return Object.prototype.toString.call(t) === "[object Number]" && (t % 1 !== 0 || Ei.isNegativeZero(t));
}
x(Lle, "isFloat");
-var a6t = new Bs("tag:yaml.org,2002:float", {
+var o6t = new Bs("tag:yaml.org,2002:float", {
kind: "scalar",
resolve: Ele,
construct: _le,
predicate: Lle,
represent: Ale,
defaultStyle: "lowercase"
-}), Rle = e6t.extend({
+}), Rle = t6t.extend({
implicit: [
- t6t,
r6t,
n6t,
- a6t
+ i6t,
+ o6t
]
-}), o6t = Rle, Mle = new RegExp(
+}), l6t = Rle, Mle = new RegExp(
"^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
), Dle = new RegExp(
"^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"
@@ -46664,7 +46675,7 @@ function Ple(t) {
return t.toISOString();
}
x(Ple, "representYamlTimestamp");
-var l6t = new Bs("tag:yaml.org,2002:timestamp", {
+var c6t = new Bs("tag:yaml.org,2002:timestamp", {
kind: "scalar",
resolve: Nle,
construct: Ile,
@@ -46675,7 +46686,7 @@ function $le(t) {
return t === "<<" || t === null;
}
x($le, "resolveYamlMerge");
-var c6t = new Bs("tag:yaml.org,2002:merge", {
+var u6t = new Bs("tag:yaml.org,2002:merge", {
kind: "scalar",
resolve: $le
}), yN = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
@@ -46711,22 +46722,22 @@ function Vle(t) {
return Object.prototype.toString.call(t) === "[object Uint8Array]";
}
x(Vle, "isBinary");
-var u6t = new Bs("tag:yaml.org,2002:binary", {
+var h6t = new Bs("tag:yaml.org,2002:binary", {
kind: "scalar",
resolve: Ble,
construct: Fle,
predicate: Vle,
represent: zle
-}), h6t = Object.prototype.hasOwnProperty, f6t = Object.prototype.toString;
+}), f6t = Object.prototype.hasOwnProperty, d6t = Object.prototype.toString;
function Ule(t) {
if (t === null)
return !0;
var e = [], r, n, i, s, a, o = t;
for (r = 0, n = o.length; r < n; r += 1) {
- if (i = o[r], a = !1, f6t.call(i) !== "[object Object]")
+ if (i = o[r], a = !1, d6t.call(i) !== "[object Object]")
return !1;
for (s in i)
- if (h6t.call(i, s))
+ if (f6t.call(i, s))
if (!a)
a = !0;
else
@@ -46745,17 +46756,17 @@ function qle(t) {
return t !== null ? t : [];
}
x(qle, "constructYamlOmap");
-var d6t = new Bs("tag:yaml.org,2002:omap", {
+var p6t = new Bs("tag:yaml.org,2002:omap", {
kind: "sequence",
resolve: Ule,
construct: qle
-}), p6t = Object.prototype.toString;
+}), g6t = Object.prototype.toString;
function Yle(t) {
if (t === null)
return !0;
var e, r, n, i, s, a = t;
for (s = new Array(a.length), e = 0, r = a.length; e < r; e += 1) {
- if (n = a[e], p6t.call(n) !== "[object Object]" || (i = Object.keys(n), i.length !== 1))
+ if (n = a[e], g6t.call(n) !== "[object Object]" || (i = Object.keys(n), i.length !== 1))
return !1;
s[e] = [i[0], n[i[0]]];
}
@@ -46771,17 +46782,17 @@ function Qle(t) {
return s;
}
x(Qle, "constructYamlPairs");
-var g6t = new Bs("tag:yaml.org,2002:pairs", {
+var m6t = new Bs("tag:yaml.org,2002:pairs", {
kind: "sequence",
resolve: Yle,
construct: Qle
-}), m6t = Object.prototype.hasOwnProperty;
+}), v6t = Object.prototype.hasOwnProperty;
function Wle(t) {
if (t === null)
return !0;
var e, r = t;
for (e in r)
- if (m6t.call(r, e) && r[e] !== null)
+ if (v6t.call(r, e) && r[e] !== null)
return !1;
return !0;
}
@@ -46790,22 +46801,22 @@ function Gle(t) {
return t !== null ? t : {};
}
x(Gle, "constructYamlSet");
-var v6t = new Bs("tag:yaml.org,2002:set", {
+var y6t = new Bs("tag:yaml.org,2002:set", {
kind: "mapping",
resolve: Wle,
construct: Gle
-}), Hle = o6t.extend({
+}), Hle = l6t.extend({
implicit: [
- l6t,
- c6t
+ c6t,
+ u6t
],
explicit: [
- u6t,
- d6t,
- g6t,
- v6t
+ h6t,
+ p6t,
+ m6t,
+ y6t
]
-}), Of = Object.prototype.hasOwnProperty, K3 = 1, Xle = 2, Zle = 3, J3 = 4, c_ = 1, y6t = 2, cY = 3, b6t = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, x6t = /[\x85\u2028\u2029]/, w6t = /[,\[\]\{\}]/, jle = /^(?:!|!!|![a-z\-]+!)$/i, Kle = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
+}), Of = Object.prototype.hasOwnProperty, K3 = 1, Xle = 2, Zle = 3, J3 = 4, c_ = 1, b6t = 2, cY = 3, x6t = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, w6t = /[\x85\u2028\u2029]/, O6t = /[,\[\]\{\}]/, jle = /^(?:!|!!|![a-z\-]+!)$/i, Kle = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
function aL(t) {
return Object.prototype.toString.call(t);
}
@@ -46867,7 +46878,7 @@ function bN(t, e) {
line: t.line,
column: t.position - t.lineStart
};
- return r.snippet = GEt(r), new Ea(e, r);
+ return r.snippet = HEt(r), new Ea(e, r);
}
x(bN, "generateError");
function Vt(t, e) {
@@ -46901,7 +46912,7 @@ function Ru(t, e, r, n) {
for (i = 0, s = o.length; i < s; i += 1)
a = o.charCodeAt(i), a === 9 || 32 <= a && a <= 1114111 || Vt(t, "expected valid JSON character");
else
- b6t.test(o) && Vt(t, "the stream contains non-printable characters");
+ x6t.test(o) && Vt(t, "the stream contains non-printable characters");
t.result += o;
}
}
@@ -47059,7 +47070,7 @@ function uce(t, e) {
return !1;
for (t.kind = "scalar", t.result = ""; f !== 0; )
if (f = t.input.charCodeAt(++t.position), f === 43 || f === 45)
- c_ === i ? i = f === 43 ? cY : y6t : Vt(t, "repeat of a chomping mode identifier");
+ c_ === i ? i = f === 43 ? cY : b6t : Vt(t, "repeat of a chomping mode identifier");
else if ((h = tce(f)) >= 0)
h === 0 ? Vt(t, "bad explicit indentation width of a block scalar; it cannot be less than one") : a ? Vt(t, "repeat of an indentation width identifier") : (o = e + h - 1, a = !0);
else
@@ -47158,7 +47169,7 @@ function fce(t) {
} else {
for (; a !== 0 && !ra(a); )
a === 33 && (n ? Vt(t, "tag suffix cannot contain exclamation marks") : (i = t.input.slice(e - 1, t.position + 1), jle.test(i) || Vt(t, "named tag handle cannot contain such characters"), n = !0, e = t.position + 1)), a = t.input.charCodeAt(++t.position);
- s = t.input.slice(e, t.position), w6t.test(s) && Vt(t, "tag suffix cannot contain flow indicator characters");
+ s = t.input.slice(e, t.position), O6t.test(s) && Vt(t, "tag suffix cannot contain flow indicator characters");
}
s && !Kle.test(s) && Vt(t, "tag name cannot contain such characters: " + s);
try {
@@ -47236,7 +47247,7 @@ function gce(t) {
}
a !== 0 && HT(t), Of.call(uY, n) ? uY[n](t, n, i) : w2(t, 'unknown document directive "' + n + '"');
}
- if (ei(t, !0, -1), t.lineIndent === 0 && t.input.charCodeAt(t.position) === 45 && t.input.charCodeAt(t.position + 1) === 45 && t.input.charCodeAt(t.position + 2) === 45 ? (t.position += 3, ei(t, !0, -1)) : s && Vt(t, "directives end mark is expected"), d0(t, t.lineIndent - 1, J3, !1, !0), ei(t, !0, -1), t.checkLineBreaks && x6t.test(t.input.slice(e, t.position)) && w2(t, "non-ASCII line breaks are interpreted as content"), t.documents.push(t.result), t.position === t.lineStart && kx(t)) {
+ if (ei(t, !0, -1), t.lineIndent === 0 && t.input.charCodeAt(t.position) === 45 && t.input.charCodeAt(t.position + 1) === 45 && t.input.charCodeAt(t.position + 2) === 45 ? (t.position += 3, ei(t, !0, -1)) : s && Vt(t, "directives end mark is expected"), d0(t, t.lineIndent - 1, J3, !1, !0), ei(t, !0, -1), t.checkLineBreaks && w6t.test(t.input.slice(e, t.position)) && w2(t, "non-ASCII line breaks are interpreted as content"), t.documents.push(t.result), t.position === t.lineStart && kx(t)) {
t.input.charCodeAt(t.position) === 46 && (t.position += 3, ei(t, !0, -1));
return;
}
@@ -47275,10 +47286,10 @@ function vce(t, e) {
}
}
x(vce, "load$1");
-var O6t = mce, k6t = vce, S6t = {
- loadAll: O6t,
- load: k6t
-}, yce = Object.prototype.toString, bce = Object.prototype.hasOwnProperty, wN = 65279, T6t = 9, O2 = 10, C6t = 13, E6t = 32, _6t = 33, A6t = 34, uL = 35, L6t = 37, R6t = 38, M6t = 39, D6t = 42, xce = 44, N6t = 45, ek = 58, I6t = 61, P6t = 62, $6t = 63, B6t = 64, wce = 91, Oce = 93, F6t = 96, kce = 123, z6t = 124, Sce = 125, Ws = {};
+var k6t = mce, S6t = vce, T6t = {
+ loadAll: k6t,
+ load: S6t
+}, yce = Object.prototype.toString, bce = Object.prototype.hasOwnProperty, wN = 65279, C6t = 9, O2 = 10, E6t = 13, _6t = 32, A6t = 33, L6t = 34, uL = 35, R6t = 37, M6t = 38, D6t = 39, N6t = 42, xce = 44, I6t = 45, ek = 58, P6t = 61, $6t = 62, B6t = 63, F6t = 64, wce = 91, Oce = 93, z6t = 96, kce = 123, V6t = 124, Sce = 125, Ws = {};
Ws[0] = "\\0";
Ws[7] = "\\a";
Ws[8] = "\\b";
@@ -47294,7 +47305,7 @@ Ws[133] = "\\N";
Ws[160] = "\\_";
Ws[8232] = "\\L";
Ws[8233] = "\\P";
-var V6t = [
+var U6t = [
"y",
"Y",
"yes",
@@ -47311,7 +47322,7 @@ var V6t = [
"off",
"Off",
"OFF"
-], U6t = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
+], q6t = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
function Tce(t, e) {
var r, n, i, s, a, o, l;
if (e === null)
@@ -47334,9 +47345,9 @@ function Cce(t) {
return "\\" + r + Ei.repeat("0", n - e.length) + e;
}
x(Cce, "encodeHex");
-var q6t = 1, k2 = 2;
+var Y6t = 1, k2 = 2;
function Ece(t) {
- this.schema = t.schema || Hle, this.indent = Math.max(1, t.indent || 2), this.noArrayIndent = t.noArrayIndent || !1, this.skipInvalid = t.skipInvalid || !1, this.flowLevel = Ei.isNothing(t.flowLevel) ? -1 : t.flowLevel, this.styleMap = Tce(this.schema, t.styles || null), this.sortKeys = t.sortKeys || !1, this.lineWidth = t.lineWidth || 80, this.noRefs = t.noRefs || !1, this.noCompatMode = t.noCompatMode || !1, this.condenseFlow = t.condenseFlow || !1, this.quotingType = t.quotingType === '"' ? k2 : q6t, this.forceQuotes = t.forceQuotes || !1, this.replacer = typeof t.replacer == "function" ? t.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
+ this.schema = t.schema || Hle, this.indent = Math.max(1, t.indent || 2), this.noArrayIndent = t.noArrayIndent || !1, this.skipInvalid = t.skipInvalid || !1, this.flowLevel = Ei.isNothing(t.flowLevel) ? -1 : t.flowLevel, this.styleMap = Tce(this.schema, t.styles || null), this.sortKeys = t.sortKeys || !1, this.lineWidth = t.lineWidth || 80, this.noRefs = t.noRefs || !1, this.noCompatMode = t.noCompatMode || !1, this.condenseFlow = t.condenseFlow || !1, this.quotingType = t.quotingType === '"' ? k2 : Y6t, this.forceQuotes = t.forceQuotes || !1, this.replacer = typeof t.replacer == "function" ? t.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
}
x(Ece, "State");
function hL(t, e) {
@@ -47361,7 +47372,7 @@ function _ce(t, e) {
}
x(_ce, "testImplicitResolving");
function S2(t) {
- return t === E6t || t === T6t;
+ return t === _6t || t === C6t;
}
x(S2, "isWhitespace");
function o1(t) {
@@ -47369,7 +47380,7 @@ function o1(t) {
}
x(o1, "isPrintable");
function fL(t) {
- return o1(t) && t !== wN && t !== C6t && t !== O2;
+ return o1(t) && t !== wN && t !== E6t && t !== O2;
}
x(fL, "isNsCharOrWhitespace");
function dL(t, e, r) {
@@ -47378,7 +47389,7 @@ function dL(t, e, r) {
}
x(dL, "isPlainSafe");
function Ace(t) {
- return o1(t) && t !== wN && !S2(t) && t !== N6t && t !== $6t && t !== ek && t !== xce && t !== wce && t !== Oce && t !== kce && t !== Sce && t !== uL && t !== R6t && t !== D6t && t !== _6t && t !== z6t && t !== I6t && t !== P6t && t !== M6t && t !== A6t && t !== L6t && t !== B6t && t !== F6t;
+ return o1(t) && t !== wN && !S2(t) && t !== I6t && t !== B6t && t !== ek && t !== xce && t !== wce && t !== Oce && t !== kce && t !== Sce && t !== uL && t !== M6t && t !== N6t && t !== A6t && t !== V6t && t !== P6t && t !== $6t && t !== D6t && t !== L6t && t !== R6t && t !== F6t && t !== z6t;
}
x(Ace, "isPlainSafeFirst");
function Lce(t) {
@@ -47421,7 +47432,7 @@ function Ice(t, e, r, n, i) {
t.dump = function() {
if (e.length === 0)
return t.quotingType === k2 ? '""' : "''";
- if (!t.noCompatMode && (V6t.indexOf(e) !== -1 || U6t.test(e)))
+ if (!t.noCompatMode && (U6t.indexOf(e) !== -1 || q6t.test(e)))
return t.quotingType === k2 ? '"' + e + '"' : "'" + e + "'";
var s = t.indent * Math.max(1, r), a = t.lineWidth === -1 ? -1 : Math.max(Math.min(t.lineWidth, 40), t.lineWidth - s), o = n || t.flowLevel > -1 && r >= t.flowLevel;
function l(u) {
@@ -47598,7 +47609,7 @@ function rk(t, e, r) {
rk(t[n[i]], e, r);
}
x(rk, "inspectNode");
-function Y6t(t, e) {
+function Q6t(t, e) {
e = e || {};
var r = new Ece(e);
r.noRefs || Vce(t, r);
@@ -47606,14 +47617,14 @@ function Y6t(t, e) {
return r.replacer && (n = r.replacer.call({ "": n }, "", n)), $c(r, 0, n, !0, !0) ? r.dump + `
` : "";
}
-x(Y6t, "dump$1");
-function Q6t(t, e) {
+x(Q6t, "dump$1");
+function W6t(t, e) {
return function() {
throw new Error("Function yaml." + t + " is removed in js-yaml 4. Use yaml." + e + " instead, which is now safe by default.");
};
}
-x(Q6t, "renamed");
-var W6t = Rle, G6t = S6t.load;
+x(W6t, "renamed");
+var G6t = Rle, H6t = T6t.load;
function Uce(t) {
var i;
const e = t.match(Oie);
@@ -47622,8 +47633,8 @@ function Uce(t) {
text: t,
metadata: {}
};
- let r = (i = G6t(e[1], {
- schema: W6t
+ let r = (i = H6t(e[1], {
+ schema: G6t
})) != null ? i : {};
r = typeof r == "object" && !Array.isArray(r) ? r : {};
const n = {};
@@ -47633,24 +47644,24 @@ function Uce(t) {
};
}
x(Uce, "extractFrontMatter");
-var H6t = /* @__PURE__ */ x((t) => t.replace(/\r\n?/g, `
+var X6t = /* @__PURE__ */ x((t) => t.replace(/\r\n?/g, `
`).replace(
/<(\w+)([^>]*)>/g,
(e, r, n) => "<" + r + n.replace(/="([^"]*)"/g, "='$1'") + ">"
-), "cleanupText"), X6t = /* @__PURE__ */ x((t) => {
+), "cleanupText"), Z6t = /* @__PURE__ */ x((t) => {
const { text: e, metadata: r } = Uce(t), { displayMode: n, title: i, config: s = {} } = r;
return n && (s.gantt || (s.gantt = {}), s.gantt.displayMode = n), { title: i, config: s, text: e };
-}, "processFrontmatter"), Z6t = /* @__PURE__ */ x((t) => {
+}, "processFrontmatter"), j6t = /* @__PURE__ */ x((t) => {
var n;
const e = (n = sr.detectInit(t)) != null ? n : {}, r = sr.detectDirective(t, "wrap");
return Array.isArray(r) ? e.wrap = r.some(({ type: i }) => i === "wrap") : (r == null ? void 0 : r.type) === "wrap" && (e.wrap = !0), {
- text: H3t(t),
+ text: X3t(t),
directive: e
};
}, "processDirectives");
function kN(t) {
- const e = H6t(t), r = X6t(e), n = Z6t(r.text), i = ch(r.config, n.directive);
- return t = zEt(n.text), {
+ const e = X6t(t), r = Z6t(e), n = j6t(r.text), i = ch(r.config, n.directive);
+ return t = VEt(n.text), {
code: t,
title: r.title,
config: i
@@ -47662,11 +47673,11 @@ function qce(t) {
return btoa(r);
}
x(qce, "toBase64");
-var j6t = 5e4, K6t = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa", J6t = "sandbox", e_t = "loose", t_t = "http://www.w3.org/2000/svg", r_t = "http://www.w3.org/1999/xlink", n_t = "http://www.w3.org/1999/xhtml", i_t = "100%", s_t = "100%", a_t = "border:0;margin:0;", o_t = "margin:0", l_t = "allow-top-navigation-by-user-activation allow-popups", c_t = 'The "iframe" tag is not supported by your browser.', u_t = ["foreignobject"], h_t = ["dominant-baseline"];
+var K6t = 5e4, J6t = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa", e_t = "sandbox", t_t = "loose", r_t = "http://www.w3.org/2000/svg", n_t = "http://www.w3.org/1999/xlink", i_t = "http://www.w3.org/1999/xhtml", s_t = "100%", a_t = "100%", o_t = "border:0;margin:0;", l_t = "margin:0", c_t = "allow-top-navigation-by-user-activation allow-popups", u_t = 'The "iframe" tag is not supported by your browser.', h_t = ["foreignobject"], f_t = ["dominant-baseline"];
function SN(t) {
var r;
const e = kN(t);
- return g3(), pvt((r = e.config) != null ? r : {}), e;
+ return g3(), gvt((r = e.config) != null ? r : {}), e;
}
x(SN, "processAndSetConfigs");
async function Yce(t, e) {
@@ -47682,7 +47693,7 @@ async function Yce(t, e) {
}
x(Yce, "parse");
var hY = /* @__PURE__ */ x((t, e, r = []) => `
-.${t} ${e} { ${r.join(" !important; ")} !important; }`, "cssImportantStyles"), f_t = /* @__PURE__ */ x((t, e = /* @__PURE__ */ new Map()) => {
+.${t} ${e} { ${r.join(" !important; ")} !important; }`, "cssImportantStyles"), d_t = /* @__PURE__ */ x((t, e = /* @__PURE__ */ new Map()) => {
var n, i;
let r = "";
if (t.themeCSS !== void 0 && (r += `
@@ -47701,56 +47712,56 @@ ${t.themeCSS}`), t.fontFamily !== void 0 && (r += `
});
}
return r;
-}, "createCssStyles"), d_t = /* @__PURE__ */ x((t, e, r, n) => {
- const i = f_t(t, r), s = Mvt(e, i, t.themeVariables);
- return eL(ETt(`${n}{${s}}`), ATt);
-}, "createUserStyles"), p_t = /* @__PURE__ */ x((t = "", e, r) => {
+}, "createCssStyles"), p_t = /* @__PURE__ */ x((t, e, r, n) => {
+ const i = d_t(t, r), s = Dvt(e, i, t.themeVariables);
+ return eL(_Tt(`${n}{${s}}`), LTt);
+}, "createUserStyles"), g_t = /* @__PURE__ */ x((t = "", e, r) => {
let n = t;
return !r && !e && (n = n.replace(
/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,
'marker-end="url(#'
)), n = h0(n), n = n.replace(/
/g, "
"), n;
-}, "cleanUpSvgCode"), g_t = /* @__PURE__ */ x((t = "", e) => {
+}, "cleanUpSvgCode"), m_t = /* @__PURE__ */ x((t = "", e) => {
var i, s;
- const r = (s = (i = e == null ? void 0 : e.viewBox) == null ? void 0 : i.baseVal) != null && s.height ? e.viewBox.baseVal.height + "px" : s_t, n = qce(`${t}`);
- return `