1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9266],{24024:function(e,t,n){n.d(t,{q:function(){return s}});var i=n(97663),o=n(77007),s=(0,i.eW)((e,t)=>{let n;"sandbox"===t&&(n=(0,o.Ys)("#i"+e));let i="sandbox"===t?(0,o.Ys)(n.nodes()[0].contentDocument.body):(0,o.Ys)("body"),s=i.select(`[id="${e}"]`);return s},"getDiagramElement")},753:function(e,t,n){n.d(t,{j:function(){return s}});var i=n(31513),o=n(97663),s=(0,o.eW)((e,t,n,s)=>{e.attr("class",n);let{width:c,height:l,x:h,y:d}=r(e,t);(0,i.v2)(e,l,c,s);let u=a(h,d,c,l,t);e.attr("viewBox",u),o.cM.debug(`viewBox configured: ${u} with padding: ${t}`)},"setupViewPortForSVG"),r=(0,o.eW)((e,t)=>{let n=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:n.width+2*t,height:n.height+2*t,x:n.x,y:n.y}},"calculateDimensionsWithPadding"),a=(0,o.eW)((e,t,n,i,o)=>`${e-o} ${t-o} ${n} ${i}`,"createViewBox")},89266:function(e,t,n){n.d(t,{diagram:function(){return _}});var i=n(24024),o=n(753),s=n(70787);n(25162),n(69159),n(96184),n(93003),n(4843),n(78957),n(22036);var r=n(31513),a=n(97663),c=n(72540),l=n(92400),h=n(41859),d=n(51553),u=function(){var e=(0,a.eW)(function(e,t,n,i){for(n=n||{},i=e.length;i--;n[e[i]]=t);return n},"o"),t=[1,4],n=[1,13],i=[1,12],o=[1,15],s=[1,16],r=[1,20],c=[1,19],l=[6,7,8],h=[1,26],d=[1,24],u=[1,25],g=[6,7,11],p=[1,6,13,15,16,19,22],y=[1,33],m=[1,34],f=[1,6,7,11,13,15,16,19,22],_={trace:(0,a.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},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,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:(0,a.eW)(function(e,t,n,i,o,s,r){var a=s.length-1;switch(o){case 6:case 7:return i;case 8:i.getLogger().trace("Stop NL ");break;case 9:i.getLogger().trace("Stop EOF ");break;case 11:i.getLogger().trace("Stop NL2 ");break;case 12:i.getLogger().trace("Stop EOF2 ");break;case 15:i.getLogger().info("Node: ",s[a].id),i.addNode(s[a-1].length,s[a].id,s[a].descr,s[a].type);break;case 16:i.getLogger().trace("Icon: ",s[a]),i.decorateNode({icon:s[a]});break;case 17:case 21:i.decorateNode({class:s[a]});break;case 18:i.getLogger().trace("SPACELIST");break;case 19:i.getLogger().trace("Node: ",s[a].id),i.addNode(0,s[a].id,s[a].descr,s[a].type);break;case 20:i.decorateNode({icon:s[a]});break;case 25:i.getLogger().trace("node found ..",s[a-2]),this.$={id:s[a-1],descr:s[a-1],type:i.getType(s[a-2],s[a])};break;case 26:this.$={id:s[a],descr:s[a],type:i.nodeType.DEFAULT};break;case 27:i.getLogger().trace("node found ..",s[a-3]),this.$={id:s[a-3],descr:s[a-1],type:i.getType(s[a-2],s[a])}}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:t},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:t},{6:n,7:[1,10],9:9,12:11,13:i,14:14,15:o,16:s,17:17,18:18,19:r,22:c},e(l,[2,3]),{1:[2,2]},e(l,[2,4]),e(l,[2,5]),{1:[2,6],6:n,12:21,13:i,14:14,15:o,16:s,17:17,18:18,19:r,22:c},{6:n,9:22,12:11,13:i,14:14,15:o,16:s,17:17,18:18,19:r,22:c},{6:h,7:d,10:23,11:u},e(g,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:r,22:c}),e(g,[2,18]),e(g,[2,19]),e(g,[2,20]),e(g,[2,21]),e(g,[2,23]),e(g,[2,24]),e(g,[2,26],{19:[1,30]}),{20:[1,31]},{6:h,7:d,10:32,11:u},{1:[2,7],6:n,12:21,13:i,14:14,15:o,16:s,17:17,18:18,19:r,22:c},e(p,[2,14],{7:y,11:m}),e(f,[2,8]),e(f,[2,9]),e(f,[2,10]),e(g,[2,15]),e(g,[2,16]),e(g,[2,17]),{20:[1,35]},{21:[1,36]},e(p,[2,13],{7:y,11:m}),e(f,[2,11]),e(f,[2,12]),{21:[1,37]},e(g,[2,25]),e(g,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:(0,a.eW)(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},"parseError"),parse:(0,a.eW)(function(e){var t=this,n=[0],i=[],o=[null],s=[],r=this.table,c="",l=0,h=0,d=0,u=s.slice.call(arguments,1
1),g=Object.create(this.lexer),p={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(p.yy[y]=this.yy[y]);g.setInput(e,p.yy),p.yy.lexer=g,p.yy.parser=this,void 0===g.yylloc&&(g.yylloc={});var m=g.yylloc;s.push(m);var f=g.options&&g.options.ranges;function _(){var e;return"number"!=typeof(e=i.pop()||g.lex()||1)&&(e instanceof Array&&(e=(i=e).pop()),e=t.symbols_[e]||e),e}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,a.eW)(function(e){n.length=n.length-2*e,o.length=o.length-e,s.length=s.length-e},"popStack"),(0,a.eW)(_,"lex");for(var b,E,k,S,N,x,L,D,$,v={};;){if(k=n[n.length-1],this.defaultActions[k]?S=this.defaultActions[k]:(null==b&&(b=_()),S=r[k]&&r[k][b]),void 0===S||!S.length||!S[0]){var O="";for(x in $=[],r[k])this.terminals_[x]&&x>2&&$.push("'"+this.terminals_[x]+"'");O=g.showPosition?"Parse error on line "+(l+1)+":\n"+g.showPosition()+"\nExpecting "+$.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(O,{text:g.match,token:this.terminals_[b]||b,line:g.yylineno,loc:m,expected:$})}if(S[0]instanceof Array&&S.length>1)throw Error("Parse Error: multiple actions possible at state: "+k+", token: "+b);switch(S[0]){case 1:n.push(b),o.push(g.yytext),s.push(g.yylloc),n.push(S[1]),b=null,E?(b=E,E=null):(h=g.yyleng,c=g.yytext,l=g.yylineno,m=g.yylloc,d>0&&d--);break;case 2:if(L=this.productions_[S[1]][1],v.$=o[o.length-L],v._$={first_line:s[s.length-(L||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(L||1)].first_column,last_column:s[s.length-1].last_column},f&&(v._$.range=[s[s.length-(L||1)].range[0],s[s.length-1].range[1]]),void 0!==(N=this.performAction.apply(v,[c,h,l,p.yy,S[1],o,s].concat(u))))return N;L&&(n=n.slice(0,-1*L*2),o=o.slice(0,-1*L),s=s.slice(0,-1*L)),n.push(this.productions_[S[1]][0]),o.push(v.$),s.push(v._$),D=r[n[n.length-2]][n[n.length-1]],n.push(D);break;case 3:return!0}}return!0},"parse")},b={EOF:1,parseError:(0,a.eW)(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},"parseError"),setInput:(0,a.eW)(function(e,t){return this.yy=t||this.yy||{},this._input=e,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,a.eW)(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.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),e},"input"),unput:(0,a.eW)(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var i=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),n.length-1&&(this.yylineno-=n.length-1);var o=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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,a.eW)(function(){return this._more=!0,this},"more"),reject:(0,a.eW)(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,a.eW)(function(e){this.unput(this.match.slice(e))},"less"),pastInput:(0,a.eW)(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,a.eW)(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,a.eW)(function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,a.eW)(function(e,t){var n,i,o;if(this.options.backtrack_lexer&&(o={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&&(o.yylloc.range=this.yylloc.range.slice(0))),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,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(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var s in o)this[s]=o[s];return!1},"test_match"),next:(0,a.eW)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var e,t,n,i,o=this._currentRules(),s=0;s<o.length;s++)if((n=this._input.match(this.rules[o[s]]))&&(!t||n[0].length>t[0].length)){if(t=n,i=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,o[s])))return e;if(!this._backtrack)return!1;t=!1;continue}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,o[i]))&&e:""===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,a.eW)(function(){return this.next()||this.lex()},"lex"),begin:(0,a.eW)(function(e){this.conditionStack.push(e)},"begin"),popState:(0,a.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,a.eW)(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,a.eW)(function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:(0,a.eW)(function(e){this.begin(e)},"pushState"),stateStackSize:(0,a.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,a.eW)(function(e,t,n,i){switch(n){case 0:return e.getLogger().trace("Found comment",t.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:case 26:this.popState();break;case 5:e.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return e.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:e.getLogger().trace("end icon"),this.popState();break;case 10:return e.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return e.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return e.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return e.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 24:e.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;
1case 25:return e.getLogger().trace("description:",t.yytext),"NODE_DESCR";case 27:return this.popState(),e.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),e.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),e.getLogger().trace("node end ...",t.yytext),"NODE_DEND";case 30:case 33:case 34:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),e.getLogger().trace("node end (-"),"NODE_DEND";case 35:case 36:return e.getLogger().trace("Long description:",t.yytext),20}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\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:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};function E(){this.yy={}}return _.lexer=b,(0,a.eW)(E,"Parser"),E.prototype=_,_.Parser=E,new E}();u.parser=u;var g={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},p=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=g,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{(0,a.eW)(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let t=this.nodes.length-1;t>=0;t--)if(this.nodes[t].level<e)return this.nodes[t];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(e,t,n,i){a.cM.info("addNode",e,t,n,i);let o=!1;0===this.nodes.length?(this.baseLevel=e,e=0,o=!0):void 0!==this.baseLevel&&(e-=this.baseLevel,o=!1);let s=(0,r.nV)(),c=s.mindmap?.padding??r.vZ.mindmap.padding;switch(i){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:c*=2}let l={id:this.count++,nodeId:(0,r.oO)(t,s),level:e,descr:(0,r.oO)(n,s),type:i,children:[],width:s.mindmap?.maxNodeWidth??r.vZ.mindmap.maxNodeWidth,padding:c,isRoot:o},h=this.getParent(e);if(h)h.children.push(l),this.nodes.push(l);else if(o)this.nodes.push(l);else throw Error(`There can be only one root. No parent could be found for ("${l.descr}")`)}getType(e,t){switch(a.cM.debug("In get type",e,t),e){case"[":return this.nodeType.RECT;case"(":return")"===t?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case"((":return this.nodeType.CIRCLE;case")":return this.nodeType.CLOUD;case"))":return this.nodeType.BANG;case"{{":return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(e,t){this.elements[e]=t}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;let t=(0,r.nV)(),n=this.nodes[this.nodes.length-1];e.icon&&(n.icon=(0,r.oO)(e.icon,t)),e.class&&(n.class=(0,r.oO)(e.class,t))}type2Str(e){switch(e){case this.nodeType.DEFAULT:return"no-border";case this.nodeType.RECT:return"rect";case this.nodeType.ROUNDED_RECT:return"rounded-rect";case this.nodeType.CIRCLE:return"circle";case this.nodeType.CLOUD:return"cloud";case this.nodeType.BANG:return"bang";case this.nodeType.HEXAGON:return"hexgon";default:return"no-border"}}assignSections(e,t){if(0===e.level?e.section=void 0:e.section=t,e.children)for(let[n,i]of e.children.entries()){let o=0===e.level?n%11:t;this.assignSections(i,o)}}flattenNodes(e,t){let n=(0,r.nV)(),i=["mindmap-node"];!0===e.isRoot?i.push("section-root","section--1"):void 0!==e.section&&i.push(`section-${e.section}`),e.class&&i.push(e.class);let o=i.join(" "),s=(0,a.eW)(e=>{let t=n.theme?.toLowerCase()??"",i=t.includes("redux");switch(e){case g.CIRCLE:return"mindmapCircle";case g.RECT:return"rect";case g.ROUNDED_RECT:return"rounded";
1case g.CLOUD:return"cloud";case g.BANG:return"bang";case g.HEXAGON:return"hexagon";case g.DEFAULT:return i?"rounded":"defaultMindmapNode";case g.NO_BORDER:default:return"rect"}},"getShapeFromType"),c={id:e.id.toString(),domId:"node_"+e.id.toString(),label:e.descr,labelType:"markdown",isGroup:!1,shape:s(e.type),width:e.width,height:e.height??0,padding:e.padding,cssClasses:o,cssStyles:[],look:n.look,icon:e.icon,x:e.x,y:e.y,level:e.level,nodeId:e.nodeId,type:e.type,section:e.section};if(t.push(c),e.children)for(let n of e.children)this.flattenNodes(n,t)}generateEdges(e,t){if(!e.children)return;let n=(0,r.nV)();for(let i of e.children){let o="edge";void 0!==i.section&&(o+=` section-edge-${i.section}`);let s=e.level+1;o+=` edge-depth-${s}`;let r={id:`edge_${e.id}_${i.id}`,start:e.id.toString(),end:i.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:n.look,classes:o,depth:e.level,section:i.section};t.push(r),this.generateEdges(i,t)}}getData(){let e=this.getMindmap(),t=(0,r.nV)(),n=(0,r.qO)(),i=void 0!==n.layout;if(i||(t.layout="cose-bilkent"),!e)return{nodes:[],edges:[],config:t};a.cM.debug("getData: mindmapRoot",e,t),this.assignSections(e);let o=[],s=[];this.flattenNodes(e,o),this.generateEdges(e,s),a.cM.debug(`getData: processed ${o.length} nodes and ${s.length} edges`);let l=new Map;for(let e of o)l.set(e.id,{shape:e.shape,width:e.width,height:e.height,padding:e.padding});return{nodes:o,edges:s,config:t,rootNode:e,markers:["point"],direction:"TB",nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(l),type:"mindmap",diagramId:"mindmap-"+(0,c.Z)()}}getLogger(){return a.cM}},y=(0,a.eW)(async(e,t,n,c)=>{a.cM.debug("Rendering mindmap diagram\n"+e);let l=c.db,h=l.getData(),d=(0,i.q)(t,h.config.securityLevel);h.type=c.type,h.layoutAlgorithm=(0,s._b)(h.config.layout,{fallback:"cose-bilkent"}),h.diagramId=t;let u=l.getMindmap();if(!u)return;h.nodes.forEach(e=>{"rounded"===e.shape?(e.radius=15,e.taper=15,e.stroke="none",e.width=0,e.padding=15):"circle"===e.shape?e.padding=10:"rect"===e.shape?(e.width=0,e.padding=10):"hexagon"===e.shape&&(e.width=0,e.height=0)}),await (0,s.sY)(h,d);let{themeVariables:g}=(0,r.iE)(),{useGradient:p,gradientStart:y,gradientStop:m}=g;if(p&&y&&m){let e=d.attr("id"),t=d.append("defs").append("linearGradient").attr("id",`${e}-gradient`).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");t.append("stop").attr("offset","0%").attr("stop-color",y).attr("stop-opacity",1),t.append("stop").attr("offset","100%").attr("stop-color",m).attr("stop-opacity",1)}(0,o.j)(d,h.config.mindmap?.padding??r.vZ.mindmap.padding,"mindmapDiagram",h.config.mindmap?.useMaxWidth??r.vZ.mindmap.useMaxWidth)},"draw"),m=(0,a.eW)(e=>{let{theme:t,look:n}=e,i="";for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e["lineColor"+t]=e["lineColor"+t]||e["cScaleInv"+t],(0,l.Z)(e["lineColor"+t])?e["lineColor"+t]=(0,h.Z)(e["lineColor"+t],20):e["lineColor"+t]=(0,d.Z)(e["lineColor"+t],20);for(let o=0;o<e.THEME_COLOR_LIMIT;o++){let s=""+("neo"===n?Math.max(10-(o-1)*2,2):17-3*o);i+=` 2 .section-${o-1}
2 rect, .section-${o-1} path, .section-${o-1} circle, .section-${o-1} polygon, .section-${o-1} path { 3 fill: ${e["cScale"+o]}; 4 } 5 .section-${o-1} text { 6 fill: ${e["cScaleLabel"+o]}; 7 } 8 .section-${o-1} span { 9 color: ${e["cScaleLabel"+o]}; 10 } 11 .node-icon-${o-1} { 12 font-size: 40px; 13 color: ${e["cScaleLabel"+o]}; 14 } 15 .section-edge-${o-1}{ 16 stroke: ${e["cScale"+o]}; 17 } 18 .edge-depth-${o-1}{ 19 stroke-width: ${s}; 20 } 21 .section-${o-1} line { 22 stroke: ${e["cScaleInv"+o]} ; 23 stroke-width: 3; 24 } 25 26 .disabled, .disabled circle, .disabled text { 27 fill: lightgray; 28 } 29 .disabled text { 30 fill: #efefef; 31 } 32 [data-look="neo"].mindmap-node.section-${o-1} rect, [data-look="neo"].mindmap-node.section-${o-1} path, [data-look="neo"].mindmap-node.section-${o-1} circle, [data-look="neo"].mindmap-node.section-${o-1} polygon { 33 fill: ${"redux"===t||"redux-dark"===t||"neutral"===t?e.mainBkg:e["cScale"+o]}; 34 stroke: ${"redux"===t||"redux-dark"===t?e.nodeBorder:e["cScale"+o]}; 35 stroke-width: ${e.strokeWidth??2}px; 36 } 37 [data-look="neo"].section-edge-${o-1}{ 38 stroke: ${t?.includes("redux")||"neo-dark"===t?e.nodeBorder:e["cScale"+o]}; 39 } 40 [data-look="neo"].mindmap-node.section-${o-1} text { 41 fill: ${"redux"===t||"redux-dark"===t?e.nodeBorder:e["cScaleLabel"+("neutral"===t?1:o)]}; 42 } 43 `}return i},"genSections"),f=(0,a.eW)((e,t,n)=>{let i="";for(let o=0;o<e;o++)i+=` 44 [data-look="neo"].mindmap-node.section-${o-1} rect, [data-look="neo"].mindmap-node.section-${o-1} path, [data-look="neo"].mindmap-node.section-${o-1} circle, [data-look="neo"].mindmap-node.section-${o-1} polygon { 45 stroke: url(${t}-gradient); 46 fill: ${n}; 47 } 48 .section-${o-1} line { 49 stroke-width: 0; 50 }`;return i},"genGradient"),_={get db(){return new p},renderer:{draw:y},parser:u,styles:(0,a.eW)(e=>{let{theme:t}=e,n=e.svgId,i=e.dropShadow?e.dropShadow.replace("url(#drop-shadow)",`url(${n}-drop-shadow)`):"none";return` 51 .edge { 52 stroke-width: 3; 53 } 54 ${m(e)} 55 .section-root rect, .section-root path, .section-root circle, .section-root polygon { 56 fill: ${e.git0}; 57 } 58 .section-root text { 59 fill: ${e.gitBranchLabel0}; 60 } 61 .section-root span { 62 color: ${t?.includes("redux")?e.nodeBorder:e.gitBranchLabel0}; 63 } 64 .icon-container { 65 height:100%; 66 display: flex; 67 justify-content: center; 68 align-items: center; 69 } 70 .edge { 71 fill: none; 72 } 73 .mindmap-node-label { 74 dy: 1em; 75 alignment-baseline: middle; 76 text-anchor: middle; 77 dominant-baseline: middle; 78 text-align: center; 79 } 80 [data-look="neo"].mindmap-node { 81 filter: ${i}; 82 } 83 [data-look="neo"].mindmap-node.section-root rect, [data-look="neo"].mindmap-node.section-root path, [data-look="neo"].mindmap-node.section-root circle, [data-look="neo"].mindmap-node.section-root polygon { 84 fill: ${t?.includes("redux")?e.mainBkg:e.git0}; 85 } 86 [data-look="neo"].mindmap-node.section-root .text-inner-tspan { 87 fill: ${t?.includes("redux")?e.nodeBorder:e["cScaleLabel"+("neutral"===t?1:0)]}; 88 } 89 ${e.useGradient&&n&&e.mainBkg?f(e.THEME_COLOR_LIMIT,n,e.mainBkg):""} 90`},"getStyles")}},72540:function(e,t,n){let i;n.d(t,{Z:function(){return c}});let o="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var s={randomUUID:o};let r=new Uint8Array(16),a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));var c=function(e,t,n){if(s.randomUUID&&!t&&!e)return s.randomUUID();e=e||{};let o=e.random??e.rng?.()??function(){if(!i){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");i=crypto.getRandomValues.bind(crypto)}return i(r)}();if(o.length<16)throw Error("Random bytes length must be >= 16");if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){if((n=n||0)<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=o[e];return t}
90return function(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}(o)}}}]);
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.