import { f as e, p as t } from "./custom-D-TzPpWT.js";
import { g as n, h as r } from "./src-BuisGndr.js";
import { c as i } from "./chunk-ABZYJK2D-DDrmE3Q7.js";
import { t as a } from "./mermaid-parser.core-B84fnaGG.js";
//#region node_modules/.pnpm/mermaid@11.12.0/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-F6ZHWCRC.mjs
var o = { parse: /* @__PURE__ */ r(async (e) => {
	let t = await a("info", e);
	n.debug(t);
}, "parse") }, s = { version: t.version + "" }, c = {
	parser: o,
	db: { getVersion: /* @__PURE__ */ r(() => s.version, "getVersion") },
	renderer: { draw: /* @__PURE__ */ r((t, r, a) => {
		n.debug("rendering info diagram\n" + t);
		let o = e(r);
		i(o, 100, 400, !0), o.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${a}`);
	}, "draw") }
};
//#endregion
export { c as diagram };
