import{_ as a,e as s,l}from"./mermaid.core-B1_Dqgpg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"8bd8bc3153d70a1c10ccde8d38796bd67282553d"}}catch{}})();var x=a((e,t,i,n)=>{e.attr("class",i);const{width:o,height:d,x:c,y:h}=w(e,t);s(e,d,o,n);const r=u(c,h,o,d,t);e.attr("viewBox",r),l.debug(`viewBox configured: ${r} with padding: ${t}`)},"setupViewPortForSVG"),w=a((e,t)=>{const i=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),u=a((e,t,i,n,o)=>`${e-o} ${t-o} ${i} ${n}`,"createViewBox");export{x as s};
//# sourceMappingURL=chunk-QN33PNHL-BSehSqmr.js.map
