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