(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,332090,t=>{"use strict";var e=t.i(908381),r=t.i(171206);t.i(947716);var a=t.i(723685),o=(0,r.__name)(t=>{let{securityLevel:r}=(0,e.getConfig2)(),o=(0,a.select)("body");if("sandbox"===r){let e=(0,a.select)(`#i${t}`),r=e.node()?.contentDocument??document;o=(0,a.select)(r.body)}return o.select(`#${t}`)},"selectSvgElement");t.s(["selectSvgElement",0,o])},233755,t=>{"use strict";var e=t.i(95547),r=t.i(347578),a=t.i(669587),o=t.i(908381),i=t.i(171206),d={common:o.common_default,getConfig:o.getConfig,insertCluster:r.insertCluster,insertEdge:e.insertEdge,insertEdgeLabel:e.insertEdgeLabel,insertMarkers:e.markers_default,insertNode:r.insertNode,interpolateToCurve:a.interpolateToCurve,labelHelper:r.labelHelper,log:i.log,positionEdgeLabel:e.positionEdgeLabel},n={},l=(0,i.__name)(t=>{for(let e of t)n[e.name]=e},"registerLayoutLoaders");(0,i.__name)(()=>{l([{name:"dagre",loader:(0,i.__name)(async()=>await t.A(222866),"loader")},{name:"cose-bilkent",loader:(0,i.__name)(async()=>await t.A(262369),"loader")}])},"registerDefaultLayoutLoaders")();var s=(0,i.__name)(async(t,e)=>{if(!(t.layoutAlgorithm in n))throw Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);if(t.diagramId)for(let e of t.nodes){let r=e.domId||e.id;e.domId=`${t.diagramId}-${r}`}let r=n[t.layoutAlgorithm],a=await r.loader(),{theme:o,themeVariables:i}=t.config,{useGradient:l,gradientStart:s,gradientStop:g}=i,p=e.attr("id");if(e.append("defs").append("filter").attr("id",`${p}-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",`${o?.includes("dark")?"#FFFFFF":"#000000"}`),e.append("defs").append("filter").attr("id",`${p}-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",`${o?.includes("dark")?"#FFFFFF":"#000000"}`),l){let t=e.append("linearGradient").attr("id",e.attr("id")+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");t.append("svg:stop").attr("offset","0%").attr("stop-color",s).attr("stop-opacity",1),t.append("svg:stop").attr("offset","100%").attr("stop-color",g).attr("stop-opacity",1)}return a.render(t,e,d,{algorithm:r.algorithm})},"render"),g=(0,i.__name)((t="",{fallback:e="dagre"}={})=>{if(t in n)return t;if(e in n)return i.log.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`),e;throw Error(`Both layout algorithms ${t} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm");t.s(["getRegisteredLayoutAlgorithm",0,g,"registerLayoutLoaders",0,l,"render",0,s])}]);