import{_ as __name,l as log,H as selectSvgElement,e as configureSvgSize}from"./mermaid.core-BV3ugHFm.js";import{p as parse}from"./wardley-RL74JXVD-ByDpAPp1.js";import"./vendor-mdxeditor-Cco3AQJS.js";import"./vendor-antd-Bur5ZxWE.js";import"./vendor-codemirror-Si44UqBp.js";import"./vendor-markdown-DOJHsAxX.js";import"./min-D-YA3MGY.js";import"./_baseUniq-r3p3rodd.js";var DEFAULT_INFO_DB_version="11.14.0",diagram={parser:{parse:__name(async input=>{const ast=await parse("info",input);log.debug(ast)},"parse")},db:{getVersion:__name(()=>DEFAULT_INFO_DB_version,"getVersion")},renderer:{draw:__name((text,id,version)=>{log.debug("rendering info diagram\n"+text);const svg=selectSvgElement(id);configureSvgSize(svg,100,400,!0);svg.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${version}`)},"draw")}};export{diagram};
