@dooc-dev/dooc 0.0.6 → 0.0.7

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 (97) hide show
  1. package/dist/cli.js +35 -1
  2. package/dist/flow.global.js +1031 -1057
  3. package/dist/graph/{abnfDiagram-S7VZAUFO-ASBULSKE.js → abnfDiagram-S7VZAUFO-GAGCW2J5.js} +1 -1
  4. package/dist/graph/{architecture-WOLXFQ4H-V57EDXXY.js → architecture-WOLXFQ4H-AWAC3VBS.js} +1 -1
  5. package/dist/graph/{architectureDiagram-YGSQEFNW-GIMP347N.js → architectureDiagram-YGSQEFNW-WQ7QKSUJ.js} +1 -1
  6. package/dist/graph/{blockDiagram-APKKGZFW-RDL2T4JW.js → blockDiagram-APKKGZFW-H7ZNJMOM.js} +1 -1
  7. package/dist/graph/{bpmnIcons-APHXDYXF-TWOSQNUQ.js → bpmnIcons-APHXDYXF-EAVPNTFE.js} +1 -1
  8. package/dist/graph/{c4Diagram-KJ2TOQU5-75LIUC4F.js → c4Diagram-KJ2TOQU5-3IYS34YL.js} +1 -1
  9. package/dist/graph/{chunk-KU6GTEMS.js → chunk-3CJU2RDX.js} +1 -1
  10. package/dist/graph/{chunk-ISO77HML.js → chunk-5N2X2DXU.js} +1 -1
  11. package/dist/graph/{chunk-YCRLJT2S.js → chunk-67BPVAXC.js} +1 -1
  12. package/dist/graph/{chunk-26TUJSYJ.js → chunk-6CDZONCA.js} +1 -1
  13. package/dist/graph/{chunk-I3DMZIHV.js → chunk-7ASYMKN2.js} +1 -1
  14. package/dist/graph/{chunk-K2KLZU7M.js → chunk-7JQUFVT4.js} +2 -2
  15. package/dist/graph/{chunk-BBD5CEDC.js → chunk-7LSMJ4VU.js} +1 -1
  16. package/dist/graph/{chunk-EG5UVNOC.js → chunk-7UKJADAE.js} +1 -1
  17. package/dist/graph/{chunk-BZAMCJ6B.js → chunk-AARGNXTW.js} +1 -1
  18. package/dist/graph/{chunk-HOPPTA6H.js → chunk-BOXAA5AP.js} +2 -2
  19. package/dist/graph/{chunk-N3OHKGRZ.js → chunk-BTMPKSGF.js} +1 -1
  20. package/dist/graph/{chunk-QCJUF4YA.js → chunk-DIDARDST.js} +1 -1
  21. package/dist/graph/{chunk-R63JUMUK.js → chunk-EWYECPNJ.js} +1 -1
  22. package/dist/graph/{chunk-3YJHMOOA.js → chunk-FD7ZFC7R.js} +1 -1
  23. package/dist/graph/chunk-GWYODWCE.js +1 -0
  24. package/dist/graph/{chunk-IC23EEF6.js → chunk-HKRJKXEE.js} +1 -1
  25. package/dist/graph/{chunk-PW2RGZ3O.js → chunk-I5LEUF24.js} +1 -1
  26. package/dist/graph/{chunk-OFZLK5G4.js → chunk-ICJPOOXG.js} +1 -1
  27. package/dist/graph/{chunk-KT4VPQD5.js → chunk-IVZHB6RS.js} +2 -2
  28. package/dist/graph/{chunk-VM2H7G2R.js → chunk-JZGXHT3J.js} +1 -1
  29. package/dist/graph/{chunk-HJG2HUYJ.js → chunk-LSRL537V.js} +1 -1
  30. package/dist/graph/{chunk-C6J4A356.js → chunk-N44XPVUD.js} +1 -1
  31. package/dist/graph/{chunk-JD7ZBJD2.js → chunk-NDAMZVXQ.js} +1 -1
  32. package/dist/graph/{chunk-QEEA3KYY.js → chunk-QLS7NIYR.js} +1 -1
  33. package/dist/graph/{chunk-JRSH5GNS.js → chunk-QQIGL7OP.js} +1 -1
  34. package/dist/graph/chunk-SQE76S5B.js +1 -0
  35. package/dist/graph/{chunk-ZMCB7VP2.js → chunk-WQHTQAFY.js} +1 -1
  36. package/dist/graph/{classDiagram-v2-L25IHNXF-JL7LVDZH.js → classDiagram-v2-L25IHNXF-HNTCDTNK.js} +1 -1
  37. package/dist/graph/{cose-bilkent-JH36ORCC-PNM3EYPB.js → cose-bilkent-JH36ORCC-2GVA7XKO.js} +1 -1
  38. package/dist/graph/{cynefin-EF2NZ3EQ-PSXP3DXL.js → cynefin-EF2NZ3EQ-TCI65RAQ.js} +1 -1
  39. package/dist/graph/{cynefinDiagram-L36ESFBY-QVY54CXO.js → cynefinDiagram-L36ESFBY-OKQ5BLVF.js} +1 -1
  40. package/dist/graph/{dagre-SPEB5RXH-HPGQXBZJ.js → dagre-SPEB5RXH-KZEBD52K.js} +1 -1
  41. package/dist/graph/{diagram-3B7GL73J-DWH5WS2P.js → diagram-3B7GL73J-ESCBJM3O.js} +1 -1
  42. package/dist/graph/{diagram-DNEMPZML-TEGH2U5I.js → diagram-DNEMPZML-ZIBUSQZI.js} +1 -1
  43. package/dist/graph/{diagram-L3MUGCDN-X4MREUWR.js → diagram-L3MUGCDN-IGK62IPN.js} +1 -1
  44. package/dist/graph/{diagram-LA4NIPWU-NXT746HG.js → diagram-LA4NIPWU-2KZCOFJ5.js} +1 -1
  45. package/dist/graph/{diagram-MHCOC4E2-JGHXSAGS.js → diagram-MHCOC4E2-EYAAB236.js} +1 -1
  46. package/dist/graph/{diagram-XPFHEONP-ZHZPBLT4.js → diagram-XPFHEONP-OZ5ARGMG.js} +1 -1
  47. package/dist/graph/{ebnfDiagram-UZSYDL2S-SMF6KJ43.js → ebnfDiagram-UZSYDL2S-M3XJHARD.js} +1 -1
  48. package/dist/graph/{erDiagram-EYBAPDEH-B3JNJ357.js → erDiagram-EYBAPDEH-Y7KUBH7A.js} +1 -1
  49. package/dist/graph/{eventmodeling-K75KTNOO-WG6DDYMC.js → eventmodeling-K75KTNOO-ROLYRDEP.js} +1 -1
  50. package/dist/graph/flowDiagram-MALGAFMO-AAUEIPCR.js +1 -0
  51. package/dist/graph/{ganttDiagram-23REXITY-YXBYWFOJ.js → ganttDiagram-23REXITY-JSBTFSSJ.js} +1 -1
  52. package/dist/graph/{gitGraph-VSP46ZUC-VBFWJBBT.js → gitGraph-VSP46ZUC-ZCBCDVNF.js} +1 -1
  53. package/dist/graph/{gitGraphDiagram-STJD7YCW-4FZDCFGV.js → gitGraphDiagram-STJD7YCW-3ZA5FT3G.js} +1 -1
  54. package/dist/graph/{info-OHQRW6UA-ALVDUVYV.js → info-OHQRW6UA-JKJGOQNY.js} +1 -1
  55. package/dist/graph/infoDiagram-KBXO4MBG-6LFMPP2O.js +2 -0
  56. package/dist/graph/{ishikawaDiagram-M35NCXHK-FRZD2PWQ.js → ishikawaDiagram-M35NCXHK-YLEU44DY.js} +1 -1
  57. package/dist/graph/{journeyDiagram-OPLOXDXO-7Z66JCPR.js → journeyDiagram-OPLOXDXO-ZHJV66ZT.js} +1 -1
  58. package/dist/graph/{kanban-definition-BZKZHSQY-NN5AIKTE.js → kanban-definition-BZKZHSQY-SDU25WUM.js} +1 -1
  59. package/dist/graph/{katex-DXDNVO6V.js → katex-WSLZOTY7.js} +1 -1
  60. package/dist/graph/{mindmap-definition-I2QAS2VK-HDPCABN2.js → mindmap-definition-I2QAS2VK-XQNBCYHN.js} +1 -1
  61. package/dist/graph/{packet-JDAUHWVQ-5MQIBWAH.js → packet-JDAUHWVQ-Y3H77ERD.js} +1 -1
  62. package/dist/graph/{pegDiagram-FD4XPPHP-H2BFNCKT.js → pegDiagram-FD4XPPHP-YO4VWH6V.js} +1 -1
  63. package/dist/graph/{pie-XZMESJXO-T5VRKHVT.js → pie-XZMESJXO-PRER4XL5.js} +1 -1
  64. package/dist/graph/{pieDiagram-J4AKIIQI-O3NJSVD3.js → pieDiagram-J4AKIIQI-TJ5WOOSV.js} +1 -1
  65. package/dist/graph/{quadrantDiagram-XTYBLID2-TMTZJI3P.js → quadrantDiagram-XTYBLID2-G6MSSZLW.js} +1 -1
  66. package/dist/graph/{radar-ABXABTNO-C6FXIBYW.js → radar-ABXABTNO-M6MV34GM.js} +1 -1
  67. package/dist/graph/{railroad-I3PHUGI6-ZSO5JXB3.js → railroad-I3PHUGI6-YIWPGN6Q.js} +1 -1
  68. package/dist/graph/{railroad-abnf-LNEFI6M7-CI4GQRHB.js → railroad-abnf-LNEFI6M7-7JHLZ2R7.js} +1 -1
  69. package/dist/graph/{railroad-ebnf-DWYD2UWJ-MUENNCGK.js → railroad-ebnf-DWYD2UWJ-V55BXEWY.js} +1 -1
  70. package/dist/graph/{railroad-peg-JR7BVNR7-N3X5GGIX.js → railroad-peg-JR7BVNR7-XCGKDRMK.js} +1 -1
  71. package/dist/graph/{railroadDiagram-MRQ6NCDL-JHWS23UO.js → railroadDiagram-MRQ6NCDL-RACSFXC4.js} +1 -1
  72. package/dist/graph/{requirementDiagram-Y7LWUY3S-7DVLPO4B.js → requirementDiagram-Y7LWUY3S-4LQIQWHQ.js} +1 -1
  73. package/dist/graph/{sankeyDiagram-WGJFYUXA-Z5L4R5TR.js → sankeyDiagram-WGJFYUXA-K3RXG5FB.js} +1 -1
  74. package/dist/graph/schema-graph-global.js +4 -4
  75. package/dist/graph/{sequenceDiagram-5NDRBG5M-RCTU25NT.js → sequenceDiagram-5NDRBG5M-Y6RBHRS3.js} +1 -1
  76. package/dist/graph/{sizeCapture-INFHLROL-RROY32P5.js → sizeCapture-INFHLROL-TJW3VUGH.js} +1 -1
  77. package/dist/graph/{stateDiagram-v2-FJ4FJNEA-BXUSPWDK.js → stateDiagram-v2-FJ4FJNEA-4M5WZORG.js} +1 -1
  78. package/dist/graph/swimlanes-UMQ2AFYF-O4W6U4RO.js +1 -0
  79. package/dist/graph/swimlanesDiagram-OMPLPG4O-HZAKM45N.js +8 -0
  80. package/dist/graph/{timeline-definition-SEUHKTQE-ZQSMIVAS.js → timeline-definition-SEUHKTQE-IHISQ4Q7.js} +1 -1
  81. package/dist/graph/{treeView-D4JQ5SDB-42S7U73N.js → treeView-D4JQ5SDB-EVGY4VYS.js} +1 -1
  82. package/dist/graph/{treemap-SAJKECNS-RUBYQ7XF.js → treemap-SAJKECNS-LN3SMFRX.js} +1 -1
  83. package/dist/graph/{usecaseDiagram-AFA6YXN4-57RDRYXF.js → usecaseDiagram-AFA6YXN4-B645A3J6.js} +1 -1
  84. package/dist/graph/{vennDiagram-NNMJR3RB-5C3LVAV6.js → vennDiagram-NNMJR3RB-K3HWMON6.js} +1 -1
  85. package/dist/graph/{wardley-7MLQ67FV-NV5HXTTC.js → wardley-7MLQ67FV-RRWOELC6.js} +1 -1
  86. package/dist/graph/{wardleyDiagram-S7YFUSEH-6D5BKXHM.js → wardleyDiagram-S7YFUSEH-DMMWKJEK.js} +1 -1
  87. package/dist/graph/{xychartDiagram-GGNKY7IX-6ET3ZM67.js → xychartDiagram-GGNKY7IX-K6MUQVXR.js} +1 -1
  88. package/package.json +10 -2
  89. package/dist/graph/chunk-3RNHDNP5.js +0 -1
  90. package/dist/graph/chunk-5UUEAHTN.js +0 -1
  91. package/dist/graph/chunk-6T55RVVR.js +0 -1
  92. package/dist/graph/elk-XV6XMXQE-AZ4HLCWI.js +0 -27
  93. package/dist/graph/flowDiagram-MALGAFMO-2R7EYAQI.js +0 -1
  94. package/dist/graph/infoDiagram-KBXO4MBG-7EHX2GQG.js +0 -2
  95. package/dist/graph/swimlanes-UMQ2AFYF-LDD74Q2S.js +0 -1
  96. package/dist/graph/swimlanesDiagram-OMPLPG4O-ZYULLJSU.js +0 -8
  97. /package/dist/graph/{chunk-GYT4IYBZ.js → chunk-RJFVWYCA.js} +0 -0
