import { _ as a, l as s, aU as o, ab as i } from "./index-Bh-wTBlD.js";
import { M as d } from "./mermaid-parser.core-DtLRLmJt-Bs8fzU82.js";
var g = {
  parse: /* @__PURE__ */ a(async (e) => {
    const r = await d("info", e);
    s.debug(r);
  }, "parse")
}, p = {
  version: "11.14.0"
}, m = /* @__PURE__ */ a(() => p.version, "getVersion"), c = {
  getVersion: m
}, l = /* @__PURE__ */ a((e, r, n) => {
  s.debug(`rendering info diagram
` + e);
  const t = o(r);
  i(t, 100, 400, !0), t.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${n}`);
}, "draw"), v = { draw: l }, b = {
  parser: g,
  db: c,
  renderer: v
};
export {
  b as diagram
};
