const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./dagre-VKFMJZFB.CgFPrFh2.js","./graphlib.DTcrr7Y-.js","./toString.tRXNBxtF.js","./isSymbol.CmW3dkoN.js","./eq.DG5CISEJ.js","./isArrayLikeObject.5q1w4NUu.js","./get.D54r6jti.js","./isArrayLike.Co48mDbu.js","./_arrayIncludesWith.DcNFv7pK.js","./_baseIndexOf.CYLdY-L6.js","./_baseFlatten.Dejow5he.js","./_arrayReduce.CiwPAjrV.js","./_baseIsEqual.BY1BH86u.js","./_baseEach.Cj2TffRg.js","./_baseProperty.BV6HSwpm.js","./isEmpty.CWcD5qWF.js","./index.D3kRk1xg.js","./rolldown-runtime.DAXXjFlN.js","./emotion-is-prop-valid.esm.CygBv61C.js","./emotion-styled.browser.esm.DmHEQgFq.js","./loglevel.BJBYxGId.js","./react-dom.DmpKrvBr.js","./utils.Dw3nndTc.js","./protobuf.Cj15o6C6.js","./utils.CmclnrwZ.js","./assertNever.B3BphyEM.js","./merge.BfhBeCYF.js","./_isIterateeCall.D7Fn3p_j.js","./_baseClone.ZIs07_oO.js","./getColors.DvVOOCnR.js","./last.BA2Y_KfR.js","./StreamlitMarkdown.DgiZKHgf.js","./useCrossOriginAttribute.BtRvgKAM.js","./UriUtil.FL3SkPFA.js","./useEmotionTheme.tyjAwN1A.js","./lib.DuoFSfCJ.js","./lib.DaUKNU-6.js","./lib.CMmWlZtt.js","./space-separated-tokens.BCngOmQZ.js","./ErrorElement.BlvlqstC.js","./useFloatingOverlay.DKo8T0mQ.js","./preload-helper.DYl5dUZ5.js","./_baseMap.D9pveXme.js","./Icon.e1JWxeY_.js","./Autocomplete.BaNFm-08.js","./Label.CGzIOlkG.js","./useLabel.B0IJKInz.js","./ProgressBar.Cai3a6XZ.js","./useNumberFormatter.CRlG5Fq9.js","./useFocusRing.k1Zl5O2m.js","./usePress.Cc9sJcHH.js","./textSelection.TOll6Mvl.js","./useButton.BFnM-sgD.js","./Text.CGzIOlkG.js","./useFormValidation.CydiJWe2.js","./useField.BGZhbeNt.js","./useFormReset.BAO-uOEl.js","./useToggleState.Ch_kbE7z.js","./FocusScope.BjZ-q4F2.js","./styled-components.BfB5_lgd.js","./BaseButton.CtdrcmcQ.js","./useTimeout.CUauXJkz.js","./objectWithoutPropertiesLoose.DkqnLJVA.js","./index.esm.CfwaQ0Sp.js","./tslib.es6.DWZnz9P1.js","./recordbatch.DXeyCpzA.js","../css/index.7xf2Fe_c.css","./chunk-RYQCIY6F.DRoJEVkm.js","./chunk-Y2CYZVJY.DsF7k-Jl.js","./src.C0WDTvq6.js","./src.BuB3-yYq.js","./timer.DF-DFW6C.js","./src.l-lKDa9n.js","./dagre.Ddrcm7Ex.js","./_hasUnicode.Cp9Achgk.js","./chunk-WYO6CB5R.DmUx6_h4.js","./purify.es.DY32g7DN.js","./chunk-ICXQ74PX.C6iVuh7H.js","./dist.BQ4V7D6H.js","./chunk-HOUHSVGY.bCInSHBj.js","./chunk-Q4XR5HBZ.CWc6xdp1.js","./chunk-7BUUIJ7U.CAhmNhj7.js","./chunk-OGEWGWER.CYMtN3wn.js","./chunk-C7G6YPKG.CRCN2QWh.js","./chunk-ZGVPDNZ5.DnNVAbo0.js","./rough.esm.CSKSodPl.js","./chunk-52WLFC77.DJW2kXkM.js","./line.CPYciQsV.js","./path.CLRsGyms.js","./array.BifhSqXX.js","./swimlanes-5IMT3BWC.d_MHNMWM.js","./cose-bilkent-JH36ORCC.BTVL4gHW.js","./cytoscape.esm.Djp6vQyU.js"])))=>i.map(i=>d[i]);
import{t as e}from"./preload-helper.DYl5dUZ5.js";import{n as t}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import{t as n}from"./src.C0WDTvq6.js";import{b as r,s as i}from"./chunk-WYO6CB5R.DmUx6_h4.js";import{d as a}from"./chunk-ICXQ74PX.C6iVuh7H.js";import{a as o,i as s,s as c}from"./chunk-ZGVPDNZ5.DnNVAbo0.js";import{a as l,i as u,o as d,r as f}from"./chunk-52WLFC77.DJW2kXkM.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-VKFMJZFB.CgFPrFh2.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,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89]),import.meta.url),`loader`)},{name:`swimlane`,loader:t(async()=>await e(()=>import(`./swimlanes-5IMT3BWC.d_MHNMWM.js`),__vite__mapDeps([90,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89]),import.meta.url),`loader`)},{name:`cose-bilkent`,loader:t(async()=>await e(()=>import(`./cose-bilkent-JH36ORCC.BTVL4gHW.js`),__vite__mapDeps([91,17,70,71,72,68,69,92]),import.meta.url),`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};