react-semaphor 0.0.614 → 0.0.616

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/dist/chunks/{_basePickBy-Cxdt4vVw.js → _basePickBy-CBUK3LQZ.js} +2 -2
  2. package/dist/chunks/{_basePickBy-gRpPEYzl.js → _basePickBy-CF4sHVu5.js} +1 -1
  3. package/dist/chunks/{_baseUniq-DWDavHdn.js → _baseUniq-C_wfwxLl.js} +1 -1
  4. package/dist/chunks/{_baseUniq-C5sVZ00h.js → _baseUniq-CqIR1mFI.js} +1 -1
  5. package/dist/chunks/{arc-DLNF2EJW.js → arc-CcvXRu6P.js} +1 -1
  6. package/dist/chunks/{arc-DOWUhC_S.js → arc-CgQJTOhQ.js} +1 -1
  7. package/dist/chunks/{architecture-O4VJ6CD3-VpbVJyT3.js → architecture-O4VJ6CD3-CWG1Sh-1.js} +1 -1
  8. package/dist/chunks/{architecture-O4VJ6CD3-D3XwXpD9.js → architecture-O4VJ6CD3-DloS2k8z.js} +1 -1
  9. package/dist/chunks/{architectureDiagram-KFL7JDKH-CXqtrY8w.js → architectureDiagram-KFL7JDKH-DEKqZHX8.js} +4 -4
  10. package/dist/chunks/{architectureDiagram-KFL7JDKH-D_IuAvcF.js → architectureDiagram-KFL7JDKH-JonPo-dN.js} +1 -1
  11. package/dist/chunks/{blockDiagram-ZYB65J3Q-D1W1RxBI.js → blockDiagram-ZYB65J3Q-Cvyjjlg1.js} +1 -1
  12. package/dist/chunks/{blockDiagram-ZYB65J3Q-CEV-d5d5.js → blockDiagram-ZYB65J3Q-KOL-oLcr.js} +5 -5
  13. package/dist/chunks/{c4Diagram-AAMF2YG6-DIPVMZbj.js → c4Diagram-AAMF2YG6-B_xh9jXv.js} +1 -1
  14. package/dist/chunks/{c4Diagram-AAMF2YG6-CBLytKBl.js → c4Diagram-AAMF2YG6-Dk9gzcHg.js} +2 -2
  15. package/dist/chunks/channel-Cx51sV1C.js +1 -0
  16. package/dist/chunks/{channel-DIPzZihl.js → channel-pTWH5VlK.js} +1 -1
  17. package/dist/chunks/{chunk-ANTBXLJU-Bgg_4C_x.js → chunk-ANTBXLJU-BEt7iLHo.js} +1 -1
  18. package/dist/chunks/{chunk-ANTBXLJU-BHCnbaju.js → chunk-ANTBXLJU-DB6YRzoJ.js} +1 -1
  19. package/dist/chunks/{chunk-FHKO5MBM-C_ygAgk8.js → chunk-FHKO5MBM-CDBkvH_8.js} +1 -1
  20. package/dist/chunks/{chunk-FHKO5MBM-CLAmVH6X.js → chunk-FHKO5MBM-CwO7Y4L_.js} +1 -1
  21. package/dist/chunks/{chunk-GLLZNHP4-D107voao.js → chunk-GLLZNHP4-C_LTdWfA.js} +1 -1
  22. package/dist/chunks/{chunk-GLLZNHP4-B2CMhVV-.js → chunk-GLLZNHP4-DM-tH8qN.js} +1 -1
  23. package/dist/chunks/{chunk-JBRWN2VN-BN3xU0op.js → chunk-JBRWN2VN-CGkmp9iv.js} +1 -1
  24. package/dist/chunks/{chunk-JBRWN2VN-CrM1LSIW.js → chunk-JBRWN2VN-Cdrg7ipf.js} +4 -4
  25. package/dist/chunks/{chunk-LXBSTHXV-B3v0_M5i.js → chunk-LXBSTHXV-B6MJqnb9.js} +3 -3
  26. package/dist/chunks/{chunk-LXBSTHXV-ATbe8S3M.js → chunk-LXBSTHXV-DY_risoK.js} +1 -1
  27. package/dist/chunks/{chunk-NRVI72HA-DXcnSxt5.js → chunk-NRVI72HA-CgHPPk9_.js} +1 -1
  28. package/dist/chunks/{chunk-NRVI72HA-BIfF0Wg3.js → chunk-NRVI72HA-VCpZ8dT5.js} +1 -1
  29. package/dist/chunks/{chunk-OMD6QJNC-DiS1Ayiz.js → chunk-OMD6QJNC-mLoP2am0.js} +1 -1
  30. package/dist/chunks/{chunk-OMD6QJNC-CvCsgrcB.js → chunk-OMD6QJNC-yURt4ZqD.js} +1 -1
  31. package/dist/chunks/{chunk-WVR4S24B-BpZytCXN.js → chunk-WVR4S24B-C2gIEv2n.js} +1 -1
  32. package/dist/chunks/{chunk-WVR4S24B-DFTCs9J3.js → chunk-WVR4S24B-DuZUHyfp.js} +1 -1
  33. package/dist/chunks/{classDiagram-3BZAVTQC-BqfsUWtS.js → classDiagram-3BZAVTQC-0wK6utUW.js} +1 -1
  34. package/dist/chunks/{classDiagram-v2-QTMF73CY-t-ZSGuXh.js → classDiagram-3BZAVTQC-CR2TrZgY.js} +2 -2
  35. package/dist/chunks/{classDiagram-v2-QTMF73CY-BqfsUWtS.js → classDiagram-v2-QTMF73CY-0wK6utUW.js} +1 -1
  36. package/dist/chunks/{classDiagram-3BZAVTQC-t-ZSGuXh.js → classDiagram-v2-QTMF73CY-CR2TrZgY.js} +2 -2
  37. package/dist/chunks/clone-Ct5oP2ug.js +1 -0
  38. package/dist/chunks/{clone-3Tex2GuH.js → clone-GvES6CO7.js} +1 -1
  39. package/dist/chunks/{dagre-2BBEFEWP-CgnYpyhn.js → dagre-2BBEFEWP-BtEQwb5J.js} +6 -6
  40. package/dist/chunks/{dagre-2BBEFEWP-BwJustBN.js → dagre-2BBEFEWP-ClSUmGwz.js} +1 -1
  41. package/dist/chunks/dashboard-plus-B10r1QRu.js +355 -0
  42. package/dist/chunks/{dashboard-plus-7t_N3pPP.js → dashboard-plus-BMWPXPIj.js} +6693 -6657
  43. package/dist/chunks/{diagram-4IRLE6MV-GctNVp6z.js → diagram-4IRLE6MV-BDpp1460.js} +1 -1
  44. package/dist/chunks/{diagram-4IRLE6MV-BoKKPdws.js → diagram-4IRLE6MV-C49eQphf.js} +4 -4
  45. package/dist/chunks/{diagram-GUPCWM2R-D4NW2a60.js → diagram-GUPCWM2R-Cq1ov97D.js} +1 -1
  46. package/dist/chunks/{diagram-GUPCWM2R-DftztrXs.js → diagram-GUPCWM2R-LuvwZlWP.js} +3 -3
  47. package/dist/chunks/{diagram-RP2FKANI-BCezi318.js → diagram-RP2FKANI-BLIHiui1.js} +1 -1
  48. package/dist/chunks/{diagram-RP2FKANI-BTbPHapk.js → diagram-RP2FKANI-BZJN-7K9.js} +3 -3
  49. package/dist/chunks/{erDiagram-HZWUO2LU-BH8BMdgb.js → erDiagram-HZWUO2LU-CPsjUGpr.js} +1 -1
  50. package/dist/chunks/{erDiagram-HZWUO2LU-CXF6fvGv.js → erDiagram-HZWUO2LU-Dtqq6c9d.js} +4 -4
  51. package/dist/chunks/{flowDiagram-THRYKUMA-CCFyL1sb.js → flowDiagram-THRYKUMA-B8gYyaTG.js} +5 -5
  52. package/dist/chunks/{flowDiagram-THRYKUMA-T0q0jDUN.js → flowDiagram-THRYKUMA-DnwU9q2v.js} +1 -1
  53. package/dist/chunks/{ganttDiagram-WV7ZQ7D5-DscVb-ar.js → ganttDiagram-WV7ZQ7D5-C_FBYO_8.js} +1 -1
  54. package/dist/chunks/{ganttDiagram-WV7ZQ7D5-DEAGnMzy.js → ganttDiagram-WV7ZQ7D5-GdDki4Q_.js} +3 -3
  55. package/dist/chunks/{gitGraph-ZV4HHKMB-D3lxeU9B.js → gitGraph-ZV4HHKMB-DodL1Zrl.js} +1 -1
  56. package/dist/chunks/{gitGraph-ZV4HHKMB-IYjUOWTA.js → gitGraph-ZV4HHKMB-fUCqIWg0.js} +1 -1
  57. package/dist/chunks/{gitGraphDiagram-OJR772UL-Cmh6EE22.js → gitGraphDiagram-OJR772UL-B9jsyAKc.js} +1 -1
  58. package/dist/chunks/{gitGraphDiagram-OJR772UL-Cd59ERQU.js → gitGraphDiagram-OJR772UL-CRwVVClE.js} +4 -4
  59. package/dist/chunks/{graph-CCt332TI.js → graph-BH34NRXk.js} +1 -1
  60. package/dist/chunks/{graph-D6Ops9GK.js → graph-xRq7XmQC.js} +2 -2
  61. package/dist/chunks/{index-DEdAnDV8.js → index-D8tUqFuv.js} +24998 -25115
  62. package/dist/chunks/{index-z-UDaVom.js → index-DwpuFQtu.js} +216 -216
  63. package/dist/chunks/{info-63CPKGFF-CvTwB4mO.js → info-63CPKGFF-CzlQqAhk.js} +1 -1
  64. package/dist/chunks/info-63CPKGFF-DZmt95MH.js +5 -0
  65. package/dist/chunks/{infoDiagram-DDUCL6P7-BIztC5Lx.js → infoDiagram-DDUCL6P7-_cNsLdvy.js} +1 -1
  66. package/dist/chunks/{infoDiagram-DDUCL6P7-Bdsxts7K.js → infoDiagram-DDUCL6P7-dPerJWnO.js} +2 -2
  67. package/dist/chunks/{journeyDiagram-FFXJYRFH-BNcf5A9h.js → journeyDiagram-FFXJYRFH-Bvz2greh.js} +1 -1
  68. package/dist/chunks/{journeyDiagram-FFXJYRFH-DuDiXQy0.js → journeyDiagram-FFXJYRFH-z8DYTQVE.js} +4 -4
  69. package/dist/chunks/{kanban-definition-KOZQBZVT-cDXM9UjJ.js → kanban-definition-KOZQBZVT-CNbQqeQV.js} +2 -2
  70. package/dist/chunks/{kanban-definition-KOZQBZVT-BER-wiQI.js → kanban-definition-KOZQBZVT-KxzVSyOG.js} +1 -1
  71. package/dist/chunks/{layout-BVO7SKyA.js → layout-BAbpTM6P.js} +1 -1
  72. package/dist/chunks/{layout-DxvNIIBb.js → layout-CDJPlONW.js} +4 -4
  73. package/dist/chunks/{linear-DHTJ5Utp.js → linear-BI3PREhR.js} +2 -2
  74. package/dist/chunks/{linear-C6hOD1PX.js → linear-CN8g9v_Q.js} +1 -1
  75. package/dist/chunks/{mermaid-parser.core-D7NH2asJ.js → mermaid-parser.core-psOhnp_g.js} +2 -2
  76. package/dist/chunks/{mermaid-parser.core-B4Bs-Ub3.js → mermaid-parser.core-xcQxi_jm.js} +11 -11
  77. package/dist/chunks/{mermaid.core-CicsgttZ.js → mermaid.core-BAzkKVaz.js} +4 -4
  78. package/dist/chunks/{mermaid.core-CXBZU_5C.js → mermaid.core-CvRAjOPA.js} +30 -30
  79. package/dist/chunks/{mindmap-definition-LNHGMQRG-0DHndcLr.js → mindmap-definition-LNHGMQRG-DcUnODf3.js} +1 -1
  80. package/dist/chunks/{mindmap-definition-LNHGMQRG-DSL1S8jW.js → mindmap-definition-LNHGMQRG-duqAs_P0.js} +2 -2
  81. package/dist/chunks/{packet-HUATNLJX-nVqL16dW.js → packet-HUATNLJX-DMJ9cJ7_.js} +1 -1
  82. package/dist/chunks/{packet-HUATNLJX-CrlOu8rr.js → packet-HUATNLJX-_xaC-Mnx.js} +1 -1
  83. package/dist/chunks/pie-WTHONI2E-MAcq-iAM.js +5 -0
  84. package/dist/chunks/{pie-WTHONI2E-D2BApn1Q.js → pie-WTHONI2E-qncEw0OK.js} +1 -1
  85. package/dist/chunks/{pieDiagram-DBDJKBY4-NV1APUIC.js → pieDiagram-DBDJKBY4-0F6DH4ah.js} +1 -1
  86. package/dist/chunks/{pieDiagram-DBDJKBY4-DMGJKCv0.js → pieDiagram-DBDJKBY4-BIZVIM67.js} +4 -4
  87. package/dist/chunks/{quadrantDiagram-YPSRARAO-BIoOLeoN.js → quadrantDiagram-YPSRARAO-BSEB2_Jk.js} +1 -1
  88. package/dist/chunks/{quadrantDiagram-YPSRARAO-BGAeJVMc.js → quadrantDiagram-YPSRARAO-DYWhSOgC.js} +2 -2
  89. package/dist/chunks/radar-NJJJXTRR-Bbf79J2N.js +5 -0
  90. package/dist/chunks/{radar-NJJJXTRR-Bj0phiuA.js → radar-NJJJXTRR-Cd4GsUl9.js} +1 -1
  91. package/dist/chunks/{requirementDiagram-EGVEC5DT-B8vpMnKI.js → requirementDiagram-EGVEC5DT-B_lndsFG.js} +1 -1
  92. package/dist/chunks/{requirementDiagram-EGVEC5DT-FUYIPM2x.js → requirementDiagram-EGVEC5DT-CxAqR62-.js} +3 -3
  93. package/dist/chunks/{sankeyDiagram-HRAUVNP4-BdA3o-xm.js → sankeyDiagram-HRAUVNP4-BSpJVLiJ.js} +2 -2
  94. package/dist/chunks/{sankeyDiagram-HRAUVNP4-hAPwaSFy.js → sankeyDiagram-HRAUVNP4-DU21EcHr.js} +1 -1
  95. package/dist/chunks/{sequenceDiagram-4MX5Z3NR-CxU20DrS.js → sequenceDiagram-4MX5Z3NR-BPzYnPk7.js} +1 -1
  96. package/dist/chunks/{sequenceDiagram-4MX5Z3NR-SrHfuftD.js → sequenceDiagram-4MX5Z3NR-GNnlAP-V.js} +3 -3
  97. package/dist/chunks/{stateDiagram-UUKSUZ4H-CCbFxvYg.js → stateDiagram-UUKSUZ4H-DV7tDKxa.js} +4 -4
  98. package/dist/chunks/{stateDiagram-UUKSUZ4H-Xs8e2Hgh.js → stateDiagram-UUKSUZ4H-h1iPNm2A.js} +1 -1
  99. package/dist/chunks/{stateDiagram-v2-EYPG3UTE-Dp29OnI_.js → stateDiagram-v2-EYPG3UTE-CSJJtpE9.js} +2 -2
  100. package/dist/chunks/{stateDiagram-v2-EYPG3UTE-CTwC6bAl.js → stateDiagram-v2-EYPG3UTE-D2GBbdU2.js} +1 -1
  101. package/dist/chunks/{timeline-definition-3HZDQTIS-C4Q22uNa.js → timeline-definition-3HZDQTIS-4ikiRpT2.js} +1 -1
  102. package/dist/chunks/{timeline-definition-3HZDQTIS-DOuv1IhP.js → timeline-definition-3HZDQTIS-BQOjQU9_.js} +2 -2
  103. package/dist/chunks/{treemap-75Q7IDZK-BNzx3Qvj.js → treemap-75Q7IDZK-BNTdZgSS.js} +1 -1
  104. package/dist/chunks/{treemap-75Q7IDZK-DsDG2jmp.js → treemap-75Q7IDZK-Do9TU3vq.js} +1 -1
  105. package/dist/chunks/{xychartDiagram-FDP5SA34-CZ9y_hcL.js → xychartDiagram-FDP5SA34-BgdOgAxv.js} +1 -1
  106. package/dist/chunks/{xychartDiagram-FDP5SA34-Dfjk0HMw.js → xychartDiagram-FDP5SA34-DBZfRejf.js} +3 -3
  107. package/dist/dashboard/index.cjs +1 -1
  108. package/dist/dashboard/index.js +1 -1
  109. package/dist/index.cjs +1 -1
  110. package/dist/index.js +3 -3
  111. package/dist/style.css +1 -1
  112. package/dist/surfboard/index.cjs +1 -1
  113. package/dist/surfboard/index.js +1 -1
  114. package/package.json +1 -1
  115. package/dist/chunks/channel-B0wXZddY.js +0 -1
  116. package/dist/chunks/clone-DpLXwZrG.js +0 -1
  117. package/dist/chunks/dashboard-plus-D-pZuR4O.js +0 -360
  118. package/dist/chunks/info-63CPKGFF-ibFrbc-5.js +0 -5
  119. package/dist/chunks/pie-WTHONI2E-BHUCtLJr.js +0 -5
  120. package/dist/chunks/radar-NJJJXTRR-B7dccI7W.js +0 -5
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const re=require("./chunk-GLLZNHP4-D107voao.js"),n=require("./mermaid.core-CicsgttZ.js"),ae=require("./clone-DpLXwZrG.js"),se=require("./graph-CCt332TI.js"),ie=require("./channel-B0wXZddY.js");var gt=function(){var e=n.__name(function(D,x,d,p){for(d=d||{},p=D.length;p--;d[D[p]]=x);return d},"o"),t=[1,15],a=[1,7],i=[1,13],c=[1,14],s=[1,19],r=[1,16],l=[1,17],h=[1,18],u=[8,30],g=[8,10,21,28,29,30,31,39,43,46],y=[1,23],m=[1,24],b=[8,10,15,16,21,28,29,30,31,39,43,46],S=[8,10,15,16,21,27,28,29,30,31,39,43,46],k=[1,49],L={trace:n.__name(function(){},"trace"),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,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$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:"NODE_ID",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"},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],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:n.__name(function(x,d,p,_,w,o,v){var f=o.length-1;switch(w){case 4:_.getLogger().debug("Rule: separator (NL) ");break;case 5:_.getLogger().debug("Rule: separator (Space) ");break;case 6:_.getLogger().debug("Rule: separator (EOF) ");break;case 7:_.getLogger().debug("Rule: hierarchy: ",o[f-1]),_.setHierarchy(o[f-1]);break;case 8:_.getLogger().debug("Stop NL ");break;case 9:_.getLogger().debug("Stop EOF ");break;case 10:_.getLogger().debug("Stop NL2 ");break;case 11:_.getLogger().debug("Stop EOF2 ");break;case 12:_.getLogger().debug("Rule: statement: ",o[f]),typeof o[f].length=="number"?this.$=o[f]:this.$=[o[f]];break;case 13:_.getLogger().debug("Rule: statement #2: ",o[f-1]),this.$=[o[f-1]].concat(o[f]);break;case 14:_.getLogger().debug("Rule: link: ",o[f],x),this.$={edgeTypeStr:o[f],label:""};break;case 15:_.getLogger().debug("Rule: LABEL link: ",o[f-3],o[f-1],o[f]),this.$={edgeTypeStr:o[f],label:o[f-1]};break;case 18:const O=parseInt(o[f]),B=_.generateId();this.$={id:B,type:"space",label:"",width:O,children:[]};break;case 23:_.getLogger().debug("Rule: (nodeStatement link node) ",o[f-2],o[f-1],o[f]," typestr: ",o[f-1].edgeTypeStr);const Y=_.edgeStrToEdgeData(o[f-1].edgeTypeStr);this.$=[{id:o[f-2].id,label:o[f-2].label,type:o[f-2].type,directions:o[f-2].directions},{id:o[f-2].id+"-"+o[f].id,start:o[f-2].id,end:o[f].id,label:o[f-1].label,type:"edge",directions:o[f].directions,arrowTypeEnd:Y,arrowTypeStart:"arrow_open"},{id:o[f].id,label:o[f].label,type:_.typeStr2Type(o[f].typeStr),directions:o[f].directions}];break;case 24:_.getLogger().debug("Rule: nodeStatement (abc88 node size) ",o[f-1],o[f]),this.$={id:o[f-1].id,label:o[f-1].label,type:_.typeStr2Type(o[f-1].typeStr),directions:o[f-1].directions,widthInColumns:parseInt(o[f],10)};break;case 25:_.getLogger().debug("Rule: nodeStatement (node) ",o[f]),this.$={id:o[f].id,label:o[f].label,type:_.typeStr2Type(o[f].typeStr),directions:o[f].directions,widthInColumns:1};break;case 26:_.getLogger().debug("APA123",this?this:"na"),_.getLogger().debug("COLUMNS: ",o[f]),this.$={type:"column-setting",columns:o[f]==="auto"?-1:parseInt(o[f])};break;case 27:_.getLogger().debug("Rule: id-block statement : ",o[f-2],o[f-1]),_.generateId(),this.$={...o[f-2],type:"composite",children:o[f-1]};break;case 28:_.getLogger().debug("Rule: blockStatement : ",o[f-2],o[f-1],o[f]);const M=_.generateId();this.$={id:M,type:"composite",label:"",children:o[f-1]};break;case 29:_.getLogger().debug("Rule: node (NODE_ID separator): ",o[f]),this.$={id:o[f]};break;case 30:_.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",o[f-1],o[f]),this.$={id:o[f-1],label:o[f].label,typeStr:o[f].typeStr,directions:o[f].directions};break;case 31:_.getLogger().debug("Rule: dirList: ",o[f]),this.$=[o[f]];break;case 32:_.getLogger().debug("Rule: dirList: ",o[f-1],o[f]),this.$=[o[f-1]].concat(o[f]);break;case 33:_.getLogger().debug("Rule: nodeShapeNLabel: ",o[f-2],o[f-1],o[f]),this.$={typeStr:o[f-2]+o[f],label:o[f-1]};break;case 34:_.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",o[f-3],o[f-2]," #3:",o[f-1],o[f]),this.$={typeStr:o[f-3]+o[f],label:o[f-2],directions:o[f-1]};break;case 35:case 36:this.$={type:"classDef",id:o[f-1].trim(),css:o[f].trim()};break;case 37:this.$={type:"applyClass",id:o[f-1].trim(),styleClass:o[f].trim()};break;case 38:this.$={type:"applyStyles",id:o[f-1].trim(),stylesStr:o[f].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:t,11:3,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:c,31:s,39:r,43:l,46:h},{8:[1,20]},e(u,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:t,21:a,28:i,29:c,31:s,39:r,43:l,46:h}),e(g,[2,16],{14:22,15:y,16:m}),e(g,[2,17]),e(g,[2,18]),e(g,[2,19]),e(g,[2,20]),e(g,[2,21]),e(g,[2,22]),e(b,[2,25],{27:[1,25]}),e(g,[2,26]),{19:26,26:12,31:s},{10:t,11:27,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:c,31:s,39:r,43:l,46:h},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(S,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(u,[2,13]),{26:35,31:s},{31:[2,14]},{17:[1,36]},e(b,[2,24]),{10:t,11:37,13:4,14:22,15:y,16:m,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:c,31:s,39:r,43:l,46:h},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(S,[2,30]),{18:[1,43]},{18:[1,44]},e(b,[2,23]),{18:[1,45]},{30:[1,46]},e(g,[2,28]),e(g,[2,35]),e(g,[2,36]),e(g,[2,37]),e(g,[2,38]),{36:[1,47]},{33:48,34:k},{15:[1,50]},e(g,[2,27]),e(S,[2,33]),{38:[1,51]},{33:52,34:k,38:[2,31]},{31:[2,15]},e(S,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:n.__name(function(x,d){if(d.recoverable)this.trace(x);else{var p=new Error(x);throw p.hash=d,p}},"parseError"),parse:n.__name(function(x){var d=this,p=[0],_=[],w=[null],o=[],v=this.table,f="",O=0,B=0,Y=2,M=1,V=o.slice.call(arguments,1),z=Object.create(this.lexer),q={yy:{}};for(var lt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,lt)&&(q.yy[lt]=this.yy[lt]);z.setInput(x,q.yy),q.yy.lexer=z,q.yy.parser=this,typeof z.yylloc>"u"&&(z.yylloc={});var ct=z.yylloc;o.push(ct);var te=z.options&&z.options.ranges;typeof q.yy.parseError=="function"?this.parseError=q.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ee(P){p.length=p.length-2*P,w.length=w.length-P,o.length=o.length-P}n.__name(ee,"popStack");function wt(){var P;return P=_.pop()||z.lex()||M,typeof P!="number"&&(P instanceof Array&&(_=P,P=_.pop()),P=d.symbols_[P]||P),P}n.__name(wt,"lex");for(var F,Z,H,ot,G={},$,j,Lt,tt;;){if(Z=p[p.length-1],this.defaultActions[Z]?H=this.defaultActions[Z]:((F===null||typeof F>"u")&&(F=wt()),H=v[Z]&&v[Z][F]),typeof H>"u"||!H.length||!H[0]){var ht="";tt=[];for($ in v[Z])this.terminals_[$]&&$>Y&&tt.push("'"+this.terminals_[$]+"'");z.showPosition?ht="Parse error on line "+(O+1)+`:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const re=require("./chunk-GLLZNHP4-C_LTdWfA.js"),n=require("./mermaid.core-BAzkKVaz.js"),ae=require("./clone-Ct5oP2ug.js"),se=require("./graph-BH34NRXk.js"),ie=require("./channel-Cx51sV1C.js");var gt=function(){var e=n.__name(function(D,x,d,p){for(d=d||{},p=D.length;p--;d[D[p]]=x);return d},"o"),t=[1,15],a=[1,7],i=[1,13],c=[1,14],s=[1,19],r=[1,16],l=[1,17],h=[1,18],u=[8,30],g=[8,10,21,28,29,30,31,39,43,46],y=[1,23],m=[1,24],b=[8,10,15,16,21,28,29,30,31,39,43,46],S=[8,10,15,16,21,27,28,29,30,31,39,43,46],k=[1,49],L={trace:n.__name(function(){},"trace"),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,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$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:"NODE_ID",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"},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],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:n.__name(function(x,d,p,_,w,o,v){var f=o.length-1;switch(w){case 4:_.getLogger().debug("Rule: separator (NL) ");break;case 5:_.getLogger().debug("Rule: separator (Space) ");break;case 6:_.getLogger().debug("Rule: separator (EOF) ");break;case 7:_.getLogger().debug("Rule: hierarchy: ",o[f-1]),_.setHierarchy(o[f-1]);break;case 8:_.getLogger().debug("Stop NL ");break;case 9:_.getLogger().debug("Stop EOF ");break;case 10:_.getLogger().debug("Stop NL2 ");break;case 11:_.getLogger().debug("Stop EOF2 ");break;case 12:_.getLogger().debug("Rule: statement: ",o[f]),typeof o[f].length=="number"?this.$=o[f]:this.$=[o[f]];break;case 13:_.getLogger().debug("Rule: statement #2: ",o[f-1]),this.$=[o[f-1]].concat(o[f]);break;case 14:_.getLogger().debug("Rule: link: ",o[f],x),this.$={edgeTypeStr:o[f],label:""};break;case 15:_.getLogger().debug("Rule: LABEL link: ",o[f-3],o[f-1],o[f]),this.$={edgeTypeStr:o[f],label:o[f-1]};break;case 18:const O=parseInt(o[f]),B=_.generateId();this.$={id:B,type:"space",label:"",width:O,children:[]};break;case 23:_.getLogger().debug("Rule: (nodeStatement link node) ",o[f-2],o[f-1],o[f]," typestr: ",o[f-1].edgeTypeStr);const Y=_.edgeStrToEdgeData(o[f-1].edgeTypeStr);this.$=[{id:o[f-2].id,label:o[f-2].label,type:o[f-2].type,directions:o[f-2].directions},{id:o[f-2].id+"-"+o[f].id,start:o[f-2].id,end:o[f].id,label:o[f-1].label,type:"edge",directions:o[f].directions,arrowTypeEnd:Y,arrowTypeStart:"arrow_open"},{id:o[f].id,label:o[f].label,type:_.typeStr2Type(o[f].typeStr),directions:o[f].directions}];break;case 24:_.getLogger().debug("Rule: nodeStatement (abc88 node size) ",o[f-1],o[f]),this.$={id:o[f-1].id,label:o[f-1].label,type:_.typeStr2Type(o[f-1].typeStr),directions:o[f-1].directions,widthInColumns:parseInt(o[f],10)};break;case 25:_.getLogger().debug("Rule: nodeStatement (node) ",o[f]),this.$={id:o[f].id,label:o[f].label,type:_.typeStr2Type(o[f].typeStr),directions:o[f].directions,widthInColumns:1};break;case 26:_.getLogger().debug("APA123",this?this:"na"),_.getLogger().debug("COLUMNS: ",o[f]),this.$={type:"column-setting",columns:o[f]==="auto"?-1:parseInt(o[f])};break;case 27:_.getLogger().debug("Rule: id-block statement : ",o[f-2],o[f-1]),_.generateId(),this.$={...o[f-2],type:"composite",children:o[f-1]};break;case 28:_.getLogger().debug("Rule: blockStatement : ",o[f-2],o[f-1],o[f]);const M=_.generateId();this.$={id:M,type:"composite",label:"",children:o[f-1]};break;case 29:_.getLogger().debug("Rule: node (NODE_ID separator): ",o[f]),this.$={id:o[f]};break;case 30:_.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",o[f-1],o[f]),this.$={id:o[f-1],label:o[f].label,typeStr:o[f].typeStr,directions:o[f].directions};break;case 31:_.getLogger().debug("Rule: dirList: ",o[f]),this.$=[o[f]];break;case 32:_.getLogger().debug("Rule: dirList: ",o[f-1],o[f]),this.$=[o[f-1]].concat(o[f]);break;case 33:_.getLogger().debug("Rule: nodeShapeNLabel: ",o[f-2],o[f-1],o[f]),this.$={typeStr:o[f-2]+o[f],label:o[f-1]};break;case 34:_.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",o[f-3],o[f-2]," #3:",o[f-1],o[f]),this.$={typeStr:o[f-3]+o[f],label:o[f-2],directions:o[f-1]};break;case 35:case 36:this.$={type:"classDef",id:o[f-1].trim(),css:o[f].trim()};break;case 37:this.$={type:"applyClass",id:o[f-1].trim(),styleClass:o[f].trim()};break;case 38:this.$={type:"applyStyles",id:o[f-1].trim(),stylesStr:o[f].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:t,11:3,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:c,31:s,39:r,43:l,46:h},{8:[1,20]},e(u,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:t,21:a,28:i,29:c,31:s,39:r,43:l,46:h}),e(g,[2,16],{14:22,15:y,16:m}),e(g,[2,17]),e(g,[2,18]),e(g,[2,19]),e(g,[2,20]),e(g,[2,21]),e(g,[2,22]),e(b,[2,25],{27:[1,25]}),e(g,[2,26]),{19:26,26:12,31:s},{10:t,11:27,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:c,31:s,39:r,43:l,46:h},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},e(S,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},e(u,[2,13]),{26:35,31:s},{31:[2,14]},{17:[1,36]},e(b,[2,24]),{10:t,11:37,13:4,14:22,15:y,16:m,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:i,29:c,31:s,39:r,43:l,46:h},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},e(S,[2,30]),{18:[1,43]},{18:[1,44]},e(b,[2,23]),{18:[1,45]},{30:[1,46]},e(g,[2,28]),e(g,[2,35]),e(g,[2,36]),e(g,[2,37]),e(g,[2,38]),{36:[1,47]},{33:48,34:k},{15:[1,50]},e(g,[2,27]),e(S,[2,33]),{38:[1,51]},{33:52,34:k,38:[2,31]},{31:[2,15]},e(S,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:n.__name(function(x,d){if(d.recoverable)this.trace(x);else{var p=new Error(x);throw p.hash=d,p}},"parseError"),parse:n.__name(function(x){var d=this,p=[0],_=[],w=[null],o=[],v=this.table,f="",O=0,B=0,Y=2,M=1,V=o.slice.call(arguments,1),z=Object.create(this.lexer),q={yy:{}};for(var lt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,lt)&&(q.yy[lt]=this.yy[lt]);z.setInput(x,q.yy),q.yy.lexer=z,q.yy.parser=this,typeof z.yylloc>"u"&&(z.yylloc={});var ct=z.yylloc;o.push(ct);var te=z.options&&z.options.ranges;typeof q.yy.parseError=="function"?this.parseError=q.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ee(P){p.length=p.length-2*P,w.length=w.length-P,o.length=o.length-P}n.__name(ee,"popStack");function wt(){var P;return P=_.pop()||z.lex()||M,typeof P!="number"&&(P instanceof Array&&(_=P,P=_.pop()),P=d.symbols_[P]||P),P}n.__name(wt,"lex");for(var F,Z,H,ot,G={},$,j,Lt,tt;;){if(Z=p[p.length-1],this.defaultActions[Z]?H=this.defaultActions[Z]:((F===null||typeof F>"u")&&(F=wt()),H=v[Z]&&v[Z][F]),typeof H>"u"||!H.length||!H[0]){var ht="";tt=[];for($ in v[Z])this.terminals_[$]&&$>Y&&tt.push("'"+this.terminals_[$]+"'");z.showPosition?ht="Parse error on line "+(O+1)+`:
2
2
  `+z.showPosition()+`
3
3
  Expecting `+tt.join(", ")+", got '"+(this.terminals_[F]||F)+"'":ht="Parse error on line "+(O+1)+": Unexpected "+(F==M?"end of input":"'"+(this.terminals_[F]||F)+"'"),this.parseError(ht,{text:z.match,token:this.terminals_[F]||F,line:z.yylineno,loc:ct,expected:tt})}if(H[0]instanceof Array&&H.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Z+", token: "+F);switch(H[0]){case 1:p.push(F),w.push(z.yytext),o.push(z.yylloc),p.push(H[1]),F=null,B=z.yyleng,f=z.yytext,O=z.yylineno,ct=z.yylloc;break;case 2:if(j=this.productions_[H[1]][1],G.$=w[w.length-j],G._$={first_line:o[o.length-(j||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(j||1)].first_column,last_column:o[o.length-1].last_column},te&&(G._$.range=[o[o.length-(j||1)].range[0],o[o.length-1].range[1]]),ot=this.performAction.apply(G,[f,B,O,q.yy,H[1],w,o].concat(V)),typeof ot<"u")return ot;j&&(p=p.slice(0,-1*j*2),w=w.slice(0,-1*j),o=o.slice(0,-1*j)),p.push(this.productions_[H[1]][0]),w.push(G.$),o.push(G._$),Lt=v[p[p.length-2]][p[p.length-1]],p.push(Lt);break;case 3:return!0}}return!0},"parse")},C=function(){var D={EOF:1,parseError:n.__name(function(d,p){if(this.yy.parser)this.yy.parser.parseError(d,p);else throw new Error(d)},"parseError"),setInput:n.__name(function(x,d){return this.yy=d||this.yy||{},this._input=x,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:n.__name(function(){var x=this._input[0];this.yytext+=x,this.yyleng++,this.offset++,this.match+=x,this.matched+=x;var d=x.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),x},"input"),unput:n.__name(function(x){var d=x.length,p=x.split(/(?:\r\n?|\n)/g);this._input=x+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var _=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),p.length-1&&(this.yylineno-=p.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:p?(p.length===_.length?this.yylloc.first_column:0)+_[_.length-p.length].length-p[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:n.__name(function(){return this._more=!0,this},"more"),reject:n.__name(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).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n.__name(function(x){this.unput(this.match.slice(x))},"less"),pastInput:n.__name(function(){var x=this.matched.substr(0,this.matched.length-this.match.length);return(x.length>20?"...":"")+x.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n.__name(function(){var x=this.match;return x.length<20&&(x+=this._input.substr(0,20-x.length)),(x.substr(0,20)+(x.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n.__name(function(){var x=this.pastInput(),d=new Array(x.length+1).join("-");return x+this.upcomingInput()+`
@@ -1,8 +1,8 @@
1
- import { g as de } from "./chunk-GLLZNHP4-B2CMhVV-.js";
2
- import { _ as d, G as st, d as R, e as ge, l as m, z as ue, B as pe, c as z, ak as fe, a9 as xe, aa as ye, a6 as be, al as Z, am as Ht, an as we, u as et, k as me, ao as Le, ap as yt, i as bt, aq as Se } from "./mermaid.core-CXBZU_5C.js";
3
- import { c as ve } from "./clone-3Tex2GuH.js";
4
- import { G as Ee } from "./graph-D6Ops9GK.js";
5
- import { c as _e } from "./channel-DIPzZihl.js";
1
+ import { g as de } from "./chunk-GLLZNHP4-DM-tH8qN.js";
2
+ import { _ as d, G as st, d as R, e as ge, l as m, z as ue, B as pe, c as z, ak as fe, a9 as xe, aa as ye, a6 as be, al as Z, am as Ht, an as we, u as et, k as me, ao as Le, ap as yt, i as bt, aq as Se } from "./mermaid.core-CvRAjOPA.js";
3
+ import { c as ve } from "./clone-GvES6CO7.js";
4
+ import { G as Ee } from "./graph-xRq7XmQC.js";
5
+ import { c as _e } from "./channel-pTWH5VlK.js";
6
6
  var wt = function() {
7
7
  var e = /* @__PURE__ */ d(function(N, x, g, p) {
8
8
  for (g = g || {}, p = N.length; p--; g[N[p]] = x) ;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const he=require("./chunk-OMD6QJNC-DiS1Ayiz.js"),u=require("./mermaid.core-CicsgttZ.js");var Yt=function(){var e=u.__name(function(mt,b,x,v){for(x=x||{},v=mt.length;v--;x[mt[v]]=b);return x},"o"),t=[1,24],s=[1,25],o=[1,26],l=[1,27],a=[1,28],r=[1,63],i=[1,64],n=[1,65],d=[1,66],_=[1,67],f=[1,68],y=[1,69],E=[1,29],O=[1,30],S=[1,31],P=[1,32],M=[1,33],U=[1,34],H=[1,35],q=[1,36],G=[1,37],K=[1,38],J=[1,39],Z=[1,40],$=[1,41],tt=[1,42],et=[1,43],at=[1,44],nt=[1,45],it=[1,46],rt=[1,47],st=[1,48],lt=[1,50],ot=[1,51],ct=[1,52],ht=[1,53],ut=[1,54],dt=[1,55],_t=[1,56],ft=[1,57],pt=[1,58],yt=[1,59],gt=[1,60],kt=[14,42],Wt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Rt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],A=[1,82],C=[1,83],k=[1,84],w=[1,85],T=[12,14,42],ne=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],vt=[12,33],zt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Xt={trace:u.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:u.__name(function(b,x,v,g,R,h,St){var p=h.length-1;switch(R){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(h[p-3]);break;case 19:g.setTitle(h[p].substring(6)),this.$=h[p].substring(6);break;case 20:g.setAccDescription(h[p].substring(15)),this.$=h[p].substring(15);break;case 21:this.$=h[p].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=h[p].trim(),g.setAccDescription(this.$);break;case 28:h[p].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 29:h[p].splice(2,0,"SYSTEM"),g.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 30:g.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 31:h[p].splice(2,0,"CONTAINER"),g.addContainerBoundary(...h[p]),this.$=h[p];break;case 32:g.addDeploymentNode("node",...h[p]),this.$=h[p];break;case 33:g.addDeploymentNode("nodeL",...h[p]),this.$=h[p];break;case 34:g.addDeploymentNode("nodeR",...h[p]),this.$=h[p];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...h[p]),this.$=h[p];break;case 40:g.addPersonOrSystem("external_person",...h[p]),this.$=h[p];break;case 41:g.addPersonOrSystem("system",...h[p]),this.$=h[p];break;case 42:g.addPersonOrSystem("system_db",...h[p]),this.$=h[p];break;case 43:g.addPersonOrSystem("system_queue",...h[p]),this.$=h[p];break;case 44:g.addPersonOrSystem("external_system",...h[p]),this.$=h[p];break;case 45:g.addPersonOrSystem("external_system_db",...h[p]),this.$=h[p];break;case 46:g.addPersonOrSystem("external_system_queue",...h[p]),this.$=h[p];break;case 47:g.addContainer("container",...h[p]),this.$=h[p];break;case 48:g.addContainer("container_db",...h[p]),this.$=h[p];break;case 49:g.addContainer("container_queue",...h[p]),this.$=h[p];break;case 50:g.addContainer("external_container",...h[p]),this.$=h[p];break;case 51:g.addContainer("external_container_db",...h[p]),this.$=h[p];break;case 52:g.addContainer("external_container_queue",...h[p]),this.$=h[p];break;case 53:g.addComponent("component",...h[p]),this.$=h[p];break;case 54:g.addComponent("component_db",...h[p]),this.$=h[p];break;case 55:g.addComponent("component_queue",...h[p]),this.$=h[p];break;case 56:g.addComponent("external_component",...h[p]),this.$=h[p];break;case 57:g.addComponent("external_component_db",...h[p]),this.$=h[p];break;case 58:g.addComponent("external_component_queue",...h[p]),this.$=h[p];break;case 60:g.addRel("rel",...h[p]),this.$=h[p];break;case 61:g.addRel("birel",...h[p]),this.$=h[p];break;case 62:g.addRel("rel_u",...h[p]),this.$=h[p];break;case 63:g.addRel("rel_d",...h[p]),this.$=h[p];break;case 64:g.addRel("rel_l",...h[p]),this.$=h[p];break;case 65:g.addRel("rel_r",...h[p]),this.$=h[p];break;case 66:g.addRel("rel_b",...h[p]),this.$=h[p];break;case 67:h[p].splice(0,1),g.addRel("rel",...h[p]),this.$=h[p];break;case 68:g.updateElStyle("update_el_style",...h[p]),this.$=h[p];break;case 69:g.updateRelStyle("update_rel_style",...h[p]),this.$=h[p];break;case 70:g.updateLayoutConfig("update_layout_config",...h[p]),this.$=h[p];break;case 71:this.$=[h[p]];break;case 72:h[p].unshift(h[p-1]),this.$=h[p];break;case 73:case 75:this.$=h[p].trim();break;case 74:let Et={};Et[h[p-1].trim()]=h[p].trim(),this.$=Et;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:_,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:nt,61:it,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:_t,71:ft,72:pt,73:yt,74:gt},{13:70,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:_,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:nt,61:it,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:_t,71:ft,72:pt,73:yt,74:gt},{13:71,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:_,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:nt,61:it,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:_t,71:ft,72:pt,73:yt,74:gt},{13:72,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:_,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:nt,61:it,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:_t,71:ft,72:pt,73:yt,74:gt},{13:73,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:_,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:nt,61:it,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:_t,71:ft,72:pt,73:yt,74:gt},{14:[1,74]},e(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:i,37:n,38:d,39:_,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:nt,61:it,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:_t,71:ft,72:pt,73:yt,74:gt}),e(kt,[2,14]),e(Wt,[2,16],{12:[1,76]}),e(kt,[2,36],{12:[1,77]}),e(Rt,[2,19]),e(Rt,[2,20]),{25:[1,78]},{27:[1,79]},e(Rt,[2,23]),{35:80,75:81,76:A,77:C,79:k,80:w},{35:86,75:81,76:A,77:C,79:k,80:w},{35:87,75:81,76:A,77:C,79:k,80:w},{35:88,75:81,76:A,77:C,79:k,80:w},{35:89,75:81,76:A,77:C,79:k,80:w},{35:90,75:81,76:A,77:C,79:k,80:w},{35:91,75:81,76:A,77:C,79:k,80:w},{35:92,75:81,76:A,77:C,79:k,80:w},{35:93,75:81,76:A,77:C,79:k,80:w},{35:94,75:81,76:A,77:C,79:k,80:w},{35:95,75:81,76:A,77:C,79:k,80:w},{35:96,75:81,76:A,77:C,79:k,80:w},{35:97,75:81,76:A,77:C,79:k,80:w},{35:98,75:81,76:A,77:C,79:k,80:w},{35:99,75:81,76:A,77:C,79:k,80:w},{35:100,75:81,76:A,77:C,79:k,80:w},{35:101,75:81,76:A,77:C,79:k,80:w},{35:102,75:81,76:A,77:C,79:k,80:w},{35:103,75:81,76:A,77:C,79:k,80:w},{35:104,75:81,76:A,77:C,79:k,80:w},e(T,[2,59]),{35:105,75:81,76:A,77:C,79:k,80:w},{35:106,75:81,76:A,77:C,79:k,80:w},{35:107,75:81,76:A,77:C,79:k,80:w},{35:108,75:81,76:A,77:C,79:k,80:w},{35:109,75:81,76:A,77:C,79:k,80:w},{35:110,75:81,76:A,77:C,79:k,80:w},{35:111,75:81,76:A,77:C,79:k,80:w},{35:112,75:81,76:A,77:C,79:k,80:w},{35:113,75:81,76:A,77:C,79:k,80:w},{35:114,75:81,76:A,77:C,79:k,80:w},{35:115,75:81,76:A,77:C,79:k,80:w},{20:116,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:_,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:nt,61:it,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:_t,71:ft,72:pt,73:yt,74:gt},{12:[1,118],33:[1,117]},{35:119,75:81,76:A,77:C,79:k,80:w},{35:120,75:81,76:A,77:C,79:k,80:w},{35:121,75:81,76:A,77:C,79:k,80:w},{35:122,75:81,76:A,77:C,79:k,80:w},{35:123,75:81,76:A,77:C,79:k,80:w},{35:124,75:81,76:A,77:C,79:k,80:w},{35:125,75:81,76:A,77:C,79:k,80:w},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(kt,[2,15]),e(Wt,[2,17],{21:22,19:130,22:t,23:s,24:o,26:l,28:a}),e(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:s,24:o,26:l,28:a,34:r,36:i,37:n,38:d,39:_,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:nt,61:it,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:_t,71:ft,72:pt,73:yt,74:gt}),e(Rt,[2,21]),e(Rt,[2,22]),e(T,[2,39]),e(ne,[2,71],{75:81,35:132,76:A,77:C,79:k,80:w}),e(Bt,[2,73]),{78:[1,133]},e(Bt,[2,75]),e(Bt,[2,76]),e(T,[2,40]),e(T,[2,41]),e(T,[2,42]),e(T,[2,43]),e(T,[2,44]),e(T,[2,45]),e(T,[2,46]),e(T,[2,47]),e(T,[2,48]),e(T,[2,49]),e(T,[2,50]),e(T,[2,51]),e(T,[2,52]),e(T,[2,53]),e(T,[2,54]),e(T,[2,55]),e(T,[2,56]),e(T,[2,57]),e(T,[2,58]),e(T,[2,60]),e(T,[2,61]),e(T,[2,62]),e(T,[2,63]),e(T,[2,64]),e(T,[2,65]),e(T,[2,66]),e(T,[2,67]),e(T,[2,68]),e(T,[2,69]),e(T,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(vt,[2,28]),e(vt,[2,29]),e(vt,[2,30]),e(vt,[2,31]),e(vt,[2,32]),e(vt,[2,33]),e(vt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Wt,[2,18]),e(kt,[2,38]),e(ne,[2,72]),e(Bt,[2,74]),e(T,[2,24]),e(T,[2,35]),e(zt,[2,25]),e(zt,[2,26],{12:[1,138]}),e(zt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:u.__name(function(b,x){if(x.recoverable)this.trace(b);else{var v=new Error(b);throw v.hash=x,v}},"parseError"),parse:u.__name(function(b){var x=this,v=[0],g=[],R=[null],h=[],St=this.table,p="",Et=0,ie=0,xe=2,re=1,ve=h.slice.call(arguments,1),D=Object.create(this.lexer),At={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(At.yy[Qt]=this.yy[Qt]);D.setInput(b,At.yy),At.yy.lexer=D,At.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Ht=D.yylloc;h.push(Ht);var Ee=D.options&&D.options.ranges;typeof At.yy.parseError=="function"?this.parseError=At.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ae(N){v.length=v.length-2*N,R.length=R.length-N,h.length=h.length-N}u.__name(Ae,"popStack");function se(){var N;return N=g.pop()||D.lex()||re,typeof N!="number"&&(N instanceof Array&&(g=N,N=g.pop()),N=x.symbols_[N]||N),N}u.__name(se,"lex");for(var I,Ct,L,qt,wt={},Mt,X,le,Nt;;){if(Ct=v[v.length-1],this.defaultActions[Ct]?L=this.defaultActions[Ct]:((I===null||typeof I>"u")&&(I=se()),L=St[Ct]&&St[Ct][I]),typeof L>"u"||!L.length||!L[0]){var Gt="";Nt=[];for(Mt in St[Ct])this.terminals_[Mt]&&Mt>xe&&Nt.push("'"+this.terminals_[Mt]+"'");D.showPosition?Gt="Parse error on line "+(Et+1)+`:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const he=require("./chunk-OMD6QJNC-mLoP2am0.js"),u=require("./mermaid.core-BAzkKVaz.js");var Yt=function(){var e=u.__name(function(mt,b,x,v){for(x=x||{},v=mt.length;v--;x[mt[v]]=b);return x},"o"),t=[1,24],s=[1,25],o=[1,26],l=[1,27],a=[1,28],r=[1,63],i=[1,64],n=[1,65],d=[1,66],_=[1,67],f=[1,68],y=[1,69],E=[1,29],O=[1,30],S=[1,31],P=[1,32],M=[1,33],U=[1,34],H=[1,35],q=[1,36],G=[1,37],K=[1,38],J=[1,39],Z=[1,40],$=[1,41],tt=[1,42],et=[1,43],at=[1,44],nt=[1,45],it=[1,46],rt=[1,47],st=[1,48],lt=[1,50],ot=[1,51],ct=[1,52],ht=[1,53],ut=[1,54],dt=[1,55],_t=[1,56],ft=[1,57],pt=[1,58],yt=[1,59],gt=[1,60],kt=[14,42],Wt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Rt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],A=[1,82],C=[1,83],k=[1,84],w=[1,85],T=[12,14,42],ne=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],vt=[12,33],zt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Xt={trace:u.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:u.__name(function(b,x,v,g,R,h,St){var p=h.length-1;switch(R){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(h[p-3]);break;case 19:g.setTitle(h[p].substring(6)),this.$=h[p].substring(6);break;case 20:g.setAccDescription(h[p].substring(15)),this.$=h[p].substring(15);break;case 21:this.$=h[p].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=h[p].trim(),g.setAccDescription(this.$);break;case 28:h[p].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 29:h[p].splice(2,0,"SYSTEM"),g.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 30:g.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 31:h[p].splice(2,0,"CONTAINER"),g.addContainerBoundary(...h[p]),this.$=h[p];break;case 32:g.addDeploymentNode("node",...h[p]),this.$=h[p];break;case 33:g.addDeploymentNode("nodeL",...h[p]),this.$=h[p];break;case 34:g.addDeploymentNode("nodeR",...h[p]),this.$=h[p];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...h[p]),this.$=h[p];break;case 40:g.addPersonOrSystem("external_person",...h[p]),this.$=h[p];break;case 41:g.addPersonOrSystem("system",...h[p]),this.$=h[p];break;case 42:g.addPersonOrSystem("system_db",...h[p]),this.$=h[p];break;case 43:g.addPersonOrSystem("system_queue",...h[p]),this.$=h[p];break;case 44:g.addPersonOrSystem("external_system",...h[p]),this.$=h[p];break;case 45:g.addPersonOrSystem("external_system_db",...h[p]),this.$=h[p];break;case 46:g.addPersonOrSystem("external_system_queue",...h[p]),this.$=h[p];break;case 47:g.addContainer("container",...h[p]),this.$=h[p];break;case 48:g.addContainer("container_db",...h[p]),this.$=h[p];break;case 49:g.addContainer("container_queue",...h[p]),this.$=h[p];break;case 50:g.addContainer("external_container",...h[p]),this.$=h[p];break;case 51:g.addContainer("external_container_db",...h[p]),this.$=h[p];break;case 52:g.addContainer("external_container_queue",...h[p]),this.$=h[p];break;case 53:g.addComponent("component",...h[p]),this.$=h[p];break;case 54:g.addComponent("component_db",...h[p]),this.$=h[p];break;case 55:g.addComponent("component_queue",...h[p]),this.$=h[p];break;case 56:g.addComponent("external_component",...h[p]),this.$=h[p];break;case 57:g.addComponent("external_component_db",...h[p]),this.$=h[p];break;case 58:g.addComponent("external_component_queue",...h[p]),this.$=h[p];break;case 60:g.addRel("rel",...h[p]),this.$=h[p];break;case 61:g.addRel("birel",...h[p]),this.$=h[p];break;case 62:g.addRel("rel_u",...h[p]),this.$=h[p];break;case 63:g.addRel("rel_d",...h[p]),this.$=h[p];break;case 64:g.addRel("rel_l",...h[p]),this.$=h[p];break;case 65:g.addRel("rel_r",...h[p]),this.$=h[p];break;case 66:g.addRel("rel_b",...h[p]),this.$=h[p];break;case 67:h[p].splice(0,1),g.addRel("rel",...h[p]),this.$=h[p];break;case 68:g.updateElStyle("update_el_style",...h[p]),this.$=h[p];break;case 69:g.updateRelStyle("update_rel_style",...h[p]),this.$=h[p];break;case 70:g.updateLayoutConfig("update_layout_config",...h[p]),this.$=h[p];break;case 71:this.$=[h[p]];break;case 72:h[p].unshift(h[p-1]),this.$=h[p];break;case 73:case 75:this.$=h[p].trim();break;case 74:let Et={};Et[h[p-1].trim()]=h[p].trim(),this.$=Et;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:_,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:nt,61:it,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:_t,71:ft,72:pt,73:yt,74:gt},{13:70,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:_,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:nt,61:it,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:_t,71:ft,72:pt,73:yt,74:gt},{13:71,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:_,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:nt,61:it,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:_t,71:ft,72:pt,73:yt,74:gt},{13:72,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:_,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:nt,61:it,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:_t,71:ft,72:pt,73:yt,74:gt},{13:73,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:_,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:nt,61:it,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:_t,71:ft,72:pt,73:yt,74:gt},{14:[1,74]},e(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:i,37:n,38:d,39:_,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:nt,61:it,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:_t,71:ft,72:pt,73:yt,74:gt}),e(kt,[2,14]),e(Wt,[2,16],{12:[1,76]}),e(kt,[2,36],{12:[1,77]}),e(Rt,[2,19]),e(Rt,[2,20]),{25:[1,78]},{27:[1,79]},e(Rt,[2,23]),{35:80,75:81,76:A,77:C,79:k,80:w},{35:86,75:81,76:A,77:C,79:k,80:w},{35:87,75:81,76:A,77:C,79:k,80:w},{35:88,75:81,76:A,77:C,79:k,80:w},{35:89,75:81,76:A,77:C,79:k,80:w},{35:90,75:81,76:A,77:C,79:k,80:w},{35:91,75:81,76:A,77:C,79:k,80:w},{35:92,75:81,76:A,77:C,79:k,80:w},{35:93,75:81,76:A,77:C,79:k,80:w},{35:94,75:81,76:A,77:C,79:k,80:w},{35:95,75:81,76:A,77:C,79:k,80:w},{35:96,75:81,76:A,77:C,79:k,80:w},{35:97,75:81,76:A,77:C,79:k,80:w},{35:98,75:81,76:A,77:C,79:k,80:w},{35:99,75:81,76:A,77:C,79:k,80:w},{35:100,75:81,76:A,77:C,79:k,80:w},{35:101,75:81,76:A,77:C,79:k,80:w},{35:102,75:81,76:A,77:C,79:k,80:w},{35:103,75:81,76:A,77:C,79:k,80:w},{35:104,75:81,76:A,77:C,79:k,80:w},e(T,[2,59]),{35:105,75:81,76:A,77:C,79:k,80:w},{35:106,75:81,76:A,77:C,79:k,80:w},{35:107,75:81,76:A,77:C,79:k,80:w},{35:108,75:81,76:A,77:C,79:k,80:w},{35:109,75:81,76:A,77:C,79:k,80:w},{35:110,75:81,76:A,77:C,79:k,80:w},{35:111,75:81,76:A,77:C,79:k,80:w},{35:112,75:81,76:A,77:C,79:k,80:w},{35:113,75:81,76:A,77:C,79:k,80:w},{35:114,75:81,76:A,77:C,79:k,80:w},{35:115,75:81,76:A,77:C,79:k,80:w},{20:116,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:_,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:nt,61:it,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:_t,71:ft,72:pt,73:yt,74:gt},{12:[1,118],33:[1,117]},{35:119,75:81,76:A,77:C,79:k,80:w},{35:120,75:81,76:A,77:C,79:k,80:w},{35:121,75:81,76:A,77:C,79:k,80:w},{35:122,75:81,76:A,77:C,79:k,80:w},{35:123,75:81,76:A,77:C,79:k,80:w},{35:124,75:81,76:A,77:C,79:k,80:w},{35:125,75:81,76:A,77:C,79:k,80:w},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(kt,[2,15]),e(Wt,[2,17],{21:22,19:130,22:t,23:s,24:o,26:l,28:a}),e(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:s,24:o,26:l,28:a,34:r,36:i,37:n,38:d,39:_,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:nt,61:it,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:_t,71:ft,72:pt,73:yt,74:gt}),e(Rt,[2,21]),e(Rt,[2,22]),e(T,[2,39]),e(ne,[2,71],{75:81,35:132,76:A,77:C,79:k,80:w}),e(Bt,[2,73]),{78:[1,133]},e(Bt,[2,75]),e(Bt,[2,76]),e(T,[2,40]),e(T,[2,41]),e(T,[2,42]),e(T,[2,43]),e(T,[2,44]),e(T,[2,45]),e(T,[2,46]),e(T,[2,47]),e(T,[2,48]),e(T,[2,49]),e(T,[2,50]),e(T,[2,51]),e(T,[2,52]),e(T,[2,53]),e(T,[2,54]),e(T,[2,55]),e(T,[2,56]),e(T,[2,57]),e(T,[2,58]),e(T,[2,60]),e(T,[2,61]),e(T,[2,62]),e(T,[2,63]),e(T,[2,64]),e(T,[2,65]),e(T,[2,66]),e(T,[2,67]),e(T,[2,68]),e(T,[2,69]),e(T,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(vt,[2,28]),e(vt,[2,29]),e(vt,[2,30]),e(vt,[2,31]),e(vt,[2,32]),e(vt,[2,33]),e(vt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Wt,[2,18]),e(kt,[2,38]),e(ne,[2,72]),e(Bt,[2,74]),e(T,[2,24]),e(T,[2,35]),e(zt,[2,25]),e(zt,[2,26],{12:[1,138]}),e(zt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:u.__name(function(b,x){if(x.recoverable)this.trace(b);else{var v=new Error(b);throw v.hash=x,v}},"parseError"),parse:u.__name(function(b){var x=this,v=[0],g=[],R=[null],h=[],St=this.table,p="",Et=0,ie=0,xe=2,re=1,ve=h.slice.call(arguments,1),D=Object.create(this.lexer),At={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(At.yy[Qt]=this.yy[Qt]);D.setInput(b,At.yy),At.yy.lexer=D,At.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Ht=D.yylloc;h.push(Ht);var Ee=D.options&&D.options.ranges;typeof At.yy.parseError=="function"?this.parseError=At.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ae(N){v.length=v.length-2*N,R.length=R.length-N,h.length=h.length-N}u.__name(Ae,"popStack");function se(){var N;return N=g.pop()||D.lex()||re,typeof N!="number"&&(N instanceof Array&&(g=N,N=g.pop()),N=x.symbols_[N]||N),N}u.__name(se,"lex");for(var I,Ct,L,qt,wt={},Mt,X,le,Nt;;){if(Ct=v[v.length-1],this.defaultActions[Ct]?L=this.defaultActions[Ct]:((I===null||typeof I>"u")&&(I=se()),L=St[Ct]&&St[Ct][I]),typeof L>"u"||!L.length||!L[0]){var Gt="";Nt=[];for(Mt in St[Ct])this.terminals_[Mt]&&Mt>xe&&Nt.push("'"+this.terminals_[Mt]+"'");D.showPosition?Gt="Parse error on line "+(Et+1)+`:
2
2
  `+D.showPosition()+`
3
3
  Expecting `+Nt.join(", ")+", got '"+(this.terminals_[I]||I)+"'":Gt="Parse error on line "+(Et+1)+": Unexpected "+(I==re?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Gt,{text:D.match,token:this.terminals_[I]||I,line:D.yylineno,loc:Ht,expected:Nt})}if(L[0]instanceof Array&&L.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ct+", token: "+I);switch(L[0]){case 1:v.push(I),R.push(D.yytext),h.push(D.yylloc),v.push(L[1]),I=null,ie=D.yyleng,p=D.yytext,Et=D.yylineno,Ht=D.yylloc;break;case 2:if(X=this.productions_[L[1]][1],wt.$=R[R.length-X],wt._$={first_line:h[h.length-(X||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(X||1)].first_column,last_column:h[h.length-1].last_column},Ee&&(wt._$.range=[h[h.length-(X||1)].range[0],h[h.length-1].range[1]]),qt=this.performAction.apply(wt,[p,ie,Et,At.yy,L[1],R,h].concat(ve)),typeof qt<"u")return qt;X&&(v=v.slice(0,-1*X*2),R=R.slice(0,-1*X),h=h.slice(0,-1*X)),v.push(this.productions_[L[1]][0]),R.push(wt.$),h.push(wt._$),le=St[v[v.length-2]][v[v.length-1]],v.push(le);break;case 3:return!0}}return!0},"parse")},be=function(){var mt={EOF:1,parseError:u.__name(function(x,v){if(this.yy.parser)this.yy.parser.parseError(x,v);else throw new Error(x)},"parseError"),setInput:u.__name(function(b,x){return this.yy=x||this.yy||{},this._input=b,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:u.__name(function(){var b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var x=b.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),b},"input"),unput:u.__name(function(b){var x=b.length,v=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var g=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),v.length-1&&(this.yylineno-=v.length-1);var R=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:v?(v.length===g.length?this.yylloc.first_column:0)+g[g.length-v.length].length-v[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[R[0],R[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},"unput"),more:u.__name(function(){return this._more=!0,this},"more"),reject:u.__name(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).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:u.__name(function(b){this.unput(this.match.slice(b))},"less"),pastInput:u.__name(function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:u.__name(function(){var b=this.match;return b.length<20&&(b+=this._input.substr(0,20-b.length)),(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:u.__name(function(){var b=this.pastInput(),x=new Array(b.length+1).join("-");return b+this.upcomingInput()+`
@@ -1,5 +1,5 @@
1
- import { g as Se, d as De } from "./chunk-OMD6QJNC-CvCsgrcB.js";
2
- import { _ as g, s as Pe, g as Be, a as Ie, b as Me, c as Bt, d as jt, l as de, e as Le, f as Ne, h as Tt, i as ge, j as Ye, w as je, k as $t, m as fe } from "./mermaid.core-CXBZU_5C.js";
1
+ import { g as Se, d as De } from "./chunk-OMD6QJNC-yURt4ZqD.js";
2
+ import { _ as g, s as Pe, g as Be, a as Ie, b as Me, c as Bt, d as jt, l as de, e as Le, f as Ne, h as Tt, i as ge, j as Ye, w as je, k as $t, m as fe } from "./mermaid.core-CvRAjOPA.js";
3
3
  var Ft = function() {
4
4
  var e = /* @__PURE__ */ g(function(_t, x, m, v) {
5
5
  for (m = m || {}, v = _t.length; v--; m[_t[v]] = x) ;
@@ -0,0 +1 @@
1
+ "use strict";const r=require("./mermaid.core-BAzkKVaz.js"),c=(e,n)=>r.Utils.lang.round(r.Color.parse(e)[n]);exports.channel=c;
@@ -1,4 +1,4 @@
1
- import { U as a, C as n } from "./mermaid.core-CXBZU_5C.js";
1
+ import { U as a, C as n } from "./mermaid.core-CvRAjOPA.js";
2
2
  const t = (r, o) => a.lang.round(n.parse(r)[o]);
3
3
  export {
4
4
  t as c
@@ -1,4 +1,4 @@
1
- import { _ as l } from "./mermaid.core-CXBZU_5C.js";
1
+ import { _ as l } from "./mermaid.core-CvRAjOPA.js";
2
2
  function m(e, c) {
3
3
  var i, t, o;
4
4
  e.accDescr && ((i = c.setAccDescription) == null || i.call(c, e.accDescr)), e.accTitle && ((t = c.setAccTitle) == null || t.call(c, e.accTitle)), e.title && ((o = c.setDiagramTitle) == null || o.call(c, e.title));
@@ -1 +1 @@
1
- "use strict";const l=require("./mermaid.core-CicsgttZ.js");function m(c,e){var i,t,o;c.accDescr&&((i=e.setAccDescription)==null||i.call(e,c.accDescr)),c.accTitle&&((t=e.setAccTitle)==null||t.call(e,c.accTitle)),c.title&&((o=e.setDiagramTitle)==null||o.call(e,c.title))}l.__name(m,"populateCommonDb");exports.populateCommonDb=m;
1
+ "use strict";const l=require("./mermaid.core-BAzkKVaz.js");function m(c,e){var i,t,o;c.accDescr&&((i=e.setAccDescription)==null||i.call(e,c.accDescr)),c.accTitle&&((t=e.setAccTitle)==null||t.call(e,c.accTitle)),c.title&&((o=e.setDiagramTitle)==null||o.call(e,c.title))}l.__name(m,"populateCommonDb");exports.populateCommonDb=m;
@@ -1,4 +1,4 @@
1
- import { _ as s } from "./mermaid.core-CXBZU_5C.js";
1
+ import { _ as s } from "./mermaid.core-CvRAjOPA.js";
2
2
  var t, e = (t = class {
3
3
  /**
4
4
  * @param init - Function that creates the default state.
@@ -1 +1 @@
1
- "use strict";const i=require("./mermaid.core-CicsgttZ.js");var t,r=(t=class{constructor(e){this.init=e,this.records=this.init()}reset(){this.records=this.init()}},i.__name(t,"ImperativeState"),t);exports.ImperativeState=r;
1
+ "use strict";const i=require("./mermaid.core-BAzkKVaz.js");var t,r=(t=class{constructor(e){this.init=e,this.records=this.init()}reset(){this.records=this.init()}},i.__name(t,"ImperativeState"),t);exports.ImperativeState=r;
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("./mermaid.core-CicsgttZ.js");var t=e.__name(()=>`
1
+ "use strict";const e=require("./mermaid.core-BAzkKVaz.js");var t=e.__name(()=>`
2
2
  /* Font Awesome icon styling - consolidated */
3
3
  .label-icon {
4
4
  display: inline-block;
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./mermaid.core-CXBZU_5C.js";
1
+ import { _ as e } from "./mermaid.core-CvRAjOPA.js";
2
2
  var l = /* @__PURE__ */ e(() => `
3
3
  /* Font Awesome icon styling - consolidated */
4
4
  .label-icon {
@@ -1,4 +1,4 @@
1
- "use strict";const Xe=require("./chunk-GLLZNHP4-D107voao.js"),qe=require("./chunk-WVR4S24B-DFTCs9J3.js"),He=require("./chunk-NRVI72HA-DXcnSxt5.js"),n=require("./mermaid.core-CicsgttZ.js");var Le=function(){var s=n.__name(function(x,c,d,A){for(d=d||{},A=x.length;A--;d[x[A]]=c);return d},"o"),i=[1,18],a=[1,19],l=[1,20],o=[1,41],u=[1,42],h=[1,26],f=[1,24],m=[1,25],k=[1,32],N=[1,33],ce=[1,34],C=[1,45],he=[1,35],de=[1,36],pe=[1,37],Ae=[1,38],fe=[1,27],me=[1,28],ge=[1,29],Ce=[1,30],be=[1,31],b=[1,44],y=[1,46],E=[1,43],_=[1,47],ye=[1,9],p=[1,8,9],H=[1,58],J=[1,59],Z=[1,60],$=[1,61],ee=[1,62],Ee=[1,63],_e=[1,64],te=[1,8,9,41],xe=[1,76],w=[1,8,9,12,13,22,39,41,44,66,67,68,69,70,71,72,77,79],se=[1,8,9,12,13,18,20,22,39,41,44,48,58,66,67,68,69,70,71,72,77,79,84,99,101,102],ie=[13,58,84,99,101,102],M=[13,58,71,72,84,99,101,102],ve=[13,58,66,67,68,69,70,84,99,101,102],Te=[1,99],G=[1,116],U=[1,108],z=[1,114],K=[1,109],Y=[1,110],W=[1,111],Q=[1,112],j=[1,113],X=[1,115],Ie=[22,58,59,80,84,85,86,87,88,89],ke=[1,8,9,39,41,44],ae=[1,8,9,22],Oe=[1,144],we=[1,8,9,59],S=[1,8,9,22,58,59,80,84,85,86,87,88,89],De={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,CLASS:46,ANNOTATION_START:47,ANNOTATION_END:48,MEMBER:49,SEPARATOR:50,relation:51,NOTE_FOR:52,noteText:53,NOTE:54,CLASSDEF:55,classList:56,stylesOpt:57,ALPHA:58,COMMA:59,direction_tb:60,direction_bt:61,direction_rl:62,direction_lr:63,relationType:64,lineType:65,AGGREGATION:66,EXTENSION:67,COMPOSITION:68,DEPENDENCY:69,LOLLIPOP:70,LINE:71,DOTTED_LINE:72,CALLBACK:73,LINK:74,LINK_TARGET:75,CLICK:76,CALLBACK_NAME:77,CALLBACK_ARGS:78,HREF:79,STYLE:80,CSSCLASS:81,style:82,styleComponent:83,NUM:84,COLON:85,UNIT:86,SPACE:87,BRKT:88,PCT:89,commentToken:90,textToken:91,graphCodeTokens:92,textNoTagsToken:93,TAGSTART:94,TAGEND:95,"==":96,"--":97,DEFAULT:98,MINUS:99,keywords:100,UNICODE_TEXT:101,BQUOTE_STR:102,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"CLASS",47:"ANNOTATION_START",48:"ANNOTATION_END",49:"MEMBER",50:"SEPARATOR",52:"NOTE_FOR",54:"NOTE",55:"CLASSDEF",58:"ALPHA",59:"COMMA",60:"direction_tb",61:"direction_bt",62:"direction_rl",63:"direction_lr",66:"AGGREGATION",67:"EXTENSION",68:"COMPOSITION",69:"DEPENDENCY",70:"LOLLIPOP",71:"LINE",72:"DOTTED_LINE",73:"CALLBACK",74:"LINK",75:"LINK_TARGET",76:"CLICK",77:"CALLBACK_NAME",78:"CALLBACK_ARGS",79:"HREF",80:"STYLE",81:"CSSCLASS",84:"NUM",85:"COLON",86:"UNIT",87:"SPACE",88:"BRKT",89:"PCT",92:"graphCodeTokens",94:"TAGSTART",95:"TAGEND",96:"==",97:"--",98:"DEFAULT",99:"MINUS",100:"keywords",101:"UNICODE_TEXT",102:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,6],[43,2],[43,3],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[56,1],[56,3],[32,1],[32,1],[32,1],[32,1],[51,3],[51,2],[51,2],[51,1],[64,1],[64,1],[64,1],[64,1],[64,1],[65,1],[65,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[57,1],[57,3],[82,1],[82,2],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[90,1],[90,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[93,1],[93,1],[93,1],[93,1],[16,1],[16,1],[16,1],[16,1],[17,1],[53,1]],performAction:n.__name(function(c,d,A,r,g,e,q){var t=e.length-1;switch(g){case 8:this.$=e[t-1];break;case 9:case 10:case 13:case 15:this.$=e[t];break;case 11:case 14:this.$=e[t-2]+"."+e[t];break;case 12:case 16:this.$=e[t-1]+e[t];break;case 17:case 18:this.$=e[t-1]+"~"+e[t]+"~";break;case 19:r.addRelation(e[t]);break;case 20:e[t-1].title=r.cleanupLabel(e[t]),r.addRelation(e[t-1]);break;case 31:this.$=e[t].trim(),r.setAccTitle(this.$);break;case 32:case 33:this.$=e[t].trim(),r.setAccDescription(this.$);break;case 34:r.addClassesToNamespace(e[t-3],e[t-1]);break;case 35:r.addClassesToNamespace(e[t-4],e[t-1]);break;case 36:this.$=e[t],r.addNamespace(e[t]);break;case 37:this.$=[e[t]];break;case 38:this.$=[e[t-1]];break;case 39:e[t].unshift(e[t-2]),this.$=e[t];break;case 41:r.setCssClass(e[t-2],e[t]);break;case 42:r.addMembers(e[t-3],e[t-1]);break;case 43:r.setCssClass(e[t-5],e[t-3]),r.addMembers(e[t-5],e[t-1]);break;case 44:this.$=e[t],r.addClass(e[t]);break;case 45:this.$=e[t-1],r.addClass(e[t-1]),r.setClassLabel(e[t-1],e[t]);break;case 46:r.addAnnotation(e[t],e[t-2]);break;case 47:case 60:this.$=[e[t]];break;case 48:e[t].push(e[t-1]),this.$=e[t];break;case 49:break;case 50:r.addMember(e[t-1],r.cleanupLabel(e[t]));break;case 51:break;case 52:break;case 53:this.$={id1:e[t-2],id2:e[t],relation:e[t-1],relationTitle1:"none",relationTitle2:"none"};break;case 54:this.$={id1:e[t-3],id2:e[t],relation:e[t-1],relationTitle1:e[t-2],relationTitle2:"none"};break;case 55:this.$={id1:e[t-3],id2:e[t],relation:e[t-2],relationTitle1:"none",relationTitle2:e[t-1]};break;case 56:this.$={id1:e[t-4],id2:e[t],relation:e[t-2],relationTitle1:e[t-3],relationTitle2:e[t-1]};break;case 57:r.addNote(e[t],e[t-1]);break;case 58:r.addNote(e[t]);break;case 59:this.$=e[t-2],r.defineClass(e[t-1],e[t]);break;case 61:this.$=e[t-2].concat([e[t]]);break;case 62:r.setDirection("TB");break;case 63:r.setDirection("BT");break;case 64:r.setDirection("RL");break;case 65:r.setDirection("LR");break;case 66:this.$={type1:e[t-2],type2:e[t],lineType:e[t-1]};break;case 67:this.$={type1:"none",type2:e[t],lineType:e[t-1]};break;case 68:this.$={type1:e[t-1],type2:"none",lineType:e[t]};break;case 69:this.$={type1:"none",type2:"none",lineType:e[t]};break;case 70:this.$=r.relationType.AGGREGATION;break;case 71:this.$=r.relationType.EXTENSION;break;case 72:this.$=r.relationType.COMPOSITION;break;case 73:this.$=r.relationType.DEPENDENCY;break;case 74:this.$=r.relationType.LOLLIPOP;break;case 75:this.$=r.lineType.LINE;break;case 76:this.$=r.lineType.DOTTED_LINE;break;case 77:case 83:this.$=e[t-2],r.setClickEvent(e[t-1],e[t]);break;case 78:case 84:this.$=e[t-3],r.setClickEvent(e[t-2],e[t-1]),r.setTooltip(e[t-2],e[t]);break;case 79:this.$=e[t-2],r.setLink(e[t-1],e[t]);break;case 80:this.$=e[t-3],r.setLink(e[t-2],e[t-1],e[t]);break;case 81:this.$=e[t-3],r.setLink(e[t-2],e[t-1]),r.setTooltip(e[t-2],e[t]);break;case 82:this.$=e[t-4],r.setLink(e[t-3],e[t-2],e[t]),r.setTooltip(e[t-3],e[t-1]);break;case 85:this.$=e[t-3],r.setClickEvent(e[t-2],e[t-1],e[t]);break;case 86:this.$=e[t-4],r.setClickEvent(e[t-3],e[t-2],e[t-1]),r.setTooltip(e[t-3],e[t]);break;case 87:this.$=e[t-3],r.setLink(e[t-2],e[t]);break;case 88:this.$=e[t-4],r.setLink(e[t-3],e[t-1],e[t]);break;case 89:this.$=e[t-4],r.setLink(e[t-3],e[t-1]),r.setTooltip(e[t-3],e[t]);break;case 90:this.$=e[t-5],r.setLink(e[t-4],e[t-2],e[t]),r.setTooltip(e[t-4],e[t-1]);break;case 91:this.$=e[t-2],r.setCssStyle(e[t-1],e[t]);break;case 92:r.setCssClass(e[t-1],e[t]);break;case 93:this.$=[e[t]];break;case 94:e[t-2].push(e[t]),this.$=e[t-2];break;case 96:this.$=e[t-1]+e[t];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:o,43:23,46:u,47:h,49:f,50:m,52:k,54:N,55:ce,58:C,60:he,61:de,62:pe,63:Ae,73:fe,74:me,76:ge,80:Ce,81:be,84:b,99:y,101:E,102:_},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},s(ye,[2,5],{8:[1,48]}),{8:[1,49]},s(p,[2,19],{22:[1,50]}),s(p,[2,21]),s(p,[2,22]),s(p,[2,23]),s(p,[2,24]),s(p,[2,25]),s(p,[2,26]),s(p,[2,27]),s(p,[2,28]),s(p,[2,29]),s(p,[2,30]),{34:[1,51]},{36:[1,52]},s(p,[2,33]),s(p,[2,49],{51:53,64:56,65:57,13:[1,54],22:[1,55],66:H,67:J,68:Z,69:$,70:ee,71:Ee,72:_e}),{39:[1,65]},s(te,[2,40],{39:[1,67],44:[1,66]}),s(p,[2,51]),s(p,[2,52]),{16:68,58:C,84:b,99:y,101:E},{16:39,17:40,19:69,58:C,84:b,99:y,101:E,102:_},{16:39,17:40,19:70,58:C,84:b,99:y,101:E,102:_},{16:39,17:40,19:71,58:C,84:b,99:y,101:E,102:_},{58:[1,72]},{13:[1,73]},{16:39,17:40,19:74,58:C,84:b,99:y,101:E,102:_},{13:xe,53:75},{56:77,58:[1,78]},s(p,[2,62]),s(p,[2,63]),s(p,[2,64]),s(p,[2,65]),s(w,[2,13],{16:39,17:40,19:80,18:[1,79],20:[1,81],58:C,84:b,99:y,101:E,102:_}),s(w,[2,15],{20:[1,82]}),{15:83,16:84,17:85,58:C,84:b,99:y,101:E,102:_},{16:39,17:40,19:86,58:C,84:b,99:y,101:E,102:_},s(se,[2,119]),s(se,[2,120]),s(se,[2,121]),s(se,[2,122]),s([1,8,9,12,13,20,22,39,41,44,66,67,68,69,70,71,72,77,79],[2,123]),s(ye,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:87,33:i,35:a,37:l,42:o,46:u,47:h,49:f,50:m,52:k,54:N,55:ce,58:C,60:he,61:de,62:pe,63:Ae,73:fe,74:me,76:ge,80:Ce,81:be,84:b,99:y,101:E,102:_}),{5:88,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:o,43:23,46:u,47:h,49:f,50:m,52:k,54:N,55:ce,58:C,60:he,61:de,62:pe,63:Ae,73:fe,74:me,76:ge,80:Ce,81:be,84:b,99:y,101:E,102:_},s(p,[2,20]),s(p,[2,31]),s(p,[2,32]),{13:[1,90],16:39,17:40,19:89,58:C,84:b,99:y,101:E,102:_},{51:91,64:56,65:57,66:H,67:J,68:Z,69:$,70:ee,71:Ee,72:_e},s(p,[2,50]),{65:92,71:Ee,72:_e},s(ie,[2,69],{64:93,66:H,67:J,68:Z,69:$,70:ee}),s(M,[2,70]),s(M,[2,71]),s(M,[2,72]),s(M,[2,73]),s(M,[2,74]),s(ve,[2,75]),s(ve,[2,76]),{8:[1,95],24:96,40:94,43:23,46:u},{16:97,58:C,84:b,99:y,101:E},{45:98,49:Te},{48:[1,100]},{13:[1,101]},{13:[1,102]},{77:[1,103],79:[1,104]},{22:G,57:105,58:U,80:z,82:106,83:107,84:K,85:Y,86:W,87:Q,88:j,89:X},{58:[1,117]},{13:xe,53:118},s(p,[2,58]),s(p,[2,124]),{22:G,57:119,58:U,59:[1,120],80:z,82:106,83:107,84:K,85:Y,86:W,87:Q,88:j,89:X},s(Ie,[2,60]),{16:39,17:40,19:121,58:C,84:b,99:y,101:E,102:_},s(w,[2,16]),s(w,[2,17]),s(w,[2,18]),{39:[2,36]},{15:123,16:84,17:85,18:[1,122],39:[2,9],58:C,84:b,99:y,101:E,102:_},{39:[2,10]},s(ke,[2,44],{11:124,12:[1,125]}),s(ye,[2,7]),{9:[1,126]},s(ae,[2,53]),{16:39,17:40,19:127,58:C,84:b,99:y,101:E,102:_},{13:[1,129],16:39,17:40,19:128,58:C,84:b,99:y,101:E,102:_},s(ie,[2,68],{64:130,66:H,67:J,68:Z,69:$,70:ee}),s(ie,[2,67]),{41:[1,131]},{24:96,40:132,43:23,46:u},{8:[1,133],41:[2,37]},s(te,[2,41],{39:[1,134]}),{41:[1,135]},{41:[2,47],45:136,49:Te},{16:39,17:40,19:137,58:C,84:b,99:y,101:E,102:_},s(p,[2,77],{13:[1,138]}),s(p,[2,79],{13:[1,140],75:[1,139]}),s(p,[2,83],{13:[1,141],78:[1,142]}),{13:[1,143]},s(p,[2,91],{59:Oe}),s(we,[2,93],{83:145,22:G,58:U,80:z,84:K,85:Y,86:W,87:Q,88:j,89:X}),s(S,[2,95]),s(S,[2,97]),s(S,[2,98]),s(S,[2,99]),s(S,[2,100]),s(S,[2,101]),s(S,[2,102]),s(S,[2,103]),s(S,[2,104]),s(S,[2,105]),s(p,[2,92]),s(p,[2,57]),s(p,[2,59],{59:Oe}),{58:[1,146]},s(w,[2,14]),{15:147,16:84,17:85,58:C,84:b,99:y,101:E,102:_},{39:[2,12]},s(ke,[2,45]),{13:[1,148]},{1:[2,4]},s(ae,[2,55]),s(ae,[2,54]),{16:39,17:40,19:149,58:C,84:b,99:y,101:E,102:_},s(ie,[2,66]),s(p,[2,34]),{41:[1,150]},{24:96,40:151,41:[2,38],43:23,46:u},{45:152,49:Te},s(te,[2,42]),{41:[2,48]},s(p,[2,46]),s(p,[2,78]),s(p,[2,80]),s(p,[2,81],{75:[1,153]}),s(p,[2,84]),s(p,[2,85],{13:[1,154]}),s(p,[2,87],{13:[1,156],75:[1,155]}),{22:G,58:U,80:z,82:157,83:107,84:K,85:Y,86:W,87:Q,88:j,89:X},s(S,[2,96]),s(Ie,[2,61]),{39:[2,11]},{14:[1,158]},s(ae,[2,56]),s(p,[2,35]),{41:[2,39]},{41:[1,159]},s(p,[2,82]),s(p,[2,86]),s(p,[2,88]),s(p,[2,89],{75:[1,160]}),s(we,[2,94],{83:145,22:G,58:U,80:z,84:K,85:Y,86:W,87:Q,88:j,89:X}),s(ke,[2,8]),s(te,[2,43]),s(p,[2,90])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],83:[2,36],85:[2,10],123:[2,12],126:[2,4],136:[2,48],147:[2,11],151:[2,39]},parseError:n.__name(function(c,d){if(d.recoverable)this.trace(c);else{var A=new Error(c);throw A.hash=d,A}},"parseError"),parse:n.__name(function(c){var d=this,A=[0],r=[],g=[null],e=[],q=this.table,t="",re=0,Ve=0,Ye=2,Pe=1,We=e.slice.call(arguments,1),T=Object.create(this.lexer),v={yy:{}};for(var Fe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Fe)&&(v.yy[Fe]=this.yy[Fe]);T.setInput(c,v.yy),v.yy.lexer=T,v.yy.parser=this,typeof T.yylloc>"u"&&(T.yylloc={});var Be=T.yylloc;e.push(Be);var Qe=T.options&&T.options.ranges;typeof v.yy.parseError=="function"?this.parseError=v.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function je(F){A.length=A.length-2*F,g.length=g.length-F,e.length=e.length-F}n.__name(je,"popStack");function Re(){var F;return F=r.pop()||T.lex()||Pe,typeof F!="number"&&(F instanceof Array&&(r=F,F=r.pop()),F=d.symbols_[F]||F),F}n.__name(Re,"lex");for(var D,I,B,Se,V={},ue,L,Me,le;;){if(I=A[A.length-1],this.defaultActions[I]?B=this.defaultActions[I]:((D===null||typeof D>"u")&&(D=Re()),B=q[I]&&q[I][D]),typeof B>"u"||!B.length||!B[0]){var Ne="";le=[];for(ue in q[I])this.terminals_[ue]&&ue>Ye&&le.push("'"+this.terminals_[ue]+"'");T.showPosition?Ne="Parse error on line "+(re+1)+`:
1
+ "use strict";const Xe=require("./chunk-GLLZNHP4-C_LTdWfA.js"),qe=require("./chunk-WVR4S24B-DuZUHyfp.js"),He=require("./chunk-NRVI72HA-CgHPPk9_.js"),n=require("./mermaid.core-BAzkKVaz.js");var Le=function(){var s=n.__name(function(x,c,d,A){for(d=d||{},A=x.length;A--;d[x[A]]=c);return d},"o"),i=[1,18],a=[1,19],l=[1,20],o=[1,41],u=[1,42],h=[1,26],f=[1,24],m=[1,25],k=[1,32],N=[1,33],ce=[1,34],C=[1,45],he=[1,35],de=[1,36],pe=[1,37],Ae=[1,38],fe=[1,27],me=[1,28],ge=[1,29],Ce=[1,30],be=[1,31],b=[1,44],y=[1,46],E=[1,43],_=[1,47],ye=[1,9],p=[1,8,9],H=[1,58],J=[1,59],Z=[1,60],$=[1,61],ee=[1,62],Ee=[1,63],_e=[1,64],te=[1,8,9,41],xe=[1,76],w=[1,8,9,12,13,22,39,41,44,66,67,68,69,70,71,72,77,79],se=[1,8,9,12,13,18,20,22,39,41,44,48,58,66,67,68,69,70,71,72,77,79,84,99,101,102],ie=[13,58,84,99,101,102],M=[13,58,71,72,84,99,101,102],ve=[13,58,66,67,68,69,70,84,99,101,102],Te=[1,99],G=[1,116],U=[1,108],z=[1,114],K=[1,109],Y=[1,110],W=[1,111],Q=[1,112],j=[1,113],X=[1,115],Ie=[22,58,59,80,84,85,86,87,88,89],ke=[1,8,9,39,41,44],ae=[1,8,9,22],Oe=[1,144],we=[1,8,9,59],S=[1,8,9,22,58,59,80,84,85,86,87,88,89],De={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,CLASS:46,ANNOTATION_START:47,ANNOTATION_END:48,MEMBER:49,SEPARATOR:50,relation:51,NOTE_FOR:52,noteText:53,NOTE:54,CLASSDEF:55,classList:56,stylesOpt:57,ALPHA:58,COMMA:59,direction_tb:60,direction_bt:61,direction_rl:62,direction_lr:63,relationType:64,lineType:65,AGGREGATION:66,EXTENSION:67,COMPOSITION:68,DEPENDENCY:69,LOLLIPOP:70,LINE:71,DOTTED_LINE:72,CALLBACK:73,LINK:74,LINK_TARGET:75,CLICK:76,CALLBACK_NAME:77,CALLBACK_ARGS:78,HREF:79,STYLE:80,CSSCLASS:81,style:82,styleComponent:83,NUM:84,COLON:85,UNIT:86,SPACE:87,BRKT:88,PCT:89,commentToken:90,textToken:91,graphCodeTokens:92,textNoTagsToken:93,TAGSTART:94,TAGEND:95,"==":96,"--":97,DEFAULT:98,MINUS:99,keywords:100,UNICODE_TEXT:101,BQUOTE_STR:102,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"CLASS",47:"ANNOTATION_START",48:"ANNOTATION_END",49:"MEMBER",50:"SEPARATOR",52:"NOTE_FOR",54:"NOTE",55:"CLASSDEF",58:"ALPHA",59:"COMMA",60:"direction_tb",61:"direction_bt",62:"direction_rl",63:"direction_lr",66:"AGGREGATION",67:"EXTENSION",68:"COMPOSITION",69:"DEPENDENCY",70:"LOLLIPOP",71:"LINE",72:"DOTTED_LINE",73:"CALLBACK",74:"LINK",75:"LINK_TARGET",76:"CLICK",77:"CALLBACK_NAME",78:"CALLBACK_ARGS",79:"HREF",80:"STYLE",81:"CSSCLASS",84:"NUM",85:"COLON",86:"UNIT",87:"SPACE",88:"BRKT",89:"PCT",92:"graphCodeTokens",94:"TAGSTART",95:"TAGEND",96:"==",97:"--",98:"DEFAULT",99:"MINUS",100:"keywords",101:"UNICODE_TEXT",102:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,6],[43,2],[43,3],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[56,1],[56,3],[32,1],[32,1],[32,1],[32,1],[51,3],[51,2],[51,2],[51,1],[64,1],[64,1],[64,1],[64,1],[64,1],[65,1],[65,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[57,1],[57,3],[82,1],[82,2],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[90,1],[90,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[93,1],[93,1],[93,1],[93,1],[16,1],[16,1],[16,1],[16,1],[17,1],[53,1]],performAction:n.__name(function(c,d,A,r,g,e,q){var t=e.length-1;switch(g){case 8:this.$=e[t-1];break;case 9:case 10:case 13:case 15:this.$=e[t];break;case 11:case 14:this.$=e[t-2]+"."+e[t];break;case 12:case 16:this.$=e[t-1]+e[t];break;case 17:case 18:this.$=e[t-1]+"~"+e[t]+"~";break;case 19:r.addRelation(e[t]);break;case 20:e[t-1].title=r.cleanupLabel(e[t]),r.addRelation(e[t-1]);break;case 31:this.$=e[t].trim(),r.setAccTitle(this.$);break;case 32:case 33:this.$=e[t].trim(),r.setAccDescription(this.$);break;case 34:r.addClassesToNamespace(e[t-3],e[t-1]);break;case 35:r.addClassesToNamespace(e[t-4],e[t-1]);break;case 36:this.$=e[t],r.addNamespace(e[t]);break;case 37:this.$=[e[t]];break;case 38:this.$=[e[t-1]];break;case 39:e[t].unshift(e[t-2]),this.$=e[t];break;case 41:r.setCssClass(e[t-2],e[t]);break;case 42:r.addMembers(e[t-3],e[t-1]);break;case 43:r.setCssClass(e[t-5],e[t-3]),r.addMembers(e[t-5],e[t-1]);break;case 44:this.$=e[t],r.addClass(e[t]);break;case 45:this.$=e[t-1],r.addClass(e[t-1]),r.setClassLabel(e[t-1],e[t]);break;case 46:r.addAnnotation(e[t],e[t-2]);break;case 47:case 60:this.$=[e[t]];break;case 48:e[t].push(e[t-1]),this.$=e[t];break;case 49:break;case 50:r.addMember(e[t-1],r.cleanupLabel(e[t]));break;case 51:break;case 52:break;case 53:this.$={id1:e[t-2],id2:e[t],relation:e[t-1],relationTitle1:"none",relationTitle2:"none"};break;case 54:this.$={id1:e[t-3],id2:e[t],relation:e[t-1],relationTitle1:e[t-2],relationTitle2:"none"};break;case 55:this.$={id1:e[t-3],id2:e[t],relation:e[t-2],relationTitle1:"none",relationTitle2:e[t-1]};break;case 56:this.$={id1:e[t-4],id2:e[t],relation:e[t-2],relationTitle1:e[t-3],relationTitle2:e[t-1]};break;case 57:r.addNote(e[t],e[t-1]);break;case 58:r.addNote(e[t]);break;case 59:this.$=e[t-2],r.defineClass(e[t-1],e[t]);break;case 61:this.$=e[t-2].concat([e[t]]);break;case 62:r.setDirection("TB");break;case 63:r.setDirection("BT");break;case 64:r.setDirection("RL");break;case 65:r.setDirection("LR");break;case 66:this.$={type1:e[t-2],type2:e[t],lineType:e[t-1]};break;case 67:this.$={type1:"none",type2:e[t],lineType:e[t-1]};break;case 68:this.$={type1:e[t-1],type2:"none",lineType:e[t]};break;case 69:this.$={type1:"none",type2:"none",lineType:e[t]};break;case 70:this.$=r.relationType.AGGREGATION;break;case 71:this.$=r.relationType.EXTENSION;break;case 72:this.$=r.relationType.COMPOSITION;break;case 73:this.$=r.relationType.DEPENDENCY;break;case 74:this.$=r.relationType.LOLLIPOP;break;case 75:this.$=r.lineType.LINE;break;case 76:this.$=r.lineType.DOTTED_LINE;break;case 77:case 83:this.$=e[t-2],r.setClickEvent(e[t-1],e[t]);break;case 78:case 84:this.$=e[t-3],r.setClickEvent(e[t-2],e[t-1]),r.setTooltip(e[t-2],e[t]);break;case 79:this.$=e[t-2],r.setLink(e[t-1],e[t]);break;case 80:this.$=e[t-3],r.setLink(e[t-2],e[t-1],e[t]);break;case 81:this.$=e[t-3],r.setLink(e[t-2],e[t-1]),r.setTooltip(e[t-2],e[t]);break;case 82:this.$=e[t-4],r.setLink(e[t-3],e[t-2],e[t]),r.setTooltip(e[t-3],e[t-1]);break;case 85:this.$=e[t-3],r.setClickEvent(e[t-2],e[t-1],e[t]);break;case 86:this.$=e[t-4],r.setClickEvent(e[t-3],e[t-2],e[t-1]),r.setTooltip(e[t-3],e[t]);break;case 87:this.$=e[t-3],r.setLink(e[t-2],e[t]);break;case 88:this.$=e[t-4],r.setLink(e[t-3],e[t-1],e[t]);break;case 89:this.$=e[t-4],r.setLink(e[t-3],e[t-1]),r.setTooltip(e[t-3],e[t]);break;case 90:this.$=e[t-5],r.setLink(e[t-4],e[t-2],e[t]),r.setTooltip(e[t-4],e[t-1]);break;case 91:this.$=e[t-2],r.setCssStyle(e[t-1],e[t]);break;case 92:r.setCssClass(e[t-1],e[t]);break;case 93:this.$=[e[t]];break;case 94:e[t-2].push(e[t]),this.$=e[t-2];break;case 96:this.$=e[t-1]+e[t];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:o,43:23,46:u,47:h,49:f,50:m,52:k,54:N,55:ce,58:C,60:he,61:de,62:pe,63:Ae,73:fe,74:me,76:ge,80:Ce,81:be,84:b,99:y,101:E,102:_},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},s(ye,[2,5],{8:[1,48]}),{8:[1,49]},s(p,[2,19],{22:[1,50]}),s(p,[2,21]),s(p,[2,22]),s(p,[2,23]),s(p,[2,24]),s(p,[2,25]),s(p,[2,26]),s(p,[2,27]),s(p,[2,28]),s(p,[2,29]),s(p,[2,30]),{34:[1,51]},{36:[1,52]},s(p,[2,33]),s(p,[2,49],{51:53,64:56,65:57,13:[1,54],22:[1,55],66:H,67:J,68:Z,69:$,70:ee,71:Ee,72:_e}),{39:[1,65]},s(te,[2,40],{39:[1,67],44:[1,66]}),s(p,[2,51]),s(p,[2,52]),{16:68,58:C,84:b,99:y,101:E},{16:39,17:40,19:69,58:C,84:b,99:y,101:E,102:_},{16:39,17:40,19:70,58:C,84:b,99:y,101:E,102:_},{16:39,17:40,19:71,58:C,84:b,99:y,101:E,102:_},{58:[1,72]},{13:[1,73]},{16:39,17:40,19:74,58:C,84:b,99:y,101:E,102:_},{13:xe,53:75},{56:77,58:[1,78]},s(p,[2,62]),s(p,[2,63]),s(p,[2,64]),s(p,[2,65]),s(w,[2,13],{16:39,17:40,19:80,18:[1,79],20:[1,81],58:C,84:b,99:y,101:E,102:_}),s(w,[2,15],{20:[1,82]}),{15:83,16:84,17:85,58:C,84:b,99:y,101:E,102:_},{16:39,17:40,19:86,58:C,84:b,99:y,101:E,102:_},s(se,[2,119]),s(se,[2,120]),s(se,[2,121]),s(se,[2,122]),s([1,8,9,12,13,20,22,39,41,44,66,67,68,69,70,71,72,77,79],[2,123]),s(ye,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:87,33:i,35:a,37:l,42:o,46:u,47:h,49:f,50:m,52:k,54:N,55:ce,58:C,60:he,61:de,62:pe,63:Ae,73:fe,74:me,76:ge,80:Ce,81:be,84:b,99:y,101:E,102:_}),{5:88,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:o,43:23,46:u,47:h,49:f,50:m,52:k,54:N,55:ce,58:C,60:he,61:de,62:pe,63:Ae,73:fe,74:me,76:ge,80:Ce,81:be,84:b,99:y,101:E,102:_},s(p,[2,20]),s(p,[2,31]),s(p,[2,32]),{13:[1,90],16:39,17:40,19:89,58:C,84:b,99:y,101:E,102:_},{51:91,64:56,65:57,66:H,67:J,68:Z,69:$,70:ee,71:Ee,72:_e},s(p,[2,50]),{65:92,71:Ee,72:_e},s(ie,[2,69],{64:93,66:H,67:J,68:Z,69:$,70:ee}),s(M,[2,70]),s(M,[2,71]),s(M,[2,72]),s(M,[2,73]),s(M,[2,74]),s(ve,[2,75]),s(ve,[2,76]),{8:[1,95],24:96,40:94,43:23,46:u},{16:97,58:C,84:b,99:y,101:E},{45:98,49:Te},{48:[1,100]},{13:[1,101]},{13:[1,102]},{77:[1,103],79:[1,104]},{22:G,57:105,58:U,80:z,82:106,83:107,84:K,85:Y,86:W,87:Q,88:j,89:X},{58:[1,117]},{13:xe,53:118},s(p,[2,58]),s(p,[2,124]),{22:G,57:119,58:U,59:[1,120],80:z,82:106,83:107,84:K,85:Y,86:W,87:Q,88:j,89:X},s(Ie,[2,60]),{16:39,17:40,19:121,58:C,84:b,99:y,101:E,102:_},s(w,[2,16]),s(w,[2,17]),s(w,[2,18]),{39:[2,36]},{15:123,16:84,17:85,18:[1,122],39:[2,9],58:C,84:b,99:y,101:E,102:_},{39:[2,10]},s(ke,[2,44],{11:124,12:[1,125]}),s(ye,[2,7]),{9:[1,126]},s(ae,[2,53]),{16:39,17:40,19:127,58:C,84:b,99:y,101:E,102:_},{13:[1,129],16:39,17:40,19:128,58:C,84:b,99:y,101:E,102:_},s(ie,[2,68],{64:130,66:H,67:J,68:Z,69:$,70:ee}),s(ie,[2,67]),{41:[1,131]},{24:96,40:132,43:23,46:u},{8:[1,133],41:[2,37]},s(te,[2,41],{39:[1,134]}),{41:[1,135]},{41:[2,47],45:136,49:Te},{16:39,17:40,19:137,58:C,84:b,99:y,101:E,102:_},s(p,[2,77],{13:[1,138]}),s(p,[2,79],{13:[1,140],75:[1,139]}),s(p,[2,83],{13:[1,141],78:[1,142]}),{13:[1,143]},s(p,[2,91],{59:Oe}),s(we,[2,93],{83:145,22:G,58:U,80:z,84:K,85:Y,86:W,87:Q,88:j,89:X}),s(S,[2,95]),s(S,[2,97]),s(S,[2,98]),s(S,[2,99]),s(S,[2,100]),s(S,[2,101]),s(S,[2,102]),s(S,[2,103]),s(S,[2,104]),s(S,[2,105]),s(p,[2,92]),s(p,[2,57]),s(p,[2,59],{59:Oe}),{58:[1,146]},s(w,[2,14]),{15:147,16:84,17:85,58:C,84:b,99:y,101:E,102:_},{39:[2,12]},s(ke,[2,45]),{13:[1,148]},{1:[2,4]},s(ae,[2,55]),s(ae,[2,54]),{16:39,17:40,19:149,58:C,84:b,99:y,101:E,102:_},s(ie,[2,66]),s(p,[2,34]),{41:[1,150]},{24:96,40:151,41:[2,38],43:23,46:u},{45:152,49:Te},s(te,[2,42]),{41:[2,48]},s(p,[2,46]),s(p,[2,78]),s(p,[2,80]),s(p,[2,81],{75:[1,153]}),s(p,[2,84]),s(p,[2,85],{13:[1,154]}),s(p,[2,87],{13:[1,156],75:[1,155]}),{22:G,58:U,80:z,82:157,83:107,84:K,85:Y,86:W,87:Q,88:j,89:X},s(S,[2,96]),s(Ie,[2,61]),{39:[2,11]},{14:[1,158]},s(ae,[2,56]),s(p,[2,35]),{41:[2,39]},{41:[1,159]},s(p,[2,82]),s(p,[2,86]),s(p,[2,88]),s(p,[2,89],{75:[1,160]}),s(we,[2,94],{83:145,22:G,58:U,80:z,84:K,85:Y,86:W,87:Q,88:j,89:X}),s(ke,[2,8]),s(te,[2,43]),s(p,[2,90])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],83:[2,36],85:[2,10],123:[2,12],126:[2,4],136:[2,48],147:[2,11],151:[2,39]},parseError:n.__name(function(c,d){if(d.recoverable)this.trace(c);else{var A=new Error(c);throw A.hash=d,A}},"parseError"),parse:n.__name(function(c){var d=this,A=[0],r=[],g=[null],e=[],q=this.table,t="",re=0,Ve=0,Ye=2,Pe=1,We=e.slice.call(arguments,1),T=Object.create(this.lexer),v={yy:{}};for(var Fe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Fe)&&(v.yy[Fe]=this.yy[Fe]);T.setInput(c,v.yy),v.yy.lexer=T,v.yy.parser=this,typeof T.yylloc>"u"&&(T.yylloc={});var Be=T.yylloc;e.push(Be);var Qe=T.options&&T.options.ranges;typeof v.yy.parseError=="function"?this.parseError=v.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function je(F){A.length=A.length-2*F,g.length=g.length-F,e.length=e.length-F}n.__name(je,"popStack");function Re(){var F;return F=r.pop()||T.lex()||Pe,typeof F!="number"&&(F instanceof Array&&(r=F,F=r.pop()),F=d.symbols_[F]||F),F}n.__name(Re,"lex");for(var D,I,B,Se,V={},ue,L,Me,le;;){if(I=A[A.length-1],this.defaultActions[I]?B=this.defaultActions[I]:((D===null||typeof D>"u")&&(D=Re()),B=q[I]&&q[I][D]),typeof B>"u"||!B.length||!B[0]){var Ne="";le=[];for(ue in q[I])this.terminals_[ue]&&ue>Ye&&le.push("'"+this.terminals_[ue]+"'");T.showPosition?Ne="Parse error on line "+(re+1)+`:
2
2
  `+T.showPosition()+`
3
3
  Expecting `+le.join(", ")+", got '"+(this.terminals_[D]||D)+"'":Ne="Parse error on line "+(re+1)+": Unexpected "+(D==Pe?"end of input":"'"+(this.terminals_[D]||D)+"'"),this.parseError(Ne,{text:T.match,token:this.terminals_[D]||D,line:T.yylineno,loc:Be,expected:le})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+I+", token: "+D);switch(B[0]){case 1:A.push(D),g.push(T.yytext),e.push(T.yylloc),A.push(B[1]),D=null,Ve=T.yyleng,t=T.yytext,re=T.yylineno,Be=T.yylloc;break;case 2:if(L=this.productions_[B[1]][1],V.$=g[g.length-L],V._$={first_line:e[e.length-(L||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(L||1)].first_column,last_column:e[e.length-1].last_column},Qe&&(V._$.range=[e[e.length-(L||1)].range[0],e[e.length-1].range[1]]),Se=this.performAction.apply(V,[t,Ve,re,v.yy,B[1],g,e].concat(We)),typeof Se<"u")return Se;L&&(A=A.slice(0,-1*L*2),g=g.slice(0,-1*L),e=e.slice(0,-1*L)),A.push(this.productions_[B[1]][0]),g.push(V.$),e.push(V._$),Me=q[A[A.length-2]][A[A.length-1]],A.push(Me);break;case 3:return!0}}return!0},"parse")},Ke=function(){var x={EOF:1,parseError:n.__name(function(d,A){if(this.yy.parser)this.yy.parser.parseError(d,A);else throw new Error(d)},"parseError"),setInput:n.__name(function(c,d){return this.yy=d||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:n.__name(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var d=c.match(/(?:\r\n?|\n).*/g);return d?(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:n.__name(function(c){var d=c.length,A=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;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),A.length-1&&(this.yylineno-=A.length-1);var g=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:A?(A.length===r.length?this.yylloc.first_column:0)+r[r.length-A.length].length-A[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[g[0],g[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:n.__name(function(){return this._more=!0,this},"more"),reject:n.__name(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).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n.__name(function(c){this.unput(this.match.slice(c))},"less"),pastInput:n.__name(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:n.__name(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:n.__name(function(){var c=this.pastInput(),d=new Array(c.length+1).join("-");return c+this.upcomingInput()+`
@@ -1,7 +1,7 @@
1
- import { g as et } from "./chunk-GLLZNHP4-B2CMhVV-.js";
2
- import { g as tt } from "./chunk-WVR4S24B-BpZytCXN.js";
3
- import { s as st } from "./chunk-NRVI72HA-BIfF0Wg3.js";
4
- import { _ as f, l as Oe, c as F, p as it, r as at, u as we, d as $, b as nt, a as rt, s as ut, g as lt, q as ct, t as ot, k as v, z as ht, y as dt, i as pt, a8 as R } from "./mermaid.core-CXBZU_5C.js";
1
+ import { g as et } from "./chunk-GLLZNHP4-DM-tH8qN.js";
2
+ import { g as tt } from "./chunk-WVR4S24B-C2gIEv2n.js";
3
+ import { s as st } from "./chunk-NRVI72HA-VCpZ8dT5.js";
4
+ import { _ as f, l as Oe, c as F, p as it, r as at, u as we, d as $, b as nt, a as rt, s as ut, g as lt, q as ct, t as ot, k as v, z as ht, y as dt, i as pt, a8 as R } from "./mermaid.core-CvRAjOPA.js";
5
5
  var Ve = function() {
6
6
  var s = /* @__PURE__ */ f(function(I, c, h, p) {
7
7
  for (h = h || {}, p = I.length; p--; h[I[p]] = c) ;
@@ -1,6 +1,6 @@
1
- import { g as te } from "./chunk-WVR4S24B-BpZytCXN.js";
2
- import { s as ee } from "./chunk-NRVI72HA-BIfF0Wg3.js";
3
- import { _ as f, l as b, c as F, r as se, u as ie, a as re, b as ae, g as ne, s as oe, q as le, t as ce, ab as he, k as z, z as ue } from "./mermaid.core-CXBZU_5C.js";
1
+ import { g as te } from "./chunk-WVR4S24B-C2gIEv2n.js";
2
+ import { s as ee } from "./chunk-NRVI72HA-VCpZ8dT5.js";
3
+ import { _ as f, l as b, c as F, r as se, u as ie, a as re, b as ae, g as ne, s as oe, q as le, t as ce, ab as he, k as z, z as ue } from "./mermaid.core-CvRAjOPA.js";
4
4
  var vt = function() {
5
5
  var e = /* @__PURE__ */ f(function(V, o, h, n) {
6
6
  for (h = h || {}, n = V.length; n--; h[V[n]] = o) ;
@@ -1,4 +1,4 @@
1
- "use strict";const Jt=require("./chunk-WVR4S24B-DFTCs9J3.js"),Qt=require("./chunk-NRVI72HA-DXcnSxt5.js"),s=require("./mermaid.core-CicsgttZ.js");var Dt=function(){var e=s.__name(function(B,l,u,o){for(u=u||{},o=B.length;o--;u[B[o]]=l);return u},"o"),t=[1,2],i=[1,3],n=[1,4],r=[2,4],c=[1,9],f=[1,11],S=[1,16],p=[1,17],y=[1,18],T=[1,19],E=[1,33],b=[1,20],C=[1,21],w=[1,22],A=[1,23],R=[1,24],d=[1,26],x=[1,27],O=[1,28],I=[1,29],F=[1,30],$=[1,31],Y=[1,32],st=[1,35],it=[1,36],rt=[1,37],at=[1,38],H=[1,34],_=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],nt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],pt={trace:s.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:s.__name(function(l,u,o,g,m,a,q){var h=a.length-1;switch(m){case 3:return g.setRootDoc(a[h]),a[h];case 4:this.$=[];break;case 5:a[h]!="nl"&&(a[h-1].push(a[h]),this.$=a[h-1]);break;case 6:case 7:this.$=a[h];break;case 8:this.$="nl";break;case 12:this.$=a[h];break;case 13:const J=a[h-1];J.description=g.trimColon(a[h]),this.$=J;break;case 14:this.$={stmt:"relation",state1:a[h-2],state2:a[h]};break;case 15:const St=g.trimColon(a[h]);this.$={stmt:"relation",state1:a[h-3],state2:a[h-1],description:St};break;case 19:this.$={stmt:"state",id:a[h-3],type:"default",description:"",doc:a[h-1]};break;case 20:var V=a[h],W=a[h-2].trim();if(a[h].match(":")){var lt=a[h].split(":");V=lt[0],W=[W,lt[1]]}this.$={stmt:"state",id:V,type:"default",description:W};break;case 21:this.$={stmt:"state",id:a[h-3],type:"default",description:a[h-5],doc:a[h-1]};break;case 22:this.$={stmt:"state",id:a[h],type:"fork"};break;case 23:this.$={stmt:"state",id:a[h],type:"join"};break;case 24:this.$={stmt:"state",id:a[h],type:"choice"};break;case 25:this.$={stmt:"state",id:g.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:a[h-1].trim(),note:{position:a[h-2].trim(),text:a[h].trim()}};break;case 29:this.$=a[h].trim(),g.setAccTitle(this.$);break;case 30:case 31:this.$=a[h].trim(),g.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:a[h-3],url:a[h-2],tooltip:a[h-1]};break;case 33:this.$={stmt:"click",id:a[h-3],url:a[h-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:a[h-1].trim(),classes:a[h].trim()};break;case 36:this.$={stmt:"style",id:a[h-1].trim(),styleClass:a[h].trim()};break;case 37:this.$={stmt:"applyClass",id:a[h-1].trim(),styleClass:a[h].trim()};break;case 38:g.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:g.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:g.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:g.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:a[h].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:a[h-2].trim(),classes:[a[h].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:a[h-2].trim(),classes:[a[h].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:t,5:i,6:n},{1:[3]},{3:5,4:t,5:i,6:n},{3:6,4:t,5:i,6:n},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:c,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:y,22:T,24:E,25:b,26:C,27:w,28:A,29:R,32:25,33:d,35:x,37:O,38:I,41:F,45:$,48:Y,51:st,52:it,53:rt,54:at,57:H},e(_,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:S,17:p,19:y,22:T,24:E,25:b,26:C,27:w,28:A,29:R,32:25,33:d,35:x,37:O,38:I,41:F,45:$,48:Y,51:st,52:it,53:rt,54:at,57:H},e(_,[2,7]),e(_,[2,8]),e(_,[2,9]),e(_,[2,10]),e(_,[2,11]),e(_,[2,12],{14:[1,40],15:[1,41]}),e(_,[2,16]),{18:[1,42]},e(_,[2,18],{20:[1,43]}),{23:[1,44]},e(_,[2,22]),e(_,[2,23]),e(_,[2,24]),e(_,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(_,[2,28]),{34:[1,49]},{36:[1,50]},e(_,[2,31]),{13:51,24:E,57:H},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},e(nt,[2,44],{58:[1,56]}),e(nt,[2,45],{58:[1,57]}),e(_,[2,38]),e(_,[2,39]),e(_,[2,40]),e(_,[2,41]),e(_,[2,6]),e(_,[2,13]),{13:58,24:E,57:H},e(_,[2,17]),e(vt,r,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(_,[2,29]),e(_,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},e(_,[2,14],{14:[1,71]}),{4:c,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:y,21:[1,72],22:T,24:E,25:b,26:C,27:w,28:A,29:R,32:25,33:d,35:x,37:O,38:I,41:F,45:$,48:Y,51:st,52:it,53:rt,54:at,57:H},e(_,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(_,[2,34]),e(_,[2,35]),e(_,[2,36]),e(_,[2,37]),e(nt,[2,46]),e(nt,[2,47]),e(_,[2,15]),e(_,[2,19]),e(vt,r,{7:78}),e(_,[2,26]),e(_,[2,27]),{5:[1,79]},{5:[1,80]},{4:c,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:y,21:[1,81],22:T,24:E,25:b,26:C,27:w,28:A,29:R,32:25,33:d,35:x,37:O,38:I,41:F,45:$,48:Y,51:st,52:it,53:rt,54:at,57:H},e(_,[2,32]),e(_,[2,33]),e(_,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:s.__name(function(l,u){if(u.recoverable)this.trace(l);else{var o=new Error(l);throw o.hash=u,o}},"parseError"),parse:s.__name(function(l){var u=this,o=[0],g=[],m=[null],a=[],q=this.table,h="",V=0,W=0,lt=2,J=1,St=a.slice.call(arguments,1),D=Object.create(this.lexer),M={yy:{}};for(var _t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_t)&&(M.yy[_t]=this.yy[_t]);D.setInput(l,M.yy),M.yy.lexer=D,M.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var gt=D.yylloc;a.push(gt);var Xt=D.options&&D.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function qt(L){o.length=o.length-2*L,m.length=m.length-L,a.length=a.length-L}s.__name(qt,"popStack");function Ct(){var L;return L=g.pop()||D.lex()||J,typeof L!="number"&&(L instanceof Array&&(g=L,L=g.pop()),L=u.symbols_[L]||L),L}s.__name(Ct,"lex");for(var v,U,N,yt,z={},ct,P,At,ht;;){if(U=o[o.length-1],this.defaultActions[U]?N=this.defaultActions[U]:((v===null||typeof v>"u")&&(v=Ct()),N=q[U]&&q[U][v]),typeof N>"u"||!N.length||!N[0]){var mt="";ht=[];for(ct in q[U])this.terminals_[ct]&&ct>lt&&ht.push("'"+this.terminals_[ct]+"'");D.showPosition?mt="Parse error on line "+(V+1)+`:
1
+ "use strict";const Jt=require("./chunk-WVR4S24B-DuZUHyfp.js"),Qt=require("./chunk-NRVI72HA-CgHPPk9_.js"),s=require("./mermaid.core-BAzkKVaz.js");var Dt=function(){var e=s.__name(function(B,l,u,o){for(u=u||{},o=B.length;o--;u[B[o]]=l);return u},"o"),t=[1,2],i=[1,3],n=[1,4],r=[2,4],c=[1,9],f=[1,11],S=[1,16],p=[1,17],y=[1,18],T=[1,19],E=[1,33],b=[1,20],C=[1,21],w=[1,22],A=[1,23],R=[1,24],d=[1,26],x=[1,27],O=[1,28],I=[1,29],F=[1,30],$=[1,31],Y=[1,32],st=[1,35],it=[1,36],rt=[1,37],at=[1,38],H=[1,34],_=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],nt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],pt={trace:s.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:s.__name(function(l,u,o,g,m,a,q){var h=a.length-1;switch(m){case 3:return g.setRootDoc(a[h]),a[h];case 4:this.$=[];break;case 5:a[h]!="nl"&&(a[h-1].push(a[h]),this.$=a[h-1]);break;case 6:case 7:this.$=a[h];break;case 8:this.$="nl";break;case 12:this.$=a[h];break;case 13:const J=a[h-1];J.description=g.trimColon(a[h]),this.$=J;break;case 14:this.$={stmt:"relation",state1:a[h-2],state2:a[h]};break;case 15:const St=g.trimColon(a[h]);this.$={stmt:"relation",state1:a[h-3],state2:a[h-1],description:St};break;case 19:this.$={stmt:"state",id:a[h-3],type:"default",description:"",doc:a[h-1]};break;case 20:var V=a[h],W=a[h-2].trim();if(a[h].match(":")){var lt=a[h].split(":");V=lt[0],W=[W,lt[1]]}this.$={stmt:"state",id:V,type:"default",description:W};break;case 21:this.$={stmt:"state",id:a[h-3],type:"default",description:a[h-5],doc:a[h-1]};break;case 22:this.$={stmt:"state",id:a[h],type:"fork"};break;case 23:this.$={stmt:"state",id:a[h],type:"join"};break;case 24:this.$={stmt:"state",id:a[h],type:"choice"};break;case 25:this.$={stmt:"state",id:g.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:a[h-1].trim(),note:{position:a[h-2].trim(),text:a[h].trim()}};break;case 29:this.$=a[h].trim(),g.setAccTitle(this.$);break;case 30:case 31:this.$=a[h].trim(),g.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:a[h-3],url:a[h-2],tooltip:a[h-1]};break;case 33:this.$={stmt:"click",id:a[h-3],url:a[h-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:a[h-1].trim(),classes:a[h].trim()};break;case 36:this.$={stmt:"style",id:a[h-1].trim(),styleClass:a[h].trim()};break;case 37:this.$={stmt:"applyClass",id:a[h-1].trim(),styleClass:a[h].trim()};break;case 38:g.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:g.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:g.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:g.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:a[h].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:a[h-2].trim(),classes:[a[h].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:a[h-2].trim(),classes:[a[h].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:t,5:i,6:n},{1:[3]},{3:5,4:t,5:i,6:n},{3:6,4:t,5:i,6:n},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:c,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:y,22:T,24:E,25:b,26:C,27:w,28:A,29:R,32:25,33:d,35:x,37:O,38:I,41:F,45:$,48:Y,51:st,52:it,53:rt,54:at,57:H},e(_,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:S,17:p,19:y,22:T,24:E,25:b,26:C,27:w,28:A,29:R,32:25,33:d,35:x,37:O,38:I,41:F,45:$,48:Y,51:st,52:it,53:rt,54:at,57:H},e(_,[2,7]),e(_,[2,8]),e(_,[2,9]),e(_,[2,10]),e(_,[2,11]),e(_,[2,12],{14:[1,40],15:[1,41]}),e(_,[2,16]),{18:[1,42]},e(_,[2,18],{20:[1,43]}),{23:[1,44]},e(_,[2,22]),e(_,[2,23]),e(_,[2,24]),e(_,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(_,[2,28]),{34:[1,49]},{36:[1,50]},e(_,[2,31]),{13:51,24:E,57:H},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},e(nt,[2,44],{58:[1,56]}),e(nt,[2,45],{58:[1,57]}),e(_,[2,38]),e(_,[2,39]),e(_,[2,40]),e(_,[2,41]),e(_,[2,6]),e(_,[2,13]),{13:58,24:E,57:H},e(_,[2,17]),e(vt,r,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(_,[2,29]),e(_,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},e(_,[2,14],{14:[1,71]}),{4:c,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:y,21:[1,72],22:T,24:E,25:b,26:C,27:w,28:A,29:R,32:25,33:d,35:x,37:O,38:I,41:F,45:$,48:Y,51:st,52:it,53:rt,54:at,57:H},e(_,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(_,[2,34]),e(_,[2,35]),e(_,[2,36]),e(_,[2,37]),e(nt,[2,46]),e(nt,[2,47]),e(_,[2,15]),e(_,[2,19]),e(vt,r,{7:78}),e(_,[2,26]),e(_,[2,27]),{5:[1,79]},{5:[1,80]},{4:c,5:f,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:p,19:y,21:[1,81],22:T,24:E,25:b,26:C,27:w,28:A,29:R,32:25,33:d,35:x,37:O,38:I,41:F,45:$,48:Y,51:st,52:it,53:rt,54:at,57:H},e(_,[2,32]),e(_,[2,33]),e(_,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:s.__name(function(l,u){if(u.recoverable)this.trace(l);else{var o=new Error(l);throw o.hash=u,o}},"parseError"),parse:s.__name(function(l){var u=this,o=[0],g=[],m=[null],a=[],q=this.table,h="",V=0,W=0,lt=2,J=1,St=a.slice.call(arguments,1),D=Object.create(this.lexer),M={yy:{}};for(var _t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_t)&&(M.yy[_t]=this.yy[_t]);D.setInput(l,M.yy),M.yy.lexer=D,M.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var gt=D.yylloc;a.push(gt);var Xt=D.options&&D.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function qt(L){o.length=o.length-2*L,m.length=m.length-L,a.length=a.length-L}s.__name(qt,"popStack");function Ct(){var L;return L=g.pop()||D.lex()||J,typeof L!="number"&&(L instanceof Array&&(g=L,L=g.pop()),L=u.symbols_[L]||L),L}s.__name(Ct,"lex");for(var v,U,N,yt,z={},ct,P,At,ht;;){if(U=o[o.length-1],this.defaultActions[U]?N=this.defaultActions[U]:((v===null||typeof v>"u")&&(v=Ct()),N=q[U]&&q[U][v]),typeof N>"u"||!N.length||!N[0]){var mt="";ht=[];for(ct in q[U])this.terminals_[ct]&&ct>lt&&ht.push("'"+this.terminals_[ct]+"'");D.showPosition?mt="Parse error on line "+(V+1)+`:
2
2
  `+D.showPosition()+`
3
3
  Expecting `+ht.join(", ")+", got '"+(this.terminals_[v]||v)+"'":mt="Parse error on line "+(V+1)+": Unexpected "+(v==J?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(mt,{text:D.match,token:this.terminals_[v]||v,line:D.yylineno,loc:gt,expected:ht})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+v);switch(N[0]){case 1:o.push(v),m.push(D.yytext),a.push(D.yylloc),o.push(N[1]),v=null,W=D.yyleng,h=D.yytext,V=D.yylineno,gt=D.yylloc;break;case 2:if(P=this.productions_[N[1]][1],z.$=m[m.length-P],z._$={first_line:a[a.length-(P||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(P||1)].first_column,last_column:a[a.length-1].last_column},Xt&&(z._$.range=[a[a.length-(P||1)].range[0],a[a.length-1].range[1]]),yt=this.performAction.apply(z,[h,W,V,M.yy,N[1],m,a].concat(St)),typeof yt<"u")return yt;P&&(o=o.slice(0,-1*P*2),m=m.slice(0,-1*P),a=a.slice(0,-1*P)),o.push(this.productions_[N[1]][0]),m.push(z.$),a.push(z._$),At=q[o[o.length-2]][o[o.length-1]],o.push(At);break;case 3:return!0}}return!0},"parse")},Kt=function(){var B={EOF:1,parseError:s.__name(function(u,o){if(this.yy.parser)this.yy.parser.parseError(u,o);else throw new Error(u)},"parseError"),setInput:s.__name(function(l,u){return this.yy=u||this.yy||{},this._input=l,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:s.__name(function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var u=l.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},"input"),unput:s.__name(function(l){var u=l.length,o=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var g=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),o.length-1&&(this.yylineno-=o.length-1);var m=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:o?(o.length===g.length?this.yylloc.first_column:0)+g[g.length-o.length].length-o[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[m[0],m[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},"unput"),more:s.__name(function(){return this._more=!0,this},"more"),reject:s.__name(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).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s.__name(function(l){this.unput(this.match.slice(l))},"less"),pastInput:s.__name(function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s.__name(function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s.__name(function(){var l=this.pastInput(),u=new Array(l.length+1).join("-");return l+this.upcomingInput()+`
@@ -1 +1 @@
1
- "use strict";const n=require("./mermaid.core-CicsgttZ.js");var u=n.__name((e,t,i,o)=>{e.attr("class",i);const{width:r,height:a,x:h,y:s}=w(e,t);n.configureSvgSize(e,a,r,o);const c=x(h,s,r,a,t);e.attr("viewBox",c),n.log.debug(`viewBox configured: ${c} with padding: ${t}`)},"setupViewPortForSVG"),w=n.__name((e,t)=>{var o;const i=((o=e.node())==null?void 0:o.getBBox())||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),x=n.__name((e,t,i,o,r)=>`${e-r} ${t-r} ${i} ${o}`,"createViewBox");exports.setupViewPortForSVG=u;
1
+ "use strict";const n=require("./mermaid.core-BAzkKVaz.js");var u=n.__name((e,t,i,o)=>{e.attr("class",i);const{width:r,height:a,x:h,y:s}=w(e,t);n.configureSvgSize(e,a,r,o);const c=x(h,s,r,a,t);e.attr("viewBox",c),n.log.debug(`viewBox configured: ${c} with padding: ${t}`)},"setupViewPortForSVG"),w=n.__name((e,t)=>{var o;const i=((o=e.node())==null?void 0:o.getBBox())||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),x=n.__name((e,t,i,o,r)=>`${e-r} ${t-r} ${i} ${o}`,"createViewBox");exports.setupViewPortForSVG=u;
@@ -1,4 +1,4 @@
1
- import { _ as a, e as w, l as x } from "./mermaid.core-CXBZU_5C.js";
1
+ import { _ as a, e as w, l as x } from "./mermaid.core-CvRAjOPA.js";
2
2
  var d = /* @__PURE__ */ a((e, t, i, o) => {
3
3
  e.attr("class", i);
4
4
  const { width: r, height: h, x: n, y: c } = u(e, t);
@@ -1 +1 @@
1
- "use strict";const s=require("./mermaid.core-CicsgttZ.js");var c=s.__name((a,t)=>{const e=a.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const r in t.attrs)e.attr(r,t.attrs[r]);return t.class&&e.attr("class",t.class),e},"drawRect"),d=s.__name((a,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};c(a,e).lower()},"drawBackgroundRect"),l=s.__name((a,t)=>{const e=t.text.replace(s.lineBreakRegex," "),r=a.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),t.class&&r.attr("class",t.class);const n=r.append("tspan");return n.attr("x",t.x+t.textMargin*2),n.text(e),r},"drawText"),m=s.__name((a,t,e,r)=>{const n=a.append("image");n.attr("x",t),n.attr("y",e);const i=s.sanitizeUrl_1(r);n.attr("xlink:href",i)},"drawImage"),o=s.__name((a,t,e,r)=>{const n=a.append("use");n.attr("x",t),n.attr("y",e);const i=s.sanitizeUrl_1(r);n.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),x=s.__name(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),g=s.__name(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");exports.drawBackgroundRect=d;exports.drawEmbeddedImage=o;exports.drawImage=m;exports.drawRect=c;exports.drawText=l;exports.getNoteRect=x;exports.getTextObj=g;
1
+ "use strict";const s=require("./mermaid.core-BAzkKVaz.js");var c=s.__name((a,t)=>{const e=a.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const r in t.attrs)e.attr(r,t.attrs[r]);return t.class&&e.attr("class",t.class),e},"drawRect"),d=s.__name((a,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};c(a,e).lower()},"drawBackgroundRect"),l=s.__name((a,t)=>{const e=t.text.replace(s.lineBreakRegex," "),r=a.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),t.class&&r.attr("class",t.class);const n=r.append("tspan");return n.attr("x",t.x+t.textMargin*2),n.text(e),r},"drawText"),m=s.__name((a,t,e,r)=>{const n=a.append("image");n.attr("x",t),n.attr("y",e);const i=s.sanitizeUrl_1(r);n.attr("xlink:href",i)},"drawImage"),o=s.__name((a,t,e,r)=>{const n=a.append("use");n.attr("x",t),n.attr("y",e);const i=s.sanitizeUrl_1(r);n.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),x=s.__name(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),g=s.__name(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");exports.drawBackgroundRect=d;exports.drawEmbeddedImage=o;exports.drawImage=m;exports.drawRect=c;exports.drawText=l;exports.getNoteRect=x;exports.getTextObj=g;
@@ -1,4 +1,4 @@
1
- import { _ as n, n as c, j as l } from "./mermaid.core-CXBZU_5C.js";
1
+ import { _ as n, n as c, j as l } from "./mermaid.core-CvRAjOPA.js";
2
2
  var o = /* @__PURE__ */ n((a, t) => {
3
3
  const e = a.append("rect");
4
4
  if (e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), t.name && e.attr("name", t.name), t.rx && e.attr("rx", t.rx), t.ry && e.attr("ry", t.ry), t.attrs !== void 0)
@@ -1,4 +1,4 @@
1
- import { _ as a, d as o } from "./mermaid.core-CXBZU_5C.js";
1
+ import { _ as a, d as o } from "./mermaid.core-CvRAjOPA.js";
2
2
  var d = /* @__PURE__ */ a((t, e) => {
3
3
  let n;
4
4
  return e === "sandbox" && (n = o("#i" + t)), (e === "sandbox" ? o(n.nodes()[0].contentDocument.body) : o("body")).select(`[id="${t}"]`);
@@ -1 +1 @@
1
- "use strict";const e=require("./mermaid.core-CicsgttZ.js");var s=e.__name((t,n)=>{let o;return n==="sandbox"&&(o=e.select("#i"+t)),(n==="sandbox"?e.select(o.nodes()[0].contentDocument.body):e.select("body")).select(`[id="${t}"]`)},"getDiagramElement");exports.getDiagramElement=s;
1
+ "use strict";const e=require("./mermaid.core-BAzkKVaz.js");var s=e.__name((t,n)=>{let o;return n==="sandbox"&&(o=e.select("#i"+t)),(n==="sandbox"?e.select(o.nodes()[0].contentDocument.body):e.select("body")).select(`[id="${t}"]`)},"getDiagramElement");exports.getDiagramElement=s;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-JBRWN2VN-BN3xU0op.js"),a=require("./mermaid.core-CicsgttZ.js");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-JBRWN2VN-CGkmp9iv.js"),a=require("./mermaid.core-BAzkKVaz.js");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
@@ -1,5 +1,5 @@
1
- import { s as r, c as s, a as e, C as t } from "./chunk-JBRWN2VN-CrM1LSIW.js";
2
- import { _ as l } from "./mermaid.core-CXBZU_5C.js";
1
+ import { s as r, c as s, a as e, C as t } from "./chunk-JBRWN2VN-Cdrg7ipf.js";
2
+ import { _ as l } from "./mermaid.core-CvRAjOPA.js";
3
3
  var d = {
4
4
  parser: e,
5
5
  get db() {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-JBRWN2VN-BN3xU0op.js"),a=require("./mermaid.core-CicsgttZ.js");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-JBRWN2VN-CGkmp9iv.js"),a=require("./mermaid.core-BAzkKVaz.js");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
@@ -1,5 +1,5 @@
1
- import { s as r, c as s, a as e, C as t } from "./chunk-JBRWN2VN-CrM1LSIW.js";
2
- import { _ as l } from "./mermaid.core-CXBZU_5C.js";
1
+ import { s as r, c as s, a as e, C as t } from "./chunk-JBRWN2VN-Cdrg7ipf.js";
2
+ import { _ as l } from "./mermaid.core-CvRAjOPA.js";
3
3
  var d = {
4
4
  parser: e,
5
5
  get db() {
@@ -0,0 +1 @@
1
+ "use strict";const n=require("./_baseUniq-CqIR1mFI.js");var r=4;function c(e){return n.baseClone(e,r)}exports.clone=c;
@@ -1,4 +1,4 @@
1
- import { b as r } from "./_baseUniq-DWDavHdn.js";
1
+ import { b as r } from "./_baseUniq-C_wfwxLl.js";
2
2
  var e = 4;
3
3
  function a(o) {
4
4
  return r(o, e);
@@ -1,9 +1,9 @@
1
- import { _ as X, ax as F, ay as Y, az as _, aA as H, l as i, c as V, aB as z, aC as U, ai as $, an as q, aj as P, ah as K, aD as Q, aE as W, aF as Z } from "./mermaid.core-CXBZU_5C.js";
2
- import { G as B } from "./graph-D6Ops9GK.js";
3
- import { l as I } from "./layout-DxvNIIBb.js";
4
- import { i as x } from "./_baseUniq-DWDavHdn.js";
5
- import { c as L } from "./clone-3Tex2GuH.js";
6
- import { m as A } from "./_basePickBy-Cxdt4vVw.js";
1
+ import { _ as X, ax as F, ay as Y, az as _, aA as H, l as i, c as V, aB as z, aC as U, ai as $, an as q, aj as P, ah as K, aD as Q, aE as W, aF as Z } from "./mermaid.core-CvRAjOPA.js";
2
+ import { G as B } from "./graph-xRq7XmQC.js";
3
+ import { l as I } from "./layout-CDJPlONW.js";
4
+ import { i as x } from "./_baseUniq-C_wfwxLl.js";
5
+ import { c as L } from "./clone-GvES6CO7.js";
6
+ import { m as A } from "./_basePickBy-CBUK3LQZ.js";
7
7
  function p(e) {
8
8
  var t = {
9
9
  options: {
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./mermaid.core-CicsgttZ.js"),P=require("./graph-CCt332TI.js"),R=require("./layout-BVO7SKyA.js"),_=require("./_baseUniq-C5sVZ00h.js"),M=require("./clone-DpLXwZrG.js"),O=require("./_basePickBy-gRpPEYzl.js");function E(e){var o={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:q(e),edges:j(e)};return _.isUndefined(e.graph())||(o.value=M.clone(e.graph())),o}function q(e){return O.map(e.nodes(),function(o){var n=e.node(o),s=e.parent(o),c={v:o};return _.isUndefined(n)||(c.value=n),_.isUndefined(s)||(c.parent=s),c})}function j(e){return O.map(e.edges(),function(o){var n=e.edge(o),s={v:o.v,w:o.w};return _.isUndefined(o.name)||(s.name=o.name),_.isUndefined(n)||(s.value=n),s})}var f=new Map,b=new Map,k=new Map,U=t.__name(()=>{b.clear(),k.clear(),f.clear()},"clear"),x=t.__name((e,o)=>{const n=b.get(o)||[];return t.log.trace("In isDescendant",o," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),F=t.__name((e,o)=>{const n=b.get(o)||[];return t.log.info("Descendants of ",o," is ",n),t.log.info("Edge is ",e),e.v===o||e.w===o?!1:n?n.includes(e.v)||x(e.v,o)||x(e.w,o)||n.includes(e.w):(t.log.debug("Tilt, ",o,",not in descendants"),!1)},"edgeInCluster"),B=t.__name((e,o,n,s)=>{t.log.warn("Copying children of ",e,"root",s,"data",o.node(e),s);const c=o.children(e)||[];e!==s&&c.push(e),t.log.warn("Copying (nodes) clusterId",e,"nodes",c),c.forEach(l=>{if(o.children(l).length>0)B(l,o,n,s);else{const r=o.node(l);t.log.info("cp ",l," to ",s," with parent ",e),n.setNode(l,r),s!==o.parent(l)&&(t.log.warn("Setting parent",l,o.parent(l)),n.setParent(l,o.parent(l))),e!==s&&l!==e?(t.log.debug("Setting parent",l,e),n.setParent(l,e)):(t.log.info("In copy ",e,"root",s,"data",o.node(e),s),t.log.debug("Not Setting parent for node=",l,"cluster!==rootId",e!==s,"node!==clusterId",l!==e));const g=o.edges(l);t.log.debug("Copying Edges",g),g.forEach(d=>{t.log.info("Edge",d);const v=o.edge(d.v,d.w,d.name);t.log.info("Edge data",v,s);try{F(d,s)?(t.log.info("Copying as ",d.v,d.w,v,d.name),n.setEdge(d.v,d.w,v,d.name),t.log.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):t.log.info("Skipping copy of edge ",d.v,"-->",d.w," rootId: ",s," clusterId:",e)}catch(p){t.log.error(p)}})}t.log.debug("Removing node",l),o.removeNode(l)})},"copy"),A=t.__name((e,o)=>{const n=o.children(e);let s=[...n];for(const c of n)k.set(c,e),s=[...s,...A(c,o)];return s},"extractDescendants"),Y=t.__name((e,o,n)=>{const s=e.edges().filter(d=>d.v===o||d.w===o),c=e.edges().filter(d=>d.v===n||d.w===n),l=s.map(d=>({v:d.v===o?n:d.v,w:d.w===o?o:d.w})),r=c.map(d=>({v:d.v,w:d.w}));return l.filter(d=>r.some(v=>d.v===v.v&&d.w===v.w))},"findCommonEdges"),S=t.__name((e,o,n)=>{const s=o.children(e);if(t.log.trace("Searching children of id ",e,s),s.length<1)return e;let c;for(const l of s){const r=S(l,o,n),g=Y(o,n,r);if(r)if(g.length>0)c=r;else return r}return c},"findNonClusterChild"),D=t.__name(e=>!f.has(e)||!f.get(e).externalConnections?e:f.has(e)?f.get(e).id:e,"getAnchorId"),H=t.__name((e,o)=>{if(!e||o>10){t.log.debug("Opting out, no graph ");return}else t.log.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(t.log.warn("Cluster identified",n," Replacement id in edges: ",S(n,e,n)),b.set(n,A(n,e)),f.set(n,{id:S(n,e,n),clusterData:e.node(n)}))}),e.nodes().forEach(function(n){const s=e.children(n),c=e.edges();s.length>0?(t.log.debug("Cluster identified",n,b),c.forEach(l=>{const r=x(l.v,n),g=x(l.w,n);r^g&&(t.log.warn("Edge: ",l," leaves cluster ",n),t.log.warn("Descendants of XXX ",n,": ",b.get(n)),f.get(n).externalConnections=!0)})):t.log.debug("Not a cluster ",n,b)});for(let n of f.keys()){const s=f.get(n).id,c=e.parent(s);c!==n&&f.has(c)&&!f.get(c).externalConnections&&(f.get(n).id=c)}e.edges().forEach(function(n){const s=e.edge(n);t.log.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),t.log.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let c=n.v,l=n.w;if(t.log.warn("Fix XXX",f,"ids:",n.v,n.w,"Translating: ",f.get(n.v)," --- ",f.get(n.w)),f.get(n.v)||f.get(n.w)){if(t.log.warn("Fixing and trying - removing XXX",n.v,n.w,n.name),c=D(n.v),l=D(n.w),e.removeEdge(n.v,n.w,n.name),c!==n.v){const r=e.parent(c);f.get(r).externalConnections=!0,s.fromCluster=n.v}if(l!==n.w){const r=e.parent(l);f.get(r).externalConnections=!0,s.toCluster=n.w}t.log.warn("Fix Replacing with XXX",c,l,n.name),e.setEdge(c,l,s,n.name)}}),t.log.warn("Adjusted Graph",E(e)),J(e,0),t.log.trace(f)},"adjustClustersAndEdges"),J=t.__name((e,o)=>{var c,l;if(t.log.warn("extractor - ",o,E(e),e.children("D")),o>10){t.log.error("Bailing out");return}let n=e.nodes(),s=!1;for(const r of n){const g=e.children(r);s=s||g.length>0}if(!s){t.log.debug("Done, no node has children",e.nodes());return}t.log.debug("Nodes = ",n,o);for(const r of n)if(t.log.debug("Extracting node",r,f,f.has(r)&&!f.get(r).externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",o),!f.has(r))t.log.debug("Not a cluster",r,o);else if(!f.get(r).externalConnections&&e.children(r)&&e.children(r).length>0){t.log.warn("Cluster without external connections, without a parent and with children",r,o);let d=e.graph().rankdir==="TB"?"LR":"TB";(l=(c=f.get(r))==null?void 0:c.clusterData)!=null&&l.dir&&(d=f.get(r).clusterData.dir,t.log.warn("Fixing dir",f.get(r).clusterData.dir,d));const v=new P.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});t.log.warn("Old graph before copy",E(e)),B(r,e,v,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:f.get(r).clusterData,label:f.get(r).label,graph:v}),t.log.warn("New graph after copy node: (",r,")",E(v)),t.log.debug("Old graph after copy",E(e))}else t.log.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!f.get(r).externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),o),t.log.debug(f);n=e.nodes(),t.log.warn("New list of nodes",n);for(const r of n){const g=e.node(r);t.log.warn(" Now next level",r,g),g!=null&&g.clusterNode&&J(g.graph,o+1)}},"extractor"),T=t.__name((e,o)=>{if(o.length===0)return[];let n=Object.assign([],o);return o.forEach(s=>{const c=e.children(s),l=T(e,c);n=[...n,...l]}),n},"sorter"),V=t.__name(e=>T(e,e.children()),"sortNodesByHierarchy"),G=t.__name(async(e,o,n,s,c,l)=>{t.log.warn("Graph in recursive render:XAX",E(o),c);const r=o.graph().rankdir;t.log.trace("Dir in recursive render - dir:",r);const g=e.insert("g").attr("class","root");o.nodes()?t.log.info("Recursive render XXX",o.nodes()):t.log.info("No nodes found for",o),o.edges().length>0&&t.log.info("Recursive edges",o.edge(o.edges()[0]));const d=g.insert("g").attr("class","clusters"),v=g.insert("g").attr("class","edgePaths"),p=g.insert("g").attr("class","edgeLabels"),u=g.insert("g").attr("class","nodes");await Promise.all(o.nodes().map(async function(a){const i=o.node(a);if(c!==void 0){const w=JSON.parse(JSON.stringify(c.clusterData));t.log.trace(`Setting data for parent cluster XXX
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./mermaid.core-BAzkKVaz.js"),P=require("./graph-BH34NRXk.js"),R=require("./layout-BAbpTM6P.js"),_=require("./_baseUniq-CqIR1mFI.js"),M=require("./clone-Ct5oP2ug.js"),O=require("./_basePickBy-CF4sHVu5.js");function E(e){var o={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:q(e),edges:j(e)};return _.isUndefined(e.graph())||(o.value=M.clone(e.graph())),o}function q(e){return O.map(e.nodes(),function(o){var n=e.node(o),s=e.parent(o),c={v:o};return _.isUndefined(n)||(c.value=n),_.isUndefined(s)||(c.parent=s),c})}function j(e){return O.map(e.edges(),function(o){var n=e.edge(o),s={v:o.v,w:o.w};return _.isUndefined(o.name)||(s.name=o.name),_.isUndefined(n)||(s.value=n),s})}var f=new Map,b=new Map,k=new Map,U=t.__name(()=>{b.clear(),k.clear(),f.clear()},"clear"),x=t.__name((e,o)=>{const n=b.get(o)||[];return t.log.trace("In isDescendant",o," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),F=t.__name((e,o)=>{const n=b.get(o)||[];return t.log.info("Descendants of ",o," is ",n),t.log.info("Edge is ",e),e.v===o||e.w===o?!1:n?n.includes(e.v)||x(e.v,o)||x(e.w,o)||n.includes(e.w):(t.log.debug("Tilt, ",o,",not in descendants"),!1)},"edgeInCluster"),B=t.__name((e,o,n,s)=>{t.log.warn("Copying children of ",e,"root",s,"data",o.node(e),s);const c=o.children(e)||[];e!==s&&c.push(e),t.log.warn("Copying (nodes) clusterId",e,"nodes",c),c.forEach(l=>{if(o.children(l).length>0)B(l,o,n,s);else{const r=o.node(l);t.log.info("cp ",l," to ",s," with parent ",e),n.setNode(l,r),s!==o.parent(l)&&(t.log.warn("Setting parent",l,o.parent(l)),n.setParent(l,o.parent(l))),e!==s&&l!==e?(t.log.debug("Setting parent",l,e),n.setParent(l,e)):(t.log.info("In copy ",e,"root",s,"data",o.node(e),s),t.log.debug("Not Setting parent for node=",l,"cluster!==rootId",e!==s,"node!==clusterId",l!==e));const g=o.edges(l);t.log.debug("Copying Edges",g),g.forEach(d=>{t.log.info("Edge",d);const v=o.edge(d.v,d.w,d.name);t.log.info("Edge data",v,s);try{F(d,s)?(t.log.info("Copying as ",d.v,d.w,v,d.name),n.setEdge(d.v,d.w,v,d.name),t.log.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):t.log.info("Skipping copy of edge ",d.v,"-->",d.w," rootId: ",s," clusterId:",e)}catch(p){t.log.error(p)}})}t.log.debug("Removing node",l),o.removeNode(l)})},"copy"),A=t.__name((e,o)=>{const n=o.children(e);let s=[...n];for(const c of n)k.set(c,e),s=[...s,...A(c,o)];return s},"extractDescendants"),Y=t.__name((e,o,n)=>{const s=e.edges().filter(d=>d.v===o||d.w===o),c=e.edges().filter(d=>d.v===n||d.w===n),l=s.map(d=>({v:d.v===o?n:d.v,w:d.w===o?o:d.w})),r=c.map(d=>({v:d.v,w:d.w}));return l.filter(d=>r.some(v=>d.v===v.v&&d.w===v.w))},"findCommonEdges"),S=t.__name((e,o,n)=>{const s=o.children(e);if(t.log.trace("Searching children of id ",e,s),s.length<1)return e;let c;for(const l of s){const r=S(l,o,n),g=Y(o,n,r);if(r)if(g.length>0)c=r;else return r}return c},"findNonClusterChild"),D=t.__name(e=>!f.has(e)||!f.get(e).externalConnections?e:f.has(e)?f.get(e).id:e,"getAnchorId"),H=t.__name((e,o)=>{if(!e||o>10){t.log.debug("Opting out, no graph ");return}else t.log.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(t.log.warn("Cluster identified",n," Replacement id in edges: ",S(n,e,n)),b.set(n,A(n,e)),f.set(n,{id:S(n,e,n),clusterData:e.node(n)}))}),e.nodes().forEach(function(n){const s=e.children(n),c=e.edges();s.length>0?(t.log.debug("Cluster identified",n,b),c.forEach(l=>{const r=x(l.v,n),g=x(l.w,n);r^g&&(t.log.warn("Edge: ",l," leaves cluster ",n),t.log.warn("Descendants of XXX ",n,": ",b.get(n)),f.get(n).externalConnections=!0)})):t.log.debug("Not a cluster ",n,b)});for(let n of f.keys()){const s=f.get(n).id,c=e.parent(s);c!==n&&f.has(c)&&!f.get(c).externalConnections&&(f.get(n).id=c)}e.edges().forEach(function(n){const s=e.edge(n);t.log.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),t.log.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let c=n.v,l=n.w;if(t.log.warn("Fix XXX",f,"ids:",n.v,n.w,"Translating: ",f.get(n.v)," --- ",f.get(n.w)),f.get(n.v)||f.get(n.w)){if(t.log.warn("Fixing and trying - removing XXX",n.v,n.w,n.name),c=D(n.v),l=D(n.w),e.removeEdge(n.v,n.w,n.name),c!==n.v){const r=e.parent(c);f.get(r).externalConnections=!0,s.fromCluster=n.v}if(l!==n.w){const r=e.parent(l);f.get(r).externalConnections=!0,s.toCluster=n.w}t.log.warn("Fix Replacing with XXX",c,l,n.name),e.setEdge(c,l,s,n.name)}}),t.log.warn("Adjusted Graph",E(e)),J(e,0),t.log.trace(f)},"adjustClustersAndEdges"),J=t.__name((e,o)=>{var c,l;if(t.log.warn("extractor - ",o,E(e),e.children("D")),o>10){t.log.error("Bailing out");return}let n=e.nodes(),s=!1;for(const r of n){const g=e.children(r);s=s||g.length>0}if(!s){t.log.debug("Done, no node has children",e.nodes());return}t.log.debug("Nodes = ",n,o);for(const r of n)if(t.log.debug("Extracting node",r,f,f.has(r)&&!f.get(r).externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",o),!f.has(r))t.log.debug("Not a cluster",r,o);else if(!f.get(r).externalConnections&&e.children(r)&&e.children(r).length>0){t.log.warn("Cluster without external connections, without a parent and with children",r,o);let d=e.graph().rankdir==="TB"?"LR":"TB";(l=(c=f.get(r))==null?void 0:c.clusterData)!=null&&l.dir&&(d=f.get(r).clusterData.dir,t.log.warn("Fixing dir",f.get(r).clusterData.dir,d));const v=new P.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});t.log.warn("Old graph before copy",E(e)),B(r,e,v,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:f.get(r).clusterData,label:f.get(r).label,graph:v}),t.log.warn("New graph after copy node: (",r,")",E(v)),t.log.debug("Old graph after copy",E(e))}else t.log.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!f.get(r).externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),o),t.log.debug(f);n=e.nodes(),t.log.warn("New list of nodes",n);for(const r of n){const g=e.node(r);t.log.warn(" Now next level",r,g),g!=null&&g.clusterNode&&J(g.graph,o+1)}},"extractor"),T=t.__name((e,o)=>{if(o.length===0)return[];let n=Object.assign([],o);return o.forEach(s=>{const c=e.children(s),l=T(e,c);n=[...n,...l]}),n},"sorter"),V=t.__name(e=>T(e,e.children()),"sortNodesByHierarchy"),G=t.__name(async(e,o,n,s,c,l)=>{t.log.warn("Graph in recursive render:XAX",E(o),c);const r=o.graph().rankdir;t.log.trace("Dir in recursive render - dir:",r);const g=e.insert("g").attr("class","root");o.nodes()?t.log.info("Recursive render XXX",o.nodes()):t.log.info("No nodes found for",o),o.edges().length>0&&t.log.info("Recursive edges",o.edge(o.edges()[0]));const d=g.insert("g").attr("class","clusters"),v=g.insert("g").attr("class","edgePaths"),p=g.insert("g").attr("class","edgeLabels"),u=g.insert("g").attr("class","nodes");await Promise.all(o.nodes().map(async function(a){const i=o.node(a);if(c!==void 0){const w=JSON.parse(JSON.stringify(c.clusterData));t.log.trace(`Setting data for parent cluster XXX
2
2
  Node.id = `,a,`
3
3
  data=`,w.height,`
4
4
  Parent cluster`,c.height),o.setNode(c.id,w),o.parent(a)||(t.log.trace("Setting parent",a,c.id),o.setParent(a,c.id,w))}if(t.log.info("(Insert) Node XXX"+a+": "+JSON.stringify(o.node(a))),i!=null&&i.clusterNode){t.log.info("Cluster identified XBX",a,i.width,o.node(a));const{ranksep:w,nodesep:m}=o.graph();i.graph.setGraph({...i.graph.graph(),ranksep:w+25,nodesep:m});const N=await G(u,i.graph,n,s,o.node(a),l),C=N.elem;t.updateNodeBounds(i,C),i.diff=N.diff||0,t.log.info("New compound node after recursive render XAX",a,"width",i.width,"height",i.height),t.setNodeElem(C,i)}else o.children(a).length>0?(t.log.trace("Cluster - the non recursive path XBX",a,i.id,i,i.width,"Graph:",o),t.log.trace(S(i.id,o)),f.set(i.id,{id:S(i.id,o),node:i})):(t.log.trace("Node - the non recursive path XAX",a,u,o.node(a),r),await t.insertNode(u,o.node(a),{config:l,dir:r}))})),await t.__name(async()=>{const a=o.edges().map(async function(i){const w=o.edge(i.v,i.w,i.name);t.log.info("Edge "+i.v+" -> "+i.w+": "+JSON.stringify(i)),t.log.info("Edge "+i.v+" -> "+i.w+": ",i," ",JSON.stringify(o.edge(i))),t.log.info("Fix",f,"ids:",i.v,i.w,"Translating: ",f.get(i.v),f.get(i.w)),await t.insertEdgeLabel(p,w)});await Promise.all(a)},"processEdges")(),t.log.info("Graph before layout:",JSON.stringify(E(o))),t.log.info("############################################# XXX"),t.log.info("### Layout ### XXX"),t.log.info("############################################# XXX"),R.layout(o),t.log.info("Graph after layout:",JSON.stringify(E(o)));let X=0,{subGraphTitleTotalMargin:y}=t.getSubGraphTitleMargins(l);return await Promise.all(V(o).map(async function(a){var w;const i=o.node(a);if(t.log.info("Position XBX => "+a+": ("+i.x,","+i.y,") width: ",i.width," height: ",i.height),i!=null&&i.clusterNode)i.y+=y,t.log.info("A tainted cluster node XBX1",a,i.id,i.width,i.height,i.x,i.y,o.parent(a)),f.get(i.id).node=i,t.positionNode(i);else if(o.children(a).length>0){t.log.info("A pure cluster node XBX1",a,i.id,i.x,i.y,i.width,i.height,o.parent(a)),i.height+=y,o.node(i.parentId);const m=(i==null?void 0:i.padding)/2||0,N=((w=i==null?void 0:i.labelBBox)==null?void 0:w.height)||0,C=N-m||0;t.log.debug("OffsetY",C,"labelHeight",N,"halfPadding",m),await t.insertCluster(d,i),f.get(i.id).node=i}else{const m=o.node(i.parentId);i.y+=y/2,t.log.info("A regular node XBX1 - using the padding",i.id,"parent",i.parentId,i.width,i.height,i.x,i.y,"offsetY",i.offsetY,"parent",m,m==null?void 0:m.offsetY,i),t.positionNode(i)}})),o.edges().forEach(function(a){const i=o.edge(a);t.log.info("Edge "+a.v+" -> "+a.w+": "+JSON.stringify(i),i),i.points.forEach(C=>C.y+=y/2);const w=o.node(a.v);var m=o.node(a.w);const N=t.insertEdge(v,i,f,n,w,m,s);t.positionEdgeLabel(i,N)}),o.nodes().forEach(function(a){const i=o.node(a);t.log.info(a,i.type,i.diff),i.isGroup&&(X=i.diff)}),t.log.warn("Returning from recursive render XAX",g,X),{elem:g,diff:X}},"recursiveRender"),z=t.__name(async(e,o)=>{var l,r,g,d,v,p;const n=new P.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:e.direction,nodesep:((l=e.config)==null?void 0:l.nodeSpacing)||((g=(r=e.config)==null?void 0:r.flowchart)==null?void 0:g.nodeSpacing)||e.nodeSpacing,ranksep:((d=e.config)==null?void 0:d.rankSpacing)||((p=(v=e.config)==null?void 0:v.flowchart)==null?void 0:p.rankSpacing)||e.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),s=o.select("g");t.markers_default(s,e.markers,e.type,e.diagramId),t.clear2(),t.clear$1(),t.clear$2(),U(),e.nodes.forEach(u=>{n.setNode(u.id,{...u}),u.parentId&&n.setParent(u.id,u.parentId)}),t.log.debug("Edges:",e.edges),e.edges.forEach(u=>{if(u.start===u.end){const h=u.start,X=h+"---"+h+"---1",y=h+"---"+h+"---2",a=n.node(h);n.setNode(X,{domId:X,id:X,parentId:a.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),n.setParent(X,a.parentId),n.setNode(y,{domId:y,id:y,parentId:a.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),n.setParent(y,a.parentId);const i=structuredClone(u),w=structuredClone(u),m=structuredClone(u);i.label="",i.arrowTypeEnd="none",i.id=h+"-cyclic-special-1",w.arrowTypeStart="none",w.arrowTypeEnd="none",w.id=h+"-cyclic-special-mid",m.label="",a.isGroup&&(i.fromCluster=h,m.toCluster=h),m.id=h+"-cyclic-special-2",m.arrowTypeStart="none",n.setEdge(h,X,i,h+"-cyclic-special-0"),n.setEdge(X,y,w,h+"-cyclic-special-1"),n.setEdge(y,h,m,h+"-cyc<lic-special-2")}else n.setEdge(u.start,u.end,{...u},u.id)}),t.log.warn("Graph at first:",JSON.stringify(E(n))),H(n),t.log.warn("Graph after XAX:",JSON.stringify(E(n)));const c=t.getConfig2();await G(s,n,e.type,e.diagramId,void 0,c)},"render");exports.render=z;