mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 08:49:51 +02:00
1 line
No EOL
46 KiB
JavaScript
1 line
No EOL
46 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[64627],{64627:(t,e,u)=>{let s,i;u.d(e,{d:()=>ta,f:()=>tn,p:()=>c});var r=u(63294),n=u(99854),a=function(){var t=function(t,e,u,s){for(u=u||{},s=t.length;s--;u[t[s]]=e);return u},e=[1,9],u=[1,7],s=[1,6],i=[1,8],r=[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],n=[2,10],a=[1,20],c=[1,21],l=[1,22],o=[1,23],h=[1,30],A=[1,32],p=[1,33],d=[1,34],y=[1,56],E=[1,55],f=[1,36],D=[1,37],b=[1,38],k=[1,39],_=[1,40],F=[1,51],g=[1,53],T=[1,49],C=[1,54],B=[1,50],S=[1,57],m=[1,52],v=[1,58],x=[1,59],L=[1,41],I=[1,42],R=[1,43],N=[1,44],$=[1,62],O=[1,67],P=[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],w=[1,71],U=[1,70],M=[1,72],V=[20,21,23,84,86],G=[1,98],K=[1,103],Y=[1,102],j=[1,99],X=[1,95],z=[1,101],H=[1,97],W=[1,104],Q=[1,100],q=[1,105],Z=[1,96],J=[20,21,22,23,84,86],tt=[20,21,22,23,55,84,86],te=[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],tu=[20,21,23],ts=[20,21,23,53,69,84,86,97,110,113,114,117,119,122,123,124],ti=[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],tr=[53,69,97,110,113,114,117,119,122,123,124],tn=[1,134],ta=[1,133],tc=[1,141],tl=[1,155],to=[1,156],th=[1,157],tA=[1,158],tp=[1,143],td=[1,145],ty=[1,149],tE=[1,150],tf=[1,151],tD=[1,152],tb=[1,153],tk=[1,154],t_=[1,159],tF=[1,160],tg=[1,139],tT=[1,140],tC=[1,147],tB=[1,142],tS=[1,146],tm=[1,144],tv=[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],tx=[1,162],tL=[20,21,22,23,26,53,69,97,113,114,117,119,122,123,124],tI=[1,182],tR=[1,178],tN=[1,179],t$=[1,183],tO=[1,180],tP=[1,181],tw=[12,21,22,24],tU=[86,124,127],tM=[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],tV=[22,114],tG=[42,58,60,62,64,66,71,73,75,76,78,80,124,125,126],tK=[1,250],tY=[1,248],tj=[1,252],tX=[1,246],tz=[1,247],tH=[1,249],tW=[1,251],tQ=[1,253],tq=[1,270],tZ=[20,21,23,114],tJ=[20,21,22,23,69,92,113,114,117,118,119,120],t1={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(t,e,u,s,i,r,n){var a=r.length-1;switch(i){case 5:s.parseDirective("%%{","open_directive");break;case 6:s.parseDirective(r[a],"type_directive");break;case 7:r[a]=r[a].trim().replace(/'/g,'"'),s.parseDirective(r[a],"arg_directive");break;case 8:s.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:(!Array.isArray(r[a])||r[a].length>0)&&r[a-1].push(r[a]),this.$=r[a-1];break;case 12:case 184:case 57:case 79:case 182:this.$=r[a];break;case 19:s.setDirection("TB"),this.$="TB";break;case 20:s.setDirection(r[a-1]),this.$=r[a-1];break;case 35:this.$=r[a-1].nodes;break;case 41:this.$=s.addSubGraph(r[a-6],r[a-1],r[a-4]);break;case 42:this.$=s.addSubGraph(r[a-3],r[a-1],r[a-3]);break;case 43:this.$=s.addSubGraph(void 0,r[a-1],void 0);break;case 45:this.$=r[a].trim(),s.setAccTitle(this.$);break;case 46:case 47:this.$=r[a].trim(),s.setAccDescription(this.$);break;case 51:s.addLink(r[a-2].stmt,r[a],r[a-1]),this.$={stmt:r[a],nodes:r[a].concat(r[a-2].nodes)};break;case 52:s.addLink(r[a-3].stmt,r[a-1],r[a-2]),this.$={stmt:r[a-1],nodes:r[a-1].concat(r[a-3].nodes)};break;case 53:this.$={stmt:r[a-1],nodes:r[a-1]};break;case 54:this.$={stmt:r[a],nodes:r[a]};break;case 55:case 129:case 131:this.$=[r[a]];break;case 56:this.$=r[a-4].concat(r[a]);break;case 58:this.$=r[a-2],s.setClass(r[a-2],r[a]);break;case 59:this.$=r[a-3],s.addVertex(r[a-3],r[a-1],"square");break;case 60:this.$=r[a-3],s.addVertex(r[a-3],r[a-1],"doublecircle");break;case 61:this.$=r[a-5],s.addVertex(r[a-5],r[a-2],"circle");break;case 62:this.$=r[a-3],s.addVertex(r[a-3],r[a-1],"ellipse");break;case 63:this.$=r[a-3],s.addVertex(r[a-3],r[a-1],"stadium");break;case 64:this.$=r[a-3],s.addVertex(r[a-3],r[a-1],"subroutine");break;case 65:this.$=r[a-7],s.addVertex(r[a-7],r[a-1],"rect",void 0,void 0,void 0,Object.fromEntries([[r[a-5],r[a-3]]]));break;case 66:this.$=r[a-3],s.addVertex(r[a-3],r[a-1],"cylinder");break;case 67:this.$=r[a-3],s.addVertex(r[a-3],r[a-1],"round");break;case 68:this.$=r[a-3],s.addVertex(r[a-3],r[a-1],"diamond");break;case 69:this.$=r[a-5],s.addVertex(r[a-5],r[a-2],"hexagon");break;case 70:this.$=r[a-3],s.addVertex(r[a-3],r[a-1],"odd");break;case 71:this.$=r[a-3],s.addVertex(r[a-3],r[a-1],"trapezoid");break;case 72:this.$=r[a-3],s.addVertex(r[a-3],r[a-1],"inv_trapezoid");break;case 73:this.$=r[a-3],s.addVertex(r[a-3],r[a-1],"lean_right");break;case 74:this.$=r[a-3],s.addVertex(r[a-3],r[a-1],"lean_left");break;case 75:this.$=r[a],s.addVertex(r[a]);break;case 76:r[a-1].text=r[a],this.$=r[a-1];break;case 77:case 78:r[a-2].text=r[a-1],this.$=r[a-2];break;case 80:var c=s.destructLink(r[a],r[a-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:r[a-1]};break;case 81:case 87:case 102:case 104:this.$={text:r[a],type:"text"};break;case 82:case 88:case 103:this.$={text:r[a-1].text+""+r[a],type:r[a-1].type};break;case 83:case 89:this.$={text:r[a],type:"string"};break;case 84:case 90:case 105:this.$={text:r[a],type:"markdown"};break;case 85:var c=s.destructLink(r[a]);this.$={type:c.type,stroke:c.stroke,length:c.length};break;case 86:this.$=r[a-1];break;case 106:this.$=r[a-4],s.addClass(r[a-2],r[a]);break;case 107:this.$=r[a-4],s.setClass(r[a-2],r[a]);break;case 108:case 116:this.$=r[a-1],s.setClickEvent(r[a-1],r[a]);break;case 109:case 117:this.$=r[a-3],s.setClickEvent(r[a-3],r[a-2]),s.setTooltip(r[a-3],r[a]);break;case 110:this.$=r[a-2],s.setClickEvent(r[a-2],r[a-1],r[a]);break;case 111:this.$=r[a-4],s.setClickEvent(r[a-4],r[a-3],r[a-2]),s.setTooltip(r[a-4],r[a]);break;case 112:this.$=r[a-2],s.setLink(r[a-2],r[a]);break;case 113:this.$=r[a-4],s.setLink(r[a-4],r[a-2]),s.setTooltip(r[a-4],r[a]);break;case 114:this.$=r[a-4],s.setLink(r[a-4],r[a-2],r[a]);break;case 115:this.$=r[a-6],s.setLink(r[a-6],r[a-4],r[a]),s.setTooltip(r[a-6],r[a-2]);break;case 118:this.$=r[a-1],s.setLink(r[a-1],r[a]);break;case 119:this.$=r[a-3],s.setLink(r[a-3],r[a-2]),s.setTooltip(r[a-3],r[a]);break;case 120:this.$=r[a-3],s.setLink(r[a-3],r[a-2],r[a]);break;case 121:this.$=r[a-5],s.setLink(r[a-5],r[a-4],r[a]),s.setTooltip(r[a-5],r[a-2]);break;case 122:this.$=r[a-4],s.addVertex(r[a-2],void 0,void 0,r[a]);break;case 123:this.$=r[a-4],s.updateLink([r[a-2]],r[a]);break;case 124:this.$=r[a-4],s.updateLink(r[a-2],r[a]);break;case 125:this.$=r[a-8],s.updateLinkInterpolate([r[a-6]],r[a-2]),s.updateLink([r[a-6]],r[a]);break;case 126:this.$=r[a-8],s.updateLinkInterpolate(r[a-6],r[a-2]),s.updateLink(r[a-6],r[a]);break;case 127:this.$=r[a-6],s.updateLinkInterpolate([r[a-4]],r[a]);break;case 128:this.$=r[a-6],s.updateLinkInterpolate(r[a-4],r[a]);break;case 130:case 132:r[a-2].push(r[a]),this.$=r[a-2];break;case 134:this.$=r[a-1]+r[a];break;case 183:case 185:this.$=r[a-1]+""+r[a];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"}}},table:[{3:1,4:2,5:3,6:5,12:e,16:4,21:u,22:s,24:i},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:e,16:4,21:u,22:s,24:i},t(r,n,{17:11}),{7:12,13:[1,13]},{16:14,21:u,22:s,24:i},{16:15,21:u,22:s,24:i},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:a,21:c,22:l,23:o,32:24,33:25,34:26,35:27,36:28,37:29,38:h,44:31,45:A,47:p,49:d,51:35,52:45,53:y,54:46,56:47,69:E,92:f,93:D,94:b,95:k,96:_,97:F,110:g,113:T,114:C,117:B,119:S,121:48,122:m,123:v,124:x,129:L,130:I,131:R,132:N},{8:60,10:[1,61],15:$},t([10,15],[2,6]),t(r,[2,17]),t(r,[2,18]),t(r,[2,19]),{20:[1,64],21:[1,65],22:O,27:63,30:66},t(P,[2,11]),t(P,[2,12]),t(P,[2,13]),t(P,[2,14]),t(P,[2,15]),t(P,[2,16]),{9:68,20:w,21:U,23:M,50:69,81:73,84:[1,74],86:[1,75]},{9:76,20:w,21:U,23:M},{9:77,20:w,21:U,23:M},{9:78,20:w,21:U,23:M},{9:79,20:w,21:U,23:M},{9:80,20:w,21:U,23:M},{9:82,20:w,21:U,22:[1,81],23:M},t(P,[2,44]),{46:[1,83]},{48:[1,84]},t(P,[2,47]),t(V,[2,54],{30:85,22:O}),{22:[1,86]},{22:[1,87]},{22:[1,88]},{22:[1,89]},{26:G,53:K,69:Y,88:[1,93],97:j,103:[1,90],105:[1,91],109:92,113:X,114:z,117:H,119:W,122:Q,123:q,124:Z,128:94},t(P,[2,186]),t(P,[2,187]),t(P,[2,188]),t(P,[2,189]),t(J,[2,55]),t(J,[2,57],{55:[1,106]}),t(tt,[2,75],{121:119,40:[1,107],53:y,57:[1,108],59:[1,109],61:[1,110],63:[1,111],65:[1,112],67:[1,113],69:E,72:[1,114],74:[1,115],76:[1,116],77:[1,117],79:[1,118],97:F,110:g,113:T,114:C,117:B,119:S,122:m,123:v,124:x}),t(te,[2,182]),t(te,[2,143]),t(te,[2,144]),t(te,[2,145]),t(te,[2,146]),t(te,[2,147]),t(te,[2,148]),t(te,[2,149]),t(te,[2,150]),t(te,[2,151]),t(te,[2,152]),t(te,[2,153]),{9:120,20:w,21:U,23:M},{11:121,14:[1,122]},t(tu,[2,8]),t(r,[2,20]),t(r,[2,26]),t(r,[2,27]),{21:[1,123]},t(ts,[2,34],{30:124,22:O}),t(P,[2,35]),{51:125,52:45,53:y,54:46,56:47,69:E,97:F,110:g,113:T,114:C,117:B,119:S,121:48,122:m,123:v,124:x},t(ti,[2,48]),t(ti,[2,49]),t(ti,[2,50]),t(tr,[2,79],{82:126,71:[1,128],83:[1,127]}),{85:129,87:130,88:[1,131],89:[1,132],124:tn,127:ta},t([53,69,71,83,97,110,113,114,117,119,122,123,124],[2,85]),t(P,[2,36]),t(P,[2,37]),t(P,[2,38]),t(P,[2,39]),t(P,[2,40]),{22:tc,24:tl,26:to,38:th,39:135,43:tA,53:tp,69:td,84:ty,88:[1,137],89:[1,138],91:148,92:tE,93:tf,94:tD,95:tb,96:tk,97:t_,98:tF,99:136,113:tg,117:tT,119:tC,122:tB,123:tS,124:tm},t(tv,n,{17:161}),t(P,[2,45]),t(P,[2,46]),t(V,[2,53],{53:tx}),{53:y,56:163,69:E,97:F,110:g,113:T,114:C,117:B,119:S,121:48,122:m,123:v,124:x},{110:[1,164],111:165,113:[1,166]},{53:y,56:167,69:E,97:F,110:g,113:T,114:C,117:B,119:S,121:48,122:m,123:v,124:x},{53:y,56:168,69:E,97:F,110:g,113:T,114:C,117:B,119:S,121:48,122:m,123:v,124:x},t(tu,[2,108],{22:[1,169],104:[1,170]}),{88:[1,171]},t(tu,[2,116],{128:173,22:[1,172],26:G,53:K,69:Y,97:j,113:X,114:z,117:H,119:W,122:Q,123:q,124:Z}),t(tu,[2,118],{22:[1,174]}),t(tL,[2,184]),t(tL,[2,171]),t(tL,[2,172]),t(tL,[2,173]),t(tL,[2,174]),t(tL,[2,175]),t(tL,[2,176]),t(tL,[2,177]),t(tL,[2,178]),t(tL,[2,179]),t(tL,[2,180]),t(tL,[2,181]),{53:y,56:175,69:E,97:F,110:g,113:T,114:C,117:B,119:S,121:48,122:m,123:v,124:x},{41:176,76:tI,88:tR,89:tN,90:177,124:t$,125:tO,126:tP},{41:184,76:tI,88:tR,89:tN,90:177,124:t$,125:tO,126:tP},{41:186,59:[1,185],76:tI,88:tR,89:tN,90:177,124:t$,125:tO,126:tP},{41:187,76:tI,88:tR,89:tN,90:177,124:t$,125:tO,126:tP},{41:188,76:tI,88:tR,89:tN,90:177,124:t$,125:tO,126:tP},{41:189,76:tI,88:tR,89:tN,90:177,124:t$,125:tO,126:tP},{117:[1,190]},{41:191,76:tI,88:tR,89:tN,90:177,124:t$,125:tO,126:tP},{41:192,74:[1,193],76:tI,88:tR,89:tN,90:177,124:t$,125:tO,126:tP},{41:194,76:tI,88:tR,89:tN,90:177,124:t$,125:tO,126:tP},{41:195,76:tI,88:tR,89:tN,90:177,124:t$,125:tO,126:tP},{41:196,76:tI,88:tR,89:tN,90:177,124:t$,125:tO,126:tP},t(te,[2,183]),t(tw,[2,3]),{8:197,15:$},{15:[2,7]},t(r,[2,28]),t(ts,[2,33]),t(V,[2,51],{30:198,22:O}),t(tr,[2,76],{22:[1,199]}),{22:[1,200]},{41:201,76:tI,88:tR,89:tN,90:177,124:t$,125:tO,126:tP},{86:[1,202],87:203,124:tn,127:ta},t(tU,[2,81]),t(tU,[2,83]),t(tU,[2,84]),t(tU,[2,169]),t(tU,[2,170]),{9:205,20:w,21:U,22:tc,23:M,24:tl,26:to,38:th,40:[1,204],43:tA,53:tp,69:td,84:ty,91:148,92:tE,93:tf,94:tD,95:tb,96:tk,97:t_,98:tF,99:206,113:tg,117:tT,119:tC,122:tB,123:tS,124:tm},t(tM,[2,102]),t(tM,[2,104]),t(tM,[2,105]),t(tM,[2,158]),t(tM,[2,159]),t(tM,[2,160]),t(tM,[2,161]),t(tM,[2,162]),t(tM,[2,163]),t(tM,[2,164]),t(tM,[2,165]),t(tM,[2,166]),t(tM,[2,167]),t(tM,[2,168]),t(tM,[2,91]),t(tM,[2,92]),t(tM,[2,93]),t(tM,[2,94]),t(tM,[2,95]),t(tM,[2,96]),t(tM,[2,97]),t(tM,[2,98]),t(tM,[2,99]),t(tM,[2,100]),t(tM,[2,101]),{18:18,19:19,20:a,21:c,22:l,23:o,32:24,33:25,34:26,35:27,36:28,37:29,38:h,43:[1,207],44:31,45:A,47:p,49:d,51:35,52:45,53:y,54:46,56:47,69:E,92:f,93:D,94:b,95:k,96:_,97:F,110:g,113:T,114:C,117:B,119:S,121:48,122:m,123:v,124:x,129:L,130:I,131:R,132:N},{22:O,30:208},{22:[1,209],53:y,69:E,97:F,110:g,113:T,114:C,117:B,119:S,121:119,122:m,123:v,124:x},{22:[1,210]},{22:[1,211],114:[1,212]},t(tV,[2,129]),{22:[1,213],53:y,69:E,97:F,110:g,113:T,114:C,117:B,119:S,121:119,122:m,123:v,124:x},{22:[1,214],53:y,69:E,97:F,110:g,113:T,114:C,117:B,119:S,121:119,122:m,123:v,124:x},{88:[1,215]},t(tu,[2,110],{22:[1,216]}),t(tu,[2,112],{22:[1,217]}),{88:[1,218]},t(tL,[2,185]),{88:[1,219],106:[1,220]},t(J,[2,58],{121:119,53:y,69:E,97:F,110:g,113:T,114:C,117:B,119:S,122:m,123:v,124:x}),{42:[1,221],76:tI,90:222,124:t$,125:tO,126:tP},t(tG,[2,87]),t(tG,[2,89]),t(tG,[2,90]),t(tG,[2,154]),t(tG,[2,155]),t(tG,[2,156]),t(tG,[2,157]),{58:[1,223],76:tI,90:222,124:t$,125:tO,126:tP},{41:224,76:tI,88:tR,89:tN,90:177,124:t$,125:tO,126:tP},{60:[1,225],76:tI,90:222,124:t$,125:tO,126:tP},{62:[1,226],76:tI,90:222,124:t$,125:tO,126:tP},{64:[1,227],76:tI,90:222,124:t$,125:tO,126:tP},{66:[1,228],76:tI,90:222,124:t$,125:tO,126:tP},{69:[1,229]},{73:[1,230],76:tI,90:222,124:t$,125:tO,126:tP},{75:[1,231],76:tI,90:222,124:t$,125:tO,126:tP},{41:232,76:tI,88:tR,89:tN,90:177,124:t$,125:tO,126:tP},{42:[1,233],76:tI,90:222,124:t$,125:tO,126:tP},{76:tI,78:[1,234],80:[1,235],90:222,124:t$,125:tO,126:tP},{76:tI,78:[1,237],80:[1,236],90:222,124:t$,125:tO,126:tP},{9:238,20:w,21:U,23:M},t(V,[2,52],{53:tx}),t(tr,[2,78]),t(tr,[2,77]),{71:[1,239],76:tI,90:222,124:t$,125:tO,126:tP},t(tr,[2,80]),t(tU,[2,82]),{41:240,76:tI,88:tR,89:tN,90:177,124:t$,125:tO,126:tP},t(tv,n,{17:241}),t(tM,[2,103]),t(P,[2,43]),{52:242,53:y,54:46,56:47,69:E,97:F,110:g,113:T,114:C,117:B,119:S,121:48,122:m,123:v,124:x},{22:tK,69:tY,92:tj,100:243,113:tX,115:244,116:245,117:tz,118:tH,119:tW,120:tQ},{22:tK,69:tY,92:tj,100:254,112:[1,255],113:tX,115:244,116:245,117:tz,118:tH,119:tW,120:tQ},{22:tK,69:tY,92:tj,100:256,112:[1,257],113:tX,115:244,116:245,117:tz,118:tH,119:tW,120:tQ},{113:[1,258]},{22:tK,69:tY,92:tj,100:259,113:tX,115:244,116:245,117:tz,118:tH,119:tW,120:tQ},{53:y,56:260,69:E,97:F,110:g,113:T,114:C,117:B,119:S,121:48,122:m,123:v,124:x},t(tu,[2,109]),{88:[1,261]},{88:[1,262],106:[1,263]},t(tu,[2,117]),t(tu,[2,119],{22:[1,264]}),t(tu,[2,120]),t(tt,[2,59]),t(tG,[2,88]),t(tt,[2,60]),{60:[1,265],76:tI,90:222,124:t$,125:tO,126:tP},t(tt,[2,67]),t(tt,[2,62]),t(tt,[2,63]),t(tt,[2,64]),{117:[1,266]},t(tt,[2,66]),t(tt,[2,68]),{75:[1,267],76:tI,90:222,124:t$,125:tO,126:tP},t(tt,[2,70]),t(tt,[2,71]),t(tt,[2,73]),t(tt,[2,72]),t(tt,[2,74]),t(tw,[2,4]),t([22,53,69,97,110,113,114,117,119,122,123,124],[2,86]),{42:[1,268],76:tI,90:222,124:t$,125:tO,126:tP},{18:18,19:19,20:a,21:c,22:l,23:o,32:24,33:25,34:26,35:27,36:28,37:29,38:h,43:[1,269],44:31,45:A,47:p,49:d,51:35,52:45,53:y,54:46,56:47,69:E,92:f,93:D,94:b,95:k,96:_,97:F,110:g,113:T,114:C,117:B,119:S,121:48,122:m,123:v,124:x,129:L,130:I,131:R,132:N},t(J,[2,56]),t(tu,[2,122],{114:tq}),t(tZ,[2,131],{116:271,22:tK,69:tY,92:tj,113:tX,117:tz,118:tH,119:tW,120:tQ}),t(tJ,[2,133]),t(tJ,[2,135]),t(tJ,[2,136]),t(tJ,[2,137]),t(tJ,[2,138]),t(tJ,[2,139]),t(tJ,[2,140]),t(tJ,[2,141]),t(tJ,[2,142]),t(tu,[2,123],{114:tq}),{22:[1,272]},t(tu,[2,124],{114:tq}),{22:[1,273]},t(tV,[2,130]),t(tu,[2,106],{114:tq}),t(tu,[2,107],{121:119,53:y,69:E,97:F,110:g,113:T,114:C,117:B,119:S,122:m,123:v,124:x}),t(tu,[2,111]),t(tu,[2,113],{22:[1,274]}),t(tu,[2,114]),{106:[1,275]},{60:[1,276]},{71:[1,277]},{75:[1,278]},{9:279,20:w,21:U,23:M},t(P,[2,42]),{22:tK,69:tY,92:tj,113:tX,115:280,116:245,117:tz,118:tH,119:tW,120:tQ},t(tJ,[2,134]),{26:G,53:K,69:Y,97:j,109:281,113:X,114:z,117:H,119:W,122:Q,123:q,124:Z,128:94},{26:G,53:K,69:Y,97:j,109:282,113:X,114:z,117:H,119:W,122:Q,123:q,124:Z,128:94},{106:[1,283]},t(tu,[2,121]),t(tt,[2,61]),{41:284,76:tI,88:tR,89:tN,90:177,124:t$,125:tO,126:tP},t(tt,[2,69]),t(tv,n,{17:285}),t(tZ,[2,132],{116:271,22:tK,69:tY,92:tj,113:tX,117:tz,118:tH,119:tW,120:tQ}),t(tu,[2,127],{128:173,22:[1,286],26:G,53:K,69:Y,97:j,113:X,114:z,117:H,119:W,122:Q,123:q,124:Z}),t(tu,[2,128],{128:173,22:[1,287],26:G,53:K,69:Y,97:j,113:X,114:z,117:H,119:W,122:Q,123:q,124:Z}),t(tu,[2,115]),{42:[1,288],76:tI,90:222,124:t$,125:tO,126:tP},{18:18,19:19,20:a,21:c,22:l,23:o,32:24,33:25,34:26,35:27,36:28,37:29,38:h,43:[1,289],44:31,45:A,47:p,49:d,51:35,52:45,53:y,54:46,56:47,69:E,92:f,93:D,94:b,95:k,96:_,97:F,110:g,113:T,114:C,117:B,119:S,121:48,122:m,123:v,124:x,129:L,130:I,131:R,132:N},{22:tK,69:tY,92:tj,100:290,113:tX,115:244,116:245,117:tz,118:tH,119:tW,120:tQ},{22:tK,69:tY,92:tj,100:291,113:tX,115:244,116:245,117:tz,118:tH,119:tW,120:tQ},t(tt,[2,65]),t(P,[2,41]),t(tu,[2,125],{114:tq}),t(tu,[2,126],{114:tq})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],122:[2,7]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var u=Error(t);throw u.hash=e,u}},parse:function(t){var e=this,u=[0],s=[],i=[null],r=[],n=this.table,a="",c=0,l=0,o=r.slice.call(arguments,1),h=Object.create(this.lexer),A={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(A.yy[p]=this.yy[p]);h.setInput(t,A.yy),A.yy.lexer=h,A.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var d=h.yylloc;r.push(d);var y=h.options&&h.options.ranges;"function"==typeof A.yy.parseError?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var E,f,D,b,k,_,F,g,T={};;){if(f=u[u.length-1],this.defaultActions[f]?D=this.defaultActions[f]:(null==E&&(E=function(){var t;return"number"!=typeof(t=s.pop()||h.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=e.symbols_[t]||t),t}()),D=n[f]&&n[f][E]),void 0===D||!D.length||!D[0]){var C="";for(k in g=[],n[f])this.terminals_[k]&&k>2&&g.push("'"+this.terminals_[k]+"'");C=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+g.join(", ")+", got '"+(this.terminals_[E]||E)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==E?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(C,{text:h.match,token:this.terminals_[E]||E,line:h.yylineno,loc:d,expected:g})}if(D[0]instanceof Array&&D.length>1)throw Error("Parse Error: multiple actions possible at state: "+f+", token: "+E);switch(D[0]){case 1:u.push(E),i.push(h.yytext),r.push(h.yylloc),u.push(D[1]),E=null,l=h.yyleng,a=h.yytext,c=h.yylineno,d=h.yylloc;break;case 2:if(_=this.productions_[D[1]][1],T.$=i[i.length-_],T._$={first_line:r[r.length-(_||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(_||1)].first_column,last_column:r[r.length-1].last_column},y&&(T._$.range=[r[r.length-(_||1)].range[0],r[r.length-1].range[1]]),void 0!==(b=this.performAction.apply(T,[a,l,c,A.yy,D[1],i,r].concat(o))))return b;_&&(u=u.slice(0,-1*_*2),i=i.slice(0,-1*_),r=r.slice(0,-1*_)),u.push(this.productions_[D[1]][0]),i.push(T.$),r.push(T._$),F=n[u[u.length-2]][u[u.length-1]],u.push(F);break;case 3:return!0}}return!0}};function t2(){this.yy={}}return t1.lexer={EOF:1,parseError:function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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 t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,u=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var s=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),u.length-1&&(this.yylineno-=u.length-1);var i=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:u?(u.length===s.length?this.yylloc.first_column:0)+s[s.length-u.length].length-u[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var u,s,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],u=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),u)return u;if(this._backtrack)for(var r in i)this[r]=i[r];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,u,s,i=this._currentRules(),r=0;r<i.length;r++)if((u=this._input.match(this.rules[i[r]]))&&(!e||u[0].length>e[0].length)){if(e=u,s=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(u,i[r])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>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(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,u,s){switch(u){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:case 13:case 16:case 19:case 22:case 32:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:this.begin("callbackname");break;case 14:this.popState(),this.begin("callbackargs");break;case 15:return 103;case 17:return 104;case 18:return"MD_STR";case 20:this.begin("md_string");break;case 21:return"STR";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 33:return 96;case 34:case 35:case 36:return t.lex.firstGraph()&&this.begin("dir"),24;case 37:return 38;case 38:return 43;case 39:case 40:case 41:case 42:return 106;case 43:return this.popState(),25;case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52: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:case 100:return 119;case 60:return 55;case 61:return 69;case 62:case 101:return 53;case 63:return 20;case 64:return 114;case 65:case 99:return 123;case 66:case 69:case 72:return this.popState(),86;case 67:return this.pushState("edgeText"),84;case 68:case 71:case 74:return 127;case 70:return this.pushState("thickEdgeText"),84;case 73:return this.pushState("dottedEdgeText"),84;case 75:return 86;case 76:return this.popState(),62;case 77:case 113: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 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 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}}},t2.prototype=t1,t1.Parser=t2,new t2}();a.parser=a;let c=a,l=0,o=(0,n.c)(),h={},A=[],p={},d=[],y={},E={},f=0,D=!0,b=[],k=t=>n.e.sanitizeText(t,o),_=function(t,e,u){n.m.parseDirective(this,t,e,u)},F=function(t){for(let e of Object.keys(h))if(h[e].id===t)return h[e].domId;return t},g=function(t,e,u,s,i,r,a={}){let c;void 0!==t&&0!==t.trim().length&&(void 0===h[t]&&(h[t]={id:t,labelType:"text",domId:"flowchart-"+t+"-"+l,styles:[],classes:[]}),l++,void 0!==e?(o=(0,n.c)(),c=k(e.text.trim()),h[t].labelType=e.type,'"'===c[0]&&'"'===c[c.length-1]&&(c=c.substring(1,c.length-1)),h[t].text=c):void 0===h[t].text&&(h[t].text=t),void 0!==u&&(h[t].type=u),null!=s&&s.forEach(function(e){h[t].styles.push(e)}),null!=i&&i.forEach(function(e){h[t].classes.push(e)}),void 0!==r&&(h[t].dir=r),void 0===h[t].props?h[t].props=a:void 0!==a&&Object.assign(h[t].props,a))},T=function(t,e,u){let s={start:t,end:e,type:void 0,text:"",labelType:"text"};n.l.info("abc78 Got edge...",s);let i=u.text;void 0!==i&&(s.text=k(i.text.trim()),'"'===s.text[0]&&'"'===s.text[s.text.length-1]&&(s.text=s.text.substring(1,s.text.length-1)),s.labelType=i.type),void 0!==u&&(s.type=u.type,s.stroke=u.stroke,s.length=u.length),A.push(s)},C=function(t,e,u){let s,i;for(n.l.info("addLink (abc78)",t,e,u),s=0;s<t.length;s++)for(i=0;i<e.length;i++)T(t[s],e[i],u)},B=function(t,e){t.forEach(function(t){"default"===t?A.defaultInterpolate=e:A[t].interpolate=e})},S=function(t,e){t.forEach(function(t){"default"===t?A.defaultStyle=e:(-1===n.u.isSubstringInArray("fill",e)&&e.push("fill:none"),A[t].style=e)})},m=function(t,e){t.split(",").forEach(function(t){void 0===p[t]&&(p[t]={id:t,styles:[],textStyles:[]}),null!=e&&e.forEach(function(e){if(e.match("color")){let u=e.replace("fill","bgFill").replace("color","fill");p[t].textStyles.push(u)}p[t].styles.push(e)})})},v=function(t){(s=t).match(/.*</)&&(s="RL"),s.match(/.*\^/)&&(s="BT"),s.match(/.*>/)&&(s="LR"),s.match(/.*v/)&&(s="TB"),"TD"===s&&(s="TB")},x=function(t,e){t.split(",").forEach(function(t){void 0!==h[t]&&h[t].classes.push(e),void 0!==y[t]&&y[t].classes.push(e)})},L=function(t,e,u){let s=F(t);if("loose"!==(0,n.c)().securityLevel||void 0===e)return;let i=[];if("string"==typeof u){i=u.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<i.length;t++){let e=i[t].trim();'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substr(1,e.length-2)),i[t]=e}}0===i.length&&i.push(t),void 0!==h[t]&&(h[t].haveCallback=!0,b.push(function(){let t=document.querySelector(`[id="${s}"]`);null!==t&&t.addEventListener("click",function(){n.u.runFunc(e,...i)},!1)}))},I=function(t,e,u){t.split(",").forEach(function(t){void 0!==h[t]&&(h[t].link=n.u.formatUrl(e,o),h[t].linkTarget=u)}),x(t,"clickable")},R=function(t){if(E.hasOwnProperty(t))return E[t]},N=function(t,e,u){t.split(",").forEach(function(t){L(t,e,u)}),x(t,"clickable")},$=function(t){b.forEach(function(e){e(t)})},O=function(){return s.trim()},P=function(){return h},w=function(){return A},U=function(){return p},M=function(t){let e=(0,r.Ys)(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=(0,r.Ys)("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),(0,r.Ys)(t).select("svg").selectAll("g.node").on("mouseover",function(){let t=(0,r.Ys)(this);if(null===t.attr("title"))return;let u=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.text(t.attr("title")).style("left",window.scrollX+u.left+(u.right-u.left)/2+"px").style("top",window.scrollY+u.top-14+document.body.scrollTop+"px"),e.html(e.html().replace(/<br\/>/g,"<br/>")),t.classed("hover",!0)}).on("mouseout",function(){e.transition().duration(500).style("opacity",0),(0,r.Ys)(this).classed("hover",!1)})};b.push(M);let V=function(t="gen-1"){h={},p={},A=[],b=[M],d=[],y={},f=0,E={},D=!0,i=t,(0,n.v)()},G=t=>{i=t||"gen-2"},K=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},Y=function(t,e,u){let s=t.text.trim(),r=u.text;t===u&&u.text.match(/\s/)&&(s=void 0);let a=[],{nodeList:c,dir:l}=function(t){let e;let u={boolean:{},number:{},string:{}},s=[];return{nodeList:t.filter(function(t){let i=typeof t;return t.stmt&&"dir"===t.stmt?(e=t.value,!1):""!==t.trim()&&(i in u?!u[i].hasOwnProperty(t)&&(u[i][t]=!0):!s.includes(t)&&s.push(t))}),dir:e}}(a.concat.apply(a,e));if(a=c,"gen-1"===i)for(let t=0;t<a.length;t++)a[t]=F(a[t]);s=s||"subGraph"+f,r=k(r=r||""),f+=1;let o={id:s,nodes:a,title:r.trim(),classes:[],dir:l,labelType:u.type};return n.l.info("Adding",o.id,o.nodes,o.dir),o.nodes=ti(o,d).nodes,d.push(o),y[s]=o,s},j=function(t){for(let[e,u]of d.entries())if(u.id===t)return e;return -1},X=-1,z=[],H=function(t,e){let u=d[e].nodes;if((X+=1)>2e3)return;if(z[X]=e,d[e].id===t)return{result:!0,count:0};let s=0,i=1;for(;s<u.length;){let e=j(u[s]);if(e>=0){let u=H(t,e);if(u.result)return{result:!0,count:i+u.count};i+=u.count}s+=1}return{result:!1,count:i}},W=function(t){return z[t]},Q=function(){X=-1,d.length>0&&H("none",d.length-1)},q=function(){return d},Z=()=>!!D&&(D=!1,!0),J=t=>{let e=t.trim(),u="arrow_open";switch(e[0]){case"<":u="arrow_point",e=e.slice(1);break;case"x":u="arrow_cross",e=e.slice(1);break;case"o":u="arrow_circle",e=e.slice(1)}let s="normal";return e.includes("=")&&(s="thick"),e.includes(".")&&(s="dotted"),{type:u,stroke:s}},tt=(t,e)=>{let u=e.length,s=0;for(let i=0;i<u;++i)e[i]===t&&++s;return s},te=t=>{let e=t.trim(),u=e.slice(0,-1),s="arrow_open";switch(e.slice(-1)){case"x":s="arrow_cross","x"===e[0]&&(s="double_"+s,u=u.slice(1));break;case">":s="arrow_point","<"===e[0]&&(s="double_"+s,u=u.slice(1));break;case"o":s="arrow_circle","o"===e[0]&&(s="double_"+s,u=u.slice(1))}let i="normal",r=u.length-1;"="===u[0]&&(i="thick"),"~"===u[0]&&(i="invisible");let n=tt(".",u);return n&&(i="dotted",r=n),{type:s,stroke:i,length:r}},tu=(t,e)=>{let u;let s=te(t);if(e){if((u=J(e)).stroke!==s.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===u.type)u.type=s.type;else{if(u.type!==s.type)return{type:"INVALID",stroke:"INVALID"};u.type="double_"+u.type}return"double_arrow"===u.type&&(u.type="double_arrow_point"),u.length=s.length,u}return s},ts=(t,e)=>{let u=!1;return t.forEach(t=>{t.nodes.indexOf(e)>=0&&(u=!0)}),u},ti=(t,e)=>{let u=[];return t.nodes.forEach((s,i)=>{ts(e,s)||u.push(t.nodes[i])}),{nodes:u}},tr={firstGraph:Z},tn={parseDirective:_,defaultConfig:()=>n.K.flowchart,setAccTitle:n.s,getAccTitle:n.g,getAccDescription:n.a,setAccDescription:n.b,addVertex:g,lookUpDomId:F,addLink:C,updateLinkInterpolate:B,updateLink:S,addClass:m,setDirection:v,setClass:x,setTooltip:function(t,e){t.split(",").forEach(function(t){void 0!==e&&(E["gen-1"===i?F(t):t]=k(e))})},getTooltip:R,setClickEvent:N,setLink:I,bindFunctions:$,getDirection:O,getVertices:P,getEdges:w,getClasses:U,clear:V,setGen:G,defaultStyle:K,addSubGraph:Y,getDepthFirstPos:W,indexNodes:Q,getSubGraphs:q,destructLink:tu,lex:tr,exists:ts,makeUniq:ti,setDiagramTitle:n.r,getDiagramTitle:n.t},ta=Object.freeze(Object.defineProperty({__proto__:null,addClass:m,addLink:C,addSingleLink:T,addSubGraph:Y,addVertex:g,bindFunctions:$,clear:V,default:tn,defaultStyle:K,destructLink:tu,firstGraph:Z,getClasses:U,getDepthFirstPos:W,getDirection:O,getEdges:w,getSubGraphs:q,getTooltip:R,getVertices:P,indexNodes:Q,lex:tr,lookUpDomId:F,parseDirective:_,setClass:x,setClickEvent:N,setDirection:v,setGen:G,setLink:I,updateLink:S,updateLinkInterpolate:B},Symbol.toStringTag,{value:"Module"}))}}]); |