const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dagre-VZM6K2ZE-bNpBL3bS.js","assets/chunk-Y2CYZVJY-DsF7k-Jl.js","assets/src-_wZywoZs.js","assets/rolldown-runtime-QTnfLwEv.js","assets/chunk-I66GZJ75-CJWXi3bs.js","assets/preload-helper-CEhsl8MR.js","assets/compiler-runtime-CLAvuQ-D.js","assets/chunk-NSK5VX7P-CoeZ_Lgi.js","assets/dist-D9sYb5Oa.js","assets/chunk-4I5QYGJK-CYvb6li-.js","assets/chunk-WRU74C26-C2Rb3ATV.js","assets/chunk-7BUUIJ7U-Bb538aSH.js","assets/chunk-UBXNYLIW-F4hmeeiG.js","assets/graphlib-B8gBHxth.js","assets/dagre-CXRCoUWR.js","assets/map-DsCK-0Cs.js","assets/chunk-RYQCIY6F-CZ4ia6G4.js","assets/chunk-W5SLKNZC-Bwmo9x3j.js","assets/chunk-QR6OTTB3-D0IyLhez.js","assets/rough.esm-CSKSodPl.js","assets/chunk-7Z6QIM7H-kaZRbPTV.js","assets/line-DSV8zekT.js","assets/path-BWPyau1x.js","assets/array-BifhSqXX.js","assets/swimlanes-SLNWSIFB-DaoN2lsp.js","assets/cose-bilkent-JH36ORCC-CU59zlcZ.js","assets/cytoscape.esm-B3I8pqwA.js"])))=>i.map(i=>d[i]);
import{t as e}from"./preload-helper-CEhsl8MR.js";import{n as t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{m as n}from"./src-_wZywoZs.js";import{b as r,s as i}from"./chunk-I66GZJ75-CJWXi3bs.js";import{d as a}from"./chunk-NSK5VX7P-CoeZ_Lgi.js";import{a as o,i as s,s as c}from"./chunk-QR6OTTB3-D0IyLhez.js";import{a as l,i as u,o as d,r as f}from"./chunk-7Z6QIM7H-kaZRbPTV.js";var p={common:i,getConfig:r,insertCluster:s,insertEdge:f,insertEdgeLabel:u,insertMarkers:l,insertNode:o,interpolateToCurve:a,labelHelper:c,log:n,positionEdgeLabel:d},m={},h=t(e=>{for(let t of e)m[t.name]=t},`registerLayoutLoaders`);t(()=>{h([{name:`dagre`,loader:t(async()=>await e(()=>import(`./dagre-VZM6K2ZE-bNpBL3bS.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23])),`loader`)},{name:`swimlane`,loader:t(async()=>await e(()=>import(`./swimlanes-SLNWSIFB-DaoN2lsp.js`),__vite__mapDeps([24,5,3,6,1,2,4,7,8,9,10,11,12,13,16,15,17,18,19,20,21,22,23])),`loader`)},{name:`cose-bilkent`,loader:t(async()=>await e(()=>import(`./cose-bilkent-JH36ORCC-CU59zlcZ.js`),__vite__mapDeps([25,3,1,2,26])),`loader`)}])},`registerDefaultLayoutLoaders`)();var g=t(async(e,t,n)=>{if(!(e.layoutAlgorithm in m))throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(let t of e.nodes){let n=t.domId||t.id;t.domId=`${e.diagramId}-${n}`}let r=m[e.layoutAlgorithm],i=await r.loader(),{theme:a,themeVariables:o}=e.config,{useGradient:s,gradientStart:c,gradientStop:l}=o,u=t.attr(`id`);if(t.append(`defs`).append(`filter`).attr(`id`,`${u}-drop-shadow`).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${a?.includes(`dark`)?`#FFFFFF`:`#000000`}`),t.append(`defs`).append(`filter`).attr(`id`,`${u}-drop-shadow-small`).attr(`height`,`150%`).attr(`width`,`150%`).append(`feDropShadow`).attr(`dx`,`2`).attr(`dy`,`2`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${a?.includes(`dark`)?`#FFFFFF`:`#000000`}`),s){let e=t.append(`linearGradient`).attr(`id`,t.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);e.append(`svg:stop`).attr(`offset`,`0%`).attr(`stop-color`,c).attr(`stop-opacity`,1),e.append(`svg:stop`).attr(`offset`,`100%`).attr(`stop-color`,l).attr(`stop-opacity`,1)}return i.render(e,t,p,{algorithm:r.algorithm},n)},`render`),_=t((e=``,{fallback:t=`dagre`}={})=>{if(e in m)return e;if(t in m)return n.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`),t;throw Error(`Both layout algorithms ${e} and ${t} are not registered.`)},`getRegisteredLayoutAlgorithm`);export{h as n,g as r,_ as t};
//# sourceMappingURL=chunk-J7OUQ5F2-D19QWtqC.js.map