md/assets/mindmap-definition-6NGNQFMS-BTMQMo-f.js

111 lines
469 KiB
JavaScript
Raw Normal View History

import{aI as Hi,aJ as hi,aK as lu,_ as de,l as wr,j as uu,U as vu,L as fu,d as ci,E as hu,O as cu,z as en,i as tn,$ as du,a0 as gu,a1 as pu}from"./index-CnVVBz8f.js";function qe(t){"@babel/helpers - typeof";return qe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qe(t)}function di(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yu(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function gi(t,e,r){return e&&yu(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function ls(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Lt(t,e){return mu(t)||bu(t,e)||us(t,e)||Eu()}function mu(t){if(Array.isArray(t))return t}function bu(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var a=[],n=!0,o=!1,i,s;try{for(r=r.call(t);!(n=(i=r.next()).done)&&(a.push(i.value),!(e&&a.length===e));n=!0);}catch(l){o=!0,s=l}finally{try{!n&&r.return!=null&&r.return()}finally{if(o)throw s}}return a}}function us(t,e){if(t){if(typeof t=="string")return Xi(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Xi(t,e)}}function Xi(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,a=new Array(e);r<e;r++)a[r]=t[r];return a}function Eu(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vs(t,e){var r=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=us(t))||e){r&&(t=r);var a=0,n=function(){};return{s:n,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(l){throw l},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,i=!1,s;return{s:function(){r=r.call(t)},n:function(){var l=r.next();return o=l.done,l},e:function(l){i=!0,s=l},f:function(){try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}}}var Ye=typeof window>"u"?null:window,qi=Ye?Ye.navigator:null;Ye&&Ye.document;var wu=qe(""),fs=qe({}),xu=qe(function(){}),Tu=typeof HTMLElement>"u"?"undefined":qe(HTMLElement),Ta=function(e){return e&&e.instanceString&&ze(e.instanceString)?e.instanceString():null},ge=function(e){return e!=null&&qe(e)==wu},ze=function(e){return e!=null&&qe(e)===xu},ke=function(e){return!yt(e)&&(Array.isArray?Array.isArray(e):e!=null&&e instanceof Array)},De=function(e){return e!=null&&qe(e)===fs&&!ke(e)&&e.constructor===Object},Cu=function(e){return e!=null&&qe(e)===fs},oe=function(e){return e!=null&&qe(e)===qe(1)&&!isNaN(e)},Du=function(e){return oe(e)&&Math.floor(e)===e},rn=function(e){if(Tu!=="undefined")return e!=null&&e instanceof HTMLElement},yt=function(e){return Ca(e)||hs(e)},Ca=function(e){return Ta(e)==="collection"&&e._private.single},hs=function(e){return Ta(e)==="collection"&&!e._private.single},pi=function(e){return Ta(e)==="core"},cs=function(e){return Ta(e)==="stylesheet"},Su=function(e){return Ta(e)==="event"},er=function(e){return e==null?!0:!!(e===""||e.match(/^\s+$/))},Lu=function(e){return typeof HTMLElement>"u"?!1:e instanceof HTMLElement},Au=function(e){return De(e)&&oe(e.x1)&&oe(e.x2)&&oe(e.y1)&&oe(e.y2)},Ou=function(e){return Cu(e)&&ze(e.then)},Nu=function(){return qi&&qi.userAgent.match(/msie|trident|edge/i)},ha=function(e,r){r||(r=function(){if(arguments.length===1)return arguments[0];if(arguments.length===0)return"undefined";for(var o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);return o.join("$")});var a=function n(){var o=this,i=arguments,s,l=r.apply(o,i),u=n.cache;return(s=u[l])||(s=u[l]=e.apply(o,i)),s};return a.cache={},a},yi=ha(function(t){return t.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}),dn=ha(function(t){return t.replace(/(-\w)/g,function(e){return e[1].toUpperCase()})}),ds=ha(function(t,e){return t+e[0].toUpperCase()+e.substring(1)},function(t,e){return t+"$"+e}),Wi=function(e){return er(e)?e:e.charAt(0).toUpperCase()+e.substring(1)},Xe="(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))",Iu="rgb[a]?\\(("+Xe+"[%]?)\\s*,\\s*("+Xe+"[%]?)\\s*,\\s*("+Xe+"[%]?)(?:\\s*,\\s*("+Xe+"))?\\)",Mu="rgb[a]?\\((?:"+Xe+"[%]?)\\s*,\\s*(?:"+Xe+"[%]?)\\s*,\\s*(?:"+Xe+"[%]?)(?:\\s*,\\s*(?:"+Xe+"))?\\)",Ru="hsl[a]?\\(("+Xe+")\\s*,\\s*("+Xe+"[%])\\s*,\\s*("+Xe+"[%])(?:\\s*,\\s*("+Xe+"))?\\)",ku="hsl[a]?\\((?:"+Xe+")\\s*,\\s*(?:"+Xe+"[%])\\s*,\\s*(?:"+Xe+"[%])(?:\\s*,\\s*(?:"+Xe+"))?\\)",Pu="\\#[0-9a-fA-F]{3}",Bu="\\#[0-9a-fA-F]{6}",gs=function(e,r){return e<r?-1:e>r?1:0},Fu=function(e,r){return-1*gs(e,r)},Ee=Object.assign!=null?Object.assign.bind(Object):function(t){for(var e=arguments,r=1;r<e.length;r++){var a=e[r];if(a!=null)for(var n=Object.keys(a),o=0;o<n.length;o++){var i=n[o];t[i]=a[i]}}return t},Gu=function(e){if(!(!(e.length===4||e.length===7)||e[0]!=="#")){var r=e.length===4,a,n,o,i=16;return r?(a=parseInt(e[1]+e[1],i),n=parseInt(e[2]+e[2],i),o=parseInt(e[3]+e[3],i)):(a=parseInt(e[1]+e[2],i),n=parseInt(e[3]+e[4],i),o=parseInt(e[5]+e[6],i)),[a,n,o]}},zu=function(e){var r,a,n,o,i,s,l,u;function v(c,p,g){return g<0&&(g+=1),g>1&&(g-=1),g<1/6?c+(p-c)*6*g:g<1/2?p:g<2/3?c+(p-c)*(2/3-g)*6:c}var f=new RegExp("^"+Ru+"$").exec(e);if(f){if(a=parseInt(f[1]),a<0?a=(360- -1*a%360)%360:a>360&&(a=a%360),a/=360,n=parseFloat(f[2]),n<0||n>100||(n=n/100,o=parseFloat(f[3]),o<0||o>100)||(o=o/100,i=f[4],i!==void 0&&(i=parseFloat(i),i<0||i>1)))return;if(n===0)s=l=u=Math.round(o*255);else{var d=o<.5?o*(1+n):o+n-o*n,h=2*o-d;s=Math.round(255*v(h,d,a+1/3)),l=Math.round(255*v(h,d,a)),u=Math.round(255*v(h,d,a-1/3))}r=[s,l,u,i]}return r},Vu=function(e){var r,a=new RegExp("^"+Iu+"$").exec(e);if(a){r=[];for(var n=[],o=1;o<=3;o++){var i=a[o];if(i[i.length-1]==="%"&&(n[o]=!0),i=parseFloat(i),n[o]&&(i=i/100*255),i<0||i>255)return;r.push(Math.floor(i))}v
Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable
Copyright (c) 2013-2014 Ralf S. Engelschall (http://engelschall.com)
Licensed under The MIT License (http://opensource.org/licenses/MIT)
*/var Vs=0,Us=1,$s=2,Ht=function t(e){if(!(this instanceof t))return new t(e);this.id="Thenable/1.0.7",this.state=Vs,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},typeof e=="function"&&e.call(this,this.fulfill.bind(this),this.reject.bind(this))};Ht.prototype={fulfill:function(e){return go(this,Us,"fulfillValue",e)},reject:function(e){return go(this,$s,"rejectReason",e)},then:function(e,r){var a=this,n=new Ht;return a.onFulfilled.push(yo(e,n,"fulfill")),a.onRejected.push(yo(r,n,"reject")),_s(a),n.proxy}};var go=function(e,r,a,n){return e.state===Vs&&(e.state=r,e[a]=n,_s(e)),e},_s=function(e){e.state===Us?po(e,"onFulfilled",e.fulfillValue):e.state===$s&&po(e,"onRejected",e.rejectReason)},po=function(e,r,a){if(e[r].length!==0){var n=e[r];e[r]=[];var o=function(){for(var s=0;s<n.length;s++)n[s](a)};typeof setImmediate=="function"?setImmediate(o):setTimeout(o,0)}},yo=function(e,r,a){return function(n){if(typeof e!="function")r[a].call(r,n);else{var o;try{o=e(n)}catch(i){r.reject(i);return}gh(r,o)}}},gh=function t(e,r){if(e===r||e.proxy===r){e.reject(new TypeError("cannot resolve promise with itself"));return}var a;if(qe(r)==="object"&&r!==null||typeof r=="function")try{a=r.then}catch(o){e.reject(o);return}if(typeof a=="function"){var n=!1;try{a.call(r,function(o){n||(n=!0,o===r?e.reject(new TypeError("circular thenable chain")):t(e,o))},function(o){n||(n=!0,e.reject(o))})}catch(o){n||e.reject(o)}return}e.fulfill(r)};Ht.all=function(t){return new Ht(function(e,r){for(var a=new Array(t.length),n=0,o=function(l,u){a[l]=u,n++,n===t.length&&e(a)},i=0;i<t.length;i++)(function(s){var l=t[s],u=l!=null&&l.then!=null;if(u)l.then(function(f){o(s,f)},function(f){r(f)});else{var v=l;o(s,v)}})(i)})};Ht.resolve=function(t){return new Ht(function(e,r){e(t)})};Ht.reject=function(t){return new Ht(function(e,r){r(t)})};var _r=typeof Promise<"u"?Promise:Ht,Jn=function(e,r,a){var n=pi(e),o=!n,i=this._private=Ee({duration:1e3},r,a);if(i.target=e,i.style=i.style||i.css,i.started=!1,i.playing=!1,i.hooked=!1,i.applying=!1,i.progress=0,i.completes=[],i.frames=[],i.complete&&ze(i.complete)&&i.completes.push(i.complete),o){var s=e.position();i.startPosition=i.startPosition||{x:s.x,y:s.y},i.startStyle=i.startStyle||e.cy().style().getAnimationStartStyle(e,i.style)}if(n){var l=e.pan();i.startPan={x:l.x,y:l.y},i.startZoom=e.zoom()}this.length=1,this[0]=this},mr=Jn.prototype;Ee(mr,{instanceString:function(){return"animation"},hook:function(){var e=this._private;if(!e.hooked){var r,a=e.target._private.animation;e.queue?r=a.queue:r=a.current,r.push(this),yt(e.target)&&e.target.cy().addToAnimationPool(e.target),e.hooked=!0}return this},play:function(){var e=this._private;return e.progress===1&&(e.progress=0),e.playing=!0,e.started=!1,e.stopped=!1,this.hook(),this},playing:function(){return this._private.playing},apply:function(){var e=this._private;return e.applying=!0,e.started=!1,e.stopped=!1,this.hook(),this},applying:function(){return this._private.applying},pause:function(){var e=this._private;return e.playing=!1,e.started=!1,this},stop:function(){var e=this._private;return e.playing=!1,e.started=!1,e.stopped=!0,this},rewind:function(){return this.progress(0)},fastforward:function(){return this.progress(1)},time:function(e){var r=this._private;return e===void 0?r.progress*r.duration:this.progress(e/r.duration)},progress:function(e){var r=this._private,a=r.playing;return e===void 0?r.progress:(a&&this.pause(),r.progress=e,r.started=!1,a&&this.play(),this)},completed:function(){return this._private.progress===1},reverse:function(){var e=this._private,r=e.playing;r&&this.pause(),e.progress=1-e.progress,e.started=!1;var a=function(u,v){var f=e[u];f!=null&&(e[u]=e[v],e[v]=f)};if(a("zoom","startZoom"),a("pan","startPan"),a("position","startPosition"),e.style)for(var n=0;n<e.style.length;n++){var o=e.style[n],i=o.name,s=e.startStyle[i];e.startStyle[i]=o,e.style[n]=s}return r&&this.play(),this},promise:function(e){var r=this._private,a;switch(e){case"frame":a=r.frames;break;default:
Event object based on jQuery events, MIT license
https://jquery.org/license/
https://tldrlegal.com/license/mit-license
https://github.com/jquery/jquery/blob/master/src/event.js
*/var ol=function(e,r){this.recycle(e,r)};function aa(){return!1}function Va(){return!0}ol.prototype={instanceString:function(){return"event"},recycle:function(e,r){if(this.isImmediatePropagationStopped=this.isPropagationStopped=this.isDefaultPrevented=aa,e!=null&&e.preventDefault?(this.type=e.type,this.isDefaultPrevented=e.defaultPrevented?Va:aa):e!=null&&e.type?r=e:this.type=e,r!=null&&(this.originalEvent=r.originalEvent,this.type=r.type!=null?r.type:this.type,this.cy=r.cy,this.target=r.target,this.position=r.position,this.renderedPosition=r.renderedPosition,this.namespace=r.namespace,this.layout=r.layout),this.cy!=null&&this.position!=null&&this.renderedPosition==null){var a=this.position,n=this.cy.zoom(),o=this.cy.pan();this.renderedPosition={x:a.x*n+o.x,y:a.y*n+o.y}}this.timeStamp=e&&e.timeStamp||Date.now()},preventDefault:function(){this.isDefaultPrevented=Va;var e=this.originalEvent;e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){this.isPropagationStopped=Va;var e=this.originalEvent;e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Va,this.stopPropagation()},isDefaultPrevented:aa,isPropagationStopped:aa,isImmediatePropagationStopped:aa};var sl=/^([^.]+)(\.(?:[^.]+))?$/,ig=".*",ll={qualifierCompare:function(e,r){return e===r},eventMatches:function(){return!0},addEventFields:function(){},callbackContext:function(e){return e},beforeEmit:function(){},afterEmit:function(){},bubble:function(){return!1},parent:function(){return null},context:null},Ao=Object.keys(ll),og={};function Cn(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:og,e=arguments.length>1?arguments[1]:void 0,r=0;r<Ao.length;r++){var a=Ao[r];this[a]=t[a]||ll[a]}this.context=e||this.context,this.listeners=[],this.emitting=0}var nr=Cn.prototype,ul=function(e,r,a,n,o,i,s){ze(n)&&(o=n,n=null),s&&(i==null?i=s:i=Ee({},i,s));for(var l=ke(a)?a:a.split(/\s+/),u=0;u<l.length;u++){var v=l[u];if(!er(v)){var f=v.match(sl);if(f){var d=f[1],h=f[2]?f[2]:null,c=r(e,v,d,h,n,o,i);if(c===!1)break}}}},Oo=function(e,r){return e.addEventFields(e.context,r),new ol(r.type,r)},sg=function(e,r,a){if(Su(a)){r(e,a);return}else if(De(a)){r(e,Oo(e,a));return}for(var n=ke(a)?a:a.split(/\s+/),o=0;o<n.length;o++){var i=n[o];if(!er(i)){var s=i.match(sl);if(s){var l=s[1],u=s[2]?s[2]:null,v=Oo(e,{type:l,namespace:u,target:e.context});r(e,v)}}}};nr.on=nr.addListener=function(t,e,r,a,n){return ul(this,function(o,i,s,l,u,v,f){ze(v)&&o.listeners.push({event:i,callback:v,type:s,namespace:l,qualifier:u,conf:f})},t,e,r,a,n),this};nr.one=function(t,e,r,a){return this.on(t,e,r,a,{one:!0})};nr.removeListener=nr.off=function(t,e,r,a){var n=this;this.emitting!==0&&(this.listeners=Pv(this.listeners));for(var o=this.listeners,i=function(u){var v=o[u];ul(n,function(f,d,h,c,p,g){if((v.type===h||t==="*")&&(!c&&v.namespace!==".*"||v.namespace===c)&&(!p||f.qualifierCompare(v.qualifier,p))&&(!g||v.callback===g))return o.splice(u,1),!1},t,e,r,a)},s=o.length-1;s>=0;s--)i(s);return this};nr.removeAllListeners=function(){return this.removeListener("*")};nr.emit=nr.trigger=function(t,e,r){var a=this.listeners,n=a.length;return this.emitting++,ke(e)||(e=[e]),sg(this,function(o,i){r!=null&&(a=[{event:i.event,type:i.type,namespace:i.namespace,callback:r}],n=a.length);for(var s=function(v){var f=a[v];if(f.type===i.type&&(!f.namespace||f.namespace===i.namespace||f.namespace===ig)&&o.eventMatches(o.context,f,i)){var d=[i];e!=null&&Fv(d,e),o.beforeEmit(o.context,f,i),f.conf&&f.conf.one&&(o.listeners=o.listeners.filter(function(p){return p!==f}));var h=o.callbackContext(o.context,f,i),c=f.callback.apply(h,d);o.afterEmit(o.context,f,i),c===!1&&(i.stopPropagation(),i.preventDefault())}},l=0;l<n;l++)s(l);o.bubble(o.context)&&!i.isPropagationStopped()&&o.parent(o.context).emit(i,e)},t),this.emitting--,this};var lg={qualifierCompare:function(e,r){return e==null||r==null?e==null&&r==null:e.sameText(r)},eventMatches:function(e,r,a){var n=r.qualifier;return n!=null?e!==a.target&&Ca(a.target)&&n.matches(a.target):!0},addEventFields
`),f=t.pstyle("text-max-width").pfValue,d=t.pstyle("text-overflow-wrap").value,h=d==="anywhere",c=[],p=/[\s\u200b]+|$/g,g=0;g<v.length;g++){var y=v[g],b=this.calculateLabelDimensions(t,y),m=b.width;if(h){var T=y.split("").join(u);y=T}if(m>f){var C=y.matchAll(p),S="",E=0,x=vs(C),w;try{for(x.s();!(w=x.n()).done;){var D=w.value,L=D[0],A=y.substring(E,D.index);E=D.index+L.length;var N=S.length===0?A:S+A+L,O=this.calculateLabelDimensions(t,N),M=O.width;M<=f?S+=A+L:(S&&c.push(S),S=A+L)}}catch(F){x.e(F)}finally{x.f()}S.match(/^[\s\u200b]+$/)||c.push(S)}else c.push(y)}i("labelWrapCachedLines",c),n=i("labelWrapCachedText",c.join(`
`)),i("labelWrapKey",l)}else if(s==="ellipsis"){var R=t.pstyle("text-max-width").pfValue,k="",P="…",B=!1;if(this.calculateLabelDimensions(t,n).width<R)return n;for(var z=0;z<n.length;z++){var G=this.calculateLabelDimensions(t,k+n[z]+P).width;if(G>R)break;k+=n[z],z===n.length-1&&(B=!0)}return B||(k+=P),k}return n};zt.getLabelJustification=function(t){var e=t.pstyle("text-justification").strValue,r=t.pstyle("text-halign").strValue;if(e==="auto")if(t.isNode())switch(r){case"left":return"right";case"right":return"left";default:return"center"}else return"center";else return e};zt.calculateLabelDimensions=function(t,e){var r=this,a=r.cy.window(),n=a.document,o=gr(e,t._private.labelDimsKey),i=r.labelDimCache||(r.labelDimCache=[]),s=i[o];if(s!=null)return s;var l=0,u=t.pstyle("font-style").strValue,v=t.pstyle("font-size").pfValue,f=t.pstyle("font-family").strValue,d=t.pstyle("font-weight").strValue,h=this.labelCalcCanvas,c=this.labelCalcCanvasContext;if(!h){h=this.labelCalcCanvas=n.createElement("canvas"),c=this.labelCalcCanvasContext=h.getContext("2d");var p=h.style;p.position="absolute",p.left="-9999px",p.top="-9999px",p.zIndex="-1",p.visibility="hidden",p.pointerEvents="none"}c.font="".concat(u," ").concat(d," ").concat(v,"px ").concat(f);for(var g=0,y=0,b=e.split(`
`),m=0;m<b.length;m++){var T=b[m],C=c.measureText(T),S=Math.ceil(C.width),E=v;g=Math.max(S,g),y+=E}return g+=l,y+=l,i[o]={width:g,height:y}};zt.calculateLabelAngle=function(t,e){var r=t._private,a=r.rscratch,n=t.isEdge(),o=e?e+"-":"",i=t.pstyle(o+"text-rotation"),s=i.strValue;return s==="none"?0:n&&s==="autorotate"?a.labelAutoAngle:s==="autorotate"?0:i.pfValue};zt.calculateLabelAngles=function(t){var e=this,r=t.isEdge(),a=t._private,n=a.rscratch;n.labelAngle=e.calculateLabelAngle(t),r&&(n.sourceLabelAngle=e.calculateLabelAngle(t,"source"),n.targetLabelAngle=e.calculateLabelAngle(t,"target"))};var Ol={},Ko=28,Zo=!1;Ol.getNodeShape=function(t){var e=this,r=t.pstyle("shape").value;if(r==="cutrectangle"&&(t.width()<Ko||t.height()<Ko))return Zo||(Ie("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),Zo=!0),"rectangle";if(t.isParent())return r==="rectangle"||r==="roundrectangle"||r==="round-rectangle"||r==="cutrectangle"||r==="cut-rectangle"||r==="barrel"?r:"rectangle";if(r==="polygon"){var a=t.pstyle("shape-polygon-points").value;return e.nodeShapes.makePolygon(a).name}return r};var Nn={};Nn.registerCalculationListeners=function(){var t=this.cy,e=t.collection(),r=this,a=function(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(e.merge(i),s)for(var l=0;l<i.length;l++){var u=i[l],v=u._private,f=v.rstyle;f.clean=!1,f.cleanConnected=!1}};r.binder(t).on("bounds.* dirty.*",function(i){var s=i.target;a(s)}).on("style.* background.*",function(i){var s=i.target;a(s,!1)});var n=function(i){if(i){var s=r.onUpdateEleCalcsFns;e.cleanStyle();for(var l=0;l<e.length;l++){var u=e[l],v=u._private.rstyle;u.isNode()&&!v.cleanConnected&&(a(u.connectedEdges()),v.cleanConnected=!0)}if(s)for(var f=0;f<s.length;f++){var d=s[f];d(i,e)}r.recalculateRenderedStyle(e),e=t.collection()}};r.flushRenderedStyleQueue=function(){n(!0)},r.beforeRender(n,r.beforeRenderPriorities.eleCalcs)};Nn.onUpdateEleCalcs=function(t){var e=this.onUpdateEleCalcsFns=this.onUpdateEleCalcsFns||[];e.push(t)};Nn.recalculateRenderedStyle=function(t,e){var r=function(T){return T._private.rstyle.cleanConnected},a=[],n=[];if(!this.destroyed){e===void 0&&(e=!0);for(var o=0;o<t.length;o++){var i=t[o],s=i._private,l=s.rstyle;i.isEdge()&&(!r(i.source())||!r(i.target()))&&(l.clean=!1),!(e&&l.clean||i.removed())&&i.pstyle("display").value!=="none"&&(s.group==="nodes"?n.push(i):a.push(i),l.clean=!0)}for(var u=0;u<n.length;u++){var v=n[u],f=v._private,d=f.rstyle,h=v.position();this.recalculateNodeLabelProjection(v),d.nodeX=h.x,d.nodeY=h.y,d.nodeW=v.pstyle("width").pfValue,d.nodeH=v.pstyle("height").pfValue}this.recalculateEdgeProjections(a);for(var c=0;c<a.length;c++){var p=a[c],g=p._private,y=g.rstyle,b=g.rscratch;y.srcX=b.arrowStartX,y.srcY=b.arrowStartY,y.tgtX=b.arrowEndX,y.tgtY=b.arrowEndY,y.midX=b.midX,y.midY=b.midY,y.labelAngle=b.labelAngle,y.sourceLabelAngle=b.sourceLabelAngle,y.targetLabelAngle=b.targetLabelAngle}}};var In={};In.updateCachedGrabbedEles=function(){var t=this.cachedZSortedEles;if(t){t.drag=[],t.nondrag=[];for(var e=[],r=0;r<t.length;r++){var a=t[r],n=a._private.rscratch;a.grabbed()&&!a.isParent()?e.push(a):n.inDragLayer?t.drag.push(a):t.nondrag.push(a)}for(var r=0;r<e.length;r++){var a=e[r];t.drag.push(a)}}};In.invalidateCachedZSortedEles=function(){this.cachedZSortedEles=null};In.getCachedZSortedEles=function(t){if(t||!this.cachedZSortedEles){var e=this.cy.mutableElements().toArray();e.sort(hl),e.interactive=e.filter(function(r){return r.interactive()}),this.cachedZSortedEles=e,this.updateCachedGrabbedEles()}else e=this.cachedZSortedEles;return e};var Nl={};[xr,hn,ut,Oa,Bi,zt,Ol,Nn,In].forEach(function(t){Ee(Nl,t)});var Il={};Il.getCachedImage=function(t,e,r){var a=this,n=a.imageCache=a.imageCache||{},o=n[t];if(o)return o.image.complete||o.image.addEventListener("load",r),o.image;o=n[t]=n[t]||{};var i=o.image=new Image;i.addEventListener("load",r),i.addEventListener("error",function(){i.error=!0});var s="data:",l=t.substring(0,s.length).toLowerCase()===s;return l||(e=e==="null"?null:e,i.crossOrigin=e),i.s
`+P.showPosition()+`
Expecting `+he.join(", ")+", got '"+(this.terminals_[_]||_)+"'":ae="Parse error on line "+(N+1)+": Unexpected "+(_==R?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(ae,{text:P.match,token:this.terminals_[_]||_,line:P.yylineno,loc:G,expected:he})}if(J[0]instanceof Array&&J.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Q+", token: "+_);switch(J[0]){case 1:E.push(_),w.push(P.yytext),D.push(P.yylloc),E.push(J[1]),_=null,O=P.yyleng,A=P.yytext,N=P.yylineno,G=P.yylloc;break;case 2:if(K=this.productions_[J[1]][1],V.$=w[w.length-K],V._$={first_line:D[D.length-(K||1)].first_line,last_line:D[D.length-1].last_line,first_column:D[D.length-(K||1)].first_column,last_column:D[D.length-1].last_column},F&&(V._$.range=[D[D.length-(K||1)].range[0],D[D.length-1].range[1]]),q=this.performAction.apply(V,[A,O,N,B.yy,J[1],w,D].concat(k)),typeof q<"u")return q;K&&(E=E.slice(0,-1*K*2),w=w.slice(0,-1*K),D=D.slice(0,-1*K)),E.push(this.productions_[J[1]][0]),w.push(V.$),D.push(V._$),ie=L[E[E.length-2]][E[E.length-1]],E.push(ie);break;case 3:return!0}}return!0},"parse")},b=function(){var T={EOF:1,parseError:de(function(S,E){if(this.yy.parser)this.yy.parser.parseError(S,E);else throw new Error(S)},"parseError"),setInput:de(function(C,S){return this.yy=S||this.yy||{},this._input=C,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:de(function(){var C=this._input[0];this.yytext+=C,this.yyleng++,this.offset++,this.match+=C,this.matched+=C;var S=C.match(/(?:\r\n?|\n).*/g);return S?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),C},"input"),unput:de(function(C){var S=C.length,E=C.split(/(?:\r\n?|\n)/g);this._input=C+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-S),this.offset-=S;var x=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),E.length-1&&(this.yylineno-=E.length-1);var w=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:E?(E.length===x.length?this.yylloc.first_column:0)+x[x.length-E.length].length-E[0].length:this.yylloc.first_column-S},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-S]),this.yyleng=this.yytext.length,this},"unput"),more:de(function(){return this._more=!0,this},"more"),reject:de(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:de(function(C){this.unput(this.match.slice(C))},"less"),pastInput:de(function(){var C=this.matched.substr(0,this.matched.length-this.match.length);return(C.length>20?"...":"")+C.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:de(function(){var C=this.match;return C.length<20&&(C+=this._input.substr(0,20-C.length)),(C.substr(0,20)+(C.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:de(function(){var C=this.pastInput(),S=new Array(C.length+1).join("-");return C+this.upcomingInput()+`
`+S+"^"},"showPosition"),test_match:de(function(C,S){var E,x,w;if(this.options.backtrack_lexer&&(w={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&&(w.yylloc.range=this.yylloc.range.slice(0))),x=C[0].match(/(?:\r\n?|\n).*/g),x&&(this.yylineno+=x.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:x?x[x.length-1].length-x[x.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+C[0].length},this.yytext+=C[0],this.match+=C[0],this.matches=C,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(C[0].length),this.matched+=C[0],E=this.performAction.call(this,this.yy,this,S,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),E)return E;if(this._backtrack){for(var D in w)this[D]=w[D];return!1}return!1},"test_match"),next:de(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var C,S,E,x;this._more||(this.yytext="",this.match="");for(var w=this._currentRules(),D=0;D<w.length;D++)if(E=this._input.match(this.rules[w[D]]),E&&(!S||E[0].length>S[0].length)){if(S=E,x=D,this.options.backtrack_lexer){if(C=this.test_match(E,w[D]),C!==!1)return C;if(this._backtrack){S=!1;continue}else return!1}else if(!this.options.flex)break}return S?(C=this.test_match(S,w[x]),C!==!1?C:!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:de(function(){var S=this.next();return S||this.lex()},"lex"),begin:de(function(S){this.conditionStack.push(S)},"begin"),popState:de(function(){var S=this.conditionStack.length-1;return S>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:de(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:de(function(S){return S=this.conditionStack.length-1-Math.abs(S||0),S>=0?this.conditionStack[S]:"INITIAL"},"topState"),pushState:de(function(S){this.begin(S)},"pushState"),stateStackSize:de(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:de(function(S,E,x,w){switch(x){case 0:return S.getLogger().trace("Found comment",E.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:this.popState();break;case 5:S.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return S.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:S.getLogger().trace("end icon"),this.popState();break;case 10:return S.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return S.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return S.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return S.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:return this.begin("NODE"),19;case 15:return this.begin("NODE"),19;case 16:return this.begin("NODE"),19;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 23:this.popState();break;case 24:S.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return S.getLogger().trace("description:",E.yytext),"NODE_DESCR";case 26:this.popState();break;case 27:return this.popState(),S.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),S.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),S.getLogger().trace("node end ...",E.yytext),"NODE_DEND";case 30:return this.popState(),S.getLogger().trace("node end (("),"NODE_DEND";case 31:return this.popState(),S.getLogger().trace("node end (-"),"NODE_DEND";case 32:return this.popState(),S.getLogger().trace("node end (-"),"NODE_DEND";case 33:return this.popState(),S.getLogger().trace("node end (("),"NODE_DEND";case 34:return this.popState(),S.getLogger().trace("node end (("),"NODE_DEND";case 35:return S.getLogger().trace("Long description:",E.yytext),20;case 36:return S.getLogger().trace("Long description:",E.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}}};return T}();y.lexer=b;function m(){this.yy={}}return de(m,"Parser"),m.prototype=y,y.Parser=m,new m}();fi.parser=fi;var ty=fi,It=[],Wl=0,Gi={},ry=de(()=>{It=[],Wl=0,Gi={}},"clear"),ay=de(function(t){for(let e=It.length-1;e>=0;e--)if(It[e].level<t)return It[e];return null},"getParent"),ny=de(()=>It.length>0?It[0]:null,"getMindmap"),iy=de((t,e,r,a)=>{var l,u;wr.info("addNode",t,e,r,a);const n=ci();let o=((l=n.mindmap)==null?void 0:l.padding)??en.mindmap.padding;swi
a${s},${s} 1 0,1 ${a*.4},${-1*a*.1}
a${i},${i} 1 0,1 ${a*.35},${1*a*.2}
a${o},${o} 1 0,1 ${a*.15},${1*n*.35}
a${l},${l} 1 0,1 ${-1*a*.15},${1*n*.65}
a${i},${o} 1 0,1 ${-1*a*.25},${a*.15}
a${s},${s} 1 0,1 ${-1*a*.5},0
a${o},${o} 1 0,1 ${-1*a*.25},${-1*a*.15}
a${o},${o} 1 0,1 ${-1*a*.1},${-1*n*.35}
a${l},${l} 1 0,1 ${a*.1},${-1*n*.65}
H0 V0 Z`)},"cloudBkg"),my=de(function(t,e,r){const a=r.width,n=r.height,o=.15*a;e.append("path").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("d",`M0 0 a${o},${o} 1 0,0 ${a*.25},${-1*n*.1}
a${o},${o} 1 0,0 ${a*.25},0
a${o},${o} 1 0,0 ${a*.25},0
a${o},${o} 1 0,0 ${a*.25},${1*n*.1}
a${o},${o} 1 0,0 ${a*.15},${1*n*.33}
a${o*.8},${o*.8} 1 0,0 0,${1*n*.34}
a${o},${o} 1 0,0 ${-1*a*.15},${1*n*.33}
a${o},${o} 1 0,0 ${-1*a*.25},${n*.15}
a${o},${o} 1 0,0 ${-1*a*.25},0
a${o},${o} 1 0,0 ${-1*a*.25},0
a${o},${o} 1 0,0 ${-1*a*.25},${-1*n*.15}
a${o},${o} 1 0,0 ${-1*a*.1},${-1*n*.33}
a${o*.8},${o*.8} 1 0,0 0,${-1*n*.34}
a${o},${o} 1 0,0 ${a*.1},${-1*n*.33}
H0 V0 Z`)},"bangBkg"),by=de(function(t,e,r){e.append("circle").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("r",r.width/2)},"circleBkg");function Kl(t,e,r,a,n){return t.insert("polygon",":first-child").attr("points",a.map(function(o){return o.x+","+o.y}).join(" ")).attr("transform","translate("+(n.width-e)/2+", "+r+")")}de(Kl,"insertPolygonShape");var Ey=de(function(t,e,r){const a=r.height,o=a/4,i=r.width-r.padding+2*o,s=[{x:o,y:0},{x:i-o,y:0},{x:i,y:-a/2},{x:i-o,y:-a},{x:o,y:-a},{x:0,y:-a/2}];Kl(e,i,a,s,r)},"hexagonBkg"),wy=de(function(t,e,r){e.append("rect").attr("id","node-"+r.id).attr("class","node-bkg node-"+t.type2Str(r.type)).attr("height",r.height).attr("rx",r.padding).attr("ry",r.padding).attr("width",r.width)},"roundedRectBkg"),xy=de(async function(t,e,r,a,n){const o=n.htmlLabels,i=a%(dy-1),s=e.append("g");r.section=i;let l="section-"+i;i<0&&(l+=" section-root"),s.attr("class",(r.class?r.class+" ":"")+"mindmap-node "+l);const u=s.append("g"),v=s.append("g"),f=r.descr.replace(/(<br\/*>)/g,`
`);await vu(v,f,{useHtmlLabels:o,width:r.width,classes:"mindmap-node-label"},n),o||v.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");const d=v.node().getBBox(),[h]=fu(n.fontSize);if(r.height=d.height+h*1.1*.5+r.padding,r.width=d.width+2*r.padding,r.icon)if(r.type===t.nodeType.CIRCLE)r.height+=50,r.width+=50,s.append("foreignObject").attr("height","50px").attr("width",r.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+i+" "+r.icon),v.attr("transform","translate("+r.width/2+", "+(r.height/2-1.5*r.padding)+")");else{r.width+=50;const c=r.height;r.height=Math.max(c,60);const p=Math.abs(r.height-c);s.append("foreignObject").attr("width","60px").attr("height",r.height).attr("style","text-align: center;margin-top:"+p/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+i+" "+r.icon),v.attr("transform","translate("+(25+r.width/2)+", "+(p/2+r.padding/2)+")")}else if(o){const c=(r.width-d.width)/2,p=(r.height-d.height)/2;v.attr("transform","translate("+c+", "+p+")")}else{const c=r.width/2,p=r.padding/2;v.attr("transform","translate("+c+", "+p+")")}switch(r.type){case t.nodeType.DEFAULT:gy(t,u,r,i);break;case t.nodeType.ROUNDED_RECT:wy(t,u,r,i);break;case t.nodeType.RECT:py(t,u,r,i);break;case t.nodeType.CIRCLE:u.attr("transform","translate("+r.width/2+", "+ +r.height/2+")"),by(t,u,r,i);break;case t.nodeType.CLOUD:yy(t,u,r,i);break;case t.nodeType.BANG:my(t,u,r,i);break;case t.nodeType.HEXAGON:Ey(t,u,r,i);break}return t.setElementForId(r.id,s),r.height},"drawNode"),Ty=de(function(t,e){const r=t.getElementById(e.id),a=e.x||0,n=e.y||0;r.attr("transform","translate("+a+","+n+")")},"positionNode");ir.use(ey);async function zi(t,e,r,a,n){await xy(t,e,r,a,n),r.children&&await Promise.all(r.children.map((o,i)=>zi(t,e,o,a<0?i:a,n)))}de(zi,"drawNodes");function Zl(t,e){e.edges().map((r,a)=>{const n=r.data();if(r[0]._private.bodyBounds){const o=r[0]._private.rscratch;wr.trace("Edge: ",a,n),t.insert("path").attr("d",`M ${o.startX},${o.startY} L ${o.midX},${o.midY} L${o.endX},${o.endY} `).attr("class","edge section-edge-"+n.section+" edge-depth-"+n.depth)}})}de(Zl,"drawEdges");function Vi(t,e,r,a){e.add({group:"nodes",data:{id:t.id.toString(),labelText:t.descr,height:t.height,width:t.width,level:a,nodeId:t.id,padding:t.padding,type:t.type},position:{x:t.x,y:t.y}}),t.children&&t.children.forEach(n=>{Vi(n,e,r,a+1),e.add({group:"edges",data:{id:`${t.id}_${n.id}`,source:t.id,target:n.id,depth:a,section:n.section}})})}de(Vi,"addNodes");function Ql(t,e){return new Promise(r=>{const a=uu("body").append("div").attr("id","cy").attr("style","display:none"),n=ir({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});a.remove(),Vi(t,n,e,0),n.nodes().forEach(function(o){o.layoutDimensions=()=>{const i=o.data();return{w:i.width,h:i.height}}}),n.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),n.ready(o=>{wr.info("Ready",o),r(n)})})}de(Ql,"layoutMindmap");function Jl(t,e){e.nodes().map((r,a)=>{const n=r.data();n.x=r.position().x,n.y=r.position().y,Ty(t,n);const o=t.getElementById(n.nodeId);wr.info("Id:",a,"Position: (",r.position().x,", ",r.position().y,")",n),o.attr("transform",`translate(${r.position().x-n.width/2}, ${r.position().y-n.height/2})`),o.attr("attr",`apa-${a})`)})}de(Jl,"positionNodes");var Cy=de(async(t,e,r,a)=>{var f,d;wr.debug(`Rendering mindmap diagram
`+t);const n=a.db,o=n.getMindmap();if(!o)return;const i=ci();i.htmlLabels=!1;const s=hu(e),l=s.append("g");l.attr("class","mindmap-edges");const u=s.append("g");u.attr("class","mindmap-nodes"),await zi(n,u,o,-1,i);const v=await Ql(o,i);Zl(l,v),Jl(n,v),cu(void 0,s,((f=i.mindmap)==null?void 0:f.padding)??en.mindmap.padding,((d=i.mindmap)==null?void 0:d.useMaxWidth)??en.mindmap.useMaxWidth)},"draw"),Dy={draw:Cy},Sy=de(t=>{let e="";for(let r=0;r<t.THEME_COLOR_LIMIT;r++)t["lineColor"+r]=t["lineColor"+r]||t["cScaleInv"+r],du(t["lineColor"+r])?t["lineColor"+r]=gu(t["lineColor"+r],20):t["lineColor"+r]=pu(t["lineColor"+r],20);for(let r=0;r<t.THEME_COLOR_LIMIT;r++){const a=""+(17-3*r);e+=`
.section-${r-1} rect, .section-${r-1} path, .section-${r-1} circle, .section-${r-1} polygon, .section-${r-1} path {
fill: ${t["cScale"+r]};
}
.section-${r-1} text {
fill: ${t["cScaleLabel"+r]};
}
.node-icon-${r-1} {
font-size: 40px;
color: ${t["cScaleLabel"+r]};
}
.section-edge-${r-1}{
stroke: ${t["cScale"+r]};
}
.edge-depth-${r-1}{
stroke-width: ${a};
}
.section-${r-1} line {
stroke: ${t["cScaleInv"+r]} ;
stroke-width: 3;
}
.disabled, .disabled circle, .disabled text {
fill: lightgray;
}
.disabled text {
fill: #efefef;
}
`}return e},"genSections"),Ly=de(t=>`
.edge {
stroke-width: 3;
}
${Sy(t)}
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
fill: ${t.git0};
}
.section-root text {
fill: ${t.gitBranchLabel0};
}
.icon-container {
height:100%;
display: flex;
justify-content: center;
align-items: center;
}
.edge {
fill: none;
}
.mindmap-node-label {
dy: 1em;
alignment-baseline: middle;
text-anchor: middle;
dominant-baseline: middle;
text-align: center;
}
`,"getStyles"),Ay=Ly,Ny={db:cy,renderer:Dy,parser:ty,styles:Ay};export{Ny as diagram};