var le=(e,p,g)=>new Promise((i,b)=>{var S=m=>{try{f(g.next(m))}catch(h){b(h)}},u=m=>{try{f(g.throw(m))}catch(h){b(h)}},f=m=>m.done?i(m.value):Promise.resolve(m.value).then(S,u);f((g=g.apply(e,p)).next())});import{_ as c,l as ne,d as z,I as ye,a6 as be,a7 as me,a8 as _e,a2 as Ee,D as J,i as G,p as ke,J as Se,a3 as Ne,a4 as ce,a5 as he}from"./chart-vendor-e1d59b84.js";import"./utils-vendor-c35799af.js";import"./vue-vendor-d751b0f5.js";var ee=function(){var e=c(function(y,s,t,a){for(t=t||{},a=y.length;a--;t[y[a]]=s);return t},"o"),p=[1,4],g=[1,13],i=[1,12],b=[1,15],S=[1,16],u=[1,20],f=[1,19],m=[6,7,8],h=[1,26],O=[1,24],L=[1,25],E=[6,7,11],I=[1,31],r=[6,7,11,24],V=[1,6,13,16,17,20,23],M=[1,35],U=[1,36],w=[1,6,7,11,13,16,17,20,23],j=[1,38],B={trace:c(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:c(function(s,t,a,l,d,n,T){var o=n.length-1;switch(d){case 6:case 7:return l;case 8:l.getLogger().trace("Stop NL ");break;case 9:l.getLogger().trace("Stop EOF ");break;case 11:l.getLogger().trace("Stop NL2 ");break;case 12:l.getLogger().trace("Stop EOF2 ");break;case 15:l.getLogger().info("Node: ",n[o-1].id),l.addNode(n[o-2].length,n[o-1].id,n[o-1].descr,n[o-1].type,n[o]);break;case 16:l.getLogger().info("Node: ",n[o].id),l.addNode(n[o-1].length,n[o].id,n[o].descr,n[o].type);break;case 17:l.getLogger().trace("Icon: ",n[o]),l.decorateNode({icon:n[o]});break;case 18:case 23:l.decorateNode({class:n[o]});break;case 19:l.getLogger().trace("SPACELIST");break;case 20:l.getLogger().trace("Node: ",n[o-1].id),l.addNode(0,n[o-1].id,n[o-1].descr,n[o-1].type,n[o]);break;case 21:l.getLogger().trace("Node: ",n[o].id),l.addNode(0,n[o].id,n[o].descr,n[o].type);break;case 22:l.decorateNode({icon:n[o]});break;case 27:l.getLogger().trace("node found ..",n[o-2]),this.$={id:n[o-1],descr:n[o-1],type:l.getType(n[o-2],n[o])};break;case 28:this.$={id:n[o],descr:n[o],type:0};break;case 29:l.getLogger().trace("node found ..",n[o-3]),this.$={id:n[o-3],descr:n[o-1],type:l.getType(n[o-2],n[o])};break;case 30:this.$=n[o-1]+n[o];break;case 31:this.$=n[o];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:p},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:p},{6:g,7:[1,10],9:9,12:11,13:i,14:14,16:b,17:S,18:17,19:18,20:u,23:f},e(m,[2,3]),{1:[2,2]},e(m,[2,4]),e(m,[2,5]),{1:[2,6],6:g,12:21,13:i,14:14,16:b,17:S,18:17,19:18,20:u,23:f},{6:g,9:22,12:11,13:i,14:14,16:b,17:S,18:17,19:18,20:u,23:f},{6:h,7:O,10:23,11:L},e(E,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:u,23:f}),e(E,[2,19]),e(E,[2,21],{15:30,24:I}),e(E,[2,22]),e(E,[2,23]),e(r,[2,25]),e(r,[2,26]),e(r,[2,28],{20:[1,32]}),{21:[1,33]},{6:h,7:O,10:34,11:L},{1:[2,7],6:g,12:21,13:i,14:14,16:b,17:S,18:17,19:18,20:u,23:f},e(V,[2,14],{7:M,11:U}),e(w,[2,8]),e(w,[2,9]),e(w,[2,10]),e(E,[2,16],{15:37,24:I}),e(E,[2,17]),e(E,[2,18]),e(E,[2,20],{24:j}),e(r,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:M,11:U}),e(w,[2,11]),e(w,[2,12]),e(E,[2,15],{24:j}),e(r,[2,30]),{22:[1,41]},e(r,[2,27]),e(r,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:c(function(s,t){if(t.recoverable)this.trace(s);else{var a=new Error(s);throw a.hash=t,a}},"parseError"),parse:c(function(s){var t=this,a=[0],l=[],d=[null],n=[],T=this.table,o="",H=0,W=0,ge=2,re=1,de=n.slice.call(arguments,1),k=Object.create(this.lexer),R={yy:{}};for(var q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,q)&&(R.yy[q]=this.yy[q]);k.setInput(s,R.yy),R.yy.lexer=k,R.yy.parser=this,typeof k.yylloc=="undefined"&&(k.yylloc={});var Q=k.yylloc;n.push(Q);var pe=k.options&&k.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function fe(x){a.length=a.length-2*x,d.length=d.length-x,n.length=n.length-x}c(fe,"popStack");function ae(){var x;return x=l.pop()||k.lex()||re,typeof x!="number"&&(x instanceof Array&&(l=x,x=l.pop()),x=t.symbols_[x]||x),x}c(ae,"lex");for(var N,P,v,Z,F={},K,C,oe,Y;;){if(P=a[a.length-1],this.defaultActions[P]?v=this.defaultActions[P]:((N===null||typeof N=="undefined")&&(N=ae()),v=T[P]&&T[P][N]),typeof v=="undefined"||!v.length||!v[0]){var $="";Y=[];for(K in T[P])this.terminals_[K]&&K>ge&&Y.push("'"+this.terminals_[K]+"'");k.showPosition?$="Parse error on line "+(H+1)+`: `+k.showPosition()+` Expecting `+Y.join(", ")+", got '"+(this.terminals_[N]||N)+"'":$="Parse error on line "+(H+1)+": Unexpected "+(N==re?"end of input":"'"+(this.terminals_[N]||N)+"'"),this.parseError($,{text:k.match,token:this.terminals_[N]||N,line:k.yylineno,loc:Q,expected:Y})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+N);switch(v[0]){case 1:a.push(N),d.push(k.yytext),n.push(k.yylloc),a.push(v[1]),N=null,W=k.yyleng,o=k.yytext,H=k.yylineno,Q=k.yylloc;break;case 2:if(C=this.productions_[v[1]][1],F.$=d[d.length-C],F._$={first_line:n[n.length-(C||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(C||1)].first_column,last_column:n[n.length-1].last_column},pe&&(F._$.range=[n[n.length-(C||1)].range[0],n[n.length-1].range[1]]),Z=this.performAction.apply(F,[o,W,H,R.yy,v[1],d,n].concat(de)),typeof Z!="undefined")return Z;C&&(a=a.slice(0,-1*C*2),d=d.slice(0,-1*C),n=n.slice(0,-1*C)),a.push(this.productions_[v[1]][0]),d.push(F.$),n.push(F._$),oe=T[a[a.length-2]][a[a.length-1]],a.push(oe);break;case 3:return!0}}return!0},"parse")},X=function(){var y={EOF:1,parseError:c(function(t,a){if(this.yy.parser)this.yy.parser.parseError(t,a);else throw new Error(t)},"parseError"),setInput:c(function(s,t){return this.yy=t||this.yy||{},this._input=s,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:c(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var t=s.match(/(?:\r\n?|\n).*/g);return t?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:c(function(s){var t=s.length,a=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var l=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 d=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===l.length?this.yylloc.first_column:0)+l[l.length-a.length].length-a[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:c(function(){return this._more=!0,this},"more"),reject:c(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:c(function(s){this.unput(this.match.slice(s))},"less"),pastInput:c(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:c(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:c(function(){var s=this.pastInput(),t=new Array(s.length+1).join("-");return s+this.upcomingInput()+` `+t+"^"},"showPosition"),test_match:c(function(s,t){var a,l,d;if(this.options.backtrack_lexer&&(d={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&&(d.yylloc.range=this.yylloc.range.slice(0))),l=s[0].match(/(?:\r\n?|\n).*/g),l&&(this.yylineno+=l.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:l?l[l.length-1].length-l[l.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,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(s[0].length),this.matched+=s[0],a=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var n in d)this[n]=d[n];return!1}return!1},"test_match"),next:c(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,t,a,l;this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),n=0;nt[0].length)){if(t=a,l=n,this.options.backtrack_lexer){if(s=this.test_match(a,d[n]),s!==!1)return s;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(s=this.test_match(t,d[l]),s!==!1?s:!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:c(function(){var t=this.next();return t||this.lex()},"lex"),begin:c(function(t){this.conditionStack.push(t)},"begin"),popState:c(function(){var t=this.conditionStack.length-1;return t>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:c(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:c(function(t){return t=this.conditionStack.length-1-Math.abs(t||0),t>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:c(function(t){this.begin(t)},"pushState"),stateStackSize:c(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:c(function(t,a,l,d){switch(l){case 0:return this.pushState("shapeData"),a.yytext="",24;case 1:return this.pushState("shapeDataStr"),24;case 2:return this.popState(),24;case 3:const n=/\n\s*/g;return a.yytext=a.yytext.replace(n,"
"),24;case 4:return 24;case 5:this.popState();break;case 6:return t.getLogger().trace("Found comment",a.yytext),6;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;case 10:this.popState();break;case 11:t.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return t.getLogger().trace("SPACELINE"),6;case 13:return 7;case 14:return 16;case 15:t.getLogger().trace("end icon"),this.popState();break;case 16:return t.getLogger().trace("Exploding node"),this.begin("NODE"),20;case 17:return t.getLogger().trace("Cloud"),this.begin("NODE"),20;case 18:return t.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;case 19:return t.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;case 20:return this.begin("NODE"),20;case 21:return this.begin("NODE"),20;case 22:return this.begin("NODE"),20;case 23:return this.begin("NODE"),20;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 29:this.popState();break;case 30:t.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return t.getLogger().trace("description:",a.yytext),"NODE_DESCR";case 32:this.popState();break;case 33:return this.popState(),t.getLogger().trace("node end ))"),"NODE_DEND";case 34:return this.popState(),t.getLogger().trace("node end )"),"NODE_DEND";case 35:return this.popState(),t.getLogger().trace("node end ...",a.yytext),"NODE_DEND";case 36:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 37:return this.popState(),t.getLogger().trace("node end (-"),"NODE_DEND";case 38:return this.popState(),t.getLogger().trace("node end (-"),"NODE_DEND";case 39:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 40:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 41:return t.getLogger().trace("Long description:",a.yytext),21;case 42:return t.getLogger().trace("Long description:",a.yytext),21}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}};return y}();B.lexer=X;function A(){this.yy={}}return c(A,"Parser"),A.prototype=B,B.Parser=A,new A}();ee.parser=ee;var xe=ee,D=[],se=[],te=0,ie={},ve=c(()=>{D=[],se=[],te=0,ie={}},"clear"),De=c(e=>{if(D.length===0)return null;const p=D[0].level;let g=null;for(let i=D.length-1;i>=0;i--)if(D[i].level===p&&!g&&(g=D[i]),D[i].levelh.parentId===u.id);for(const h of m){const O={id:h.id,parentId:u.id,label:G((S=h.label)!=null?S:"",i),isGroup:!1,ticket:h==null?void 0:h.ticket,priority:h==null?void 0:h.priority,assigned:h==null?void 0:h.assigned,icon:h==null?void 0:h.icon,shape:"kanbanItem",level:h.level,rx:5,ry:5,cssStyles:["text-align: left"]};p.push(O)}}return{nodes:p,edges:e,other:{},config:z()}},"getData"),Oe=c((e,p,g,i,b)=>{var h,O,L,E;const S=z();let u=(O=(h=S.mindmap)==null?void 0:h.padding)!=null?O:J.mindmap.padding;switch(i){case _.ROUNDED_RECT:case _.RECT:case _.HEXAGON:u*=2}const f={id:G(p,S)||"kbn"+te++,level:e,label:G(g,S),width:(E=(L=S.mindmap)==null?void 0:L.maxNodeWidth)!=null?E:J.mindmap.maxNodeWidth,padding:u,isGroup:!1};if(b!==void 0){let I;b.includes(` `)?I=b+` `:I=`{ `+b+` }`;const r=ke(I,{schema:Se});if(r.shape&&(r.shape!==r.shape.toLowerCase()||r.shape.includes("_")))throw new Error(`No such shape: ${r.shape}. Shape names should be lowercase.`);r!=null&&r.shape&&r.shape==="kanbanItem"&&(f.shape=r==null?void 0:r.shape),r!=null&&r.label&&(f.label=r==null?void 0:r.label),r!=null&&r.icon&&(f.icon=r==null?void 0:r.icon.toString()),r!=null&&r.assigned&&(f.assigned=r==null?void 0:r.assigned.toString()),r!=null&&r.ticket&&(f.ticket=r==null?void 0:r.ticket.toString()),r!=null&&r.priority&&(f.priority=r==null?void 0:r.priority)}const m=De(e);m?f.parentId=m.id||"kbn"+te++:se.push(f),D.push(f)},"addNode"),_={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},Ie=c((e,p)=>{switch(ne.debug("In get type",e,p),e){case"[":return _.RECT;case"(":return p===")"?_.ROUNDED_RECT:_.CLOUD;case"((":return _.CIRCLE;case")":return _.CLOUD;case"))":return _.BANG;case"{{":return _.HEXAGON;default:return _.DEFAULT}},"getType"),Ce=c((e,p)=>{ie[e]=p},"setElementForId"),we=c(e=>{if(!e)return;const p=z(),g=D[D.length-1];e.icon&&(g.icon=G(e.icon,p)),e.class&&(g.cssClasses=G(e.class,p))},"decorateNode"),Ae=c(e=>{switch(e){case _.DEFAULT:return"no-border";case _.RECT:return"rect";case _.ROUNDED_RECT:return"rounded-rect";case _.CIRCLE:return"circle";case _.CLOUD:return"cloud";case _.BANG:return"bang";case _.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),Te=c(()=>ne,"getLogger"),Re=c(e=>ie[e],"getElementById"),Pe={clear:ve,addNode:Oe,getSections:ue,getData:Le,nodeType:_,getType:Ie,setElementForId:Ce,decorateNode:we,type2Str:Ae,getLogger:Te,getElementById:Re},Ve=Pe,Be=c((e,p,g,i)=>le(void 0,null,function*(){var M,U,w,j,B,X,A;ne.debug(`Rendering kanban diagram `+e);const S=i.db.getData(),u=z();u.htmlLabels=!1;const f=ye(p),m=f.append("g");m.attr("class","sections");const h=f.append("g");h.attr("class","items");const O=S.nodes.filter(y=>y.isGroup);let L=0;const E=10,I=[];let r=25;for(const y of O){const s=((M=u==null?void 0:u.kanban)==null?void 0:M.sectionWidth)||200;L=L+1,y.x=s*L+(L-1)*E/2,y.width=s,y.y=0,y.height=s*3,y.rx=5,y.ry=5,y.cssClasses=y.cssClasses+" section-"+L;const t=yield be(m,y);r=Math.max(r,(U=t==null?void 0:t.labelBBox)==null?void 0:U.height),I.push(t)}let V=0;for(const y of O){const s=I[V];V=V+1;const t=((w=u==null?void 0:u.kanban)==null?void 0:w.sectionWidth)||200,a=-t*3/2+r;let l=a;const d=S.nodes.filter(o=>o.parentId===y.id);for(const o of d){if(o.isGroup)throw new Error("Groups within groups are not allowed in Kanban diagrams");o.x=y.x,o.width=t-1.5*E;const W=(yield me(h,o,{config:u})).node().getBBox();o.y=l+W.height/2,yield _e(o),l=o.y+W.height/2+E/2}const n=s.cluster.select("rect"),T=Math.max(l-a+3*E,50)+(r-25);n.attr("height",T)}Ee(void 0,f,(B=(j=u.mindmap)==null?void 0:j.padding)!=null?B:J.kanban.padding,(A=(X=u.mindmap)==null?void 0:X.useMaxWidth)!=null?A:J.kanban.useMaxWidth)}),"draw"),Fe={draw:Be},Ge=c(e=>{let p="";for(let i=0;ie.darkMode?he(i,b):ce(i,b),"adjuster");for(let i=0;i` .edge { stroke-width: 3; } ${Ge(e)} .section-root rect, .section-root path, .section-root circle, .section-root polygon { fill: ${e.git0}; } .section-root text { fill: ${e.gitBranchLabel0}; } .icon-container { height:100%; display: flex; justify-content: center; align-items: center; } .edge { fill: none; } .cluster-label, .label { color: ${e.textColor}; fill: ${e.textColor}; } .kanban-label { dy: 1em; alignment-baseline: middle; text-anchor: middle; dominant-baseline: middle; text-align: center; } `,"getStyles"),Ue=Me,Xe={db:Ve,renderer:Fe,parser:xe,styles:Ue};export{Xe as diagram};