aboutsummaryrefslogtreecommitdiff
path: root/static/js/chunks/mermaid.esm.min/chunk-P7KHIEPL.mjs
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-15 14:37:33 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-15 14:37:33 +0300
commit47fc02a8c71af4926148beb5d5cc0fc221aa5429 (patch)
treee2e5922b7fc16f3d25b02cd345ad534991d38629 /static/js/chunks/mermaid.esm.min/chunk-P7KHIEPL.mjs
parent017c7b792f3e679f61b004ec132a36f866b39e9b (diff)
Auto-commit 2024-12-15
Diffstat (limited to 'static/js/chunks/mermaid.esm.min/chunk-P7KHIEPL.mjs')
-rw-r--r--static/js/chunks/mermaid.esm.min/chunk-P7KHIEPL.mjs1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/js/chunks/mermaid.esm.min/chunk-P7KHIEPL.mjs b/static/js/chunks/mermaid.esm.min/chunk-P7KHIEPL.mjs
new file mode 100644
index 0000000..58c884b
--- /dev/null
+++ b/static/js/chunks/mermaid.esm.min/chunk-P7KHIEPL.mjs
@@ -0,0 +1 @@
+import{M as b,b as u,ga as s}from"./chunk-OR2G2HG5.mjs";import{a as r}from"./chunk-GTKDMUJJ.mjs";var w=r((t,o)=>{let e;return o==="sandbox"&&(e=s("#i"+t)),(o==="sandbox"?s(e.nodes()[0].contentDocument.body):s("body")).select(`[id="${t}"]`)},"getDiagramElement");var $=r((t,o,e,i)=>{t.attr("class",e);let{width:n,height:m,x:h,y:x}=a(t,o);b(t,m,n,i);let c=d(h,x,n,m,o);t.attr("viewBox",c),u.debug(`viewBox configured: ${c} with padding: ${o}`)},"setupViewPortForSVG"),a=r((t,o)=>{let e=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:e.width+o*2,height:e.height+o*2,x:e.x,y:e.y}},"calculateDimensionsWithPadding"),d=r((t,o,e,i,n)=>`${t-n} ${o-n} ${e} ${i}`,"createViewBox");export{w as a,$ as b};