1"use strict";(self.webpackChunkSlideSquad=self.webpackChunkSlideSquad||[]).push([[1927],{87358:(_e,H,_)=>{_.d(H,{o:()=>Y});var Y=(0,_(26526).K2)(()=>"\n /* Font Awesome icon styling - consolidated */\n .label-icon {\n display: inline-block;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n }\n \n .node .label-icon path {\n fill: currentColor;\n stroke: revert;\n stroke-width: revert;\n }\n","getIconStyles")},51927:(_e,H,_)=>{_.r(H),_.d(H,{diagram:()=>Ue});var Q=_(10467),Y=_(39089),ye=_(87358),oe=_(58920),J=_(71627),E=(_(49548),_(3261),_(10139),_(78485),_(99317)),o=_(26526),be=_(30321),le=_(74328),ce=_(77376),q=function(){var e=(0,o.K2)(function(C,s,t,r){for(t=t||{},r=C.length;r--;t[C[r]]=s);return t},"o"),u=[1,4],p=[1,13],i=[1,12],d=[1,15],O=[1,16],S=[1,20],c=[1,19],L=[6,7,8],A=[1,26],g=[1,24],F=[1,25],k=[6,7,11],R=[1,31],I=[6,7,11,24],P=[1,6,13,16,17,20,23],B=[1,35],f=[1,36],x=[1,6,7,11,13,16,17,20,23],T=[1,38],j={trace:(0,o.K2)(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:(0,o.K2)(function(s,t,r,a,h,n,M){var l=n.length-1;switch(h){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",n[l-1].id),a.addNode(n[l-2].length,n[l-1].id,n[l-1].descr,n[l-1].type,n[l]);break;case 16:a.getLogger().info("Node: ",n[l].id),a.addNode(n[l-1].length,n[l].id,n[l].descr,n[l].type);break;case 17:a.getLogger().trace("Icon: ",n[l]),a.decorateNode({icon:n[l]});break;case 18:case 23:a.decorateNode({class:n[l]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",n[l-1].id),a.addNode(0,n[l-1].id,n[l-1].descr,n[l-1].type,n[l]);break;case 21:a.getLogger().trace("Node: ",n[l].id),a.addNode(0,n[l].id,n[l].descr,n[l].type);break;case 22:a.decorateNode({icon:n[l]});break;case 27:a.getLogger().trace("node found ..",n[l-2]),this.$={id:n[l-1],descr:n[l-1],type:a.getType(n[l-2],n[l])};break;case 28:this.$={id:n[l],descr:n[l],type:0};break;case 29:a.getLogger().trace("node found ..",n[l-3]),this.$={id:n[l-3],descr:n[l-1],type:a.getType(n[l-2],n[l])};break;case 30:this.$=n[l-1]+n[l];break;case 31:this.$=n[l]}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:u},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:u},{6:p,7:[1,10],9:9,12:11,13:i,14:14,16:d,17:O,18:17,19:18,20:S,23:c},e(L,[2,3]),{1:[2,2]},e(L,[2,4]),e(L,[2,5]),{1:[2,6],6:p,12:21,13:i,14:14,16:d,17:O,18:17,19:18,20:S,23:c},{6:p,9:22,12:11,13:i,14:14,16:d,17:O,18:17,19:18,20:S,23:c},{6:A,7:g,10:23,11:F},e(k,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:S,23:c}),e(k,[2,19]),e(k,[2,21],{15:30,24:R}),e(k,[2,22]),e(k,[2,23]),e(I,[2,25]),e(I,[2,26]),e(I,[2,28],{20:[1,32]}),{21:[1,33]},{6:A,7:g,10:34,11:F},{1:[2,7],6:p,12:21,13:i,14:14,16:d,17:O,18:17,19:18,20:S,23:c},e(P,[2,14],{7:B,11:f}),e(x,[2,8]),e(x,[2,9]),e(x,[2,10]),e(k,[2,16],{15:37,24:R}),e(k,[2,17]),e(k,[2,18]),e(k,[2,20],{24:T}),e(I,[2,31]),{21:[1,39]},{22:[1,40]},e(P,[2,13],{7:B,11:f}),e(x,[2,11]),e(x,[2,12]),e(k,[2,15],{24:T}),e(I,[2,30]),{22:[1,41]},e(I,[2,27]),e(I,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:(0,o.K2)(function(s,t){if(!t.recoverable){var r=new Error(s);throw r.hash=t,r}this.trace(s)},"parseError"),parse:(0,o.K2)(function(s){var t=this,r=[0],a=[],h=[null],n=[],M=this.table,l="",Z=0,ue=0,de=0,Be=n.slice.call(arguments,1
1),b=Object.create(this.lexer),U={yy:{}};for(var ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ne)&&(U.yy[ne]=this.yy[ne]);b.setInput(s,U.yy),U.yy.lexer=b,U.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var se=b.yylloc;n.push(se);var je=b.options&&b.options.ranges;function pe(){var D;return"number"!=typeof(D=a.pop()||b.lex()||1)&&(D instanceof Array&&(D=(a=D).pop()),D=t.symbols_[D]||D),D}this.parseError="function"==typeof U.yy.parseError?U.yy.parseError:Object.getPrototypeOf(this).parseError,(0,o.K2)(function We(D){r.length=r.length-2*D,h.length=h.length-D,n.length=n.length-D},"popStack"),(0,o.K2)(pe,"lex");for(var m,ie,w,N,re,X,K,z,V={};;){if(this.defaultActions[w=r[r.length-1]]?N=this.defaultActions[w]:((null===m||typeof m>"u")&&(m=pe()),N=M[w]&&M[w][m]),typeof N>"u"||!N.length||!N[0]){var ae;for(X in z=[],M[w])this.terminals_[X]&&X>2&&z.push("'"+this.terminals_[X]+"'");ae=b.showPosition?"Parse error on line "+(Z+1)+":\n"+b.showPosition()+"\nExpecting "+z.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(Z+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(ae,{text:b.match,token:this.terminals_[m]||m,line:b.yylineno,loc:se,expected:z})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+m);switch(N[0]){case 1:r.push(m),h.push(b.yytext),n.push(b.yylloc),r.push(N[1]),m=null,ie?(m=ie,ie=null):(ue=b.yyleng,l=b.yytext,Z=b.yylineno,se=b.yylloc,de>0&&de--);break;case 2:if(V.$=h[h.length-(K=this.productions_[N[1]][1])],V._$={first_line:n[n.length-(K||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(K||1)].first_column,last_column:n[n.length-1].last_column},je&&(V._$.range=[n[n.length-(K||1)].range[0],n[n.length-1].range[1]]),typeof(re=this.performAction.apply(V,[l,ue,Z,U.yy,N[1],h,n].concat(Be)))<"u")return re;K&&(r=r.slice(0,-1*K*2),h=h.slice(0,-1*K),n=n.slice(0,-1*K)),r.push(this.productions_[N[1]][0]),h.push(V.$),n.push(V._$),r.push(M[r[r.length-2]][r[r.length-1]]);break;case 3:return!0}}return!0},"parse")};function W(){this.yy={}}return j.lexer=function(){return{EOF:1,parseError:(0,o.K2)(function(t,r){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,r)},"parseError"),setInput:(0,o.K2)(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:(0,o.K2)(function(){var s=this._input[0];return this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s,s.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),s},"input"),unput:(0,o.K2)(function(s){var t=s.length,r=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 a=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),r.length-1&&(this.yylineno-=r.length-1);var h=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:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[h[0],h[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,o.K2)(function(){return this._more=!0,this},"more"),reject:(0,o.K2)(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})},"reject"),less:(0,o.K2)(function(s){this.unput(this.match.slice(s))},"less"),pastInput:(0,o.K2)(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:(0,o.K2)(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:(0,o.K2)(function(){var s=this.pastInput(),t=new Array(s.length+1).join("-");return s+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,o.K2)(function(s,t){var r,a,h;if(this.options.backtrack_lexer&&(h={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&&(h.yylloc.range=this.yylloc.range.slice(0))),(a=s[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.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],r=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var n in h)this[n]=h[n];return!1}return!1},"test_match"),next:(0,o.K2)(function(){if(this.done)return this.EOF;var s,t,r,a;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var h=this._currentRules(),n=0;n<h.length;n++)if((r=this._input.match(this.rules[h[n]]))&&(!t||r[0].length>t[0].length)){if(t=r,a=n,this.options.backtrack_lexer){if(!1!==(s=this.test_match(r,h[n])))return s;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(s=this.test_match(t,h[a]))&&s:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,o.K2)(function(){return this.next()||this.lex()},"lex"),begin:(0,o.K2)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,o.K2)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,o.K2)(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:(0,o.K2)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,o.K2)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,o.K2)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,o.K2)(function(t,r,a,h){switch(a){case 0:return this.pushState("shapeData"),r.yytext="",24;case 1:return this.pushState("shapeDataStr"),24;case 2:return this.popState(),24;case 3:return r.yytext=r.yytext.replace(/\n\s*/g,"<br/>"),24;case 4:return 24;case 5:case 10:case 29:case 32:this.popState();break;case 6:return t.getLogger().trace("Found comment",r.yytext),6;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;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:case 21:case 22: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 30:t.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;
1case 31:return t.getLogger().trace("description:",r.yytext),"NODE_DESCR";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 ...",r.yytext),"NODE_DEND";case 36:case 39:case 40:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 37:case 38:return this.popState(),t.getLogger().trace("node end (-"),"NODE_DEND";case 41:case 42:return t.getLogger().trace("Long description:",r.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}}}}(),(0,o.K2)(W,"Parser"),W.prototype=j,j.Parser=W,new W}();q.parser=q;var Ee=q,v=[],$=[],ee=0,te={},ke=(0,o.K2)(()=>{v=[],$=[],ee=0,te={}},"clear"),me=(0,o.K2)(e=>{if(0===v.length)return null;const u=v[0].level;let p=null;for(let i=v.length-1;i>=0;i--)if(v[i].level===u&&!p&&(p=v[i]),v[i].level<u)throw new Error('Items without section detected, found section ("'+v[i].label+'")');return e===p?.level?null:p},"getSection"),he=(0,o.K2)(function(){return $},"getSections"),Se=(0,o.K2)(function(){const u=[],p=he(),i=(0,E.D7)();for(const d of p){const O={id:d.id,label:(0,E.jZ)(d.label??"",i),labelType:"markdown",isGroup:!0,ticket:d.ticket,shape:"kanbanSection",level:d.level,look:i.look};u.push(O);const S=v.filter(c=>c.parentId===d.id);for(const c of S){const L={id:c.id,parentId:d.id,label:(0,E.jZ)(c.label??"",i),labelType:"markdown",isGroup:!1,ticket:c?.ticket,priority:c?.priority,assigned:c?.assigned,icon:c?.icon,shape:"kanbanItem",level:c.level,rx:5,ry:5,cssStyles:["text-align: left"]};u.push(L)}}return{nodes:u,edges:[],other:{},config:(0,E.D7)()}},"getData"),De=(0,o.K2)((e,u,p,i,d)=>{const O=(0,E.D7)();let S=O.mindmap?.padding??E.UI.mindmap.padding;switch(i){case y.ROUNDED_RECT:case y.RECT:case y.HEXAGON:S*=2}const c={id:(0,E.jZ)(u,O)||"kbn"+ee++,level:e,label:(0,E.jZ)(p,O),width:O.mindmap?.maxNodeWidth??E.UI.mindmap.maxNodeWidth,padding:S,isGroup:!1};if(void 0!==d){let A;A=d.includes("\n")?d+"\n":"{\n"+d+"\n}";const g=(0,oe.H)(A,{schema:oe.r});if(g.shape&&(g.shape!==g.shape.toLowerCase()||g.shape.includes("_")))throw new Error(`No such shape: ${g.shape}. Shape names should be lowercase.`);g?.shape&&"kanbanItem"===g.shape&&(c.shape=g?.shape),g?.label&&(c.label=g?.label),g?.icon&&(c.icon=g?.icon.toString()),g?.assigned&&(c.assigned=g?.assigned.toString()),g?.ticket&&(c.ticket=g?.ticket.toString()),g?.priority&&(c.priority=g?.priority)}const L=me(e);L?c.parentId=L.id||"kbn"+ee++:$.push(c),v.push(c)},"addNode"),y={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},Ae={clear:ke,addNode:De,getSections:he,getData:Se,nodeType:y,getType:(0,o.K2)((e,u)=>{switch(o.Rm.debug("In get type",e,u),e){case"[":return y.RECT;case"(":return")"===u?y.ROUNDED_RECT:y.CLOUD;case"((":return y.CIRCLE;case")":return y.CLOUD;case"))":return y.BANG;case"{{":return y.HEXAGON;default:return y.DEFAULT}},"getType"),setElementForId:(0,o.K2)((e,u)=>{te[e]=u},"setElementForId"),decorateNode:(0,o.K2)(e=>{if(!e)return;const u=(0,E.D7)(),p=v[v.length-1];
1e.icon&&(p.icon=(0,E.jZ)(e.icon,u)),e.class&&(p.cssClasses=(0,E.jZ)(e.class,u))},"decorateNode"),type2Str:(0,o.K2)(e=>{switch(e){case y.DEFAULT:return"no-border";case y.RECT:return"rect";case y.ROUNDED_RECT:return"rounded-rect";case y.CIRCLE:return"circle";case y.CLOUD:return"cloud";case y.BANG:return"bang";case y.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),getLogger:(0,o.K2)(()=>o.Rm,"getLogger"),getElementById:(0,o.K2)(e=>te[e],"getElementById")},Te={draw:(0,o.K2)(function(){var e=(0,Q.A)(function*(u,p,i,d){o.Rm.debug("Rendering kanban diagram\n"+u);const S=d.db.getData(),c=(0,E.D7)();c.htmlLabels=!1;const L=(0,Y.D)(p);for(const f of S.nodes)f.domId=`${p}-${f.id}`;const A=L.append("g");A.attr("class","sections");const g=L.append("g");g.attr("class","items");const F=S.nodes.filter(f=>f.isGroup);let k=0;const I=[];let P=25;for(const f of F){const x=c?.kanban?.sectionWidth||200;k+=1,f.x=x*k+10*(k-1)/2,f.width=x,f.y=0,f.height=3*x,f.rx=5,f.ry=5,f.cssClasses=f.cssClasses+" section-"+k;const T=yield(0,J.U)(A,f);P=Math.max(P,T?.labelBBox?.height),I.push(T)}let B=0;for(const f of F){const x=I[B];B+=1;const T=c?.kanban?.sectionWidth||200,j=3*-T/2+P;let G=j;const W=S.nodes.filter(t=>t.parentId===f.id);for(const t of W){if(t.isGroup)throw new Error("Groups within groups are not allowed in Kanban diagrams");t.x=f.x,t.width=T-15;const a=(yield(0,J.on)(g,t,{config:c})).node().getBBox();t.y=G+a.height/2,yield(0,J.U_)(t),G=t.y+a.height/2+5}const C=x.cluster.select("rect"),s=Math.max(G-j+30,50)+(P-25);C.attr("height",s)}(0,E.ot)(void 0,L,c.mindmap?.padding??E.UI.kanban.padding,c.mindmap?.useMaxWidth??E.UI.kanban.useMaxWidth)});return function(u,p,i,d){return e.apply(this,arguments)}}(),"draw")},Re=(0,o.K2)(e=>{let u="";for(let i=0;i<e.THEME_COLOR_LIMIT;i++)e["lineColor"+i]=e["lineColor"+i]||e["cScaleInv"+i],e["lineColor"+i]=(0,be.A)(e["lineColor"+i])?(0,le.A)(e["lineColor"+i],20):(0,ce.A)(e["lineColor"+i],20);const p=(0,o.K2)((i,d)=>e.darkMode?(0,ce.A)(i,d):(0,le.A)(i,d),"adjuster");for(let i=0;i<e.THEME_COLOR_LIMIT;i++){const d=""+(17-3*i);u+=`\n .section-${i-1} rect, .section-${i-1} path, .section-${i-1} circle, .section-${i-1} polygon, .section-${i-1} path {\n fill: ${p(e["cScale"+i],10)};\n stroke: ${p(e["cScale"+i],10)};\n\n }\n .section-${i-1} text {\n fill: ${e["cScaleLabel"+i]};\n }\n .node-icon-${i-1} {\n font-size: 40px;\n color: ${e["cScaleLabel"+i]};\n }\n .section-edge-${i-1}{\n stroke: ${e["cScale"+i]};\n }\n .edge-depth-${i-1}{\n stroke-width: ${d};\n }\n .section-${i-1} line {\n stroke: ${e["cScaleInv"+i]} ;\n stroke-width: 3;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: lightgray;\n }\n .disabled text {\n fill: #efefef;\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.background};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n\n .kanban-ticket-link {\n fill: ${e.background};\n stroke: ${e.nodeBorder};\n text-decoration: underline;\n }\n `}return u},"genSections"),Ue={db:Ae,renderer:Te,parser:Ee,styles:(0,o.K2)(e=>`\n .edge {\n stroke-width: 3;\n }\n ${Re(e)}\n .section-root rect, .section-root path, .section-root circle, .section-root polygon {\n fill: ${e.git0};\n }\n .section-root text {\n fill: ${e.gitBranchLabel0};\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;
1\n align-items: center;\n }\n .edge {\n fill: none;\n }\n .cluster-label, .label {\n color: ${e.textColor};\n fill: ${e.textColor};\n }\n .kanban-label {\n dy: 1em;\n alignment-baseline: middle;\n text-anchor: middle;\n dominant-baseline: middle;\n text-align: center;\n }\n ${(0,ye.o)()}\n`,"getStyles")}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.