@life-exe/wiki-engine 0.1.8 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist/chunks/{abnfDiagram-VCTEODGH-Imsy_6AS.js → abnfDiagram-VCTEODGH-DCSuCmOc.js} +3 -3
  2. package/dist/chunks/{arc-D6MJtt_q.js → arc-0R3N1J2h.js} +1 -1
  3. package/dist/chunks/{architectureDiagram-5GKGNRK7-8jlajhxK.js → architectureDiagram-5GKGNRK7-y9ioZDus.js} +2 -2
  4. package/dist/chunks/{blockDiagram-I7D4REHJ-DFVgotWZ.js → blockDiagram-I7D4REHJ-BeXHf4Gs.js} +3 -3
  5. package/dist/chunks/{c4Diagram-7LVT6UL2-DPBbttF_.js → c4Diagram-7LVT6UL2-CdnOZFgY.js} +2 -2
  6. package/dist/chunks/{channel-CE39cVPA.js → channel-BcGJKeKH.js} +1 -1
  7. package/dist/chunks/{chunk-2Q5K7J3B-MFdg3-Bn.js → chunk-2Q5K7J3B-DcZHMOXM.js} +1 -1
  8. package/dist/chunks/{chunk-5VM5RSS4-CQkqCL0k.js → chunk-5VM5RSS4-COW_DF8n.js} +1 -1
  9. package/dist/chunks/{chunk-F27PBJKO-O-J8Ly2D.js → chunk-F27PBJKO-C3p7wMXT.js} +1 -1
  10. package/dist/chunks/{chunk-IMKFNOWR-DZi8wkiz.js → chunk-IMKFNOWR-CUc_qJQG.js} +4 -4
  11. package/dist/chunks/{chunk-JWPE2WC7-DV-OXM4g.js → chunk-JWPE2WC7-C9r2pxFy.js} +1 -1
  12. package/dist/chunks/{chunk-POPQ4Y6H-VwYJANvX.js → chunk-POPQ4Y6H-g_G9k9fQ.js} +1 -1
  13. package/dist/chunks/{chunk-SHT3W25Y-D1LlXOSN.js → chunk-SHT3W25Y-BwtjunaW.js} +6 -6
  14. package/dist/chunks/{chunk-SVP7TREG-D8etqcSx.js → chunk-SVP7TREG-DipzW7tk.js} +1 -1
  15. package/dist/chunks/{chunk-TICWLB2K-BhGuy7Hq.js → chunk-TICWLB2K-_DENlw6c.js} +5 -5
  16. package/dist/chunks/{chunk-XXDRQBXY-D4LhH_BT.js → chunk-XXDRQBXY-BPSdNacq.js} +1 -1
  17. package/dist/chunks/{classDiagram-v2-VYDZK3BY-CXHx5JLf.js → classDiagram-ZZMXUADV-C6LEOnay.js} +2 -2
  18. package/dist/chunks/{classDiagram-ZZMXUADV-CXHx5JLf.js → classDiagram-v2-VYDZK3BY-C6LEOnay.js} +2 -2
  19. package/dist/chunks/{cose-bilkent-JH36ORCC-BEiRoiTo.js → cose-bilkent-JH36ORCC-Bs8VODlD.js} +1 -1
  20. package/dist/chunks/{cynefinDiagram-5FMLGOSQ-Cu82pRLK.js → cynefinDiagram-5FMLGOSQ-DJ306xY4.js} +2 -2
  21. package/dist/chunks/{dagre-GXQ25YYZ-C-hN2yko.js → dagre-GXQ25YYZ-DmePHd4f.js} +2 -2
  22. package/dist/chunks/{diagram-S7CK7UJ4-D20nII4h.js → diagram-S7CK7UJ4-CAlMror8.js} +3 -3
  23. package/dist/chunks/{diagram-UQ7AKVKN-CqrZvDrU.js → diagram-UQ7AKVKN-DZwoeTZS.js} +2 -2
  24. package/dist/chunks/{diagram-VSXAHHWV-CbnVoxTN.js → diagram-VSXAHHWV-DMFRB-fY.js} +2 -2
  25. package/dist/chunks/{diagram-VX7I27RA-VShjp41T.js → diagram-VX7I27RA-C_Y5Mdgs.js} +3 -3
  26. package/dist/chunks/{diagram-Z3DM3KII-DzG_bczb.js → diagram-Z3DM3KII-Bbxeht1g.js} +2 -2
  27. package/dist/chunks/{ebnfDiagram-PWID7BFC-Ci79IRt1.js → ebnfDiagram-PWID7BFC-D24qJwnL.js} +3 -3
  28. package/dist/chunks/{erDiagram-RLTQ6QDP-riH9m8Ot.js → erDiagram-RLTQ6QDP-DxxZUek5.js} +4 -4
  29. package/dist/chunks/flowDiagram-HODETNUW-C5KvSI_I.js +7 -0
  30. package/dist/chunks/{ganttDiagram-EL5Y4UJY-Cj84rwvt.js → ganttDiagram-EL5Y4UJY-B27KVgsc.js} +2 -2
  31. package/dist/chunks/{gitGraphDiagram-WWUBYQGX-CMQQA3kM.js → gitGraphDiagram-WWUBYQGX-BXhKsyx1.js} +3 -3
  32. package/dist/chunks/{index-DF97FFds.js → index-DVOMgAjm.js} +194 -179
  33. package/dist/chunks/{infoDiagram-27XIBGKW-CMGTRLLg.js → infoDiagram-27XIBGKW-BF7tDtlu.js} +1 -1
  34. package/dist/chunks/{ishikawaDiagram-5VMMS53U-CQIwgX2P.js → ishikawaDiagram-5VMMS53U-DC8tCnyH.js} +1 -1
  35. package/dist/chunks/{journeyDiagram-3NMN7TZE-B7lGzchv.js → journeyDiagram-3NMN7TZE-CYlUnuTg.js} +4 -4
  36. package/dist/chunks/{kanban-definition-UXKFOSKX-DErp1Bv7.js → kanban-definition-UXKFOSKX-BA2KqoqM.js} +2 -2
  37. package/dist/chunks/{layout-CpJGHMbn.js → layout-DlXi7l0o.js} +1 -1
  38. package/dist/chunks/{linear-T0WIUhnP.js → linear-BRBCKlBY.js} +1 -1
  39. package/dist/chunks/{mindmap-definition-YA3MSWOX-DsvrDBLa.js → mindmap-definition-YA3MSWOX-B-ozNXe1.js} +3 -3
  40. package/dist/chunks/{pegDiagram-XKGWAZYB-BydlaYy7.js → pegDiagram-XKGWAZYB-IjvIEfbN.js} +3 -3
  41. package/dist/chunks/{pieDiagram-E7YTZNPT-C55bDbEZ.js → pieDiagram-E7YTZNPT-cGXP3_X9.js} +3 -3
  42. package/dist/chunks/{quadrantDiagram-AXDQQJYC-vsSkNbXH.js → quadrantDiagram-AXDQQJYC-DJvFJUMn.js} +2 -2
  43. package/dist/chunks/{railroadDiagram-O6MQD6OU-HBoJLGti.js → railroadDiagram-O6MQD6OU-CalpYOGG.js} +3 -3
  44. package/dist/chunks/{requirementDiagram-BXWQKSXE-yFdn8tOM.js → requirementDiagram-BXWQKSXE-Cluoaat7.js} +3 -3
  45. package/dist/chunks/{sankeyDiagram-P5KCCOFB-tJbzZe_2.js → sankeyDiagram-P5KCCOFB-DFzMVvFf.js} +1 -1
  46. package/dist/chunks/{sequenceDiagram-WJ2MYXX4-EeecLiWX.js → sequenceDiagram-WJ2MYXX4-B-B1qHib.js} +3 -3
  47. package/dist/chunks/{sizeCapture-INFHLROL-Go1dPr88.js → sizeCapture-INFHLROL-Dz3gVE28.js} +1 -1
  48. package/dist/chunks/{stateDiagram-D77RDMKH-De-xqar-.js → stateDiagram-D77RDMKH-CZsNX34F.js} +3 -3
  49. package/dist/chunks/{stateDiagram-v2-MP3YSRHH-D9PbYL8q.js → stateDiagram-v2-MP3YSRHH-CHc_7Pdv.js} +2 -2
  50. package/dist/chunks/{swimlanes-42K2YHIH-BH3MegJU.js → swimlanes-42K2YHIH-BMShMSTP.js} +1 -1
  51. package/dist/chunks/{swimlanesDiagram-VR7AAH4N-adVCb_i3.js → swimlanesDiagram-VR7AAH4N-BPpgdacT.js} +2 -2
  52. package/dist/chunks/{timeline-definition-24CTP7MA-BoV3I2rM.js → timeline-definition-24CTP7MA-Cbggy7Vd.js} +2 -2
  53. package/dist/chunks/{vennDiagram-4TSXK5OY-U5U2PmKh.js → vennDiagram-4TSXK5OY-BuWFwmlS.js} +1 -1
  54. package/dist/chunks/{wardleyDiagram-VM6X3IG4-Dl_EZUQA.js → wardleyDiagram-VM6X3IG4-CLz2-Dv7.js} +2 -2
  55. package/dist/chunks/{xychartDiagram-S5SC5T6Z-BJPUTmB0.js → xychartDiagram-S5SC5T6Z-CjWNZ_Z3.js} +2 -2
  56. package/dist/index.js +1 -1
  57. package/dist/wiki-engine.css +1 -1
  58. package/package.json +1 -1
  59. package/dist/chunks/flowDiagram-HODETNUW-DW_O7mkA.js +0 -7
