UNPKG

@nodefony/monitoring-bundle

Version:
1 lines 154 kB
"use strict";(self["webpackChunk_nodefony_monitoring_bundle"]=self["webpackChunk_nodefony_monitoring_bundle"]||[]).push([[4162],{73046:function(t,e,n){n.d(e,{T:function(){return W}});var r=n(48585),i=n(39142),s=n(89610),a=n(27422),o=n(11662),c=n(66401),l=n(8058),u=n(69592),d=n(13588),h=n(24326),f=n(62062),g=n(25707);function p(t){return t!==t}var y=p;function x(t,e,n){var r=n-1,i=t.length;while(++r<i)if(t[r]===e)return r;return-1}var b=x;function m(t,e,n){return e===e?b(t,e,n):(0,g.A)(t,y,n)}var k=m;function v(t,e){var n=null==t?0:t.length;return!!n&&k(t,e,0)>-1}var w=v;function S(t,e,n){var r=-1,i=null==t?0:t.length;while(++r<i)if(n(e,t[r]))return!0;return!1}var _=S,A=n(64099),L=n(39857);function E(){}var D=E,T=n(29959),C=1/0,F=L.A&&1/(0,T.A)(new L.A([,-0]))[1]==C?function(t){return new L.A(t)}:D,I=F,O=200;function z(t,e,n){var r=-1,i=w,s=t.length,a=!0,o=[],c=o;if(n)a=!1,i=_;else if(s>=O){var l=e?null:I(t);if(l)return(0,T.A)(l);a=!1,i=A.A,c=new f.A}else c=e?[]:o;t:while(++r<s){var u=t[r],d=e?e(u):u;if(u=n||0!==u?u:0,a&&d===d){var h=c.length;while(h--)if(c[h]===d)continue t;e&&c.push(d),o.push(u)}else i(c,d,n)||(c!==o&&c.push(d),o.push(u))}return o}var N=z,B=n(53533),$=(0,h.A)((function(t){return N((0,d.A)(t,1,B.A,!0))})),j=$,M=n(38207),R=n(89463),P="\0",H="\0",Y="";class W{constructor(t={}){this._isDirected=!r.A(t,"directed")||t.directed,this._isMultigraph=!!r.A(t,"multigraph")&&t.multigraph,this._isCompound=!!r.A(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=i.A(void 0),this._defaultEdgeLabelFn=i.A(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[H]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){return s.A(t)||(t=i.A(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return a.A(this._nodes)}sources(){var t=this;return o.A(this.nodes(),(function(e){return c.A(t._in[e])}))}sinks(){var t=this;return o.A(this.nodes(),(function(e){return c.A(t._out[e])}))}setNodes(t,e){var n=arguments,r=this;return l.A(t,(function(t){n.length>1?r.setNode(t,e):r.setNode(t)})),this}setNode(t,e){return r.A(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=H,this._children[t]={},this._children[H][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)}node(t){return this._nodes[t]}hasNode(t){return r.A(this._nodes,t)}removeNode(t){var e=this;if(r.A(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],l.A(this.children(t),(function(t){e.setParent(t)})),delete this._children[t]),l.A(a.A(this._in[t]),n),delete this._in[t],delete this._preds[t],l.A(a.A(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(u.A(e))e=H;else{e+="";for(var n=e;!u.A(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==H)return e}}children(t){if(u.A(t)&&(t=H),this._isCompound){var e=this._children[t];if(e)return a.A(e)}else{if(t===H)return this.nodes();if(this.hasNode(t))return[]}}predecessors(t){var e=this._preds[t];if(e)return a.A(e)}successors(t){var e=this._sucs[t];if(e)return a.A(e)}neighbors(t){var e=this.predecessors(t);if(e)return j(e,this.successors(t))}isLeaf(t){var e;return e=this.isDirected()?this.successors(t):this.neighbors(t),0===e.length}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;l.A(this._nodes,(function(n,r){t(r)&&e.setNode(r,n)})),l.A(this._edgeObjs,(function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))}));var r={};function i(t){var s=n.parent(t);return void 0===s||e.hasNode(s)?(r[t]=s,s):s in r?r[s]:i(s)}return this._isCompound&&l.A(e.nodes(),(function(t){e.setParent(t,i(t))})),e}setDefaultEdgeLabel(t){return s.A(t)||(t=i.A(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return M.A(this._edgeObjs)}setPath(t,e){var n=this,r=arguments;return R.A(t,(function(t,i){return r.length>1?n.setEdge(t,i,e):n.setEdge(t,i),i})),this}setEdge(){var t,e,n,i,s=!1,a=arguments[0];"object"===typeof a&&null!==a&&"v"in a?(t=a.v,e=a.w,n=a.name,2===arguments.length&&(i=arguments[1],s=!0)):(t=a,e=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],s=!0)),t=""+t,e=""+e,u.A(n)||(n=""+n);var o=q(this._isDirected,t,e,n);if(r.A(this._edgeLabels,o))return s&&(this._edgeLabels[o]=i),this;if(!u.A(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[o]=s?i:this._defaultEdgeLabelFn(t,e,n);var c=K(this._isDirected,t,e,n);return t=c.v,e=c.w,Object.freeze(c),this._edgeObjs[o]=c,U(this._preds[e],t),U(this._sucs[t],e),this._in[e][o]=c,this._out[t][o]=c,this._edgeCount++,this}edge(t,e,n){var r=1===arguments.length?V(this._isDirected,arguments[0]):q(this._isDirected,t,e,n);return this._edgeLabels[r]}hasEdge(t,e,n){var i=1===arguments.length?V(this._isDirected,arguments[0]):q(this._isDirected,t,e,n);return r.A(this._edgeLabels,i)}removeEdge(t,e,n){var r=1===arguments.length?V(this._isDirected,arguments[0]):q(this._isDirected,t,e,n),i=this._edgeObjs[r];return i&&(t=i.v,e=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],X(this._preds[e],t),X(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this}inEdges(t,e){var n=this._in[t];if(n){var r=M.A(n);return e?o.A(r,(function(t){return t.v===e})):r}}outEdges(t,e){var n=this._out[t];if(n){var r=M.A(n);return e?o.A(r,(function(t){return t.w===e})):r}}nodeEdges(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}}function U(t,e){t[e]?t[e]++:t[e]=1}function X(t,e){--t[e]||delete t[e]}function q(t,e,n,r){var i=""+e,s=""+n;if(!t&&i>s){var a=i;i=s,s=a}return i+Y+s+Y+(u.A(r)?P:r)}function K(t,e,n,r){var i=""+e,s=""+n;if(!t&&i>s){var a=i;i=s,s=a}var o={v:i,w:s};return r&&(o.name=r),o}function V(t,e){return q(t,e.v,e.w,e.name)}W.prototype._nodeCount=0,W.prototype._edgeCount=0},697:function(t,e,n){n.d(e,{T:function(){return r.T}});var r=n(73046)},75937:function(t,e,n){var r=n(72453),i=n(74886);const s=(t,e)=>r.A.lang.round(i.A.parse(t)[e]);e.A=s},62062:function(t,e,n){n.d(e,{A:function(){return u}});var r=n(29471),i="__lodash_hash_undefined__";function s(t){return this.__data__.set(t,i),this}var a=s;function o(t){return this.__data__.has(t)}var c=o;function l(t){var e=-1,n=null==t?0:t.length;this.__data__=new r.A;while(++e<n)this.add(t[e])}l.prototype.add=l.prototype.push=a,l.prototype.has=c;var u=l},72641:function(t,e){function n(t,e){var n=-1,r=null==t?0:t.length;while(++n<r)if(!1===e(t[n],n,t))break;return t}e.A=n},2634:function(t,e){function n(t,e){var n=-1,r=null==t?0:t.length,i=0,s=[];while(++n<r){var a=t[n];e(a,n,t)&&(s[i++]=a)}return s}e.A=n},45572:function(t,e){function n(t,e){var n=-1,r=null==t?0:t.length,i=Array(r);while(++n<r)i[n]=e(t[n],n,t);return i}e.A=n},76912:function(t,e){function n(t,e){var n=-1,r=e.length,i=t.length;while(++n<r)t[i+n]=e[n];return t}e.A=n},91641:function(t,e,n){n.d(e,{A:function(){return ue}});var r=n(11754),i=n(72641),s=n(52851),a=n(22031),o=n(27422);function c(t,e){return t&&(0,a.A)(e,(0,o.A)(e),t)}var l=c,u=n(55615);function d(t,e){return t&&(0,a.A)(e,(0,u.A)(e),t)}var h=d,f=n(80154),g=n(39759),p=n(92411);function y(t,e){return(0,a.A)(t,(0,p.A)(t),e)}var x=y,b=n(76912),m=n(15647),k=n(13153),v=Object.getOwnPropertySymbols,w=v?function(t){var e=[];while(t)(0,b.A)(e,(0,p.A)(t)),t=(0,m.A)(t);return e}:k.A,S=w;function _(t,e){return(0,a.A)(t,S(t),e)}var A=_,L=n(19042),E=n(33831);function D(t){return(0,E.A)(t,u.A,S)}var T=D,C=n(9779),F=Object.prototype,I=F.hasOwnProperty;function O(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&I.call(t,"index")&&(n.index=t.index,n.input=t.input),n}var z=O,N=n(90565);function B(t,e){var n=e?(0,N.A)(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}var $=B,j=/\w*$/;function M(t){var e=new t.constructor(t.source,j.exec(t));return e.lastIndex=t.lastIndex,e}var R=M,P=n(241),H=P.A?P.A.prototype:void 0,Y=H?H.valueOf:void 0;function W(t){return Y?Object(Y.call(t)):{}}var U=W,X=n(1801),q="[object Boolean]",K="[object Date]",V="[object Map]",Q="[object Number]",G="[object RegExp]",Z="[object Set]",J="[object String]",tt="[object Symbol]",et="[object ArrayBuffer]",nt="[object DataView]",rt="[object Float32Array]",it="[object Float64Array]",st="[object Int8Array]",at="[object Int16Array]",ot="[object Int32Array]",ct="[object Uint8Array]",lt="[object Uint8ClampedArray]",ut="[object Uint16Array]",dt="[object Uint32Array]";function ht(t,e,n){var r=t.constructor;switch(e){case et:return(0,N.A)(t);case q:case K:return new r(+t);case nt:return $(t,n);case rt:case it:case st:case at:case ot:case ct:case lt:case ut:case dt:return(0,X.A)(t,n);case V:return new r;case Q:case J:return new r(t);case G:return R(t);case Z:return new r;case tt:return U(t)}}var ft=ht,gt=n(18598),pt=n(92049),yt=n(99912),xt=n(53098),bt="[object Map]";function mt(t){return(0,xt.A)(t)&&(0,C.A)(t)==bt}var kt=mt,vt=n(52789),wt=n(64841),St=wt.A&&wt.A.isMap,_t=St?(0,vt.A)(St):kt,At=_t,Lt=n(23149),Et="[object Set]";function Dt(t){return(0,xt.A)(t)&&(0,C.A)(t)==Et}var Tt=Dt,Ct=wt.A&&wt.A.isSet,Ft=Ct?(0,vt.A)(Ct):Tt,It=Ft,Ot=1,zt=2,Nt=4,Bt="[object Arguments]",$t="[object Array]",jt="[object Boolean]",Mt="[object Date]",Rt="[object Error]",Pt="[object Function]",Ht="[object GeneratorFunction]",Yt="[object Map]",Wt="[object Number]",Ut="[object Object]",Xt="[object RegExp]",qt="[object Set]",Kt="[object String]",Vt="[object Symbol]",Qt="[object WeakMap]",Gt="[object ArrayBuffer]",Zt="[object DataView]",Jt="[object Float32Array]",te="[object Float64Array]",ee="[object Int8Array]",ne="[object Int16Array]",re="[object Int32Array]",ie="[object Uint8Array]",se="[object Uint8ClampedArray]",ae="[object Uint16Array]",oe="[object Uint32Array]",ce={};function le(t,e,n,a,c,d){var p,y=e&Ot,b=e&zt,m=e&Nt;if(n&&(p=c?n(t,a,c,d):n(t)),void 0!==p)return p;if(!(0,Lt.A)(t))return t;var k=(0,pt.A)(t);if(k){if(p=z(t),!y)return(0,g.A)(t,p)}else{var v=(0,C.A)(t),w=v==Pt||v==Ht;if((0,yt.A)(t))return(0,f.A)(t,y);if(v==Ut||v==Bt||w&&!c){if(p=b||w?{}:(0,gt.A)(t),!y)return b?A(t,h(p,t)):x(t,l(p,t))}else{if(!ce[v])return c?t:{};p=ft(t,v,y)}}d||(d=new r.A);var S=d.get(t);if(S)return S;d.set(t,p),It(t)?t.forEach((function(r){p.add(le(r,e,n,r,t,d))})):At(t)&&t.forEach((function(r,i){p.set(i,le(r,e,n,i,t,d))}));var _=m?b?T:L.A:b?u.A:o.A,E=k?void 0:_(t);return(0,i.A)(E||t,(function(r,i){E&&(i=r,r=t[i]),(0,s.A)(p,i,le(r,e,n,i,t,d))})),p}ce[Bt]=ce[$t]=ce[Gt]=ce[Zt]=ce[jt]=ce[Mt]=ce[Jt]=ce[te]=ce[ee]=ce[ne]=ce[re]=ce[Yt]=ce[Wt]=ce[Ut]=ce[Xt]=ce[qt]=ce[Kt]=ce[Vt]=ce[ie]=ce[se]=ce[ae]=ce[oe]=!0,ce[Rt]=ce[Pt]=ce[Qt]=!1;var ue=le},6240:function(t,e,n){n.d(e,{A:function(){return c}});var r=n(79841),i=n(38446);function s(t,e){return function(n,r){if(null==n)return n;if(!(0,i.A)(n))return t(n,r);var s=n.length,a=e?s:-1,o=Object(n);while(e?a--:++a<s)if(!1===r(o[a],a,o))break;return n}}var a=s,o=a(r.A),c=o},25707:function(t,e){function n(t,e,n,r){var i=t.length,s=n+(r?1:-1);while(r?s--:++s<i)if(e(t[s],s,t))return s;return-1}e.A=n},13588:function(t,e,n){n.d(e,{A:function(){return d}});var r=n(76912),i=n(241),s=n(52274),a=n(92049),o=i.A?i.A.isConcatSpreadable:void 0;function c(t){return(0,a.A)(t)||(0,s.A)(t)||!!(o&&t&&t[o])}var l=c;function u(t,e,n,i,s){var a=-1,o=t.length;n||(n=l),s||(s=[]);while(++a<o){var c=t[a];e>0&&n(c)?e>1?u(c,e-1,n,i,s):(0,r.A)(s,c):i||(s[s.length]=c)}return s}var d=u},79841:function(t,e,n){var r=n(4574),i=n(27422);function s(t,e){return t&&(0,r.A)(t,e,i.A)}e.A=s},66318:function(t,e,n){var r=n(7819),i=n(30901);function s(t,e){e=(0,r.A)(e,t);var n=0,s=e.length;while(null!=t&&n<s)t=t[(0,i.A)(e[n++])];return n&&n==s?t:void 0}e.A=s},33831:function(t,e,n){var r=n(76912),i=n(92049);function s(t,e,n){var s=e(t);return(0,i.A)(t)?s:(0,r.A)(s,n(t))}e.A=s},49574:function(t,e,n){n.d(e,{A:function(){return Ot}});var r=n(11754),i=n(62062);function s(t,e){var n=-1,r=null==t?0:t.length;while(++n<r)if(e(t[n],n,t))return!0;return!1}var a=s,o=n(64099),c=1,l=2;function u(t,e,n,r,s,u){var d=n&c,h=t.length,f=e.length;if(h!=f&&!(d&&f>h))return!1;var g=u.get(t),p=u.get(e);if(g&&p)return g==e&&p==t;var y=-1,x=!0,b=n&l?new i.A:void 0;u.set(t,e),u.set(e,t);while(++y<h){var m=t[y],k=e[y];if(r)var v=d?r(k,m,y,e,t,u):r(m,k,y,t,e,u);if(void 0!==v){if(v)continue;x=!1;break}if(b){if(!a(e,(function(t,e){if(!(0,o.A)(b,e)&&(m===t||s(m,t,n,r,u)))return b.push(e)}))){x=!1;break}}else if(m!==k&&!s(m,k,n,r,u)){x=!1;break}}return u["delete"](t),u["delete"](e),x}var d=u,h=n(241),f=n(43988),g=n(66984);function p(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}var y=p,x=n(29959),b=1,m=2,k="[object Boolean]",v="[object Date]",w="[object Error]",S="[object Map]",_="[object Number]",A="[object RegExp]",L="[object Set]",E="[object String]",D="[object Symbol]",T="[object ArrayBuffer]",C="[object DataView]",F=h.A?h.A.prototype:void 0,I=F?F.valueOf:void 0;function O(t,e,n,r,i,s,a){switch(n){case C:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case T:return!(t.byteLength!=e.byteLength||!s(new f.A(t),new f.A(e)));case k:case v:case _:return(0,g.A)(+t,+e);case w:return t.name==e.name&&t.message==e.message;case A:case E:return t==e+"";case S:var o=y;case L:var c=r&b;if(o||(o=x.A),t.size!=e.size&&!c)return!1;var l=a.get(t);if(l)return l==e;r|=m,a.set(t,e);var u=d(o(t),o(e),r,i,s,a);return a["delete"](t),u;case D:if(I)return I.call(t)==I.call(e)}return!1}var z=O,N=n(19042),B=1,$=Object.prototype,j=$.hasOwnProperty;function M(t,e,n,r,i,s){var a=n&B,o=(0,N.A)(t),c=o.length,l=(0,N.A)(e),u=l.length;if(c!=u&&!a)return!1;var d=c;while(d--){var h=o[d];if(!(a?h in e:j.call(e,h)))return!1}var f=s.get(t),g=s.get(e);if(f&&g)return f==e&&g==t;var p=!0;s.set(t,e),s.set(e,t);var y=a;while(++d<c){h=o[d];var x=t[h],b=e[h];if(r)var m=a?r(b,x,h,e,t,s):r(x,b,h,t,e,s);if(!(void 0===m?x===b||i(x,b,n,r,s):m)){p=!1;break}y||(y="constructor"==h)}if(p&&!y){var k=t.constructor,v=e.constructor;k==v||!("constructor"in t)||!("constructor"in e)||"function"==typeof k&&k instanceof k&&"function"==typeof v&&v instanceof v||(p=!1)}return s["delete"](t),s["delete"](e),p}var R=M,P=n(9779),H=n(92049),Y=n(99912),W=n(33858),U=1,X="[object Arguments]",q="[object Array]",K="[object Object]",V=Object.prototype,Q=V.hasOwnProperty;function G(t,e,n,i,s,a){var o=(0,H.A)(t),c=(0,H.A)(e),l=o?q:(0,P.A)(t),u=c?q:(0,P.A)(e);l=l==X?K:l,u=u==X?K:u;var h=l==K,f=u==K,g=l==u;if(g&&(0,Y.A)(t)){if(!(0,Y.A)(e))return!1;o=!0,h=!1}if(g&&!h)return a||(a=new r.A),o||(0,W.A)(t)?d(t,e,n,i,s,a):z(t,e,l,n,i,s,a);if(!(n&U)){var p=h&&Q.call(t,"__wrapped__"),y=f&&Q.call(e,"__wrapped__");if(p||y){var x=p?t.value():t,b=y?e.value():e;return a||(a=new r.A),s(x,b,n,i,a)}}return!!g&&(a||(a=new r.A),R(t,e,n,i,s,a))}var Z=G,J=n(53098);function tt(t,e,n,r,i){return t===e||(null==t||null==e||!(0,J.A)(t)&&!(0,J.A)(e)?t!==t&&e!==e:Z(t,e,n,r,tt,i))}var et=tt,nt=1,rt=2;function it(t,e,n,i){var s=n.length,a=s,o=!i;if(null==t)return!a;t=Object(t);while(s--){var c=n[s];if(o&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}while(++s<a){c=n[s];var l=c[0],u=t[l],d=c[1];if(o&&c[2]){if(void 0===u&&!(l in t))return!1}else{var h=new r.A;if(i)var f=i(u,d,l,t,e,h);if(!(void 0===f?et(d,u,nt|rt,i,h):f))return!1}}return!0}var st=it,at=n(23149);function ot(t){return t===t&&!(0,at.A)(t)}var ct=ot,lt=n(27422);function ut(t){var e=(0,lt.A)(t),n=e.length;while(n--){var r=e[n],i=t[r];e[n]=[r,i,ct(i)]}return e}var dt=ut;function ht(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}var ft=ht;function gt(t){var e=dt(t);return 1==e.length&&e[0][2]?ft(e[0][0],e[0][1]):function(n){return n===t||st(n,t,e)}}var pt=gt,yt=n(66318);function xt(t,e,n){var r=null==t?void 0:(0,yt.A)(t,e);return void 0===r?n:r}var bt=xt,mt=n(39188),kt=n(86586),vt=n(30901),wt=1,St=2;function _t(t,e){return(0,kt.A)(t)&&ct(e)?ft((0,vt.A)(t),e):function(n){var r=bt(n,t);return void 0===r&&r===e?(0,mt.A)(n,t):et(e,r,wt|St)}}var At=_t,Lt=n(29008),Et=n(70805);function Dt(t){return function(e){return(0,yt.A)(e,t)}}var Tt=Dt;function Ct(t){return(0,kt.A)(t)?(0,Et.A)((0,vt.A)(t)):Tt(t)}var Ft=Ct;function It(t){return"function"==typeof t?t:null==t?Lt.A:"object"==typeof t?(0,H.A)(t)?At(t[0],t[1]):pt(t):Ft(t)}var Ot=It},70805:function(t,e){function n(t){return function(e){return null==e?void 0:e[t]}}e.A=n},64099:function(t,e){function n(t,e){return t.has(e)}e.A=n},99922:function(t,e,n){var r=n(29008);function i(t){return"function"==typeof t?t:r.A}e.A=i},7819:function(t,e,n){n.d(e,{A:function(){return p}});var r=n(92049),i=n(86586),s=n(46632),a=500;function o(t){var e=(0,s.A)(t,(function(t){return n.size===a&&n.clear(),t})),n=e.cache;return e}var c=o,l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,d=c((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(l,(function(t,n,r,i){e.push(r?i.replace(u,"$1"):n||t)})),e})),h=d,f=n(28894);function g(t,e){return(0,r.A)(t)?t:(0,i.A)(t,e)?[t]:h((0,f.A)(t))}var p=g},19042:function(t,e,n){var r=n(33831),i=n(92411),s=n(27422);function a(t){return(0,r.A)(t,s.A,i.A)}e.A=a},92411:function(t,e,n){var r=n(2634),i=n(13153),s=Object.prototype,a=s.propertyIsEnumerable,o=Object.getOwnPropertySymbols,c=o?function(t){return null==t?[]:(t=Object(t),(0,r.A)(o(t),(function(e){return a.call(t,e)})))}:i.A;e.A=c},85054:function(t,e,n){var r=n(7819),i=n(52274),s=n(92049),a=n(25353),o=n(5254),c=n(30901);function l(t,e,n){e=(0,r.A)(e,t);var l=-1,u=e.length,d=!1;while(++l<u){var h=(0,c.A)(e[l]);if(!(d=null!=t&&n(t,h)))break;t=t[h]}return d||++l!=u?d:(u=null==t?0:t.length,!!u&&(0,o.A)(u)&&(0,a.A)(h,u)&&((0,s.A)(t)||(0,i.A)(t)))}e.A=l},86586:function(t,e,n){var r=n(92049),i=n(61882),s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function o(t,e){if((0,r.A)(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!(0,i.A)(t))||(a.test(t)||!s.test(t)||null!=e&&t in Object(e))}e.A=o},29959:function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}e.A=n},30901:function(t,e,n){var r=n(61882),i=1/0;function s(t){if("string"==typeof t||(0,r.A)(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}e.A=s},50053:function(t,e,n){var r=n(91641),i=4;function s(t){return(0,r.A)(t,i)}e.A=s},11662:function(t,e,n){n.d(e,{A:function(){return u}});var r=n(2634),i=n(6240);function s(t,e){var n=[];return(0,i.A)(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}var a=s,o=n(49574),c=n(92049);function l(t,e){var n=(0,c.A)(t)?r.A:a;return n(t,(0,o.A)(e,3))}var u=l},8058:function(t,e,n){var r=n(72641),i=n(6240),s=n(99922),a=n(92049);function o(t,e){var n=(0,a.A)(t)?r.A:i.A;return n(t,(0,s.A)(e))}e.A=o},48585:function(t,e,n){n.d(e,{A:function(){return l}});var r=Object.prototype,i=r.hasOwnProperty;function s(t,e){return null!=t&&i.call(t,e)}var a=s,o=n(85054);function c(t,e){return null!=t&&(0,o.A)(t,e,a)}var l=c},39188:function(t,e,n){function r(t,e){return null!=t&&e in Object(t)}n.d(e,{A:function(){return o}});var i=r,s=n(85054);function a(t,e){return null!=t&&(0,s.A)(t,e,i)}var o=a},61882:function(t,e,n){var r=n(88496),i=n(53098),s="[object Symbol]";function a(t){return"symbol"==typeof t||(0,i.A)(t)&&(0,r.A)(t)==s}e.A=a},69592:function(t,e){function n(t){return void 0===t}e.A=n},27422:function(t,e,n){var r=n(83607),i=n(69471),s=n(38446);function a(t){return(0,s.A)(t)?(0,r.A)(t):(0,i.A)(t)}e.A=a},89463:function(t,e,n){function r(t,e,n,r){var i=-1,s=null==t?0:t.length;r&&s&&(n=t[++i]);while(++i<s)n=e(n,t[i],i,t);return n}n.d(e,{A:function(){return d}});var i=r,s=n(6240),a=n(49574);function o(t,e,n,r,i){return i(t,(function(t,i,s){n=r?(r=!1,t):e(n,t,i,s)})),n}var c=o,l=n(92049);function u(t,e,n){var r=(0,l.A)(t)?i:c,o=arguments.length<3;return r(t,(0,a.A)(e,4),n,o,s.A)}var d=u},13153:function(t,e){function n(){return[]}e.A=n},28894:function(t,e,n){n.d(e,{A:function(){return f}});var r=n(241),i=n(45572),s=n(92049),a=n(61882),o=1/0,c=r.A?r.A.prototype:void 0,l=c?c.toString:void 0;function u(t){if("string"==typeof t)return t;if((0,s.A)(t))return(0,i.A)(t,u)+"";if((0,a.A)(t))return l?l.call(t):"";var e=t+"";return"0"==e&&1/t==-o?"-0":e}var d=u;function h(t){return null==t?"":d(t)}var f=h},38207:function(t,e,n){n.d(e,{A:function(){return c}});var r=n(45572);function i(t,e){return(0,r.A)(e,(function(e){return t[e]}))}var s=i,a=n(27422);function o(t){return null==t?[]:s(t,(0,a.A)(t))}var c=o},14162:function(t,e,n){n.d(e,{diagram:function(){return ft}});var r,i,s=n(99702),a=n(50053),o=n(75937),c=n(25582),l=n(98055),u=n(697),d=n(26312),h=(n(74353),n(62559),n(43047),function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,7],n=[1,13],r=[1,14],i=[1,15],s=[1,19],a=[1,16],o=[1,17],c=[1,18],l=[8,30],u=[8,21,28,29,30,31,32,40,44,47],d=[1,23],h=[1,24],f=[8,15,16,21,28,29,30,31,32,40,44,47],g=[8,15,16,21,27,28,29,30,31,32,40,44,47],p=[1,49],y={trace:function(){},yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:function(t,e,n,r,i,s,a){var o=s.length-1;switch(i){case 4:r.getLogger().debug("Rule: separator (NL) ");break;case 5:r.getLogger().debug("Rule: separator (Space) ");break;case 6:r.getLogger().debug("Rule: separator (EOF) ");break;case 7:r.getLogger().debug("Rule: hierarchy: ",s[o-1]),r.setHierarchy(s[o-1]);break;case 8:r.getLogger().debug("Stop NL ");break;case 9:r.getLogger().debug("Stop EOF ");break;case 10:r.getLogger().debug("Stop NL2 ");break;case 11:r.getLogger().debug("Stop EOF2 ");break;case 12:r.getLogger().debug("Rule: statement: ",s[o]),"number"===typeof s[o].length?this.$=s[o]:this.$=[s[o]];break;case 13:r.getLogger().debug("Rule: statement #2: ",s[o-1]),this.$=[s[o-1]].concat(s[o]);break;case 14:r.getLogger().debug("Rule: link: ",s[o],t),this.$={edgeTypeStr:s[o],label:""};break;case 15:r.getLogger().debug("Rule: LABEL link: ",s[o-3],s[o-1],s[o]),this.$={edgeTypeStr:s[o],label:s[o-1]};break;case 18:const e=parseInt(s[o]),n=r.generateId();this.$={id:n,type:"space",label:"",width:e,children:[]};break;case 23:r.getLogger().debug("Rule: (nodeStatement link node) ",s[o-2],s[o-1],s[o]," typestr: ",s[o-1].edgeTypeStr);const i=r.edgeStrToEdgeData(s[o-1].edgeTypeStr);this.$=[{id:s[o-2].id,label:s[o-2].label,type:s[o-2].type,directions:s[o-2].directions},{id:s[o-2].id+"-"+s[o].id,start:s[o-2].id,end:s[o].id,label:s[o-1].label,type:"edge",directions:s[o].directions,arrowTypeEnd:i,arrowTypeStart:"arrow_open"},{id:s[o].id,label:s[o].label,type:r.typeStr2Type(s[o].typeStr),directions:s[o].directions}];break;case 24:r.getLogger().debug("Rule: nodeStatement (abc88 node size) ",s[o-1],s[o]),this.$={id:s[o-1].id,label:s[o-1].label,type:r.typeStr2Type(s[o-1].typeStr),directions:s[o-1].directions,widthInColumns:parseInt(s[o],10)};break;case 25:r.getLogger().debug("Rule: nodeStatement (node) ",s[o]),this.$={id:s[o].id,label:s[o].label,type:r.typeStr2Type(s[o].typeStr),directions:s[o].directions,widthInColumns:1};break;case 26:r.getLogger().debug("APA123",this?this:"na"),r.getLogger().debug("COLUMNS: ",s[o]),this.$={type:"column-setting",columns:"auto"===s[o]?-1:parseInt(s[o])};break;case 27:r.getLogger().debug("Rule: id-block statement : ",s[o-2],s[o-1]),r.generateId(),this.$={...s[o-2],type:"composite",children:s[o-1]};break;case 28:r.getLogger().debug("Rule: blockStatement : ",s[o-2],s[o-1],s[o]);const a=r.generateId();this.$={id:a,type:"composite",label:"",children:s[o-1]};break;case 29:r.getLogger().debug("Rule: node (NODE_ID separator): ",s[o]),this.$={id:s[o]};break;case 30:r.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",s[o-1],s[o]),this.$={id:s[o-1],label:s[o].label,typeStr:s[o].typeStr,directions:s[o].directions};break;case 31:r.getLogger().debug("Rule: dirList: ",s[o]),this.$=[s[o]];break;case 32:r.getLogger().debug("Rule: dirList: ",s[o-1],s[o]),this.$=[s[o-1]].concat(s[o]);break;case 33:r.getLogger().debug("Rule: nodeShapeNLabel: ",s[o-2],s[o-1],s[o]),this.$={typeStr:s[o-2]+s[o],label:s[o-1]};break;case 34:r.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",s[o-3],s[o-2]," #3:",s[o-1],s[o]),this.$={typeStr:s[o-3]+s[o],label:s[o-2],directions:s[o-1]};break;case 35:case 36:this.$={type:"classDef",id:s[o-1].trim(),css:s[o].trim()};break;case 37:this.$={type:"applyClass",id:s[o-1].trim(),styleClass:s[o].trim()};break;case 38:this.$={type:"applyStyles",id:s[o-1].trim(),stylesStr:s[o].trim()};break}},table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:e,22:8,23:9,24:10,25:11,26:12,28:n,29:r,31:i,32:s,40:a,44:o,47:c},{8:[1,20]},t(l,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:e,28:n,29:r,31:i,32:s,40:a,44:o,47:c}),t(u,[2,16],{14:22,15:d,16:h}),t(u,[2,17]),t(u,[2,18]),t(u,[2,19]),t(u,[2,20]),t(u,[2,21]),t(u,[2,22]),t(f,[2,25],{27:[1,25]}),t(u,[2,26]),{19:26,26:12,32:s},{11:27,13:4,19:5,20:6,21:e,22:8,23:9,24:10,25:11,26:12,28:n,29:r,31:i,32:s,40:a,44:o,47:c},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},t(g,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},t(l,[2,13]),{26:35,32:s},{32:[2,14]},{17:[1,36]},t(f,[2,24]),{11:37,13:4,14:22,15:d,16:h,19:5,20:6,21:e,22:8,23:9,24:10,25:11,26:12,28:n,29:r,31:i,32:s,40:a,44:o,47:c},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},t(g,[2,30]),{18:[1,43]},{18:[1,44]},t(f,[2,23]),{18:[1,45]},{30:[1,46]},t(u,[2,28]),t(u,[2,35]),t(u,[2,36]),t(u,[2,37]),t(u,[2,38]),{37:[1,47]},{34:48,35:p},{15:[1,50]},t(u,[2,27]),t(g,[2,33]),{39:[1,51]},{34:52,35:p,39:[2,31]},{32:[2,15]},t(g,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],s=[],a=this.table,o="",c=0,l=0,u=2,d=1,h=s.slice.call(arguments,1),f=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);f.setInput(t,g.yy),g.yy.lexer=f,g.yy.parser=this,"undefined"==typeof f.yylloc&&(f.yylloc={});var y=f.yylloc;s.push(y);var x=f.options&&f.options.ranges;function b(){var t;return t=r.pop()||f.lex()||d,"number"!==typeof t&&(t instanceof Array&&(r=t,t=r.pop()),t=e.symbols_[t]||t),t}"function"===typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;var m,k,v,w,S,_,A,L,E={};while(1){if(k=n[n.length-1],this.defaultActions[k]?v=this.defaultActions[k]:(null!==m&&"undefined"!=typeof m||(m=b()),v=a[k]&&a[k][m]),"undefined"===typeof v||!v.length||!v[0]){var D="";for(S in L=[],a[k])this.terminals_[S]&&S>u&&L.push("'"+this.terminals_[S]+"'");D=f.showPosition?"Parse error on line "+(c+1)+":\n"+f.showPosition()+"\nExpecting "+L.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==d?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(D,{text:f.match,token:this.terminals_[m]||m,line:f.yylineno,loc:y,expected:L})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+k+", token: "+m);switch(v[0]){case 1:n.push(m),i.push(f.yytext),s.push(f.yylloc),n.push(v[1]),m=null,l=f.yyleng,o=f.yytext,c=f.yylineno,y=f.yylloc;break;case 2:if(_=this.productions_[v[1]][1],E.$=i[i.length-_],E._$={first_line:s[s.length-(_||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(_||1)].first_column,last_column:s[s.length-1].last_column},x&&(E._$.range=[s[s.length-(_||1)].range[0],s[s.length-1].range[1]]),w=this.performAction.apply(E,[o,l,c,g.yy,v[1],i,s].concat(h)),"undefined"!==typeof w)return w;_&&(n=n.slice(0,-1*_*2),i=i.slice(0,-1*_),s=s.slice(0,-1*_)),n.push(this.productions_[v[1]][0]),i.push(E.$),s.push(E._$),A=a[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0}},x=function(){var t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var e=t.match(/(?:\r\n?|\n).*/g);return e?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=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 i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=t[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var s in i)this[s]=i[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),s=0;s<i.length;s++)if(n=this._input.match(this.rules[i[s]]),n&&(!e||n[0].length>e[0].length)){if(e=n,r=s,this.options.backtrack_lexer){if(t=this.test_match(n,i[s]),!1!==t)return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?(t=this.test_match(e,i[r]),!1!==t&&t):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){var t=this.conditionStack.length-1;return t>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions["INITIAL"].rules},topState:function(t){return t=this.conditionStack.length-1-Math.abs(t||0),t>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){case 0:return 10;case 1:return t.getLogger().debug("Found space-block"),31;case 2:return t.getLogger().debug("Found nl-block"),31;case 3:return t.getLogger().debug("Found space-block"),29;case 4:t.getLogger().debug(".",e.yytext);break;case 5:t.getLogger().debug("_",e.yytext);break;case 6:return 5;case 7:return e.yytext=-1,28;case 8:return e.yytext=e.yytext.replace(/columns\s+/,""),t.getLogger().debug("COLUMNS (LEX)",e.yytext),28;case 9:this.pushState("md_string");break;case 10:return"MD_STR";case 11:this.popState();break;case 12:this.pushState("string");break;case 13:t.getLogger().debug("LEX: POPPING STR:",e.yytext),this.popState();break;case 14:return t.getLogger().debug("LEX: STR end:",e.yytext),"STR";case 15:return e.yytext=e.yytext.replace(/space\:/,""),t.getLogger().debug("SPACE NUM (LEX)",e.yytext),21;case 16:return e.yytext="1",t.getLogger().debug("COLUMNS (LEX)",e.yytext),21;case 17:return 43;case 18:return"LINKSTYLE";case 19:return"INTERPOLATE";case 20:return this.pushState("CLASSDEF"),40;case 21:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 22:return this.popState(),this.pushState("CLASSDEFID"),41;case 23:return this.popState(),42;case 24:return this.pushState("CLASS"),44;case 25:return this.popState(),this.pushState("CLASS_STYLE"),45;case 26:return this.popState(),46;case 27:return this.pushState("STYLE_STMNT"),47;case 28:return this.popState(),this.pushState("STYLE_DEFINITION"),48;case 29:return this.popState(),49;case 30:return this.pushState("acc_title"),"acc_title";case 31:return this.popState(),"acc_title_value";case 32:return this.pushState("acc_descr"),"acc_descr";case 33:return this.popState(),"acc_descr_value";case 34:this.pushState("acc_descr_multiline");break;case 35:this.popState();break;case 36:return"acc_descr_multiline_value";case 37:return 30;case 38:return this.popState(),t.getLogger().debug("Lex: (("),"NODE_DEND";case 39:return this.popState(),t.getLogger().debug("Lex: (("),"NODE_DEND";case 40:return this.popState(),t.getLogger().debug("Lex: ))"),"NODE_DEND";case 41:return this.popState(),t.getLogger().debug("Lex: (("),"NODE_DEND";case 42:return this.popState(),t.getLogger().debug("Lex: (("),"NODE_DEND";case 43:return this.popState(),t.getLogger().debug("Lex: (-"),"NODE_DEND";case 44:return this.popState(),t.getLogger().debug("Lex: -)"),"NODE_DEND";case 45:return this.popState(),t.getLogger().debug("Lex: (("),"NODE_DEND";case 46:return this.popState(),t.getLogger().debug("Lex: ]]"),"NODE_DEND";case 47:return this.popState(),t.getLogger().debug("Lex: ("),"NODE_DEND";case 48:return this.popState(),t.getLogger().debug("Lex: ])"),"NODE_DEND";case 49:return this.popState(),t.getLogger().debug("Lex: /]"),"NODE_DEND";case 50:return this.popState(),t.getLogger().debug("Lex: /]"),"NODE_DEND";case 51:return this.popState(),t.getLogger().debug("Lex: )]"),"NODE_DEND";case 52:return this.popState(),t.getLogger().debug("Lex: )"),"NODE_DEND";case 53:return this.popState(),t.getLogger().debug("Lex: ]>"),"NODE_DEND";case 54:return this.popState(),t.getLogger().debug("Lex: ]"),"NODE_DEND";case 55:return t.getLogger().debug("Lexa: -)"),this.pushState("NODE"),36;case 56:return t.getLogger().debug("Lexa: (-"),this.pushState("NODE"),36;case 57:return t.getLogger().debug("Lexa: ))"),this.pushState("NODE"),36;case 58:return t.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 59:return t.getLogger().debug("Lex: ((("),this.pushState("NODE"),36;case 60:return t.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 61:return t.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 62:return t.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 63:return t.getLogger().debug("Lexc: >"),this.pushState("NODE"),36;case 64:return t.getLogger().debug("Lexa: (["),this.pushState("NODE"),36;case 65:return t.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 66:return this.pushState("NODE"),36;case 67:return this.pushState("NODE"),36;case 68:return this.pushState("NODE"),36;case 69:return this.pushState("NODE"),36;case 70:return this.pushState("NODE"),36;case 71:return this.pushState("NODE"),36;case 72:return this.pushState("NODE"),36;case 73:return t.getLogger().debug("Lexa: ["),this.pushState("NODE"),36;case 74:return this.pushState("BLOCK_ARROW"),t.getLogger().debug("LEX ARR START"),38;case 75:return t.getLogger().debug("Lex: NODE_ID",e.yytext),32;case 76:return t.getLogger().debug("Lex: EOF",e.yytext),8;case 77:this.pushState("md_string");break;case 78:this.pushState("md_string");break;case 79:return"NODE_DESCR";case 80:this.popState();break;case 81:t.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 82:t.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 83:return t.getLogger().debug("LEX: NODE_DESCR:",e.yytext),"NODE_DESCR";case 84:t.getLogger().debug("LEX POPPING"),this.popState();break;case 85:t.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 86:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (right): dir:",e.yytext),"DIR";case 87:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (left):",e.yytext),"DIR";case 88:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (x):",e.yytext),"DIR";case 89:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (y):",e.yytext),"DIR";case 90:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (up):",e.yytext),"DIR";case 91:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (down):",e.yytext),"DIR";case 92:return e.yytext="]>",t.getLogger().debug("Lex (ARROW_DIR end):",e.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";case 93:return t.getLogger().debug("Lex: LINK","#"+e.yytext+"#"),15;case 94:return t.getLogger().debug("Lex: LINK",e.yytext),15;case 95:return t.getLogger().debug("Lex: LINK",e.yytext),15;case 96:return t.getLogger().debug("Lex: LINK",e.yytext),15;case 97:return t.getLogger().debug("Lex: START_LINK",e.yytext),this.pushState("LLABEL"),16;case 98:return t.getLogger().debug("Lex: START_LINK",e.yytext),this.pushState("LLABEL"),16;case 99:return t.getLogger().debug("Lex: START_LINK",e.yytext),this.pushState("LLABEL"),16;case 100:this.pushState("md_string");break;case 101:return t.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";case 102:return this.popState(),t.getLogger().debug("Lex: LINK","#"+e.yytext+"#"),15;case 103:return this.popState(),t.getLogger().debug("Lex: LINK",e.yytext),15;case 104:return this.popState(),t.getLogger().debug("Lex: LINK",e.yytext),15;case 105:return t.getLogger().debug("Lex: COLON",e.yytext),e.yytext=e.yytext.slice(1),27}},rules:[/^(?:block-beta\b)/,/^(?:block\s+)/,/^(?:block\n+)/,/^(?:block:)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[29],inclusive:!1},STYLE_STMNT:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[23],inclusive:!1},CLASSDEF:{rules:[21,22],inclusive:!1},CLASS_STYLE:{rules:[26],inclusive:!1},CLASS:{rules:[25],inclusive:!1},LLABEL:{rules:[100,101,102,103,104],inclusive:!1},ARROW_DIR:{rules:[86,87,88,89,90,91,92],inclusive:!1},BLOCK_ARROW:{rules:[77,82,85],inclusive:!1},NODE:{rules:[38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,78,81],inclusive:!1},md_string:{rules:[10,11,79,80],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[13,14,83,84],inclusive:!1},acc_descr_multiline:{rules:[35,36],inclusive:!1},acc_descr:{rules:[33],inclusive:!1},acc_title:{rules:[31],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,12,15,16,17,18,19,20,24,27,30,32,34,37,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,93,94,95,96,97,98,99,105],inclusive:!0}}};return t}();function b(){this.yy={}}return y.lexer=x,b.prototype=y,y.Parser=b,new b}());h.parser=h;const f=h;let g={},p=[],y={};const x="color",b="fill",m="bgFill",k=",",v=(0,s.c)();let w={};const S=t=>s.e.sanitizeText(t,v),_=function(t,e=""){void 0===w[t]&&(w[t]={id:t,styles:[],textStyles:[]});const n=w[t];void 0!==e&&null!==e&&e.split(k).forEach((t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(t.match(x)){const t=e.replace(b,m),r=t.replace(x,b);n.textStyles.push(r)}n.styles.push(e)}))},A=function(t,e=""){const n=g[t];void 0!==e&&null!==e&&(n.styles=e.split(k))},L=function(t,e){t.split(",").forEach((function(t){let n=g[t];if(void 0===n){const e=t.trim();g[e]={id:e,type:"na",children:[]},n=g[e]}n.classes||(n.classes=[]),n.classes.push(e)}))},E=(t,e)=>{const n=t.flat(),r=[];for(const i of n)if(i.label&&(i.label=S(i.label)),"classDef"!==i.type)if("applyClass"!==i.type)if("applyStyles"!==i.type)if("column-setting"===i.type)e.columns=i.columns||-1;else if("edge"===i.type)y[i.id]?y[i.id]++:y[i.id]=1,i.id=y[i.id]+"-"+i.id,p.push(i);else{i.label||("composite"===i.type?i.label="":i.label=i.id);const t=!g[i.id];if(t?g[i.id]=i:("na"!==i.type&&(g[i.id].type=i.type),i.label!==i.id&&(g[i.id].label=i.label)),i.children&&E(i.children,i),"space"===i.type){const t=i.width||1;for(let e=0;e<t;e++){const t=(0,a.A)(i);t.id=t.id+"-"+e,g[t.id]=t,r.push(t)}}else t&&r.push(i)}else(null==i?void 0:i.stylesStr)&&A(i.id,null==i?void 0:i.stylesStr);else L(i.id,(null==i?void 0:i.styleClass)||"");else _(i.id,i.css);e.children=r};let D=[],T={id:"root",type:"composite",children:[],columns:-1};const C=()=>{s.l.debug("Clear called"),(0,s.v)(),T={id:"root",type:"composite",children:[],columns:-1},g={root:T},D=[],w={},p=[],y={}};function F(t){switch(s.l.debug("typeStr2Type",t),t){case"[]":return"square";case"()":return s.l.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}function I(t){switch(s.l.debug("typeStr2Type",t),t){case"==":return"thick";default:return"normal"}}function O(t){switch(t.trim()){case"--x":return"arrow_cross";case"--o":return"arrow_circle";default:return"arrow_point"}}let z=0;const N=()=>(z++,"id-"+Math.random().toString(36).substr(2,12)+"-"+z),B=t=>{T.children=t,E(t,T),D=T.children},$=t=>{const e=g[t];return e?e.columns?e.columns:e.children?e.children.length:-1:-1},j=()=>[...Object.values(g)],M=()=>D||[],R=()=>p,P=t=>g[t],H=t=>{g[t.id]=t},Y=()=>console,W=function(){return w},U={getConfig:()=>(0,s.F)().block,typeStr2Type:F,edgeTypeStr2Type:I,edgeStrToEdgeData:O,getLogger:Y,getBlocksFlat:j,getBlocks:M,getEdges:R,setHierarchy:B,getBlock:P,setBlock:H,getColumns:$,getClasses:W,clear:C,generateId:N},X=U,q=(t,e)=>{const n=o.A,r=n(t,"r"),i=n(t,"g"),s=n(t,"b");return c.A(r,i,s,e)},K=t=>`.label {\n font-family: ${t.fontFamily};\n color: ${t.nodeTextColor||t.textColor};\n }\n .cluster-label text {\n fill: ${t.titleColor};\n }\n .cluster-label span,p {\n color: ${t.titleColor};\n }\n\n\n\n .label text,span,p {\n fill: ${t.nodeTextColor||t.textColor};\n color: ${t.nodeTextColor||t.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n }\n\n /* For html labels only */\n .labelBkg {\n background-color: ${q(t.edgeLabelBackground,.5)};\n // background-color:\n }\n\n .node .cluster {\n // fill: ${q(t.mainBkg,.5)};\n fill: ${q(t.clusterBkg,.5)};\n stroke: ${q(t.clusterBorder,.2)};\n box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n .cluster span,p {\n color: ${t.titleColor};\n }\n /* .cluster div {\n color: ${t.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${t.fontFamily};\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n`,V=K;function Q(t,e,n=!1){var r,i,a;const o=t;let c="default";((null==(r=null==o?void 0:o.classes)?void 0:r.length)||0)>0&&(c=((null==o?void 0:o.classes)||[]).join(" ")),c+=" flowchart-label";let l,u=0,d="";switch(o.type){case"round":u=5,d="rect";break;case"composite":u=0,d="composite",l=0;break;case"square":d="rect";break;case"diamond":d="