import{_ as n,e as u,l as w}from"./NewEditor-ChCzgWrr.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]="98d1191b-67ca-4e9e-bd98-418105d36806",e._sentryDebugIdIdentifier="sentry-dbid-98d1191b-67ca-4e9e-bd98-418105d36806")}catch{}})();var l=n((e,t,i,r)=>{e.attr("class",i);const{width:o,height:d,x:a,y:c}=h(e,t);u(e,d,o,r);const s=b(a,c,o,d,t);e.attr("viewBox",s),w.debug(`viewBox configured: ${s} with padding: ${t}`)},"setupViewPortForSVG"),h=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"),b=n((e,t,i,r,o)=>`${e-o} ${t-o} ${i} ${r}`,"createViewBox");export{l as s};
//# sourceMappingURL=chunk-KX2RTZJC-xt6cg-nf.js.map
