import{aIasZe,_asdt,Haske,acasqe,lasSe,basQe,aasJe,pasKe,qasje,gas_e,sastr,yaser,Dasrr,Easir,Fasar,casEe,amasme,aJaspe,iasnr,dasor,xassr,aKashr,aLaslr}from"./mermaid.core-Bp72wBaC.js";import{pasfr}from"./chunk-4BX2VUAB-82LsI6ZO.js";import{pascr}from"./treemap-GDKQZRPO-AdnGbe1r.js";import{casFe}from"./cytoscape.esm-5J0xJHOV.js";import"./index-BzKy-nNf.js";import"./_baseUniq-Blm_akxr.js";import"./_basePickBy-BruevaAz.js";import"./clone-BbeogWA3.js";varhe={exports:{}},le={exports:{}},fe={exports:{}},gr=fe.exports,we;functionur(){returnwe||(we=1,(function(I,x){(function(P,N){I.exports=N()})(gr,function(){return(function(A){varP={};functionN(u){if(P[u])returnP[u].exports;varh=P[u]={i:u,l:!1,exports:{}};returnA[u].call(h.exports,h,h.exports,N),h.l=!0,h.exports}returnN.m=A,N.c=P,N.i=function(u){returnu},N.d=function(u,h,a){N.o(u,h)||Object.defineProperty(u,h,{configurable:!1,enumerable:!0,get:a})},N.n=function(u){varh=u&&u.__esModule?function(){returnu.default}:function(){returnu};returnN.d(h,"a",h),h},N.o=function(u,h){returnObject.prototype.hasOwnProperty.call(u,h)},N.p="",N(N.s=28)})([(function(A,P,N){functionu(){}u.QUALITY=1,u.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,u.DEFAULT_INCREMENTAL=!1,u.DEFAULT_ANIMATION_ON_LAYOUT=!0,u.DEFAULT_ANIMATION_DURING_LAYOUT=!1,u.DEFAULT_ANIMATION_PERIOD=50,u.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,u.DEFAULT_GRAPH_MARGIN=15,u.NODE_DIMENSIONS_INCLUDE_LABELS=!1,u.SIMPLE_NODE_SIZE=40,u.SIMPLE_NODE_HALF_SIZE=u.SIMPLE_NODE_SIZE/2,u.EMPTY_COMPOUND_NODE_SIZE=40,u.MIN_EDGE_LENGTH=1,u.WORLD_BOUNDARY=1e6,u.INITIAL_WORLD_BOUNDARY=u.WORLD_BOUNDARY/1e3,u.WORLD_CENTER_X=1200,u.WORLD_CENTER_Y=900,A.exports=u}),(function(A,P,N){varu=N(2),h=N(8),a=N(9);functione(l,i,g){u.call(this,g),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=g,this.bendpoints=[],this.source=l,this.target=i}e.prototype=Object.create(u.prototype);for(varrinu)e[r]=u[r];e.prototype.getSource=function(){returnthis.source},e.prototype.getTarget=function(){returnthis.target},e.prototype.isInterGraph=function(){returnthis.isInterGraph},e.prototype.getLength=function(){returnthis.length},e.prototype.isOverlapingSourceAndTarget=function(){returnthis.isOverlapingSourceAndTarget},e.prototype.getBendpoints=function(){returnthis.bendpoints},e.prototype.getLca=function(){returnthis.lca},e.prototype.getSourceInLca=function(){returnthis.sourceInLca},e.prototype.getTargetInLca=function(){returnthis.targetInLca},e.prototype.getOtherEnd=function(l){if(this.source===l)returnthis.target;if(this.target===l)returnthis.source;throw"Node is not incident with this edge"},e.prototype.getOtherEndInGraph=function(l,i){for(varg=this.getOtherEnd(l),t=i.getGraphManager().getRoot();;){if(g.getOwner()==i)returng;if(g.getOwner()==t)break;g=g.getOwner().getParent()}returnnull},e.prototype.updateLength=function(){varl=newArray(4);this.isOverlapingSourceAndTarget=h.getIntersection(this.target.getRect(),this.source.getRect(),l),this.isOverlapingSourceAndTarget||(this.lengthX=l[0]-l[2],this.lengthY=l[1]-l[3],Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},e.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},A.exports=e}),(function(A,P,N){functionu(h){this.vGraphObject=h}A.exports=u}),(function(A,P,N){varu=N(2),h=N(10),a=N(13),e=N(0),r=N(16),l=N(5);functioni(t,o,s,c){s==null&&c==null&&(c=o),u.call(this,c),t.graphManager!=null&&(t=t.graphManager),this.estimatedSize=h.MIN_VALUE,this.inclusionTreeDepth=h.MAX_VALUE,this.vGraphObject=c,this.edges=[],this.graphManager=t,s!=null&&o!=null?this.rect=newa(o.x,o.y,s.width,s.height):this.rect=