import{_,lasQ,casst,KasEt,a3asLt,Hasit,iasJ,a4asTt,a5asNt,a6asmt,dasDt,adasOt,MasAt}from"./mermaid-vendor-CAxUo7Zk.js";import{casft}from"./cytoscape.esm-CfBqOv7Q.js";import{gasIt}from"./react-vendor-DEwriMA6.js";import"./feature-graph-C6IuADHZ.js";import"./graph-vendor-B-X5JegA.js";import"./ui-vendor-CeCm8EER.js";import"./utils-vendor-BysuhMZA.js";vartt={exports:{}},et={exports:{}},rt={exports:{}},Ct=rt.exports,ct;functionRt(){returnct||(ct=1,function(C,M){(function(D,y){C.exports=y()})(Ct,function(){returnfunction(u){varD={};functiony(r){if(D[r])returnD[r].exports;vart=D[r]={i:r,l:!1,exports:{}};returnu[r].call(t.exports,t,t.exports,y),t.l=!0,t.exports}returny.m=u,y.c=D,y.i=function(r){returnr},y.d=function(r,t,e){y.o(r,t)||Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:e})},y.n=function(r){vart=r&&r.__esModule?function(){returnr.default}:function(){returnr};returny.d(t,"a",t),t},y.o=function(r,t){returnObject.prototype.hasOwnProperty.call(r,t)},y.p="",y(y.s=26)}([function(u,D,y){functionr(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,u.exports=r},function(u,D,y){varr=y(2),t=y(8),e=y(9);functioni(g,a,v){r.call(this,v),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=v,this.bendpoints=[],this.source=g,this.target=a}i.prototype=Object.create(r.prototype);for(varoinr)i[o]=r[o];i.prototype.getSource=function(){returnthis.source},i.prototype.getTarget=function(){returnthis.target},i.prototype.isInterGraph=function(){returnthis.isInterGraph},i.prototype.getLength=function(){returnthis.length},i.prototype.isOverlapingSourceAndTarget=function(){returnthis.isOverlapingSourceAndTarget},i.prototype.getBendpoints=function(){returnthis.bendpoints},i.prototype.getLca=function(){returnthis.lca},i.prototype.getSourceInLca=function(){returnthis.sourceInLca},i.prototype.getTargetInLca=function(){returnthis.targetInLca},i.prototype.getOtherEnd=function(g){if(this.source===g)returnthis.target;if(this.target===g)returnthis.source;throw"Node is not incident with this edge"},i.prototype.getOtherEndInGraph=function(g,a){for(varv=this.getOtherEnd(g),n=a.getGraphManager().getRoot();;){if(v.getOwner()==a)returnv;if(v.getOwner()==n)break;v=v.getOwner().getParent()}returnnull},i.prototype.updateLength=function(){varg=newArray(4);this.isOverlapingSourceAndTarget=t.getIntersection(this.target.getRect(),this.source.getRect(),g),this.isOverlapingSourceAndTarget||(this.lengthX=g[0]-g[2],this.lengthY=g[1]-g[3],Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},i.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=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},u.exports=i},function(u,D,y){functionr(t){this.vGraphObject=t}u.exports=r},function(u,D,y){varr=y(2),t=y(10),e=y(13),i=y(0),o=y(16),g=y(4);functiona(n,c,l,E){l==null&&E==null&&(E=c),r.call(this,E),n.graphManager!=null&&(n=n.graphManager),this.estimatedSize=t.MIN_VALUE,this.inclusionTreeDepth=t.MAX_VALUE,this.vGraphObject=E,this.edges=[],this.graphManager=n,l!=null&&c!=null?this.rect=newe(c.x,c.y,l.width,l.height):this.rect=newe}a.prototype=Object.create(r.prototype);for(varvinr)a[v]=r[v];a.prototype.getEdges=function(){returnthis.edges},a.prototype.g
`+N+"^"},"showPosition"),test_match:_(function(d,N){var s,h,f;if(this.options.backtrack_lexer&&(f={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(f.yylloc.range=this.yylloc.range.slice(0))),h=d[0].match(/(?:\r\n?|\n).*/g),h&&(this.yylineno+=h.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:h?h[h.length-1].length-h[h.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+d[0].length},this.yytext+=d[0],this.match+=d[0],this.matches=d,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(d[0].length),this.matched+=d[0],s=this.performAction.call(this,this.yy,this,N,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var p in f)this[p]=f[p];return!1}return!1},"test_match"),next:_(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var d,N,s,h;this._more||(this.yytext="",this.match="");for(var f=this._currentRules(),p=0;p<f.length;p++)if(s=this._input.match(this.rules[f[p]]),s&&(!N||s[0].length>N[0].length)){if(N=s,h=p,this.options.backtrack_lexer){if(d=this.test_match(s,f[p]),d!==!1)return d;if(this._backtrack){N=!1;continue}else return!1}else if(!this.options.flex)break}return N?(d=this.test_match(N,f[h]),d!==!1?d:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.