import{i as r,r as t}from"./src-C2qr8KzS.js";import{t as e}from"./mermaid-parser.core-CJSt46AJ.js";import{c as a}from"./chunk-CSCIHK7Q-t5-Pxt3o.js";import{t as s}from"./chunk-WU5MYG2G-Dwc0PiPx.js";var o="11.15.0",n={parser:{parse:t(async t=>{const a=await e("info",t);r.debug(a)},"parse")},db:{getVersion:t(()=>o,"getVersion")},renderer:{draw:t((t,e,o)=>{r.debug("rendering info diagram\n"+t);const n=s(e);a(n,100,400,!0),n.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")}};export{n as diagram};