"use strict";const r=require("./index-9IAMar3z.cjs");var u=r.__name((e,t,i,n)=>{e.attr("class",i);const{width:o,height:h,x:c,y:s}=w(e,t);r.configureSvgSize(e,h,o,n);const a=x(c,s,o,h,t);e.attr("viewBox",a),r.log.debug(`viewBox configured: ${a} with padding: ${t}`)},"setupViewPortForSVG"),w=r.__name((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"),x=r.__name((e,t,i,n,o)=>`${e-o} ${t-o} ${i} ${n}`,"createViewBox");exports.setupViewPortForSVG=u;
