import{_ as n,e as f,l as u}from"./Editor-BFHPZfQI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6c4818e5-0127-4cf9-8b4e-f32fcb6e5555",e._sentryDebugIdIdentifier="sentry-dbid-6c4818e5-0127-4cf9-8b4e-f32fcb6e5555")}catch{}})();var l=n((e,t,i,r)=>{e.attr("class",i);const{width:o,height:s,x:a,y:d}=w(e,t);f(e,s,o,r);const c=h(a,d,o,s,t);e.attr("viewBox",c),u.debug(`viewBox configured: ${c} with padding: ${t}`)},"setupViewPortForSVG"),w=n((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"),h=n((e,t,i,r,o)=>`${e-o} ${t-o} ${i} ${r}`,"createViewBox");export{l as s};
//# sourceMappingURL=chunk-KX2RTZJC-zUFdnlxc.js.map
