const e=require("./src-BMjps4Ui.cjs"),t=require("./chunk-ABZYJK2D-CbIYYZa_.cjs");var n=e.h((n,a,o,s)=>{n.attr(`class`,o);let{width:c,height:l,x:u,y:d}=r(n,a);t.c(n,l,c,s);let f=i(u,d,c,l,a);n.attr(`viewBox`,f),e.g.debug(`viewBox configured: ${f} with padding: ${a}`)},`setupViewPortForSVG`),r=e.h((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`),i=e.h((e,t,n,r,i)=>`${e-i} ${t-i} ${n} ${r}`,`createViewBox`);Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}});