@@ -3,11 +3,11 @@ var WE = (e, t, r) => t in e ? qE(e, t, { enumerable: !0, configurable: !0, writ
3
3
  var we = (e, t, r) => WE(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import { jsx as Q, jsxs as oe, Fragment as H1 } from "react/jsx-runtime";
5
5
  import { useLocation as U1, useNavigate as YE, useParams as oc, NavLink as ph, Outlet as jE, Navigate as z1, Link as gh, BrowserRouter as GE, Routes as XE, Route as Po } from "react-router-dom";
6
- import { useState as or, useEffect as pr, createContext as q1, useContext as Bd, forwardRef as W1, createElement as mh, useRef as rn, useMemo as nn, useCallback as Qc, isValidElement as Sl, Children as VE } from "react";
6
+ import { useState as nr, useEffect as pr, createContext as q1, useContext as Bd, forwardRef as W1, createElement as mh, useRef as rn, useMemo as nn, useCallback as Qc, isValidElement as Sl, Children as VE } from "react";
7
7
  import { createPortal as KE } from "react-dom";
8
8
  import { g as vd } from "./common-BJ4q25wy.js";
9
9
  function QE(e = "ru") {
10
- const [t, r] = or(() => localStorage.getItem("wiki-lang") ?? e);
10
+ const [t, r] = nr(() => localStorage.getItem("wiki-lang") ?? e);
11
11
  return pr(() => {
12
12
  localStorage.setItem("wiki-lang", t), document.documentElement.lang = t;
13
13
  }, [t]), { lang: t, setLang: r };
@@ -18,14 +18,14 @@ function ZE() {
18
18
  return e || (window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light");
19
19
  }
20
20
  function JE() {
21
- const [e, t] = or(ZE);
21
+ const [e, t] = nr(ZE);
22
22
  return pr(() => {
23
23
  if (typeof document > "u") return;
24
24
  const i = document.documentElement;
25
25
  e === "dark" ? i.classList.add("dark") : i.classList.remove("dark"), localStorage.setItem("theme", e);
26
26
  }, [e]), { theme: e, toggle: () => t((i) => i === "dark" ? "light" : "dark") };
27
27
  }
28
- const Y1 = q1("ru"), FY = () => Bd(Y1), Id = q1(null);
28
+ const Y1 = q1("ru"), DY = () => Bd(Y1), Id = q1(null);
29
29
  function Gn() {
30
30
  const e = Bd(Id);
31
31
  if (!e)
@@ -396,7 +396,7 @@ function vp(e, t) {
396
396
  return n > 0 && (a = "..." + a), s < r.length && (a = a + "..."), a;
397
397
  }
398
398
  function U_({ isOpen: e, onClose: t }) {
399
- const [r, i] = or(""), [n, s] = or(0), a = YE(), { data: o, lang: l } = Gn(), { wikiIndex: c, wikiSections: u } = o, h = rn(null), f = rn(null), d = rn(null), p = nn(() => {
399
+ const [r, i] = nr(""), [n, s] = nr(0), a = YE(), { data: o, lang: l } = Gn(), { wikiIndex: c, wikiSections: u } = o, h = rn(null), f = rn(null), d = rn(null), p = nn(() => {
400
400
  const C = [];
401
401
  c && C.push({
402
402
  id: "readme",
@@ -580,7 +580,7 @@ function U_({ isOpen: e, onClose: t }) {
580
580
  }
581
581
  function z_() {
582
582
  var h, f;
583
- const { lang: e, config: t } = Gn(), r = t.cookieConsent, [i, n] = or(!1);
583
+ const { lang: e, config: t } = Gn(), r = t.cookieConsent, [i, n] = nr(!1);
584
584
  if (pr(() => {
585
585
  if ((r == null ? void 0 : r.enabled) === !1) return;
586
586
  if (!localStorage.getItem("cookie-consent")) {
@@ -721,7 +721,7 @@ function xh({
721
721
  }
722
722
  const q_ = 160, W_ = 600;
723
723
  function Y_() {
724
- const { config: e, data: t, lang: r, setLang: i, theme: n, toggleTheme: s } = Gn(), { wikiSections: a } = t, [o, l] = or(400), [c, u] = or(!1), [h, f] = or(!1), d = rn(420);
724
+ const { config: e, data: t, lang: r, setLang: i, theme: n, toggleTheme: s } = Gn(), { wikiSections: a } = t, [o, l] = nr(400), [c, u] = nr(!1), [h, f] = nr(!1), d = rn(420);
725
725
  pr(() => {
726
726
  if (e.enableSearch === !1) return;
727
727
  const U = (w) => {
@@ -739,7 +739,7 @@ function Y_() {
739
739
  return w;
740
740
  },
741
741
  [a]
742
- ), [T, k] = or(
742
+ ), [T, k] = nr(
743
743
  () => g(C)
744
744
  );
745
745
  pr(() => {
@@ -18479,11 +18479,11 @@ function aI(e, t) {
18479
18479
  }
18480
18480
  }
18481
18481
  const Xb = Object.entries, V0 = Object.setPrototypeOf, oI = Object.isFrozen, lI = Object.getPrototypeOf, cI = Object.getOwnPropertyDescriptor;
18482
- let Ke = Object.freeze, nr = Object.seal, fs = Object.create, Vb = typeof Reflect < "u" && Reflect, Dh = Vb.apply, Rh = Vb.construct;
18482
+ let Ke = Object.freeze, sr = Object.seal, fs = Object.create, Vb = typeof Reflect < "u" && Reflect, Dh = Vb.apply, Rh = Vb.construct;
18483
18483
  Ke || (Ke = function(t) {
18484
18484
  return t;
18485
18485
  });
18486
- nr || (nr = function(t) {
18486
+ sr || (sr = function(t) {
18487
18487
  return t;
18488
18488
  });
18489
18489
  Dh || (Dh = function(t, r) {
@@ -18593,13 +18593,13 @@ function bI(e) {
18593
18593
  return !1;
18594
18594
  }
18595
18595
  }
18596
- const eg = Ke(["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", "search", "section", "select", "shadow", "slot", "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"]), xu = Ke(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Cu = Ke(["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"]), xI = Ke(["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"]), Tu = Ke(["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"]), CI = Ke(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), rg = Ke(["#text"]), ig = Ke(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "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", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), ku = Ke(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "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", "dominant-baseline", "dur", "edgemode", "elevation", "end", "exponent", "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", "intercept", "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", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "pointer-events", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "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", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-orientation", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "vector-effect", "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"]), ng = Ke(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "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"]), Wo = Ke(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), TI = nr(/{{[\w\W]*|^[\w\W]*}}/g), kI = nr(/<%[\w\W]*|^[\w\W]*%>/g), EI = nr(/\${[\w\W]*/g), _I = nr(/^data-[\-\w.\u00B7-\uFFFF]+$/), SI = nr(/^aria-[\-\w]+$/), sg = nr(
18596
+ const eg = Ke(["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", "search", "section", "select", "shadow", "slot", "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"]), xu = Ke(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Cu = Ke(["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"]), xI = Ke(["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"]), Tu = Ke(["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"]), CI = Ke(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), rg = Ke(["#text"]), ig = Ke(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "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", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), ku = Ke(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "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", "dominant-baseline", "dur", "edgemode", "elevation", "end", "exponent", "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", "intercept", "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", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "pointer-events", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "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", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-orientation", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "vector-effect", "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"]), ng = Ke(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "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"]), Wo = Ke(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), TI = sr(/{{[\w\W]*|^[\w\W]*}}/g), kI = sr(/<%[\w\W]*|^[\w\W]*%>/g), EI = sr(/\${[\w\W]*/g), _I = sr(/^data-[\-\w.\u00B7-\uFFFF]+$/), SI = sr(/^aria-[\-\w]+$/), sg = sr(
18597
18597
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
18598
18598
  // eslint-disable-line no-useless-escape
18599
- ), wI = nr(/^(?:\w+script|data):/i), AI = nr(
18599
+ ), wI = sr(/^(?:\w+script|data):/i), AI = sr(
18600
18600
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
18601
18601
  // eslint-disable-line no-control-regex
18602
- ), LI = nr(/^html$/i), BI = nr(/^[a-z][.\w]*(-[.\w]+)+$/i), ag = nr(/<[/\w!]/g), og = nr(/<[/\w]/g), vI = nr(/<\/no(script|embed|frames)/i), II = nr(/\/>/i), Pr = {
18602
+ ), LI = sr(/^html$/i), BI = sr(/^[a-z][.\w]*(-[.\w]+)+$/i), ag = sr(/<[/\w!]/g), og = sr(/<[/\w]/g), vI = sr(/<\/no(script|embed|frames)/i), II = sr(/\/>/i), Pr = {
18603
18603
  element: 1,
18604
18604
  attribute: 2,
18605
18605
  text: 3,
@@ -18618,7 +18618,7 @@ const eg = Ke(["a", "abbr", "acronym", "address", "area", "article", "aside", "a
18618
18618
  }, Kb = ["style", "script", "xmp", "iframe", "noembed", "noframes", "plaintext", "noscript"], OI = Ke(be({}, Kb)), NI = (function() {
18619
18619
  const e = {};
18620
18620
  return An(Kb, (t) => {
18621
- e[t] = nr(new RegExp("</" + t + "(?=[\\t\\n\\f\\r />])", "i"));
18621
+ e[t] = sr(new RegExp("</" + t + "(?=[\\t\\n\\f\\r />])", "i"));
18622
18622
  }), Ke(e);
18623
18623
  })(), MI = function() {
18624
18624
  return typeof window > "u" ? null : window;
@@ -18830,7 +18830,7 @@ function Qb() {
18830
18830
  // Default built-in map
18831
18831
  );
18832
18832
  const z = Eu(A, "CUSTOM_ELEMENT_HANDLING", () => fs(null));
18833
- if ($e = fs(null), Ir(z, "tagNameCheck") && Do(z.tagNameCheck) && ($e.tagNameCheck = z.tagNameCheck), Ir(z, "attributeNameCheck") && Do(z.attributeNameCheck) && ($e.attributeNameCheck = z.attributeNameCheck), Ir(z, "allowCustomizedBuiltInElements") && typeof z.allowCustomizedBuiltInElements == "boolean" && ($e.allowCustomizedBuiltInElements = z.allowCustomizedBuiltInElements), nr($e), kt && (Ge = !1), Z && (S = !0), Bt && (V = be({}, rg), ue = fs(null), Bt.html === !0 && (be(V, eg), be(ue, ig)), Bt.svg === !0 && (be(V, xu), be(ue, ku), be(ue, Wo)), Bt.svgFilters === !0 && (be(V, Cu), be(ue, ku), be(ue, Wo)), Bt.mathMl === !0 && (be(V, Tu), be(ue, ng), be(ue, Wo))), tr.tagCheck = null, tr.attributeCheck = null, Ir(A, "ADD_TAGS") && (typeof A.ADD_TAGS == "function" ? tr.tagCheck = A.ADD_TAGS : Cs(A.ADD_TAGS) && (V === Vt && (V = Ur(V)), be(V, A.ADD_TAGS, Be))), Ir(A, "ADD_ATTR") && (typeof A.ADD_ATTR == "function" ? tr.attributeCheck = A.ADD_ATTR : Cs(A.ADD_ATTR) && (ue === Ze && (ue = Ur(ue)), be(ue, A.ADD_ATTR, Be))), Ir(A, "ADD_FORBID_CONTENTS") && Cs(A.ADD_FORBID_CONTENTS) && (Pt === M && (Pt = Ur(Pt)), be(Pt, A.ADD_FORBID_CONTENTS, Be)), mt && (V["#text"] = !0), W && be(V, ["html", "head", "body"]), V.table && (be(V, ["tbody"]), delete Je.tbody), A.TRUSTED_TYPES_POLICY) {
18833
+ if ($e = fs(null), Ir(z, "tagNameCheck") && Do(z.tagNameCheck) && ($e.tagNameCheck = z.tagNameCheck), Ir(z, "attributeNameCheck") && Do(z.attributeNameCheck) && ($e.attributeNameCheck = z.attributeNameCheck), Ir(z, "allowCustomizedBuiltInElements") && typeof z.allowCustomizedBuiltInElements == "boolean" && ($e.allowCustomizedBuiltInElements = z.allowCustomizedBuiltInElements), sr($e), kt && (Ge = !1), Z && (S = !0), Bt && (V = be({}, rg), ue = fs(null), Bt.html === !0 && (be(V, eg), be(ue, ig)), Bt.svg === !0 && (be(V, xu), be(ue, ku), be(ue, Wo)), Bt.svgFilters === !0 && (be(V, Cu), be(ue, ku), be(ue, Wo)), Bt.mathMl === !0 && (be(V, Tu), be(ue, ng), be(ue, Wo))), tr.tagCheck = null, tr.attributeCheck = null, Ir(A, "ADD_TAGS") && (typeof A.ADD_TAGS == "function" ? tr.tagCheck = A.ADD_TAGS : Cs(A.ADD_TAGS) && (V === Vt && (V = Ur(V)), be(V, A.ADD_TAGS, Be))), Ir(A, "ADD_ATTR") && (typeof A.ADD_ATTR == "function" ? tr.attributeCheck = A.ADD_ATTR : Cs(A.ADD_ATTR) && (ue === Ze && (ue = Ur(ue)), be(ue, A.ADD_ATTR, Be))), Ir(A, "ADD_FORBID_CONTENTS") && Cs(A.ADD_FORBID_CONTENTS) && (Pt === M && (Pt = Ur(Pt)), be(Pt, A.ADD_FORBID_CONTENTS, Be)), mt && (V["#text"] = !0), W && be(V, ["html", "head", "body"]), V.table && (be(V, ["tbody"]), delete Je.tbody), A.TRUSTED_TYPES_POLICY) {
18834
18834
  if (typeof A.TRUSTED_TYPES_POLICY.createHTML != "function")
18835
18835
  throw kn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
18836
18836
  if (typeof A.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -20261,7 +20261,7 @@ var zs = Qb(), Ph = /* @__PURE__ */ x((e, t, { depth: r = 2 } = {}) => {
20261
20261
  "redux-dark-color": {
20262
20262
  getThemeVariables: iO
20263
20263
  }
20264
- }, sr = {
20264
+ }, ar = {
20265
20265
  flowchart: {
20266
20266
  useMaxWidth: !0,
20267
20267
  titleTopMargin: 25,
@@ -20817,7 +20817,7 @@ var zs = Qb(), Ph = /* @__PURE__ */ x((e, t, { depth: r = 2 } = {}) => {
20817
20817
  markdownAutoWrap: !0,
20818
20818
  suppressErrorRendering: !1
20819
20819
  }, Zb = {
20820
- ...sr,
20820
+ ...ar,
20821
20821
  // Set, even though they're `undefined` so that `configKeys` finds these keys
20822
20822
  // TODO: Should we replace these with `null` so that they can go in the JSON Schema?
20823
20823
  deterministicIDSeed: void 0,
@@ -20834,7 +20834,7 @@ var zs = Qb(), Ph = /* @__PURE__ */ x((e, t, { depth: r = 2 } = {}) => {
20834
20834
  // add non-JSON default config values
20835
20835
  themeVariables: Ri.default.getThemeVariables(),
20836
20836
  sequence: {
20837
- ...sr.sequence,
20837
+ ...ar.sequence,
20838
20838
  messageFont: /* @__PURE__ */ x(function() {
20839
20839
  return {
20840
20840
  fontFamily: this.messageFontFamily,
@@ -20866,13 +20866,13 @@ var zs = Qb(), Ph = /* @__PURE__ */ x((e, t, { depth: r = 2 } = {}) => {
20866
20866
  // node dimensions.
20867
20867
  },
20868
20868
  gantt: {
20869
- ...sr.gantt,
20869
+ ...ar.gantt,
20870
20870
  tickInterval: void 0,
20871
20871
  useWidth: void 0
20872
20872
  // can probably be removed since `configKeys` already includes this
20873
20873
  },
20874
20874
  c4: {
20875
- ...sr.c4,
20875
+ ...ar.c4,
20876
20876
  useWidth: void 0,
20877
20877
  personFont: /* @__PURE__ */ x(function() {
20878
20878
  return {
@@ -20882,7 +20882,7 @@ var zs = Qb(), Ph = /* @__PURE__ */ x((e, t, { depth: r = 2 } = {}) => {
20882
20882
  };
20883
20883
  }, "personFont"),
20884
20884
  flowchart: {
20885
- ...sr.flowchart,
20885
+ ...ar.flowchart,
20886
20886
  inheritDir: !1
20887
20887
  // default to legacy behavior
20888
20888
  },
@@ -21035,32 +21035,32 @@ var zs = Qb(), Ph = /* @__PURE__ */ x((e, t, { depth: r = 2 } = {}) => {
21035
21035
  }, "messageFont")
21036
21036
  },
21037
21037
  pie: {
21038
- ...sr.pie,
21038
+ ...ar.pie,
21039
21039
  useWidth: 984
21040
21040
  },
21041
21041
  xyChart: {
21042
- ...sr.xyChart,
21042
+ ...ar.xyChart,
21043
21043
  useWidth: void 0
21044
21044
  },
21045
21045
  requirement: {
21046
- ...sr.requirement,
21046
+ ...ar.requirement,
21047
21047
  useWidth: void 0
21048
21048
  },
21049
21049
  packet: {
21050
- ...sr.packet
21050
+ ...ar.packet
21051
21051
  },
21052
21052
  eventmodeling: {
21053
- ...sr.eventmodeling
21053
+ ...ar.eventmodeling
21054
21054
  },
21055
21055
  treeView: {
21056
- ...sr.treeView,
21056
+ ...ar.treeView,
21057
21057
  useWidth: void 0
21058
21058
  },
21059
21059
  radar: {
21060
- ...sr.radar
21060
+ ...ar.radar
21061
21061
  },
21062
21062
  railroad: {
21063
- ...sr.railroad,
21063
+ ...ar.railroad,
21064
21064
  // Railroad colors and typography derive from the active theme unless explicitly overridden.
21065
21065
  fontSize: void 0,
21066
21066
  fontFamily: void 0,
@@ -21080,10 +21080,10 @@ var zs = Qb(), Ph = /* @__PURE__ */ x((e, t, { depth: r = 2 } = {}) => {
21080
21080
  ruleNameColor: void 0
21081
21081
  },
21082
21082
  ishikawa: {
21083
- ...sr.ishikawa
21083
+ ...ar.ishikawa
21084
21084
  },
21085
21085
  sankey: {
21086
- ...sr.sankey,
21086
+ ...ar.sankey,
21087
21087
  // Set so that `configKeys` includes this key for sanitizeDirective
21088
21088
  nodeColors: void 0
21089
21089
  },
@@ -21100,10 +21100,10 @@ var zs = Qb(), Ph = /* @__PURE__ */ x((e, t, { depth: r = 2 } = {}) => {
21100
21100
  valueFormat: ","
21101
21101
  },
21102
21102
  venn: {
21103
- ...sr.venn
21103
+ ...ar.venn
21104
21104
  },
21105
21105
  cynefin: {
21106
- ...sr.cynefin
21106
+ ...ar.cynefin
21107
21107
  }
21108
21108
  }, Jb = /* @__PURE__ */ x((e, t = "") => Object.keys(e).reduce((r, i) => Array.isArray(e[i]) ? r : typeof e[i] == "object" && e[i] !== null ? [...r, t + i, ...Jb(e[i], "")] : [...r, t + i], []), "keyify"), nO = new Set(Jb(Zb, "")), tx = Zb, sO = {
21109
21109
  // CSS colors (sankey)
@@ -21188,7 +21188,7 @@ var zs = Qb(), Ph = /* @__PURE__ */ x((e, t, { depth: r = 2 } = {}) => {
21188
21188
  cg[e] || (rt.warn(hO[e]), cg[e] = !0);
21189
21189
  }, "issueWarning"), dO = /* @__PURE__ */ x((e) => {
21190
21190
  e && (e.lazyLoadedDiagrams || e.loadExternalDiagramsAtStartup) && sx("LAZY_LOAD_DEPRECATED");
21191
- }, "checkConfig"), PY = /* @__PURE__ */ x(() => {
21191
+ }, "checkConfig"), $Y = /* @__PURE__ */ x(() => {
21192
21192
  let e = {};
21193
21193
  Nl && (e = ir(e, Nl));
21194
21194
  for (const t of $n)
@@ -21275,7 +21275,7 @@ var ux = /* @__PURE__ */ x((e) => (mO(), zs.sanitize(e)), "removeScript"), ug =
21275
21275
  }, "processSet"), dg = /* @__PURE__ */ x(() => window.MathMLElement !== void 0, "isMathMLSupported"), Uh = /\$\$(.*?)\$\$/g, so = /* @__PURE__ */ x((e) => {
21276
21276
  var t;
21277
21277
  return (((t = e.match(Uh)) == null ? void 0 : t.length) ?? 0) > 0;
21278
- }, "hasKatex"), $Y = /* @__PURE__ */ x(async (e, t) => {
21278
+ }, "hasKatex"), HY = /* @__PURE__ */ x(async (e, t) => {
21279
21279
  const r = document.createElement("div");
21280
21280
  r.innerHTML = await dx(e, t), r.id = "katex-temp", r.style.visibility = "hidden", r.style.position = "absolute", r.style.top = "0";
21281
21281
  const i = document.querySelector("body");
@@ -21479,7 +21479,7 @@ var nf = "", sf = "", af = "", of = /* @__PURE__ */ x((e) => Zr(e, De()), "sanit
21479
21479
  `);
21480
21480
  }, "setAccDescription"), RO = /* @__PURE__ */ x(() => af, "getAccDescription"), PO = /* @__PURE__ */ x((e) => {
21481
21481
  sf = of(e);
21482
- }, "setDiagramTitle"), $O = /* @__PURE__ */ x(() => sf, "getDiagramTitle"), fg = rt, HO = ef, de = De, HY = ix, UY = qs, lf = /* @__PURE__ */ x((e) => Zr(e, de()), "sanitizeText"), UO = BO, zO = /* @__PURE__ */ x(() => px, "getCommonDb"), Fl = {}, Dl = /* @__PURE__ */ x((e, t, r) => {
21482
+ }, "setDiagramTitle"), $O = /* @__PURE__ */ x(() => sf, "getDiagramTitle"), fg = rt, HO = ef, de = De, UY = ix, zY = qs, lf = /* @__PURE__ */ x((e) => Zr(e, de()), "sanitizeText"), UO = BO, zO = /* @__PURE__ */ x(() => px, "getCommonDb"), Fl = {}, Dl = /* @__PURE__ */ x((e, t, r) => {
21483
21483
  var i;
21484
21484
  Fl[e] && fg.warn(`Diagram with id ${e} already registered. Overwriting.`), Fl[e] = t, r && lx(e, r), IO(e, t.styles), (i = t.injectUtils) == null || i.call(
21485
21485
  t,
@@ -22447,7 +22447,7 @@ function RM(e, t, r) {
22447
22447
  return Math.pow(e + i * t, r);
22448
22448
  };
22449
22449
  }
22450
- function zY(e, t) {
22450
+ function qY(e, t) {
22451
22451
  var r = t - e;
22452
22452
  return r ? vx(e, r > 180 || r < -180 ? r - 360 * Math.round(r / 360) : r) : df(isNaN(e) ? t : e);
22453
22453
  }
@@ -23198,11 +23198,11 @@ function ls(e) {
23198
23198
  return e;
23199
23199
  };
23200
23200
  }
23201
- const qY = Math.abs, WY = Math.atan2, YY = Math.cos, jY = Math.max, GY = Math.min, XY = Math.sin, VY = Math.sqrt, vg = 1e-12, mf = Math.PI, Ig = mf / 2, KY = 2 * mf;
23202
- function QY(e) {
23201
+ const WY = Math.abs, YY = Math.atan2, jY = Math.cos, GY = Math.max, XY = Math.min, VY = Math.sin, KY = Math.sqrt, vg = 1e-12, mf = Math.PI, Ig = mf / 2, QY = 2 * mf;
23202
+ function ZY(e) {
23203
23203
  return e > 1 ? 0 : e < -1 ? mf : Math.acos(e);
23204
23204
  }
23205
- function ZY(e) {
23205
+ function JY(e) {
23206
23206
  return e >= 1 ? Ig : e <= -1 ? -Ig : Math.asin(e);
23207
23207
  }
23208
23208
  function oF(e) {
@@ -25047,7 +25047,7 @@ var fr = {
25047
25047
  }), t;
25048
25048
  }, "encodeEntities"), on = /* @__PURE__ */ x(function(e) {
25049
25049
  return e.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
25050
- }, "decodeEntities"), JY = /* @__PURE__ */ x((e, t, {
25050
+ }, "decodeEntities"), tj = /* @__PURE__ */ x((e, t, {
25051
25051
  counter: r = 0,
25052
25052
  prefix: i,
25053
25053
  suffix: n
@@ -28575,7 +28575,7 @@ async function S2(e, t) {
28575
28575
  }, n;
28576
28576
  }
28577
28577
  x(S2, "curlyBraceRight");
28578
- function ar(e, t, r, i = 100, n = 0, s = 180) {
28578
+ function or(e, t, r, i = 100, n = 0, s = 180) {
28579
28579
  const a = [], o = n * Math.PI / 180, u = (s * Math.PI / 180 - o) / (i - 1);
28580
28580
  for (let h = 0; h < i; h++) {
28581
28581
  const f = o + h * u, d = e + r * Math.cos(f), p = t + r * Math.sin(f);
@@ -28583,41 +28583,41 @@ function ar(e, t, r, i = 100, n = 0, s = 180) {
28583
28583
  }
28584
28584
  return a;
28585
28585
  }
28586
- x(ar, "generateCirclePoints");
28586
+ x(or, "generateCirclePoints");
28587
28587
  async function w2(e, t) {
28588
28588
  const { labelStyles: r, nodeStyles: i } = Ut(t);
28589
28589
  t.labelStyle = r;
28590
28590
  const { shapeSvg: n, bbox: s, label: a } = await jt(e, t, Gt(t)), o = t.look === "neo" ? 18 : t.padding ?? 0, l = t.look === "neo" ? 12 : t.padding ?? 0, c = s.width + (t.look === "neo" ? o * 2 : o), u = s.height + (t.look === "neo" ? l * 2 : l), h = Math.max(5, u * 0.1), { cssStyles: f } = t, d = [
28591
- ...ar(c / 2, -u / 2, h, 30, -90, 0),
28591
+ ...or(c / 2, -u / 2, h, 30, -90, 0),
28592
28592
  { x: -c / 2 - h, y: h },
28593
- ...ar(c / 2 + h * 2, -h, h, 20, -180, -270),
28594
- ...ar(c / 2 + h * 2, h, h, 20, -90, -180),
28593
+ ...or(c / 2 + h * 2, -h, h, 20, -180, -270),
28594
+ ...or(c / 2 + h * 2, h, h, 20, -90, -180),
28595
28595
  { x: -c / 2 - h, y: -u / 2 },
28596
- ...ar(c / 2, u / 2, h, 20, 0, 90)
28596
+ ...or(c / 2, u / 2, h, 20, 0, 90)
28597
28597
  ], p = [
28598
- ...ar(-c / 2 + h + h / 2, -u / 2, h, 20, -90, -180),
28598
+ ...or(-c / 2 + h + h / 2, -u / 2, h, 20, -90, -180),
28599
28599
  { x: c / 2 - h / 2, y: h },
28600
- ...ar(-c / 2 - h / 2, -h, h, 20, 0, 90),
28601
- ...ar(-c / 2 - h / 2, h, h, 20, -90, 0),
28600
+ ...or(-c / 2 - h / 2, -h, h, 20, 0, 90),
28601
+ ...or(-c / 2 - h / 2, h, h, 20, -90, 0),
28602
28602
  { x: c / 2 - h / 2, y: -h },
28603
- ...ar(-c / 2 + h + h / 2, u / 2, h, 30, -180, -270)
28603
+ ...or(-c / 2 + h + h / 2, u / 2, h, 30, -180, -270)
28604
28604
  ], m = [
28605
28605
  { x: c / 2, y: -u / 2 - h },
28606
28606
  { x: -c / 2, y: -u / 2 - h },
28607
- ...ar(c / 2, -u / 2, h, 20, -90, 0),
28607
+ ...or(c / 2, -u / 2, h, 20, -90, 0),
28608
28608
  { x: -c / 2 - h, y: -h },
28609
- ...ar(c / 2 + h * 2, -h, h, 20, -180, -270),
28610
- ...ar(c / 2 + h * 2, h, h, 20, -90, -180),
28609
+ ...or(c / 2 + h * 2, -h, h, 20, -180, -270),
28610
+ ...or(c / 2 + h * 2, h, h, 20, -90, -180),
28611
28611
  { x: -c / 2 - h, y: u / 2 },
28612
- ...ar(c / 2, u / 2, h, 20, 0, 90),
28612
+ ...or(c / 2, u / 2, h, 20, 0, 90),
28613
28613
  { x: -c / 2, y: u / 2 + h },
28614
28614
  { x: c / 2 - h - h / 2, y: u / 2 + h },
28615
- ...ar(-c / 2 + h + h / 2, -u / 2, h, 20, -90, -180),
28615
+ ...or(-c / 2 + h + h / 2, -u / 2, h, 20, -90, -180),
28616
28616
  { x: c / 2 - h / 2, y: h },
28617
- ...ar(-c / 2 - h / 2, -h, h, 20, 0, 90),
28618
- ...ar(-c / 2 - h / 2, h, h, 20, -90, 0),
28617
+ ...or(-c / 2 - h / 2, -h, h, 20, 0, 90),
28618
+ ...or(-c / 2 - h / 2, h, h, 20, -90, 0),
28619
28619
  { x: c / 2 - h / 2, y: -h },
28620
- ...ar(-c / 2 + h + h / 2, u / 2, h, 30, -180, -270)
28620
+ ...or(-c / 2 + h + h / 2, u / 2, h, 30, -180, -270)
28621
28621
  ], C = Rt.svg(n), g = Dt(t, { fill: "none" });
28622
28622
  t.look !== "handDrawn" && (g.roughness = 0, g.fillStyle = "solid");
28623
28623
  const k = me(d).replace("Z", ""), _ = C.path(k, g), L = me(p).replace("Z", ""), D = C.path(L, g), $ = me(m), K = C.path($, { ...g }), v = n.insert("g", ":first-child");
@@ -31318,7 +31318,7 @@ async function Xf(e, t, r) {
31318
31318
  return i.attr("data-look", We(t.look)), t.tooltip && n.attr("title", t.tooltip), Ic.set(t.id, i), t.haveCallback && i.attr("class", i.attr("class") + " clickable"), i;
31319
31319
  }
31320
31320
  x(Xf, "insertNode");
31321
- var sj = /* @__PURE__ */ x((e, t) => {
31321
+ var aj = /* @__PURE__ */ x((e, t) => {
31322
31322
  Ic.set(t.id, e);
31323
31323
  }, "setNodeElem"), vP = /* @__PURE__ */ x(() => {
31324
31324
  Ic.clear();
@@ -33815,7 +33815,7 @@ async function uk(e, t) {
33815
33815
  for (const u of i)
33816
33816
  c && FT(u) && await Vf(a, u), r.setEdge(u.start, u.end, { ...u }, u.id), t.edges.some((f) => f.id === u.id) || t.edges.push(u);
33817
33817
  if (globalThis.mermaidCaptureSizes) {
33818
- const { captureNodeSizes: u } = await import("./sizeCapture-INFHLROL-Go1dPr88.js");
33818
+ const { captureNodeSizes: u } = await import("./sizeCapture-INFHLROL-Dz3gVE28.js");
33819
33819
  u(e, t);
33820
33820
  }
33821
33821
  return {
@@ -33903,7 +33903,7 @@ var ge = /* @__PURE__ */ new Map(), Nn = /* @__PURE__ */ new Map(), hk = /* @__P
33903
33903
  return a;
33904
33904
  }
33905
33905
  return n;
33906
- }, "findNonClusterChild"), s1 = /* @__PURE__ */ x((e) => !ge.has(e) || !ge.get(e).externalConnections ? e : ge.has(e) ? ge.get(e).id : e, "getAnchorId"), aj = /* @__PURE__ */ x((e, t) => {
33906
+ }, "findNonClusterChild"), s1 = /* @__PURE__ */ x((e) => !ge.has(e) || !ge.get(e).externalConnections ? e : ge.has(e) ? ge.get(e).id : e, "getAnchorId"), oj = /* @__PURE__ */ x((e, t) => {
33907
33907
  var r;
33908
33908
  if (!e || t > 10) {
33909
33909
  rt.debug("Opting out, no graph ");
@@ -34041,7 +34041,7 @@ var ge = /* @__PURE__ */ new Map(), Nn = /* @__PURE__ */ new Map(), hk = /* @__P
34041
34041
  const n = e.children(i), s = gk(e, n);
34042
34042
  r = [...r, ...s];
34043
34043
  }), r;
34044
- }, "sorter"), oj = /* @__PURE__ */ x((e) => gk(e, e.children()), "sortNodesByHierarchy"), mk = /* @__PURE__ */ x((e, t, r) => {
34044
+ }, "sorter"), lj = /* @__PURE__ */ x((e) => gk(e, e.children()), "sortNodesByHierarchy"), mk = /* @__PURE__ */ x((e, t, r) => {
34045
34045
  let i = e.parent(t);
34046
34046
  for (; i && i !== r; ) {
34047
34047
  const n = ge.get(i);
@@ -36064,20 +36064,20 @@ function Ik() {
36064
36064
  }
36065
36065
  x(Ik, "requireJsYaml");
36066
36066
  var pU = Ik(), gU = /* @__PURE__ */ Ak(pU), {
36067
- Type: lj,
36068
- Schema: cj,
36069
- FAILSAFE_SCHEMA: uj,
36067
+ Type: cj,
36068
+ Schema: uj,
36069
+ FAILSAFE_SCHEMA: hj,
36070
36070
  JSON_SCHEMA: mU,
36071
- CORE_SCHEMA: hj,
36072
- DEFAULT_SCHEMA: dj,
36071
+ CORE_SCHEMA: dj,
36072
+ DEFAULT_SCHEMA: fj,
36073
36073
  load: yU,
36074
- loadAll: fj,
36075
- dump: pj,
36076
- YAMLException: gj,
36077
- types: mj,
36078
- safeLoad: yj,
36079
- safeLoadAll: bj,
36080
- safeDump: xj
36074
+ loadAll: pj,
36075
+ dump: gj,
36076
+ YAMLException: mj,
36077
+ types: yj,
36078
+ safeLoad: bj,
36079
+ safeLoadAll: xj,
36080
+ safeDump: Cj
36081
36081
  } = gU, bU = {
36082
36082
  common: Ao,
36083
36083
  getConfig: De,
@@ -36097,20 +36097,20 @@ var pU = Ik(), gU = /* @__PURE__ */ Ak(pU), {
36097
36097
  Ok([
36098
36098
  {
36099
36099
  name: "dagre",
36100
- loader: /* @__PURE__ */ x(async () => await import("./dagre-GXQ25YYZ-C-hN2yko.js"), "loader")
36100
+ loader: /* @__PURE__ */ x(async () => await import("./dagre-GXQ25YYZ-DmePHd4f.js"), "loader")
36101
36101
  },
36102
36102
  {
36103
36103
  name: "swimlane",
36104
- loader: /* @__PURE__ */ x(async () => await import("./swimlanes-42K2YHIH-BH3MegJU.js"), "loader")
36104
+ loader: /* @__PURE__ */ x(async () => await import("./swimlanes-42K2YHIH-BMShMSTP.js"), "loader")
36105
36105
  },
36106
36106
  {
36107
36107
  name: "cose-bilkent",
36108
- loader: /* @__PURE__ */ x(async () => await import("./cose-bilkent-JH36ORCC-BEiRoiTo.js"), "loader")
36108
+ loader: /* @__PURE__ */ x(async () => await import("./cose-bilkent-JH36ORCC-Bs8VODlD.js"), "loader")
36109
36109
  }
36110
36110
  ]);
36111
36111
  }, "registerDefaultLayoutLoaders");
36112
36112
  xU();
36113
- var Cj = /* @__PURE__ */ x(async (e, t) => {
36113
+ var Tj = /* @__PURE__ */ x(async (e, t) => {
36114
36114
  if (!(e.layoutAlgorithm in go))
36115
36115
  throw new Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);
36116
36116
  if (e.diagramId)
@@ -36126,7 +36126,7 @@ var Cj = /* @__PURE__ */ x(async (e, t) => {
36126
36126
  return i.render(e, t, bU, {
36127
36127
  algorithm: r.algorithm
36128
36128
  });
36129
- }, "render"), Tj = /* @__PURE__ */ x((e = "", { fallback: t = "dagre" } = {}) => {
36129
+ }, "render"), kj = /* @__PURE__ */ x((e = "", { fallback: t = "dagre" } = {}) => {
36130
36130
  if (e in go)
36131
36131
  return e;
36132
36132
  if (t in go)
@@ -36434,7 +36434,7 @@ function RU(e) {
36434
36434
  };
36435
36435
  }
36436
36436
  var $k = "c4", PU = /* @__PURE__ */ x((e) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e), "detector"), $U = /* @__PURE__ */ x(async () => {
36437
- const { diagram: e } = await import("./c4Diagram-7LVT6UL2-DPBbttF_.js");
36437
+ const { diagram: e } = await import("./c4Diagram-7LVT6UL2-CdnOZFgY.js");
36438
36438
  return { id: $k, diagram: e };
36439
36439
  }, "loader"), HU = {
36440
36440
  id: $k,
@@ -36444,7 +36444,7 @@ var $k = "c4", PU = /* @__PURE__ */ x((e) => /^\s*C4Context|C4Container|C4Compon
36444
36444
  var r, i;
36445
36445
  return ((r = t == null ? void 0 : t.flowchart) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" || ((i = t == null ? void 0 : t.flowchart) == null ? void 0 : i.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(e);
36446
36446
  }, "detector"), qU = /* @__PURE__ */ x(async () => {
36447
- const { diagram: e } = await import("./flowDiagram-HODETNUW-DW_O7mkA.js");
36447
+ const { diagram: e } = await import("./flowDiagram-HODETNUW-C5KvSI_I.js");
36448
36448
  return { id: Hk, diagram: e };
36449
36449
  }, "loader"), WU = {
36450
36450
  id: Hk,
@@ -36454,77 +36454,77 @@ var $k = "c4", PU = /* @__PURE__ */ x((e) => /^\s*C4Context|C4Container|C4Compon
36454
36454
  var r, i, n;
36455
36455
  return ((r = t == null ? void 0 : t.flowchart) == null ? void 0 : r.defaultRenderer) === "dagre-d3" ? !1 : (((i = t == null ? void 0 : t.flowchart) == null ? void 0 : i.defaultRenderer) === "elk" && (t.layout = "elk"), /^\s*graph/.test(e) && ((n = t == null ? void 0 : t.flowchart) == null ? void 0 : n.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(e));
36456
36456
  }, "detector"), GU = /* @__PURE__ */ x(async () => {
36457
- const { diagram: e } = await import("./flowDiagram-HODETNUW-DW_O7mkA.js");
36457
+ const { diagram: e } = await import("./flowDiagram-HODETNUW-C5KvSI_I.js");
36458
36458
  return { id: Uk, diagram: e };
36459
36459
  }, "loader"), XU = {
36460
36460
  id: Uk,
36461
36461
  detector: jU,
36462
36462
  loader: GU
36463
36463
  }, VU = XU, zk = "swimlane", KU = /* @__PURE__ */ x((e) => /^\s*swimlane-beta\b/.test(e), "detector"), QU = /* @__PURE__ */ x(async () => {
36464
- const { diagram: e } = await import("./swimlanesDiagram-VR7AAH4N-adVCb_i3.js");
36464
+ const { diagram: e } = await import("./swimlanesDiagram-VR7AAH4N-BPpgdacT.js");
36465
36465
  return { id: zk, diagram: e };
36466
36466
  }, "loader"), ZU = {
36467
36467
  id: zk,
36468
36468
  detector: KU,
36469
36469
  loader: QU
36470
36470
  }, JU = ZU, qk = "er", tz = /* @__PURE__ */ x((e) => /^\s*erDiagram/.test(e), "detector"), ez = /* @__PURE__ */ x(async () => {
36471
- const { diagram: e } = await import("./erDiagram-RLTQ6QDP-riH9m8Ot.js");
36471
+ const { diagram: e } = await import("./erDiagram-RLTQ6QDP-DxxZUek5.js");
36472
36472
  return { id: qk, diagram: e };
36473
36473
  }, "loader"), rz = {
36474
36474
  id: qk,
36475
36475
  detector: tz,
36476
36476
  loader: ez
36477
36477
  }, iz = rz, Wk = "gitGraph", nz = /* @__PURE__ */ x((e) => /^\s*gitGraph/.test(e), "detector"), sz = /* @__PURE__ */ x(async () => {
36478
- const { diagram: e } = await import("./gitGraphDiagram-WWUBYQGX-CMQQA3kM.js");
36478
+ const { diagram: e } = await import("./gitGraphDiagram-WWUBYQGX-BXhKsyx1.js");
36479
36479
  return { id: Wk, diagram: e };
36480
36480
  }, "loader"), az = {
36481
36481
  id: Wk,
36482
36482
  detector: nz,
36483
36483
  loader: sz
36484
36484
  }, oz = az, Yk = "gantt", lz = /* @__PURE__ */ x((e) => /^\s*gantt/.test(e), "detector"), cz = /* @__PURE__ */ x(async () => {
36485
- const { diagram: e } = await import("./ganttDiagram-EL5Y4UJY-Cj84rwvt.js");
36485
+ const { diagram: e } = await import("./ganttDiagram-EL5Y4UJY-B27KVgsc.js");
36486
36486
  return { id: Yk, diagram: e };
36487
36487
  }, "loader"), uz = {
36488
36488
  id: Yk,
36489
36489
  detector: lz,
36490
36490
  loader: cz
36491
36491
  }, hz = uz, jk = "info", dz = /* @__PURE__ */ x((e) => /^\s*info/.test(e), "detector"), fz = /* @__PURE__ */ x(async () => {
36492
- const { diagram: e } = await import("./infoDiagram-27XIBGKW-CMGTRLLg.js");
36492
+ const { diagram: e } = await import("./infoDiagram-27XIBGKW-BF7tDtlu.js");
36493
36493
  return { id: jk, diagram: e };
36494
36494
  }, "loader"), pz = {
36495
36495
  id: jk,
36496
36496
  detector: dz,
36497
36497
  loader: fz
36498
36498
  }, Gk = "pie", gz = /* @__PURE__ */ x((e) => /^\s*pie/.test(e), "detector"), mz = /* @__PURE__ */ x(async () => {
36499
- const { diagram: e } = await import("./pieDiagram-E7YTZNPT-C55bDbEZ.js");
36499
+ const { diagram: e } = await import("./pieDiagram-E7YTZNPT-cGXP3_X9.js");
36500
36500
  return { id: Gk, diagram: e };
36501
36501
  }, "loader"), yz = {
36502
36502
  id: Gk,
36503
36503
  detector: gz,
36504
36504
  loader: mz
36505
36505
  }, Xk = "quadrantChart", bz = /* @__PURE__ */ x((e) => /^\s*quadrantChart/.test(e), "detector"), xz = /* @__PURE__ */ x(async () => {
36506
- const { diagram: e } = await import("./quadrantDiagram-AXDQQJYC-vsSkNbXH.js");
36506
+ const { diagram: e } = await import("./quadrantDiagram-AXDQQJYC-DJvFJUMn.js");
36507
36507
  return { id: Xk, diagram: e };
36508
36508
  }, "loader"), Cz = {
36509
36509
  id: Xk,
36510
36510
  detector: bz,
36511
36511
  loader: xz
36512
36512
  }, Tz = Cz, Vk = "xychart", kz = /* @__PURE__ */ x((e) => /^\s*xychart(-beta)?/.test(e), "detector"), Ez = /* @__PURE__ */ x(async () => {
36513
- const { diagram: e } = await import("./xychartDiagram-S5SC5T6Z-BJPUTmB0.js");
36513
+ const { diagram: e } = await import("./xychartDiagram-S5SC5T6Z-CjWNZ_Z3.js");
36514
36514
  return { id: Vk, diagram: e };
36515
36515
  }, "loader"), _z = {
36516
36516
  id: Vk,
36517
36517
  detector: kz,
36518
36518
  loader: Ez
36519
36519
  }, Sz = _z, Kk = "requirement", wz = /* @__PURE__ */ x((e) => /^\s*requirement(Diagram)?/.test(e), "detector"), Az = /* @__PURE__ */ x(async () => {
36520
- const { diagram: e } = await import("./requirementDiagram-BXWQKSXE-yFdn8tOM.js");
36520
+ const { diagram: e } = await import("./requirementDiagram-BXWQKSXE-Cluoaat7.js");
36521
36521
  return { id: Kk, diagram: e };
36522
36522
  }, "loader"), Lz = {
36523
36523
  id: Kk,
36524
36524
  detector: wz,
36525
36525
  loader: Az
36526
36526
  }, Bz = Lz, Qk = "sequence", vz = /* @__PURE__ */ x((e) => /^\s*sequenceDiagram/.test(e), "detector"), Iz = /* @__PURE__ */ x(async () => {
36527
- const { diagram: e } = await import("./sequenceDiagram-WJ2MYXX4-EeecLiWX.js");
36527
+ const { diagram: e } = await import("./sequenceDiagram-WJ2MYXX4-B-B1qHib.js");
36528
36528
  return { id: Qk, diagram: e };
36529
36529
  }, "loader"), Oz = {
36530
36530
  id: Qk,
@@ -36534,7 +36534,7 @@ var $k = "c4", PU = /* @__PURE__ */ x((e) => /^\s*C4Context|C4Container|C4Compon
36534
36534
  var r;
36535
36535
  return ((r = t == null ? void 0 : t.class) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(e);
36536
36536
  }, "detector"), Fz = /* @__PURE__ */ x(async () => {
36537
- const { diagram: e } = await import("./classDiagram-ZZMXUADV-CXHx5JLf.js");
36537
+ const { diagram: e } = await import("./classDiagram-ZZMXUADV-C6LEOnay.js");
36538
36538
  return { id: Zk, diagram: e };
36539
36539
  }, "loader"), Dz = {
36540
36540
  id: Zk,
@@ -36544,7 +36544,7 @@ var $k = "c4", PU = /* @__PURE__ */ x((e) => /^\s*C4Context|C4Container|C4Compon
36544
36544
  var r;
36545
36545
  return /^\s*classDiagram/.test(e) && ((r = t == null ? void 0 : t.class) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(e);
36546
36546
  }, "detector"), $z = /* @__PURE__ */ x(async () => {
36547
- const { diagram: e } = await import("./classDiagram-v2-VYDZK3BY-CXHx5JLf.js");
36547
+ const { diagram: e } = await import("./classDiagram-v2-VYDZK3BY-C6LEOnay.js");
36548
36548
  return { id: Jk, diagram: e };
36549
36549
  }, "loader"), Hz = {
36550
36550
  id: Jk,
@@ -36554,7 +36554,7 @@ var $k = "c4", PU = /* @__PURE__ */ x((e) => /^\s*C4Context|C4Container|C4Compon
36554
36554
  var r;
36555
36555
  return ((r = t == null ? void 0 : t.state) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(e);
36556
36556
  }, "detector"), qz = /* @__PURE__ */ x(async () => {
36557
- const { diagram: e } = await import("./stateDiagram-D77RDMKH-De-xqar-.js");
36557
+ const { diagram: e } = await import("./stateDiagram-D77RDMKH-CZsNX34F.js");
36558
36558
  return { id: tE, diagram: e };
36559
36559
  }, "loader"), Wz = {
36560
36560
  id: tE,
@@ -36564,14 +36564,14 @@ var $k = "c4", PU = /* @__PURE__ */ x((e) => /^\s*C4Context|C4Container|C4Compon
36564
36564
  var r;
36565
36565
  return !!(/^\s*stateDiagram-v2/.test(e) || /^\s*stateDiagram/.test(e) && ((r = t == null ? void 0 : t.state) == null ? void 0 : r.defaultRenderer) === "dagre-wrapper");
36566
36566
  }, "detector"), Gz = /* @__PURE__ */ x(async () => {
36567
- const { diagram: e } = await import("./stateDiagram-v2-MP3YSRHH-D9PbYL8q.js");
36567
+ const { diagram: e } = await import("./stateDiagram-v2-MP3YSRHH-CHc_7Pdv.js");
36568
36568
  return { id: eE, diagram: e };
36569
36569
  }, "loader"), Xz = {
36570
36570
  id: eE,
36571
36571
  detector: jz,
36572
36572
  loader: Gz
36573
36573
  }, Vz = Xz, rE = "journey", Kz = /* @__PURE__ */ x((e) => /^\s*journey/.test(e), "detector"), Qz = /* @__PURE__ */ x(async () => {
36574
- const { diagram: e } = await import("./journeyDiagram-3NMN7TZE-B7lGzchv.js");
36574
+ const { diagram: e } = await import("./journeyDiagram-3NMN7TZE-CYlUnuTg.js");
36575
36575
  return { id: rE, diagram: e };
36576
36576
  }, "loader"), Zz = {
36577
36577
  id: rE,
@@ -36615,140 +36615,140 @@ var $k = "c4", PU = /* @__PURE__ */ x((e) => /^\s*C4Context|C4Container|C4Compon
36615
36615
  /^\s*(flowchart|graph)/.test(e) && ((r = t == null ? void 0 : t.flowchart) == null ? void 0 : r.defaultRenderer) === "elk" ? (t.layout = "elk", !0) : !1
36616
36616
  );
36617
36617
  }, "detector"), sq = /* @__PURE__ */ x(async () => {
36618
- const { diagram: e } = await import("./flowDiagram-HODETNUW-DW_O7mkA.js");
36618
+ const { diagram: e } = await import("./flowDiagram-HODETNUW-C5KvSI_I.js");
36619
36619
  return { id: nE, diagram: e };
36620
36620
  }, "loader"), aq = {
36621
36621
  id: nE,
36622
36622
  detector: nq,
36623
36623
  loader: sq
36624
36624
  }, oq = aq, sE = "timeline", lq = /* @__PURE__ */ x((e) => /^\s*timeline/.test(e), "detector"), cq = /* @__PURE__ */ x(async () => {
36625
- const { diagram: e } = await import("./timeline-definition-24CTP7MA-BoV3I2rM.js");
36625
+ const { diagram: e } = await import("./timeline-definition-24CTP7MA-Cbggy7Vd.js");
36626
36626
  return { id: sE, diagram: e };
36627
36627
  }, "loader"), uq = {
36628
36628
  id: sE,
36629
36629
  detector: lq,
36630
36630
  loader: cq
36631
36631
  }, hq = uq, aE = "mindmap", dq = /* @__PURE__ */ x((e) => /^\s*mindmap/.test(e), "detector"), fq = /* @__PURE__ */ x(async () => {
36632
- const { diagram: e } = await import("./mindmap-definition-YA3MSWOX-DsvrDBLa.js");
36632
+ const { diagram: e } = await import("./mindmap-definition-YA3MSWOX-B-ozNXe1.js");
36633
36633
  return { id: aE, diagram: e };
36634
36634
  }, "loader"), pq = {
36635
36635
  id: aE,
36636
36636
  detector: dq,
36637
36637
  loader: fq
36638
36638
  }, gq = pq, oE = "kanban", mq = /* @__PURE__ */ x((e) => /^\s*kanban/.test(e), "detector"), yq = /* @__PURE__ */ x(async () => {
36639
- const { diagram: e } = await import("./kanban-definition-UXKFOSKX-DErp1Bv7.js");
36639
+ const { diagram: e } = await import("./kanban-definition-UXKFOSKX-BA2KqoqM.js");
36640
36640
  return { id: oE, diagram: e };
36641
36641
  }, "loader"), bq = {
36642
36642
  id: oE,
36643
36643
  detector: mq,
36644
36644
  loader: yq
36645
36645
  }, xq = bq, lE = "sankey", Cq = /* @__PURE__ */ x((e) => /^\s*sankey(-beta)?/.test(e), "detector"), Tq = /* @__PURE__ */ x(async () => {
36646
- const { diagram: e } = await import("./sankeyDiagram-P5KCCOFB-tJbzZe_2.js");
36646
+ const { diagram: e } = await import("./sankeyDiagram-P5KCCOFB-DFzMVvFf.js");
36647
36647
  return { id: lE, diagram: e };
36648
36648
  }, "loader"), kq = {
36649
36649
  id: lE,
36650
36650
  detector: Cq,
36651
36651
  loader: Tq
36652
36652
  }, Eq = kq, cE = "packet", _q = /* @__PURE__ */ x((e) => /^\s*packet(-beta)?/.test(e), "detector"), Sq = /* @__PURE__ */ x(async () => {
36653
- const { diagram: e } = await import("./diagram-Z3DM3KII-DzG_bczb.js");
36653
+ const { diagram: e } = await import("./diagram-Z3DM3KII-Bbxeht1g.js");
36654
36654
  return { id: cE, diagram: e };
36655
36655
  }, "loader"), wq = {
36656
36656
  id: cE,
36657
36657
  detector: _q,
36658
36658
  loader: Sq
36659
36659
  }, uE = "radar", Aq = /* @__PURE__ */ x((e) => /^\s*radar-beta/.test(e), "detector"), Lq = /* @__PURE__ */ x(async () => {
36660
- const { diagram: e } = await import("./diagram-UQ7AKVKN-CqrZvDrU.js");
36660
+ const { diagram: e } = await import("./diagram-UQ7AKVKN-DZwoeTZS.js");
36661
36661
  return { id: uE, diagram: e };
36662
36662
  }, "loader"), Bq = {
36663
36663
  id: uE,
36664
36664
  detector: Aq,
36665
36665
  loader: Lq
36666
36666
  }, hE = "block", vq = /* @__PURE__ */ x((e) => /^\s*block(-beta)?/.test(e), "detector"), Iq = /* @__PURE__ */ x(async () => {
36667
- const { diagram: e } = await import("./blockDiagram-I7D4REHJ-DFVgotWZ.js");
36667
+ const { diagram: e } = await import("./blockDiagram-I7D4REHJ-BeXHf4Gs.js");
36668
36668
  return { id: hE, diagram: e };
36669
36669
  }, "loader"), Oq = {
36670
36670
  id: hE,
36671
36671
  detector: vq,
36672
36672
  loader: Iq
36673
36673
  }, Nq = Oq, dE = "treeView", Mq = /* @__PURE__ */ x((e) => /^\s*treeView-beta/.test(e), "detector"), Fq = /* @__PURE__ */ x(async () => {
36674
- const { diagram: e } = await import("./diagram-S7CK7UJ4-D20nII4h.js");
36674
+ const { diagram: e } = await import("./diagram-S7CK7UJ4-CAlMror8.js");
36675
36675
  return { id: dE, diagram: e };
36676
36676
  }, "loader"), Dq = {
36677
36677
  id: dE,
36678
36678
  detector: Mq,
36679
36679
  loader: Fq
36680
36680
  }, Rq = Dq, fE = "architecture", Pq = /* @__PURE__ */ x((e) => /^\s*architecture/.test(e), "detector"), $q = /* @__PURE__ */ x(async () => {
36681
- const { diagram: e } = await import("./architectureDiagram-5GKGNRK7-8jlajhxK.js");
36681
+ const { diagram: e } = await import("./architectureDiagram-5GKGNRK7-y9ioZDus.js");
36682
36682
  return { id: fE, diagram: e };
36683
36683
  }, "loader"), Hq = {
36684
36684
  id: fE,
36685
36685
  detector: Pq,
36686
36686
  loader: $q
36687
36687
  }, Uq = Hq, pE = "eventmodeling", zq = /* @__PURE__ */ x((e) => /^\s*eventmodeling/.test(e), "detector"), qq = /* @__PURE__ */ x(async () => {
36688
- const { diagram: e } = await import("./diagram-VSXAHHWV-CbnVoxTN.js");
36688
+ const { diagram: e } = await import("./diagram-VSXAHHWV-DMFRB-fY.js");
36689
36689
  return { id: pE, diagram: e };
36690
36690
  }, "loader"), Wq = {
36691
36691
  id: pE,
36692
36692
  detector: zq,
36693
36693
  loader: qq
36694
36694
  }, Yq = Wq, gE = "ishikawa", jq = /* @__PURE__ */ x((e) => /^\s*ishikawa(-beta)?\b/i.test(e), "detector"), Gq = /* @__PURE__ */ x(async () => {
36695
- const { diagram: e } = await import("./ishikawaDiagram-5VMMS53U-CQIwgX2P.js");
36695
+ const { diagram: e } = await import("./ishikawaDiagram-5VMMS53U-DC8tCnyH.js");
36696
36696
  return { id: gE, diagram: e };
36697
36697
  }, "loader"), Xq = {
36698
36698
  id: gE,
36699
36699
  detector: jq,
36700
36700
  loader: Gq
36701
36701
  }, mE = "venn", Vq = /* @__PURE__ */ x((e) => /^\s*venn-beta/.test(e), "detector"), Kq = /* @__PURE__ */ x(async () => {
36702
- const { diagram: e } = await import("./vennDiagram-4TSXK5OY-U5U2PmKh.js");
36702
+ const { diagram: e } = await import("./vennDiagram-4TSXK5OY-BuWFwmlS.js");
36703
36703
  return { id: mE, diagram: e };
36704
36704
  }, "loader"), Qq = {
36705
36705
  id: mE,
36706
36706
  detector: Vq,
36707
36707
  loader: Kq
36708
36708
  }, Zq = Qq, yE = "treemap", Jq = /* @__PURE__ */ x((e) => /^\s*treemap/.test(e), "detector"), tW = /* @__PURE__ */ x(async () => {
36709
- const { diagram: e } = await import("./diagram-VX7I27RA-VShjp41T.js");
36709
+ const { diagram: e } = await import("./diagram-VX7I27RA-C_Y5Mdgs.js");
36710
36710
  return { id: yE, diagram: e };
36711
36711
  }, "loader"), eW = {
36712
36712
  id: yE,
36713
36713
  detector: Jq,
36714
36714
  loader: tW
36715
36715
  }, bE = "wardley", rW = /* @__PURE__ */ x((e) => /^\s*wardley-beta/i.test(e), "detector"), iW = /* @__PURE__ */ x(async () => {
36716
- const { diagram: e } = await import("./wardleyDiagram-VM6X3IG4-Dl_EZUQA.js");
36716
+ const { diagram: e } = await import("./wardleyDiagram-VM6X3IG4-CLz2-Dv7.js");
36717
36717
  return { id: bE, diagram: e };
36718
36718
  }, "loader"), nW = {
36719
36719
  id: bE,
36720
36720
  detector: rW,
36721
36721
  loader: iW
36722
36722
  }, sW = nW, xE = "cynefin", aW = /* @__PURE__ */ x((e) => /^\s*cynefin-beta(?:[\s:]|$)/.test(e), "detector"), oW = /* @__PURE__ */ x(async () => {
36723
- const { diagram: e } = await import("./cynefinDiagram-5FMLGOSQ-Cu82pRLK.js");
36723
+ const { diagram: e } = await import("./cynefinDiagram-5FMLGOSQ-DJ306xY4.js");
36724
36724
  return { id: xE, diagram: e };
36725
36725
  }, "loader"), lW = {
36726
36726
  id: xE,
36727
36727
  detector: aW,
36728
36728
  loader: oW
36729
36729
  }, CE = "railroad", cW = /* @__PURE__ */ x((e) => /^\s*railroad-beta/i.test(e), "detector"), uW = /* @__PURE__ */ x(async () => {
36730
- const { diagram: e } = await import("./railroadDiagram-O6MQD6OU-HBoJLGti.js");
36730
+ const { diagram: e } = await import("./railroadDiagram-O6MQD6OU-CalpYOGG.js");
36731
36731
  return { id: CE, diagram: e };
36732
36732
  }, "loader"), hW = {
36733
36733
  id: CE,
36734
36734
  detector: cW,
36735
36735
  loader: uW
36736
36736
  }, TE = "railroadEbnf", dW = /* @__PURE__ */ x((e) => /^\s*railroad-ebnf-beta/i.test(e), "detector"), fW = /* @__PURE__ */ x(async () => {
36737
- const { diagram: e } = await import("./ebnfDiagram-PWID7BFC-Ci79IRt1.js");
36737
+ const { diagram: e } = await import("./ebnfDiagram-PWID7BFC-D24qJwnL.js");
36738
36738
  return { id: TE, diagram: e };
36739
36739
  }, "loader"), pW = {
36740
36740
  id: TE,
36741
36741
  detector: dW,
36742
36742
  loader: fW
36743
36743
  }, kE = "railroadAbnf", gW = /* @__PURE__ */ x((e) => /^\s*railroad-abnf-beta/i.test(e), "detector"), mW = /* @__PURE__ */ x(async () => {
36744
- const { diagram: e } = await import("./abnfDiagram-VCTEODGH-Imsy_6AS.js");
36744
+ const { diagram: e } = await import("./abnfDiagram-VCTEODGH-DCSuCmOc.js");
36745
36745
  return { id: kE, diagram: e };
36746
36746
  }, "loader"), yW = {
36747
36747
  id: kE,
36748
36748
  detector: gW,
36749
36749
  loader: mW
36750
36750
  }, EE = "railroadPeg", bW = /* @__PURE__ */ x((e) => /^\s*railroad-peg-beta/i.test(e), "detector"), xW = /* @__PURE__ */ x(async () => {
36751
- const { diagram: e } = await import("./pegDiagram-XKGWAZYB-BydlaYy7.js");
36751
+ const { diagram: e } = await import("./pegDiagram-XKGWAZYB-IjvIEfbN.js");
36752
36752
  return { id: EE, diagram: e };
36753
36753
  }, "loader"), CW = {
36754
36754
  id: EE,
@@ -37323,7 +37323,7 @@ RE.initialize({
37323
37323
  });
37324
37324
  let iY = 0;
37325
37325
  function nY({ code: e }) {
37326
- const t = rn(null), [r, i] = or(""), [n, s] = or(""), a = rn(`mermaid-${++iY}`);
37326
+ const t = rn(null), [r, i] = nr(""), [n, s] = nr(""), a = rn(`mermaid-${++iY}`);
37327
37327
  return pr(() => {
37328
37328
  RE.render(a.current, e).then(({ svg: o }) => {
37329
37329
  i(o), s("");
@@ -37345,7 +37345,7 @@ function nY({ code: e }) {
37345
37345
  const sc = (e) => typeof e == "string" ? e : Array.isArray(e) ? e.map(sc).join("") : Sl(e) ? sc(e.props.children) : "";
37346
37346
  function PE({ children: e }) {
37347
37347
  var o, l;
37348
- const [t, r] = or(!1), i = Sl(e) ? e : VE.toArray(e).find((c) => Sl(c)), n = (((o = i == null ? void 0 : i.props) == null ? void 0 : o.className) ?? "").match(/language-(\w+)/), s = n ? n[1] : null;
37348
+ const [t, r] = nr(!1), i = Sl(e) ? e : VE.toArray(e).find((c) => Sl(c)), n = (((o = i == null ? void 0 : i.props) == null ? void 0 : o.className) ?? "").match(/language-(\w+)/), s = n ? n[1] : null;
37349
37349
  if (s === "mermaid") {
37350
37350
  const c = sc(((l = i == null ? void 0 : i.props) == null ? void 0 : l.children) ?? "").trim();
37351
37351
  return /* @__PURE__ */ Q(nY, { code: c });
@@ -37379,7 +37379,7 @@ function PE({ children: e }) {
37379
37379
  }
37380
37380
  const sY = 200;
37381
37381
  function ac({ src: e, alt: t, className: r, onClick: i, ...n }) {
37382
- const [s, a] = or(!1), [o, l] = or(!1), c = () => {
37382
+ const [s, a] = nr(!1), [o, l] = nr(!1), c = () => {
37383
37383
  e && (a(!0), requestAnimationFrame(() => l(!0)));
37384
37384
  }, u = () => {
37385
37385
  l(!1);
@@ -37772,6 +37772,13 @@ async function bY(e) {
37772
37772
  return { title: i.title ?? "", image: ((n = i.image) == null ? void 0 : n.url) ?? null, logo: ((s = i.logo) == null ? void 0 : s.url) ?? null };
37773
37773
  }
37774
37774
  function xY(e) {
37775
+ try {
37776
+ return `https://www.google.com/s2/favicons?domain=${new URL(e).hostname}&sz=64`;
37777
+ } catch {
37778
+ return null;
37779
+ }
37780
+ }
37781
+ function CY(e) {
37775
37782
  try {
37776
37783
  return new URL(e).hostname.replace(/^www\./, "");
37777
37784
  } catch {
@@ -37788,13 +37795,13 @@ function UE(e) {
37788
37795
  return t;
37789
37796
  }
37790
37797
  function zE({ href: e, children: t }) {
37791
- const [r, i] = or(() => R1(e)), [n, s] = or(() => R1(e) === null);
37798
+ const [r, i] = nr(() => R1(e)), [n, s] = nr(() => R1(e) === null), [a, o] = nr(!1);
37792
37799
  pr(() => {
37793
- n && bY(e).then((u) => {
37794
- i(u), yY(e, u);
37800
+ n && bY(e).then((d) => {
37801
+ i(d), yY(e, d);
37795
37802
  }).catch(() => i({ title: String(t), image: null, logo: null })).finally(() => s(!1));
37796
37803
  }, [e, t, n]);
37797
- const a = xY(e), o = (r == null ? void 0 : r.image) ?? (r == null ? void 0 : r.logo), c = (typeof t == "string" ? t.trim() : "") || (r == null ? void 0 : r.title) || a;
37804
+ const l = CY(e), c = a ? null : xY(e), u = (r == null ? void 0 : r.image) ?? (r == null ? void 0 : r.logo), f = (typeof t == "string" ? t.trim() : "") || (r == null ? void 0 : r.title) || l;
37798
37805
  return /* @__PURE__ */ oe(
37799
37806
  "a",
37800
37807
  {
@@ -37803,10 +37810,18 @@ function zE({ href: e, children: t }) {
37803
37810
  rel: "noopener noreferrer",
37804
37811
  className: "flex items-center gap-4 p-3 rounded-lg border border-border bg-card hover:bg-accent transition-colors no-underline group not-prose",
37805
37812
  children: [
37806
- /* @__PURE__ */ Q("div", { className: "shrink-0 w-[72px] h-[54px] rounded overflow-hidden bg-muted flex items-center justify-center", children: n ? /* @__PURE__ */ Q("div", { className: "w-full h-full animate-pulse bg-muted-foreground/20" }) : o ? /* @__PURE__ */ Q("img", { src: o, alt: "", className: "w-full h-full object-cover m-0 not-prose" }) : /* @__PURE__ */ Q("span", { className: "text-xs font-mono text-muted-foreground uppercase tracking-widest", children: a.slice(0, 3) }) }),
37813
+ /* @__PURE__ */ Q("div", { className: "shrink-0 w-[72px] h-[54px] rounded overflow-hidden bg-muted flex items-center justify-center", children: n ? /* @__PURE__ */ Q("div", { className: "w-full h-full animate-pulse bg-muted-foreground/20" }) : u ? /* @__PURE__ */ Q("img", { src: u, alt: "", className: "w-full h-full object-cover m-0 not-prose" }) : c ? /* @__PURE__ */ Q(
37814
+ "img",
37815
+ {
37816
+ src: c,
37817
+ alt: "",
37818
+ className: "w-6 h-6 object-contain m-0 not-prose",
37819
+ onError: () => o(!0)
37820
+ }
37821
+ ) : /* @__PURE__ */ Q("span", { className: "text-xs font-mono text-muted-foreground uppercase tracking-widest", children: l.slice(0, 3) }) }),
37807
37822
  /* @__PURE__ */ oe("div", { className: "flex-1 min-w-0", children: [
37808
- /* @__PURE__ */ Q("div", { className: "text-sm font-semibold text-foreground truncate", children: c }),
37809
- /* @__PURE__ */ Q("div", { className: "text-xs text-muted-foreground mt-1", children: a })
37823
+ /* @__PURE__ */ Q("div", { className: "text-sm font-semibold text-foreground truncate", children: f }),
37824
+ /* @__PURE__ */ Q("div", { className: "text-xs text-muted-foreground mt-1", children: l })
37810
37825
  ] }),
37811
37826
  /* @__PURE__ */ Q(
37812
37827
  X1,
@@ -37822,7 +37837,7 @@ function zE({ href: e, children: t }) {
37822
37837
  function Ad(e) {
37823
37838
  return typeof e == "string" ? e : Array.isArray(e) ? e.map(Ad).join("") : Sl(e) ? Ad(e.props.children ?? "") : "";
37824
37839
  }
37825
- function CY(e) {
37840
+ function TY(e) {
37826
37841
  const t = e.match(/^---\r?\n([\s\S]*?)\r?\n---\r?\n([\s\S]*)$/);
37827
37842
  if (!t) return { body: e };
37828
37843
  const r = {};
@@ -37836,7 +37851,7 @@ function CY(e) {
37836
37851
  function P1({ isIndex: e }) {
37837
37852
  const { slug: t } = oc(), { data: r, lang: i, config: n } = Gn(), { wikiPages: s, wikiIndex: a, wikiImages: o } = r, l = e ? a : s.find((T) => T.slug === t);
37838
37853
  if (!l) return /* @__PURE__ */ Q(z1, { to: "/", replace: !0 });
37839
- const c = i === "en" && l.contentEn ? l.contentEn : l.content, { cover: u, body: h } = CY(c), f = i === "en" && !l.contentEn, d = l.lectures, p = u != null && u.startsWith("./") ? (() => {
37854
+ const c = i === "en" && l.contentEn ? l.contentEn : l.content, { cover: u, body: h } = TY(c), f = i === "en" && !l.contentEn, d = l.lectures, p = u != null && u.startsWith("./") ? (() => {
37840
37855
  const T = u.replace("./", ""), k = Object.keys(o).find((_) => _.endsWith(T));
37841
37856
  return k ? o[k] : u;
37842
37857
  })() : u, m = nn(() => UE(h), [h]), C = nn(() => n.syntaxLanguages ?? vd, [n.syntaxLanguages]), g = nn(() => ({
@@ -37895,7 +37910,7 @@ function P1({ isIndex: e }) {
37895
37910
  }), [l.slug, d, i, o, n.customComponents, n.socialLinks, m]);
37896
37911
  return /* @__PURE__ */ oe("div", { className: "max-w-4xl mx-auto px-8 py-10", children: [
37897
37912
  f && /* @__PURE__ */ Q("div", { className: "mb-6 px-4 py-2.5 rounded border border-border text-sm text-muted-foreground", children: "English version is not available yet — showing Russian." }),
37898
- p && /* @__PURE__ */ Q("div", { className: "w-full h-48 sm:h-56 md:h-64 lg:h-72 rounded-xl overflow-hidden border border-border mb-8 bg-muted/20 relative shadow-sm", children: /* @__PURE__ */ Q("img", { src: p, alt: "", className: "w-full h-full object-cover object-center block" }) }),
37913
+ p && /* @__PURE__ */ Q("div", { className: "w-full aspect-video max-h-[400px] rounded-xl overflow-hidden border border-border mb-8 bg-muted/20 relative shadow-sm", children: /* @__PURE__ */ Q("img", { src: p, alt: "", className: "w-full h-full object-cover object-center block" }) }),
37899
37914
  /* @__PURE__ */ Q("article", { className: "prose dark:prose-invert max-w-none", children: /* @__PURE__ */ Q(
37900
37915
  Oy,
37901
37916
  {
@@ -37907,7 +37922,7 @@ function P1({ isIndex: e }) {
37907
37922
  ) })
37908
37923
  ] });
37909
37924
  }
37910
- function TY(e) {
37925
+ function kY(e) {
37911
37926
  return (function r(i) {
37912
37927
  return typeof i == "string" ? i : Array.isArray(i) ? i.map(r).join("") : i && typeof i == "object" && "props" in i ? r(
37913
37928
  i.props.children
@@ -37915,7 +37930,7 @@ function TY(e) {
37915
37930
  })(e).toLowerCase().replace(/[^\p{L}\p{N}\s-]/gu, "").trim().replace(/\s+/g, "-");
37916
37931
  }
37917
37932
  function sl({ level: e, children: t, ...r }) {
37918
- const i = `h${e}`, n = TY(t), [s, a] = or(!1), o = (l) => {
37933
+ const i = `h${e}`, n = kY(t), [s, a] = nr(!1), o = (l) => {
37919
37934
  l.preventDefault();
37920
37935
  const c = `${window.location.origin}${window.location.pathname}#${n}`;
37921
37936
  navigator.clipboard.writeText(c).then(() => {
@@ -37948,7 +37963,7 @@ function Ld(e, t) {
37948
37963
  }
37949
37964
  return !1;
37950
37965
  }
37951
- function kY(e) {
37966
+ function EY(e) {
37952
37967
  const t = e.match(/^---\r?\n([\s\S]*?)\r?\n---\r?\n([\s\S]*)$/);
37953
37968
  if (!t) return { body: e };
37954
37969
  const r = {};
@@ -37959,10 +37974,10 @@ function kY(e) {
37959
37974
  }
37960
37975
  return { cover: r.cover, body: t[2] };
37961
37976
  }
37962
- function EY() {
37977
+ function _Y() {
37963
37978
  const { section: e = "", lecture: t = "" } = oc(), { data: r, lang: i, config: n } = Gn(), { getLecturePage: s, wikiImages: a } = r, o = s(e, t);
37964
37979
  if (!o) return /* @__PURE__ */ Q(z1, { to: `/wiki/${e}`, replace: !0 });
37965
- const l = i === "en" && o.contentEn ? o.contentEn : o.content, { cover: c, body: u } = kY(l), h = i === "en" && !o.contentEn, f = c != null && c.startsWith("./") ? (() => {
37980
+ const l = i === "en" && o.contentEn ? o.contentEn : o.content, { cover: c, body: u } = EY(l), h = i === "en" && !o.contentEn, f = c != null && c.startsWith("./") ? (() => {
37966
37981
  const C = c.replace("./", ""), g = Object.keys(a).find((T) => T.endsWith(`${e}/${C}`));
37967
37982
  return g ? a[g] : c;
37968
37983
  })() : c, d = nn(() => UE(u), [u]), p = nn(() => n.syntaxLanguages ?? vd, [n.syntaxLanguages]), m = nn(
@@ -38041,7 +38056,7 @@ function EY() {
38041
38056
  );
38042
38057
  return /* @__PURE__ */ oe("div", { className: "max-w-4xl mx-auto px-8 py-10", children: [
38043
38058
  /* @__PURE__ */ Q("div", { className: "mb-6 text-sm text-muted-foreground", children: /* @__PURE__ */ Q(gh, { to: `/wiki/${e}`, className: "hover:text-foreground transition-colors", children: i === "en" ? "← Back" : "← Назад" }) }),
38044
- f && /* @__PURE__ */ Q("div", { className: "w-full h-48 sm:h-56 md:h-64 lg:h-72 rounded-xl overflow-hidden border border-border mb-8 bg-muted/20 relative shadow-sm", children: /* @__PURE__ */ Q("img", { src: f, alt: "", className: "w-full h-full object-cover object-center block" }) }),
38059
+ f && /* @__PURE__ */ Q("div", { className: "w-full aspect-video max-h-[400px] rounded-xl overflow-hidden border border-border mb-8 bg-muted/20 relative shadow-sm", children: /* @__PURE__ */ Q("img", { src: f, alt: "", className: "w-full h-full object-cover object-center block" }) }),
38045
38060
  h && /* @__PURE__ */ Q("div", { className: "mb-6 px-4 py-2.5 rounded border border-border text-sm text-muted-foreground", children: "English version is not available yet — showing Russian." }),
38046
38061
  /* @__PURE__ */ Q("article", { className: "prose dark:prose-invert max-w-none", children: /* @__PURE__ */ Q(
38047
38062
  Oy,
@@ -38054,29 +38069,29 @@ function EY() {
38054
38069
  ) })
38055
38070
  ] });
38056
38071
  }
38057
- function _Y() {
38072
+ function SY() {
38058
38073
  return /* @__PURE__ */ Q(XE, { children: /* @__PURE__ */ oe(Po, { element: /* @__PURE__ */ Q(Y_, {}), children: [
38059
38074
  /* @__PURE__ */ Q(Po, { index: !0, element: /* @__PURE__ */ Q(P1, { isIndex: !0 }) }),
38060
38075
  /* @__PURE__ */ Q(Po, { path: "wiki/:slug", element: /* @__PURE__ */ Q(P1, {}) }),
38061
- /* @__PURE__ */ Q(Po, { path: "wiki/:section/:lecture", element: /* @__PURE__ */ Q(EY, {}) })
38076
+ /* @__PURE__ */ Q(Po, { path: "wiki/:section/:lecture", element: /* @__PURE__ */ Q(_Y, {}) })
38062
38077
  ] }) });
38063
38078
  }
38064
- function kj({ config: e, data: t, basename: r }) {
38079
+ function Ej({ config: e, data: t, basename: r }) {
38065
38080
  return /* @__PURE__ */ Q(t_, { config: e, data: t, children: /* @__PURE__ */ oe(GE, { basename: r, children: [
38066
38081
  /* @__PURE__ */ Q(r_, {}),
38067
- /* @__PURE__ */ Q(_Y, {})
38082
+ /* @__PURE__ */ Q(SY, {})
38068
38083
  ] }) });
38069
38084
  }
38070
38085
  function al(e) {
38071
38086
  const t = e.match(/^#\s+(.+)$/m);
38072
38087
  return t ? t[1].trim() : "";
38073
38088
  }
38074
- function SY(e) {
38089
+ function wY(e) {
38075
38090
  const t = e.match(/^---\r?\n[\s\S]*?\r?\n---\r?\n([\s\S]*)$/);
38076
38091
  return t ? t[1] : e;
38077
38092
  }
38078
38093
  function $1(e) {
38079
- const t = SY(e);
38094
+ const t = wY(e);
38080
38095
  for (const r of t.split(`
38081
38096
  `)) {
38082
38097
  const i = r.trim();
@@ -38085,13 +38100,13 @@ function $1(e) {
38085
38100
  }
38086
38101
  return !1;
38087
38102
  }
38088
- function wY(e, t) {
38103
+ function AY(e, t) {
38089
38104
  return $1(e) && !$1(t);
38090
38105
  }
38091
38106
  function ol(e) {
38092
38107
  return e.split("/").pop().replace(/\.md$/, "");
38093
38108
  }
38094
- function AY(e, t, r, i) {
38109
+ function LY(e, t, r, i) {
38095
38110
  var d;
38096
38111
  const n = [], s = r ? r.split(`
38097
38112
  `) : [], a = [];
@@ -38150,7 +38165,7 @@ function AY(e, t, r, i) {
38150
38165
  }
38151
38166
  return n;
38152
38167
  }
38153
- function Ej(e) {
38168
+ function _j(e) {
38154
38169
  let t = e.sectionsRu ?? {}, r = e.sectionsEn ?? {}, i = e.lecturesRu ?? {}, n = e.lecturesEn ?? {};
38155
38170
  const s = e.images ?? {};
38156
38171
  if (e.rawDocs && Object.keys(t).length === 0) {
@@ -38186,14 +38201,14 @@ function Ej(e) {
38186
38201
  }
38187
38202
  }
38188
38203
  const u = Object.entries(t).map(([p, m]) => {
38189
- const C = ol(p), g = a.get(C) ?? null, T = g ? wY(m, g) : !1, k = g && !T ? g : null;
38204
+ const C = ol(p), g = a.get(C) ?? null, T = g ? AY(m, g) : !1, k = g && !T ? g : null;
38190
38205
  return {
38191
38206
  slug: C,
38192
38207
  title: al(m) || C,
38193
38208
  titleEn: g ? al(g) || C : "",
38194
38209
  content: m,
38195
38210
  contentEn: k,
38196
- lectures: AY(C, m, g, c)
38211
+ lectures: LY(C, m, g, c)
38197
38212
  };
38198
38213
  }).sort((p, m) => p.slug.localeCompare(m.slug)), h = u.find((p) => p.slug === "README"), f = u.filter((p) => p.slug !== "README");
38199
38214
  return {
@@ -38212,13 +38227,13 @@ function Ej(e) {
38212
38227
  }
38213
38228
  };
38214
38229
  }
38215
- function _j(e) {
38230
+ function Sj(e) {
38216
38231
  return e;
38217
38232
  }
38218
38233
  export {
38219
38234
  at as $,
38220
38235
  NO as A,
38221
- UY as B,
38236
+ zY as B,
38222
38237
  sn as C,
38223
38238
  W4 as D,
38224
38239
  De as E,
@@ -38231,7 +38246,7 @@ export {
38231
38246
  UI as L,
38232
38247
  VF as M,
38233
38248
  so as N,
38234
- $Y as O,
38249
+ HY as O,
38235
38250
  _c as P,
38236
38251
  TO as Q,
38237
38252
  dx as R,
@@ -38252,10 +38267,10 @@ export {
38252
38267
  oF as a3,
38253
38268
  Ig as a4,
38254
38269
  vg as a5,
38255
- KY as a6,
38256
- YY as a7,
38257
- XY as a8,
38258
- GY as a9,
38270
+ QY as a6,
38271
+ jY as a7,
38272
+ VY as a8,
38273
+ XY as a9,
38259
38274
  vc as aA,
38260
38275
  Vf as aB,
38261
38276
  RT as aC,
@@ -38283,14 +38298,14 @@ export {
38283
38298
  fD as aY,
38284
38299
  JF as aZ,
38285
38300
  yC as a_,
38286
- qY as aa,
38301
+ WY as aa,
38287
38302
  mf as ab,
38288
- VY as ac,
38289
- WY as ad,
38303
+ KY as ac,
38304
+ YY as ad,
38290
38305
  ls as ae,
38291
- ZY as af,
38292
- QY as ag,
38293
- jY as ah,
38306
+ JY as af,
38307
+ ZY as ag,
38308
+ GY as ah,
38294
38309
  MT as ai,
38295
38310
  Xf as aj,
38296
38311
  wm as ak,
@@ -38300,13 +38315,13 @@ export {
38300
38315
  YF as ao,
38301
38316
  Lf as ap,
38302
38317
  Rt as aq,
38303
- oj as ar,
38304
- aj as as,
38318
+ lj as ar,
38319
+ oj as as,
38305
38320
  fU as at,
38306
38321
  ge as au,
38307
38322
  ok as av,
38308
38323
  $t as aw,
38309
- sj as ax,
38324
+ aj as ax,
38310
38325
  ic as ay,
38311
38326
  ck as az,
38312
38327
  MO as b,
@@ -38361,7 +38376,7 @@ export {
38361
38376
  Lx as bk,
38362
38377
  Bo as bl,
38363
38378
  Ix as bm,
38364
- zY as bn,
38379
+ qY as bn,
38365
38380
  X4 as bo,
38366
38381
  Kf as bp,
38367
38382
  Qf as bq,
@@ -38387,21 +38402,21 @@ export {
38387
38402
  rl as c9,
38388
38403
  aY as cA,
38389
38404
  ac as cB,
38390
- Ej as cC,
38405
+ _j as cC,
38391
38406
  gY as cD,
38392
- _j as cE,
38407
+ Sj as cE,
38393
38408
  UE as cF,
38394
38409
  ol as cG,
38395
38410
  $1 as cH,
38396
38411
  e_ as cI,
38397
- wY as cJ,
38398
- AY as cK,
38412
+ AY as cJ,
38413
+ LY as cK,
38399
38414
  al as cL,
38400
38415
  wp as cM,
38401
- SY as cN,
38416
+ wY as cN,
38402
38417
  j1 as cO,
38403
38418
  Bp as cP,
38404
- FY as cQ,
38419
+ DY as cQ,
38405
38420
  QE as cR,
38406
38421
  JE as cS,
38407
38422
  Gn as cT,
@@ -38416,19 +38431,19 @@ export {
38416
38431
  oY as ci,
38417
38432
  cY as cj,
38418
38433
  Y1 as ck,
38419
- EY as cl,
38434
+ _Y as cl,
38420
38435
  fY as cm,
38421
38436
  nY as cn,
38422
38437
  hY as co,
38423
38438
  U_ as cp,
38424
38439
  lY as cq,
38425
38440
  pY as cr,
38426
- kj as cs,
38441
+ Ej as cs,
38427
38442
  Id as ct,
38428
38443
  Y_ as cu,
38429
38444
  P1 as cv,
38430
38445
  t_ as cw,
38431
- _Y as cx,
38446
+ SY as cx,
38432
38447
  uY as cy,
38433
38448
  HE as cz,
38434
38449
  fx as d,
@@ -38441,17 +38456,17 @@ export {
38441
38456
  Ao as k,
38442
38457
  rt as l,
38443
38458
  AC as m,
38444
- PY as n,
38445
- HY as o,
38446
- Tj as p,
38459
+ $Y as n,
38460
+ UY as o,
38461
+ kj as p,
38447
38462
  PO as q,
38448
- Cj as r,
38463
+ Tj as r,
38449
38464
  DO as s,
38450
38465
  $O as t,
38451
38466
  fr as u,
38452
38467
  yU as v,
38453
38468
  RD as w,
38454
38469
  BP as x,
38455
- JY as y,
38470
+ tj as y,
38456
38471
  zs as z
38457
38472
  };