Current section

Files

Jump to
livebook static assets chunk-2PAX6U2T.js
Raw

static/assets/chunk-2PAX6U2T.js

import{m as Me}from"./chunk-NQ4DUWMN.js";import{H as et,J as fe,N as L,S as tt,T as st,U as it,V as rt,W as at,X as ut,Y as nt,Z as F,h as a,ha as U,j as $e}from"./chunk-ZOEWSKT6.js";var Ge=function(){var e=a(function(O,u,l,A){for(l=l||{},A=O.length;A--;l[O[A]]=u);return l},"o"),i=[1,17],n=[1,18],h=[1,19],c=[1,39],f=[1,40],b=[1,25],B=[1,23],S=[1,24],N=[1,31],Ce=[1,32],Ee=[1,33],ge=[1,34],me=[1,35],Te=[1,36],ye=[1,26],Fe=[1,27],De=[1,28],_e=[1,29],d=[1,43],Be=[1,30],k=[1,42],C=[1,44],E=[1,41],T=[1,45],Se=[1,9],o=[1,8,9],j=[1,56],X=[1,57],W=[1,58],H=[1,59],q=[1,60],ve=[1,61],Ne=[1,62],J=[1,8,9,40],Qe=[1,74],M=[1,8,9,12,13,22,38,40,43,60,61,62,63,64,65,66,71,73],Z=[1,8,9,12,13,17,20,22,38,40,43,47,60,61,62,63,64,65,66,71,73,75,81,96,98,99],$=[13,75,81,96,98,99],K=[13,65,66,75,81,96,98,99],je=[13,60,61,62,63,64,75,81,96,98,99],Le=[1,94],ee=[1,111],te=[1,109],se=[1,103],ie=[1,104],re=[1,105],ae=[1,106],ue=[1,107],ne=[1,108],le=[1,110],xe=[1,8,9,38,40,43],ce=[1,8,9,22],Xe=[1,8,9,79],v=[1,8,9,22,74,75,79,81,82,83,84,85,86],Ie={trace:a(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,DOT:17,className:18,classLiteralName:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,direction:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,namespaceIdentifier:37,STRUCT_START:38,classStatements:39,STRUCT_STOP:40,NAMESPACE:41,classIdentifier:42,STYLE_SEPARATOR:43,members:44,CLASS:45,ANNOTATION_START:46,ANNOTATION_END:47,MEMBER:48,SEPARATOR:49,relation:50,NOTE_FOR:51,noteText:52,NOTE:53,direction_tb:54,direction_bt:55,direction_rl:56,direction_lr:57,relationType:58,lineType:59,AGGREGATION:60,EXTENSION:61,COMPOSITION:62,DEPENDENCY:63,LOLLIPOP:64,LINE:65,DOTTED_LINE:66,CALLBACK:67,LINK:68,LINK_TARGET:69,CLICK:70,CALLBACK_NAME:71,CALLBACK_ARGS:72,HREF:73,STYLE:74,ALPHA:75,stylesOpt:76,CSSCLASS:77,style:78,COMMA:79,styleComponent:80,NUM:81,COLON:82,UNIT:83,SPACE:84,BRKT:85,PCT:86,commentToken:87,textToken:88,graphCodeTokens:89,textNoTagsToken:90,TAGSTART:91,TAGEND:92,"==":93,"--":94,DEFAULT:95,MINUS:96,keywords:97,UNICODE_TEXT:98,BQUOTE_STR:99,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",17:"DOT",20:"GENERICTYPE",22:"LABEL",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",38:"STRUCT_START",40:"STRUCT_STOP",41:"NAMESPACE",43:"STYLE_SEPARATOR",45:"CLASS",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"MEMBER",49:"SEPARATOR",51:"NOTE_FOR",53:"NOTE",54:"direction_tb",55:"direction_bt",56:"direction_rl",57:"direction_lr",60:"AGGREGATION",61:"EXTENSION",62:"COMPOSITION",63:"DEPENDENCY",64:"LOLLIPOP",65:"LINE",66:"DOTTED_LINE",67:"CALLBACK",68:"LINK",69:"LINK_TARGET",70:"CLICK",71:"CALLBACK_NAME",72:"CALLBACK_ARGS",73:"HREF",74:"STYLE",75:"ALPHA",77:"CSSCLASS",79:"COMMA",81:"NUM",82:"COLON",83:"UNIT",84:"SPACE",85:"BRKT",86:"PCT",89:"graphCodeTokens",91:"TAGSTART",92:"TAGEND",93:"==",94:"--",95:"DEFAULT",96:"MINUS",97:"keywords",98:"UNICODE_TEXT",99:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,3],[15,2],[18,1],[18,3],[18,1],[18,2],[18,2],[18,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[37,2],[39,1],[39,2],[39,3],[24,1],[24,3],[24,4],[24,6],[42,2],[42,3],[26,4],[44,1],[44,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,1],[31,1],[31,1],[31,1],[50,3],[50,2],[50,2],[50,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[76,1],[76,3],[78,1],[78,2],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[87,1],[87,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[90,1],[90,1],[90,1],[90,1],[16,1],[16,1],[16,1],[16,1],[19,1],[52,1]],performAction:a(function(u,l,A,r,p,t,Y){var s=t.length-1;switch(p){case 8:this.$=t[s-1];break;case 9:case 12:case 14:this.$=t[s];break;case 10:case 13:this.$=t[s-2]+"."+t[s];break;case 11:case 15:this.$=t[s-1]+t[s];break;case 16:case 17:this.$=t[s-1]+"~"+t[s]+"~";break;case 18:r.addRelation(t[s]);break;case 19:t[s-1].title=r.cleanupLabel(t[s]),r.addRelation(t[s-1]);break;case 29:this.$=t[s].trim(),r.setAccTitle(this.$);break;case 30:case 31:this.$=t[s].trim(),r.setAccDescription(this.$);break;case 32:r.addClassesToNamespace(t[s-3],t[s-1]);break;case 33:r.addClassesToNamespace(t[s-4],t[s-1]);break;case 34:this.$=t[s],r.addNamespace(t[s]);break;case 35:this.$=[t[s]];break;case 36:this.$=[t[s-1]];break;case 37:t[s].unshift(t[s-2]),this.$=t[s];break;case 39:r.setCssClass(t[s-2],t[s]);break;case 40:r.addMembers(t[s-3],t[s-1]);break;case 41:r.setCssClass(t[s-5],t[s-3]),r.addMembers(t[s-5],t[s-1]);break;case 42:this.$=t[s],r.addClass(t[s]);break;case 43:this.$=t[s-1],r.addClass(t[s-1]),r.setClassLabel(t[s-1],t[s]);break;case 44:r.addAnnotation(t[s],t[s-2]);break;case 45:this.$=[t[s]];break;case 46:t[s].push(t[s-1]),this.$=t[s];break;case 47:break;case 48:r.addMember(t[s-1],r.cleanupLabel(t[s]));break;case 49:break;case 50:break;case 51:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 52:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 53:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 54:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 55:r.addNote(t[s],t[s-1]);break;case 56:r.addNote(t[s]);break;case 57:r.setDirection("TB");break;case 58:r.setDirection("BT");break;case 59:r.setDirection("RL");break;case 60:r.setDirection("LR");break;case 61:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 62:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 63:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 64:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 65:this.$=r.relationType.AGGREGATION;break;case 66:this.$=r.relationType.EXTENSION;break;case 67:this.$=r.relationType.COMPOSITION;break;case 68:this.$=r.relationType.DEPENDENCY;break;case 69:this.$=r.relationType.LOLLIPOP;break;case 70:this.$=r.lineType.LINE;break;case 71:this.$=r.lineType.DOTTED_LINE;break;case 72:case 78:this.$=t[s-2],r.setClickEvent(t[s-1],t[s]);break;case 73:case 79:this.$=t[s-3],r.setClickEvent(t[s-2],t[s-1]),r.setTooltip(t[s-2],t[s]);break;case 74:this.$=t[s-2],r.setLink(t[s-1],t[s]);break;case 75:this.$=t[s-3],r.setLink(t[s-2],t[s-1],t[s]);break;case 76:this.$=t[s-3],r.setLink(t[s-2],t[s-1]),r.setTooltip(t[s-2],t[s]);break;case 77:this.$=t[s-4],r.setLink(t[s-3],t[s-2],t[s]),r.setTooltip(t[s-3],t[s-1]);break;case 80:this.$=t[s-3],r.setClickEvent(t[s-2],t[s-1],t[s]);break;case 81:this.$=t[s-4],r.setClickEvent(t[s-3],t[s-2],t[s-1]),r.setTooltip(t[s-3],t[s]);break;case 82:this.$=t[s-3],r.setLink(t[s-2],t[s]);break;case 83:this.$=t[s-4],r.setLink(t[s-3],t[s-1],t[s]);break;case 84:this.$=t[s-4],r.setLink(t[s-3],t[s-1]),r.setTooltip(t[s-3],t[s]);break;case 85:this.$=t[s-5],r.setLink(t[s-4],t[s-2],t[s]),r.setTooltip(t[s-4],t[s-1]);break;case 86:this.$=t[s-2],r.setCssStyle(t[s-1],t[s]);break;case 87:r.setCssClass(t[s-1],t[s]);break;case 88:this.$=[t[s]];break;case 89:t[s-2].push(t[s]),this.$=t[s-2];break;case 91:this.$=t[s-1]+t[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:37,18:20,19:38,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:i,34:n,36:h,37:21,41:c,42:22,45:f,46:b,48:B,49:S,51:N,53:Ce,54:Ee,55:ge,56:me,57:Te,67:ye,68:Fe,70:De,74:_e,75:d,77:Be,81:k,96:C,98:E,99:T},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(Se,[2,5],{8:[1,46]}),{8:[1,47]},e(o,[2,18],{22:[1,48]}),e(o,[2,20]),e(o,[2,21]),e(o,[2,22]),e(o,[2,23]),e(o,[2,24]),e(o,[2,25]),e(o,[2,26]),e(o,[2,27]),e(o,[2,28]),{33:[1,49]},{35:[1,50]},e(o,[2,31]),e(o,[2,47],{50:51,58:54,59:55,13:[1,52],22:[1,53],60:j,61:X,62:W,63:H,64:q,65:ve,66:Ne}),{38:[1,63]},e(J,[2,38],{38:[1,65],43:[1,64]}),e(o,[2,49]),e(o,[2,50]),{16:66,75:d,81:k,96:C,98:E},{16:37,18:67,19:38,75:d,81:k,96:C,98:E,99:T},{16:37,18:68,19:38,75:d,81:k,96:C,98:E,99:T},{16:37,18:69,19:38,75:d,81:k,96:C,98:E,99:T},{75:[1,70]},{13:[1,71]},{16:37,18:72,19:38,75:d,81:k,96:C,98:E,99:T},{13:Qe,52:73},e(o,[2,57]),e(o,[2,58]),e(o,[2,59]),e(o,[2,60]),e(M,[2,12],{16:37,19:38,18:76,17:[1,75],20:[1,77],75:d,81:k,96:C,98:E,99:T}),e(M,[2,14],{20:[1,78]}),{15:79,16:80,75:d,81:k,96:C,98:E},{16:37,18:81,19:38,75:d,81:k,96:C,98:E,99:T},e(Z,[2,114]),e(Z,[2,115]),e(Z,[2,116]),e(Z,[2,117]),e([1,8,9,12,13,20,22,38,40,43,60,61,62,63,64,65,66,71,73],[2,118]),e(Se,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,18:20,37:21,42:22,16:37,19:38,5:82,32:i,34:n,36:h,41:c,45:f,46:b,48:B,49:S,51:N,53:Ce,54:Ee,55:ge,56:me,57:Te,67:ye,68:Fe,70:De,74:_e,75:d,77:Be,81:k,96:C,98:E,99:T}),{5:83,10:5,16:37,18:20,19:38,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:i,34:n,36:h,37:21,41:c,42:22,45:f,46:b,48:B,49:S,51:N,53:Ce,54:Ee,55:ge,56:me,57:Te,67:ye,68:Fe,70:De,74:_e,75:d,77:Be,81:k,96:C,98:E,99:T},e(o,[2,19]),e(o,[2,29]),e(o,[2,30]),{13:[1,85],16:37,18:84,19:38,75:d,81:k,96:C,98:E,99:T},{50:86,58:54,59:55,60:j,61:X,62:W,63:H,64:q,65:ve,66:Ne},e(o,[2,48]),{59:87,65:ve,66:Ne},e($,[2,64],{58:88,60:j,61:X,62:W,63:H,64:q}),e(K,[2,65]),e(K,[2,66]),e(K,[2,67]),e(K,[2,68]),e(K,[2,69]),e(je,[2,70]),e(je,[2,71]),{8:[1,90],24:91,39:89,42:22,45:f},{16:92,75:d,81:k,96:C,98:E},{44:93,48:Le},{47:[1,95]},{13:[1,96]},{13:[1,97]},{71:[1,98],73:[1,99]},{22:ee,74:te,75:se,76:100,78:101,80:102,81:ie,82:re,83:ae,84:ue,85:ne,86:le},{75:[1,112]},{13:Qe,52:113},e(o,[2,56]),e(o,[2,119]),{16:37,18:114,19:38,75:d,81:k,96:C,98:E,99:T},e(M,[2,15]),e(M,[2,16]),e(M,[2,17]),{38:[2,34]},{15:116,16:80,17:[1,115],38:[2,9],75:d,81:k,96:C,98:E},e(xe,[2,42],{11:117,12:[1,118]}),e(Se,[2,7]),{9:[1,119]},e(ce,[2,51]),{16:37,18:120,19:38,75:d,81:k,96:C,98:E,99:T},{13:[1,122],16:37,18:121,19:38,75:d,81:k,96:C,98:E,99:T},e($,[2,63],{58:123,60:j,61:X,62:W,63:H,64:q}),e($,[2,62]),{40:[1,124]},{24:91,39:125,42:22,45:f},{8:[1,126],40:[2,35]},e(J,[2,39],{38:[1,127]}),{40:[1,128]},{40:[2,45],44:129,48:Le},{16:37,18:130,19:38,75:d,81:k,96:C,98:E,99:T},e(o,[2,72],{13:[1,131]}),e(o,[2,74],{13:[1,133],69:[1,132]}),e(o,[2,78],{13:[1,134],72:[1,135]}),{13:[1,136]},e(o,[2,86],{79:[1,137]}),e(Xe,[2,88],{80:138,22:ee,74:te,75:se,81:ie,82:re,83:ae,84:ue,85:ne,86:le}),e(v,[2,90]),e(v,[2,92]),e(v,[2,93]),e(v,[2,94]),e(v,[2,95]),e(v,[2,96]),e(v,[2,97]),e(v,[2,98]),e(v,[2,99]),e(v,[2,100]),e(o,[2,87]),e(o,[2,55]),e(M,[2,13]),{15:139,16:80,75:d,81:k,96:C,98:E},{38:[2,11]},e(xe,[2,43]),{13:[1,140]},{1:[2,4]},e(ce,[2,53]),e(ce,[2,52]),{16:37,18:141,19:38,75:d,81:k,96:C,98:E,99:T},e($,[2,61]),e(o,[2,32]),{40:[1,142]},{24:91,39:143,40:[2,36],42:22,45:f},{44:144,48:Le},e(J,[2,40]),{40:[2,46]},e(o,[2,44]),e(o,[2,73]),e(o,[2,75]),e(o,[2,76],{69:[1,145]}),e(o,[2,79]),e(o,[2,80],{13:[1,146]}),e(o,[2,82],{13:[1,148],69:[1,147]}),{22:ee,74:te,75:se,78:149,80:102,81:ie,82:re,83:ae,84:ue,85:ne,86:le},e(v,[2,91]),{38:[2,10]},{14:[1,150]},e(ce,[2,54]),e(o,[2,33]),{40:[2,37]},{40:[1,151]},e(o,[2,77]),e(o,[2,81]),e(o,[2,83]),e(o,[2,84],{69:[1,152]}),e(Xe,[2,89],{80:138,22:ee,74:te,75:se,81:ie,82:re,83:ae,84:ue,85:ne,86:le}),e(xe,[2,8]),e(J,[2,41]),e(o,[2,85])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],79:[2,34],116:[2,11],119:[2,4],129:[2,46],139:[2,10],143:[2,37]},parseError:a(function(u,l){if(l.recoverable)this.trace(u);else{var A=new Error(u);throw A.hash=l,A}},"parseError"),parse:a(function(u){var l=this,A=[0],r=[],p=[null],t=[],Y=this.table,s="",he=0,We=0,He=0,bt=2,qe=1,dt=t.slice.call(arguments,1),m=Object.create(this.lexer),R={yy:{}};for(var Oe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Oe)&&(R.yy[Oe]=this.yy[Oe]);m.setInput(u,R.yy),R.yy.lexer=m,R.yy.parser=this,typeof m.yylloc=="undefined"&&(m.yylloc={});var Re=m.yylloc;t.push(Re);var kt=m.options&&m.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ct(D){A.length=A.length-2*D,p.length=p.length-D,t.length=t.length-D}a(Ct,"popStack");function Je(){var D;return D=r.pop()||m.lex()||qe,typeof D!="number"&&(D instanceof Array&&(r=D,D=r.pop()),D=l.symbols_[D]||D),D}a(Je,"lex");for(var y,we,w,_,jt,Ve,G={},Ae,x,Ze,pe;;){if(w=A[A.length-1],this.defaultActions[w]?_=this.defaultActions[w]:((y===null||typeof y=="undefined")&&(y=Je()),_=Y[w]&&Y[w][y]),typeof _=="undefined"||!_.length||!_[0]){var Pe="";pe=[];for(Ae in Y[w])this.terminals_[Ae]&&Ae>bt&&pe.push("'"+this.terminals_[Ae]+"'");m.showPosition?Pe="Parse error on line "+(he+1)+`:
`+m.showPosition()+`
Expecting `+pe.join(", ")+", got '"+(this.terminals_[y]||y)+"'":Pe="Parse error on line "+(he+1)+": Unexpected "+(y==qe?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(Pe,{text:m.match,token:this.terminals_[y]||y,line:m.yylineno,loc:Re,expected:pe})}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+y);switch(_[0]){case 1:A.push(y),p.push(m.yytext),t.push(m.yylloc),A.push(_[1]),y=null,we?(y=we,we=null):(We=m.yyleng,s=m.yytext,he=m.yylineno,Re=m.yylloc,He>0&&He--);break;case 2:if(x=this.productions_[_[1]][1],G.$=p[p.length-x],G._$={first_line:t[t.length-(x||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(x||1)].first_column,last_column:t[t.length-1].last_column},kt&&(G._$.range=[t[t.length-(x||1)].range[0],t[t.length-1].range[1]]),Ve=this.performAction.apply(G,[s,We,he,R.yy,_[1],p,t].concat(dt)),typeof Ve!="undefined")return Ve;x&&(A=A.slice(0,-1*x*2),p=p.slice(0,-1*x),t=t.slice(0,-1*x)),A.push(this.productions_[_[1]][0]),p.push(G.$),t.push(G._$),Ze=Y[A[A.length-2]][A[A.length-1]],A.push(Ze);break;case 3:return!0}}return!0},"parse")},ft=function(){var O={EOF:1,parseError:a(function(l,A){if(this.yy.parser)this.yy.parser.parseError(l,A);else throw new Error(l)},"parseError"),setInput:a(function(u,l){return this.yy=l||this.yy||{},this._input=u,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},"setInput"),input:a(function(){var u=this._input[0];this.yytext+=u,this.yyleng++,this.offset++,this.match+=u,this.matched+=u;var l=u.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),u},"input"),unput:a(function(u){var l=u.length,A=u.split(/(?:\r\n?|\n)/g);this._input=u+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var r=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),A.length-1&&(this.yylineno-=A.length-1);var p=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:A?(A.length===r.length?this.yylloc.first_column:0)+r[r.length-A.length].length-A[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:a(function(){return this._more=!0,this},"more"),reject:a(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},"reject"),less:a(function(u){this.unput(this.match.slice(u))},"less"),pastInput:a(function(){var u=this.matched.substr(0,this.matched.length-this.match.length);return(u.length>20?"...":"")+u.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:a(function(){var u=this.match;return u.length<20&&(u+=this._input.substr(0,20-u.length)),(u.substr(0,20)+(u.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:a(function(){var u=this.pastInput(),l=new Array(u.length+1).join("-");return u+this.upcomingInput()+`
`+l+"^"},"showPosition"),test_match:a(function(u,l){var A,r,p;if(this.options.backtrack_lexer&&(p={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&&(p.yylloc.range=this.yylloc.range.slice(0))),r=u[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+u[0].length},this.yytext+=u[0],this.match+=u[0],this.matches=u,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(u[0].length),this.matched+=u[0],A=this.performAction.call(this,this.yy,this,l,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),A)return A;if(this._backtrack){for(var t in p)this[t]=p[t];return!1}return!1},"test_match"),next:a(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var u,l,A,r;this._more||(this.yytext="",this.match="");for(var p=this._currentRules(),t=0;t<p.length;t++)if(A=this._input.match(this.rules[p[t]]),A&&(!l||A[0].length>l[0].length)){if(l=A,r=t,this.options.backtrack_lexer){if(u=this.test_match(A,p[t]),u!==!1)return u;if(this._backtrack){l=!1;continue}else return!1}else if(!this.options.flex)break}return l?(u=this.test_match(l,p[r]),u!==!1?u:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:a(function(){var l=this.next();return l||this.lex()},"lex"),begin:a(function(l){this.conditionStack.push(l)},"begin"),popState:a(function(){var l=this.conditionStack.length-1;return l>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:a(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:a(function(l){return l=this.conditionStack.length-1-Math.abs(l||0),l>=0?this.conditionStack[l]:"INITIAL"},"topState"),pushState:a(function(l){this.begin(l)},"pushState"),stateStackSize:a(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:a(function(l,A,r,p){var t=p;switch(r){case 0:return 54;case 1:return 55;case 2:return 56;case 3:return 57;case 4:break;case 5:break;case 6:return this.begin("acc_title"),32;break;case 7:return this.popState(),"acc_title_value";break;case 8:return this.begin("acc_descr"),34;break;case 9:return this.popState(),"acc_descr_value";break;case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 8;case 14:break;case 15:return 7;case 16:return 7;case 17:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 19:this.popState();break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 71;case 22:this.popState();break;case 23:return 72;case 24:this.popState();break;case 25:return"STR";case 26:this.begin("string");break;case 27:return 74;case 28:return this.begin("namespace"),41;break;case 29:return this.popState(),8;break;case 30:break;case 31:return this.begin("namespace-body"),38;break;case 32:return this.popState(),40;break;case 33:return"EOF_IN_STRUCT";case 34:return 8;case 35:break;case 36:return"EDGE_STATE";case 37:return this.begin("class"),45;break;case 38:return this.popState(),8;break;case 39:break;case 40:return this.popState(),this.popState(),40;break;case 41:return this.begin("class-body"),38;break;case 42:return this.popState(),40;break;case 43:return"EOF_IN_STRUCT";case 44:return"EDGE_STATE";case 45:return"OPEN_IN_STRUCT";case 46:break;case 47:return"MEMBER";case 48:return 77;case 49:return 67;case 50:return 68;case 51:return 70;case 52:return 51;case 53:return 53;case 54:return 46;case 55:return 47;case 56:return 73;case 57:this.popState();break;case 58:return"GENERICTYPE";case 59:this.begin("generic");break;case 60:this.popState();break;case 61:return"BQUOTE_STR";case 62:this.begin("bqstring");break;case 63:return 69;case 64:return 69;case 65:return 69;case 66:return 69;case 67:return 61;case 68:return 61;case 69:return 63;case 70:return 63;case 71:return 62;case 72:return 60;case 73:return 64;case 74:return 65;case 75:return 66;case 76:return 22;case 77:return 43;case 78:return 96;case 79:return 17;case 80:return"PLUS";case 81:return 82;case 82:return 79;case 83:return 85;case 84:return 85;case 85:return 86;case 86:return"EQUALS";case 87:return"EQUALS";case 88:return 75;case 89:return 12;case 90:return 14;case 91:return"PUNCTUATION";case 92:return 81;case 93:return 98;case 94:return 84;case 95:return 84;case 96:return 9}},"anonymous"),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-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])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,32,33,34,35,36,37,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},namespace:{rules:[26,28,29,30,31,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},"class-body":{rules:[26,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},class:{rules:[26,38,39,40,41,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_descr:{rules:[9,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_title:{rules:[7,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},callback_args:{rules:[22,23,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},callback_name:{rules:[19,20,21,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},href:{rules:[26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},struct:{rules:[26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},generic:{rules:[26,48,49,50,51,52,53,54,55,56,57,58,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},bqstring:{rules:[26,48,49,50,51,52,53,54,55,56,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},string:{rules:[24,25,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,37,48,49,50,51,52,53,54,55,56,59,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,90,91,92,93,94,95,96],inclusive:!0}}};return O}();Ie.lexer=ft;function oe(){this.yy={}}return a(oe,"Parser"),oe.prototype=Ie,Ie.Parser=oe,new oe}();Ge.parser=Ge;var Ht=Ge,lt=["#","+","~","-",""],z,ct=(z=class{constructor(i,n){this.memberType=n,this.visibility="",this.classifier="";let h=et(i,F());this.parseMember(h)}getDisplayDetails(){let i=this.visibility+fe(this.id);this.memberType==="method"&&(i+=`(${fe(this.parameters.trim())})`,this.returnType&&(i+=" : "+fe(this.returnType))),i=i.trim();let n=this.parseClassifier();return{displayText:i,cssStyle:n}}parseMember(i){let n="";if(this.memberType==="method"){let c=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(i);if(c){let f=c[1]?c[1].trim():"";if(lt.includes(f)&&(this.visibility=f),this.id=c[2].trim(),this.parameters=c[3]?c[3].trim():"",n=c[4]?c[4].trim():"",this.returnType=c[5]?c[5].trim():"",n===""){let b=this.returnType.substring(this.returnType.length-1);/[$*]/.exec(b)&&(n=b,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{let h=i.length,c=i.substring(0,1),f=i.substring(h-1);lt.includes(c)&&(this.visibility=c),/[$*]/.exec(f)&&(n=f),this.id=i.substring(this.visibility===""?0:1,n===""?h:h-1)}this.classifier=n}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}},a(z,"ClassMember"),z),ke="classId-",ze=[],g=new Map,be=[],ot=0,I=new Map,Ue=0,Q=[],V=a(e=>L.sanitizeText(e,F()),"sanitizeText"),P=a(function(e){let i=L.sanitizeText(e,F()),n="",h=i;if(i.indexOf("~")>0){let c=i.split("~");h=V(c[0]),n=V(c[1])}return{className:h,type:n}},"splitClassNameAndType"),Et=a(function(e,i){let n=L.sanitizeText(e,F());i&&(i=V(i));let{className:h}=P(n);g.get(h).label=i},"setClassLabel"),de=a(function(e){let i=L.sanitizeText(e,F()),{className:n,type:h}=P(i);if(g.has(n))return;let c=L.sanitizeText(n,F());g.set(c,{id:c,type:h,label:c,cssClasses:[],methods:[],members:[],annotations:[],styles:[],domId:ke+c+"-"+ot}),ot++},"addClass"),ht=a(function(e){let i=L.sanitizeText(e,F());if(g.has(i))return g.get(i).domId;throw new Error("Class not found: "+i)},"lookUpDomId"),gt=a(function(){ze=[],g=new Map,be=[],Q=[],Q.push(pt),I=new Map,Ue=0,Ye="TB",tt()},"clear"),mt=a(function(e){return g.get(e)},"getClass"),Tt=a(function(){return g},"getClasses"),yt=a(function(){return ze},"getRelations"),Ft=a(function(){return be},"getNotes"),Dt=a(function(e){$e.debug("Adding relation: "+JSON.stringify(e)),de(e.id1),de(e.id2),e.id1=P(e.id1).className,e.id2=P(e.id2).className,e.relationTitle1=L.sanitizeText(e.relationTitle1.trim(),F()),e.relationTitle2=L.sanitizeText(e.relationTitle2.trim(),F()),ze.push(e)},"addRelation"),_t=a(function(e,i){let n=P(e).className;g.get(n).annotations.push(i)},"addAnnotation"),At=a(function(e,i){de(e);let n=P(e).className,h=g.get(n);if(typeof i=="string"){let c=i.trim();c.startsWith("<<")&&c.endsWith(">>")?h.annotations.push(V(c.substring(2,c.length-2))):c.indexOf(")")>0?h.methods.push(new ct(c,"method")):c&&h.members.push(new ct(c,"attribute"))}},"addMember"),Bt=a(function(e,i){Array.isArray(i)&&(i.reverse(),i.forEach(n=>At(e,n)))},"addMembers"),St=a(function(e,i){let n={id:`note${be.length}`,class:i,text:e};be.push(n)},"addNote"),vt=a(function(e){return e.startsWith(":")&&(e=e.substring(1)),V(e.trim())},"cleanupLabel"),Ke=a(function(e,i){e.split(",").forEach(function(n){let h=n;/\d/.exec(n[0])&&(h=ke+h);let c=g.get(h);c&&c.cssClasses.push(i)})},"setCssClass"),Nt=a(function(e,i){e.split(",").forEach(function(n){i!==void 0&&(g.get(n).tooltip=V(i))})},"setTooltip"),Lt=a(function(e,i){return i&&I.has(i)?I.get(i).classes.get(e).tooltip:g.get(e).tooltip},"getTooltip"),xt=a(function(e,i,n){let h=F();e.split(",").forEach(function(c){let f=c;/\d/.exec(c[0])&&(f=ke+f);let b=g.get(f);b&&(b.link=Me.formatUrl(i,h),h.securityLevel==="sandbox"?b.linkTarget="_top":typeof n=="string"?b.linkTarget=V(n):b.linkTarget="_blank")}),Ke(e,"clickable")},"setLink"),It=a(function(e,i,n){e.split(",").forEach(function(h){Ot(h,i,n),g.get(h).haveCallback=!0}),Ke(e,"clickable")},"setClickEvent"),Ot=a(function(e,i,n){let h=L.sanitizeText(e,F());if(F().securityLevel!=="loose"||i===void 0)return;let f=h;if(g.has(f)){let b=ht(f),B=[];if(typeof n=="string"){B=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let S=0;S<B.length;S++){let N=B[S].trim();N.startsWith('"')&&N.endsWith('"')&&(N=N.substr(1,N.length-2)),B[S]=N}}B.length===0&&B.push(b),Q.push(function(){let S=document.querySelector(`[id="${b}"]`);S!==null&&S.addEventListener("click",function(){Me.runFunc(i,...B)},!1)})}},"setClickFunc"),Rt=a(function(e){Q.forEach(function(i){i(e)})},"bindFunctions"),wt={LINE:0,DOTTED_LINE:1},Vt={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},pt=a(function(e){let i=U(".mermaidTooltip");(i._groups||i)[0][0]===null&&(i=U("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),U(e).select("svg").selectAll("g.node").on("mouseover",function(){let c=U(this);if(c.attr("title")===null)return;let b=this.getBoundingClientRect();i.transition().duration(200).style("opacity",".9"),i.text(c.attr("title")).style("left",window.scrollX+b.left+(b.right-b.left)/2+"px").style("top",window.scrollY+b.top-14+document.body.scrollTop+"px"),i.html(i.html().replace(/&lt;br\/&gt;/g,"<br/>")),c.classed("hover",!0)}).on("mouseout",function(){i.transition().duration(500).style("opacity",0),U(this).classed("hover",!1)})},"setupToolTips");Q.push(pt);var Ye="TB",Pt=a(()=>Ye,"getDirection"),Mt=a(e=>{Ye=e},"setDirection"),Gt=a(function(e){I.has(e)||(I.set(e,{id:e,classes:new Map,children:{},domId:ke+e+"-"+Ue}),Ue++)},"addNamespace"),Ut=a(function(e){return I.get(e)},"getNamespace"),zt=a(function(){return I},"getNamespaces"),Kt=a(function(e,i){if(I.has(e))for(let n of i){let{className:h}=P(n);g.get(h).parent=e,I.get(e).classes.set(h,g.get(h))}},"addClassesToNamespace"),Yt=a(function(e,i){let n=g.get(e);if(!(!i||!n))for(let h of i)h.includes(",")?n.styles.push(...h.split(",")):n.styles.push(h)},"setCssStyle"),Jt={setAccTitle:st,getAccTitle:it,getAccDescription:at,setAccDescription:rt,getConfig:a(()=>F().class,"getConfig"),addClass:de,bindFunctions:Rt,clear:gt,getClass:mt,getClasses:Tt,getNotes:Ft,addAnnotation:_t,addNote:St,getRelations:yt,addRelation:Dt,getDirection:Pt,setDirection:Mt,addMember:At,addMembers:Bt,cleanupLabel:vt,lineType:wt,relationType:Vt,setClickEvent:It,setCssClass:Ke,setLink:xt,getTooltip:Lt,setTooltip:Nt,lookUpDomId:ht,setDiagramTitle:ut,getDiagramTitle:nt,setClassLabel:Et,addNamespace:Gt,addClassesToNamespace:Kt,getNamespace:Ut,getNamespaces:zt,setCssStyle:Yt},Qt=a(e=>`g.classGroup text {
fill: ${e.nodeBorder||e.classText};
stroke: none;
font-family: ${e.fontFamily};
font-size: 10px;
.title {
font-weight: bolder;
}
}
.nodeLabel, .edgeLabel {
color: ${e.classText};
}
.edgeLabel .label rect {
fill: ${e.mainBkg};
}
.label text {
fill: ${e.classText};
}
.edgeLabel .label span {
background: ${e.mainBkg};
}
.classTitle {
font-weight: bolder;
}
.node rect,
.node circle,
.node ellipse,
.node polygon,
.node path {
fill: ${e.mainBkg};
stroke: ${e.nodeBorder};
stroke-width: 1px;
}
.divider {
stroke: ${e.nodeBorder};
stroke-width: 1;
}
g.clickable {
cursor: pointer;
}
g.classGroup rect {
fill: ${e.mainBkg};
stroke: ${e.nodeBorder};
}
g.classGroup line {
stroke: ${e.nodeBorder};
stroke-width: 1;
}
.classLabel .box {
stroke: none;
stroke-width: 0;
fill: ${e.mainBkg};
opacity: 0.5;
}
.classLabel .label {
fill: ${e.nodeBorder};
font-size: 10px;
}
.relation {
stroke: ${e.lineColor};
stroke-width: 1;
fill: none;
}
.dashed-line{
stroke-dasharray: 3;
}
.dotted-line{
stroke-dasharray: 1 2;
}
#compositionStart, .composition {
fill: ${e.lineColor} !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
#compositionEnd, .composition {
fill: ${e.lineColor} !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
#dependencyStart, .dependency {
fill: ${e.lineColor} !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
#dependencyStart, .dependency {
fill: ${e.lineColor} !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
#extensionStart, .extension {
fill: transparent !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
#extensionEnd, .extension {
fill: transparent !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
#aggregationStart, .aggregation {
fill: transparent !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
#aggregationEnd, .aggregation {
fill: transparent !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
#lollipopStart, .lollipop {
fill: ${e.mainBkg} !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
#lollipopEnd, .lollipop {
fill: ${e.mainBkg} !important;
stroke: ${e.lineColor} !important;
stroke-width: 1;
}
.edgeTerminals {
font-size: 11px;
line-height: initial;
}
.classTitleText {
text-anchor: middle;
font-size: 18px;
fill: ${e.textColor};
}
`,"getStyles"),Zt=Qt;export{Ht as a,Jt as b,Zt as c};