import{Da as Z1,Ia as $t,Q as Zt,Wa as J1,Xa as te,Za as $1,bb as ee,cb as se,db as ue,eb as ie,fb as re,gb as ne,h as m1,hb as ae,ja as Jt,ob as ce}from"./chunk-PBNKOM7K.min.js";var At=function(){var t=function(l1,c,o,p){for(o=o||{},p=l1.length;p--;o[l1[p]]=c);return o},u=[1,9],i=[1,7],r=[1,6],a=[1,8],l=[1,20,21,22,23,38,45,47,49,53,69,92,93,94,95,96,97,110,113,114,117,119,122,123,124,129,130,131,132],h=[2,10],G=[1,20],D=[1,21],w=[1,22],z=[1,23],c1=[1,30],h1=[1,32],p1=[1,33],L1=[1,34],b=[1,56],S=[1,55],P1=[1,36],G1=[1,37],U1=[1,38],M1=[1,39],K1=[1,40],v=[1,51],B=[1,53],x=[1,49],y=[1,54],m=[1,50],V=[1,57],L=[1,52],I=[1,58],R=[1,59],j1=[1,41],Y1=[1,42],X1=[1,43],z1=[1,44],gt=[1,62],I1=[1,67],_=[1,20,21,22,23,38,43,45,47,49,53,69,92,93,94,95,96,97,110,113,114,117,119,122,123,124,129,130,131,132],H=[1,71],W=[1,70],q=[1,72],H1=[20,21,23,84,86],E1=[1,98],b1=[1,103],k1=[1,102],g1=[1,99],D1=[1,95],F1=[1,101],_1=[1,97],T1=[1,104],S1=[1,100],C1=[1,105],v1=[1,96],W1=[20,21,22,23,84,86],N=[20,21,22,23,55,84,86],M=[20,21,22,23,40,53,55,57,59,61,63,65,67,69,72,74,76,77,79,84,86,97,110,113,114,117,119,122,123,124],F=[20,21,23],Dt=[20,21,23,53,69,84,86,97,110,113,114,117,119,122,123,124],at=[1,12,20,21,22,23,24,38,43,45,47,49,53,69,92,93,94,95,96,97,110,113,114,117,119,122,123,124,129,130,131,132],R1=[53,69,97,110,113,114,117,119,122,123,124],Ft=[1,134],_t=[1,133],Tt=[1,141],St=[1,155],Ct=[1,156],vt=[1,157],Bt=[1,158],xt=[1,143],yt=[1,145],mt=[1,149],Vt=[1,150],Lt=[1,151],It=[1,152],Rt=[1,153],Nt=[1,154],wt=[1,159],Ot=[1,160],Pt=[1,139],Gt=[1,140],Ut=[1,147],Mt=[1,142],Kt=[1,146],jt=[1,144],ct=[20,21,22,23,38,43,45,47,49,53,69,92,93,94,95,96,97,110,113,114,117,119,122,123,124,129,130,131,132],Yt=[1,162],K=[20,21,22,23,26,53,69,97,113,114,117,119,122,123,124],f=[1,182],O=[1,178],P=[1,179],d=[1,183],A=[1,180],E=[1,181],Xt=[12,21,22,24],B1=[86,124,127],k=[20,21,22,23,24,26,38,40,43,53,69,84,92,93,94,95,96,97,98,113,117,119,122,123,124],zt=[22,114],o1=[42,58,60,62,64,66,71,73,75,76,78,80,124,125,126],Z=[1,250],J=[1,248],$=[1,252],t1=[1,246],e1=[1,247],s1=[1,249],u1=[1,251],i1=[1,253],x1=[1,270],Ht=[20,21,23,114],Q=[20,21,22,23,69,92,113,114,117,118,119,120],ot={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,textNoTags:39,SQS:40,text:41,SQE:42,end:43,direction:44,acc_title:45,acc_title_value:46,acc_descr:47,acc_descr_value:48,acc_descr_multiline_value:49,link:50,node:51,styledVertex:52,AMP:53,vertex:54,STYLE_SEPARATOR:55,idString:56,DOUBLECIRCLESTART:57,DOUBLECIRCLEEND:58,PS:59,PE:60,"(-":61,"-)":62,STADIUMSTART:63,STADIUMEND:64,SUBROUTINESTART:65,SUBROUTINEEND:66,VERTEX_WITH_PROPS_START:67,"NODE_STRING[field]":68,COLON:69,"NODE_STRING[value]":70,PIPE:71,CYLINDERSTART:72,CYLINDEREND:73,DIAMOND_START:74,DIAMOND_STOP:75,TAGEND:76,TRAPSTART:77,TRAPEND:78,INVTRAPSTART:79,INVTRAPEND:80,linkStatement:81,arrowText:82,TESTSTR:83,START_LINK:84,edgeText:85,LINK:86,edgeTextToken:87,STR:88,MD_STR:89,textToken:90,keywords:91,STYLE:92,LINKSTYLE:93,CLASSDEF:94,CLASS:95,CLICK:96,DOWN:97,UP:98,textNoTagsToken:99,stylesOpt:100,"idString[vertex]":101,"idString[class]":102,CALLBACKNAME:103,CALLBACKARGS:104,HREF:105,LINK_TARGET:106,"STR[link]":107,"STR[tooltip]":108,alphaNum:109,DEFAULT:110,numList:111,INTERPOLATE:112,NUM:113,COMMA:114,style:115,styleComponent:116,NODE_STRING:117,UNIT:118,BRKT:119,PCT:120,idStringToken:121,MINUS:122,MULT:123,UNICODE_TEXT:124,TEXT:125,TAGSTART:126,EDGE_TEXT:127,alphaNumToken:128,direction_tb:129,direction_bt:130,direction_rl:131,direction_lr:132,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",42:"SQE",43:"end",45:"acc_title",46:"acc_title_value",47:"acc_descr",48:"acc_descr_value",49:"acc_descr_multiline_value",53:"AMP",55:"STYLE_SEPARATOR",57:"DOUBLECIRCLESTART",58:"DOUBLECIRCLEEND",59:"PS",60:"PE",61:"(-",62:"-)",63:"STADIUMSTART",64:"STADIUMEND",65:"SUBROUTINESTART",66:"SUBROUTINEEND",67:"VERTEX_WITH_PROPS_START",68:"NODE_STRING[field]",69:"COLON",70:"NODE_STRING[value]",71:"PIPE",72:"CYLINDERSTART",73:"CYLINDEREND",74:"DIAMOND_START",75:"DIAMOND_STOP",76:"TAGEND",77:"TRAPSTART",78:"TRAPEND",79:"INVTRAPSTART",80:"INVTRAPEND",83:"TESTSTR",84:"START_LINK",86:"LINK",88:"STR",89:"MD_STR",92:"STYLE",93:"LINKSTYLE",94:"CLASSDEF",95:"CLASS",96:"CLICK",97:"DOWN",98:"UP",101:"idString[vertex]",102:"idString[class]",103:"CALLBACKNAME",104:"CALLBACKARGS",105:"HREF",106:"LINK_TARGET",107:"STR[link]",108:"STR[tooltip]",110:"DEFAULT",112:"INTERPOLATE",113:"NUM",114:"COMMA",117:"NODE_STRING",118:"UNIT",119:"BRKT",120:"PCT",122:"MINUS",123:"MULT",124:"UNICODE_TEXT",125:"TEXT",126:"TAGSTART",127:"EDGE_TEXT",129:"direction_tb",130:"direction_bt",131:"direction_rl",132:"direction_lr"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[51,1],[51,5],[52,1],[52,3],[54,4],[54,4],[54,6],[54,4],[54,4],[54,4],[54,8],[54,4],[54,4],[54,4],[54,6],[54,4],[54,4],[54,4],[54,4],[54,4],[54,1],[50,2],[50,3],[50,3],[50,1],[50,3],[85,1],[85,2],[85,1],[85,1],[81,1],[82,3],[41,1],[41,2],[41,1],[41,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[39,1],[39,2],[39,1],[39,1],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,3],[37,5],[37,5],[37,7],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[111,1],[111,3],[100,1],[100,3],[115,1],[115,2],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[121,1],[90,1],[90,1],[90,1],[90,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[87,1],[87,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[56,1],[56,2],[109,1],[109,2],[44,1],[44,1],[44,1],[44,1]],performAction:function(c,o,p,n,T,e,N1){var s=e.length-1;switch(T){case 5:n.parseDirective("%%{","open_directive");break;case 6:n.parseDirective(e[s],"type_directive");break;case 7:e[s]=e[s].trim().replace(/'/g,'"'),n.parseDirective(e[s],"arg_directive");break;case 8:n.parseDirective("}%%","close_directive","flowchart");break;case 10:this.$=[];break;case 11:(!Array.isArray(e[s])||e[s].length>0)&&e[s-1].push(e[s]),this.$=e[s-1];break;case 12:case 184:this.$=e[s];break;case 19:n.setDirection("TB"),this.$="TB";break;case 20:n.setDirection(e[s-1]),this.$=e[s-1];break;case 35:this.$=e[s-1].nodes;break;case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 41:this.$=n.addSubGraph(e[s-6],e[s-1],e[s-4]);break;case 42:this.$=n.addSubGraph(e[s-3],e[s-1],e[s-3]);break;case 43:this.$=n.addSubGraph(void 0,e[s-1],void 0);break;case 45:this.$=e[s].trim(),n.setAccTitle(this.$);break;case 46:case 47:this.$=e[s].trim(),n.setAccDescription(this.$);break;case 51:n.addLink(e[s-2].stmt,e[s],e[s-1]),this.$={stmt:e[s],nodes:e[s].concat(e[s-2].nodes)};break;case 52:n.addLink(e[s-3].stmt,e[s-1],e[s-2]),this.$={stmt:e[s-1],nodes:e[s-1].concat(e[s-3].nodes)};break;case 53:this.$={stmt:e[s-1],nodes:e[s-1]};break;case 54:this.$={stmt:e[s],nodes:e[s]};break;case 55:this.$=[e[s]];break;case 56:this.$=e[s-4].concat(e[s]);break;case 57:this.$=e[s];break;case 58:this.$=e[s-2],n.setClass(e[s-2],e[s]);break;case 59:this.$=e[s-3],n.addVertex(e[s-3],e[s-1],"square");break;case 60:this.$=e[s-3],n.addVertex(e[s-3],e[s-1],"doublecircle");break;case 61:this.$=e[s-5],n.addVertex(e[s-5],e[s-2],"circle");break;case 62:this.$=e[s-3],n.addVertex(e[s-3],e[s-1],"ellipse");break;case 63:this.$=e[s-3],n.addVertex(e[s-3],e[s-1],"stadium");break;case 64:this.$=e[s-3],n.addVertex(e[s-3],e[s-1],"subroutine");break;case 65:this.$=e[s-7],n.addVertex(e[s-7],e[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[e[s-5],e[s-3]]]));break;case 66:this.$=e[s-3],n.addVertex(e[s-3],e[s-1],"cylinder");break;case 67:this.$=e[s-3],n.addVertex(e[s-3],e[s-1],"round");break;case 68:this.$=e[s-3],n.addVertex(e[s-3],e[s-1],"diamond");break;case 69:this.$=e[s-5],n.addVertex(e[s-5],e[s-2],"hexagon");break;case 70:this.$=e[s-3],n.addVertex(e[s-3],e[s-1],"odd");break;case 71:this.$=e[s-3],n.addVertex(e[s-3],e[s-1],"trapezoid");break;case 72:this.$=e[s-3],n.addVertex(e[s-3],e[s-1],"inv_trapezoid");break;case 73:this.$=e[s-3],n.addVertex(e[s-3],e[s-1],"lean_right");break;case 74:this.$=e[s-3],n.addVertex(e[s-3],e[s-1],"lean_left");break;case 75:this.$=e[s],n.addVertex(e[s]);break;case 76:e[s-1].text=e[s],this.$=e[s-1];break;case 77:case 78:e[s-2].text=e[s-1],this.$=e[s-2];break;case 79:this.$=e[s];break;case 80:var j=n.destructLink(e[s],e[s-2]);this.$={type:j.type,stroke:j.stroke,length:j.length,text:e[s-1]};break;case 81:this.$={text:e[s],type:"text"};break;case 82:this.$={text:e[s-1].text+""+e[s],type:e[s-1].type};break;case 83:this.$={text:e[s],type:"string"};break;case 84:this.$={text:e[s],type:"markdown"};break;case 85:var j=n.destructLink(e[s]);this.$={type:j.type,stroke:j.stroke,length:j.length};break;case 86:this.$=e[s-1];break;case 87:this.$={text:e[s],type:"text"};break;case 88:this.$={text:e[s-1].text+""+e[s],type:e[s-1].type};break;case 89:this.$={text:e[s],type:"string"};break;case 90:case 105:this.$={text:e[s],type:"markdown"};break;case 102:this.$={text:e[s],type:"text"};break;case 103:this.$={text:e[s-1].text+""+e[s],type:e[s-1].type};break;case 104:this.$={text:e[s],type:"text"};break;case 106:this.$=e[s-4],n.addClass(e[s-2],e[s]);break;case 107:this.$=e[s-4],n.setClass(e[s-2],e[s]);break;case 108:case 116:this.$=e[s-1],n.setClickEvent(e[s-1],e[s]);break;case 109:case 117:this.$=e[s-3],n.setClickEvent(e[s-3],e[s-2]),n.setTooltip(e[s-3],e[s]);break;case 110:this.$=e[s-2],n.setClickEvent(e[s-2],e[s-1],e[s]);break;case 111:this.$=e[s-4],n.setClickEvent(e[s-4],e[s-3],e[s-2]),n.setTooltip(e[s-4],e[s]);break;case 112:this.$=e[s-2],n.setLink(e[s-2],e[s]);break;case 113:this.$=e[s-4],n.setLink(e[s-4],e[s-2]),n.setTooltip(e[s-4],e[s]);break;case 114:this.$=e[s-4],n.setLink(e[s-4],e[s-2],e[s]);break;case 115:this.$=e[s-6],n.setLink(e[s-6],e[s-4],e[s]),n.setTooltip(e[s-6],e[s-2]);break;case 118:this.$=e[s-1],n.setLink(e[s-1],e[s]);break;case 119:this.$=e[s-3],n.setLink(e[s-3],e[s-2]),n.setTooltip(e[s-3],e[s]);break;case 120:this.$=e[s-3],n.setLink(e[s-3],e[s-2],e[s]);break;case 121:this.$=e[s-5],n.setLink(e[s-5],e[s-4],e[s]),n.setTooltip(e[s-5],e[s-2]);break;case 122:this.$=e[s-4],n.addVertex(e[s-2],void 0,void 0,e[s]);break;case 123:this.$=e[s-4],n.updateLink([e[s-2]],e[s]);break;case 124:this.$=e[s-4],n.updateLink(e[s-2],e[s]);break;case 125:this.$=e[s-8],n.updateLinkInterpolate([e[s-6]],e[s-2]),n.updateLink([e[s-6]],e[s]);break;case 126:this.$=e[s-8],n.updateLinkInterpolate(e[s-6],e[s-2]),n.updateLink(e[s-6],e[s]);break;case 127:this.$=e[s-6],n.updateLinkInterpolate([e[s-4]],e[s]);break;case 128:this.$=e[s-6],n.updateLinkInterpolate(e[s-4],e[s]);break;case 129:case 131:this.$=[e[s]];break;case 130:case 132:e[s-2].push(e[s]),this.$=e[s-2];break;case 134:this.$=e[s-1]+e[s];break;case 182:this.$=e[s];break;case 183:this.$=e[s-1]+""+e[s];break;case 185:this.$=e[s-1]+""+e[s];break;case 186:this.$={stmt:"dir",value:"TB"};break;case 187:this.$={stmt:"dir",value:"BT"};break;case 188:this.$={stmt:"dir",value:"RL"};break;case 189:this.$={stmt:"dir",value:"LR"};break}},table:[{3:1,4:2,5:3,6:5,12:u,16:4,21:i,22:r,24:a},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:u,16:4,21:i,22:r,24:a},t(l,h,{17:11}),{7:12,13:[1,13]},{16:14,21:i,22:r,24:a},{16:15,21:i,22:r,24:a},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:G,21:D,22:w,23:z,32:24,33:25,34:26,35:27,36:28,37:29,38:c1,44:31,45:h1,47:p1,49:L1,51:35,52:45,53:b,54:46,56:47,69:S,92:P1,93:G1,94:U1,95:M1,96:K1,97:v,110:B,113:x,114:y,117:m,119:V,121:48,122:L,123:I,124:R,129:j1,130:Y1,131:X1,132:z1},{8:60,10:[1,61],15:gt},t([10,15],[2,6]),t(l,[2,17]),t(l,[2,18]),t(l,[2,19]),{20:[1,64],21:[1,65],22:I1,27:63,30:66},t(_,[2,11]),t(_,[2,12]),t(_,[2,13]),t(_,[2,14]),t(_,[2,15]),t(_,[2,16]),{9:68,20:H,21:W,23:q,50:69,81:73,84:[1,74],86:[1,75]},{9:76,20:H,21:W,23:q},{9:77,20:H,21:W,23:q},{9:78,20:H,21:W,23:q},{9:79,20:H,21:W,23:q},{9:80,20:H,21:W,23:q},{9:82,20:H,21:W,22:[1,81],23:q},t(_,[2,44]),{46:[1,83]},{48:[1,84]},t(_,[2,47]),t(H1,[2,54],{30:85,22:I1}),{22:[1,86]},{22:[1,87]},{22:[1,88]},{22:[1,89]},{26:E1,53:b1,69:k1,88:[1,93],97:g1,103:[1,90],105:[1,91],109:92,113:D1,114:F1,117:_1,119:T1,122:S1,123:C1,124:v1,128:94},t(_,[2,186]),t(_,[2,187]),t(_,[2,188]),t(_,[2,189]),t(W1,[2,55]),t(W1,[2,57],{55:[1,106]}),t(N,[2,75],{121:119,40:[1,107],53:b,57:[1,108],59:[1,109],61:[1,110],63:[1,111],65:[1,112],67:[1,113],69:S,72:[1,114],74:[1,115],76:[1,116],77:[1,117],79:[1,118],97:v,110:B,113:x,114:y,117:m,119:V,122:L,123:I,124:R}),t(M,[2,182]),t(M,[2,143]),t(M,[2,144]),t(M,[2,145]),t(M,[2,146]),t(M,[2,147]),t(M,[2,148]),t(M,[2,149]),t(M,[2,150]),t(M,[2,151]),t(M,[2,152]),t(M,[2,153]),{9:120,20:H,21:W,23:q},{11:121,14:[1,122]},t(F,[2,8]),t(l,[2,20]),t(l,[2,26]),t(l,[2,27]),{21:[1,123]},t(Dt,[2,34],{30:124,22:I1}),t(_,[2,35]),{51:125,52:45,53:b,54:46,56:47,69:S,97:v,110:B,113:x,114:y,117:m,119:V,121:48,122:L,123:I,124:R},t(at,[2,48]),t(at,[2,49]),t(at,[2,50]),t(R1,[2,79],{82:126,71:[1,128],83:[1,127]}),{85:129,87:130,88:[1,131],89:[1,132],124:Ft,127:_t},t([53,69,71,83,97,110,113,114,117,119,122,123,124],[2,85]),t(_,[2,36]),t(_,[2,37]),t(_,[2,38]),t(_,[2,39]),t(_,[2,40]),{22:Tt,24:St,26:Ct,38:vt,39:135,43:Bt,53:xt,69:yt,84:mt,88:[1,137],89:[1,138],91:148,92:Vt,93:Lt,94:It,95:Rt,96:Nt,97:wt,98:Ot,99:136,113:Pt,117:Gt,119:Ut,122:Mt,123:Kt,124:jt},t(ct,h,{17:161}),t(_,[2,45]),t(_,[2,46]),t(H1,[2,53],{53:Yt}),{53:b,56:163,69:S,97:v,110:B,113:x,114:y,117:m,119:V,121:48,122:L,123:I,124:R},{110:[1,164],111:165,113:[1,166]},{53:b,56:167,69:S,97:v,110:B,113:x,114:y,117:m,119:V,121:48,122:L,123:I,124:R},{53:b,56:168,69:S,97:v,110:B,113:x,114:y,117:m,119:V,121:48,122:L,123:I,124:R},t(F,[2,108],{22:[1,169],104:[1,170]}),{88:[1,171]},t(F,[2,116],{128:173,22:[1,172],26:E1,53:b1,69:k1,97:g1,113:D1,114:F1,117:_1,119:T1,122:S1,123:C1,124:v1}),t(F,[2,118],{22:[1,174]}),t(K,[2,184]),t(K,[2,171]),t(K,[2,172]),t(K,[2,173]),t(K,[2,174]),t(K,[2,175]),t(K,[2,176]),t(K,[2,177]),t(K,[2,178]),t(K,[2,179]),t(K,[2,180]),t(K,[2,181]),{53:b,56:175,69:S,97:v,110:B,113:x,114:y,117:m,119:V,121:48,122:L,123:I,124:R},{41:176,76:f,88:O,89:P,90:177,124:d,125:A,126:E},{41:184,76:f,88:O,89:P,90:177,124:d,125:A,126:E},{41:186,59:[1,185],76:f,88:O,89:P,90:177,124:d,125:A,126:E},{41:187,76:f,88:O,89:P,90:177,124:d,125:A,126:E},{41:188,76:f,88:O,89:P,90:177,124:d,125:A,126:E},{41:189,76:f,88:O,89:P,90:177,124:d,125:A,126:E},{117:[1,190]},{41:191,76:f,88:O,89:P,90:177,124:d,125:A,126:E},{41:192,74:[1,193],76:f,88:O,89:P,90:177,124:d,125:A,126:E},{41:194,76:f,88:O,89:P,90:177,124:d,125:A,126:E},{41:195,76:f,88:O,89:P,90:177,124:d,125:A,126:E},{41:196,76:f,88:O,89:P,90:177,124:d,125:A,126:E},t(M,[2,183]),t(Xt,[2,3]),{8:197,15:gt},{15:[2,7]},t(l,[2,28]),t(Dt,[2,33]),t(H1,[2,51],{30:198,22:I1}),t(R1,[2,76],{22:[1,199]}),{22:[1,200]},{41:201,76:f,88:O,89:P,90:177,124:d,125:A,126:E},{86:[1,202],87:203,124:Ft,127:_t},t(B1,[2,81]),t(B1,[2,83]),t(B1,[2,84]),t(B1,[2,169]),t(B1,[2,170]),{9:205,20:H,21:W,22:Tt,23:q,24:St,26:Ct,38:vt,40:[1,204],43:Bt,53:xt,69:yt,84:mt,91:148,92:Vt,93:Lt,94:It,95:Rt,96:Nt,97:wt,98:Ot,99:206,113:Pt,117:Gt,119:Ut,122:Mt,123:Kt,124:jt},t(k,[2,102]),t(k,[2,104]),t(k,[2,105]),t(k,[2,158]),t(k,[2,159]),t(k,[2,160]),t(k,[2,161]),t(k,[2,162]),t(k,[2,163]),t(k,[2,164]),t(k,[2,165]),t(k,[2,166]),t(k,[2,167]),t(k,[2,168]),t(k,[2,91]),t(k,[2,92]),t(k,[2,93]),t(k,[2,94]),t(k,[2,95]),t(k,[2,96]),t(k,[2,97]),t(k,[2,98]),t(k,[2,99]),t(k,[2,100]),t(k,[2,101]),{18:18,19:19,20:G,21:D,22:w,23:z,32:24,33:25,34:26,35:27,36:28,37:29,38:c1,43:[1,207],44:31,45:h1,47:p1,49:L1,51:35,52:45,53:b,54:46,56:47,69:S,92:P1,93:G1,94:U1,95:M1,96:K1,97:v,110:B,113:x,114:y,117:m,119:V,121:48,122:L,123:I,124:R,129:j1,130:Y1,131:X1,132:z1},{22:I1,30:208},{22:[1,209],53:b,69:S,97:v,110:B,113:x,114:y,117:m,119:V,121:119,122:L,123:I,124:R},{22:[1,210]},{22:[1,211],114:[1,212]},t(zt,[2,129]),{22:[1,213],53:b,69:S,97:v,110:B,113:x,114:y,117:m,119:V,121:119,122:L,123:I,124:R},{22:[1,214],53:b,69:S,97:v,110:B,113:x,114:y,117:m,119:V,121:119,122:L,123:I,124:R},{88:[1,215]},t(F,[2,110],{22:[1,216]}),t(F,[2,112],{22:[1,217]}),{88:[1,218]},t(K,[2,185]),{88:[1,219],106:[1,220]},t(W1,[2,58],{121:119,53:b,69:S,97:v,110:B,113:x,114:y,117:m,119:V,122:L,123:I,124:R}),{42:[1,221],76:f,90:222,124:d,125:A,126:E},t(o1,[2,87]),t(o1,[2,89]),t(o1,[2,90]),t(o1,[2,154]),t(o1,[2,155]),t(o1,[2,156]),t(o1,[2,157]),{58:[1,223],76:f,90:222,124:d,125:A,126:E},{41:224,76:f,88:O,89:P,90:177,124:d,125:A,126:E},{60:[1,225],76:f,90:222,124:d,125:A,126:E},{62:[1,226],76:f,90:222,124:d,125:A,126:E},{64:[1,227],76:f,90:222,124:d,125:A,126:E},{66:[1,228],76:f,90:222,124:d,125:A,126:E},{69:[1,229]},{73:[1,230],76:f,90:222,124:d,125:A,126:E},{75:[1,231],76:f,90:222,124:d,125:A,126:E},{41:232,76:f,88:O,89:P,90:177,124:d,125:A,126:E},{42:[1,233],76:f,90:222,124:d,125:A,126:E},{76:f,78:[1,234],80:[1,235],90:222,124:d,125:A,126:E},{76:f,78:[1,237],80:[1,236],90:222,124:d,125:A,126:E},{9:238,20:H,21:W,23:q},t(H1,[2,52],{53:Yt}),t(R1,[2,78]),t(R1,[2,77]),{71:[1,239],76:f,90:222,124:d,125:A,126:E},t(R1,[2,80]),t(B1,[2,82]),{41:240,76:f,88:O,89:P,90:177,124:d,125:A,126:E},t(ct,h,{17:241}),t(k,[2,103]),t(_,[2,43]),{52:242,53:b,54:46,56:47,69:S,97:v,110:B,113:x,114:y,117:m,119:V,121:48,122:L,123:I,124:R},{22:Z,69:J,92:$,100:243,113:t1,115:244,116:245,117:e1,118:s1,119:u1,120:i1},{22:Z,69:J,92:$,100:254,112:[1,255],113:t1,115:244,116:245,117:e1,118:s1,119:u1,120:i1},{22:Z,69:J,92:$,100:256,112:[1,257],113:t1,115:244,116:245,117:e1,118:s1,119:u1,120:i1},{113:[1,258]},{22:Z,69:J,92:$,100:259,113:t1,115:244,116:245,117:e1,118:s1,119:u1,120:i1},{53:b,56:260,69:S,97:v,110:B,113:x,114:y,117:m,119:V,121:48,122:L,123:I,124:R},t(F,[2,109]),{88:[1,261]},{88:[1,262],106:[1,263]},t(F,[2,117]),t(F,[2,119],{22:[1,264]}),t(F,[2,120]),t(N,[2,59]),t(o1,[2,88]),t(N,[2,60]),{60:[1,265],76:f,90:222,124:d,125:A,126:E},t(N,[2,67]),t(N,[2,62]),t(N,[2,63]),t(N,[2,64]),{117:[1,266]},t(N,[2,66]),t(N,[2,68]),{75:[1,267],76:f,90:222,124:d,125:A,126:E},t(N,[2,70]),t(N,[2,71]),t(N,[2,73]),t(N,[2,72]),t(N,[2,74]),t(Xt,[2,4]),t([22,53,69,97,110,113,114,117,119,122,123,124],[2,86]),{42:[1,268],76:f,90:222,124:d,125:A,126:E},{18:18,19:19,20:G,21:D,22:w,23:z,32:24,33:25,34:26,35:27,36:28,37:29,38:c1,43:[1,269],44:31,45:h1,47:p1,49:L1,51:35,52:45,53:b,54:46,56:47,69:S,92:P1,93:G1,94:U1,95:M1,96:K1,97:v,110:B,113:x,114:y,117:m,119:V,121:48,122:L,123:I,124:R,129:j1,130:Y1,131:X1,132:z1},t(W1,[2,56]),t(F,[2,122],{114:x1}),t(Ht,[2,131],{116:271,22:Z,69:J,92:$,113:t1,117:e1,118:s1,119:u1,120:i1}),t(Q,[2,133]),t(Q,[2,135]),t(Q,[2,136]),t(Q,[2,137]),t(Q,[2,138]),t(Q,[2,139]),t(Q,[2,140]),t(Q,[2,141]),t(Q,[2,142]),t(F,[2,123],{114:x1}),{22:[1,272]},t(F,[2,124],{114:x1}),{22:[1,273]},t(zt,[2,130]),t(F,[2,106],{114:x1}),t(F,[2,107],{121:119,53:b,69:S,97:v,110:B,113:x,114:y,117:m,119:V,122:L,123:I,124:R}),t(F,[2,111]),t(F,[2,113],{22:[1,274]}),t(F,[2,114]),{106:[1,275]},{60:[1,276]},{71:[1,277]},{75:[1,278]},{9:279,20:H,21:W,23:q},t(_,[2,42]),{22:Z,69:J,92:$,113:t1,115:280,116:245,117:e1,118:s1,119:u1,120:i1},t(Q,[2,134]),{26:E1,53:b1,69:k1,97:g1,109:281,113:D1,114:F1,117:_1,119:T1,122:S1,123:C1,124:v1,128:94},{26:E1,53:b1,69:k1,97:g1,109:282,113:D1,114:F1,117:_1,119:T1,122:S1,123:C1,124:v1,128:94},{106:[1,283]},t(F,[2,121]),t(N,[2,61]),{41:284,76:f,88:O,89:P,90:177,124:d,125:A,126:E},t(N,[2,69]),t(ct,h,{17:285}),t(Ht,[2,132],{116:271,22:Z,69:J,92:$,113:t1,117:e1,118:s1,119:u1,120:i1}),t(F,[2,127],{128:173,22:[1,286],26:E1,53:b1,69:k1,97:g1,113:D1,114:F1,117:_1,119:T1,122:S1,123:C1,124:v1}),t(F,[2,128],{128:173,22:[1,287],26:E1,53:b1,69:k1,97:g1,113:D1,114:F1,117:_1,119:T1,122:S1,123:C1,124:v1}),t(F,[2,115]),{42:[1,288],76:f,90:222,124:d,125:A,126:E},{18:18,19:19,20:G,21:D,22:w,23:z,32:24,33:25,34:26,35:27,36:28,37:29,38:c1,43:[1,289],44:31,45:h1,47:p1,49:L1,51:35,52:45,53:b,54:46,56:47,69:S,92:P1,93:G1,94:U1,95:M1,96:K1,97:v,110:B,113:x,114:y,117:m,119:V,121:48,122:L,123:I,124:R,129:j1,130:Y1,131:X1,132:z1},{22:Z,69:J,92:$,100:290,113:t1,115:244,116:245,117:e1,118:s1,119:u1,120:i1},{22:Z,69:J,92:$,100:291,113:t1,115:244,116:245,117:e1,118:s1,119:u1,120:i1},t(N,[2,65]),t(_,[2,41]),t(F,[2,125],{114:x1}),t(F,[2,126],{114:x1})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],122:[2,7]},parseError:function(c,o){if(o.recoverable)this.trace(c);else{var p=new Error(c);throw p.hash=o,p}},parse:function(c){var o=this,p=[0],n=[],T=[null],e=[],N1=this.table,s="",j=0,Wt=0,je=2,qt=1,Ye=e.slice.call(arguments,1),C=Object.create(this.lexer),f1={yy:{}};for(var ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ht)&&(f1.yy[ht]=this.yy[ht]);C.setInput(c,f1.yy),f1.yy.lexer=C,f1.yy.parser=this,typeof C.yylloc>"u"&&(C.yylloc={});var pt=C.yylloc;e.push(pt);var Xe=C.options&&C.options.ranges;typeof f1.yy.parseError=="function"?this.parseError=f1.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ze(){var n1;return n1=n.pop()||C.lex()||qt,typeof n1!="number"&&(n1 instanceof Array&&(n=n1,n1=n.pop()),n1=o.symbols_[n1]||n1),n1}for(var U,d1,Y,ft,y1={},q1,r1,Qt,Q1;;){if(d1=p[p.length-1],this.defaultActions[d1]?Y=this.defaultActions[d1]:((U===null||typeof U>"u")&&(U=ze()),Y=N1[d1]&&N1[d1][U]),typeof Y>"u"||!Y.length||!Y[0]){var dt="";Q1=[];for(q1 in N1[d1])this.terminals_[q1]&&q1>je&&Q1.push("'"+this.terminals_[q1]+"'");C.showPosition?dt="Parse error on line "+(j+1)+`:
`+C.showPosition()+`
Expecting `+Q1.join(", ")+", got '"+(this.terminals_[U]||U)+"'":dt="Parse error on line "+(j+1)+": Unexpected "+(U==qt?"end of input":"'"+(this.terminals_[U]||U)+"'"),this.parseError(dt,{text:C.match,token:this.terminals_[U]||U,line:C.yylineno,loc:pt,expected:Q1})}if(Y[0]instanceof Array&&Y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+d1+", token: "+U);switch(Y[0]){case 1:p.push(U),T.push(C.yytext),e.push(C.yylloc),p.push(Y[1]),U=null,Wt=C.yyleng,s=C.yytext,j=C.yylineno,pt=C.yylloc;break;case 2:if(r1=this.productions_[Y[1]][1],y1.$=T[T.length-r1],y1._$={first_line:e[e.length-(r1||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(r1||1)].first_column,last_column:e[e.length-1].last_column},Xe&&(y1._$.range=[e[e.length-(r1||1)].range[0],e[e.length-1].range[1]]),ft=this.performAction.apply(y1,[s,Wt,j,f1.yy,Y[1],T,e].concat(Ye)),typeof ft<"u")return ft;r1&&(p=p.slice(0,-1*r1*2),T=T.slice(0,-1*r1),e=e.slice(0,-1*r1)),p.push(this.productions_[Y[1]][0]),T.push(y1.$),e.push(y1._$),Qt=N1[p[p.length-2]][p[p.length-1]],p.push(Qt);break;case 3:return!0}}return!0}},Ke=function(){var l1={EOF:1,parseError:function(o,p){if(this.yy.parser)this.yy.parser.parseError(o,p);else throw new Error(o)},setInput:function(c,o){return this.yy=o||this.yy||{},this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var o=c.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},unput:function(c){var o=c.length,p=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),p.length-1&&(this.yylineno-=p.length-1);var T=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:p?(p.length===n.length?this.yylloc.first_column:0)+n[n.length-p.length].length-p[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[T[0],T[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(c){this.unput(this.match.slice(c))},pastInput:function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var c=this.pastInput(),o=new Array(c.length+1).join("-");return c+this.upcomingInput()+`
`+o+"^"},test_match:function(c,o){var p,n,T;if(this.options.backtrack_lexer&&(T={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&&(T.yylloc.range=this.yylloc.range.slice(0))),n=c[0].match(/(?:\r\n?|\n).*/g),n&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+c[0].length},this.yytext+=c[0],this.match+=c[0],this.matches=c,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(c[0].length),this.matched+=c[0],p=this.performAction.call(this,this.yy,this,o,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),p)return p;if(this._backtrack){for(var e in T)this[e]=T[e];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var c,o,p,n;this._more||(this.yytext="",this.match="");for(var T=this._currentRules(),e=0;e<T.length;e++)if(p=this._input.match(this.rules[T[e]]),p&&(!o||p[0].length>o[0].length)){if(o=p,n=e,this.options.backtrack_lexer){if(c=this.test_match(p,T[e]),c!==!1)return c;if(this._backtrack){o=!1;continue}else return!1}else if(!this.options.flex)break}return o?(c=this.test_match(o,T[n]),c!==!1?c:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var o=this.next();return o||this.lex()},begin:function(o){this.conditionStack.push(o)},popState:function(){var o=this.conditionStack.length-1;return o>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(o){return o=this.conditionStack.length-1-Math.abs(o||0),o>=0?this.conditionStack[o]:"INITIAL"},pushState:function(o){this.begin(o)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(o,p,n,T){switch(n){case 0:return this.begin("open_directive"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:return this.begin("acc_title"),45;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),47;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:this.begin("callbackname");break;case 13:this.popState();break;case 14:this.popState(),this.begin("callbackargs");break;case 15:return 103;case 16:this.popState();break;case 17:return 104;case 18:return"MD_STR";case 19:this.popState();break;case 20:this.begin("md_string");break;case 21:return"STR";case 22:this.popState();break;case 23:this.pushState("string");break;case 24:return 92;case 25:return 110;case 26:return 93;case 27:return 112;case 28:return 94;case 29:return 95;case 30:return 105;case 31:this.begin("click");break;case 32:this.popState();break;case 33:return 96;case 34:return o.lex.firstGraph()&&this.begin("dir"),24;case 35:return o.lex.firstGraph()&&this.begin("dir"),24;case 36:return o.lex.firstGraph()&&this.begin("dir"),24;case 37:return 38;case 38:return 43;case 39:return 106;case 40:return 106;case 41:return 106;case 42:return 106;case 43:return this.popState(),25;case 44:return this.popState(),26;case 45:return this.popState(),26;case 46:return this.popState(),26;case 47:return this.popState(),26;case 48:return this.popState(),26;case 49:return this.popState(),26;case 50:return this.popState(),26;case 51:return this.popState(),26;case 52:return this.popState(),26;case 53:return this.popState(),26;case 54:return 129;case 55:return 130;case 56:return 131;case 57:return 132;case 58:return 113;case 59:return 119;case 60:return 55;case 61:return 69;case 62:return 53;case 63:return 20;case 64:return 114;case 65:return 123;case 66:return this.popState(),86;case 67:return this.pushState("edgeText"),84;case 68:return 127;case 69:return this.popState(),86;case 70:return this.pushState("thickEdgeText"),84;case 71:return 127;case 72:return this.popState(),86;case 73:return this.pushState("dottedEdgeText"),84;case 74:return 127;case 75:return 86;case 76:return this.popState(),62;case 77:return"TEXT";case 78:return this.pushState("ellipseText"),61;case 79:return this.popState(),64;case 80:return this.pushState("text"),63;case 81:return this.popState(),66;case 82:return this.pushState("text"),65;case 83:return 67;case 84:return this.pushState("text"),76;case 85:return this.popState(),73;case 86:return this.pushState("text"),72;case 87:return this.popState(),58;case 88:return this.pushState("text"),57;case 89:return this.popState(),78;case 90:return this.popState(),80;case 91:return 125;case 92:return this.pushState("trapText"),77;case 93:return this.pushState("trapText"),79;case 94:return 126;case 95:return 76;case 96:return 98;case 97:return"SEP";case 98:return 97;case 99:return 123;case 100:return 119;case 101:return 53;case 102:return 117;case 103:return 122;case 104:return 124;case 105:return this.popState(),71;case 106:return this.pushState("text"),71;case 107:return this.popState(),60;case 108:return this.pushState("text"),59;case 109:return this.popState(),42;case 110:return this.pushState("text"),40;case 111:return this.popState(),75;case 112:return this.pushState("text"),74;case 113:return"TEXT";case 114:return"QUOTE";case 115:return 21;case 116:return 22;case 117:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|(?!\)+))/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{close_directive:{rules:[20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},arg_directive:{rules:[3,4,20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},type_directive:{rules:[2,3,20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},open_directive:{rules:[1,20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},callbackargs:{rules:[16,17,20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},callbackname:{rules:[13,14,15,20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},href:{rules:[20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},click:{rules:[20,23,32,33,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},dottedEdgeText:{rules:[20,23,72,74,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},thickEdgeText:{rules:[20,23,69,71,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},edgeText:{rules:[20,23,66,68,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},trapText:{rules:[20,23,75,78,80,82,86,88,89,90,91,92,93,106,108,110,112],inclusive:!1},ellipseText:{rules:[20,23,75,76,77,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},text:{rules:[20,23,75,78,79,80,81,82,85,86,87,88,92,93,105,106,107,108,109,110,111,112,113],inclusive:!1},vertex:{rules:[20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},dir:{rules:[20,23,43,44,45,46,47,48,49,50,51,52,53,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},acc_descr_multiline:{rules:[10,11,20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},acc_descr:{rules:[8,20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},acc_title:{rules:[6,20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},md_string:{rules:[18,19,20,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},string:{rules:[20,21,22,23,75,78,80,82,86,88,92,93,106,108,110,112],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,20,23,24,25,26,27,28,29,30,31,34,35,36,37,38,39,40,41,42,54,55,56,57,58,59,60,61,62,63,64,65,66,67,69,70,72,73,75,78,80,82,83,84,86,88,92,93,94,95,96,97,98,99,100,101,102,103,104,106,108,110,112,114,115,116,117],inclusive:!0}}};return l1}();ot.lexer=Ke;function lt(){this.yy={}}return lt.prototype=ot,ot.Parser=lt,new lt}();At.parser=At;var r2=At,He="flowchart-",oe=0,bt=$1(),g={},A1=[],V1={},a1=[],et={},st={},tt=0,Et=!0,X,ut,it=[],rt=t=>$t.sanitizeText(t,bt),le=function(t,u,i){ce.parseDirective(this,t,u,i)},O1=function(t){let u=Object.keys(g);for(let i of u)if(g[i].id===t)return g[i].domId;return t},he=function(t,u,i,r,a,l,h={}){let G,D=t;D!==void 0&&D.trim().length!==0&&(g[D]===void 0&&(g[D]={id:D,labelType:"text",domId:He+D+"-"+oe,styles:[],classes:[]}),oe++,u!==void 0?(bt=$1(),G=rt(u.text.trim()),g[D].labelType=u.type,G[0]==='"'&&G[G.length-1]==='"'&&(G=G.substring(1,G.length-1)),g[D].text=G):g[D].text===void 0&&(g[D].text=t),i!==void 0&&(g[D].type=i),r?.forEach(function(w){g[D].styles.push(w)}),a?.forEach(function(w){g[D].classes.push(w)}),l!==void 0&&(g[D].dir=l),g[D].props===void 0?g[D].props=h:h!==void 0&&Object.assign(g[D].props,h))},pe=function(t,u,i){let l={start:t,end:u,type:void 0,text:"",labelType:"text"};Z1.info("abc78 Got edge...",l);let h=i.text;h!==void 0&&(l.text=rt(h.text.trim()),l.text[0]==='"'&&l.text[l.text.length-1]==='"'&&(l.text=l.text.substring(1,l.text.length-1)),l.labelType=h.type),i!==void 0&&(l.type=i.type,l.stroke=i.stroke,l.length=i.length),A1.push(l)},fe=function(t,u,i){Z1.info("addLink (abc78)",t,u,i);let r,a;for(r=0;r<t.length;r++)for(a=0;a<u.length;a++)pe(t[r],u[a],i)},de=function(t,u){t.forEach(function(i){i==="default"?A1.defaultInterpolate=u:A1[i].interpolate=u})},Ae=function(t,u){t.forEach(function(i){i==="default"?A1.defaultStyle=u:(J1.isSubstringInArray("fill",u)===-1&&u.push("fill:none"),A1[i].style=u)})},Ee=function(t,u){t.split(",").forEach(function(i){V1[i]===void 0&&(V1[i]={id:i,styles:[],textStyles:[]}),u?.forEach(function(r){if(r.match("color")){let a=r.replace("fill","bgFill").replace("color","fill");V1[i].textStyles.push(a)}V1[i].styles.push(r)})})},be=function(t){X=t,X.match(/.*</)&&(X="RL"),X.match(/.*\^/)&&(X="BT"),X.match(/.*>/)&&(X="LR"),X.match(/.*v/)&&(X="TB"),X==="TD"&&(X="TB")},nt=function(t,u){t.split(",").forEach(function(i){let r=i;g[r]!==void 0&&g[r].classes.push(u),et[r]!==void 0&&et[r].classes.push(u)})},We=function(t,u){t.split(",").forEach(function(i){u!==void 0&&(st[ut==="gen-1"?O1(i):i]=rt(u))})},qe=function(t,u,i){let r=O1(t);if($1().securityLevel!=="loose"||u===void 0)return;let a=[];if(typeof i=="string"){a=i.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let l=0;l<a.length;l++){let h=a[l].trim();h.charAt(0)==='"'&&h.charAt(h.length-1)==='"'&&(h=h.substr(1,h.length-2)),a[l]=h}}a.length===0&&a.push(t),g[t]!==void 0&&(g[t].haveCallback=!0,it.push(function(){let l=document.querySelector(`[id="${r}"]`);l!==null&&l.addEventListener("click",function(){J1.runFunc(u,...a)},!1)}))},ke=function(t,u,i){t.split(",").forEach(function(r){g[r]!==void 0&&(g[r].link=J1.formatUrl(u,bt),g[r].linkTarget=i)}),nt(t,"clickable")},ge=function(t){if(st.hasOwnProperty(t))return st[t]},De=function(t,u,i){t.split(",").forEach(function(r){qe(r,u,i)}),nt(t,"clickable")},Fe=function(t){it.forEach(function(u){u(t)})},_e=function(){return X.trim()},Te=function(){return g},Se=function(){return A1},Ce=function(){return V1},ve=function(t){let u=m1(".mermaidTooltip");(u._groups||u)[0][0]===null&&(u=m1("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),m1(t).select("svg").selectAll("g.node").on("mouseover",function(){let a=m1(this);if(a.attr("title")===null)return;let h=this.getBoundingClientRect();u.transition().duration(200).style("opacity",".9"),u.text(a.attr("title")).style("left",window.scrollX+h.left+(h.right-h.left)/2+"px").style("top",window.scrollY+h.top-14+document.body.scrollTop+"px"),u.html(u.html().replace(/&lt;br\/&gt;/g,"<br/>")),a.classed("hover",!0)}).on("mouseout",function(){u.transition().duration(500).style("opacity",0),m1(this).classed("hover",!1)})};it.push(ve);var Be=function(t="gen-1"){g={},V1={},A1=[],it=[ve],a1=[],et={},tt=0,st={},Et=!0,ut=t,ee()},xe=t=>{ut=t||"gen-2"},ye=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},me=function(t,u,i){let r=t.text.trim(),a=i.text;t===i&&i.text.match(/\s/)&&(r=void 0);function l(z){let c1={boolean:{},number:{},string:{}},h1=[],p1;return{nodeList:z.filter(function(b){let S=typeof b;return b.stmt&&b.stmt==="dir"?(p1=b.value,!1):b.trim()===""?!1:S in c1?c1[S].hasOwnProperty(b)?!1:c1[S][b]=!0:h1.includes(b)?!1:h1.push(b)}),dir:p1}}let h=[],{nodeList:G,dir:D}=l(h.concat.apply(h,u));if(h=G,ut==="gen-1")for(let z=0;z<h.length;z++)h[z]=O1(h[z]);r=r||"subGraph"+tt,a=a||"",a=rt(a),tt=tt+1;let w={id:r,nodes:h,title:a.trim(),classes:[],dir:D,labelType:i.type};return Z1.info("Adding",w.id,w.nodes,w.dir),w.nodes=Ge(w,a1).nodes,a1.push(w),et[r]=w,r},Qe=function(t){for(let[u,i]of a1.entries())if(i.id===t)return u;return-1},w1=-1,Ve=[],Le=function(t,u){let i=a1[u].nodes;if(w1=w1+1,w1>2e3)return;if(Ve[w1]=u,a1[u].id===t)return{result:!0,count:0};let r=0,a=1;for(;r<i.length;){let l=Qe(i[r]);if(l>=0){let h=Le(t,l);if(h.result)return{result:!0,count:a+h.count};a=a+h.count}r=r+1}return{result:!1,count:a}},Ie=function(t){return Ve[t]},Re=function(){w1=-1,a1.length>0&&Le("none",a1.length-1)},Ne=function(){return a1},we=()=>Et?(Et=!1,!0):!1,Ze=t=>{let u=t.trim(),i="arrow_open";switch(u[0]){case"<":i="arrow_point",u=u.slice(1);break;case"x":i="arrow_cross",u=u.slice(1);break;case"o":i="arrow_circle",u=u.slice(1);break}let r="normal";return u.includes("=")&&(r="thick"),u.includes(".")&&(r="dotted"),{type:i,stroke:r}},Je=(t,u)=>{let i=u.length,r=0;for(let a=0;a<i;++a)u[a]===t&&++r;return r},$e=t=>{let u=t.trim(),i=u.slice(0,-1),r="arrow_open";switch(u.slice(-1)){case"x":r="arrow_cross",u[0]==="x"&&(r="double_"+r,i=i.slice(1));break;case">":r="arrow_point",u[0]==="<"&&(r="double_"+r,i=i.slice(1));break;case"o":r="arrow_circle",u[0]==="o"&&(r="double_"+r,i=i.slice(1));break}let a="normal",l=i.length-1;i[0]==="="&&(a="thick"),i[0]==="~"&&(a="invisible");let h=Je(".",i);return h&&(a="dotted",l=h),{type:r,stroke:a,length:l}},Oe=(t,u)=>{let i=$e(t),r;if(u){if(r=Ze(u),r.stroke!==i.stroke)return{type:"INVALID",stroke:"INVALID"};if(r.type==="arrow_open")r.type=i.type;else{if(r.type!==i.type)return{type:"INVALID",stroke:"INVALID"};r.type="double_"+r.type}return r.type==="double_arrow"&&(r.type="double_arrow_point"),r.length=i.length,r}return i},Pe=(t,u)=>{let i=!1;return t.forEach(r=>{r.nodes.indexOf(u)>=0&&(i=!0)}),i},Ge=(t,u)=>{let i=[];return t.nodes.forEach((r,a)=>{Pe(u,r)||i.push(t.nodes[a])}),{nodes:i}},Ue={firstGraph:we},t2={parseDirective:le,defaultConfig:()=>te.flowchart,setAccTitle:se,getAccTitle:ue,getAccDescription:re,setAccDescription:ie,addVertex:he,lookUpDomId:O1,addLink:fe,updateLinkInterpolate:de,updateLink:Ae,addClass:Ee,setDirection:be,setClass:nt,setTooltip:We,getTooltip:ge,setClickEvent:De,setLink:ke,bindFunctions:Fe,getDirection:_e,getVertices:Te,getEdges:Se,getClasses:Ce,clear:Be,setGen:xe,defaultStyle:ye,addSubGraph:me,getDepthFirstPos:Ie,indexNodes:Re,getSubGraphs:Ne,destructLink:Oe,lex:Ue,exists:Pe,makeUniq:Ge,setDiagramTitle:ne,getDiagramTitle:ae},n2=Object.freeze(Object.defineProperty({__proto__:null,addClass:Ee,addLink:fe,addSingleLink:pe,addSubGraph:me,addVertex:he,bindFunctions:Fe,clear:Be,default:t2,defaultStyle:ye,destructLink:Oe,firstGraph:we,getClasses:Ce,getDepthFirstPos:Ie,getDirection:_e,getEdges:Se,getSubGraphs:Ne,getTooltip:ge,getVertices:Te,indexNodes:Re,lex:Ue,lookUpDomId:O1,parseDirective:le,setClass:nt,setClickEvent:De,setDirection:be,setGen:xe,setLink:ke,updateLink:Ae,updateLinkInterpolate:de},Symbol.toStringTag,{value:"Module"}));function o2(t,u){return!!t.children(u).length}function l2(t){return kt(t.v)+":"+kt(t.w)+":"+kt(t.name)}var e2=/:/g;function kt(t){return t?String(t).replace(e2,"\\:"):""}function Me(t,u){u&&t.attr("style",u)}function h2(t,u,i){u&&t.attr("class",u).attr("class",i+" "+t.attr("class"))}function p2(t,u){var i=u.graph();if(Jt(i)){var r=i.transition;if(Zt(r))return r(t)}return t}function f2(t,u){var i=t.append("foreignObject").attr("width","100000"),r=i.append("xhtml:div");r.attr("xmlns","http://www.w3.org/1999/xhtml");var a=u.label;switch(typeof a){case"function":r.insert(a);break;case"object":r.insert(function(){return a});break;default:r.html(a)}Me(r,u.labelStyle),r.style("display","inline-block"),r.style("white-space","nowrap");var l=r.node().getBoundingClientRect();return i.attr("width",l.width).attr("height",l.height),i}export{r2 as a,t2 as b,n2 as c,o2 as d,l2 as e,Me as f,h2 as g,p2 as h,f2 as i};
//# sourceMappingURL=chunk-ZGFNTTPV.min.js.map
