import { _ as e, l as s, K as n, k as i, L as p } from "./mermaid.core-DPTeIFw-.js";
import { p as g } from "./treemap-KMMF4GRG-D_L55G0b.js";
import "./index-RZrnTzzg.js";
import "react";
import "react-dom";
var v = {
  parse: /* @__PURE__ */ e(async (r) => {
    const a = await g("info", r);
    s.debug(a);
  }, "parse")
}, d = {
  version: p.version + ""
}, m = /* @__PURE__ */ e(() => d.version, "getVersion"), c = {
  getVersion: m
}, l = /* @__PURE__ */ e((r, a, o) => {
  s.debug(`rendering info diagram
` + r);
  const t = n(a);
  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${o}`);
}, "draw"), f = { draw: l }, S = {
  parser: v,
  db: c,
  renderer: f
};
export {
  S as diagram
};
