import{m as a,b as x,p as g}from"./index-VTKdaklA.js";var m=a((t,i,e,h)=>{t.attr("class",e);let{width:o,height:r,x:s,y:w}=n(t,i);x(t,r,o,h);let d=$(s,w,o,r,i);t.attr("viewBox",d),g.debug(`viewBox configured: ${d} with padding: ${i}`)},"setupViewPortForSVG"),n=a((t,i)=>{var h;let e=((h=t.node())==null?void 0:h.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"),$=a((t,i,e,h,o)=>`${t-o} ${i-o} ${e} ${h}`,"createViewBox");export{m as y};
