import{n as e}from"./rolldown-runtime-BG2f4sTM.js";import{i as t,n,r}from"./chunk-AGHRB4JF-COxpu2PX.js";import{A as i,c as a}from"./chunk-ICPOFSXX-DR5eNcWR.js";var o,s,c,l=e((()=>{i(),r(),o=n((e,n,r,i)=>{e.attr(`class`,r);let{width:o,height:l,x:u,y:d}=s(e,n);a(e,l,o,i);let f=c(u,d,o,l,n);e.attr(`viewBox`,f),t.debug(`viewBox configured: ${f} with padding: ${n}`)},`setupViewPortForSVG`),s=n((e,t)=>{let n=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:n.width+t*2,height:n.height+t*2,x:n.x,y:n.y}},`calculateDimensionsWithPadding`),c=n((e,t,n,r,i)=>`${e-i} ${t-i} ${n} ${r}`,`createViewBox`)}));export{o as n,l as t};
//# sourceMappingURL=chunk-EDXVE4YY-CTb4qBXR.js.map