@@ -1,4 +1,4 @@
1
- import{a as Pe}from"./chunk-C6J4A356.js";import{a as xe}from"./chunk-ZMCB7VP2.js";import{C as Re}from"./chunk-K4I76XBX.js";import{j as Oe,l as ze,m as Be,n as Ae}from"./chunk-K2KLZU7M.js";import{b as ae,e as Ce}from"./chunk-JD7ZBJD2.js";import"./chunk-HOPPTA6H.js";import"./chunk-4QDE4SUK.js";import"./chunk-QCJUF4YA.js";import"./chunk-BBD5CEDC.js";import"./chunk-ISO77HML.js";import{b as De,c as Ie,d as Ne,f as Te,g as ve}from"./chunk-KU6GTEMS.js";import{a as we,f as _e}from"./chunk-QEEA3KYY.js";import"./chunk-OFZLK5G4.js";import{$ as ie,C as R,O as me,P as ye,U as Ee,a as ke,b as Le}from"./chunk-KT4VPQD5.js";import{b as m,d as Y}from"./chunk-JRSH5GNS.js";import{a as c}from"./chunk-GYT4IYBZ.js";import"./chunk-3RNHDNP5.js";var oe=(function(){var e=c(function(C,g,s,n){for(s=s||{},n=C.length;n--;s[C[n]]=g);return s},"o"),o=[1,15],l=[1,7],a=[1,13],h=[1,14],p=[1,19],t=[1,16],u=[1,17],x=[1,18],k=[8,30],b=[8,10,21,28,29,30,31,39,43,46],f=[1,23],L=[1,24],E=[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],_=[1,49],w={trace:c(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:c(function(g,s,n,d,y,r,K){var i=r.length-1;switch(y){case 4:d.getLogger().debug("Rule: separator (NL) ");break;case 5:d.getLogger().debug("Rule: separator (Space) ");break;case 6:d.getLogger().debug("Rule: separator (EOF) ");break;case 7:d.getLogger().debug("Rule: hierarchy: ",r[i-1]),d.setHierarchy(r[i-1]);break;case 8:d.getLogger().debug("Stop NL ");break;case 9:d.getLogger().debug("Stop EOF ");break;case 10:d.getLogger().debug("Stop NL2 ");break;case 11:d.getLogger().debug("Stop EOF2 ");break;case 12:d.getLogger().debug("Rule: statement: ",r[i]),typeof r[i].length=="number"?this.$=r[i]:this.$=[r[i]];break;case 13:d.getLogger().debug("Rule: statement #2: ",r[i-1]),this.$=[r[i-1]].concat(r[i]);break;case 14:d.getLogger().debug("Rule: link: ",r[i],g),this.$={edgeTypeStr:r[i],label:""};break;case 15:d.getLogger().debug("Rule: LABEL link: ",r[i-3],r[i-1],r[i]),this.$={edgeTypeStr:r[i],label:r[i-1]};break;case 18:let F=parseInt(r[i]),V=d.generateId();this.$={id:V,type:"space",label:"",width:F,children:[]};break;case 23:d.getLogger().debug("Rule: (nodeStatement link node) ",r[i-2],r[i-1],r[i]," typestr: ",r[i-1].edgeTypeStr);let j=d.edgeStrToEdgeData(r[i-1].edgeTypeStr),Z=d.edgeStrToEdgeStartData(r[i-1].edgeTypeStr),U=d.edgeStrToThickness(r[i-1].edgeTypeStr),Q=d.edgeStrToPattern(r[i-1].edgeTypeStr);this.$=[{id:r[i-2].id,label:r[i-2].label,type:r[i-2].type,directions:r[i-2].directions},{id:r[i-2].id+"-"+r[i].id,start:r[i-2].id,end:r[i].id,label:r[i-1].label,type:"edge",thickness:U,pattern:Q,directions:r[i].directions,arrowTypeEnd:j,arrowTypeStart:Z},{id:r[i].id,label:r[i].label,type:d.typeStr2Type(r[i].typeStr),directions:r[i].directions}];break;case 24:d.getLogger().debug("Rule: nodeStatement (abc88 node size) ",r[i-1],r[i]),this.$={id:r[i-1].id,label:r[i-1].label,type:d.typeStr2Type(r[i-1].typeStr),directions:r[i-1].directions,widthInColumns:parseInt(r[i],10)};break;case 25:d.getLogger().debug("Rule: nodeStatement (node) ",r[i]),this.$={id:r[i].id,label:r[i].label,type:d.typeStr2Type(r[i].typeStr),directions:r[i].directions,widthInColumns:1};break;case 26:d.getLogger().debug("APA123",this?this:"na"),d.getLogger().debug("COLUMNS: ",r[i]),this.$={type:"column-setting",columns:r[i]==="auto"?-1:parseInt(r[i])};break;case 27:d.getLogger().debug("Rule: id-block statement : ",r[i-2],r[i-1]);let D=d.generateId();this.$={...r[i-2],type:"composite",children:r[i-1]};break;case 28:d.getLogger().debug("Rule: blockStatement : ",r[i-2],r[i-1],r[i]);let B=d.generateId();this.$={id:B,type:"composite",label:"",children:r[i-1]};break;case 29:d.getLogger().debug("Rule: node (NODE_ID separator): ",r[i]),this.$={id:r[i]};break;case 30:d.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",r[i-1],r[i]),this.$={id:r[i-1],label:r[i].label,typeStr:r[i].typeStr,directions:r[i].directions};break;case 31:d.getLogger().debug("Rule: dirList: ",r[i]),this.$=[r[i]];break;case 32:d.getLogger().debug("Rule: dirList: ",r[i-1],r[i]),this.$=[r[i-1]].concat(r[i]);break;case 33:d.getLogger().debug("Rule: nodeShapeNLabel: ",r[i-2],r[i-1],r[i]),this.$={typeStr:r[i-2]+r[i],label:r[i-1]};break;case 34:d.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",r[i-3],r[i-2]," #3:",r[i-1],r[i]),this.$={typeStr:r[i-3]+r[i],label:r[i-2],directions:r[i-1]};break;case 35:case 36:this.$={type:"classDef",id:r[i-1].trim(),css:r[i].trim()};break;case 37:this.$={type:"applyClass",id:r[i-1].trim(),styleClass:r[i].trim()};break;case 38:this.$={type:"applyStyles",id:r[i-1].trim(),stylesStr:r[i].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:o,11:3,13:4,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:p,39:t,43:u,46:x},{8:[1,20]},e(k,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:o,21:l,28:a,29:h,31:p,39:t,43:u,46:x}),e(b,[2,16],{14:22,15:f,16:L}),e(b,[2,17]),e(b,[2,18]),e(b,[2,19]),e(b,[2,20]),e(b,[2,21]),e(b,[2,22]),e(E,[2,25],{27:[1,25]}),e(b,[2,26]),{19:26,26:12,31:p},{10:o,11:27,13:4,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:p,39:t,43:u,46:x},{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(k,[2,13]),{26:35,31:p},{31:[2,14]},{17:[1,36]},e(E,[2,24]),{10:o,11:37,13:4,14:22,15:f,16:L,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:p,39:t,43:u,46:x},{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(E,[2,23]),{18:[1,45]},{30:[1,46]},e(b,[2,28]),e(b,[2,35]),e(b,[2,36]),e(b,[2,37]),e(b,[2,38]),{36:[1,47]},{33:48,34:_},{15:[1,50]},e(b,[2,27]),e(S,[2,33]),{38:[1,51]},{33:52,34:_,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:c(function(g,s){if(s.recoverable)this.trace(g);else{var n=new Error(g);throw n.hash=s,n}},"parseError"),parse:c(function(g){var s=this,n=[0],d=[],y=[null],r=[],K=this.table,i="",F=0,V=0,j=0,Z=2,U=1,Q=r.slice.call(arguments,1),D=Object.create(this.lexer),B={yy:{}};for(var $ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$)&&(B.yy[$]=this.yy[$]);D.setInput(g,B.yy),B.yy.lexer=D,B.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var ee=D.yylloc;r.push(ee);var rt=D.options&&D.options.ranges;typeof B.yy.parseError=="function"?this.parseError=B.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function st(T){n.length=n.length-2*T,y.length=y.length-T,r.length=r.length-T}c(st,"popStack");function be(){var T;return T=d.pop()||D.lex()||U,typeof T!="number"&&(T instanceof Array&&(d=T,T=d.pop()),T=s.symbols_[T]||T),T}c(be,"lex");for(var N,te,P,O,Ot,re,M={},H,A,Se,X;;){if(P=n[n.length-1],this.defaultActions[P]?O=this.defaultActions[P]:((N===null||typeof N>"u")&&(N=be()),O=K[P]&&K[P][N]),typeof O>"u"||!O.length||!O[0]){var se="";X=[];for(H in K[P])this.terminals_[H]&&H>Z&&X.push("'"+this.terminals_[H]+"'");D.showPosition?se="Parse error on line "+(F+1)+`:
1
+ import{a as Pe}from"./chunk-N44XPVUD.js";import{a as xe}from"./chunk-WQHTQAFY.js";import{C as Re}from"./chunk-K4I76XBX.js";import{i as Oe,k as ze,l as Be,m as Ae}from"./chunk-7JQUFVT4.js";import{b as ae,e as Ce}from"./chunk-NDAMZVXQ.js";import"./chunk-BOXAA5AP.js";import"./chunk-4QDE4SUK.js";import"./chunk-DIDARDST.js";import"./chunk-7LSMJ4VU.js";import"./chunk-5N2X2DXU.js";import{b as De,c as Ie,d as Ne,f as Te,g as ve}from"./chunk-3CJU2RDX.js";import{a as we,f as _e}from"./chunk-QLS7NIYR.js";import"./chunk-ICJPOOXG.js";import{$ as ie,C as R,O as me,P as ye,U as Ee,a as ke,b as Le}from"./chunk-IVZHB6RS.js";import{b as m,d as Y}from"./chunk-QQIGL7OP.js";import{a as c}from"./chunk-RJFVWYCA.js";import"./chunk-SQE76S5B.js";var oe=(function(){var e=c(function(C,g,s,n){for(s=s||{},n=C.length;n--;s[C[n]]=g);return s},"o"),o=[1,15],l=[1,7],a=[1,13],h=[1,14],p=[1,19],t=[1,16],u=[1,17],x=[1,18],k=[8,30],b=[8,10,21,28,29,30,31,39,43,46],f=[1,23],L=[1,24],E=[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],_=[1,49],w={trace:c(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:c(function(g,s,n,d,y,r,K){var i=r.length-1;switch(y){case 4:d.getLogger().debug("Rule: separator (NL) ");break;case 5:d.getLogger().debug("Rule: separator (Space) ");break;case 6:d.getLogger().debug("Rule: separator (EOF) ");break;case 7:d.getLogger().debug("Rule: hierarchy: ",r[i-1]),d.setHierarchy(r[i-1]);break;case 8:d.getLogger().debug("Stop NL ");break;case 9:d.getLogger().debug("Stop EOF ");break;case 10:d.getLogger().debug("Stop NL2 ");break;case 11:d.getLogger().debug("Stop EOF2 ");break;case 12:d.getLogger().debug("Rule: statement: ",r[i]),typeof r[i].length=="number"?this.$=r[i]:this.$=[r[i]];break;case 13:d.getLogger().debug("Rule: statement #2: ",r[i-1]),this.$=[r[i-1]].concat(r[i]);break;case 14:d.getLogger().debug("Rule: link: ",r[i],g),this.$={edgeTypeStr:r[i],label:""};break;case 15:d.getLogger().debug("Rule: LABEL link: ",r[i-3],r[i-1],r[i]),this.$={edgeTypeStr:r[i],label:r[i-1]};break;case 18:let F=parseInt(r[i]),V=d.generateId();this.$={id:V,type:"space",label:"",width:F,children:[]};break;case 23:d.getLogger().debug("Rule: (nodeStatement link node) ",r[i-2],r[i-1],r[i]," typestr: ",r[i-1].edgeTypeStr);let j=d.edgeStrToEdgeData(r[i-1].edgeTypeStr),Z=d.edgeStrToEdgeStartData(r[i-1].edgeTypeStr),U=d.edgeStrToThickness(r[i-1].edgeTypeStr),Q=d.edgeStrToPattern(r[i-1].edgeTypeStr);this.$=[{id:r[i-2].id,label:r[i-2].label,type:r[i-2].type,directions:r[i-2].directions},{id:r[i-2].id+"-"+r[i].id,start:r[i-2].id,end:r[i].id,label:r[i-1].label,type:"edge",thickness:U,pattern:Q,directions:r[i].directions,arrowTypeEnd:j,arrowTypeStart:Z},{id:r[i].id,label:r[i].label,type:d.typeStr2Type(r[i].typeStr),directions:r[i].directions}];break;case 24:d.getLogger().debug("Rule: nodeStatement (abc88 node size) ",r[i-1],r[i]),this.$={id:r[i-1].id,label:r[i-1].label,type:d.typeStr2Type(r[i-1].typeStr),directions:r[i-1].directions,widthInColumns:parseInt(r[i],10)};break;case 25:d.getLogger().debug("Rule: nodeStatement (node) ",r[i]),this.$={id:r[i].id,label:r[i].label,type:d.typeStr2Type(r[i].typeStr),directions:r[i].directions,widthInColumns:1};break;case 26:d.getLogger().debug("APA123",this?this:"na"),d.getLogger().debug("COLUMNS: ",r[i]),this.$={type:"column-setting",columns:r[i]==="auto"?-1:parseInt(r[i])};break;case 27:d.getLogger().debug("Rule: id-block statement : ",r[i-2],r[i-1]);let D=d.generateId();this.$={...r[i-2],type:"composite",children:r[i-1]};break;case 28:d.getLogger().debug("Rule: blockStatement : ",r[i-2],r[i-1],r[i]);let B=d.generateId();this.$={id:B,type:"composite",label:"",children:r[i-1]};break;case 29:d.getLogger().debug("Rule: node (NODE_ID separator): ",r[i]),this.$={id:r[i]};break;case 30:d.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",r[i-1],r[i]),this.$={id:r[i-1],label:r[i].label,typeStr:r[i].typeStr,directions:r[i].directions};break;case 31:d.getLogger().debug("Rule: dirList: ",r[i]),this.$=[r[i]];break;case 32:d.getLogger().debug("Rule: dirList: ",r[i-1],r[i]),this.$=[r[i-1]].concat(r[i]);break;case 33:d.getLogger().debug("Rule: nodeShapeNLabel: ",r[i-2],r[i-1],r[i]),this.$={typeStr:r[i-2]+r[i],label:r[i-1]};break;case 34:d.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",r[i-3],r[i-2]," #3:",r[i-1],r[i]),this.$={typeStr:r[i-3]+r[i],label:r[i-2],directions:r[i-1]};break;case 35:case 36:this.$={type:"classDef",id:r[i-1].trim(),css:r[i].trim()};break;case 37:this.$={type:"applyClass",id:r[i-1].trim(),styleClass:r[i].trim()};break;case 38:this.$={type:"applyStyles",id:r[i-1].trim(),stylesStr:r[i].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:o,11:3,13:4,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:p,39:t,43:u,46:x},{8:[1,20]},e(k,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:o,21:l,28:a,29:h,31:p,39:t,43:u,46:x}),e(b,[2,16],{14:22,15:f,16:L}),e(b,[2,17]),e(b,[2,18]),e(b,[2,19]),e(b,[2,20]),e(b,[2,21]),e(b,[2,22]),e(E,[2,25],{27:[1,25]}),e(b,[2,26]),{19:26,26:12,31:p},{10:o,11:27,13:4,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:p,39:t,43:u,46:x},{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(k,[2,13]),{26:35,31:p},{31:[2,14]},{17:[1,36]},e(E,[2,24]),{10:o,11:37,13:4,14:22,15:f,16:L,19:5,20:6,21:l,22:8,23:9,24:10,25:11,26:12,28:a,29:h,31:p,39:t,43:u,46:x},{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(E,[2,23]),{18:[1,45]},{30:[1,46]},e(b,[2,28]),e(b,[2,35]),e(b,[2,36]),e(b,[2,37]),e(b,[2,38]),{36:[1,47]},{33:48,34:_},{15:[1,50]},e(b,[2,27]),e(S,[2,33]),{38:[1,51]},{33:52,34:_,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:c(function(g,s){if(s.recoverable)this.trace(g);else{var n=new Error(g);throw n.hash=s,n}},"parseError"),parse:c(function(g){var s=this,n=[0],d=[],y=[null],r=[],K=this.table,i="",F=0,V=0,j=0,Z=2,U=1,Q=r.slice.call(arguments,1),D=Object.create(this.lexer),B={yy:{}};for(var $ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$)&&(B.yy[$]=this.yy[$]);D.setInput(g,B.yy),B.yy.lexer=D,B.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var ee=D.yylloc;r.push(ee);var rt=D.options&&D.options.ranges;typeof B.yy.parseError=="function"?this.parseError=B.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function st(T){n.length=n.length-2*T,y.length=y.length-T,r.length=r.length-T}c(st,"popStack");function be(){var T;return T=d.pop()||D.lex()||U,typeof T!="number"&&(T instanceof Array&&(d=T,T=d.pop()),T=s.symbols_[T]||T),T}c(be,"lex");for(var N,te,P,O,Ot,re,M={},H,A,Se,X;;){if(P=n[n.length-1],this.defaultActions[P]?O=this.defaultActions[P]:((N===null||typeof N>"u")&&(N=be()),O=K[P]&&K[P][N]),typeof O>"u"||!O.length||!O[0]){var se="";X=[];for(H in K[P])this.terminals_[H]&&H>Z&&X.push("'"+this.terminals_[H]+"'");D.showPosition?se="Parse error on line "+(F+1)+`:
2
2
  `+D.showPosition()+`
3
3
  Expecting `+X.join(", ")+", got '"+(this.terminals_[N]||N)+"'":se="Parse error on line "+(F+1)+": Unexpected "+(N==U?"end of input":"'"+(this.terminals_[N]||N)+"'"),this.parseError(se,{text:D.match,token:this.terminals_[N]||N,line:D.yylineno,loc:ee,expected:X})}if(O[0]instanceof Array&&O.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+N);switch(O[0]){case 1:n.push(N),y.push(D.yytext),r.push(D.yylloc),n.push(O[1]),N=null,te?(N=te,te=null):(V=D.yyleng,i=D.yytext,F=D.yylineno,ee=D.yylloc,j>0&&j--);break;case 2:if(A=this.productions_[O[1]][1],M.$=y[y.length-A],M._$={first_line:r[r.length-(A||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(A||1)].first_column,last_column:r[r.length-1].last_column},rt&&(M._$.range=[r[r.length-(A||1)].range[0],r[r.length-1].range[1]]),re=this.performAction.apply(M,[i,V,F,B.yy,O[1],y,r].concat(Q)),typeof re<"u")return re;A&&(n=n.slice(0,-1*A*2),y=y.slice(0,-1*A),r=r.slice(0,-1*A)),n.push(this.productions_[O[1]][0]),y.push(M.$),r.push(M._$),Se=K[n[n.length-2]][n[n.length-1]],n.push(Se);break;case 3:return!0}}return!0},"parse")},I=(function(){var C={EOF:1,parseError:c(function(s,n){if(this.yy.parser)this.yy.parser.parseError(s,n);else throw new Error(s)},"parseError"),setInput:c(function(g,s){return this.yy=s||this.yy||{},this._input=g,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:c(function(){var g=this._input[0];this.yytext+=g,this.yyleng++,this.offset++,this.match+=g,this.matched+=g;var s=g.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),g},"input"),unput:c(function(g){var s=g.length,n=g.split(/(?:\r\n?|\n)/g);this._input=g+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var y=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===d.length?this.yylloc.first_column:0)+d[d.length-n.length].length-n[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:c(function(){return this._more=!0,this},"more"),reject:c(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:c(function(g){this.unput(this.match.slice(g))},"less"),pastInput:c(function(){var g=this.matched.substr(0,this.matched.length-this.match.length);return(g.length>20?"...":"")+g.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:c(function(){var g=this.match;return g.length<20&&(g+=this._input.substr(0,20-g.length)),(g.substr(0,20)+(g.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:c(function(){var g=this.pastInput(),s=new Array(g.length+1).join("-");return g+this.upcomingInput()+`
@@ -1 +1 @@
1
- import"./chunk-GYT4IYBZ.js";import"./chunk-3RNHDNP5.js";var r={prefix:"bpmn",height:24,width:24,icons:{message:{body:'<path fill="none" stroke="currentColor" stroke-width="1.6" d="M3 6h18v12H3z"/><path class="bpmn-glyph-fold" fill="none" stroke="currentColor" stroke-width="1.6" d="m3 6 9 7 9-7"/>'},timer:{body:'<circle cx="12" cy="12" r="9" fill="none" stroke="currentColor" stroke-width="1.6"/><path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" d="M12 7v5l3.5 2.5"/><path stroke="currentColor" stroke-width="1.2" d="M12 3v1.5M21 12h-1.5M12 21v-1.5M3 12h1.5"/>'},error:{body:'<path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round" d="M4 21 9.5 6 13 12.5 20 4 14.5 19 11 12.5Z"/>'},escalation:{body:'<path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linejoin="round" d="m12 3 8 18-8-7-8 7z"/>'},signal:{body:'<path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linejoin="round" d="M12 4 22 20H2z"/>'},conditional:{body:'<path fill="none" stroke="currentColor" stroke-width="1.6" d="M4 4h16v16H4z"/><path stroke="currentColor" stroke-width="1.6" stroke-linecap="round" d="M7 9h10M7 12.5h10M7 16h10"/>'},link:{body:'<path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linejoin="round" d="M3 9h10V5l8 7-8 7v-4H3z"/>'},compensation:{body:'<path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round" d="M11 6 3 12l8 6zM21 6l-8 6 8 6z"/>'},cancel:{body:'<path stroke="currentColor" stroke-width="2.2" stroke-linecap="round" d="m5 5 14 14M19 5 5 19"/>'},terminate:{body:'<circle cx="12" cy="12" r="9" fill="currentColor"/>'},multiple:{body:'<path fill="none" stroke="currentColor" stroke-width="1.7" stroke-linejoin="round" d="m12 3 8.5 6.2-3.2 10H6.7l-3.2-10z"/>'},user:{body:'<circle cx="12" cy="8" r="4" fill="none" stroke="currentColor" stroke-width="1.7"/><path fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" d="M4.5 21a7.5 7.5 0 0 1 15 0"/>'},service:{body:'<path fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" d="m20.2 14.3-2 .6a6.6 6.6 0 0 1-1 1.7l.6 2-2.4 1.4-1.5-1.5a6.6 6.6 0 0 1-2 0l-1.5 1.5-2.4-1.4.6-2a6.6 6.6 0 0 1-1-1.7l-2-.6v-2.8l2-.6a6.6 6.6 0 0 1 1-1.7l-.6-2 2.4-1.4 1.5 1.5a6.6 6.6 0 0 1 2 0l1.5-1.5 2.4 1.4-.6 2a6.6 6.6 0 0 1 1 1.7l2 .6z"/><circle cx="12" cy="12.9" r="2.6" fill="none" stroke="currentColor" stroke-width="1.5"/>'},script:{body:'<path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round" d="M8 3h9a2.5 2.5 0 0 0-2.5 2.5v13A2.5 2.5 0 0 1 12 21H3a2.5 2.5 0 0 0 2.5-2.5v-13A2.5 2.5 0 0 1 8 3Z"/><path stroke="currentColor" stroke-width="1.4" stroke-linecap="round" d="M6.5 8h6M6.5 11.5h6M6.5 15h4"/>'},manual:{body:'<path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round" d="M8 11V5.5a1.8 1.8 0 0 1 3.5 0V10m0-.5a1.8 1.8 0 0 1 3.5 0V11m0-.5a1.8 1.8 0 0 1 3.5 0V16a5 5 0 0 1-5 5h-2a5 5 0 0 1-5-5v-4.5a1.8 1.8 0 0 1 1.5-1.8z"/>'},receive:{body:'<path fill="none" stroke="currentColor" stroke-width="1.6" d="M3 6h18v12H3z"/><path fill="none" stroke="currentColor" stroke-width="1.6" d="m3 6 9 7 9-7"/>'},send:{body:'<path fill="currentColor" d="M3 6h18v12H3z" opacity=".18"/><path fill="none" stroke="currentColor" stroke-width="1.6" d="M3 6h18v12H3z"/><path fill="none" stroke="currentColor" stroke-width="1.6" d="m3 6 9 7 9-7"/>'},rule:{body:'<path fill="none" stroke="currentColor" stroke-width="1.6" d="M3 5h18v14H3z"/><path stroke="currentColor" stroke-width="1.4" d="M3 9h18M3 13h18M8 9v10"/>'},loop:{body:'<path fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" d="M20 12a8 8 0 1 1-2.7-6"/><path fill="currentColor" d="M20 3.2v5.4h-5.4z"/>'},parallel:{body:'<path stroke="currentColor" stroke-width="2.4" stroke-linecap="round" d="M6 4v16M12 4v16M18 4v16"/>'},sequential:{body:'<path stroke="currentColor" stroke-width="2.4" stroke-linecap="round" d="M4 6h16M4 12h16M4 18h16"/>'},"ad-hoc":{body:'<path fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" d="M3 15c2.5-6 6-6 8.5 0S18 21 21 15"/>'},subprocess:{body:'<path fill="none" stroke="currentColor" stroke-width="1.6" d="M3 3h18v18H3z"/><path stroke="currentColor" stroke-width="1.8" stroke-linecap="round" d="M12 7v10M7 12h10"/>'},exclusive:{body:'<path stroke="currentColor" stroke-width="2.6" stroke-linecap="round" d="m6 6 12 12M18 6 6 18"/>'},"parallel-multiple":{body:'<path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" d="M12 5v14M5 12h14"/>'},inclusive:{body:'<circle cx="12" cy="12" r="7.5" fill="none" stroke="currentColor" stroke-width="2.4"/>'},"parallel-gateway":{body:'<path stroke="currentColor" stroke-width="2.6" stroke-linecap="round" d="M12 4v16M4 12h16"/>'},"event-based":{body:'<circle cx="12" cy="12" r="9" fill="none" stroke="currentColor" stroke-width="1.3"/><circle cx="12" cy="12" r="6.8" fill="none" stroke="currentColor" stroke-width="1.3"/><path fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" d="m12 7.4 4 2.9-1.5 4.7h-5L8 10.3z"/>'},complex:{body:'<path stroke="currentColor" stroke-width="2.2" stroke-linecap="round" d="M12 3v18M3 12h18M5.6 5.6l12.8 12.8M18.4 5.6 5.6 18.4"/>'}}};export{r as bpmnIcons};
1
+ import"./chunk-RJFVWYCA.js";import"./chunk-SQE76S5B.js";var r={prefix:"bpmn",height:24,width:24,icons:{message:{body:'<path fill="none" stroke="currentColor" stroke-width="1.6" d="M3 6h18v12H3z"/><path class="bpmn-glyph-fold" fill="none" stroke="currentColor" stroke-width="1.6" d="m3 6 9 7 9-7"/>'},timer:{body:'<circle cx="12" cy="12" r="9" fill="none" stroke="currentColor" stroke-width="1.6"/><path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" d="M12 7v5l3.5 2.5"/><path stroke="currentColor" stroke-width="1.2" d="M12 3v1.5M21 12h-1.5M12 21v-1.5M3 12h1.5"/>'},error:{body:'<path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round" d="M4 21 9.5 6 13 12.5 20 4 14.5 19 11 12.5Z"/>'},escalation:{body:'<path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linejoin="round" d="m12 3 8 18-8-7-8 7z"/>'},signal:{body:'<path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linejoin="round" d="M12 4 22 20H2z"/>'},conditional:{body:'<path fill="none" stroke="currentColor" stroke-width="1.6" d="M4 4h16v16H4z"/><path stroke="currentColor" stroke-width="1.6" stroke-linecap="round" d="M7 9h10M7 12.5h10M7 16h10"/>'},link:{body:'<path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linejoin="round" d="M3 9h10V5l8 7-8 7v-4H3z"/>'},compensation:{body:'<path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round" d="M11 6 3 12l8 6zM21 6l-8 6 8 6z"/>'},cancel:{body:'<path stroke="currentColor" stroke-width="2.2" stroke-linecap="round" d="m5 5 14 14M19 5 5 19"/>'},terminate:{body:'<circle cx="12" cy="12" r="9" fill="currentColor"/>'},multiple:{body:'<path fill="none" stroke="currentColor" stroke-width="1.7" stroke-linejoin="round" d="m12 3 8.5 6.2-3.2 10H6.7l-3.2-10z"/>'},user:{body:'<circle cx="12" cy="8" r="4" fill="none" stroke="currentColor" stroke-width="1.7"/><path fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" d="M4.5 21a7.5 7.5 0 0 1 15 0"/>'},service:{body:'<path fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" d="m20.2 14.3-2 .6a6.6 6.6 0 0 1-1 1.7l.6 2-2.4 1.4-1.5-1.5a6.6 6.6 0 0 1-2 0l-1.5 1.5-2.4-1.4.6-2a6.6 6.6 0 0 1-1-1.7l-2-.6v-2.8l2-.6a6.6 6.6 0 0 1 1-1.7l-.6-2 2.4-1.4 1.5 1.5a6.6 6.6 0 0 1 2 0l1.5-1.5 2.4 1.4-.6 2a6.6 6.6 0 0 1 1 1.7l2 .6z"/><circle cx="12" cy="12.9" r="2.6" fill="none" stroke="currentColor" stroke-width="1.5"/>'},script:{body:'<path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round" d="M8 3h9a2.5 2.5 0 0 0-2.5 2.5v13A2.5 2.5 0 0 1 12 21H3a2.5 2.5 0 0 0 2.5-2.5v-13A2.5 2.5 0 0 1 8 3Z"/><path stroke="currentColor" stroke-width="1.4" stroke-linecap="round" d="M6.5 8h6M6.5 11.5h6M6.5 15h4"/>'},manual:{body:'<path fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round" d="M8 11V5.5a1.8 1.8 0 0 1 3.5 0V10m0-.5a1.8 1.8 0 0 1 3.5 0V11m0-.5a1.8 1.8 0 0 1 3.5 0V16a5 5 0 0 1-5 5h-2a5 5 0 0 1-5-5v-4.5a1.8 1.8 0 0 1 1.5-1.8z"/>'},receive:{body:'<path fill="none" stroke="currentColor" stroke-width="1.6" d="M3 6h18v12H3z"/><path fill="none" stroke="currentColor" stroke-width="1.6" d="m3 6 9 7 9-7"/>'},send:{body:'<path fill="currentColor" d="M3 6h18v12H3z" opacity=".18"/><path fill="none" stroke="currentColor" stroke-width="1.6" d="M3 6h18v12H3z"/><path fill="none" stroke="currentColor" stroke-width="1.6" d="m3 6 9 7 9-7"/>'},rule:{body:'<path fill="none" stroke="currentColor" stroke-width="1.6" d="M3 5h18v14H3z"/><path stroke="currentColor" stroke-width="1.4" d="M3 9h18M3 13h18M8 9v10"/>'},loop:{body:'<path fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" d="M20 12a8 8 0 1 1-2.7-6"/><path fill="currentColor" d="M20 3.2v5.4h-5.4z"/>'},parallel:{body:'<path stroke="currentColor" stroke-width="2.4" stroke-linecap="round" d="M6 4v16M12 4v16M18 4v16"/>'},sequential:{body:'<path stroke="currentColor" stroke-width="2.4" stroke-linecap="round" d="M4 6h16M4 12h16M4 18h16"/>'},"ad-hoc":{body:'<path fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" d="M3 15c2.5-6 6-6 8.5 0S18 21 21 15"/>'},subprocess:{body:'<path fill="none" stroke="currentColor" stroke-width="1.6" d="M3 3h18v18H3z"/><path stroke="currentColor" stroke-width="1.8" stroke-linecap="round" d="M12 7v10M7 12h10"/>'},exclusive:{body:'<path stroke="currentColor" stroke-width="2.6" stroke-linecap="round" d="m6 6 12 12M18 6 6 18"/>'},"parallel-multiple":{body:'<path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" d="M12 5v14M5 12h14"/>'},inclusive:{body:'<circle cx="12" cy="12" r="7.5" fill="none" stroke="currentColor" stroke-width="2.4"/>'},"parallel-gateway":{body:'<path stroke="currentColor" stroke-width="2.6" stroke-linecap="round" d="M12 4v16M4 12h16"/>'},"event-based":{body:'<circle cx="12" cy="12" r="9" fill="none" stroke="currentColor" stroke-width="1.3"/><circle cx="12" cy="12" r="6.8" fill="none" stroke="currentColor" stroke-width="1.3"/><path fill="none" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" d="m12 7.4 4 2.9-1.5 4.7h-5L8 10.3z"/>'},complex:{body:'<path stroke="currentColor" stroke-width="2.2" stroke-linecap="round" d="M12 3v18M3 12h18M5.6 5.6l12.8 12.8M18.4 5.6 5.6 18.4"/>'}}};export{r as bpmnIcons};
@@ -1,4 +1,4 @@
1
- import{a as Se}from"./chunk-I3DMZIHV.js";import{d as ke,g as Ee}from"./chunk-HOPPTA6H.js";import"./chunk-4QDE4SUK.js";import"./chunk-QCJUF4YA.js";import"./chunk-BBD5CEDC.js";import"./chunk-ISO77HML.js";import"./chunk-KU6GTEMS.js";import{i as ve,j as ee,k as wt}from"./chunk-QEEA3KYY.js";import"./chunk-OFZLK5G4.js";import{$ as St,I as te,O as Yt,P as _e,V as be,W as me,X as ge,Y as xe,o as ye}from"./chunk-KT4VPQD5.js";import{b as $t,d as Ft}from"./chunk-JRSH5GNS.js";import{a as d}from"./chunk-GYT4IYBZ.js";import"./chunk-3RNHDNP5.js";var jt=(function(){var t=d(function(_t,m,x,k){for(x=x||{},k=_t.length;k--;x[_t[k]]=m);return x},"o"),e=[1,24],s=[1,25],a=[1,26],u=[1,27],i=[1,28],n=[1,63],l=[1,64],r=[1,65],h=[1,66],y=[1,67],p=[1,68],b=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],M=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],J=[1,41],Z=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],rt=[1,47],st=[1,48],at=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],Ct=[14,42],Xt=[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],Ot=[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],E=[1,82],S=[1,83],T=[1,84],C=[1,85],R=[12,14,42],ce=[12,14,33,42],It=[12,14,33,42,76,77,79,80],xt=[12,33],qt=[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],Ht={trace:d(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:d(function(m,x,k,_,D,o,Pt){var f=o.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(o[f-3]);break;case 19:_.setTitle(o[f].substring(6)),this.$=o[f].substring(6);break;case 20:_.setAccDescription(o[f].substring(15)),this.$=o[f].substring(15);break;case 21:this.$=o[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=o[f].trim(),_.setAccDescription(this.$);break;case 28:o[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 29:o[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 30:_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 31:o[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...o[f]),this.$=o[f];break;case 32:_.addDeploymentNode("node",...o[f]),this.$=o[f];break;case 33:_.addDeploymentNode("nodeL",...o[f]),this.$=o[f];break;case 34:_.addDeploymentNode("nodeR",...o[f]),this.$=o[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...o[f]),this.$=o[f];break;case 40:_.addPersonOrSystem("external_person",...o[f]),this.$=o[f];break;case 41:_.addPersonOrSystem("system",...o[f]),this.$=o[f];break;case 42:_.addPersonOrSystem("system_db",...o[f]),this.$=o[f];break;case 43:_.addPersonOrSystem("system_queue",...o[f]),this.$=o[f];break;case 44:_.addPersonOrSystem("external_system",...o[f]),this.$=o[f];break;case 45:_.addPersonOrSystem("external_system_db",...o[f]),this.$=o[f];break;case 46:_.addPersonOrSystem("external_system_queue",...o[f]),this.$=o[f];break;case 47:_.addContainer("container",...o[f]),this.$=o[f];break;case 48:_.addContainer("container_db",...o[f]),this.$=o[f];break;case 49:_.addContainer("container_queue",...o[f]),this.$=o[f];break;case 50:_.addContainer("external_container",...o[f]),this.$=o[f];break;case 51:_.addContainer("external_container_db",...o[f]),this.$=o[f];break;case 52:_.addContainer("external_container_queue",...o[f]),this.$=o[f];break;case 53:_.addComponent("component",...o[f]),this.$=o[f];break;case 54:_.addComponent("component_db",...o[f]),this.$=o[f];break;case 55:_.addComponent("component_queue",...o[f]),this.$=o[f];break;case 56:_.addComponent("external_component",...o[f]),this.$=o[f];break;case 57:_.addComponent("external_component_db",...o[f]),this.$=o[f];break;case 58:_.addComponent("external_component_queue",...o[f]),this.$=o[f];break;case 60:_.addRel("rel",...o[f]),this.$=o[f];break;case 61:_.addRel("birel",...o[f]),this.$=o[f];break;case 62:_.addRel("rel_u",...o[f]),this.$=o[f];break;case 63:_.addRel("rel_d",...o[f]),this.$=o[f];break;case 64:_.addRel("rel_l",...o[f]),this.$=o[f];break;case 65:_.addRel("rel_r",...o[f]),this.$=o[f];break;case 66:_.addRel("rel_b",...o[f]),this.$=o[f];break;case 67:o[f].splice(0,1),_.addRel("rel",...o[f]),this.$=o[f];break;case 68:_.updateElStyle("update_el_style",...o[f]),this.$=o[f];break;case 69:_.updateRelStyle("update_rel_style",...o[f]),this.$=o[f];break;case 70:_.updateLayoutConfig("update_layout_config",...o[f]),this.$=o[f];break;case 71:this.$=[o[f]];break;case 72:o[f].unshift(o[f-1]),this.$=o[f];break;case 73:case 75:this.$=o[f].trim();break;case 74:let vt={};vt[o[f-1].trim()]=o[f].trim(),this.$=vt;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:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:p,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:p,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:p,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:p,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:p,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(Ct,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:r,38:h,39:y,40:p,41:b,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Ct,[2,14]),t(Xt,[2,16],{12:[1,76]}),t(Ct,[2,36],{12:[1,77]}),t(Ot,[2,19]),t(Ot,[2,20]),{25:[1,78]},{27:[1,79]},t(Ot,[2,23]),{35:80,75:81,76:E,77:S,79:T,80:C},{35:86,75:81,76:E,77:S,79:T,80:C},{35:87,75:81,76:E,77:S,79:T,80:C},{35:88,75:81,76:E,77:S,79:T,80:C},{35:89,75:81,76:E,77:S,79:T,80:C},{35:90,75:81,76:E,77:S,79:T,80:C},{35:91,75:81,76:E,77:S,79:T,80:C},{35:92,75:81,76:E,77:S,79:T,80:C},{35:93,75:81,76:E,77:S,79:T,80:C},{35:94,75:81,76:E,77:S,79:T,80:C},{35:95,75:81,76:E,77:S,79:T,80:C},{35:96,75:81,76:E,77:S,79:T,80:C},{35:97,75:81,76:E,77:S,79:T,80:C},{35:98,75:81,76:E,77:S,79:T,80:C},{35:99,75:81,76:E,77:S,79:T,80:C},{35:100,75:81,76:E,77:S,79:T,80:C},{35:101,75:81,76:E,77:S,79:T,80:C},{35:102,75:81,76:E,77:S,79:T,80:C},{35:103,75:81,76:E,77:S,79:T,80:C},{35:104,75:81,76:E,77:S,79:T,80:C},t(R,[2,59]),{35:105,75:81,76:E,77:S,79:T,80:C},{35:106,75:81,76:E,77:S,79:T,80:C},{35:107,75:81,76:E,77:S,79:T,80:C},{35:108,75:81,76:E,77:S,79:T,80:C},{35:109,75:81,76:E,77:S,79:T,80:C},{35:110,75:81,76:E,77:S,79:T,80:C},{35:111,75:81,76:E,77:S,79:T,80:C},{35:112,75:81,76:E,77:S,79:T,80:C},{35:113,75:81,76:E,77:S,79:T,80:C},{35:114,75:81,76:E,77:S,79:T,80:C},{35:115,75:81,76:E,77:S,79:T,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:p,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:E,77:S,79:T,80:C},{35:120,75:81,76:E,77:S,79:T,80:C},{35:121,75:81,76:E,77:S,79:T,80:C},{35:122,75:81,76:E,77:S,79:T,80:C},{35:123,75:81,76:E,77:S,79:T,80:C},{35:124,75:81,76:E,77:S,79:T,80:C},{35:125,75:81,76:E,77:S,79:T,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(Ct,[2,15]),t(Xt,[2,17],{21:22,19:130,22:e,23:s,24:a,26:u,28:i}),t(Ct,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:s,24:a,26:u,28:i,34:n,36:l,37:r,38:h,39:y,40:p,41:b,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Ot,[2,21]),t(Ot,[2,22]),t(R,[2,39]),t(ce,[2,71],{75:81,35:132,76:E,77:S,79:T,80:C}),t(It,[2,73]),{78:[1,133]},t(It,[2,75]),t(It,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Xt,[2,18]),t(Ct,[2,38]),t(ce,[2,72]),t(It,[2,74]),t(R,[2,24]),t(R,[2,35]),t(qt,[2,25]),t(qt,[2,26],{12:[1,138]}),t(qt,[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:d(function(m,x){if(x.recoverable)this.trace(m);else{var k=new Error(m);throw k.hash=x,k}},"parseError"),parse:d(function(m){var x=this,k=[0],_=[],D=[null],o=[],Pt=this.table,f="",vt=0,ue=0,he=0,Ue=2,de=1,je=o.slice.call(arguments,1),A=Object.create(this.lexer),kt={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(kt.yy[Qt]=this.yy[Qt]);A.setInput(m,kt.yy),kt.yy.lexer=A,kt.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Kt=A.yylloc;o.push(Kt);var ze=A.options&&A.options.ranges;typeof kt.yy.parseError=="function"?this.parseError=kt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function We(B){k.length=k.length-2*B,D.length=D.length-B,o.length=o.length-B}d(We,"popStack");function pe(){var B;return B=_.pop()||A.lex()||de,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(pe,"lex");for(var L,Gt,Et,V,Q0,Jt,Rt={},Bt,z,fe,Vt;;){if(Et=k[k.length-1],this.defaultActions[Et]?V=this.defaultActions[Et]:((L===null||typeof L>"u")&&(L=pe()),V=Pt[Et]&&Pt[Et][L]),typeof V>"u"||!V.length||!V[0]){var Zt="";Vt=[];for(Bt in Pt[Et])this.terminals_[Bt]&&Bt>Ue&&Vt.push("'"+this.terminals_[Bt]+"'");A.showPosition?Zt="Parse error on line "+(vt+1)+`:
1
+ import{a as Se}from"./chunk-7ASYMKN2.js";import{d as ke,g as Ee}from"./chunk-BOXAA5AP.js";import"./chunk-4QDE4SUK.js";import"./chunk-DIDARDST.js";import"./chunk-7LSMJ4VU.js";import"./chunk-5N2X2DXU.js";import"./chunk-3CJU2RDX.js";import{i as ve,j as ee,k as wt}from"./chunk-QLS7NIYR.js";import"./chunk-ICJPOOXG.js";import{$ as St,I as te,O as Yt,P as _e,V as be,W as me,X as ge,Y as xe,o as ye}from"./chunk-IVZHB6RS.js";import{b as $t,d as Ft}from"./chunk-QQIGL7OP.js";import{a as d}from"./chunk-RJFVWYCA.js";import"./chunk-SQE76S5B.js";var jt=(function(){var t=d(function(_t,m,x,k){for(x=x||{},k=_t.length;k--;x[_t[k]]=m);return x},"o"),e=[1,24],s=[1,25],a=[1,26],u=[1,27],i=[1,28],n=[1,63],l=[1,64],r=[1,65],h=[1,66],y=[1,67],p=[1,68],b=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],M=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],J=[1,41],Z=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],rt=[1,47],st=[1,48],at=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],Ct=[14,42],Xt=[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],Ot=[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],E=[1,82],S=[1,83],T=[1,84],C=[1,85],R=[12,14,42],ce=[12,14,33,42],It=[12,14,33,42,76,77,79,80],xt=[12,33],qt=[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],Ht={trace:d(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:d(function(m,x,k,_,D,o,Pt){var f=o.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(o[f-3]);break;case 19:_.setTitle(o[f].substring(6)),this.$=o[f].substring(6);break;case 20:_.setAccDescription(o[f].substring(15)),this.$=o[f].substring(15);break;case 21:this.$=o[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=o[f].trim(),_.setAccDescription(this.$);break;case 28:o[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 29:o[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 30:_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 31:o[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...o[f]),this.$=o[f];break;case 32:_.addDeploymentNode("node",...o[f]),this.$=o[f];break;case 33:_.addDeploymentNode("nodeL",...o[f]),this.$=o[f];break;case 34:_.addDeploymentNode("nodeR",...o[f]),this.$=o[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...o[f]),this.$=o[f];break;case 40:_.addPersonOrSystem("external_person",...o[f]),this.$=o[f];break;case 41:_.addPersonOrSystem("system",...o[f]),this.$=o[f];break;case 42:_.addPersonOrSystem("system_db",...o[f]),this.$=o[f];break;case 43:_.addPersonOrSystem("system_queue",...o[f]),this.$=o[f];break;case 44:_.addPersonOrSystem("external_system",...o[f]),this.$=o[f];break;case 45:_.addPersonOrSystem("external_system_db",...o[f]),this.$=o[f];break;case 46:_.addPersonOrSystem("external_system_queue",...o[f]),this.$=o[f];break;case 47:_.addContainer("container",...o[f]),this.$=o[f];break;case 48:_.addContainer("container_db",...o[f]),this.$=o[f];break;case 49:_.addContainer("container_queue",...o[f]),this.$=o[f];break;case 50:_.addContainer("external_container",...o[f]),this.$=o[f];break;case 51:_.addContainer("external_container_db",...o[f]),this.$=o[f];break;case 52:_.addContainer("external_container_queue",...o[f]),this.$=o[f];break;case 53:_.addComponent("component",...o[f]),this.$=o[f];break;case 54:_.addComponent("component_db",...o[f]),this.$=o[f];break;case 55:_.addComponent("component_queue",...o[f]),this.$=o[f];break;case 56:_.addComponent("external_component",...o[f]),this.$=o[f];break;case 57:_.addComponent("external_component_db",...o[f]),this.$=o[f];break;case 58:_.addComponent("external_component_queue",...o[f]),this.$=o[f];break;case 60:_.addRel("rel",...o[f]),this.$=o[f];break;case 61:_.addRel("birel",...o[f]),this.$=o[f];break;case 62:_.addRel("rel_u",...o[f]),this.$=o[f];break;case 63:_.addRel("rel_d",...o[f]),this.$=o[f];break;case 64:_.addRel("rel_l",...o[f]),this.$=o[f];break;case 65:_.addRel("rel_r",...o[f]),this.$=o[f];break;case 66:_.addRel("rel_b",...o[f]),this.$=o[f];break;case 67:o[f].splice(0,1),_.addRel("rel",...o[f]),this.$=o[f];break;case 68:_.updateElStyle("update_el_style",...o[f]),this.$=o[f];break;case 69:_.updateRelStyle("update_rel_style",...o[f]),this.$=o[f];break;case 70:_.updateLayoutConfig("update_layout_config",...o[f]),this.$=o[f];break;case 71:this.$=[o[f]];break;case 72:o[f].unshift(o[f-1]),this.$=o[f];break;case 73:case 75:this.$=o[f].trim();break;case 74:let vt={};vt[o[f-1].trim()]=o[f].trim(),this.$=vt;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:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:p,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:p,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:p,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:p,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:s,24:a,26:u,28:i,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:p,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(Ct,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:r,38:h,39:y,40:p,41:b,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Ct,[2,14]),t(Xt,[2,16],{12:[1,76]}),t(Ct,[2,36],{12:[1,77]}),t(Ot,[2,19]),t(Ot,[2,20]),{25:[1,78]},{27:[1,79]},t(Ot,[2,23]),{35:80,75:81,76:E,77:S,79:T,80:C},{35:86,75:81,76:E,77:S,79:T,80:C},{35:87,75:81,76:E,77:S,79:T,80:C},{35:88,75:81,76:E,77:S,79:T,80:C},{35:89,75:81,76:E,77:S,79:T,80:C},{35:90,75:81,76:E,77:S,79:T,80:C},{35:91,75:81,76:E,77:S,79:T,80:C},{35:92,75:81,76:E,77:S,79:T,80:C},{35:93,75:81,76:E,77:S,79:T,80:C},{35:94,75:81,76:E,77:S,79:T,80:C},{35:95,75:81,76:E,77:S,79:T,80:C},{35:96,75:81,76:E,77:S,79:T,80:C},{35:97,75:81,76:E,77:S,79:T,80:C},{35:98,75:81,76:E,77:S,79:T,80:C},{35:99,75:81,76:E,77:S,79:T,80:C},{35:100,75:81,76:E,77:S,79:T,80:C},{35:101,75:81,76:E,77:S,79:T,80:C},{35:102,75:81,76:E,77:S,79:T,80:C},{35:103,75:81,76:E,77:S,79:T,80:C},{35:104,75:81,76:E,77:S,79:T,80:C},t(R,[2,59]),{35:105,75:81,76:E,77:S,79:T,80:C},{35:106,75:81,76:E,77:S,79:T,80:C},{35:107,75:81,76:E,77:S,79:T,80:C},{35:108,75:81,76:E,77:S,79:T,80:C},{35:109,75:81,76:E,77:S,79:T,80:C},{35:110,75:81,76:E,77:S,79:T,80:C},{35:111,75:81,76:E,77:S,79:T,80:C},{35:112,75:81,76:E,77:S,79:T,80:C},{35:113,75:81,76:E,77:S,79:T,80:C},{35:114,75:81,76:E,77:S,79:T,80:C},{35:115,75:81,76:E,77:S,79:T,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:r,38:h,39:y,40:p,41:b,43:23,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:E,77:S,79:T,80:C},{35:120,75:81,76:E,77:S,79:T,80:C},{35:121,75:81,76:E,77:S,79:T,80:C},{35:122,75:81,76:E,77:S,79:T,80:C},{35:123,75:81,76:E,77:S,79:T,80:C},{35:124,75:81,76:E,77:S,79:T,80:C},{35:125,75:81,76:E,77:S,79:T,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(Ct,[2,15]),t(Xt,[2,17],{21:22,19:130,22:e,23:s,24:a,26:u,28:i}),t(Ct,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:s,24:a,26:u,28:i,34:n,36:l,37:r,38:h,39:y,40:p,41:b,44:v,45:w,46:N,47:O,48:P,49:M,50:X,51:q,52:H,53:Q,54:K,55:G,56:J,57:Z,58:$,59:tt,60:et,61:nt,62:rt,63:st,64:at,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Ot,[2,21]),t(Ot,[2,22]),t(R,[2,39]),t(ce,[2,71],{75:81,35:132,76:E,77:S,79:T,80:C}),t(It,[2,73]),{78:[1,133]},t(It,[2,75]),t(It,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Xt,[2,18]),t(Ct,[2,38]),t(ce,[2,72]),t(It,[2,74]),t(R,[2,24]),t(R,[2,35]),t(qt,[2,25]),t(qt,[2,26],{12:[1,138]}),t(qt,[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:d(function(m,x){if(x.recoverable)this.trace(m);else{var k=new Error(m);throw k.hash=x,k}},"parseError"),parse:d(function(m){var x=this,k=[0],_=[],D=[null],o=[],Pt=this.table,f="",vt=0,ue=0,he=0,Ue=2,de=1,je=o.slice.call(arguments,1),A=Object.create(this.lexer),kt={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(kt.yy[Qt]=this.yy[Qt]);A.setInput(m,kt.yy),kt.yy.lexer=A,kt.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Kt=A.yylloc;o.push(Kt);var ze=A.options&&A.options.ranges;typeof kt.yy.parseError=="function"?this.parseError=kt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function We(B){k.length=k.length-2*B,D.length=D.length-B,o.length=o.length-B}d(We,"popStack");function pe(){var B;return B=_.pop()||A.lex()||de,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(pe,"lex");for(var L,Gt,Et,V,Q0,Jt,Rt={},Bt,z,fe,Vt;;){if(Et=k[k.length-1],this.defaultActions[Et]?V=this.defaultActions[Et]:((L===null||typeof L>"u")&&(L=pe()),V=Pt[Et]&&Pt[Et][L]),typeof V>"u"||!V.length||!V[0]){var Zt="";Vt=[];for(Bt in Pt[Et])this.terminals_[Bt]&&Bt>Ue&&Vt.push("'"+this.terminals_[Bt]+"'");A.showPosition?Zt="Parse error on line "+(vt+1)+`:
2
2
  `+A.showPosition()+`
3
3
  Expecting `+Vt.join(", ")+", got '"+(this.terminals_[L]||L)+"'":Zt="Parse error on line "+(vt+1)+": Unexpected "+(L==de?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(Zt,{text:A.match,token:this.terminals_[L]||L,line:A.yylineno,loc:Kt,expected:Vt})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Et+", token: "+L);switch(V[0]){case 1:k.push(L),D.push(A.yytext),o.push(A.yylloc),k.push(V[1]),L=null,Gt?(L=Gt,Gt=null):(ue=A.yyleng,f=A.yytext,vt=A.yylineno,Kt=A.yylloc,he>0&&he--);break;case 2:if(z=this.productions_[V[1]][1],Rt.$=D[D.length-z],Rt._$={first_line:o[o.length-(z||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(z||1)].first_column,last_column:o[o.length-1].last_column},ze&&(Rt._$.range=[o[o.length-(z||1)].range[0],o[o.length-1].range[1]]),Jt=this.performAction.apply(Rt,[f,ue,vt,kt.yy,V[1],D,o].concat(je)),typeof Jt<"u")return Jt;z&&(k=k.slice(0,-1*z*2),D=D.slice(0,-1*z),o=o.slice(0,-1*z)),k.push(this.productions_[V[1]][0]),D.push(Rt.$),o.push(Rt._$),fe=Pt[k[k.length-2]][k[k.length-1]],k.push(fe);break;case 3:return!0}}return!0},"parse")},Fe=(function(){var _t={EOF:1,parseError:d(function(x,k){if(this.yy.parser)this.yy.parser.parseError(x,k);else throw new Error(x)},"parseError"),setInput:d(function(m,x){return this.yy=x||this.yy||{},this._input=m,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:d(function(){var m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var x=m.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),m},"input"),unput:d(function(m){var x=m.length,k=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;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),k.length-1&&(this.yylineno-=k.length-1);var D=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:k?(k.length===_.length?this.yylloc.first_column:0)+_[_.length-k.length].length-k[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[D[0],D[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(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:d(function(m){this.unput(this.match.slice(m))},"less"),pastInput:d(function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var m=this.match;return m.length<20&&(m+=this._input.substr(0,20-m.length)),(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var m=this.pastInput(),x=new Array(m.length+1).join("-");return m+this.upcomingInput()+`
@@ -1 +1 @@
1
- import{a as t}from"./chunk-GYT4IYBZ.js";var u=new Set(["redux-color","redux-dark-color"]),S=12,v=64,a=t(r=>Array.isArray(r)&&r.length>0,"hasPalette"),O=t((r,o)=>r!=null&&u.has(r)&&a(o),"isColorTheme"),c=/^[\w-]+$/,_=t(r=>{let o=typeof r=="string"||typeof r=="number"?String(r):"";return c.test(o)?o:"classic"},"safeLook"),s=t(r=>a(r)?r.length:0,"paletteSlotCount"),C=t((r,o)=>a(o)?s(o):typeof r=="number"&&Number.isInteger(r)&&r>0&&r<=v?r:S,"colorSlotCount"),T=t((r,o,e,n)=>{if(o===void 0||!O(e,n))return;let l=o%s(n);r.attr("data-color-id",`color-${l}`)},"stampColorSlot");export{u as a,a as b,O as c,_ as d,s as e,C as f,T as g};
1
+ import{a as t}from"./chunk-RJFVWYCA.js";var u=new Set(["redux-color","redux-dark-color"]),S=12,v=64,a=t(r=>Array.isArray(r)&&r.length>0,"hasPalette"),O=t((r,o)=>r!=null&&u.has(r)&&a(o),"isColorTheme"),c=/^[\w-]+$/,_=t(r=>{let o=typeof r=="string"||typeof r=="number"?String(r):"";return c.test(o)?o:"classic"},"safeLook"),s=t(r=>a(r)?r.length:0,"paletteSlotCount"),C=t((r,o)=>a(o)?s(o):typeof r=="number"&&Number.isInteger(r)&&r>0&&r<=v?r:S,"colorSlotCount"),T=t((r,o,e,n)=>{if(o===void 0||!O(e,n))return;let l=o%s(n);r.attr("data-color-id",`color-${l}`)},"stampColorSlot");export{u as a,a as b,O as c,_ as d,s as e,C as f,T as g};
@@ -1 +1 @@
1
- import{C as G,I as M}from"./chunk-KT4VPQD5.js";import{b as d}from"./chunk-JRSH5GNS.js";import{a as u}from"./chunk-GYT4IYBZ.js";var B=Object.freeze({left:0,top:0,width:16,height:16}),g=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),v=Object.freeze({...B,...g}),$=Object.freeze({...v,body:"",hidden:!1});var K=Object.freeze({width:null,height:null}),z=Object.freeze({...K,...g});var E=(t,o,n,r="")=>{let e=t.split(":");if(t.slice(0,1)==="@"){if(e.length<2||e.length>3)return null;r=e.shift().slice(1)}if(e.length>3||!e.length)return null;if(e.length>1){let c=e.pop(),l=e.pop(),m={provider:e.length>0?e[0]:r,prefix:l,name:c};return o&&!w(m)?null:m}let s=e[0],i=s.split("-");if(i.length>1){let c={provider:r,prefix:i.shift(),name:i.join("-")};return o&&!w(c)?null:c}if(n&&r===""){let c={provider:r,prefix:"",name:s};return o&&!w(c,n)?null:c}return null},w=(t,o)=>t?!!((o&&t.prefix===""||t.prefix)&&t.name):!1;function A(t,o){let n={};!t.hFlip!=!o.hFlip&&(n.hFlip=!0),!t.vFlip!=!o.vFlip&&(n.vFlip=!0);let r=((t.rotate||0)+(o.rotate||0))%4;return r&&(n.rotate=r),n}function b(t,o){let n=A(t,o);for(let r in $)r in g?r in t&&!(r in n)&&(n[r]=g[r]):r in o?n[r]=o[r]:r in t&&(n[r]=t[r]);return n}function R(t,o){let n=t.icons,r=t.aliases||Object.create(null),e=Object.create(null);function s(i){if(n[i])return e[i]=[];if(!(i in e)){e[i]=null;let c=r[i]&&r[i].parent,l=c&&s(c);l&&(e[i]=[c].concat(l))}return e[i]}return(o||Object.keys(n).concat(Object.keys(r))).forEach(s),e}function U(t,o,n){let r=t.icons,e=t.aliases||Object.create(null),s={};function i(c){s=b(r[c]||e[c],s)}return i(o),n.forEach(i),b(t,s)}function j(t,o){if(t.icons[o])return U(t,o,[]);let n=R(t,[o])[o];return n?U(t,o,n):null}var W=/(-?[0-9.]*[0-9]+[0-9.]*)/g,_=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function D(t,o,n){if(o===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*o*n)/n;if(typeof t!="string")return t;let r=t.split(W);if(r===null||!r.length)return t;let e=[],s=r.shift(),i=_.test(s);for(;;){if(i){let c=parseFloat(s);isNaN(c)?e.push(s):e.push(Math.ceil(c*o*n)/n)}else e.push(s);if(s=r.shift(),s===void 0)return e.join("");i=!i}}function Q(t,o="defs"){let n="",r=t.indexOf("<"+o);for(;r>=0;){let e=t.indexOf(">",r),s=t.indexOf("</"+o);if(e===-1||s===-1)break;let i=t.indexOf(">",s);if(i===-1)break;n+=t.slice(e+1,s).trim(),t=t.slice(0,r).trim()+t.slice(i+1)}return{defs:n,content:t}}function J(t,o){return t?"<defs>"+t+"</defs>"+o:o}function q(t,o,n){let r=Q(t);return J(r.defs,o+r.content+n)}var X=t=>t==="unset"||t==="undefined"||t==="none";function F(t,o){let n={...v,...t},r={...z,...o},e={left:n.left,top:n.top,width:n.width,height:n.height},s=n.body;[n,r].forEach(h=>{let a=[],N=h.hFlip,P=h.vFlip,p=h.rotate;N?P?p+=2:(a.push("translate("+(e.width+e.left).toString()+" "+(0-e.top).toString()+")"),a.push("scale(-1 1)"),e.top=e.left=0):P&&(a.push("translate("+(0-e.left).toString()+" "+(e.height+e.top).toString()+")"),a.push("scale(1 -1)"),e.top=e.left=0);let f;switch(p<0&&(p-=Math.floor(p/4)*4),p=p%4,p){case 1:f=e.height/2+e.top,a.unshift("rotate(90 "+f.toString()+" "+f.toString()+")");break;case 2:a.unshift("rotate(180 "+(e.width/2+e.left).toString()+" "+(e.height/2+e.top).toString()+")");break;case 3:f=e.width/2+e.left,a.unshift("rotate(-90 "+f.toString()+" "+f.toString()+")")}p%2===1&&(e.left!==e.top&&(f=e.left,e.left=e.top,e.top=f),e.width!==e.height&&(f=e.width,e.width=e.height,e.height=f)),a.length&&(s=q(s,'<g transform="'+a.join(" ")+'">',"</g>"))});let i=r.width,c=r.height,l=e.width,m=e.height,I,S;i===null?(S=c===null?"1em":c==="auto"?m:c,I=D(S,l/m)):(I=i==="auto"?l:i,S=c===null?D(I,m/l):c==="auto"?m:c);let T={},k=(h,a)=>{X(a)||(T[h]=a.toString())};k("width",I),k("height",S);let V=[e.left,e.top,l,m];return T.viewBox=V.join(" "),{attributes:T,viewBox:V,body:s}}var Y=/\sid="(\S+)"/g,L=new Map;function Z(t){t=t.replace(/[0-9]+$/,"")||"a";let o=L.get(t)||0;return L.set(t,o+1),o?`${t}${o}`:t}function C(t){let o=[],n;for(;n=Y.exec(t);)o.push(n[1]);if(!o.length)return t;let r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return o.forEach(e=>{let s=Z(e),i=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+s+r+"$3")}),t=t.replace(new RegExp(r,"g"),""),t}function y(t,o){let n=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let r in o)n+=" "+r+'="'+o[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+t+"</svg>"}var tt={body:'<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',height:80,width:80},x=new Map,O=new Map,Gt=u(t=>{for(let o of t){if(!o.name)throw new Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(d.debug("Registering icon pack:",o.name),"loader"in o)O.set(o.name,o.loader);else if("icons"in o)x.set(o.name,o.icons);else throw d.error("Invalid icon loader:",o),new Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),Mt=u(t=>x.has(t)||O.has(t),"isIconPackRegistered"),H=u(async(t,o)=>{let n=E(t,!0,o!==void 0);if(!n)throw new Error(`Invalid icon name: ${t}`);let r=n.prefix||o;if(!r)throw new Error(`Icon name must contain a prefix: ${t}`);let e=x.get(r);if(!e){let i=O.get(r);if(!i)throw new Error(`Icon set not found: ${n.prefix}`);try{e={...await i(),prefix:r},x.set(r,e)}catch(c){throw d.error(c),new Error(`Failed to load icon set: ${n.prefix}`)}}let s=j(e,n.name);if(!s)throw new Error(`Icon not found: ${t}`);return s},"getRegisteredIconData"),$t=u(async t=>{try{return await H(t),!0}catch{return!1}},"isIconAvailable"),zt=u(async(t,o,n)=>{let r;try{r=await H(t,o?.fallbackPrefix)}catch(i){d.error(i),r=tt}let e=F(r,o),s=y(C(e.body),{...e.attributes,...n});return M(s,G())},"getIconSVG");export{tt as a,Gt as b,Mt as c,$t as d,zt as e};
1
+ import{C as G,I as M}from"./chunk-IVZHB6RS.js";import{b as d}from"./chunk-QQIGL7OP.js";import{a as u}from"./chunk-RJFVWYCA.js";var B=Object.freeze({left:0,top:0,width:16,height:16}),g=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),v=Object.freeze({...B,...g}),$=Object.freeze({...v,body:"",hidden:!1});var K=Object.freeze({width:null,height:null}),z=Object.freeze({...K,...g});var E=(t,o,n,r="")=>{let e=t.split(":");if(t.slice(0,1)==="@"){if(e.length<2||e.length>3)return null;r=e.shift().slice(1)}if(e.length>3||!e.length)return null;if(e.length>1){let c=e.pop(),l=e.pop(),m={provider:e.length>0?e[0]:r,prefix:l,name:c};return o&&!w(m)?null:m}let s=e[0],i=s.split("-");if(i.length>1){let c={provider:r,prefix:i.shift(),name:i.join("-")};return o&&!w(c)?null:c}if(n&&r===""){let c={provider:r,prefix:"",name:s};return o&&!w(c,n)?null:c}return null},w=(t,o)=>t?!!((o&&t.prefix===""||t.prefix)&&t.name):!1;function A(t,o){let n={};!t.hFlip!=!o.hFlip&&(n.hFlip=!0),!t.vFlip!=!o.vFlip&&(n.vFlip=!0);let r=((t.rotate||0)+(o.rotate||0))%4;return r&&(n.rotate=r),n}function b(t,o){let n=A(t,o);for(let r in $)r in g?r in t&&!(r in n)&&(n[r]=g[r]):r in o?n[r]=o[r]:r in t&&(n[r]=t[r]);return n}function R(t,o){let n=t.icons,r=t.aliases||Object.create(null),e=Object.create(null);function s(i){if(n[i])return e[i]=[];if(!(i in e)){e[i]=null;let c=r[i]&&r[i].parent,l=c&&s(c);l&&(e[i]=[c].concat(l))}return e[i]}return(o||Object.keys(n).concat(Object.keys(r))).forEach(s),e}function U(t,o,n){let r=t.icons,e=t.aliases||Object.create(null),s={};function i(c){s=b(r[c]||e[c],s)}return i(o),n.forEach(i),b(t,s)}function j(t,o){if(t.icons[o])return U(t,o,[]);let n=R(t,[o])[o];return n?U(t,o,n):null}var W=/(-?[0-9.]*[0-9]+[0-9.]*)/g,_=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function D(t,o,n){if(o===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*o*n)/n;if(typeof t!="string")return t;let r=t.split(W);if(r===null||!r.length)return t;let e=[],s=r.shift(),i=_.test(s);for(;;){if(i){let c=parseFloat(s);isNaN(c)?e.push(s):e.push(Math.ceil(c*o*n)/n)}else e.push(s);if(s=r.shift(),s===void 0)return e.join("");i=!i}}function Q(t,o="defs"){let n="",r=t.indexOf("<"+o);for(;r>=0;){let e=t.indexOf(">",r),s=t.indexOf("</"+o);if(e===-1||s===-1)break;let i=t.indexOf(">",s);if(i===-1)break;n+=t.slice(e+1,s).trim(),t=t.slice(0,r).trim()+t.slice(i+1)}return{defs:n,content:t}}function J(t,o){return t?"<defs>"+t+"</defs>"+o:o}function q(t,o,n){let r=Q(t);return J(r.defs,o+r.content+n)}var X=t=>t==="unset"||t==="undefined"||t==="none";function F(t,o){let n={...v,...t},r={...z,...o},e={left:n.left,top:n.top,width:n.width,height:n.height},s=n.body;[n,r].forEach(h=>{let a=[],N=h.hFlip,P=h.vFlip,p=h.rotate;N?P?p+=2:(a.push("translate("+(e.width+e.left).toString()+" "+(0-e.top).toString()+")"),a.push("scale(-1 1)"),e.top=e.left=0):P&&(a.push("translate("+(0-e.left).toString()+" "+(e.height+e.top).toString()+")"),a.push("scale(1 -1)"),e.top=e.left=0);let f;switch(p<0&&(p-=Math.floor(p/4)*4),p=p%4,p){case 1:f=e.height/2+e.top,a.unshift("rotate(90 "+f.toString()+" "+f.toString()+")");break;case 2:a.unshift("rotate(180 "+(e.width/2+e.left).toString()+" "+(e.height/2+e.top).toString()+")");break;case 3:f=e.width/2+e.left,a.unshift("rotate(-90 "+f.toString()+" "+f.toString()+")")}p%2===1&&(e.left!==e.top&&(f=e.left,e.left=e.top,e.top=f),e.width!==e.height&&(f=e.width,e.width=e.height,e.height=f)),a.length&&(s=q(s,'<g transform="'+a.join(" ")+'">',"</g>"))});let i=r.width,c=r.height,l=e.width,m=e.height,I,S;i===null?(S=c===null?"1em":c==="auto"?m:c,I=D(S,l/m)):(I=i==="auto"?l:i,S=c===null?D(I,m/l):c==="auto"?m:c);let T={},k=(h,a)=>{X(a)||(T[h]=a.toString())};k("width",I),k("height",S);let V=[e.left,e.top,l,m];return T.viewBox=V.join(" "),{attributes:T,viewBox:V,body:s}}var Y=/\sid="(\S+)"/g,L=new Map;function Z(t){t=t.replace(/[0-9]+$/,"")||"a";let o=L.get(t)||0;return L.set(t,o+1),o?`${t}${o}`:t}function C(t){let o=[],n;for(;n=Y.exec(t);)o.push(n[1]);if(!o.length)return t;let r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return o.forEach(e=>{let s=Z(e),i=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+s+r+"$3")}),t=t.replace(new RegExp(r,"g"),""),t}function y(t,o){let n=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let r in o)n+=" "+r+'="'+o[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+t+"</svg>"}var tt={body:'<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',height:80,width:80},x=new Map,O=new Map,Gt=u(t=>{for(let o of t){if(!o.name)throw new Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(d.debug("Registering icon pack:",o.name),"loader"in o)O.set(o.name,o.loader);else if("icons"in o)x.set(o.name,o.icons);else throw d.error("Invalid icon loader:",o),new Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),Mt=u(t=>x.has(t)||O.has(t),"isIconPackRegistered"),H=u(async(t,o)=>{let n=E(t,!0,o!==void 0);if(!n)throw new Error(`Invalid icon name: ${t}`);let r=n.prefix||o;if(!r)throw new Error(`Icon name must contain a prefix: ${t}`);let e=x.get(r);if(!e){let i=O.get(r);if(!i)throw new Error(`Icon set not found: ${n.prefix}`);try{e={...await i(),prefix:r},x.set(r,e)}catch(c){throw d.error(c),new Error(`Failed to load icon set: ${n.prefix}`)}}let s=j(e,n.name);if(!s)throw new Error(`Icon not found: ${t}`);return s},"getRegisteredIconData"),$t=u(async t=>{try{return await H(t),!0}catch{return!1}},"isIconAvailable"),zt=u(async(t,o,n)=>{let r;try{r=await H(t,o?.fallbackPrefix)}catch(i){d.error(i),r=tt}let e=F(r,o),s=y(C(e.body),{...e.attributes,...n});return M(s,G())},"getIconSVG");export{tt as a,Gt as b,Mt as c,$t as d,zt as e};
@@ -1 +1 @@
1
- import{$ as s}from"./chunk-KT4VPQD5.js";import{d as e}from"./chunk-JRSH5GNS.js";import{a as n}from"./chunk-GYT4IYBZ.js";var a=n(t=>{let{securityLevel:c}=s(),o=e("body");if(c==="sandbox"){let m=e(`#i${t}`).node()?.contentDocument??document;o=e(m.body)}return o.select(`#${t}`)},"selectSvgElement");export{a};
1
+ import{$ as s}from"./chunk-IVZHB6RS.js";import{d as e}from"./chunk-QQIGL7OP.js";import{a as n}from"./chunk-RJFVWYCA.js";var a=n(t=>{let{securityLevel:c}=s(),o=e("body");if(c==="sandbox"){let m=e(`#i${t}`).node()?.contentDocument??document;o=e(m.body)}return o.select(`#${t}`)},"selectSvgElement");export{a};
@@ -1 +1 @@
1
- import{P as w}from"./chunk-KT4VPQD5.js";import{b as c}from"./chunk-JRSH5GNS.js";import{a as r}from"./chunk-GYT4IYBZ.js";var l=r((t,e,i,h)=>{t.attr("class",i);let{width:o,height:n,x,y:u}=m(t,e);w(t,n,o,h);let a=s(x,u,o,n,e);t.attr("viewBox",a),c.debug(`viewBox configured: ${a} with padding: ${e}`)},"setupViewPortForSVG"),m=r((t,e)=>{let i=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+e*2,height:i.height+e*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),s=r((t,e,i,h,o)=>`${t-o} ${e-o} ${i} ${h}`,"createViewBox");export{l as a};
1
+ import{P as w}from"./chunk-IVZHB6RS.js";import{b as c}from"./chunk-QQIGL7OP.js";import{a as r}from"./chunk-RJFVWYCA.js";var l=r((t,e,i,h)=>{t.attr("class",i);let{width:o,height:n,x,y:u}=m(t,e);w(t,n,o,h);let a=s(x,u,o,n,e);t.attr("viewBox",a),c.debug(`viewBox configured: ${a} with padding: ${e}`)},"setupViewPortForSVG"),m=r((t,e)=>{let i=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+e*2,height:i.height+e*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),s=r((t,e,i,h,o)=>`${t-o} ${e-o} ${i} ${h}`,"createViewBox");export{l as a};
@@ -1 +1 @@
1
- import{a as x}from"./chunk-OFZLK5G4.js";import{H as d}from"./chunk-KT4VPQD5.js";import{d as o}from"./chunk-JRSH5GNS.js";import{a as i}from"./chunk-GYT4IYBZ.js";import{c as p}from"./chunk-3RNHDNP5.js";var l=p(x(),1);var c=i((r,t)=>{let e=r.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(let s in t.attrs)e.attr(s,t.attrs[s]);return t.class&&e.attr("class",t.class),e},"drawRect"),f=i((r,t)=>{let 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(r,e).lower()},"drawBackgroundRect"),h=i((r,t)=>{let e=t.text.replace(d," "),s=r.append("text");s.attr("x",t.x),s.attr("y",t.y),s.attr("class","legend"),s.style("text-anchor",t.anchor),t.class&&s.attr("class",t.class);let a=s.append("tspan");return a.attr("x",t.x+t.textMargin*2),a.text(e),s},"drawText"),w=i((r,t,e,s)=>{let a=r.append("image");a.attr("x",t),a.attr("y",e);let n=(0,l.sanitizeUrl)(s);a.attr("xlink:href",n)},"drawImage"),k=i((r,t,e,s)=>{let a=r.append("use");a.attr("x",t),a.attr("y",e);let n=(0,l.sanitizeUrl)(s);a.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),v=i(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),E=i(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),R=i(()=>{let r=o(".mermaidTooltip");return r.empty()&&(r=o("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),r},"createTooltip");export{c as a,f as b,h as c,w as d,k as e,v as f,E as g,R as h};
1
+ import{a as x}from"./chunk-ICJPOOXG.js";import{H as d}from"./chunk-IVZHB6RS.js";import{d as o}from"./chunk-QQIGL7OP.js";import{a as i}from"./chunk-RJFVWYCA.js";import{b as p}from"./chunk-SQE76S5B.js";var l=p(x(),1);var c=i((r,t)=>{let e=r.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(let s in t.attrs)e.attr(s,t.attrs[s]);return t.class&&e.attr("class",t.class),e},"drawRect"),f=i((r,t)=>{let 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(r,e).lower()},"drawBackgroundRect"),h=i((r,t)=>{let e=t.text.replace(d," "),s=r.append("text");s.attr("x",t.x),s.attr("y",t.y),s.attr("class","legend"),s.style("text-anchor",t.anchor),t.class&&s.attr("class",t.class);let a=s.append("tspan");return a.attr("x",t.x+t.textMargin*2),a.text(e),s},"drawText"),w=i((r,t,e,s)=>{let a=r.append("image");a.attr("x",t),a.attr("y",e);let n=(0,l.sanitizeUrl)(s);a.attr("xlink:href",n)},"drawImage"),k=i((r,t,e,s)=>{let a=r.append("use");a.attr("x",t),a.attr("y",e);let n=(0,l.sanitizeUrl)(s);a.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),v=i(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),E=i(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),R=i(()=>{let r=o(".mermaidTooltip");return r.empty()&&(r=o("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),r},"createTooltip");export{c as a,f as b,h as c,w as d,k as e,v as f,E as g,R as h};
@@ -1,4 +1,4 @@
1
- import{a as Wt}from"./chunk-JD7ZBJD2.js";import{f as Z}from"./chunk-HOPPTA6H.js";import{a as $t}from"./chunk-4QDE4SUK.js";import{c as yt,d as gt}from"./chunk-QCJUF4YA.js";import{c as pt,e as Ut}from"./chunk-BBD5CEDC.js";import{q as U,u as At}from"./chunk-QEEA3KYY.js";import{c as at,d as xt,f as bt,g as wt,h as dt,l as Mt,o as vt,s as St,t as Lt,u as _t,v as Et,w as Ot,x as Tt}from"./chunk-OFZLK5G4.js";import{$ as A,C as B,G as ct,b as ut}from"./chunk-KT4VPQD5.js";import{b as w,d as T}from"./chunk-JRSH5GNS.js";import{a as l}from"./chunk-GYT4IYBZ.js";var j=l((r,t)=>{if(t)return"translate("+-r.width/2+", "+-r.height/2+")";let a=r.x??0,e=r.y??0;return"translate("+-(a+r.width/2)+", "+-(e+r.height/2)+")"},"computeLabelTransform"),v={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},Ht={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5,arrow_open_head:4,arrow_hollow_circle:8};function J(r,t){if(r===void 0||t===void 0)return{angle:0,deltaX:0,deltaY:0};r=x(r),t=x(t);let[a,e]=[r.x,r.y],[s,n]=[t.x,t.y],o=s-a,i=n-e;return{angle:Math.atan(i/o),deltaX:o,deltaY:i}}l(J,"calculateDeltaAndAngle");var x=l(r=>Array.isArray(r)?{x:r[0],y:r[1]}:r,"pointTransformer"),fr=l(r=>({x:l(function(t,a,e){let s=0,n=x(e[0]).x<x(e[e.length-1]).x?"left":"right";if(a===0&&Object.hasOwn(v,r.arrowTypeStart)){let{angle:p,deltaX:u}=J(e[0],e[1]);s=v[r.arrowTypeStart]*Math.cos(p)*(u>=0?1:-1)}else if(a===e.length-1&&Object.hasOwn(v,r.arrowTypeEnd)){let{angle:p,deltaX:u}=J(e[e.length-1],e[e.length-2]);s=v[r.arrowTypeEnd]*Math.cos(p)*(u>=0?1:-1)}let o=Math.abs(x(t).x-x(e[e.length-1]).x),i=Math.abs(x(t).y-x(e[e.length-1]).y),c=Math.abs(x(t).x-x(e[0]).x),h=Math.abs(x(t).y-x(e[0]).y),f=v[r.arrowTypeStart],m=v[r.arrowTypeEnd],d=1;if(o<m&&o>0&&i<m){let p=m+d-o;p*=n==="right"?-1:1,s-=p}if(c<f&&c>0&&h<f){let p=f+d-c;p*=n==="right"?-1:1,s+=p}return x(t).x+s},"x"),y:l(function(t,a,e){let s=0,n=x(e[0]).y<x(e[e.length-1]).y?"down":"up";if(a===0&&Object.hasOwn(v,r.arrowTypeStart)){let{angle:p,deltaY:u}=J(e[0],e[1]);s=v[r.arrowTypeStart]*Math.abs(Math.sin(p))*(u>=0?1:-1)}else if(a===e.length-1&&Object.hasOwn(v,r.arrowTypeEnd)){let{angle:p,deltaY:u}=J(e[e.length-1],e[e.length-2]);s=v[r.arrowTypeEnd]*Math.abs(Math.sin(p))*(u>=0?1:-1)}let o=Math.abs(x(t).y-x(e[e.length-1]).y),i=Math.abs(x(t).x-x(e[e.length-1]).x),c=Math.abs(x(t).y-x(e[0]).y),h=Math.abs(x(t).x-x(e[0]).x),f=v[r.arrowTypeStart],m=v[r.arrowTypeEnd],d=1;if(o<m&&o>0&&i<m){let p=m+d-o;p*=n==="up"?-1:1,s-=p}if(c<f&&c>0&&h<f){let p=f+d-c;p*=n==="up"?-1:1,s+=p}return x(t).y+s},"y")}),"getLineFunctionsWithOffset"),Qt=1,mr=l(r=>typeof r=="number"&&Number.isFinite(r)&&r>0?r:Qt,"getStepDuration"),mt=l(r=>typeof r.step=="number"&&Number.isInteger(r.step)&&r.step>0,"isStepEdge"),Yt=[.25,.35,.15,.65,.75,.5,.85,.1,.9],ht=9,kr=11,ur=2,yr="#333333",Xt=12,Pt=6,Bt=14,Ct=.01,gr=4.5,Gt=/translate\(\s*(-?[\d.e]+)[\s,]+(-?[\d.e]+)/i,xr=4,br=.6,wr=4,Mr=l((r,t,a=Qt)=>{let e=Math.max(t,r);return{begin:(r-1)*a,dur:a,gap:(e-1)*a}},"getEdgeStepTiming"),vr=l(r=>`step_${Array.from(r,t=>/[\dA-Za-z]/.test(t)?t:`_${(t.codePointAt(0)??0).toString(16)}_`).join("")}`,"toAnimationId"),Sr=l(r=>{let t=/^m\s*(-?[\d.e]+)[\s,]+(-?[\d.e]+)/i.exec(r.trim());return t?`translate(${t[1]},${t[2]}) `:""},"pathStartTranslate"),Lr=l(r=>Array.from(r,(t,a)=>{let e=t.codePointAt(0)??0;if(e===0)return"\uFFFD";let s=e<=31||e===127,n=/\d/.test(t)&&(a===0||a===1&&r.startsWith("-"));return s||n?`\\${e.toString(16)} `:r==="-"?"\\-":e>=128||/[\w-]/.test(t)?t:`\\${t}`}).join(""),"escapeCssIdentifierFallback"),_r=l(r=>typeof CSS<"u"&&typeof CSS.escape=="function"?CSS.escape(r):Lr(r),"escapeCssIdentifier"),Er=l((r,t)=>{let a=r.node(),e=a?.ownerSVGElement??a?.closest?.("svg")??a,s=t||e?.getAttribute("id");if(!e||!s||e.querySelector("style.edge-step-style"))return;let n=`#${_r(s)} `,o=e.ownerDocument.createElementNS("http://www.w3.org/2000/svg","style");o.setAttribute("class","edge-step-style"),o.textContent=`@media (prefers-reduced-motion: reduce) { ${n}.edge-step-dot, ${n}.edge-step-highlight { display: none; } }`,e.appendChild(o)},"ensureReducedMotionStyle"),Or=l((r,t)=>{let a=r.filter(n=>Number.isFinite(n.x)&&Number.isFinite(n.y));if(a.length===0)return;let e=a.slice(1).map((n,o)=>Math.hypot(n.x-a[o].x,n.y-a[o].y)),s=e.reduce((n,o)=>n+o,0)*t;for(let[n,o]of e.entries()){if(s<=o&&o>0){let i=s/o,c=a[n],h=a[n+1];return{x:c.x+(h.x-c.x)*i,y:c.y+(h.y-c.y)*i}}s-=o}return a[a.length-1]},"pointAlongPolyline"),Tr=l((r,t)=>{let a=typeof t?.getTotalLength=="function"?t.getTotalLength():0,e=t?.getPointAtLength?.bind(t);return a>0&&e?s=>{let{x:n,y:o}=e(a*s);return{x:n,y:o}}:s=>Or(r,s)},"createPathSampler"),Ar=l((r,t)=>Math.min(Number.POSITIVE_INFINITY,...t.map(a=>{let e=Math.max(Math.abs(r.x-a.x)-a.halfWidth,0),s=Math.max(Math.abs(r.y-a.y)-a.halfHeight,0);return Math.hypot(e,s)-ht})),"roomAround"),Ur=l((r,t)=>{let a=r(t),e=r(Math.max(t-Ct,0)),s=r(Math.min(t+Ct,1));if(!a||!e||!s)return[];let n=Math.hypot(s.x-e.x,s.y-e.y);if(n===0)return[];let o={x:-(s.y-e.y)/n,y:(s.x-e.x)/n};return[1,-1].map(i=>({x:a.x+o.x*Bt*i,y:a.y+o.y*Bt*i}))},"besideThePath"),$r=l((r,t)=>{let a=[...Yt.map(r),...Yt.flatMap(n=>Ur(r,n))],e,s=Number.NEGATIVE_INFINITY;for(let n of a){if(!n||!Number.isFinite(n.x)||!Number.isFinite(n.y))continue;let o=Ar(n,t);if(o>=ur)return n;o>s&&(e=n,s=o)}return e},"chooseBadgePosition"),Zt=l((r,t)=>({...r,halfWidth:t,halfHeight:t}),"square"),Wr=l(r=>{let t=Gt.exec(r.getAttribute("transform")??"");return t?{x:Number(t[1]),y:Number(t[2])}:{x:0,y:0}},"translationOf"),kt=l(r=>{let t={x:0,y:0};for(let a=r;a&&a.localName!=="svg";a=a.parentElement){let{x:e,y:s}=Wr(a);t.x+=e,t.y+=s}return t},"offsetInSvg"),Hr=l((r,t)=>{if(!Gt.test(r.getAttribute("transform")??""))return;let a=kt(r),e=a.x-t.x,s=a.y-t.y,n=r.getBBox?.();if(n)return{x:e+n.x+n.width/2,y:s+n.y+n.height/2,halfWidth:n.width/2,halfHeight:n.height/2}},"boxedObstacle"),Yr=l(r=>{try{let t=JSON.parse(atob(r.getAttribute("data-points")??""));return Array.isArray(t)?t:[]}catch{return[]}},"readPoints"),Nt=l((r,t)=>{let a=Math.hypot(r.x-t.x,r.y-t.y);if(a===0)return Zt(r,Xt);let e={x:(r.x-t.x)/a,y:(r.y-t.y)/a},s=Xt/2;return{x:r.x-e.x*s,y:r.y-e.y*s,halfWidth:Math.abs(e.x)*s+Math.abs(e.y)*Pt,halfHeight:Math.abs(e.y)*s+Math.abs(e.x)*Pt}},"arrowheadObstacle"),Rt=l((r,t)=>{let a=r.getAttribute(t);return!!a&&a!=="none"},"hasMarker"),Xr=l((r,t)=>{let a=Yr(r).filter(i=>Number.isFinite(i?.x)&&Number.isFinite(i?.y));if(a.length===0)return[];let e=kt(r),s=l(i=>({x:i.x+e.x-t.x,y:i.y+e.y-t.y}),"toSvg"),n=a.length-1,o=[];return Rt(r,"marker-start")&&o.push(Nt(s(a[0]),s(a[Math.min(1,n)]))),Rt(r,"marker-end")&&o.push(Nt(s(a[n]),s(a[Math.max(n-1,0)]))),o},"arrowheadObstacles"),jt=l(r=>{let t={x:0,y:0},a=[...r?.querySelectorAll(".edgeLabel, .node")??[]].map(s=>Hr(s,t)).filter(s=>s!==void 0),e=[...r?.querySelectorAll('path[data-edge="true"]')??[]].flatMap(s=>Xr(s,t));return[...a,...e]},"collectBadgeObstacles"),Pr=l((r,t)=>{if(!r.label||t.length===0)return[];let{x:a,y:e}=U.calcLabelPosition(t);return[{x:a,y:e,halfWidth:(r.width??0)/2,halfHeight:(r.height??0)/2}]},"edgeLabelObstacles"),Br=l(r=>{let t=r/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4},"linearChannel"),zt=l(r=>{try{let[t,a,e]=["r","g","b"].map(s=>Br(ut(r,s)));return .2126*t+.7152*a+.0722*e}catch{return}},"relativeLuminance"),Cr=l((r,t)=>{let a=zt(r),e=zt(t);return a===void 0||e===void 0?0:(Math.max(a,e)+.05)/(Math.min(a,e)+.05)},"contrastRatio"),Nr=l((r,t)=>{let e=[...t.filter(n=>!!n),"#ffffff","#000000"].map(n=>({color:n,ratio:Cr(r,n)}));return(e.find(({ratio:n})=>n>=gr)??e.reduce((n,o)=>o.ratio>n.ratio?o:n)).color},"pickBadgeTextColor"),Rr=l(r=>{let t=r?.replace(/^stroke:\s*/,"").trim();return t===""?void 0:t},"bareColor"),zr=l((r,t,a,e=jt(r.node()?.closest("svg")))=>{if(!mt(t)||!t.showStepNumber)return;let s=kt(r.node()),n=e.map(h=>({...h,x:h.x-s.x,y:h.y-s.y})),o=$r(Tr(a.points,a.pathNode),[...n,...Pr(t,a.points)]);if(!o)return;let i=Rr(a.color)??yr,c=r.append("g").attr("class","edge-step-badge").attr("transform",`translate(${o.x},${o.y})`).attr("pointer-events","none").attr("data-step",t.step);return c.append("circle").attr("r",ht).attr("fill",i),c.append("text").attr("text-anchor","middle").attr("dominant-baseline","central").attr("font-size",kr).attr("fill",Nr(i,a.textColors??[])).text(String(t.step)),Zt({x:o.x+s.x,y:o.y+s.y},ht)},"insertEdgeStepBadge"),Dt=l((r,t,a)=>{r.append("animateTransform").attr("attributeName","transform").attr("type","scale").attr("values","1;1").attr("dur",`${a}s`).attr("begin",`${t}.begin`).attr("fill","remove")},"showWhileStepPlays"),Dr=l((r,t,a,e,s)=>{if(!mt(t)||!a)return;let{begin:n,dur:o,gap:i}=Mr(t.step,t.stepCount??t.step,mr(t.stepDuration)),c=vr(`${e}-${t.id}-step`),h=`${Sr(a)}scale(0)`,f=s?.replace(/^stroke:\s*/,""),m=r.append("path").attr("class","edge-step-highlight").attr("aria-hidden","true").attr("d",a).attr("fill","none").attr("stroke",f??"currentColor").attr("stroke-width",xr).attr("stroke-linecap","round").attr("stroke-opacity",br).attr("pointer-events","none").attr("transform",h).attr("data-step",t.step);Dt(m,c,o);let d=r.append("circle").attr("class","edge-step-dot").attr("r",wr).attr("aria-hidden","true").attr("transform",h).attr("data-step",t.step);f&&d.attr("fill",f).attr("stroke","none"),d.append("animateMotion").attr("id",c).attr("path",a).attr("dur",`${o}s`).attr("begin",`${n}s;${c}.end+${i}s`).attr("fill","remove"),Dt(d,c,o),Er(r,e)},"insertEdgeStepDot"),et=new WeakMap,qr=l(r=>{let t=r.querySelector(":scope > g.edge-step-badges");if(t)return t;let a=r.ownerDocument.createElementNS("http://www.w3.org/2000/svg","g");return a.setAttribute("class","edge-step-badges"),r.appendChild(a)},"badgeLayer"),Na=l(r=>{let t=r?et.get(r):void 0;if(!r||!t)return;et.delete(r);let a=jt(r);for(let{elem:e,edge:s,options:n}of t){let o=e.node()?.parentElement;if(!o)continue;let i=T(qr(o)),c=zr(i,s,n,a);c&&a.push(c)}},"placeQueuedStepBadges"),Ir=l((r,t,a,e,s)=>{Dr(r,t,a,e,s.color);let n=r.node(),o=n?.ownerSVGElement??n;!o||!mt(t)||!t.showStepNumber||et.set(o,[...et.get(o)??[],{elem:r,edge:t,options:s}])},"insertEdgeStepMarks"),Fr=l((r,t,a,e,s,n=!1,o)=>{t.arrowTypeStart&&qt(r,"start",t.arrowTypeStart,a,e,s,n,o),t.arrowTypeEnd&&qt(r,"end",t.arrowTypeEnd,a,e,s,n,o)},"addEdgeMarkers"),Qr={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_barb_neo:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},arrow_open_head:{type:"openArrow",fill:!1},arrow_hollow_circle:{type:"hollowCircle",fill:!1},arrow_hierarchy:{type:"hierarchy",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},Gr=["cross","point","circle","lollipop","aggregation","extension","composition","dependency","barb"],qt=l((r,t,a,e,s,n,o=!1,i)=>{if(!a||a==="none")return;let c=Qr[a],h=c&&Gr.includes(c.type);if(!c){w.warn(`Unknown arrow type: ${a}`);return}let f=c.type,p=`${s}_${n}-${f}${t==="start"?"Start":"End"}${o&&h?"-margin":""}`;if(i&&i.trim()!==""){let u=i.replace(/[^\dA-Za-z]/g,"_"),y=`${p}_${u}`;if(!document.getElementById(y)){let k=document.getElementById(p);if(k){let _=k.cloneNode(!0);_.id=y,_.querySelectorAll("path, circle, line").forEach(H=>{H.setAttribute("stroke",i),c.fill&&H.setAttribute("fill",i)}),k.parentNode?.appendChild(_)}}r.attr(`marker-${t}`,`url(${e}#${y})`)}else r.attr(`marker-${t}`,`url(${e}#${p})`)},"addEdgeMarker"),Zr=l(r=>typeof r=="string"?r:A()?.flowchart?.curve,"resolveEdgeCurveType"),nt=new Map,L=new Map,Da=l(()=>{nt.clear(),L.clear()},"clear"),qa=l(r=>!!(r.label||r.startLabelLeft||r.startLabelRight||r.endLabelLeft||r.endLabelRight),"hasEdgeLabel"),V=l(r=>r?typeof r=="string"?r:r.reduce((t,a)=>t+";"+a,""):"","getLabelStyles"),Ia=l(async(r,t)=>{let a=A(),e=ct(a),{labelStyles:s}=gt(t);t.labelStyle=s;let n=r.insert("g").attr("class","edgeLabel"),o=n.insert("g").attr("class","label").attr("data-id",t.id),i=t.labelType==="markdown",h=await Ut(r,t.label,{style:V(t.labelStyle),useHtmlLabels:e,addSvgBackground:!0,isNode:!1,markdown:i,width:i?void 0:void 0},a);o.node().appendChild(h),w.info("abc82",t,t.labelType);let f,m;if(e){let p=h.children[0],u=T(h);f=await pt.measure(()=>p.getBoundingClientRect()),m=f,u.attr("width",f.width),u.attr("height",f.height)}else{let p=T(h).select("text").node();await pt.measure(()=>{f=h.getBBox(),p&&typeof p.getBBox=="function"?m=p.getBBox():m=f})}o.attr("transform",j(m,e)),nt.set(t.id,n),t.width=f.width,t.height=f.height;let d;if(t.startLabelLeft){let p=r.insert("g").attr("class","edgeTerminals"),u=p.insert("g").attr("class","inner"),y=await Z(u,t.startLabelLeft,V(t.labelStyle)||"",!1,!1);d=y;let k=y.getBBox();if(e){let _=y.children[0],b=T(y);k=_.getBoundingClientRect(),b.attr("width",k.width),b.attr("height",k.height)}u.attr("transform",j(k,e)),L.get(t.id)||L.set(t.id,{}),L.get(t.id).startLeft=p,tt(d,t.startLabelLeft,k),K(t,"startLeft",k)}if(t.startLabelRight){let p=r.insert("g").attr("class","edgeTerminals"),u=p.insert("g").attr("class","inner"),y=await Z(u,t.startLabelRight,V(t.labelStyle)||"",!1,!1);d=y;let k=y.getBBox();if(e){let _=y.children[0],b=T(y);k=_.getBoundingClientRect(),b.attr("width",k.width),b.attr("height",k.height)}u.attr("transform",j(k,e)),L.get(t.id)||L.set(t.id,{}),L.get(t.id).startRight=p,tt(d,t.startLabelRight,k),K(t,"startRight",k)}if(t.endLabelLeft){let p=r.insert("g").attr("class","edgeTerminals"),u=p.insert("g").attr("class","inner"),y=await Z(u,t.endLabelLeft,V(t.labelStyle)||"",!1,!1);d=y;let k=y.getBBox();if(e){let _=y.children[0],b=T(y);k=_.getBoundingClientRect(),b.attr("width",k.width),b.attr("height",k.height)}u.attr("transform",j(k,e)),L.get(t.id)||L.set(t.id,{}),L.get(t.id).endLeft=p,tt(d,t.endLabelLeft,k),K(t,"endLeft",k)}if(t.endLabelRight){let p=r.insert("g").attr("class","edgeTerminals"),u=p.insert("g").attr("class","inner"),y=await Z(u,t.endLabelRight,V(t.labelStyle)||"",!1,!1);d=y;let k=y.getBBox();if(e){let _=y.children[0],b=T(y);k=_.getBoundingClientRect(),b.attr("width",k.width),b.attr("height",k.height)}u.attr("transform",j(k,e)),L.get(t.id)||L.set(t.id,{}),L.get(t.id).endRight=p,tt(d,t.endLabelRight,k),K(t,"endRight",k)}return h},"insertEdgeLabel");function K(r,t,a){r.terminalLabelSizes??={},r.terminalLabelSizes[t]={width:a.width,height:a.height}}l(K,"recordTerminalLabelSize");function tt(r,t,a){ct(A())&&r&&(r.style.width=Math.max(t.length*9,a.width)+"px",r.style.height=a.height+"px")}l(tt,"setTerminalWidth");var jr=l((r,t)=>{let a=r.x,e=r.y;if(t?.updatedPath){let s=U.calcLabelPosition(t.updatedPath);if(t.originalPath){let n=U.calcLabelPosition(t.originalPath);a=r.x+(s.x-n.x),e=r.y+(s.y-n.y)}else a=s.x,e=s.y}return{x:a,y:e}},"resolveEdgeLabelPosition"),Fa=l((r,t)=>{w.debug("Moving label abc88 ",r.id,r.label,nt.get(r.id),t);let a=A(),{subGraphTitleTotalMargin:e}=Wt(a);if(r.label){let n=nt.get(r.id),{x:o,y:i}=jr(r,t);w.debug("Moving label "+r.label+" from (",r.x,",",r.y,") to (",o,",",i,") abc88"),n.attr("transform",`translate(${o}, ${i+e/2})`)}let s=t.updatedPath?t.updatedPath:t.originalPath;if(r.startLabelLeft){let n=L.get(r.id).startLeft,o=r.x,i=r.y;if(s){let c=U.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_left",s);o=c.x,i=c.y}n.attr("transform",`translate(${o}, ${i})`)}if(r.startLabelRight){let n=L.get(r.id).startRight,o=r.x,i=r.y;if(s){let c=U.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_right",s);o=c.x,i=c.y}n.attr("transform",`translate(${o}, ${i})`)}if(r.endLabelLeft){let n=L.get(r.id).endLeft,o=r.x,i=r.y;if(s){let c=U.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_left",s);o=c.x,i=c.y}n.attr("transform",`translate(${o}, ${i})`)}if(r.endLabelRight){let n=L.get(r.id).endRight,o=r.x,i=r.y;if(s){let c=U.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_right",s);o=c.x,i=c.y}n.attr("transform",`translate(${o}, ${i})`)}},"positionEdgeLabel"),q=.5,$=l((r,t)=>Math.abs(r.x-t.x)<q,"sharesColumn"),W=l((r,t)=>Math.abs(r.y-t.y)<q,"sharesRow"),Vt=l((r,t)=>$(r,t)&&W(r,t),"coincides");function Jt(r,t,a){return $(r,t)&&!W(r,t)?$(a,t):W(r,t)&&!$(r,t)?W(a,t):$(a,t)||W(a,t)}l(Jt,"keepsArrivalAxis");function Kt(r,t,a){return Vt(r,t)?{heading:t,from:a}:{heading:r,from:t}}l(Kt,"arrivalSegment");function tr({heading:r,from:t},a,e){return(r.x-t.x)*(e.x-a.x)+(r.y-t.y)*(e.y-a.y)<0}l(tr,"runsAgainstHeading");function rr({heading:r,from:t},a,e){return W(r,t)&&!$(r,t)?{x:e.x,y:a.y}:$(r,t)&&!W(r,t)?{x:a.x,y:e.y}:e}l(rr,"snapToArrivalAxis");function ar(r,t,a,e){if(($(r,t)||W(r,t))&&!Jt(r,t,e))return r;let n=Kt(r,t,a);return tr(n,t,e)?t:rr(n,t,e)}l(ar,"dockFinalPoint");function er(r){let t=Object.hasOwn(v,r)?v[r]:0;return Number.isFinite(t)?t:0}l(er,"markerPullBack");function nr({originalLast:r,lastInner:t,newLast:a,minLength:e}){let s=!Vt(r,t),n=Math.hypot(a.x-t.x,a.y-t.y);return n>=Math.max(q,e)?a:s&&n>=q?r:void 0}l(nr,"finalDockPoint");var Vr=l((r,t)=>{if(!r?.isLabelEdge||!r?.id?.endsWith("-to-label")||!Array.isArray(t)||t.length!==2)return t;let[a,e]=t,s=Math.abs(e.x-a.x),n=Math.abs(e.y-a.y);return s<.001||n<.001?t:n>=s?[a,{x:a.x,y:e.y},e]:[a,{x:e.x,y:a.y},e]},"orthogonalizeToLabelClippedPoints"),Jr=l((r,t)=>{let a=r.x,e=r.y,s=Math.abs(t.x-a),n=Math.abs(t.y-e),o=r.width/2,i=r.height/2;return s>=o||n>=i},"outsideNode"),Kr=l((r,t,a)=>{w.debug(`intersection calc abc89:
1
+ import{a as Wt}from"./chunk-NDAMZVXQ.js";import{f as Z}from"./chunk-BOXAA5AP.js";import{a as $t}from"./chunk-4QDE4SUK.js";import{c as yt,d as gt}from"./chunk-DIDARDST.js";import{c as pt,e as Ut}from"./chunk-7LSMJ4VU.js";import{q as U,u as At}from"./chunk-QLS7NIYR.js";import{c as at,d as xt,f as bt,g as wt,h as dt,l as Mt,o as vt,s as St,t as Lt,u as _t,v as Et,w as Ot,x as Tt}from"./chunk-ICJPOOXG.js";import{$ as A,C as B,G as ct,b as ut}from"./chunk-IVZHB6RS.js";import{b as w,d as T}from"./chunk-QQIGL7OP.js";import{a as l}from"./chunk-RJFVWYCA.js";var j=l((r,t)=>{if(t)return"translate("+-r.width/2+", "+-r.height/2+")";let a=r.x??0,e=r.y??0;return"translate("+-(a+r.width/2)+", "+-(e+r.height/2)+")"},"computeLabelTransform"),v={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},Ht={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5,arrow_open_head:4,arrow_hollow_circle:8};function J(r,t){if(r===void 0||t===void 0)return{angle:0,deltaX:0,deltaY:0};r=x(r),t=x(t);let[a,e]=[r.x,r.y],[s,n]=[t.x,t.y],o=s-a,i=n-e;return{angle:Math.atan(i/o),deltaX:o,deltaY:i}}l(J,"calculateDeltaAndAngle");var x=l(r=>Array.isArray(r)?{x:r[0],y:r[1]}:r,"pointTransformer"),fr=l(r=>({x:l(function(t,a,e){let s=0,n=x(e[0]).x<x(e[e.length-1]).x?"left":"right";if(a===0&&Object.hasOwn(v,r.arrowTypeStart)){let{angle:p,deltaX:u}=J(e[0],e[1]);s=v[r.arrowTypeStart]*Math.cos(p)*(u>=0?1:-1)}else if(a===e.length-1&&Object.hasOwn(v,r.arrowTypeEnd)){let{angle:p,deltaX:u}=J(e[e.length-1],e[e.length-2]);s=v[r.arrowTypeEnd]*Math.cos(p)*(u>=0?1:-1)}let o=Math.abs(x(t).x-x(e[e.length-1]).x),i=Math.abs(x(t).y-x(e[e.length-1]).y),c=Math.abs(x(t).x-x(e[0]).x),h=Math.abs(x(t).y-x(e[0]).y),f=v[r.arrowTypeStart],m=v[r.arrowTypeEnd],d=1;if(o<m&&o>0&&i<m){let p=m+d-o;p*=n==="right"?-1:1,s-=p}if(c<f&&c>0&&h<f){let p=f+d-c;p*=n==="right"?-1:1,s+=p}return x(t).x+s},"x"),y:l(function(t,a,e){let s=0,n=x(e[0]).y<x(e[e.length-1]).y?"down":"up";if(a===0&&Object.hasOwn(v,r.arrowTypeStart)){let{angle:p,deltaY:u}=J(e[0],e[1]);s=v[r.arrowTypeStart]*Math.abs(Math.sin(p))*(u>=0?1:-1)}else if(a===e.length-1&&Object.hasOwn(v,r.arrowTypeEnd)){let{angle:p,deltaY:u}=J(e[e.length-1],e[e.length-2]);s=v[r.arrowTypeEnd]*Math.abs(Math.sin(p))*(u>=0?1:-1)}let o=Math.abs(x(t).y-x(e[e.length-1]).y),i=Math.abs(x(t).x-x(e[e.length-1]).x),c=Math.abs(x(t).y-x(e[0]).y),h=Math.abs(x(t).x-x(e[0]).x),f=v[r.arrowTypeStart],m=v[r.arrowTypeEnd],d=1;if(o<m&&o>0&&i<m){let p=m+d-o;p*=n==="up"?-1:1,s-=p}if(c<f&&c>0&&h<f){let p=f+d-c;p*=n==="up"?-1:1,s+=p}return x(t).y+s},"y")}),"getLineFunctionsWithOffset"),Qt=1,mr=l(r=>typeof r=="number"&&Number.isFinite(r)&&r>0?r:Qt,"getStepDuration"),mt=l(r=>typeof r.step=="number"&&Number.isInteger(r.step)&&r.step>0,"isStepEdge"),Yt=[.25,.35,.15,.65,.75,.5,.85,.1,.9],ht=9,kr=11,ur=2,yr="#333333",Xt=12,Pt=6,Bt=14,Ct=.01,gr=4.5,Gt=/translate\(\s*(-?[\d.e]+)[\s,]+(-?[\d.e]+)/i,xr=4,br=.6,wr=4,Mr=l((r,t,a=Qt)=>{let e=Math.max(t,r);return{begin:(r-1)*a,dur:a,gap:(e-1)*a}},"getEdgeStepTiming"),vr=l(r=>`step_${Array.from(r,t=>/[\dA-Za-z]/.test(t)?t:`_${(t.codePointAt(0)??0).toString(16)}_`).join("")}`,"toAnimationId"),Sr=l(r=>{let t=/^m\s*(-?[\d.e]+)[\s,]+(-?[\d.e]+)/i.exec(r.trim());return t?`translate(${t[1]},${t[2]}) `:""},"pathStartTranslate"),Lr=l(r=>Array.from(r,(t,a)=>{let e=t.codePointAt(0)??0;if(e===0)return"\uFFFD";let s=e<=31||e===127,n=/\d/.test(t)&&(a===0||a===1&&r.startsWith("-"));return s||n?`\\${e.toString(16)} `:r==="-"?"\\-":e>=128||/[\w-]/.test(t)?t:`\\${t}`}).join(""),"escapeCssIdentifierFallback"),_r=l(r=>typeof CSS<"u"&&typeof CSS.escape=="function"?CSS.escape(r):Lr(r),"escapeCssIdentifier"),Er=l((r,t)=>{let a=r.node(),e=a?.ownerSVGElement??a?.closest?.("svg")??a,s=t||e?.getAttribute("id");if(!e||!s||e.querySelector("style.edge-step-style"))return;let n=`#${_r(s)} `,o=e.ownerDocument.createElementNS("http://www.w3.org/2000/svg","style");o.setAttribute("class","edge-step-style"),o.textContent=`@media (prefers-reduced-motion: reduce) { ${n}.edge-step-dot, ${n}.edge-step-highlight { display: none; } }`,e.appendChild(o)},"ensureReducedMotionStyle"),Or=l((r,t)=>{let a=r.filter(n=>Number.isFinite(n.x)&&Number.isFinite(n.y));if(a.length===0)return;let e=a.slice(1).map((n,o)=>Math.hypot(n.x-a[o].x,n.y-a[o].y)),s=e.reduce((n,o)=>n+o,0)*t;for(let[n,o]of e.entries()){if(s<=o&&o>0){let i=s/o,c=a[n],h=a[n+1];return{x:c.x+(h.x-c.x)*i,y:c.y+(h.y-c.y)*i}}s-=o}return a[a.length-1]},"pointAlongPolyline"),Tr=l((r,t)=>{let a=typeof t?.getTotalLength=="function"?t.getTotalLength():0,e=t?.getPointAtLength?.bind(t);return a>0&&e?s=>{let{x:n,y:o}=e(a*s);return{x:n,y:o}}:s=>Or(r,s)},"createPathSampler"),Ar=l((r,t)=>Math.min(Number.POSITIVE_INFINITY,...t.map(a=>{let e=Math.max(Math.abs(r.x-a.x)-a.halfWidth,0),s=Math.max(Math.abs(r.y-a.y)-a.halfHeight,0);return Math.hypot(e,s)-ht})),"roomAround"),Ur=l((r,t)=>{let a=r(t),e=r(Math.max(t-Ct,0)),s=r(Math.min(t+Ct,1));if(!a||!e||!s)return[];let n=Math.hypot(s.x-e.x,s.y-e.y);if(n===0)return[];let o={x:-(s.y-e.y)/n,y:(s.x-e.x)/n};return[1,-1].map(i=>({x:a.x+o.x*Bt*i,y:a.y+o.y*Bt*i}))},"besideThePath"),$r=l((r,t)=>{let a=[...Yt.map(r),...Yt.flatMap(n=>Ur(r,n))],e,s=Number.NEGATIVE_INFINITY;for(let n of a){if(!n||!Number.isFinite(n.x)||!Number.isFinite(n.y))continue;let o=Ar(n,t);if(o>=ur)return n;o>s&&(e=n,s=o)}return e},"chooseBadgePosition"),Zt=l((r,t)=>({...r,halfWidth:t,halfHeight:t}),"square"),Wr=l(r=>{let t=Gt.exec(r.getAttribute("transform")??"");return t?{x:Number(t[1]),y:Number(t[2])}:{x:0,y:0}},"translationOf"),kt=l(r=>{let t={x:0,y:0};for(let a=r;a&&a.localName!=="svg";a=a.parentElement){let{x:e,y:s}=Wr(a);t.x+=e,t.y+=s}return t},"offsetInSvg"),Hr=l((r,t)=>{if(!Gt.test(r.getAttribute("transform")??""))return;let a=kt(r),e=a.x-t.x,s=a.y-t.y,n=r.getBBox?.();if(n)return{x:e+n.x+n.width/2,y:s+n.y+n.height/2,halfWidth:n.width/2,halfHeight:n.height/2}},"boxedObstacle"),Yr=l(r=>{try{let t=JSON.parse(atob(r.getAttribute("data-points")??""));return Array.isArray(t)?t:[]}catch{return[]}},"readPoints"),Nt=l((r,t)=>{let a=Math.hypot(r.x-t.x,r.y-t.y);if(a===0)return Zt(r,Xt);let e={x:(r.x-t.x)/a,y:(r.y-t.y)/a},s=Xt/2;return{x:r.x-e.x*s,y:r.y-e.y*s,halfWidth:Math.abs(e.x)*s+Math.abs(e.y)*Pt,halfHeight:Math.abs(e.y)*s+Math.abs(e.x)*Pt}},"arrowheadObstacle"),Rt=l((r,t)=>{let a=r.getAttribute(t);return!!a&&a!=="none"},"hasMarker"),Xr=l((r,t)=>{let a=Yr(r).filter(i=>Number.isFinite(i?.x)&&Number.isFinite(i?.y));if(a.length===0)return[];let e=kt(r),s=l(i=>({x:i.x+e.x-t.x,y:i.y+e.y-t.y}),"toSvg"),n=a.length-1,o=[];return Rt(r,"marker-start")&&o.push(Nt(s(a[0]),s(a[Math.min(1,n)]))),Rt(r,"marker-end")&&o.push(Nt(s(a[n]),s(a[Math.max(n-1,0)]))),o},"arrowheadObstacles"),jt=l(r=>{let t={x:0,y:0},a=[...r?.querySelectorAll(".edgeLabel, .node")??[]].map(s=>Hr(s,t)).filter(s=>s!==void 0),e=[...r?.querySelectorAll('path[data-edge="true"]')??[]].flatMap(s=>Xr(s,t));return[...a,...e]},"collectBadgeObstacles"),Pr=l((r,t)=>{if(!r.label||t.length===0)return[];let{x:a,y:e}=U.calcLabelPosition(t);return[{x:a,y:e,halfWidth:(r.width??0)/2,halfHeight:(r.height??0)/2}]},"edgeLabelObstacles"),Br=l(r=>{let t=r/255;return t<=.03928?t/12.92:((t+.055)/1.055)**2.4},"linearChannel"),zt=l(r=>{try{let[t,a,e]=["r","g","b"].map(s=>Br(ut(r,s)));return .2126*t+.7152*a+.0722*e}catch{return}},"relativeLuminance"),Cr=l((r,t)=>{let a=zt(r),e=zt(t);return a===void 0||e===void 0?0:(Math.max(a,e)+.05)/(Math.min(a,e)+.05)},"contrastRatio"),Nr=l((r,t)=>{let e=[...t.filter(n=>!!n),"#ffffff","#000000"].map(n=>({color:n,ratio:Cr(r,n)}));return(e.find(({ratio:n})=>n>=gr)??e.reduce((n,o)=>o.ratio>n.ratio?o:n)).color},"pickBadgeTextColor"),Rr=l(r=>{let t=r?.replace(/^stroke:\s*/,"").trim();return t===""?void 0:t},"bareColor"),zr=l((r,t,a,e=jt(r.node()?.closest("svg")))=>{if(!mt(t)||!t.showStepNumber)return;let s=kt(r.node()),n=e.map(h=>({...h,x:h.x-s.x,y:h.y-s.y})),o=$r(Tr(a.points,a.pathNode),[...n,...Pr(t,a.points)]);if(!o)return;let i=Rr(a.color)??yr,c=r.append("g").attr("class","edge-step-badge").attr("transform",`translate(${o.x},${o.y})`).attr("pointer-events","none").attr("data-step",t.step);return c.append("circle").attr("r",ht).attr("fill",i),c.append("text").attr("text-anchor","middle").attr("dominant-baseline","central").attr("font-size",kr).attr("fill",Nr(i,a.textColors??[])).text(String(t.step)),Zt({x:o.x+s.x,y:o.y+s.y},ht)},"insertEdgeStepBadge"),Dt=l((r,t,a)=>{r.append("animateTransform").attr("attributeName","transform").attr("type","scale").attr("values","1;1").attr("dur",`${a}s`).attr("begin",`${t}.begin`).attr("fill","remove")},"showWhileStepPlays"),Dr=l((r,t,a,e,s)=>{if(!mt(t)||!a)return;let{begin:n,dur:o,gap:i}=Mr(t.step,t.stepCount??t.step,mr(t.stepDuration)),c=vr(`${e}-${t.id}-step`),h=`${Sr(a)}scale(0)`,f=s?.replace(/^stroke:\s*/,""),m=r.append("path").attr("class","edge-step-highlight").attr("aria-hidden","true").attr("d",a).attr("fill","none").attr("stroke",f??"currentColor").attr("stroke-width",xr).attr("stroke-linecap","round").attr("stroke-opacity",br).attr("pointer-events","none").attr("transform",h).attr("data-step",t.step);Dt(m,c,o);let d=r.append("circle").attr("class","edge-step-dot").attr("r",wr).attr("aria-hidden","true").attr("transform",h).attr("data-step",t.step);f&&d.attr("fill",f).attr("stroke","none"),d.append("animateMotion").attr("id",c).attr("path",a).attr("dur",`${o}s`).attr("begin",`${n}s;${c}.end+${i}s`).attr("fill","remove"),Dt(d,c,o),Er(r,e)},"insertEdgeStepDot"),et=new WeakMap,qr=l(r=>{let t=r.querySelector(":scope > g.edge-step-badges");if(t)return t;let a=r.ownerDocument.createElementNS("http://www.w3.org/2000/svg","g");return a.setAttribute("class","edge-step-badges"),r.appendChild(a)},"badgeLayer"),Na=l(r=>{let t=r?et.get(r):void 0;if(!r||!t)return;et.delete(r);let a=jt(r);for(let{elem:e,edge:s,options:n}of t){let o=e.node()?.parentElement;if(!o)continue;let i=T(qr(o)),c=zr(i,s,n,a);c&&a.push(c)}},"placeQueuedStepBadges"),Ir=l((r,t,a,e,s)=>{Dr(r,t,a,e,s.color);let n=r.node(),o=n?.ownerSVGElement??n;!o||!mt(t)||!t.showStepNumber||et.set(o,[...et.get(o)??[],{elem:r,edge:t,options:s}])},"insertEdgeStepMarks"),Fr=l((r,t,a,e,s,n=!1,o)=>{t.arrowTypeStart&&qt(r,"start",t.arrowTypeStart,a,e,s,n,o),t.arrowTypeEnd&&qt(r,"end",t.arrowTypeEnd,a,e,s,n,o)},"addEdgeMarkers"),Qr={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_barb_neo:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},arrow_open_head:{type:"openArrow",fill:!1},arrow_hollow_circle:{type:"hollowCircle",fill:!1},arrow_hierarchy:{type:"hierarchy",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},Gr=["cross","point","circle","lollipop","aggregation","extension","composition","dependency","barb"],qt=l((r,t,a,e,s,n,o=!1,i)=>{if(!a||a==="none")return;let c=Qr[a],h=c&&Gr.includes(c.type);if(!c){w.warn(`Unknown arrow type: ${a}`);return}let f=c.type,p=`${s}_${n}-${f}${t==="start"?"Start":"End"}${o&&h?"-margin":""}`;if(i&&i.trim()!==""){let u=i.replace(/[^\dA-Za-z]/g,"_"),y=`${p}_${u}`;if(!document.getElementById(y)){let k=document.getElementById(p);if(k){let _=k.cloneNode(!0);_.id=y,_.querySelectorAll("path, circle, line").forEach(H=>{H.setAttribute("stroke",i),c.fill&&H.setAttribute("fill",i)}),k.parentNode?.appendChild(_)}}r.attr(`marker-${t}`,`url(${e}#${y})`)}else r.attr(`marker-${t}`,`url(${e}#${p})`)},"addEdgeMarker"),Zr=l(r=>typeof r=="string"?r:A()?.flowchart?.curve,"resolveEdgeCurveType"),nt=new Map,L=new Map,Da=l(()=>{nt.clear(),L.clear()},"clear"),qa=l(r=>!!(r.label||r.startLabelLeft||r.startLabelRight||r.endLabelLeft||r.endLabelRight),"hasEdgeLabel"),V=l(r=>r?typeof r=="string"?r:r.reduce((t,a)=>t+";"+a,""):"","getLabelStyles"),Ia=l(async(r,t)=>{let a=A(),e=ct(a),{labelStyles:s}=gt(t);t.labelStyle=s;let n=r.insert("g").attr("class","edgeLabel"),o=n.insert("g").attr("class","label").attr("data-id",t.id),i=t.labelType==="markdown",h=await Ut(r,t.label,{style:V(t.labelStyle),useHtmlLabels:e,addSvgBackground:!0,isNode:!1,markdown:i,width:i?void 0:void 0},a);o.node().appendChild(h),w.info("abc82",t,t.labelType);let f,m;if(e){let p=h.children[0],u=T(h);f=await pt.measure(()=>p.getBoundingClientRect()),m=f,u.attr("width",f.width),u.attr("height",f.height)}else{let p=T(h).select("text").node();await pt.measure(()=>{f=h.getBBox(),p&&typeof p.getBBox=="function"?m=p.getBBox():m=f})}o.attr("transform",j(m,e)),nt.set(t.id,n),t.width=f.width,t.height=f.height;let d;if(t.startLabelLeft){let p=r.insert("g").attr("class","edgeTerminals"),u=p.insert("g").attr("class","inner"),y=await Z(u,t.startLabelLeft,V(t.labelStyle)||"",!1,!1);d=y;let k=y.getBBox();if(e){let _=y.children[0],b=T(y);k=_.getBoundingClientRect(),b.attr("width",k.width),b.attr("height",k.height)}u.attr("transform",j(k,e)),L.get(t.id)||L.set(t.id,{}),L.get(t.id).startLeft=p,tt(d,t.startLabelLeft,k),K(t,"startLeft",k)}if(t.startLabelRight){let p=r.insert("g").attr("class","edgeTerminals"),u=p.insert("g").attr("class","inner"),y=await Z(u,t.startLabelRight,V(t.labelStyle)||"",!1,!1);d=y;let k=y.getBBox();if(e){let _=y.children[0],b=T(y);k=_.getBoundingClientRect(),b.attr("width",k.width),b.attr("height",k.height)}u.attr("transform",j(k,e)),L.get(t.id)||L.set(t.id,{}),L.get(t.id).startRight=p,tt(d,t.startLabelRight,k),K(t,"startRight",k)}if(t.endLabelLeft){let p=r.insert("g").attr("class","edgeTerminals"),u=p.insert("g").attr("class","inner"),y=await Z(u,t.endLabelLeft,V(t.labelStyle)||"",!1,!1);d=y;let k=y.getBBox();if(e){let _=y.children[0],b=T(y);k=_.getBoundingClientRect(),b.attr("width",k.width),b.attr("height",k.height)}u.attr("transform",j(k,e)),L.get(t.id)||L.set(t.id,{}),L.get(t.id).endLeft=p,tt(d,t.endLabelLeft,k),K(t,"endLeft",k)}if(t.endLabelRight){let p=r.insert("g").attr("class","edgeTerminals"),u=p.insert("g").attr("class","inner"),y=await Z(u,t.endLabelRight,V(t.labelStyle)||"",!1,!1);d=y;let k=y.getBBox();if(e){let _=y.children[0],b=T(y);k=_.getBoundingClientRect(),b.attr("width",k.width),b.attr("height",k.height)}u.attr("transform",j(k,e)),L.get(t.id)||L.set(t.id,{}),L.get(t.id).endRight=p,tt(d,t.endLabelRight,k),K(t,"endRight",k)}return h},"insertEdgeLabel");function K(r,t,a){r.terminalLabelSizes??={},r.terminalLabelSizes[t]={width:a.width,height:a.height}}l(K,"recordTerminalLabelSize");function tt(r,t,a){ct(A())&&r&&(r.style.width=Math.max(t.length*9,a.width)+"px",r.style.height=a.height+"px")}l(tt,"setTerminalWidth");var jr=l((r,t)=>{let a=r.x,e=r.y;if(t?.updatedPath){let s=U.calcLabelPosition(t.updatedPath);if(t.originalPath){let n=U.calcLabelPosition(t.originalPath);a=r.x+(s.x-n.x),e=r.y+(s.y-n.y)}else a=s.x,e=s.y}return{x:a,y:e}},"resolveEdgeLabelPosition"),Fa=l((r,t)=>{w.debug("Moving label abc88 ",r.id,r.label,nt.get(r.id),t);let a=A(),{subGraphTitleTotalMargin:e}=Wt(a);if(r.label){let n=nt.get(r.id),{x:o,y:i}=jr(r,t);w.debug("Moving label "+r.label+" from (",r.x,",",r.y,") to (",o,",",i,") abc88"),n.attr("transform",`translate(${o}, ${i+e/2})`)}let s=t.updatedPath?t.updatedPath:t.originalPath;if(r.startLabelLeft){let n=L.get(r.id).startLeft,o=r.x,i=r.y;if(s){let c=U.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_left",s);o=c.x,i=c.y}n.attr("transform",`translate(${o}, ${i})`)}if(r.startLabelRight){let n=L.get(r.id).startRight,o=r.x,i=r.y;if(s){let c=U.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_right",s);o=c.x,i=c.y}n.attr("transform",`translate(${o}, ${i})`)}if(r.endLabelLeft){let n=L.get(r.id).endLeft,o=r.x,i=r.y;if(s){let c=U.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_left",s);o=c.x,i=c.y}n.attr("transform",`translate(${o}, ${i})`)}if(r.endLabelRight){let n=L.get(r.id).endRight,o=r.x,i=r.y;if(s){let c=U.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_right",s);o=c.x,i=c.y}n.attr("transform",`translate(${o}, ${i})`)}},"positionEdgeLabel"),q=.5,$=l((r,t)=>Math.abs(r.x-t.x)<q,"sharesColumn"),W=l((r,t)=>Math.abs(r.y-t.y)<q,"sharesRow"),Vt=l((r,t)=>$(r,t)&&W(r,t),"coincides");function Jt(r,t,a){return $(r,t)&&!W(r,t)?$(a,t):W(r,t)&&!$(r,t)?W(a,t):$(a,t)||W(a,t)}l(Jt,"keepsArrivalAxis");function Kt(r,t,a){return Vt(r,t)?{heading:t,from:a}:{heading:r,from:t}}l(Kt,"arrivalSegment");function tr({heading:r,from:t},a,e){return(r.x-t.x)*(e.x-a.x)+(r.y-t.y)*(e.y-a.y)<0}l(tr,"runsAgainstHeading");function rr({heading:r,from:t},a,e){return W(r,t)&&!$(r,t)?{x:e.x,y:a.y}:$(r,t)&&!W(r,t)?{x:a.x,y:e.y}:e}l(rr,"snapToArrivalAxis");function ar(r,t,a,e){if(($(r,t)||W(r,t))&&!Jt(r,t,e))return r;let n=Kt(r,t,a);return tr(n,t,e)?t:rr(n,t,e)}l(ar,"dockFinalPoint");function er(r){let t=Object.hasOwn(v,r)?v[r]:0;return Number.isFinite(t)?t:0}l(er,"markerPullBack");function nr({originalLast:r,lastInner:t,newLast:a,minLength:e}){let s=!Vt(r,t),n=Math.hypot(a.x-t.x,a.y-t.y);return n>=Math.max(q,e)?a:s&&n>=q?r:void 0}l(nr,"finalDockPoint");var Vr=l((r,t)=>{if(!r?.isLabelEdge||!r?.id?.endsWith("-to-label")||!Array.isArray(t)||t.length!==2)return t;let[a,e]=t,s=Math.abs(e.x-a.x),n=Math.abs(e.y-a.y);return s<.001||n<.001?t:n>=s?[a,{x:a.x,y:e.y},e]:[a,{x:e.x,y:a.y},e]},"orthogonalizeToLabelClippedPoints"),Jr=l((r,t)=>{let a=r.x,e=r.y,s=Math.abs(t.x-a),n=Math.abs(t.y-e),o=r.width/2,i=r.height/2;return s>=o||n>=i},"outsideNode"),Kr=l((r,t,a)=>{w.debug(`intersection calc abc89:
2
2
  outsidePoint: ${JSON.stringify(t)}
3
3
  insidePoint : ${JSON.stringify(a)}
4
4
  node : x:${r.x} y:${r.y} w:${r.width} h:${r.height}`);let e=r.x,s=r.y,n=Math.abs(e-a.x),o=r.width/2,i=a.x<t.x?o-n:o+n,c=r.height/2,h=Math.abs(t.y-a.y),f=Math.abs(t.x-a.x);if(Math.abs(s-t.y)*o>Math.abs(e-t.x)*c){let m=a.y<t.y?t.y-c-s:s-c-t.y;i=f*m/h;let d={x:a.x<t.x?a.x+i:a.x-f+i,y:a.y<t.y?a.y+h-m:a.y-h+m};return i===0&&(d.x=t.x,d.y=t.y),f===0&&(d.x=t.x),h===0&&(d.y=t.y),w.debug(`abc89 top/bottom calc, Q ${h}, q ${m}, R ${f}, r ${i}`,d),d}else{a.x<t.x?i=t.x-o-e:i=e-o-t.x;let m=h*i/f,d=a.x<t.x?a.x+f-i:a.x-f+i,p=a.y<t.y?a.y+m:a.y-m;return w.debug(`sides calc abc89, Q ${h}, q ${m}, R ${f}, r ${i}`,{_x:d,_y:p}),i===0&&(d=t.x,p=t.y),f===0&&(d=t.x),h===0&&(p=t.y),{x:d,y:p}}},"intersection"),It=l((r,t)=>{w.warn("abc88 cutPathAtIntersect",r,t);let a=[],e=r[0],s=!1;return r.forEach(n=>{if(w.info("abc88 checking point",n,t),!Jr(t,n)&&!s){let o=Kr(t,e,n);w.debug("abc88 inside",n,e,o),w.debug("abc88 intersection",o,t);let i=!1;a.forEach(c=>{i=i||c.x===o.x&&c.y===o.y}),a.some(c=>c.x===o.x&&c.y===o.y)?w.warn("abc88 no intersect",o,a):a.push(o),s=!0}else w.warn("abc88 outside",n,e),e=n,s||a.push(n)}),w.debug("returning points",a),a},"cutPathAtIntersect");function sr(r){let t=[],a=[];for(let e=1;e<r.length-1;e++){let s=r[e-1],n=r[e],o=r[e+1];(s.x===n.x&&n.y===o.y&&Math.abs(n.x-o.x)>5&&Math.abs(n.y-s.y)>5||s.y===n.y&&n.x===o.x&&Math.abs(n.x-s.x)>5&&Math.abs(n.y-o.y)>5)&&(t.push(n),a.push(e))}return{cornerPoints:t,cornerPointPositions:a}}l(sr,"extractCornerPoints");var Ft=l(function(r,t,a){let e=t.x-r.x,s=t.y-r.y,n=Math.sqrt(e*e+s*s),o=a/n;return{x:t.x-o*e,y:t.y-o*s}},"findAdjacentPoint"),ta=l(function(r){let{cornerPointPositions:t}=sr(r),a=[];for(let e=0;e<r.length;e++)if(t.includes(e)){let s=r[e-1],n=r[e+1],o=r[e],i=Ft(s,o,5),c=Ft(n,o,5),h=c.x-i.x,f=c.y-i.y;a.push(i);let m=Math.sqrt(2)*2,d={x:o.x,y:o.y};if(Math.abs(n.x-s.x)>10&&Math.abs(n.y-s.y)>=10){w.debug("Corner point fixing",Math.abs(n.x-s.x),Math.abs(n.y-s.y));let p=5;o.x===i.x?d={x:h<0?i.x-p+m:i.x+p-m,y:f<0?i.y-m:i.y+m}:d={x:h<0?i.x-m:i.x+m,y:f<0?i.y-p+m:i.y+p-m}}else w.debug("Corner point skipping fixing",Math.abs(n.x-s.x),Math.abs(n.y-s.y));a.push(d,c)}else a.push(r[e]);return a},"fixCorners"),ra=l((r,t,a)=>{let e=r-t-a,s=2,n=2,o=s+n,i=Math.floor(e/o),c=Number.isFinite(i)?Math.max(0,i):0,h=Array(c).fill(`${s} ${n}`).join(" ");return`0 ${t} ${h} ${a}`},"generateDashArray"),Qa=l(function(r,t,a,e,s,n,o,i=!1,c=void 0){if(!o)throw new Error(`insertEdge: missing diagramId for edge "${t.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);let{handDrawnSeed:h,layout:f}=A(),m=c??f,d=t.points,p=!1,u=s;var y=n;let k=[];for(let g in t.cssCompiledStyles)yt(g)||k.push(t.cssCompiledStyles[g]);if(m==="swimlane"){if(!i&&y.intersect&&u.intersect&&Array.isArray(d)&&d.length>=2)if(d.length===2){let[g,E]=d;d=$(g,E)||W(g,E)?[u.intersect(g),y.intersect(E)]:[u.intersect(E),y.intersect(g)]}else{let g=d.slice(1,-1),E=g[0],Y=g[g.length-1],X=u.intersect(E),N=d[d.length-1],Q=y.intersect(Y),G=g.at(-2)??d[0],D=ar(N,Y,G,Q),P=nr({originalLast:N,lastInner:Y,newLast:D,minLength:er(t.arrowTypeEnd)}),pr=Math.abs(X.x-E.x)<q&&Math.abs(X.y-E.y)<q?[]:[X],hr=P?[P]:[];d=[...pr,...g,...hr]}d=Vr(t,d)}else y.intersect&&u.intersect&&!i&&(d=d.slice(1,t.points.length-1),d.unshift(u.intersect(d[0])),d.push(y.intersect(d[d.length-1])));let _=btoa(JSON.stringify(d));t.toCluster&&(w.info("to cluster abc88",a.get(t.toCluster)),d=It(t.points,a.get(t.toCluster).node),p=!0),t.fromCluster&&(w.debug("from cluster abc88",a.get(t.fromCluster),JSON.stringify(d,null,2)),d=It(d.reverse(),a.get(t.fromCluster).node).reverse(),p=!0);let b=d.filter(g=>!Number.isNaN(g.y)),H=Zr(t.curve);H!=="rounded"&&(b=ta(b));let S=at;switch(H){case"linear":S=at;break;case"basis":S=dt;break;case"cardinal":S=Mt;break;case"bumpX":S=bt;break;case"bumpY":S=wt;break;case"catmullRom":S=vt;break;case"monotoneX":S=St;break;case"monotoneY":S=Lt;break;case"natural":S=_t;break;case"step":S=Et;break;case"stepAfter":S=Tt;break;case"stepBefore":S=Ot;break;case"rounded":S=at;break;default:S=dt}let{x:I,y:R}=fr(t),st=xt().x(I).y(R).curve(S),O;switch(t.thickness){case"normal":O="edge-thickness-normal";break;case"thick":O="edge-thickness-thick";break;case"invisible":O="edge-thickness-invisible";break;default:O="edge-thickness-normal"}switch(t.pattern){case"solid":O+=" edge-pattern-solid";break;case"dotted":O+=" edge-pattern-dotted";break;case"dashed":O+=" edge-pattern-dashed";break;default:O+=" edge-pattern-solid"}let M,F=H==="rounded"?or(ir(b,t),5):st(b),C=Array.isArray(t.style)?t.style:[t.style],ot=C.find(g=>g?.startsWith("stroke:")),z="";t.animate&&(z="edge-animation-fast"),t.animation&&(z="edge-animation-"+t.animation);let it=!1;if(t.look==="handDrawn"){let g=$t.svg(r);Object.assign([],b);let E=g.path(F,{roughness:.3,seed:h});O+=" transition",M=T(E).select("path").attr("id",`${o}-${t.id}`).attr("class"," "+O+(t.classes?" "+t.classes:"")+(z?" "+z:"")).attr("style",C?C.reduce((X,N)=>X+";"+N,""):"");let Y=M.attr("d");M.attr("d",Y),r.node().appendChild(M.node())}else{let g=k.join(";"),E=C?C.reduce((D,P)=>D+P+";",""):"",Y=(g?g+";"+E+";":E)+";"+(C?C.reduce((D,P)=>D+";"+P,""):"");M=r.append("path").attr("d",F).attr("id",`${o}-${t.id}`).attr("class"," "+O+(t.classes?" "+t.classes:"")+(z?" "+z:"")).attr("style",Y),ot=Y.match(/stroke:([^;]+)/)?.[1],it=t.animate===!0||!!t.animation||g.includes("animation");let X=M.node(),N=typeof X.getTotalLength=="function"?X.getTotalLength():0,Q=Ht[t.arrowTypeStart]||0,G=Ht[t.arrowTypeEnd]||0;if(t.look==="neo"&&!it){let P=`stroke-dasharray: ${t.pattern==="dotted"||t.pattern==="dashed"?ra(N,Q,G):`0 ${Q} ${N-Q-G} ${G}`}; stroke-dashoffset: 0;`;M.attr("style",P+M.attr("style"))}}if(M.attr("data-edge",!0),M.attr("data-et","edge"),M.attr("data-id",t.id),M.attr("data-points",_),M.attr("data-look",At(t.look)),t.step!==void 0){let{themeVariables:g}=A(),E=ot??g?.lineColor;Ir(r,t,F,o,{points:b,pathNode:M.node(),color:E,textColors:[g?.background,g?.primaryTextColor]})}t.showPoints&&b.forEach(g=>{r.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",g.x).attr("cy",g.y)});let rt="";(A().flowchart.arrowMarkerAbsolute||A().state.arrowMarkerAbsolute)&&(rt=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,rt=rt.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),w.info("arrowTypeStart",t.arrowTypeStart),w.info("arrowTypeEnd",t.arrowTypeEnd);let lr=!it&&t?.look==="neo";Fr(M,t,rt,o,e,lr,ot);let cr=Math.floor(d.length/2),dr=d[cr];U.isLabelCoordinateInPath(dr,M.attr("d"))||(p=!0);let lt={};return p&&(lt.updatedPath=d),lt.originalPath=t.points,lt},"insertEdge");function or(r,t){if(r.length<2)return"";let a="",e=r.length,s=1e-5;for(let n=0;n<e;n++){let o=r[n],i=r[n-1],c=r[n+1];if(n===0)a+=`M${o.x},${o.y}`;else if(n===e-1)a+=`L${o.x},${o.y}`;else{let h=o.x-i.x,f=o.y-i.y,m=c.x-o.x,d=c.y-o.y,p=Math.hypot(h,f),u=Math.hypot(m,d);if(p<s||u<s){a+=`L${o.x},${o.y}`;continue}let y=h/p,k=f/p,_=m/u,b=d/u,H=y*_+k*b,S=Math.max(-1,Math.min(1,H)),I=Math.acos(S);if(I<s||Math.abs(Math.PI-I)<s){a+=`L${o.x},${o.y}`;continue}let R=Math.min(t/Math.sin(I/2),p/2,u/2),st=o.x-y*R,O=o.y-k*R,M=o.x+_*R,F=o.y+b*R;a+=`L${st},${O}`,a+=`Q${o.x},${o.y} ${M},${F}`}}return a}l(or,"generateRoundedPath");function ft(r,t){if(!r||!t)return{angle:0,deltaX:0,deltaY:0};let a=t.x-r.x,e=t.y-r.y;return{angle:Math.atan2(e,a),deltaX:a,deltaY:e}}l(ft,"calculateDeltaAndAngle");function ir(r,t){let a=r.map(s=>({...s}));if(r.length>=2&&v[t.arrowTypeStart]){let s=v[t.arrowTypeStart],n=r[0],o=r[1],{angle:i}=ft(n,o),c=s*Math.cos(i),h=s*Math.sin(i);a[0].x=n.x+c,a[0].y=n.y+h}let e=r.length;if(e>=2&&v[t.arrowTypeEnd]){let s=v[t.arrowTypeEnd],n=r[e-1],o=r[e-2],{angle:i}=ft(o,n),c=s*Math.cos(i),h=s*Math.sin(i);a[e-1].x=n.x-c,a[e-1].y=n.y-h}return a}l(ir,"applyMarkerOffsetsToPoints");var aa=l((r,t,a,e)=>{t.forEach(s=>{Oa[s](r,a,e)})},"insertMarkers"),ea=l((r,t,a)=>{w.trace("Making markers for ",a),r.append("defs").append("marker").attr("id",a+"_"+t+"-extensionStart").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 1,7 L18,13 V 1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 1,1 V 13 L18,7 Z"),r.append("marker").attr("id",a+"_"+t+"-extensionStart-margin").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,7 18,13 18,1").style("stroke-width",2).style("stroke-dasharray","0"),r.append("defs").append("marker").attr("id",a+"_"+t+"-extensionEnd-margin").attr("class","marker extension "+t).attr("refX",9).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,1 10,13 18,7").style("stroke-width",2).style("stroke-dasharray","0")},"extension"),na=l((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-compositionStart").attr("class","marker composition "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-compositionStart-margin").attr("class","marker composition "+t).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("viewBox","0 0 15 15").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-compositionEnd-margin").attr("class","marker composition "+t).attr("refX",3.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),sa=l((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationStart-margin").attr("class","marker aggregation "+t).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationEnd-margin").attr("class","marker aggregation "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),oa=l((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyStart-margin").attr("class","marker dependency "+t).attr("refX",4).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyEnd-margin").attr("class","marker dependency "+t).attr("refX",16).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),ia=l((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),r.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopEnd").attr("class","marker lollipop "+t).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),r.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopStart-margin").attr("class","marker lollipop "+t).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2),r.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopEnd-margin").attr("class","marker lollipop "+t).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2)},"lollipop"),la=l((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-pointEnd-margin").attr("class","marker "+t).attr("viewBox","0 0 11.5 14").attr("refX",11.5).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10.5).attr("markerHeight",14).attr("orient","auto").append("path").attr("d","M 0 0 L 11.5 7 L 0 14 z").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-pointStart-margin").attr("class","marker "+t).attr("viewBox","0 0 11.5 14").attr("refX",1).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11.5).attr("markerHeight",14).attr("orient","auto").append("polygon").attr("points","0,7 11.5,14 11.5,0").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"point"),ca=l((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-circleEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-circleStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-circleEnd-margin").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refY",5).attr("refX",12.25).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-circleStart-margin").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"circle"),da=l((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-crossEnd").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-crossStart").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-crossEnd-margin").attr("class","marker cross "+t).attr("viewBox","0 0 15 15").attr("refX",17.7).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5),r.append("marker").attr("id",a+"_"+t+"-crossStart-margin").attr("class","marker cross "+t).attr("viewBox","0 0 15 15").attr("refX",-3.5).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5).style("stroke-dasharray","1,0")},"cross"),pa=l((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),ha=l((r,t,a)=>{let e=B(),{themeVariables:s}=e,{transitionColor:n}=s;r.append("defs").append("marker").attr("id",a+"_"+t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-barbEnd-margin").attr("refX",17).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z").attr("fill",`${n}`)},"barbNeo"),fa=l((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-onlyOneStart").attr("class","marker onlyOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),r.append("defs").append("marker").attr("id",a+"_"+t+"-onlyOneEnd").attr("class","marker onlyOne "+t).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),ma=l((r,t,a)=>{let e=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrOneStart").attr("class","marker zeroOrOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");e.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),e.append("path").attr("d","M9,0 L9,18");let s=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+t).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");s.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),s.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),ka=l((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-oneOrMoreStart").attr("class","marker oneOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),r.append("defs").append("marker").attr("id",a+"_"+t+"-oneOrMoreEnd").attr("class","marker oneOrMore "+t).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18")},"one_or_more"),ua=l((r,t,a)=>{let e=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");e.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),e.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");let s=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+t).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");s.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),s.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),ya=l((r,t,a)=>{let e=B(),{themeVariables:s}=e,{strokeWidth:n}=s;r.append("defs").append("marker").attr("id",a+"_"+t+"-onlyOneStart").attr("class","marker onlyOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M9,0 L9,18 M15,0 L15,18").attr("stroke-width",`${n}`),r.append("defs").append("marker").attr("id",a+"_"+t+"-onlyOneEnd").attr("class","marker onlyOne "+t).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M3,0 L3,18 M9,0 L9,18").attr("stroke-width",`${n}`)},"only_one_neo"),ga=l((r,t,a)=>{let e=B(),{themeVariables:s}=e,{strokeWidth:n,mainBkg:o}=s,i=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrOneStart").attr("class","marker zeroOrOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse");i.append("circle").attr("fill",o??"white").attr("cx",21).attr("cy",9).attr("stroke-width",`${n}`).attr("r",6),i.append("path").attr("d","M9,0 L9,18").attr("stroke-width",`${n}`);let c=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+t).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("markerUnits","userSpaceOnUse").attr("orient","auto");c.append("circle").attr("fill",o??"white").attr("cx",9).attr("cy",9).attr("stroke-width",`${n}`).attr("r",6),c.append("path").attr("d","M21,0 L21,18").attr("stroke-width",`${n}`)},"zero_or_one_neo"),xa=l((r,t,a)=>{let e=B(),{themeVariables:s}=e,{strokeWidth:n}=s;r.append("defs").append("marker").attr("id",a+"_"+t+"-oneOrMoreStart").attr("class","marker oneOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width",`${n}`),r.append("defs").append("marker").attr("id",a+"_"+t+"-oneOrMoreEnd").attr("class","marker oneOrMore "+t).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width",`${n}`)},"one_or_more_neo"),ba=l((r,t,a)=>{let e=B(),{themeVariables:s}=e,{strokeWidth:n,mainBkg:o}=s,i=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto");i.append("circle").attr("fill",o??"white").attr("cx",45.5).attr("cy",18).attr("r",6).attr("stroke-width",`${n}`),i.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width",`${n}`);let c=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+t).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse");c.append("circle").attr("fill",o??"white").attr("cx",11).attr("cy",18).attr("r",6).attr("stroke-width",`${n}`),c.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width",`${n}`)},"zero_or_more_neo"),wa=l((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0
@@ -7,4 +7,4 @@ import{a as Wt}from"./chunk-JD7ZBJD2.js";import{f as Z}from"./chunk-HOPPTA6H.js"
7
7
  L0,20`)},"requirement_arrow"),Ma=l((r,t,a)=>{let e=B(),{themeVariables:s}=e,{strokeWidth:n}=s;r.append("defs").append("marker").attr("id",a+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width",`${n}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0
8
8
  L20,10
9
9
  M20,10
10
- L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),va=l((r,t,a)=>{let e=r.append("defs").append("marker").attr("id",a+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");e.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),e.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),e.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),Sa=l((r,t,a)=>{let e=B(),{themeVariables:s}=e,{strokeWidth:n}=s,o=r.append("defs").append("marker").attr("id",a+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");o.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),o.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),o.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),o.selectAll("*").attr("stroke-width",`${n}`)},"requirement_contains_neo"),La=l((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",a+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),_a=l((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-openArrowEnd").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",11).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1 1 L 11 6 L 1 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",a+"_"+t+"-openArrowStart").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",1).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 11 1 L 1 6 L 11 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none")},"openArrow"),Ea=l((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-hollowCircleStart").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",a+"_"+t+"-hollowCircleEnd").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none")},"hollowCircle"),Oa={extension:ea,composition:na,aggregation:sa,dependency:oa,lollipop:ia,point:la,circle:ca,cross:da,barb:pa,barbNeo:ha,hierarchy:La,only_one:fa,zero_or_one:ma,one_or_more:ka,zero_or_more:ua,only_one_neo:ya,zero_or_one_neo:ga,one_or_more_neo:xa,zero_or_more_neo:ba,requirement_arrow:wa,requirement_contains:va,requirement_arrow_neo:Ma,requirement_contains_neo:Sa,openArrow:_a,hollowCircle:Ea},Ga=aa;export{v as a,Ht as b,mr as c,mt as d,Na as e,nt as f,L as g,Da as h,qa as i,Ia as j,jr as k,Fa as l,Qa as m,Ga as n};
10
+ L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),va=l((r,t,a)=>{let e=r.append("defs").append("marker").attr("id",a+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");e.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),e.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),e.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),Sa=l((r,t,a)=>{let e=B(),{themeVariables:s}=e,{strokeWidth:n}=s,o=r.append("defs").append("marker").attr("id",a+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");o.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),o.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),o.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),o.selectAll("*").attr("stroke-width",`${n}`)},"requirement_contains_neo"),La=l((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",a+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),_a=l((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-openArrowEnd").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",11).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1 1 L 11 6 L 1 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",a+"_"+t+"-openArrowStart").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",1).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 11 1 L 1 6 L 11 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none")},"openArrow"),Ea=l((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-hollowCircleStart").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",a+"_"+t+"-hollowCircleEnd").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none")},"hollowCircle"),Oa={extension:ea,composition:na,aggregation:sa,dependency:oa,lollipop:ia,point:la,circle:ca,cross:da,barb:pa,barbNeo:ha,hierarchy:La,only_one:fa,zero_or_one:ma,one_or_more:ka,zero_or_more:ua,only_one_neo:ya,zero_or_one_neo:ga,one_or_more_neo:xa,zero_or_more_neo:ba,requirement_arrow:wa,requirement_contains:va,requirement_arrow_neo:Ma,requirement_contains_neo:Sa,openArrow:_a,hollowCircle:Ea},Ga=aa;export{v as a,mr as b,mt as c,Na as d,nt as e,L as f,Da as g,qa as h,Ia as i,jr as j,Fa as k,Qa as l,Ga as m};
@@ -1,4 +1,4 @@
1
- import{d as be,e as we}from"./chunk-ISO77HML.js";import{s as U}from"./chunk-QEEA3KYY.js";import{C as ke,I as G,L as Q,N as xe,O as me}from"./chunk-KT4VPQD5.js";import{b as N,d as R}from"./chunk-JRSH5GNS.js";import{a as g}from"./chunk-GYT4IYBZ.js";function Y(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var S=Y();function ze(t){S=t}var P={exec:()=>null};function k(t,e=""){let n=typeof t=="string"?t:t.source,s={replace:(r,a)=>{let i=typeof a=="string"?a:a.source;return i=i.replace(b.caret,"$1"),n=n.replace(r,i),s},getRegex:()=>new RegExp(n,e)};return s}var et=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),b={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},tt=/^(?:[ \t]*(?:\n|$))+/,rt=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,nt=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,I=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,st=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,J=/(?:[*+-]|\d{1,9}[.)])/,Ae=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Le=k(Ae).replace(/bull/g,J).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),it=k(Ae).replace(/bull/g,J).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),ee=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,at=/^[^\n]+/,te=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,lt=k(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",te).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),ot=k(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,J).getRegex(),O="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",re=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,ct=k("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",re).replace("tag",O).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_e=k(ee).replace("hr",I).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",O).getRegex(),pt=k(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",_e).getRegex(),ne={blockquote:pt,code:rt,def:lt,fences:nt,heading:st,hr:I,html:ct,lheading:Le,list:ot,newline:tt,paragraph:_e,table:P,text:at},ye=k("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",I).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",O).getRegex(),ht={...ne,lheading:it,table:ye,paragraph:k(ee).replace("hr",I).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",ye).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",O).getRegex()},ut={...ne,html:k(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",re).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:P,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:k(ee).replace("hr",I).replace("heading",` *#{1,6} *[^
1
+ import{d as be,e as we}from"./chunk-5N2X2DXU.js";import{s as U}from"./chunk-QLS7NIYR.js";import{C as ke,I as G,L as Q,N as xe,O as me}from"./chunk-IVZHB6RS.js";import{b as N,d as R}from"./chunk-QQIGL7OP.js";import{a as g}from"./chunk-RJFVWYCA.js";function Y(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var S=Y();function ze(t){S=t}var P={exec:()=>null};function k(t,e=""){let n=typeof t=="string"?t:t.source,s={replace:(r,a)=>{let i=typeof a=="string"?a:a.source;return i=i.replace(b.caret,"$1"),n=n.replace(r,i),s},getRegex:()=>new RegExp(n,e)};return s}var et=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),b={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},tt=/^(?:[ \t]*(?:\n|$))+/,rt=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,nt=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,I=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,st=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,J=/(?:[*+-]|\d{1,9}[.)])/,Ae=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Le=k(Ae).replace(/bull/g,J).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),it=k(Ae).replace(/bull/g,J).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),ee=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,at=/^[^\n]+/,te=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,lt=k(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",te).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),ot=k(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,J).getRegex(),O="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",re=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,ct=k("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",re).replace("tag",O).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_e=k(ee).replace("hr",I).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",O).getRegex(),pt=k(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",_e).getRegex(),ne={blockquote:pt,code:rt,def:lt,fences:nt,heading:st,hr:I,html:ct,lheading:Le,list:ot,newline:tt,paragraph:_e,table:P,text:at},ye=k("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",I).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",O).getRegex(),ht={...ne,lheading:it,table:ye,paragraph:k(ee).replace("hr",I).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",ye).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",O).getRegex()},ut={...ne,html:k(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",re).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:P,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:k(ee).replace("hr",I).replace("heading",` *#{1,6} *[^
2
2
  ]`).replace("lheading",Le).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},gt=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,ft=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ee=/^( {2,}|\\)\n(?!\s*$)/,dt=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,F=/[\p{P}\p{S}]/u,se=/[\s\p{P}\p{S}]/u,Pe=/[^\s\p{P}\p{S}]/u,kt=k(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,se).getRegex(),Ie=/(?!~)[\p{P}\p{S}]/u,xt=/(?!~)[\s\p{P}\p{S}]/u,mt=/(?:[^\s\p{P}\p{S}]|~)/u,bt=k(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",et?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),Be=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,wt=k(Be,"u").replace(/punct/g,F).getRegex(),yt=k(Be,"u").replace(/punct/g,Ie).getRegex(),Ce="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Tt=k(Ce,"gu").replace(/notPunctSpace/g,Pe).replace(/punctSpace/g,se).replace(/punct/g,F).getRegex(),$t=k(Ce,"gu").replace(/notPunctSpace/g,mt).replace(/punctSpace/g,xt).replace(/punct/g,Ie).getRegex(),St=k("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Pe).replace(/punctSpace/g,se).replace(/punct/g,F).getRegex(),Rt=k(/\\(punct)/,"gu").replace(/punct/g,F).getRegex(),vt=k(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),zt=k(re).replace("(?:-->|$)","-->").getRegex(),At=k("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",zt).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),C=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Lt=k(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",C).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Me=k(/^!?\[(label)\]\[(ref)\]/).replace("label",C).replace("ref",te).getRegex(),qe=k(/^!?\[(ref)\](?:\[\])?/).replace("ref",te).getRegex(),_t=k("reflink|nolink(?!\\()","g").replace("reflink",Me).replace("nolink",qe).getRegex(),Te=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,ie={_backpedal:P,anyPunctuation:Rt,autolink:vt,blockSkip:bt,br:Ee,code:ft,del:P,emStrongLDelim:wt,emStrongRDelimAst:Tt,emStrongRDelimUnd:St,escape:gt,link:Lt,nolink:qe,punctuation:kt,reflink:Me,reflinkSearch:_t,tag:At,text:dt,url:P},Et={...ie,link:k(/^!?\[(label)\]\((.*?)\)/).replace("label",C).getRegex(),reflink:k(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",C).getRegex()},K={...ie,emStrongRDelimAst:$t,emStrongLDelim:yt,url:k(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Te).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:k(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",Te).getRegex()},Pt={...K,br:k(Ee).replace("{2,}","*").getRegex(),text:k(K.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},B={normal:ne,gfm:ht,pedantic:ut},L={normal:ie,gfm:K,breaks:Pt,pedantic:Et},It={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},$e=t=>It[t];function T(t,e){if(e){if(b.escapeTest.test(t))return t.replace(b.escapeReplace,$e)}else if(b.escapeTestNoEncode.test(t))return t.replace(b.escapeReplaceNoEncode,$e);return t}function Se(t){try{t=encodeURI(t).replace(b.percentDecode,"%")}catch{return null}return t}function Re(t,e){let n=t.replace(b.findPipe,(a,i,o)=>{let l=!1,c=i;for(;--c>=0&&o[c]==="\\";)l=!l;return l?"|":" |"}),s=n.split(b.splitPipe),r=0;if(s[0].trim()||s.shift(),s.length>0&&!s.at(-1)?.trim()&&s.pop(),e)if(s.length>e)s.splice(e);else for(;s.length<e;)s.push("");for(;r<s.length;r++)s[r]=s[r].trim().replace(b.slashPipe,"|");return s}function _(t,e,n){let s=t.length;if(s===0)return"";let r=0;for(;r<s;){let a=t.charAt(s-r-1);if(a===e&&!n)r++;else if(a!==e&&n)r++;else break}return t.slice(0,s-r)}function Bt(t,e){if(t.indexOf(e[1])===-1)return-1;let n=0;for(let s=0;s<t.length;s++)if(t[s]==="\\")s++;else if(t[s]===e[0])n++;else if(t[s]===e[1]&&(n--,n<0))return s;return n>0?-2:-1}function ve(t,e,n,s,r){let a=e.href,i=e.title||null,o=t[1].replace(r.other.outputLinkReplace,"$1");s.state.inLink=!0;let l={type:t[0].charAt(0)==="!"?"image":"link",raw:n,href:a,title:i,text:o,tokens:s.inlineTokens(o)};return s.state.inLink=!1,l}function Ct(t,e,n){let s=t.match(n.other.indentCodeCompensation);if(s===null)return e;let r=s[1];return e.split(`
3
3
  `).map(a=>{let i=a.match(n.other.beginningSpace);if(i===null)return a;let[o]=i;return o.length>=r.length?a.slice(r.length):a}).join(`
4
4
  `)}var M=class{options;rules;lexer;constructor(t){this.options=t||S}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let n=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?n:_(n,`
@@ -1,4 +1,4 @@
1
- import{a as p1}from"./chunk-C6J4A356.js";import{h as d1}from"./chunk-I3DMZIHV.js";import{a as f1}from"./chunk-VM2H7G2R.js";import{a as b1}from"./chunk-26TUJSYJ.js";import{a as zt,b as jt}from"./chunk-BZAMCJ6B.js";import{b as c1,c as h1}from"./chunk-6T55RVVR.js";import{c as l1,d as Ze}from"./chunk-K2KLZU7M.js";import{h as o1}from"./chunk-HOPPTA6H.js";import{b as r1,c as a1,d as n1,f as u1}from"./chunk-KU6GTEMS.js";import{q as Qe,t as Je}from"./chunk-QEEA3KYY.js";import{$ as pe,O as qt,U as Xt,V as Qt,W as Jt,X as Zt,Y as $t,Z as e1,_ as t1,a as Kt,aa as s1,b as Yt,ba as i1,g as Ht}from"./chunk-KT4VPQD5.js";import{b as J,d as Xe}from"./chunk-JRSH5GNS.js";import{a as A}from"./chunk-GYT4IYBZ.js";var E1="flowchart-",y1=["laneRole","laneIndex","drawnExtent"];function k1(e){if(!e||typeof e!="object")return e;let i={...e};for(let a of y1)Reflect.deleteProperty(i,a);return i}A(k1,"withoutInternalKeys");var x1=class{constructor(){this.vertexCounter=0,this.config=pe(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.droppedSubGraphMembers=[],this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=Qt,this.setAccDescription=Zt,this.setDiagramTitle=e1,this.getAccTitle=Jt,this.getAccDescription=$t,this.getDiagramTitle=t1,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}static{A(this,"FlowDB")}sanitizeText(e){return qt.sanitizeText(e,this.config)}sanitizeNodeLabelType(e){switch(e){case"markdown":case"string":case"text":return e;default:return"markdown"}}setDiagramId(e){this.diagramId=e}lookUpDomId(e){for(let i of this.vertices.values())if(i.id===e)return this.diagramId?`${this.diagramId}-${i.domId}`:i.domId;return this.diagramId?`${this.diagramId}-${e}`:e}addVertex(e,i,a,r,u,d,l={},b){if(!e||e.trim().length===0)return;let c;if(b!==void 0){let k;b.includes(`
1
+ import{a as p1}from"./chunk-N44XPVUD.js";import{a as f1}from"./chunk-JZGXHT3J.js";import{a as b1}from"./chunk-6CDZONCA.js";import{a as zt,b as jt}from"./chunk-AARGNXTW.js";import{b as c1,c as h1}from"./chunk-GWYODWCE.js";import{b as l1,c as Ze}from"./chunk-7JQUFVT4.js";import{h as d1}from"./chunk-7ASYMKN2.js";import{h as o1}from"./chunk-BOXAA5AP.js";import{b as r1,c as a1,d as n1,f as u1}from"./chunk-3CJU2RDX.js";import{q as Qe,t as Je}from"./chunk-QLS7NIYR.js";import{$ as pe,O as qt,U as Xt,V as Qt,W as Jt,X as Zt,Y as $t,Z as e1,_ as t1,a as Kt,aa as s1,b as Yt,ba as i1,g as Ht}from"./chunk-IVZHB6RS.js";import{b as J,d as Xe}from"./chunk-QQIGL7OP.js";import{a as A}from"./chunk-RJFVWYCA.js";var E1="flowchart-",y1=["laneRole","laneIndex","drawnExtent"];function k1(e){if(!e||typeof e!="object")return e;let i={...e};for(let a of y1)Reflect.deleteProperty(i,a);return i}A(k1,"withoutInternalKeys");var x1=class{constructor(){this.vertexCounter=0,this.config=pe(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.droppedSubGraphMembers=[],this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=Qt,this.setAccDescription=Zt,this.setDiagramTitle=e1,this.getAccTitle=Jt,this.getAccDescription=$t,this.getDiagramTitle=t1,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}static{A(this,"FlowDB")}sanitizeText(e){return qt.sanitizeText(e,this.config)}sanitizeNodeLabelType(e){switch(e){case"markdown":case"string":case"text":return e;default:return"markdown"}}setDiagramId(e){this.diagramId=e}lookUpDomId(e){for(let i of this.vertices.values())if(i.id===e)return this.diagramId?`${this.diagramId}-${i.domId}`:i.domId;return this.diagramId?`${this.diagramId}-${e}`:e}addVertex(e,i,a,r,u,d,l={},b){if(!e||e.trim().length===0)return;let c;if(b!==void 0){let k;b.includes(`
2
2
  `)?k=b+`
3
3
  `:k=`{
4
4
  `+b+`