import{L as w}from"./chunk-JB23YLA3.js";import{b as s}from"./chunk-TUEROSNP.js";import{h as r}from"./chunk-7DHJDT2N.js";var u=r((t,i,e,a)=>{t.attr("class",e);let{width:o,height:h,x,y:g}=m(t,i);w(t,h,o,a);let d=n(x,g,o,h,i);t.attr("viewBox",d),s.debug(`viewBox configured: ${d} with padding: ${i}`)},"setupViewPortForSVG"),m=r((t,i)=>{let e=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:e.width+i*2,height:e.height+i*2,x:e.x,y:e.y}},"calculateDimensionsWithPadding"),n=r((t,i,e,a,o)=>`${t-o} ${i-o} ${e} ${a}`,"createViewBox");export{u as a};
