import{i as r,r as t}from"./src-DpGjM0Pj.js";import{t as e}from"./mermaid-parser.core-DV0MmAGy.js";import{c as a}from"./chunk-CSCIHK7Q-D7tKG3Mp.js";import{t as s}from"./chunk-WU5MYG2G-GKCpIGbc.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};