@pi-outpost/embed 0.32.4 → 0.34.0

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 (234) hide show
  1. package/dist/{abnfDiagram-VCTEODGH-SjZtzoAs.cjs → abnfDiagram-YUKMZFIV-CgM8_qF6.cjs} +1 -1
  2. package/dist/{abnfDiagram-VCTEODGH-BX4P82Y6.js → abnfDiagram-YUKMZFIV-dNHR2FX4.js} +5 -5
  3. package/dist/architecture-WOLXFQ4H-DupyKILn.cjs +1 -0
  4. package/dist/architecture-WOLXFQ4H-X4ZWxzi-.js +3 -0
  5. package/dist/{architectureDiagram-5GKGNRK7-BRdxCCja.js → architectureDiagram-47P4ROYG-C_rUoWaO.js} +31 -31
  6. package/dist/{architectureDiagram-5GKGNRK7-wrDPdf3y.cjs → architectureDiagram-47P4ROYG-bflaQP1L.cjs} +3 -3
  7. package/dist/{blockDiagram-OSKFZWR5-Boo8WJyt.cjs → blockDiagram-E7TT5TSB-BKw9FE2U.cjs} +19 -8
  8. package/dist/{blockDiagram-OSKFZWR5-B1pU8Z2f.js → blockDiagram-E7TT5TSB-CEa2A5E9.js} +217 -193
  9. package/dist/c4Diagram-CRA5TL53-C-PuMGA5.cjs +38 -0
  10. package/dist/{c4Diagram-7LVT6UL2-WfERxhw2.js → c4Diagram-CRA5TL53-CtJh9DsO.js} +283 -273
  11. package/dist/channel-BjC1TKrU.cjs +1 -0
  12. package/dist/{channel-Cf_XiG-0.js → channel-DCXZw5aW.js} +1 -1
  13. package/dist/{chunk-OSK3NFVY-BUXOUgUl.js → chunk-2BW5OAIV-DWtmlmt_.js} +178 -154
  14. package/dist/chunk-2BW5OAIV-FkhgcL6B.cjs +10 -0
  15. package/dist/{chunk-75Z2AOVW-DoA8rENV.js → chunk-3YJQHVM4-BNbfg-7y.js} +235 -231
  16. package/dist/chunk-3YJQHVM4-ChvNe1M8.cjs +2 -0
  17. package/dist/chunk-4EA7E6EY-3OELTJ93.cjs +1 -0
  18. package/dist/{chunk-P2QGCYS3-BoMkrMIF.js → chunk-4EA7E6EY-B5P7n2an.js} +6 -6
  19. package/dist/{chunk-F27PBJKO-s9M3oGHp.js → chunk-7TKQ45FW-CD1KuemG.js} +2 -2
  20. package/dist/{chunk-F27PBJKO-3UPgzIlN.cjs → chunk-7TKQ45FW-Djscho_M.cjs} +1 -1
  21. package/dist/{chunk-SVP7TREG-CTKSOFlx.cjs → chunk-AW2ZBBNX-C4uNh90t.cjs} +3 -3
  22. package/dist/{chunk-SVP7TREG-weNUySou.js → chunk-AW2ZBBNX-CVsDDdv5.js} +33 -33
  23. package/dist/{chunk-GVQU2GXP-iZT_vNLp.cjs → chunk-DBDB3WZW-DSRcln4l.cjs} +1 -1
  24. package/dist/{chunk-GVQU2GXP-BhLneNgJ.js → chunk-DBDB3WZW-DpEOsLsQ.js} +3 -3
  25. package/dist/chunk-DUW6YSOI-2RXTEh_8.cjs +1 -0
  26. package/dist/chunk-DUW6YSOI-CVhxvrBO.js +10 -0
  27. package/dist/{chunk-GMAD6QVW-DZ2r0pLj.js → chunk-E2ZNV5FY-Bu796yUY.js} +354 -361
  28. package/dist/chunk-E2ZNV5FY-DIRTchKA.cjs +72 -0
  29. package/dist/chunk-EU5HNXII-DNBbmfcI.cjs +213 -0
  30. package/dist/{chunk-3NF5O7KM-DQV4G__C.js → chunk-EU5HNXII-DW-QTb0f.js} +426 -357
  31. package/dist/chunk-FVRAUYC3-Crqd-lTD.cjs +1 -0
  32. package/dist/chunk-FVRAUYC3-tiT7dtx-.js +356 -0
  33. package/dist/{chunk-PWAF6VOD-9dCi1q-p.js → chunk-HJ2JQQFS-CgYTXthn.js} +2 -2
  34. package/dist/{chunk-PWAF6VOD-CZZKCekP.cjs → chunk-HJ2JQQFS-DnrogIdt.cjs} +1 -1
  35. package/dist/chunk-HTAEGDNF-D4u24-lD.js +236 -0
  36. package/dist/chunk-HTAEGDNF-I4JlqwMr.cjs +1 -0
  37. package/dist/chunk-J5ZVWO5B-CK5HGA-t.cjs +1 -0
  38. package/dist/chunk-J5ZVWO5B-DEP-pB-1.js +12 -0
  39. package/dist/{chunk-POPQ4Y6H-BRQPB1-9.cjs → chunk-KQW6MTUR-C_XQxsme.cjs} +1 -1
  40. package/dist/{chunk-POPQ4Y6H-vLTNjxsT.js → chunk-KQW6MTUR-c0XOjr_c.js} +2 -2
  41. package/dist/chunk-NGNAAXSQ-DM0DL2MX.js +19836 -0
  42. package/dist/chunk-NGNAAXSQ-kHtfTQLE.cjs +136 -0
  43. package/dist/chunk-NTY3LDVX-CvRtOCpm.js +363 -0
  44. package/dist/chunk-NTY3LDVX-DBVRlnMJ.cjs +1 -0
  45. package/dist/chunk-VPRB5NB3-CT204jN6.cjs +129 -0
  46. package/dist/{chunk-DU6HZSFF-BW30DVuW.js → chunk-VPRB5NB3-DJh7spRO.js} +791 -611
  47. package/dist/chunk-XC4XBNZT-BTUjiQhE.cjs +62 -0
  48. package/dist/{chunk-4HAMMTFA-C2YXJpQw.js → chunk-XC4XBNZT-CSiWBPH9.js} +1378 -1079
  49. package/dist/classDiagram-v2-K4WV4PDN-BndXIwai.cjs +217 -0
  50. package/dist/{chunk-HLEWEB6X-BrzeadBj.js → classDiagram-v2-K4WV4PDN-C39xKke0.js} +254 -214
  51. package/dist/{conversationExport-QWEGKkKB.js → conversationExport-0aa7tXBv.js} +2 -2
  52. package/dist/{conversationExport-D2ekPeYe.cjs → conversationExport-BVHvnvh5.cjs} +1 -1
  53. package/dist/conversationHistory-CNfOwM8H.cjs +287 -0
  54. package/dist/{conversationHistory-BylZCAb1.js → conversationHistory-D-hT7EvD.js} +9066 -6513
  55. package/dist/cynefin-EF2NZ3EQ-BB_WO8YQ.js +3 -0
  56. package/dist/cynefin-EF2NZ3EQ-Du3-s5Z7.cjs +1 -0
  57. package/dist/{cynefinDiagram-5FMLGOSQ-GvGZco52.cjs → cynefinDiagram-3GCD6N5R-Bmvj-sQO.cjs} +1 -1
  58. package/dist/{cynefinDiagram-5FMLGOSQ-BEFzUfsd.js → cynefinDiagram-3GCD6N5R-C2CRSeJl.js} +14 -14
  59. package/dist/dagre-W4DXFKR2-ECmxkO0T.js +2356 -0
  60. package/dist/dagre-W4DXFKR2-aPKdYPEj.cjs +4 -0
  61. package/dist/diagram-2UJZ2QOL-B1JKtFHG.cjs +200 -0
  62. package/dist/diagram-2UJZ2QOL-CJRsGDwn.js +5081 -0
  63. package/dist/{diagram-VX7I27RA-Bx9fEhR0.cjs → diagram-OVF4WLC6-CwZeVpHT.cjs} +1 -1
  64. package/dist/{diagram-VX7I27RA-BK8jsKkD.js → diagram-OVF4WLC6-D6r6aTeO.js} +61 -61
  65. package/dist/{diagram-S7CK7UJ4-BH8mrGrv.js → diagram-PFPMY2P6-BpOJbdZ5.js} +15 -15
  66. package/dist/{diagram-S7CK7UJ4-BA67ZpiO.cjs → diagram-PFPMY2P6-DlLbGc_k.cjs} +3 -3
  67. package/dist/{diagram-Z3DM3KII-jy895UiZ.cjs → diagram-UMYRVEAY-BE-t_ZdV.cjs} +1 -1
  68. package/dist/{diagram-Z3DM3KII-CqouFf3D.js → diagram-UMYRVEAY-blW7NpUU.js} +14 -14
  69. package/dist/{diagram-UQ7AKVKN-Bvz7faiB.js → diagram-YEKJPTXX-BOgf87BN.js} +15 -15
  70. package/dist/{diagram-UQ7AKVKN-OteiyKD9.cjs → diagram-YEKJPTXX-CeQjir5H.cjs} +2 -2
  71. package/dist/diagram-ZIFT7M5P-BHePHmHl.cjs +3 -0
  72. package/dist/{diagram-VSXAHHWV-l9f6spkp.js → diagram-ZIFT7M5P-CZOnEYez.js} +40 -25
  73. package/dist/{docxExport-DK8uhXvT.js → docxExport-Cyk5ToUi.js} +1 -1
  74. package/dist/{docxExport-Dt55TJ2h.cjs → docxExport-DF-PXilo.cjs} +1 -1
  75. package/dist/{ebnfDiagram-PWID7BFC-Bwmmg23f.js → ebnfDiagram-VR2GEFS7-Cr0a3Ho_.js} +5 -5
  76. package/dist/{ebnfDiagram-PWID7BFC-BQZKHpUr.cjs → ebnfDiagram-VR2GEFS7-cgyTJ-Xs.cjs} +1 -1
  77. package/dist/elk-IJKZMXRS-NO3xNT-V.cjs +27 -0
  78. package/dist/elk-IJKZMXRS-V31is6hS.js +47984 -0
  79. package/dist/{erDiagram-2YWLMYGG-RTHTTqyH.js → erDiagram-O2IAPWRE-CP06GjjM.js} +60 -56
  80. package/dist/{erDiagram-2YWLMYGG-CuEEIv1I.cjs → erDiagram-O2IAPWRE-CnkFrABC.cjs} +13 -13
  81. package/dist/eventmodeling-K75KTNOO-CMoz0K5S.js +3 -0
  82. package/dist/eventmodeling-K75KTNOO-DZdZrgwl.cjs +1 -0
  83. package/dist/flowDiagram-OXPTDLAJ-BdYr7Idm.cjs +1 -0
  84. package/dist/flowDiagram-OXPTDLAJ-R_xf7pNW.js +16 -0
  85. package/dist/{ganttDiagram-EL5Y4UJY-PTWIufq8.cjs → ganttDiagram-R7TSEDQI-Jhax10tw.cjs} +3 -3
  86. package/dist/{ganttDiagram-EL5Y4UJY-BTvevd1z.js → ganttDiagram-R7TSEDQI-y1bDU8Ba.js} +103 -92
  87. package/dist/gitGraph-VSP46ZUC-DoTshgkY.js +3 -0
  88. package/dist/gitGraph-VSP46ZUC-lawIO6K6.cjs +1 -0
  89. package/dist/{gitGraphDiagram-WWUBYQGX-D5yozoaq.cjs → gitGraphDiagram-XJZIOB7I-CLZLQcPk.cjs} +5 -5
  90. package/dist/{gitGraphDiagram-WWUBYQGX-Bh9F7wif.js → gitGraphDiagram-XJZIOB7I-CYZa0-Ct.js} +45 -45
  91. package/dist/info-OHQRW6UA-DPTZOb30.js +3 -0
  92. package/dist/info-OHQRW6UA-deop1PPz.cjs +1 -0
  93. package/dist/infoDiagram-5W2HQ5XZ-D8fJK3ph.cjs +2 -0
  94. package/dist/{infoDiagram-FKFFQAWI-D6en39j4.js → infoDiagram-5W2HQ5XZ-Dw_D4zI1.js} +5 -5
  95. package/dist/{ishikawaDiagram-5VMMS53U-CvVqTWku.js → ishikawaDiagram-K3B6WC7H-BeLiZFVY.js} +25 -25
  96. package/dist/{ishikawaDiagram-5VMMS53U-DN23jmFw.cjs → ishikawaDiagram-K3B6WC7H-DtjgiZAB.cjs} +2 -2
  97. package/dist/{journeyDiagram-EYS64GPL-CqhBN0KZ.js → journeyDiagram-COXZFDF6-B-qvdudB.js} +31 -31
  98. package/dist/{journeyDiagram-EYS64GPL-Co9rp-Q1.cjs → journeyDiagram-COXZFDF6-Dge2AV0B.cjs} +4 -4
  99. package/dist/{kanban-definition-UXKFOSKX-DzKPVjAq.cjs → kanban-definition-P3RFRI5V-C02YfFZv.cjs} +4 -4
  100. package/dist/{kanban-definition-UXKFOSKX-CWx_Y40t.js → kanban-definition-P3RFRI5V-D0XAXDl8.js} +42 -42
  101. package/dist/{line-D6gR53Af.cjs → line-5eGinYgh.cjs} +1 -1
  102. package/dist/{line-CwYnx9Ke.js → line-BTenwQwq.js} +1 -1
  103. package/dist/loadReferencedImage-C60bzMNm.cjs +1 -0
  104. package/dist/{loadReferencedImage-BKEDAhWQ.js → loadReferencedImage-XQS67fhR.js} +3 -1
  105. package/dist/mermaid-parser.core-BHBS1DqP.cjs +6 -0
  106. package/dist/{mermaid-parser.core-DLNlSmfj.js → mermaid-parser.core-CI12FMcX.js} +163 -163
  107. package/dist/mermaid.core-4MZ-Iwu7.cjs +43 -0
  108. package/dist/{mermaid.core-DI1iFk6G.js → mermaid.core-BJkDCzqA.js} +875 -1150
  109. package/dist/{mindmap-definition-THT77NOG-Bo3D8RRT.cjs → mindmap-definition-LZFPQGKD-CXV1hV3a.cjs} +3 -3
  110. package/dist/{mindmap-definition-THT77NOG-B9hdpQgy.js → mindmap-definition-LZFPQGKD-gYumvdwo.js} +78 -78
  111. package/dist/packet-JDAUHWVQ-Bcik24Kz.js +3 -0
  112. package/dist/packet-JDAUHWVQ-CrY7ylWJ.cjs +1 -0
  113. package/dist/{pegDiagram-XKGWAZYB-Cx-wZf4B.cjs → pegDiagram-BGZESJAR-BICf3jMN.cjs} +1 -1
  114. package/dist/{pegDiagram-XKGWAZYB-CIBfY2Ob.js → pegDiagram-BGZESJAR-Dw9pRv5d.js} +5 -5
  115. package/dist/pi-outpost-embed.cjs +9 -10
  116. package/dist/pi-outpost-embed.js +2833 -2786
  117. package/dist/pie-XZMESJXO-BYQC-ufi.js +3 -0
  118. package/dist/pie-XZMESJXO-WjCBboSE.cjs +1 -0
  119. package/dist/{pieDiagram-E7YTZNPT-BC-pW4cK.cjs → pieDiagram-CAPJLFHJ-CF8cTQpC.cjs} +2 -2
  120. package/dist/{pieDiagram-E7YTZNPT-SG9oy_nV.js → pieDiagram-CAPJLFHJ-uz37FR9I.js} +18 -18
  121. package/dist/{quadrantDiagram-AXDQQJYC-C65HQ6gT.js → quadrantDiagram-GDMTTRAM-C4rt8LIh.js} +40 -40
  122. package/dist/{quadrantDiagram-AXDQQJYC-zPfqM9Q4.cjs → quadrantDiagram-GDMTTRAM-D9SYFJ_P.cjs} +2 -2
  123. package/dist/radar-ABXABTNO-BoQ7hH7Z.cjs +1 -0
  124. package/dist/radar-ABXABTNO-MxbyaZja.js +3 -0
  125. package/dist/railroad-I3PHUGI6-DckUArT-.js +3 -0
  126. package/dist/railroad-I3PHUGI6-DuGTlHry.cjs +1 -0
  127. package/dist/railroad-abnf-LNEFI6M7-DmAJaMEu.js +3 -0
  128. package/dist/railroad-abnf-LNEFI6M7-DoWf9u55.cjs +1 -0
  129. package/dist/railroad-ebnf-DWYD2UWJ-Bf05ZyW1.cjs +1 -0
  130. package/dist/railroad-ebnf-DWYD2UWJ-CS2AUYSv.js +3 -0
  131. package/dist/railroad-peg-JR7BVNR7-B-nctVbV.js +3 -0
  132. package/dist/railroad-peg-JR7BVNR7-CcV5KH4m.cjs +1 -0
  133. package/dist/{railroadDiagram-O6MQD6OU-3JsgWyLe.cjs → railroadDiagram-SM67HX2B-GgesxX7v.cjs} +1 -1
  134. package/dist/{railroadDiagram-O6MQD6OU-DLBEWyaH.js → railroadDiagram-SM67HX2B-T5SG0kEf.js} +5 -5
  135. package/dist/{requirementDiagram-IS5BZ75X-DwrHgMzq.js → requirementDiagram-X7JNWC4A-BEeCszC1.js} +49 -45
  136. package/dist/{requirementDiagram-IS5BZ75X-D1BMLxZg.cjs → requirementDiagram-X7JNWC4A-BVzf-VRr.cjs} +11 -11
  137. package/dist/{sankeyDiagram-P5KCCOFB-D5BHxcxB.cjs → sankeyDiagram-UM26HJRW-CdBXqklJ.cjs} +3 -3
  138. package/dist/{sankeyDiagram-P5KCCOFB-CcT0ZbW6.js → sankeyDiagram-UM26HJRW-DLDVzhPm.js} +16 -16
  139. package/dist/{sequenceDiagram-WJ2MYXX4-DM6BpXMT.js → sequenceDiagram-ZO4K6R2Y-B8wM6a-A.js} +704 -619
  140. package/dist/sequenceDiagram-ZO4K6R2Y-ytX57BES.cjs +169 -0
  141. package/dist/stateDiagram-v2-TBUQTH76-BTuAbG28.cjs +291 -0
  142. package/dist/{chunk-ZLD2IHE6-CqnVd2rq.js → stateDiagram-v2-TBUQTH76-PRnBJSrY.js} +271 -174
  143. package/dist/swimlanes-N4OXWK64-41SBE_L2.cjs +1 -0
  144. package/dist/{swimlanes-V6O3JKXN-BR7rwPmC.js → swimlanes-N4OXWK64-DipLcZla.js} +1006 -1219
  145. package/dist/swimlanesDiagram-K3J5GTZL-D6tIMgkj.cjs +8 -0
  146. package/dist/swimlanesDiagram-K3J5GTZL-_MehEHMi.js +27 -0
  147. package/dist/timeline-definition-YOQAKGHF-D_LWHCSA.cjs +120 -0
  148. package/dist/{timeline-definition-24CTP7MA-BQmq-H07.js → timeline-definition-YOQAKGHF-h8_spxIb.js} +210 -206
  149. package/dist/treeView-D4JQ5SDB-C3ticT1s.cjs +1 -0
  150. package/dist/treeView-D4JQ5SDB-CEuRf8gK.js +3 -0
  151. package/dist/treemap-SAJKECNS-BwIfwvl-.cjs +1 -0
  152. package/dist/treemap-SAJKECNS-DiC0668-.js +3 -0
  153. package/dist/usecaseDiagram-VIAY4XPW-DCfwvERR.js +7187 -0
  154. package/dist/usecaseDiagram-VIAY4XPW-PJHZiyJN.cjs +328 -0
  155. package/dist/{vennDiagram-4TSXK5OY-BdzbrV6i.js → vennDiagram-BLWOH2XV-_zHkfDVB.js} +43 -43
  156. package/dist/{vennDiagram-4TSXK5OY-D5MMYyff.cjs → vennDiagram-BLWOH2XV-niExkaFk.cjs} +3 -3
  157. package/dist/wardley-7MLQ67FV-BoIyQQ0E.cjs +1 -0
  158. package/dist/wardley-7MLQ67FV-CFF6IT1d.js +3 -0
  159. package/dist/{wardleyDiagram-VM6X3IG4-Ccz1enMd.js → wardleyDiagram-YMQ3BMBF-BKvQkiZP.js} +17 -17
  160. package/dist/{wardleyDiagram-VM6X3IG4-DzZNzmB8.cjs → wardleyDiagram-YMQ3BMBF-btlDrKA6.cjs} +3 -3
  161. package/dist/xychartDiagram-TAQBALBS-CkNZcyIi.cjs +7 -0
  162. package/dist/{xychartDiagram-S5SC5T6Z-B-sQkN_B.js → xychartDiagram-TAQBALBS-DlfKpBG9.js} +34 -30
  163. package/package.json +2 -2
  164. package/dist/architecture-7GRP2DOG-BtgYGXkq.cjs +0 -1
  165. package/dist/architecture-7GRP2DOG-DBQ9eYgM.js +0 -3
  166. package/dist/c4Diagram-7LVT6UL2-BCrC0RQo.cjs +0 -38
  167. package/dist/channel-DcrLLvcO.cjs +0 -1
  168. package/dist/chunk-3NF5O7KM-B-DpUW2r.cjs +0 -168
  169. package/dist/chunk-4HAMMTFA-CtkrBT7X.cjs +0 -62
  170. package/dist/chunk-75Z2AOVW-DOXS9ORa.cjs +0 -2
  171. package/dist/chunk-DU6HZSFF-3Hhp3Fo5.cjs +0 -127
  172. package/dist/chunk-FOHPRMQF-BNNbqxGX.js +0 -21456
  173. package/dist/chunk-FOHPRMQF-tmTlwTeH.cjs +0 -161
  174. package/dist/chunk-GMAD6QVW-B6uvB_wz.cjs +0 -72
  175. package/dist/chunk-HLEWEB6X-aqFoPl02.cjs +0 -206
  176. package/dist/chunk-L3NEJ4N5-BaR_9rF3.js +0 -245
  177. package/dist/chunk-L3NEJ4N5-vW3qRjIb.cjs +0 -1
  178. package/dist/chunk-OSK3NFVY-DU2FGOlI.cjs +0 -10
  179. package/dist/chunk-P2QGCYS3-DWeL9spl.cjs +0 -1
  180. package/dist/chunk-ZLD2IHE6-BZxKwfuv.cjs +0 -231
  181. package/dist/classDiagram-CYGNFDIV-CQLOfBmz.cjs +0 -1
  182. package/dist/classDiagram-CYGNFDIV-DsnY_WNO.js +0 -30
  183. package/dist/classDiagram-v2-TLXNO2FR-CQLOfBmz.cjs +0 -1
  184. package/dist/classDiagram-v2-TLXNO2FR-DeNpu9ZP.js +0 -30
  185. package/dist/conversationHistory-BmpdU77I.cjs +0 -286
  186. package/dist/cynefin-OW5HDTMX-BmLJra-4.cjs +0 -1
  187. package/dist/cynefin-OW5HDTMX-CfYr_cVN.js +0 -3
  188. package/dist/dagre-BMKbPnPh.js +0 -1934
  189. package/dist/dagre-EEW2OxRU.cjs +0 -1
  190. package/dist/dagre-OS7QT2EB-BtJ6v_Nc.js +0 -425
  191. package/dist/dagre-OS7QT2EB-DFi6nnZc.cjs +0 -4
  192. package/dist/diagram-VSXAHHWV-BjsZz1JJ.cjs +0 -3
  193. package/dist/eventmodeling-NTZA5JFV-D57pc07U.cjs +0 -1
  194. package/dist/eventmodeling-NTZA5JFV-DUbGOrrF.js +0 -3
  195. package/dist/flowDiagram-T62WH6J4-YyzE7N5Z.cjs +0 -1
  196. package/dist/flowDiagram-T62WH6J4-ptBWC6KI.js +0 -16
  197. package/dist/gitGraph-4MIJSDKK-CY4IuhXZ.js +0 -3
  198. package/dist/gitGraph-4MIJSDKK-D97vaDci.cjs +0 -1
  199. package/dist/info-A6RAGUB7-Cx39sHYM.js +0 -3
  200. package/dist/info-A6RAGUB7-DT06-FB3.cjs +0 -1
  201. package/dist/infoDiagram-FKFFQAWI-NPtQF4vB.cjs +0 -2
  202. package/dist/loadReferencedImage-DlRgJ4vm.cjs +0 -1
  203. package/dist/mermaid-parser.core-CBiDgMLi.cjs +0 -6
  204. package/dist/mermaid.core-B3QcBB1O.cjs +0 -43
  205. package/dist/packet-AYTQ26CC-BGX2McoE.cjs +0 -1
  206. package/dist/packet-AYTQ26CC-IgkU2VYK.js +0 -3
  207. package/dist/pie-WAS4IAKB-CEyPj3UJ.cjs +0 -1
  208. package/dist/pie-WAS4IAKB-odE0A7fM.js +0 -3
  209. package/dist/radar-RG4KPBEZ-ClYJNseM.cjs +0 -1
  210. package/dist/radar-RG4KPBEZ-DqbNqlJH.js +0 -3
  211. package/dist/railroad-74A4TZTK-Dzt4afqg.js +0 -3
  212. package/dist/railroad-74A4TZTK-hSKcr2y6.cjs +0 -1
  213. package/dist/railroad-abnf-HS5TGJTU-gq2RybTO.js +0 -3
  214. package/dist/railroad-abnf-HS5TGJTU-irEXz0eI.cjs +0 -1
  215. package/dist/railroad-ebnf-LZEXJU2U-CG19A1Xj.cjs +0 -1
  216. package/dist/railroad-ebnf-LZEXJU2U-D-pNpFrj.js +0 -3
  217. package/dist/railroad-peg-WCYAUIDC-BLdK3QCV.cjs +0 -1
  218. package/dist/railroad-peg-WCYAUIDC-Bo7wfe--.js +0 -3
  219. package/dist/sequenceDiagram-WJ2MYXX4-DlVJIIIl.cjs +0 -162
  220. package/dist/stateDiagram-XQSTLZYL-BhzcW44q.js +0 -220
  221. package/dist/stateDiagram-XQSTLZYL-mSOJx_Wv.cjs +0 -1
  222. package/dist/stateDiagram-v2-IH3M54BS-BE5CXOTu.js +0 -30
  223. package/dist/stateDiagram-v2-IH3M54BS-DAa6SuH4.cjs +0 -1
  224. package/dist/swimlanes-V6O3JKXN-BooYLGtP.cjs +0 -1
  225. package/dist/swimlanesDiagram-JKAHXJPX-BaMCBEUQ.cjs +0 -8
  226. package/dist/swimlanesDiagram-JKAHXJPX-lIPwQ8Mc.js +0 -30
  227. package/dist/timeline-definition-24CTP7MA-D6sSmprF.cjs +0 -120
  228. package/dist/treeView-Q6P3EWNA-BmkQxkVU.cjs +0 -1
  229. package/dist/treeView-Q6P3EWNA-CPEEGmNv.js +0 -3
  230. package/dist/treemap-WGGIJYW6-CGULpntJ.js +0 -3
  231. package/dist/treemap-WGGIJYW6-Dmi9HAR8.cjs +0 -1
  232. package/dist/wardley-WFR3VGLG-9zHZLKh9.js +0 -3
  233. package/dist/wardley-WFR3VGLG-B6YvLPJA.cjs +0 -1
  234. package/dist/xychartDiagram-S5SC5T6Z-BOsjfYJh.cjs +0 -7
@@ -0,0 +1,5081 @@
1
+ import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
2
+ import { m as t, p as n } from "./src-Dkp7vqs8.js";
3
+ import { C as r, G as i, H as a, U as o, _ as s, a as c, at as l, b as u, d, et as f, q as p, s as m, v as h } from "./chunk-VPRB5NB3-DJh7spRO.js";
4
+ import { t as g } from "./channel-DCXZw5aW.js";
5
+ import { _, c as v } from "./chunk-3YJQHVM4-BNbfg-7y.js";
6
+ import "./chunk-HJ2JQQFS-CgYTXthn.js";
7
+ import "./chunk-E2ZNV5FY-Bu796yUY.js";
8
+ import { t as y } from "./chunk-5VM5RSS4-BMfgdMFU.js";
9
+ import "./chunk-4EA7E6EY-B5P7n2an.js";
10
+ import { i as b, n as x, o as S, r as C } from "./chunk-J5ZVWO5B-DEP-pB-1.js";
11
+ import { a as w } from "./chunk-XC4XBNZT-CSiWBPH9.js";
12
+ import "./chunk-DBDB3WZW-DpEOsLsQ.js";
13
+ import "./chunk-2BW5OAIV-DWtmlmt_.js";
14
+ import { t as T } from "./chunk-7TKQ45FW-CD1KuemG.js";
15
+ import { t as E } from "./chunk-XXDRQBXY-IzhWXllg.js";
16
+ import { t as D } from "./chunk-KQW6MTUR-c0XOjr_c.js";
17
+ import "./chunk-NTY3LDVX-CvRtOCpm.js";
18
+ import { a as O, i as k, n as A, r as j } from "./mermaid.core-BJkDCzqA.js";
19
+ //#region ../node_modules/mermaid/dist/chunks/mermaid.core/diagram-2UJZ2QOL.mjs
20
+ var M = {
21
+ SHAPE_UNSUPPORTED: "SHAPE_UNSUPPORTED",
22
+ SHAPE_REMOVED: "SHAPE_REMOVED",
23
+ EDGE_OPERATOR_UNSUPPORTED: "EDGE_OPERATOR_UNSUPPORTED",
24
+ REFERENCE_EDGE_LABEL_REJECTED: "REFERENCE_EDGE_LABEL_REJECTED",
25
+ CONNECTOR_REF_UNRESOLVED: "CONNECTOR_REF_UNRESOLVED",
26
+ CONNECTOR_REF_NOT_A_CONNECTOR: "CONNECTOR_REF_NOT_A_CONNECTOR",
27
+ METADATA_KEY_MISAPPLIED: "METADATA_KEY_MISAPPLIED",
28
+ DUPLICATE_ID_NODE: "DUPLICATE_ID_NODE",
29
+ RESERVED_SYNTHETIC_ID: "RESERVED_SYNTHETIC_ID",
30
+ CONTAINMENT_VIOLATION: "CONTAINMENT_VIOLATION",
31
+ EDGE_SEMANTIC_CONTRADICTION: "EDGE_SEMANTIC_CONTRADICTION",
32
+ FLOW_NO_INPUT: "FLOW_NO_INPUT"
33
+ }, N = /* @__PURE__ */ new Set([
34
+ M.SHAPE_UNSUPPORTED,
35
+ M.SHAPE_REMOVED,
36
+ M.CONTAINMENT_VIOLATION
37
+ ]);
38
+ new Set(Object.values(M).filter((e) => !N.has(e)));
39
+ var P = /* @__PURE__ */ new Map([
40
+ ["task", "roundedRect"],
41
+ ["tool", "subroutine"],
42
+ ["input", "lean-right"],
43
+ ["decision", "diamond"],
44
+ ["refdoc", "lin-doc"],
45
+ ["action", "hexagon"],
46
+ ["round", "rect"]
47
+ ]), ee = /* @__PURE__ */ new Set(/* @__PURE__ */ "doc.stadium.terminal.circle.trapezoid.inv_trapezoid.inv-trapezoid.doublecircle.double-circle.typeDeclaration.procs.lean_left.lean-left.in-out.cylinder.ellipse.odd.tag-rect.tagged-rectangle.delay.half-rounded-rectangle.lin-rect.lined-rectangle.win-pane.window-pane.curv-trap.curved-trapezoid".split(".")), te = /* @__PURE__ */ new Set([
48
+ "roundedRect",
49
+ "subroutine",
50
+ "subprocess",
51
+ "subproc",
52
+ "framed-rectangle",
53
+ "lean-right",
54
+ "diamond",
55
+ "lin-doc",
56
+ "lined-document",
57
+ "hexagon",
58
+ "hex",
59
+ "connector",
60
+ "collapsedGroup"
61
+ ]), F = "roundedRect";
62
+ function I(e) {
63
+ return e && (P.get(e) ?? e);
64
+ }
65
+ e(I, "resolveShapeAlias");
66
+ function ne(e, n) {
67
+ for (let r of e) if (!r.isGroup) {
68
+ if ((!r.shape || r.shape === "squareRect" || r.shape === "rect") && (r.shape = F), ee.has(r.shape)) {
69
+ let e = `shape "${r.shape}" was removed in v0.8.1, using "${F}"`;
70
+ n?.emitError ? n.emitError("SHAPE_REMOVED", e, { nodeId: r.id }) : t.warn(`agentflow: ${e}`), r.shape = F;
71
+ continue;
72
+ }
73
+ if (!te.has(r.shape)) {
74
+ let e = `shape "${r.shape}" is not supported, using "${F}"`;
75
+ n?.emitWarning ? n.emitWarning("SHAPE_UNSUPPORTED", e, { nodeId: r.id }) : t.warn(`agentflow: ${e}`), r.shape = F;
76
+ }
77
+ }
78
+ }
79
+ e(ne, "normaliseNodeShapes");
80
+ var L = /* @__PURE__ */ new Map([
81
+ ["tool", 0],
82
+ ["task", 1],
83
+ ["decision", 2],
84
+ ["input", 3],
85
+ ["refdoc", 4],
86
+ ["connector", 5],
87
+ ["action", 6]
88
+ ]), R = L.size, z = /* @__PURE__ */ e((e) => `af-kind-${e}`, "kindClass"), B = [...L.keys()], V = /* @__PURE__ */ e((e) => Math.max(1, e - R), "containerSlotCount"), H = /* @__PURE__ */ e((e, t) => {
89
+ let n = R + e % V(t);
90
+ return t > 0 ? n % t : n;
91
+ }, "containerSlot");
92
+ function re(e, t, n) {
93
+ let r = u().themeVariables?.borderColorArray, i = Array.isArray(r) ? r.length : 0, a = n.size;
94
+ for (let r of e ?? []) {
95
+ if (r.isGroup || r.shape === "collapsedGroup") {
96
+ r.colorIndex = H(n.get(String(r.id)) ?? a++, i);
97
+ continue;
98
+ }
99
+ let e = t(String(r.id));
100
+ e && L.has(e) && (r.cssClasses = `${r.cssClasses ?? ""} ${z(e)}`.replace(/\s+/g, " ").trim());
101
+ }
102
+ }
103
+ e(re, "assignColorSlots");
104
+ var ie = "agentflow-", ae = /* @__PURE__ */ new Set([
105
+ "shape",
106
+ "view",
107
+ "icon",
108
+ "img",
109
+ "form",
110
+ "pos",
111
+ "w",
112
+ "h",
113
+ "class",
114
+ "style",
115
+ "labelType"
116
+ ]), oe = /* @__PURE__ */ new Set([
117
+ "subroutine",
118
+ "subprocess",
119
+ "subproc",
120
+ "framed-rectangle",
121
+ "tool"
122
+ ]), se = { flow: "flowGroup" };
123
+ function ce(e) {
124
+ if (Array.isArray(e)) return e.map((e) => ce(e));
125
+ if (typeof e != "object" || !e) return e;
126
+ let t = {};
127
+ for (let n of Object.keys(e)) n !== "__proto__" && n !== "constructor" && n !== "prototype" && (t[n] = ce(e[n]));
128
+ return t;
129
+ }
130
+ e(ce, "stripPrototypeKeys");
131
+ function le(e) {
132
+ let t = !1, n = !1, r = 0, i, a = [];
133
+ for (let o of e.split("\n")) {
134
+ if (i !== void 0) {
135
+ let e = o.length - o.trimStart().length;
136
+ if (o.trim() === "" || e > i) {
137
+ a.push(o);
138
+ continue;
139
+ }
140
+ i = void 0;
141
+ }
142
+ let e = -1;
143
+ for (let i = 0; i < o.length; i++) {
144
+ let a = o[i];
145
+ if (n) a === "\\" ? i++ : a === "\"" && (n = !1);
146
+ else if (t) a === "'" && (t = !1);
147
+ else if (a === "\"") n = !0;
148
+ else if (a === "'") t = !0;
149
+ else if (a === "#" && (i === 0 || o[i - 1] === " " || o[i - 1] === " ")) {
150
+ e = i;
151
+ break;
152
+ } else a === "[" || a === "{" ? r++ : (a === "]" || a === "}") && (r = Math.max(0, r - 1));
153
+ }
154
+ if (t || n || r > 0) {
155
+ a.push(o);
156
+ continue;
157
+ }
158
+ let s = e >= 0 ? o.slice(0, e) : o, c = e >= 0 ? o.slice(e) : "";
159
+ if (/:\s*[>|][\d+-]*\s*$/.test(s)) {
160
+ i = o.length - o.trimStart().length, a.push(o);
161
+ continue;
162
+ }
163
+ a.push(s.replace(/,([\t ]*)$/, "$1") + c);
164
+ }
165
+ return a.join("\n");
166
+ }
167
+ e(le, "stripLineTrailingCommas");
168
+ var ue = class {
169
+ constructor() {
170
+ this.vertexCounter = 0, this.config = u(), this.vertices = /* @__PURE__ */ new Map(), this.edges = [], this.classes = /* @__PURE__ */ new Map(), this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.globalNodes = /* @__PURE__ */ new Set(), this.connectors = /* @__PURE__ */ new Map(), this.tooltips = /* @__PURE__ */ new Map(), this.subCount = 0, this.firstGraphFlag = !0, this.secCount = -1, this.posCrossRef = [], this.diagramId = "", this.preserveCommentsWhenParsing = !0, this.frontmatterLineOffset = 0, this.elementMappings = [], this.bareVertexMappings = /* @__PURE__ */ new WeakSet(), this.diagnostics = [], this.postParseValidationRun = !1, this.funs = [], this.setAccTitle = o, this.setAccDescription = a, this.setDiagramTitle = p, this.getAccTitle = h, this.getAccDescription = s, this.getDiagramTitle = r, 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.addGlobal = this.addGlobal.bind(this), this.addConnector = this.addConnector.bind(this), this.addConnectorMapping = this.addConnectorMapping.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.setFrontmatterLineOffset = this.setFrontmatterLineOffset.bind(this), this.addVertexMapping = this.addVertexMapping.bind(this), this.extendVertexMapping = this.extendVertexMapping.bind(this), this.addEdgeMapping = this.addEdgeMapping.bind(this), this.addSubgraphMapping = this.addSubgraphMapping.bind(this), this.emitWarning = this.emitWarning.bind(this), this.emitError = this.emitError.bind(this), this.getDiagnostics = this.getDiagnostics.bind(this), this.lex = { firstGraph: this.firstGraph.bind(this) }, this.clear(), this.setGen("gen-2");
171
+ }
172
+ static {
173
+ e(this, "AgentFlowDB");
174
+ }
175
+ sanitizeText(e) {
176
+ return m.sanitizeText(e, this.config);
177
+ }
178
+ sanitizeNodeLabelType(e) {
179
+ switch (e) {
180
+ case "markdown":
181
+ case "string":
182
+ case "text": return e;
183
+ default: return "markdown";
184
+ }
185
+ }
186
+ setDiagramId(e) {
187
+ this.diagramId = e;
188
+ }
189
+ lookUpDomId(e) {
190
+ for (let t of this.vertices.values()) if (t.id === e) return this.diagramId ? `${this.diagramId}-${t.domId}` : t.domId;
191
+ return this.diagramId ? `${this.diagramId}-${e}` : e;
192
+ }
193
+ addVertex(e, t, n, r, i, a, o = {}, s, c) {
194
+ if (!e || e.trim().length === 0) return;
195
+ let l;
196
+ if (s !== void 0) {
197
+ let e;
198
+ e = s.includes("\n") ? s + "\n" : "{\n" + s + "\n}";
199
+ try {
200
+ l = j(e, { schema: A }) ?? {};
201
+ } catch (e) {
202
+ let t = s.includes("\n") ? le(s) : s;
203
+ if (t !== s) try {
204
+ l = j(t + "\n", { schema: A }) ?? {};
205
+ } catch {
206
+ this.rethrowMetadataYamlError(e, s, c);
207
+ }
208
+ else this.rethrowMetadataYamlError(e, s, c);
209
+ }
210
+ l = ce(l);
211
+ }
212
+ let d;
213
+ if (l && typeof l.shape == "string") {
214
+ let e = l;
215
+ d = e.shape;
216
+ let t = I(d);
217
+ t && t !== d && (e.shape = t);
218
+ }
219
+ let f = this.subGraphLookup.get(e);
220
+ if (f && l) {
221
+ f.metadata = {
222
+ ...f.metadata,
223
+ ...l
224
+ };
225
+ return;
226
+ }
227
+ let p = this.connectors.get(e);
228
+ if (p && l) {
229
+ p.metadata = {
230
+ ...p.metadata,
231
+ ...l
232
+ };
233
+ return;
234
+ }
235
+ if (e === "connectors") return;
236
+ let m = this.edges.find((t) => t.id === e);
237
+ if (m) {
238
+ let e = l;
239
+ e?.animate !== void 0 && (m.animate = e.animate), e?.animation !== void 0 && (m.animation = e.animation), e?.curve !== void 0 && (m.interpolate = e.curve), l && (m.metadata = {
240
+ ...m.metadata,
241
+ ...l
242
+ });
243
+ return;
244
+ }
245
+ let h, g = this.vertices.get(e);
246
+ if (g === void 0 && (g = {
247
+ id: e,
248
+ labelType: "text",
249
+ domId: ie + e + "-" + this.vertexCounter,
250
+ styles: [],
251
+ classes: []
252
+ }, this.vertices.set(e, g)), this.vertexCounter++, t === void 0 ? g.text === void 0 && (g.text = e) : (this.config = u(), h = this.sanitizeText(t.text.trim()), g.labelType = t.type, h.startsWith("\"") && h.endsWith("\"") && (h = h.substring(1, h.length - 1)), g.text = h), n !== void 0 && (g.type = n), r?.forEach((e) => {
253
+ g.styles.push(e);
254
+ }), i?.forEach((e) => {
255
+ g.classes.push(e);
256
+ }), a !== void 0 && (g.dir = a), g.props === void 0 ? g.props = o : o !== void 0 && Object.assign(g.props, o), l) {
257
+ if (g.metadata = {
258
+ ...g.metadata,
259
+ ...l
260
+ }, l.shape) {
261
+ let e = d ?? l.shape;
262
+ if (typeof e != "string") throw this.positionedShapeError(`No such shape: ${JSON.stringify(e)}.`, c);
263
+ if (e !== e.toLowerCase() || e.includes("_")) throw this.positionedShapeError(`No such shape: ${e}. Shape names should be lowercase.`, c);
264
+ if (!w(l.shape)) throw this.positionedShapeError(`No such shape: ${l.shape}.`, c);
265
+ g.type = l?.shape;
266
+ }
267
+ l?.label && (g.text = this.sanitizeText(l.label), g.labelType = this.sanitizeNodeLabelType(l?.labelType));
268
+ }
269
+ }
270
+ positionedShapeError(e, t) {
271
+ let n = Error(e);
272
+ if (!t) return n;
273
+ let r = t.first_line + this.frontmatterLineOffset;
274
+ return Object.assign(n, { hash: {
275
+ text: "",
276
+ token: null,
277
+ line: r - 1,
278
+ loc: {
279
+ first_line: r,
280
+ last_line: t.last_line + this.frontmatterLineOffset,
281
+ first_column: t.first_column,
282
+ last_column: t.last_column
283
+ },
284
+ expected: []
285
+ } }), n;
286
+ }
287
+ rethrowMetadataYamlError(t, n, r) {
288
+ let i = t;
289
+ if (!i || i.name !== "YAMLException" || !i.mark || !r) throw t;
290
+ let a;
291
+ try {
292
+ let t = !n.includes("\n"), o = t ? "{\n" + n + "\n}" : n + "\n", s = r.first_line + this.frontmatterLineOffset, c = r.first_column + 2, l = /* @__PURE__ */ e((e, n) => t ? {
293
+ line: s,
294
+ column: c + (e === 1 ? n : 0)
295
+ } : {
296
+ line: s + e,
297
+ column: e === 0 ? c + n : n
298
+ }, "toSource"), u = l(i.mark.line, i.mark.column), d = i.reason ?? (i.message ?? "").split("\n")[0].replace(/\s*\(\d+:\d+\)\s*$/, ""), f = o.split("\n"), p = [];
299
+ if (t) p.push(1);
300
+ else for (let e = i.mark.line - 1; e <= i.mark.line + 1; e++) e < 0 || e >= f.length || (e !== f.length - 1 || f[e] !== "" || e === i.mark.line) && p.push(e);
301
+ let m = Math.max(...p.map((e) => String(l(e, 0).line).length)), h = [];
302
+ for (let e of p) {
303
+ let t = l(e, 0).line, n = ` ${String(t).padStart(m)} | `;
304
+ h.push(n + f[e].replace(/\t/g, "→")), e === i.mark.line && h.push("-".repeat(n.length + i.mark.column) + "^");
305
+ }
306
+ a = {
307
+ message: `${d} (${u.line}:${u.column + 1})
308
+
309
+ ${h.join("\n")}`,
310
+ markLine: u.line - 1,
311
+ markColumn: u.column,
312
+ hash: {
313
+ text: "",
314
+ token: null,
315
+ line: u.line - 1,
316
+ loc: {
317
+ first_line: u.line,
318
+ last_line: u.line,
319
+ first_column: u.column,
320
+ last_column: u.column + 1
321
+ },
322
+ expected: []
323
+ }
324
+ };
325
+ } catch {}
326
+ throw a && (i.message = a.message, i.mark.line = a.markLine, i.mark.column = a.markColumn, i.hash = a.hash), i;
327
+ }
328
+ addSingleLink(e, n, r, i) {
329
+ let a = {
330
+ start: e,
331
+ end: n,
332
+ type: void 0,
333
+ text: "",
334
+ labelType: "text",
335
+ classes: [],
336
+ isUserDefinedId: !1,
337
+ interpolate: this.edges.defaultInterpolate
338
+ };
339
+ t.info("abc78 Got edge...", a);
340
+ let o = r.text;
341
+ if (o !== void 0 && (a.text = this.sanitizeText(o.text.trim()), a.text.startsWith("\"") && a.text.endsWith("\"") && (a.text = a.text.substring(1, a.text.length - 1)), a.labelType = this.sanitizeNodeLabelType(o.type)), r !== void 0 && (a.type = r.type, a.stroke = r.stroke, a.length = r.length > 10 ? 10 : r.length, r.edgeSemantic && (a.edgeSemantic = r.edgeSemantic)), i && !this.edges.some((e) => e.id === i)) a.id = i, a.isUserDefinedId = !0;
342
+ else {
343
+ let e = this.edges.filter((e) => e.start === a.start && e.end === a.end);
344
+ a.id = e.length === 0 ? v(a.start, a.end, {
345
+ counter: 0,
346
+ prefix: "L"
347
+ }) : v(a.start, a.end, {
348
+ counter: e.length + 1,
349
+ prefix: "L"
350
+ });
351
+ }
352
+ if (this.edges.length < (this.config.maxEdges ?? 500)) t.info("Pushing edge..."), this.edges.push(a);
353
+ else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
354
+
355
+ Initialize mermaid with maxEdges set to a higher number to allow more edges.
356
+ You cannot set this config via configuration inside the diagram as it is a secure config.
357
+ You have to call mermaid.initialize.`);
358
+ }
359
+ isLinkData(e) {
360
+ return typeof e == "object" && !!e && "id" in e && typeof e.id == "string";
361
+ }
362
+ addLink(e, n, r) {
363
+ let i = this.isLinkData(r) ? r.id.replace("@", "") : void 0;
364
+ t.info("addLink", e, n, i);
365
+ for (let t of e) for (let a of n) {
366
+ let o = t === e[e.length - 1], s = a === n[0];
367
+ o && s ? this.addSingleLink(t, a, r, i) : this.addSingleLink(t, a, r, void 0);
368
+ }
369
+ }
370
+ updateLinkInterpolate(e, t) {
371
+ e.forEach((e) => {
372
+ if (e === "default") {
373
+ this.edges.defaultInterpolate = t;
374
+ return;
375
+ }
376
+ if (typeof e == "number" && e >= this.edges.length) throw Error(`The index ${e} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length - 1}. (Help: Ensure that the index is within the range of existing edges.)`);
377
+ this.edges[e].interpolate = t;
378
+ });
379
+ }
380
+ updateLink(e, t) {
381
+ e.forEach((e) => {
382
+ if (typeof e == "number" && e >= this.edges.length) throw Error(`The index ${e} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length - 1}. (Help: Ensure that the index is within the range of existing edges.)`);
383
+ e === "default" ? this.edges.defaultStyle = t : (this.edges[e].style = t, (this.edges[e]?.style?.length ?? 0) > 0 && !this.edges[e]?.style?.some((e) => e?.startsWith("fill")) && this.edges[e]?.style?.push("fill:none"));
384
+ });
385
+ }
386
+ addClass(e, t) {
387
+ let n = t.join().replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
388
+ e.split(",").forEach((e) => {
389
+ let t = this.classes.get(e);
390
+ t === void 0 && (t = {
391
+ id: e,
392
+ styles: [],
393
+ textStyles: []
394
+ }, this.classes.set(e, t)), n?.forEach((e) => {
395
+ if (/color/.exec(e)) {
396
+ let n = e.replace("fill", "bgFill");
397
+ t.textStyles.push(n);
398
+ }
399
+ t.styles.push(e);
400
+ });
401
+ });
402
+ }
403
+ setDirection(e) {
404
+ this.direction = e.trim(), /.*</.exec(this.direction) && (this.direction = "RL"), /.*\^/.exec(this.direction) && (this.direction = "BT"), /.*>/.exec(this.direction) && (this.direction = "LR"), /.*v/.exec(this.direction) && (this.direction = "TB"), this.direction === "TD" && (this.direction = "TB");
405
+ }
406
+ setClass(e, t) {
407
+ for (let n of e.split(",")) {
408
+ let e = this.vertices.get(n);
409
+ e && e.classes.push(t);
410
+ let r = this.edges.find((e) => e.id === n);
411
+ r && r.classes.push(t);
412
+ let i = this.subGraphLookup.get(n);
413
+ i && i.classes.push(t);
414
+ }
415
+ }
416
+ setTooltip(e, t) {
417
+ if (t !== void 0) {
418
+ t = this.sanitizeText(t);
419
+ for (let n of e.split(",")) this.tooltips.set(this.version === "gen-1" ? this.lookUpDomId(n) : n, t);
420
+ }
421
+ }
422
+ setClickFun(e, t, n) {
423
+ if (u().securityLevel !== "loose" || t === void 0) return;
424
+ let r = [];
425
+ if (typeof n == "string") {
426
+ r = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
427
+ for (let e = 0; e < r.length; e++) {
428
+ let t = r[e].trim();
429
+ t.startsWith("\"") && t.endsWith("\"") && (t = t.substr(1, t.length - 2)), r[e] = t;
430
+ }
431
+ }
432
+ r.length === 0 && r.push(e);
433
+ let i = this.vertices.get(e);
434
+ i && (i.haveCallback = !0, this.funs.push(() => {
435
+ let n = this.lookUpDomId(e), i = document.querySelector(`[id="${n}"]`);
436
+ i !== null && i.addEventListener("click", () => {
437
+ _.runFunc(t, ...r);
438
+ }, !1);
439
+ }));
440
+ }
441
+ setLink(e, t, n) {
442
+ e.split(",").forEach((e) => {
443
+ let r = this.vertices.get(e);
444
+ r !== void 0 && (r.link = _.formatUrl(t, this.config), r.linkTarget = n);
445
+ }), this.setClass(e, "clickable");
446
+ }
447
+ getTooltip(e) {
448
+ return this.tooltips.get(e);
449
+ }
450
+ setClickEvent(e, t, n) {
451
+ e.split(",").forEach((e) => {
452
+ this.setClickFun(e, t, n);
453
+ }), this.setClass(e, "clickable");
454
+ }
455
+ bindFunctions(e) {
456
+ this.funs.forEach((t) => {
457
+ t(e);
458
+ });
459
+ }
460
+ getDirection() {
461
+ return this.direction?.trim();
462
+ }
463
+ getVertices() {
464
+ return this.vertices;
465
+ }
466
+ getEdges() {
467
+ return this.edges;
468
+ }
469
+ isToolDefinition(e) {
470
+ return oe.has(e.type);
471
+ }
472
+ getTools() {
473
+ let e = [];
474
+ for (let t of this.vertices.values()) this.isToolDefinition(t) && e.push(t);
475
+ return e;
476
+ }
477
+ getClasses() {
478
+ return this.classes;
479
+ }
480
+ setupToolTips(e) {
481
+ let t = T();
482
+ n(e).select("svg").selectAll("g.node").on("mouseover", (e) => {
483
+ let r = n(e.currentTarget), i = r.attr("title");
484
+ if (i === null) return;
485
+ let a = e.currentTarget?.getBoundingClientRect();
486
+ t.transition().duration(200).style("opacity", ".9"), t.text(r.attr("title")).style("left", window.scrollX + a.left + (a.right - a.left) / 2 + "px").style("top", window.scrollY + a.bottom + "px"), t.html(f.sanitize(i)), r.classed("hover", !0);
487
+ }).on("mouseout", (e) => {
488
+ t.transition().duration(500).style("opacity", 0), n(e.currentTarget).classed("hover", !1);
489
+ });
490
+ }
491
+ clear(e = "gen-2") {
492
+ this.vertices = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.edges = [], this.funs = [this.setupToolTips.bind(this)], this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.globalNodes = /* @__PURE__ */ new Set(), this.connectors = /* @__PURE__ */ new Map(), this.subCount = 0, this.tooltips = /* @__PURE__ */ new Map(), this.firstGraphFlag = !0, this.version = e, this.config = u(), this.diagramId = "", this.vertexCounter = 0, this.direction = void 0, this.secCount = -1, this.posCrossRef = [], this.frontmatterLineOffset = 0, this.elementMappings = [], this.bareVertexMappings = /* @__PURE__ */ new WeakSet(), this.diagnostics = [], this.postParseValidationRun = !1, c();
493
+ }
494
+ setGen(e) {
495
+ this.version = e || "gen-2";
496
+ }
497
+ defaultStyle() {
498
+ return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
499
+ }
500
+ addSubGraph(n, r, i, a) {
501
+ let o = n?.text?.trim(), s = i?.text;
502
+ n === i && i?.text && /\s/.exec(i.text) && (o = void 0);
503
+ let c = (/* @__PURE__ */ e((e) => {
504
+ let t = {
505
+ boolean: {},
506
+ number: {},
507
+ string: {}
508
+ }, n = [], r;
509
+ return {
510
+ nodeList: e.filter(function(e) {
511
+ let i = typeof e;
512
+ return e.stmt && e.stmt === "dir" ? (r = e.value, !1) : e.trim() === "" ? !1 : i in t ? t[i].hasOwnProperty(e) ? !1 : t[i][e] = !0 : !n.includes(e) && n.push(e);
513
+ }),
514
+ dir: r
515
+ };
516
+ }, "uniq"))(r.flat()), l = c.nodeList, d = c.dir, f = u().flowchart ?? {};
517
+ if (d ??= f.inheritDir ? this.getDirection() ?? u().direction ?? void 0 : void 0, this.version === "gen-1") for (let e = 0; e < l.length; e++) l[e] = this.lookUpDomId(l[e]);
518
+ o ??= "subGraph" + this.subCount, s ||= "", s = this.sanitizeText(s), this.subCount += 1;
519
+ let p = {
520
+ id: o,
521
+ nodes: l.filter((e) => e !== o && !this.globalNodes.has(e)),
522
+ title: s.trim(),
523
+ classes: [],
524
+ dir: d,
525
+ labelType: this.sanitizeNodeLabelType(i?.type),
526
+ type: a ?? "flow"
527
+ };
528
+ t.info("Adding", p.id, p.nodes, p.dir), p.nodes = this.makeUniq(p, this.subGraphs).nodes;
529
+ let m = this.getPosForId(o);
530
+ if (m !== -1) {
531
+ let e = this.subGraphs[m];
532
+ for (let t of p.nodes) e.nodes.includes(t) || e.nodes.push(t);
533
+ p.title && (e.title = p.title), p.dir && (e.dir = p.dir), p.type && (e.type = p.type), this.subGraphLookup.set(o, e);
534
+ } else this.subGraphs.push(p), this.subGraphLookup.set(o, p);
535
+ return o;
536
+ }
537
+ addGlobal(e) {
538
+ for (let t of e.flat()) {
539
+ if (typeof t != "string") continue;
540
+ let e = t.trim();
541
+ e !== "" && this.globalNodes.add(e);
542
+ }
543
+ for (let e of this.subGraphs) e.nodes = e.nodes.filter((e) => !this.globalNodes.has(e));
544
+ }
545
+ getPosForId(e) {
546
+ for (let [t, n] of this.subGraphs.entries()) if (n.id === e) return t;
547
+ return -1;
548
+ }
549
+ indexNodes2(e, t) {
550
+ let n = this.subGraphs[t].nodes;
551
+ if (this.secCount += 1, this.secCount > 2e3) return {
552
+ result: !1,
553
+ count: 0
554
+ };
555
+ if (this.posCrossRef[this.secCount] = t, this.subGraphs[t].id === e) return {
556
+ result: !0,
557
+ count: 0
558
+ };
559
+ let r = 0, i = 1;
560
+ for (; r < n.length;) {
561
+ let t = this.getPosForId(n[r]);
562
+ if (t >= 0) {
563
+ let n = this.indexNodes2(e, t);
564
+ if (n.result) return {
565
+ result: !0,
566
+ count: i + n.count
567
+ };
568
+ i += n.count;
569
+ }
570
+ r += 1;
571
+ }
572
+ return {
573
+ result: !1,
574
+ count: i
575
+ };
576
+ }
577
+ getDepthFirstPos(e) {
578
+ return this.posCrossRef[e];
579
+ }
580
+ indexNodes() {
581
+ this.secCount = -1, this.subGraphs.length > 0 && this.indexNodes2("none", this.subGraphs.length - 1);
582
+ }
583
+ addConnector(e, t) {
584
+ let n = e?.text?.trim();
585
+ if (!n) return "";
586
+ let r = t?.text?.trim() ?? "", i = r.length > 0 ? this.sanitizeText(r) : n, a = this.connectors.get(n);
587
+ return a ? r.length > 0 && (a.text = i) : (a = {
588
+ id: n,
589
+ labelType: "text",
590
+ domId: ie + n + "-" + this.vertexCounter,
591
+ styles: [],
592
+ classes: [],
593
+ isConnector: !0,
594
+ text: i
595
+ }, this.connectors.set(n, a), this.vertices.set(n, a), this.vertexCounter++), n;
596
+ }
597
+ getSubGraphs() {
598
+ return this.subGraphs;
599
+ }
600
+ getConnectors() {
601
+ return [...this.connectors.values()];
602
+ }
603
+ firstGraph() {
604
+ return this.firstGraphFlag ? (this.firstGraphFlag = !1, !0) : !1;
605
+ }
606
+ computeEdgeSemantic(e, t) {
607
+ if (e === "arrow_point" && t === "normal") return "sequence";
608
+ if (e === "arrow_cross" && t === "normal") return "failure";
609
+ if (e === "arrow_open" && t === "dotted") return "reference";
610
+ }
611
+ destructStartLink(e) {
612
+ let t = e.trim(), n = "normal";
613
+ return t.includes(".") && (n = "dotted"), {
614
+ type: "arrow_open",
615
+ stroke: n
616
+ };
617
+ }
618
+ countChar(e, t) {
619
+ let n = t.length, r = 0;
620
+ for (let i = 0; i < n; ++i) t[i] === e && ++r;
621
+ return r;
622
+ }
623
+ destructEndLink(e) {
624
+ let t = e.trim(), n = t.slice(0, -1), r = "arrow_open";
625
+ switch (t.slice(-1)) {
626
+ case "x":
627
+ r = "arrow_cross";
628
+ break;
629
+ case ">":
630
+ r = "arrow_point";
631
+ break;
632
+ case "-":
633
+ case ".": r = "arrow_open", n = t;
634
+ }
635
+ let i = "normal", a = n.length - 1, o = this.countChar(".", n);
636
+ return o > 0 && (i = "dotted", a = o), {
637
+ type: r,
638
+ stroke: i,
639
+ length: a
640
+ };
641
+ }
642
+ destructLink(e, t) {
643
+ let n = this.destructEndLink(e), r;
644
+ return t ? (r = this.destructStartLink(t), r.stroke === n.stroke ? (r.type = n.type, r.length = n.length, {
645
+ ...r,
646
+ edgeSemantic: this.computeEdgeSemantic(r.type, r.stroke)
647
+ }) : {
648
+ type: "INVALID",
649
+ stroke: "INVALID"
650
+ }) : {
651
+ ...n,
652
+ edgeSemantic: this.computeEdgeSemantic(n.type, n.stroke)
653
+ };
654
+ }
655
+ exists(e, t) {
656
+ for (let n of e) if (n.nodes.includes(t)) return !0;
657
+ return !1;
658
+ }
659
+ makeUniq(e, t) {
660
+ let n = [];
661
+ return e.nodes.forEach((r, i) => {
662
+ this.exists(t, r) || n.push(e.nodes[i]);
663
+ }), { nodes: n };
664
+ }
665
+ getTypeFromVertex(e) {
666
+ let t = typeof e.type == "string" ? I(e.type) : e.type;
667
+ switch (t) {
668
+ case "square":
669
+ case void 0: return "squareRect";
670
+ case "round": return "roundedRect";
671
+ case "ellipse": return "ellipse";
672
+ default: return t;
673
+ }
674
+ }
675
+ findNode(e, t) {
676
+ return e.find((e) => e.id === t);
677
+ }
678
+ destructEdgeType(e) {
679
+ let t = "none", n = "arrow_point";
680
+ switch (e) {
681
+ case "arrow_point":
682
+ case "arrow_circle":
683
+ case "arrow_cross":
684
+ case "arrow_hierarchy":
685
+ n = e;
686
+ break;
687
+ case "double_arrow_point":
688
+ case "double_arrow_circle":
689
+ case "double_arrow_cross": t = e.replace("double_", ""), n = t;
690
+ }
691
+ return {
692
+ arrowTypeStart: t,
693
+ arrowTypeEnd: n
694
+ };
695
+ }
696
+ addNodeFromVertex(e, t, n, r, i, a) {
697
+ let o = n.get(e.id), s = r.get(e.id) ?? !1, c = this.findNode(t, e.id);
698
+ if (c) c.cssStyles = e.styles, c.cssCompiledStyles = this.getCompiledStyles(e.classes), c.cssClasses = e.classes.join(" ");
699
+ else {
700
+ let n = {
701
+ id: e.id,
702
+ label: e.text,
703
+ labelType: e.labelType,
704
+ labelStyle: "",
705
+ parentId: o,
706
+ padding: i.flowchart?.padding || 8,
707
+ cssStyles: e.styles,
708
+ cssCompiledStyles: this.getCompiledStyles([
709
+ "default",
710
+ "node",
711
+ ...e.classes
712
+ ]),
713
+ cssClasses: "default " + e.classes.join(" "),
714
+ dir: e.dir,
715
+ domId: e.domId,
716
+ look: a,
717
+ link: e.link,
718
+ linkTarget: e.linkTarget,
719
+ tooltip: this.getTooltip(e.id),
720
+ metadata: e.metadata
721
+ };
722
+ s ? t.push({
723
+ ...n,
724
+ isGroup: !0,
725
+ shape: "rect"
726
+ }) : t.push({
727
+ ...n,
728
+ isGroup: !1,
729
+ shape: this.getTypeFromVertex(e),
730
+ wrappingWidth: i.agentflow?.wrappingWidth,
731
+ minWidth: i.agentflow?.minNodeWidth
732
+ });
733
+ }
734
+ }
735
+ getCompiledStyles(e) {
736
+ let t = [];
737
+ for (let n of e) {
738
+ let e = this.classes.get(n);
739
+ e?.styles && (t = [...t, ...e.styles ?? []].map((e) => e.trim())), e?.textStyles && (t = [...t, ...e.textStyles ?? []].map((e) => e.trim()));
740
+ }
741
+ return t;
742
+ }
743
+ runPostParseValidators() {
744
+ this.postParseValidationRun ||= !0;
745
+ }
746
+ getData() {
747
+ this.runPostParseValidators();
748
+ let t = u(), n = [], r = [], i = this.getSubGraphs(), a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ e((e, t, n = /* @__PURE__ */ new Set()) => {
749
+ if (n.has(e)) return;
750
+ n.add(e);
751
+ let r = this.subGraphLookup.get(e);
752
+ if (r) for (let e of r.nodes) e === t || n.has(e) || (s.add(e), c.set(e, t), l(e, t, n));
753
+ }, "collectDescendants");
754
+ for (let e of i) e.metadata?.view === "collapsed" && !s.has(e.id) && l(e.id, e.id);
755
+ let d = /* @__PURE__ */ e((e, t) => {
756
+ let n = /* @__PURE__ */ new Set(), r = t;
757
+ for (; r !== void 0 && !n.has(r);) {
758
+ if (r === e) return !0;
759
+ n.add(r), r = a.get(r);
760
+ }
761
+ return !1;
762
+ }, "wouldCloseContainmentCycle");
763
+ for (let e = i.length - 1; e >= 0; e--) {
764
+ let t = i[e];
765
+ if (!s.has(t.id)) {
766
+ t.nodes.length > 0 && o.set(t.id, !0);
767
+ for (let e of t.nodes) {
768
+ if (d(e, t.id)) {
769
+ this.emitWarning(M.CONTAINMENT_VIOLATION, `Container "${t.id}" cannot contain "${e}" because "${e}" already contains it. The nesting that would close the loop is dropped.`, { nodeId: e });
770
+ continue;
771
+ }
772
+ a.set(e, t.id);
773
+ }
774
+ }
775
+ }
776
+ for (let e = i.length - 1; e >= 0; e--) {
777
+ let r = i[e];
778
+ if (!s.has(r.id)) {
779
+ if (r.metadata?.view === "collapsed") {
780
+ let e = {
781
+ ...r.metadata,
782
+ containerType: r.type
783
+ };
784
+ n.push({
785
+ id: r.id,
786
+ label: r.title,
787
+ labelStyle: "",
788
+ labelType: r.labelType,
789
+ parentId: a.get(r.id),
790
+ padding: 8,
791
+ cssCompiledStyles: this.getCompiledStyles(r.classes),
792
+ cssClasses: r.classes.join(" "),
793
+ shape: "collapsedGroup",
794
+ dir: r.dir,
795
+ isGroup: !1,
796
+ look: t.look,
797
+ metadata: e
798
+ });
799
+ } else n.push({
800
+ id: r.id,
801
+ label: r.title,
802
+ labelStyle: "",
803
+ labelType: r.labelType,
804
+ parentId: a.get(r.id),
805
+ padding: 8,
806
+ cssCompiledStyles: this.getCompiledStyles(r.classes),
807
+ cssClasses: r.classes.join(" "),
808
+ shape: se[r.type ?? "flow"],
809
+ dir: r.dir,
810
+ isGroup: !0,
811
+ look: t.look,
812
+ metadata: r.metadata
813
+ });
814
+ }
815
+ }
816
+ this.getVertices().forEach((e) => {
817
+ s.has(e.id) || this.addNodeFromVertex(e, n, a, o, t, t.look || "classic");
818
+ });
819
+ let f = this.getEdges();
820
+ f.forEach((e, n) => {
821
+ let i = c.get(e.start) ?? e.start, a = c.get(e.end) ?? e.end;
822
+ if (i === a && e.start !== e.end) return;
823
+ let { arrowTypeStart: o, arrowTypeEnd: s } = this.destructEdgeType(e.type), l = [...f.defaultStyle ?? []];
824
+ e.style && l.push(...e.style);
825
+ let u = {
826
+ id: v(i, a, {
827
+ counter: n,
828
+ prefix: "L"
829
+ }, e.id),
830
+ isUserDefinedId: e.isUserDefinedId,
831
+ start: i,
832
+ end: a,
833
+ type: e.type ?? "normal",
834
+ label: e.text,
835
+ labelType: e.labelType,
836
+ labelpos: "c",
837
+ thickness: e.stroke,
838
+ minlen: e.length,
839
+ classes: e?.stroke === "invisible" ? "" : "edge-thickness-normal edge-pattern-solid flowchart-link",
840
+ arrowTypeStart: e?.stroke === "invisible" || e?.type === "arrow_open" ? "none" : o,
841
+ arrowTypeEnd: e?.stroke === "invisible" || e?.type === "arrow_open" ? "none" : s,
842
+ arrowheadStyle: "fill: #333",
843
+ cssCompiledStyles: this.getCompiledStyles(e.classes),
844
+ labelStyle: l,
845
+ style: l,
846
+ pattern: e.stroke,
847
+ look: t.look,
848
+ animate: e.animate,
849
+ animation: e.animation,
850
+ curve: e.interpolate || this.edges.defaultInterpolate || t.flowchart?.curve,
851
+ metadata: e.metadata
852
+ };
853
+ r.push(u);
854
+ }), ne(n, this);
855
+ let p = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Map();
856
+ for (let e of i) {
857
+ let t = a.get(e.id);
858
+ t !== void 0 && m.set(t, [...m.get(t) ?? [], e.id]);
859
+ }
860
+ let h = 0, g = /* @__PURE__ */ e((e) => {
861
+ if (!p.has(e)) {
862
+ p.set(e, h++);
863
+ for (let t of m.get(e) ?? []) g(t);
864
+ }
865
+ }, "walkContainers");
866
+ for (let e of i) a.get(e.id) === void 0 && g(e.id);
867
+ let _ = new Set(this.getConnectors().map((e) => e.id));
868
+ return re(n, (e) => {
869
+ if (_.has(e)) return "connector";
870
+ let t = this.vertices.get(e);
871
+ return t ? this.deriveVertexKind(t, I(t.type)) : void 0;
872
+ }, p), {
873
+ nodes: n,
874
+ edges: r,
875
+ other: {},
876
+ config: t,
877
+ connectors: this.getConnectors()
878
+ };
879
+ }
880
+ defaultConfig() {
881
+ return d.flowchart;
882
+ }
883
+ deriveVertexKind(e, t) {
884
+ return this.isToolDefinition(e) ? "tool" : t === "hexagon" || t === "hex" ? "action" : t === "lean-right" || t === "lean_right" ? "input" : t === "lin-doc" || t === "lined-document" ? "refdoc" : t === "diamond" ? "decision" : "task";
885
+ }
886
+ getSemanticModel() {
887
+ this.runPostParseValidators();
888
+ let e = new Set(this.subGraphs.map((e) => e.id)), t = [], n = [];
889
+ for (let [r, i] of this.vertices) {
890
+ if (e.has(r)) continue;
891
+ if (i.isConnector) {
892
+ let e = { id: r };
893
+ if (i.text !== void 0 && i.text !== r && (e.title = i.text), i.metadata && Object.keys(i.metadata).length > 0) {
894
+ let t = {};
895
+ for (let [e, n] of Object.entries(i.metadata)) ae.has(e) || (t[e] = n);
896
+ Object.keys(t).length > 0 && (e.metadata = t);
897
+ }
898
+ n.push(e);
899
+ continue;
900
+ }
901
+ let a = { id: r };
902
+ i.text !== void 0 && (a.label = i.text);
903
+ let o = typeof i.type == "string" ? I(i.type) : i.type;
904
+ if (o !== void 0 && (a.shape = o), a.vertexKind = this.deriveVertexKind(i, o), i.metadata && Object.keys(i.metadata).length > 0) {
905
+ let e = {};
906
+ for (let [t, n] of Object.entries(i.metadata)) ae.has(t) || (e[t] = n);
907
+ Object.keys(e).length > 0 && (a.metadata = e);
908
+ }
909
+ t.push(a);
910
+ }
911
+ let r = {
912
+ vertices: t,
913
+ edges: this.edges.map((e) => {
914
+ let t = {
915
+ start: e.start,
916
+ end: e.end
917
+ };
918
+ return e.id !== void 0 && (t.id = e.id), typeof e.text == "string" && e.text.length > 0 && (t.label = e.text), e.type !== void 0 && (t.type = e.type), e.stroke !== void 0 && (t.stroke = e.stroke), e.edgeSemantic !== void 0 && (t.edgeSemantic = e.edgeSemantic), e.length !== void 0 && (t.length = e.length), e.metadata && Object.keys(e.metadata).length > 0 && (t.metadata = { ...e.metadata }), t;
919
+ }),
920
+ subGraphs: this.subGraphs.map((e) => {
921
+ let t = {
922
+ id: e.id,
923
+ nodes: [...e.nodes]
924
+ };
925
+ if (e.type !== void 0 && (t.type = e.type), e.title !== void 0 && (t.title = e.title), e.dir !== void 0 && (t.direction = e.dir), e.metadata && Object.keys(e.metadata).length > 0) {
926
+ let n = {};
927
+ for (let [t, r] of Object.entries(e.metadata)) ae.has(t) || (n[t] = r);
928
+ Object.keys(n).length > 0 && (t.metadata = n);
929
+ }
930
+ return t;
931
+ }),
932
+ connectors: n,
933
+ diagnostics: this.diagnostics
934
+ };
935
+ return this.direction !== void 0 && (r.direction = this.direction), r;
936
+ }
937
+ setFrontmatterLineOffset(e) {
938
+ this.frontmatterLineOffset = e ?? 0;
939
+ }
940
+ toElementPosition(e) {
941
+ let t = e?.first_line ?? 0, n = e?.first_column ?? 0, r = e?.last_line ?? t, i = e?.last_column ?? n, [a, o] = e?.range ?? [0, 0];
942
+ return {
943
+ startLine: t + this.frontmatterLineOffset,
944
+ startColumn: n,
945
+ endLine: r + this.frontmatterLineOffset,
946
+ endColumn: i,
947
+ startIndex: a,
948
+ endIndex: o
949
+ };
950
+ }
951
+ pushMapping(e, t, n) {
952
+ if (!e) return;
953
+ let r = {
954
+ id: e,
955
+ type: t,
956
+ position: this.toElementPosition(n)
957
+ };
958
+ return this.elementMappings.push(r), r;
959
+ }
960
+ addVertexMapping(e, t, n, r) {
961
+ let i = this.pushMapping(e, "vertex", r);
962
+ i && n == null && this.bareVertexMappings.add(i);
963
+ }
964
+ extendVertexMapping(e, t) {
965
+ if (!e || !t) return;
966
+ let n = this.toElementPosition(t);
967
+ for (let t = this.elementMappings.length - 1; t >= 0; t--) {
968
+ let r = this.elementMappings[t];
969
+ if (r.type === "vertex" && r.id === e) {
970
+ this.bareVertexMappings.has(r) && (r.type = "attachment", this.bareVertexMappings.delete(r)), (n.endLine > r.position.endLine || n.endLine === r.position.endLine && n.endColumn > r.position.endColumn) && (r.position.endLine = n.endLine, r.position.endColumn = n.endColumn, r.position.endIndex = n.endIndex);
971
+ return;
972
+ }
973
+ }
974
+ this.pushMapping(e, "attachment", t);
975
+ }
976
+ addEdgeMapping(e, t, n, r) {
977
+ let i = Array.isArray(t) ? t.map((e) => typeof e == "string" ? e : e?.id ?? "").filter(Boolean) : [], a = i.length > 0 ? i.join(">") : "edge";
978
+ this.pushMapping(a, "edge", r);
979
+ }
980
+ addSubgraphMapping(e, t, n, r) {
981
+ let i = (typeof e == "string" ? e : e?.text) ?? "", a = this.toElementPosition(n), o = r ? this.toElementPosition(r) : a;
982
+ i && this.elementMappings.push({
983
+ id: i,
984
+ type: "subgraph",
985
+ position: {
986
+ startLine: a.startLine,
987
+ startColumn: a.startColumn,
988
+ endLine: o.endLine,
989
+ endColumn: o.endColumn,
990
+ startIndex: a.startIndex,
991
+ endIndex: o.endIndex
992
+ }
993
+ });
994
+ }
995
+ addConnectorMapping(e, t, n, r) {
996
+ let i = e?.text?.trim() ?? "";
997
+ if (!i) return;
998
+ let a = this.toElementPosition(n), o = r ? this.toElementPosition(r) : a;
999
+ this.elementMappings.push({
1000
+ id: i,
1001
+ type: "connector",
1002
+ position: {
1003
+ startLine: a.startLine,
1004
+ startColumn: a.startColumn,
1005
+ endLine: o.endLine,
1006
+ endColumn: o.endColumn,
1007
+ startIndex: a.startIndex,
1008
+ endIndex: o.endIndex
1009
+ }
1010
+ });
1011
+ }
1012
+ getElementMappings() {
1013
+ return [...this.elementMappings];
1014
+ }
1015
+ getElementById(e) {
1016
+ return this.elementMappings.find((t) => t.id === e);
1017
+ }
1018
+ getElementsOnLine(e) {
1019
+ return this.elementMappings.filter((t) => e >= t.position.startLine && e <= t.position.endLine);
1020
+ }
1021
+ getElementAtPosition(t, n) {
1022
+ let r = this.elementMappings.filter((e) => {
1023
+ let { startLine: r, startColumn: i, endLine: a, endColumn: o } = e.position;
1024
+ return !(t < r || t > a || t === r && n < i || t === a && n > o);
1025
+ });
1026
+ if (r.length === 0) return;
1027
+ let i = /* @__PURE__ */ e(({ position: e }) => [e.endLine - e.startLine, e.endColumn - e.startColumn], "span");
1028
+ return r.reduce((e, t) => {
1029
+ let [n, r] = i(e), [a, o] = i(t);
1030
+ return a === n ? o < r ? t : e : a < n ? t : e;
1031
+ });
1032
+ }
1033
+ getMappingStats() {
1034
+ let e = 0, t = 0, n = 0, r = 0, i = 0;
1035
+ for (let a of this.elementMappings) a.type === "vertex" ? e++ : a.type === "edge" ? t++ : a.type === "subgraph" ? n++ : a.type === "connector" ? r++ : a.type === "attachment" && i++;
1036
+ return {
1037
+ vertices: e,
1038
+ edges: t,
1039
+ subgraphs: n,
1040
+ connectors: r,
1041
+ attachments: i,
1042
+ totalElements: this.elementMappings.length
1043
+ };
1044
+ }
1045
+ emitDiagnostic(e, n, r, i) {
1046
+ let a = i?.nodeId ?? i?.edgeId, o = a ? this.getElementById(a) : void 0, s = {
1047
+ id: e,
1048
+ severity: n,
1049
+ message: r,
1050
+ ...i?.nodeId ? { nodeId: i.nodeId } : {},
1051
+ ...i?.edgeId && !i?.nodeId ? { edgeId: i.edgeId } : {},
1052
+ ...o ? { position: o.position } : {}
1053
+ };
1054
+ if (this.diagnostics.some((e) => e.id === s.id && e.severity === s.severity && e.message === s.message && e.nodeId === s.nodeId && e.edgeId === s.edgeId)) return;
1055
+ this.diagnostics.push(s);
1056
+ let c = `agentflow[${e}]: ${r}`;
1057
+ n === "error" ? t.error(c) : t.warn(c);
1058
+ }
1059
+ emitWarning(e, t, n) {
1060
+ this.emitDiagnostic(e, "warning", t, n);
1061
+ }
1062
+ emitError(e, t, n) {
1063
+ this.emitDiagnostic(e, "error", t, n);
1064
+ }
1065
+ getDiagnostics() {
1066
+ return [...this.diagnostics];
1067
+ }
1068
+ }, de = {
1069
+ getClasses: /* @__PURE__ */ e(function(e, t) {
1070
+ return t.db.getClasses();
1071
+ }, "getClasses"),
1072
+ draw: /* @__PURE__ */ e(async function(e, n, r, i) {
1073
+ t.debug("Drawing agentflow diagram", n);
1074
+ let { securityLevel: a, agentflow: o, layout: s } = u();
1075
+ i.db.setDiagramId(n), t.debug("Before getData: ");
1076
+ let c = i.db.getData();
1077
+ t.debug("Data: ", c);
1078
+ let l = E(n, a), d = i.db.getDirection();
1079
+ c.type = i.type, c.layoutAlgorithm = k(s), c.layoutAlgorithm === "dagre" && s === "elk" && t.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."), c.direction = d, c.nodeSpacing = o?.nodeSpacing || 50, c.rankSpacing = o?.rankSpacing || 50, c.markers = [
1080
+ "point",
1081
+ "circle",
1082
+ "cross",
1083
+ "hierarchy"
1084
+ ], c.diagramId = n, t.debug("REF1:", c), await O(c, l);
1085
+ let f = o?.diagramPadding ?? 8;
1086
+ _.insertTitle(l, "agentflowTitleText", o?.titleTopMargin ?? 0, i.db.getDiagramTitle()), D(l, f, "agentflow", o?.useMaxWidth ?? !0);
1087
+ }, "draw")
1088
+ }, fe = (function() {
1089
+ var t = /* @__PURE__ */ e(function(e, t, n, r) {
1090
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
1091
+ return n;
1092
+ }, "o"), n = [1, 5], r = [1, 4], i = [1, 3], a = [1, 6], o = [
1093
+ 1,
1094
+ 8,
1095
+ 9,
1096
+ 10,
1097
+ 11,
1098
+ 12,
1099
+ 28,
1100
+ 35,
1101
+ 36,
1102
+ 38,
1103
+ 40,
1104
+ 42,
1105
+ 47,
1106
+ 63,
1107
+ 87,
1108
+ 88,
1109
+ 89,
1110
+ 90,
1111
+ 91,
1112
+ 92,
1113
+ 105,
1114
+ 108,
1115
+ 109,
1116
+ 112,
1117
+ 114,
1118
+ 117,
1119
+ 118,
1120
+ 119,
1121
+ 124,
1122
+ 125,
1123
+ 126,
1124
+ 127,
1125
+ 128
1126
+ ], s = [2, 2], c = [1, 15], l = [1, 16], u = [1, 17], d = [1, 18], f = [1, 19], p = [1, 26], m = [1, 27], h = [1, 28], g = [1, 30], _ = [1, 31], v = [1, 32], y = [1, 55], b = [1, 54], x = [1, 34], S = [1, 35], C = [1, 36], w = [1, 37], T = [1, 38], E = [1, 50], D = [1, 52], O = [1, 48], k = [1, 53], A = [1, 49], j = [1, 56], M = [1, 51], N = [1, 57], P = [1, 58], ee = [1, 39], te = [1, 40], F = [1, 41], I = [1, 42], ne = [1, 43], L = [1, 64], R = [
1127
+ 1,
1128
+ 8,
1129
+ 9,
1130
+ 10,
1131
+ 11,
1132
+ 12,
1133
+ 28,
1134
+ 33,
1135
+ 35,
1136
+ 36,
1137
+ 38,
1138
+ 40,
1139
+ 42,
1140
+ 47,
1141
+ 63,
1142
+ 87,
1143
+ 88,
1144
+ 89,
1145
+ 90,
1146
+ 91,
1147
+ 92,
1148
+ 105,
1149
+ 108,
1150
+ 109,
1151
+ 112,
1152
+ 114,
1153
+ 117,
1154
+ 118,
1155
+ 119,
1156
+ 124,
1157
+ 125,
1158
+ 126,
1159
+ 127,
1160
+ 128
1161
+ ], z = [1, 70], B = [1, 68], V = [1, 67], H = [1, 69], re = [
1162
+ 8,
1163
+ 9,
1164
+ 10,
1165
+ 12,
1166
+ 78,
1167
+ 80,
1168
+ 81
1169
+ ], ie = [1, 88], ae = [1, 101], oe = [1, 106], se = [1, 105], ce = [1, 102], le = [1, 98], ue = [1, 104], de = [1, 100], fe = [1, 107], pe = [1, 103], me = [1, 108], he = [1, 99], ge = [
1170
+ 8,
1171
+ 9,
1172
+ 10,
1173
+ 11,
1174
+ 12,
1175
+ 43,
1176
+ 78,
1177
+ 80,
1178
+ 81
1179
+ ], U = [
1180
+ 8,
1181
+ 9,
1182
+ 10,
1183
+ 11,
1184
+ 12,
1185
+ 43,
1186
+ 49,
1187
+ 78,
1188
+ 80,
1189
+ 81
1190
+ ], W = [
1191
+ 8,
1192
+ 9,
1193
+ 10,
1194
+ 11,
1195
+ 12,
1196
+ 30,
1197
+ 43,
1198
+ 47,
1199
+ 49,
1200
+ 51,
1201
+ 53,
1202
+ 55,
1203
+ 57,
1204
+ 59,
1205
+ 61,
1206
+ 63,
1207
+ 66,
1208
+ 68,
1209
+ 70,
1210
+ 71,
1211
+ 73,
1212
+ 78,
1213
+ 80,
1214
+ 81,
1215
+ 92,
1216
+ 105,
1217
+ 108,
1218
+ 109,
1219
+ 112,
1220
+ 114,
1221
+ 117,
1222
+ 118,
1223
+ 119
1224
+ ], _e = [
1225
+ 8,
1226
+ 9,
1227
+ 10,
1228
+ 12,
1229
+ 47,
1230
+ 63,
1231
+ 78,
1232
+ 80,
1233
+ 81,
1234
+ 92,
1235
+ 105,
1236
+ 108,
1237
+ 109,
1238
+ 112,
1239
+ 114,
1240
+ 117,
1241
+ 118,
1242
+ 119
1243
+ ], ve = [
1244
+ 47,
1245
+ 63,
1246
+ 92,
1247
+ 105,
1248
+ 108,
1249
+ 109,
1250
+ 112,
1251
+ 114,
1252
+ 117,
1253
+ 118,
1254
+ 119
1255
+ ], ye = [1, 131], be = [1, 132], xe = [1, 134], Se = [1, 133], Ce = [
1256
+ 47,
1257
+ 63,
1258
+ 65,
1259
+ 77,
1260
+ 92,
1261
+ 105,
1262
+ 108,
1263
+ 109,
1264
+ 112,
1265
+ 114,
1266
+ 117,
1267
+ 118,
1268
+ 119
1269
+ ], we = [1, 143], Te = [1, 157], Ee = [1, 158], De = [1, 159], Oe = [1, 162], ke = [1, 161], Ae = [1, 160], je = [1, 145], Me = [1, 147], Ne = [1, 151], Pe = [1, 139], Fe = [1, 140], Ie = [1, 152], Le = [1, 153], Re = [1, 154], ze = [1, 155], Be = [1, 156], Ve = [1, 163], He = [1, 164], Ue = [1, 141], We = [1, 142], Ge = [1, 149], Ke = [1, 144], qe = [1, 148], Je = [1, 146], Ye = [
1270
+ 8,
1271
+ 9,
1272
+ 10,
1273
+ 11,
1274
+ 12,
1275
+ 28,
1276
+ 33,
1277
+ 35,
1278
+ 36,
1279
+ 38,
1280
+ 40,
1281
+ 42,
1282
+ 47,
1283
+ 63,
1284
+ 87,
1285
+ 88,
1286
+ 89,
1287
+ 90,
1288
+ 91,
1289
+ 92,
1290
+ 105,
1291
+ 108,
1292
+ 109,
1293
+ 112,
1294
+ 114,
1295
+ 117,
1296
+ 118,
1297
+ 119,
1298
+ 124,
1299
+ 125,
1300
+ 126,
1301
+ 127,
1302
+ 128
1303
+ ], Xe = [1, 168], Ze = [1, 170], G = [
1304
+ 8,
1305
+ 9,
1306
+ 10,
1307
+ 12
1308
+ ], K = [
1309
+ 8,
1310
+ 9,
1311
+ 10,
1312
+ 11,
1313
+ 12,
1314
+ 15,
1315
+ 47,
1316
+ 63,
1317
+ 92,
1318
+ 108,
1319
+ 109,
1320
+ 112,
1321
+ 114,
1322
+ 117,
1323
+ 118,
1324
+ 119
1325
+ ], q = [1, 190], J = [1, 186], Y = [1, 187], X = [1, 191], Z = [1, 188], Q = [1, 189], Qe = [
1326
+ 80,
1327
+ 119,
1328
+ 122
1329
+ ], $ = [
1330
+ 8,
1331
+ 9,
1332
+ 10,
1333
+ 11,
1334
+ 12,
1335
+ 13,
1336
+ 15,
1337
+ 28,
1338
+ 30,
1339
+ 33,
1340
+ 35,
1341
+ 36,
1342
+ 43,
1343
+ 47,
1344
+ 63,
1345
+ 78,
1346
+ 87,
1347
+ 88,
1348
+ 89,
1349
+ 90,
1350
+ 91,
1351
+ 92,
1352
+ 93,
1353
+ 108,
1354
+ 112,
1355
+ 114,
1356
+ 117,
1357
+ 118,
1358
+ 119
1359
+ ], $e = [11, 109], et = [
1360
+ 32,
1361
+ 52,
1362
+ 54,
1363
+ 56,
1364
+ 58,
1365
+ 60,
1366
+ 65,
1367
+ 67,
1368
+ 69,
1369
+ 70,
1370
+ 72,
1371
+ 74,
1372
+ 119,
1373
+ 120,
1374
+ 121
1375
+ ], tt = [1, 269], nt = [1, 267], rt = [1, 271], it = [1, 265], at = [1, 266], ot = [1, 268], st = [1, 270], ct = [1, 272], lt = [1, 292], ut = [
1376
+ 8,
1377
+ 9,
1378
+ 10,
1379
+ 12,
1380
+ 109
1381
+ ], dt = [
1382
+ 8,
1383
+ 9,
1384
+ 10,
1385
+ 11,
1386
+ 12,
1387
+ 63,
1388
+ 87,
1389
+ 108,
1390
+ 109,
1391
+ 112,
1392
+ 113,
1393
+ 114,
1394
+ 115
1395
+ ], ft = {
1396
+ trace: /* @__PURE__ */ e(function() {}, "trace"),
1397
+ yy: {},
1398
+ symbols_: {
1399
+ error: 2,
1400
+ start: 3,
1401
+ graphConfig: 4,
1402
+ document: 5,
1403
+ line: 6,
1404
+ statement: 7,
1405
+ COMMENT: 8,
1406
+ SEMI: 9,
1407
+ NEWLINE: 10,
1408
+ SPACE: 11,
1409
+ EOF: 12,
1410
+ GRAPH: 13,
1411
+ NODIR: 14,
1412
+ DIR: 15,
1413
+ FirstStmtSeparator: 16,
1414
+ ending: 17,
1415
+ endToken: 18,
1416
+ spaceList: 19,
1417
+ spaceListNewline: 20,
1418
+ vertexStatement: 21,
1419
+ separator: 22,
1420
+ styleStatement: 23,
1421
+ linkStyleStatement: 24,
1422
+ classDefStatement: 25,
1423
+ classStatement: 26,
1424
+ clickStatement: 27,
1425
+ flow: 28,
1426
+ textNoTags: 29,
1427
+ SQS: 30,
1428
+ text: 31,
1429
+ SQE: 32,
1430
+ end: 33,
1431
+ shapeData: 34,
1432
+ global: 35,
1433
+ connector: 36,
1434
+ direction: 37,
1435
+ acc_title: 38,
1436
+ acc_title_value: 39,
1437
+ acc_descr: 40,
1438
+ acc_descr_value: 41,
1439
+ acc_descr_multiline_value: 42,
1440
+ SHAPE_DATA: 43,
1441
+ link: 44,
1442
+ node: 45,
1443
+ styledVertex: 46,
1444
+ AMP: 47,
1445
+ vertex: 48,
1446
+ STYLE_SEPARATOR: 49,
1447
+ idString: 50,
1448
+ DOUBLECIRCLESTART: 51,
1449
+ DOUBLECIRCLEEND: 52,
1450
+ PS: 53,
1451
+ PE: 54,
1452
+ "(-": 55,
1453
+ "-)": 56,
1454
+ STADIUMSTART: 57,
1455
+ STADIUMEND: 58,
1456
+ SUBROUTINESTART: 59,
1457
+ SUBROUTINEEND: 60,
1458
+ VERTEX_WITH_PROPS_START: 61,
1459
+ "NODE_STRING[field]": 62,
1460
+ COLON: 63,
1461
+ "NODE_STRING[value]": 64,
1462
+ PIPE: 65,
1463
+ CYLINDERSTART: 66,
1464
+ CYLINDEREND: 67,
1465
+ DIAMOND_START: 68,
1466
+ DIAMOND_STOP: 69,
1467
+ TAGEND: 70,
1468
+ TRAPSTART: 71,
1469
+ TRAPEND: 72,
1470
+ INVTRAPSTART: 73,
1471
+ INVTRAPEND: 74,
1472
+ linkStatement: 75,
1473
+ arrowText: 76,
1474
+ TESTSTR: 77,
1475
+ START_LINK: 78,
1476
+ edgeText: 79,
1477
+ LINK: 80,
1478
+ LINK_ID: 81,
1479
+ edgeTextToken: 82,
1480
+ STR: 83,
1481
+ MD_STR: 84,
1482
+ textToken: 85,
1483
+ keywords: 86,
1484
+ STYLE: 87,
1485
+ LINKSTYLE: 88,
1486
+ CLASSDEF: 89,
1487
+ CLASS: 90,
1488
+ CLICK: 91,
1489
+ DOWN: 92,
1490
+ UP: 93,
1491
+ textNoTagsToken: 94,
1492
+ stylesOpt: 95,
1493
+ "idString[vertex]": 96,
1494
+ "idString[class]": 97,
1495
+ CALLBACKNAME: 98,
1496
+ CALLBACKARGS: 99,
1497
+ HREF: 100,
1498
+ LINK_TARGET: 101,
1499
+ "STR[link]": 102,
1500
+ "STR[tooltip]": 103,
1501
+ alphaNum: 104,
1502
+ DEFAULT: 105,
1503
+ numList: 106,
1504
+ INTERPOLATE: 107,
1505
+ NUM: 108,
1506
+ COMMA: 109,
1507
+ style: 110,
1508
+ styleComponent: 111,
1509
+ NODE_STRING: 112,
1510
+ UNIT: 113,
1511
+ BRKT: 114,
1512
+ PCT: 115,
1513
+ idStringToken: 116,
1514
+ MINUS: 117,
1515
+ MULT: 118,
1516
+ UNICODE_TEXT: 119,
1517
+ TEXT: 120,
1518
+ TAGSTART: 121,
1519
+ EDGE_TEXT: 122,
1520
+ alphaNumToken: 123,
1521
+ direction_tb: 124,
1522
+ direction_bt: 125,
1523
+ direction_rl: 126,
1524
+ direction_lr: 127,
1525
+ direction_td: 128,
1526
+ $accept: 0,
1527
+ $end: 1
1528
+ },
1529
+ terminals_: {
1530
+ 2: "error",
1531
+ 8: "COMMENT",
1532
+ 9: "SEMI",
1533
+ 10: "NEWLINE",
1534
+ 11: "SPACE",
1535
+ 12: "EOF",
1536
+ 13: "GRAPH",
1537
+ 14: "NODIR",
1538
+ 15: "DIR",
1539
+ 28: "flow",
1540
+ 30: "SQS",
1541
+ 32: "SQE",
1542
+ 33: "end",
1543
+ 35: "global",
1544
+ 36: "connector",
1545
+ 38: "acc_title",
1546
+ 39: "acc_title_value",
1547
+ 40: "acc_descr",
1548
+ 41: "acc_descr_value",
1549
+ 42: "acc_descr_multiline_value",
1550
+ 43: "SHAPE_DATA",
1551
+ 47: "AMP",
1552
+ 49: "STYLE_SEPARATOR",
1553
+ 51: "DOUBLECIRCLESTART",
1554
+ 52: "DOUBLECIRCLEEND",
1555
+ 53: "PS",
1556
+ 54: "PE",
1557
+ 55: "(-",
1558
+ 56: "-)",
1559
+ 57: "STADIUMSTART",
1560
+ 58: "STADIUMEND",
1561
+ 59: "SUBROUTINESTART",
1562
+ 60: "SUBROUTINEEND",
1563
+ 61: "VERTEX_WITH_PROPS_START",
1564
+ 62: "NODE_STRING[field]",
1565
+ 63: "COLON",
1566
+ 64: "NODE_STRING[value]",
1567
+ 65: "PIPE",
1568
+ 66: "CYLINDERSTART",
1569
+ 67: "CYLINDEREND",
1570
+ 68: "DIAMOND_START",
1571
+ 69: "DIAMOND_STOP",
1572
+ 70: "TAGEND",
1573
+ 71: "TRAPSTART",
1574
+ 72: "TRAPEND",
1575
+ 73: "INVTRAPSTART",
1576
+ 74: "INVTRAPEND",
1577
+ 77: "TESTSTR",
1578
+ 78: "START_LINK",
1579
+ 80: "LINK",
1580
+ 81: "LINK_ID",
1581
+ 83: "STR",
1582
+ 84: "MD_STR",
1583
+ 87: "STYLE",
1584
+ 88: "LINKSTYLE",
1585
+ 89: "CLASSDEF",
1586
+ 90: "CLASS",
1587
+ 91: "CLICK",
1588
+ 92: "DOWN",
1589
+ 93: "UP",
1590
+ 96: "idString[vertex]",
1591
+ 97: "idString[class]",
1592
+ 98: "CALLBACKNAME",
1593
+ 99: "CALLBACKARGS",
1594
+ 100: "HREF",
1595
+ 101: "LINK_TARGET",
1596
+ 102: "STR[link]",
1597
+ 103: "STR[tooltip]",
1598
+ 105: "DEFAULT",
1599
+ 107: "INTERPOLATE",
1600
+ 108: "NUM",
1601
+ 109: "COMMA",
1602
+ 112: "NODE_STRING",
1603
+ 113: "UNIT",
1604
+ 114: "BRKT",
1605
+ 115: "PCT",
1606
+ 117: "MINUS",
1607
+ 118: "MULT",
1608
+ 119: "UNICODE_TEXT",
1609
+ 120: "TEXT",
1610
+ 121: "TAGSTART",
1611
+ 122: "EDGE_TEXT",
1612
+ 124: "direction_tb",
1613
+ 125: "direction_bt",
1614
+ 126: "direction_rl",
1615
+ 127: "direction_lr",
1616
+ 128: "direction_td"
1617
+ },
1618
+ productions_: [
1619
+ 0,
1620
+ [3, 2],
1621
+ [5, 0],
1622
+ [5, 2],
1623
+ [6, 1],
1624
+ [6, 1],
1625
+ [6, 1],
1626
+ [6, 1],
1627
+ [6, 1],
1628
+ [6, 1],
1629
+ [4, 2],
1630
+ [4, 2],
1631
+ [4, 2],
1632
+ [4, 2],
1633
+ [4, 3],
1634
+ [17, 2],
1635
+ [17, 1],
1636
+ [18, 1],
1637
+ [18, 1],
1638
+ [18, 1],
1639
+ [16, 1],
1640
+ [16, 1],
1641
+ [16, 2],
1642
+ [16, 1],
1643
+ [20, 2],
1644
+ [20, 2],
1645
+ [20, 2],
1646
+ [20, 1],
1647
+ [20, 1],
1648
+ [20, 1],
1649
+ [19, 2],
1650
+ [19, 1],
1651
+ [7, 2],
1652
+ [7, 2],
1653
+ [7, 2],
1654
+ [7, 2],
1655
+ [7, 2],
1656
+ [7, 2],
1657
+ [7, 9],
1658
+ [7, 10],
1659
+ [7, 6],
1660
+ [7, 7],
1661
+ [7, 4],
1662
+ [7, 4],
1663
+ [7, 7],
1664
+ [7, 8],
1665
+ [7, 4],
1666
+ [7, 5],
1667
+ [7, 1],
1668
+ [7, 2],
1669
+ [7, 2],
1670
+ [7, 1],
1671
+ [22, 1],
1672
+ [22, 1],
1673
+ [22, 1],
1674
+ [22, 1],
1675
+ [34, 2],
1676
+ [34, 1],
1677
+ [21, 4],
1678
+ [21, 3],
1679
+ [21, 4],
1680
+ [21, 2],
1681
+ [21, 2],
1682
+ [21, 1],
1683
+ [45, 1],
1684
+ [45, 6],
1685
+ [45, 5],
1686
+ [46, 1],
1687
+ [46, 3],
1688
+ [48, 4],
1689
+ [48, 4],
1690
+ [48, 6],
1691
+ [48, 4],
1692
+ [48, 4],
1693
+ [48, 4],
1694
+ [48, 8],
1695
+ [48, 4],
1696
+ [48, 4],
1697
+ [48, 4],
1698
+ [48, 6],
1699
+ [48, 4],
1700
+ [48, 4],
1701
+ [48, 4],
1702
+ [48, 4],
1703
+ [48, 4],
1704
+ [48, 1],
1705
+ [44, 2],
1706
+ [44, 3],
1707
+ [44, 3],
1708
+ [44, 1],
1709
+ [44, 3],
1710
+ [44, 4],
1711
+ [79, 1],
1712
+ [79, 2],
1713
+ [79, 1],
1714
+ [79, 1],
1715
+ [75, 1],
1716
+ [75, 2],
1717
+ [76, 3],
1718
+ [31, 1],
1719
+ [31, 2],
1720
+ [31, 1],
1721
+ [31, 1],
1722
+ [86, 1],
1723
+ [86, 1],
1724
+ [86, 1],
1725
+ [86, 1],
1726
+ [86, 1],
1727
+ [86, 1],
1728
+ [86, 1],
1729
+ [86, 1],
1730
+ [86, 1],
1731
+ [86, 1],
1732
+ [86, 1],
1733
+ [86, 1],
1734
+ [86, 1],
1735
+ [29, 1],
1736
+ [29, 2],
1737
+ [29, 1],
1738
+ [29, 1],
1739
+ [25, 5],
1740
+ [26, 5],
1741
+ [27, 2],
1742
+ [27, 4],
1743
+ [27, 3],
1744
+ [27, 5],
1745
+ [27, 3],
1746
+ [27, 5],
1747
+ [27, 5],
1748
+ [27, 7],
1749
+ [27, 2],
1750
+ [27, 4],
1751
+ [27, 2],
1752
+ [27, 4],
1753
+ [27, 4],
1754
+ [27, 6],
1755
+ [23, 5],
1756
+ [24, 5],
1757
+ [24, 5],
1758
+ [24, 9],
1759
+ [24, 9],
1760
+ [24, 7],
1761
+ [24, 7],
1762
+ [106, 1],
1763
+ [106, 3],
1764
+ [95, 1],
1765
+ [95, 3],
1766
+ [110, 1],
1767
+ [110, 2],
1768
+ [111, 1],
1769
+ [111, 1],
1770
+ [111, 1],
1771
+ [111, 1],
1772
+ [111, 1],
1773
+ [111, 1],
1774
+ [111, 1],
1775
+ [111, 1],
1776
+ [116, 1],
1777
+ [116, 1],
1778
+ [116, 1],
1779
+ [116, 1],
1780
+ [116, 1],
1781
+ [116, 1],
1782
+ [116, 1],
1783
+ [116, 1],
1784
+ [116, 1],
1785
+ [116, 1],
1786
+ [116, 1],
1787
+ [85, 1],
1788
+ [85, 1],
1789
+ [85, 1],
1790
+ [85, 1],
1791
+ [94, 1],
1792
+ [94, 1],
1793
+ [94, 1],
1794
+ [94, 1],
1795
+ [94, 1],
1796
+ [94, 1],
1797
+ [94, 1],
1798
+ [94, 1],
1799
+ [94, 1],
1800
+ [94, 1],
1801
+ [94, 1],
1802
+ [82, 1],
1803
+ [82, 1],
1804
+ [123, 1],
1805
+ [123, 1],
1806
+ [123, 1],
1807
+ [123, 1],
1808
+ [123, 1],
1809
+ [123, 1],
1810
+ [123, 1],
1811
+ [123, 1],
1812
+ [123, 1],
1813
+ [123, 1],
1814
+ [123, 1],
1815
+ [50, 1],
1816
+ [50, 2],
1817
+ [104, 1],
1818
+ [104, 2],
1819
+ [37, 1],
1820
+ [37, 1],
1821
+ [37, 1],
1822
+ [37, 1],
1823
+ [37, 1]
1824
+ ],
1825
+ performAction: /* @__PURE__ */ e(function(e, t, n, r, i, a, o) {
1826
+ var s = a.length - 1;
1827
+ switch (i) {
1828
+ case 2:
1829
+ this.$ = [];
1830
+ break;
1831
+ case 3:
1832
+ (!Array.isArray(a[s]) || a[s].length > 0) && a[s - 1].push(a[s]), this.$ = a[s - 1];
1833
+ break;
1834
+ case 4:
1835
+ case 198:
1836
+ this.$ = a[s];
1837
+ break;
1838
+ case 5:
1839
+ case 33:
1840
+ case 34:
1841
+ case 35:
1842
+ case 36:
1843
+ case 37:
1844
+ this.$ = [];
1845
+ break;
1846
+ case 13:
1847
+ r.setDirection("TB"), this.$ = "TB";
1848
+ break;
1849
+ case 14:
1850
+ r.setDirection(a[s - 1]), this.$ = a[s - 1];
1851
+ break;
1852
+ case 32:
1853
+ this.$ = a[s - 1].nodes;
1854
+ break;
1855
+ case 38:
1856
+ this.$ = r.addSubGraph(a[s - 6], a[s - 1], a[s - 4], "flow"), r.addSubgraphMapping && r.addSubgraphMapping(a[s - 6], a[s - 4], o[s - 8], o[s]);
1857
+ break;
1858
+ case 39:
1859
+ this.$ = r.addSubGraph(a[s - 7], a[s - 1], a[s - 5], "flow"), r.addVertex(this.$, void 0, void 0, void 0, void 0, void 0, void 0, a[s - 3], o[s - 3]), r.addSubgraphMapping && r.addSubgraphMapping(a[s - 7], a[s - 5], o[s - 9], o[s]);
1860
+ break;
1861
+ case 40:
1862
+ this.$ = r.addSubGraph(a[s - 3], a[s - 1], {
1863
+ text: "",
1864
+ type: "text"
1865
+ }, "flow"), r.addSubgraphMapping && r.addSubgraphMapping(a[s - 3], {
1866
+ text: "",
1867
+ type: "text"
1868
+ }, o[s - 5], o[s]);
1869
+ break;
1870
+ case 41:
1871
+ this.$ = r.addSubGraph(a[s - 4], a[s - 1], {
1872
+ text: "",
1873
+ type: "text"
1874
+ }, "flow"), r.addVertex(this.$, void 0, void 0, void 0, void 0, void 0, void 0, a[s - 3], o[s - 3]), r.addSubgraphMapping && r.addSubgraphMapping(a[s - 4], {
1875
+ text: "",
1876
+ type: "text"
1877
+ }, o[s - 6], o[s]);
1878
+ break;
1879
+ case 42:
1880
+ this.$ = r.addSubGraph(void 0, a[s - 1], void 0, "flow"), r.addSubgraphMapping && r.addSubgraphMapping(void 0, void 0, o[s - 3], o[s]);
1881
+ break;
1882
+ case 43:
1883
+ r.addGlobal(a[s - 1]), this.$ = [];
1884
+ break;
1885
+ case 44:
1886
+ this.$ = r.addConnector(a[s - 4], a[s - 2]), r.addConnectorMapping && r.addConnectorMapping(a[s - 4], a[s - 2], o[s - 6], o[s]);
1887
+ break;
1888
+ case 45:
1889
+ this.$ = r.addConnector(a[s - 5], a[s - 3]), r.addVertex(this.$, void 0, void 0, void 0, void 0, void 0, void 0, a[s - 1], o[s - 1]), r.addConnectorMapping && r.addConnectorMapping(a[s - 5], a[s - 3], o[s - 7], o[s]);
1890
+ break;
1891
+ case 46:
1892
+ this.$ = r.addConnector(a[s - 1], {
1893
+ text: "",
1894
+ type: "text"
1895
+ }), r.addConnectorMapping && r.addConnectorMapping(a[s - 1], {
1896
+ text: "",
1897
+ type: "text"
1898
+ }, o[s - 3], o[s]);
1899
+ break;
1900
+ case 47:
1901
+ this.$ = r.addConnector(a[s - 2], {
1902
+ text: "",
1903
+ type: "text"
1904
+ }), r.addVertex(this.$, void 0, void 0, void 0, void 0, void 0, void 0, a[s - 1], o[s - 1]), r.addConnectorMapping && r.addConnectorMapping(a[s - 2], {
1905
+ text: "",
1906
+ type: "text"
1907
+ }, o[s - 4], o[s]);
1908
+ break;
1909
+ case 49:
1910
+ this.$ = a[s].trim(), r.setAccTitle(this.$);
1911
+ break;
1912
+ case 50:
1913
+ case 51:
1914
+ this.$ = a[s].trim(), r.setAccDescription(this.$);
1915
+ break;
1916
+ case 56:
1917
+ this.$ = a[s - 1] + a[s];
1918
+ break;
1919
+ case 57:
1920
+ this.$ = a[s];
1921
+ break;
1922
+ case 58:
1923
+ r.addVertex(a[s - 1][a[s - 1].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, a[s], o[s]), r.extendVertexMapping && r.extendVertexMapping(a[s - 1][a[s - 1].length - 1], o[s]), r.addLink(a[s - 3].stmt, a[s - 1], a[s - 2]), r.addEdgeMapping && r.addEdgeMapping(a[s - 3].stmt, a[s - 1], a[s - 2], this._$), this.$ = {
1924
+ stmt: a[s - 1],
1925
+ nodes: a[s - 1].concat(a[s - 3].nodes)
1926
+ };
1927
+ break;
1928
+ case 59:
1929
+ r.addLink(a[s - 2].stmt, a[s], a[s - 1]), r.addEdgeMapping && r.addEdgeMapping(a[s - 2].stmt, a[s], a[s - 1], this._$), this.$ = {
1930
+ stmt: a[s],
1931
+ nodes: a[s].concat(a[s - 2].nodes)
1932
+ };
1933
+ break;
1934
+ case 60:
1935
+ r.addLink(a[s - 3].stmt, a[s - 1], a[s - 2]), r.addEdgeMapping && r.addEdgeMapping(a[s - 3].stmt, a[s - 1], a[s - 2], this._$), this.$ = {
1936
+ stmt: a[s - 1],
1937
+ nodes: a[s - 1].concat(a[s - 3].nodes)
1938
+ };
1939
+ break;
1940
+ case 61:
1941
+ this.$ = {
1942
+ stmt: a[s - 1],
1943
+ nodes: a[s - 1]
1944
+ };
1945
+ break;
1946
+ case 62:
1947
+ r.addVertex(a[s - 1][a[s - 1].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, a[s], o[s]), r.extendVertexMapping && r.extendVertexMapping(a[s - 1][a[s - 1].length - 1], o[s]), this.$ = {
1948
+ stmt: a[s - 1],
1949
+ nodes: a[s - 1],
1950
+ shapeData: a[s]
1951
+ };
1952
+ break;
1953
+ case 63:
1954
+ this.$ = {
1955
+ stmt: a[s],
1956
+ nodes: a[s]
1957
+ };
1958
+ break;
1959
+ case 64:
1960
+ this.$ = [a[s]];
1961
+ break;
1962
+ case 65:
1963
+ r.addVertex(a[s - 5][a[s - 5].length - 1], void 0, void 0, void 0, void 0, void 0, void 0, a[s - 4], o[s - 4]), r.extendVertexMapping && r.extendVertexMapping(a[s - 5][a[s - 5].length - 1], o[s - 4]), this.$ = a[s - 5].concat(a[s]);
1964
+ break;
1965
+ case 66:
1966
+ this.$ = a[s - 4].concat(a[s]);
1967
+ break;
1968
+ case 67:
1969
+ this.$ = a[s];
1970
+ break;
1971
+ case 68:
1972
+ this.$ = a[s - 2], r.setClass(a[s - 2], a[s]);
1973
+ break;
1974
+ case 69:
1975
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "square"), r.addVertexMapping && r.addVertexMapping(a[s - 3], a[s - 1], "square", this._$);
1976
+ break;
1977
+ case 70:
1978
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "doublecircle"), r.addVertexMapping && r.addVertexMapping(a[s - 3], a[s - 1], "doublecircle", this._$);
1979
+ break;
1980
+ case 71:
1981
+ this.$ = a[s - 5], r.addVertex(a[s - 5], a[s - 2], "circle"), r.addVertexMapping && r.addVertexMapping(a[s - 5], a[s - 2], "circle", this._$);
1982
+ break;
1983
+ case 72:
1984
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "ellipse"), r.addVertexMapping && r.addVertexMapping(a[s - 3], a[s - 1], "ellipse", this._$);
1985
+ break;
1986
+ case 73:
1987
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "stadium"), r.addVertexMapping && r.addVertexMapping(a[s - 3], a[s - 1], "stadium", this._$);
1988
+ break;
1989
+ case 74:
1990
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "subroutine"), r.addVertexMapping && r.addVertexMapping(a[s - 3], a[s - 1], "subroutine", this._$);
1991
+ break;
1992
+ case 75:
1993
+ this.$ = a[s - 7], r.addVertex(a[s - 7], a[s - 1], "rect", void 0, void 0, void 0, Object.fromEntries([[a[s - 5], a[s - 3]]])), r.addVertexMapping && r.addVertexMapping(a[s - 7], a[s - 1], "rect", this._$);
1994
+ break;
1995
+ case 76:
1996
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "cylinder"), r.addVertexMapping && r.addVertexMapping(a[s - 3], a[s - 1], "cylinder", this._$);
1997
+ break;
1998
+ case 77:
1999
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "round"), r.addVertexMapping && r.addVertexMapping(a[s - 3], a[s - 1], "round", this._$);
2000
+ break;
2001
+ case 78:
2002
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "diamond"), r.addVertexMapping && r.addVertexMapping(a[s - 3], a[s - 1], "diamond", this._$);
2003
+ break;
2004
+ case 79:
2005
+ this.$ = a[s - 5], r.addVertex(a[s - 5], a[s - 2], "hexagon"), r.addVertexMapping && r.addVertexMapping(a[s - 5], a[s - 2], "hexagon", this._$);
2006
+ break;
2007
+ case 80:
2008
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "odd"), r.addVertexMapping && r.addVertexMapping(a[s - 3], a[s - 1], "odd", this._$);
2009
+ break;
2010
+ case 81:
2011
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "trapezoid"), r.addVertexMapping && r.addVertexMapping(a[s - 3], a[s - 1], "trapezoid", this._$);
2012
+ break;
2013
+ case 82:
2014
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "inv_trapezoid"), r.addVertexMapping && r.addVertexMapping(a[s - 3], a[s - 1], "inv_trapezoid", this._$);
2015
+ break;
2016
+ case 83:
2017
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "lean_right"), r.addVertexMapping && r.addVertexMapping(a[s - 3], a[s - 1], "lean_right", this._$);
2018
+ break;
2019
+ case 84:
2020
+ this.$ = a[s - 3], r.addVertex(a[s - 3], a[s - 1], "lean_left"), r.addVertexMapping && r.addVertexMapping(a[s - 3], a[s - 1], "lean_left", this._$);
2021
+ break;
2022
+ case 85:
2023
+ this.$ = a[s], r.addVertex(a[s]), r.addVertexMapping && r.addVertexMapping(a[s], void 0, void 0, this._$);
2024
+ break;
2025
+ case 86:
2026
+ a[s - 1].text = a[s], this.$ = a[s - 1];
2027
+ break;
2028
+ case 87:
2029
+ case 88:
2030
+ a[s - 2].text = a[s - 1], this.$ = a[s - 2];
2031
+ break;
2032
+ case 89:
2033
+ this.$ = a[s];
2034
+ break;
2035
+ case 90:
2036
+ var c = r.destructLink(a[s], a[s - 2]);
2037
+ this.$ = {
2038
+ type: c.type,
2039
+ stroke: c.stroke,
2040
+ length: c.length,
2041
+ edgeSemantic: c.edgeSemantic,
2042
+ text: a[s - 1]
2043
+ };
2044
+ break;
2045
+ case 91:
2046
+ var c = r.destructLink(a[s], a[s - 2]);
2047
+ this.$ = {
2048
+ type: c.type,
2049
+ stroke: c.stroke,
2050
+ length: c.length,
2051
+ edgeSemantic: c.edgeSemantic,
2052
+ text: a[s - 1],
2053
+ id: a[s - 3]
2054
+ };
2055
+ break;
2056
+ case 92:
2057
+ this.$ = {
2058
+ text: a[s],
2059
+ type: "text"
2060
+ };
2061
+ break;
2062
+ case 93:
2063
+ this.$ = {
2064
+ text: a[s - 1].text + "" + a[s],
2065
+ type: a[s - 1].type
2066
+ };
2067
+ break;
2068
+ case 94:
2069
+ this.$ = {
2070
+ text: a[s],
2071
+ type: "string"
2072
+ };
2073
+ break;
2074
+ case 95:
2075
+ this.$ = {
2076
+ text: a[s],
2077
+ type: "markdown"
2078
+ };
2079
+ break;
2080
+ case 96:
2081
+ var c = r.destructLink(a[s]);
2082
+ this.$ = {
2083
+ type: c.type,
2084
+ stroke: c.stroke,
2085
+ length: c.length,
2086
+ edgeSemantic: c.edgeSemantic
2087
+ };
2088
+ break;
2089
+ case 97:
2090
+ var c = r.destructLink(a[s]);
2091
+ this.$ = {
2092
+ type: c.type,
2093
+ stroke: c.stroke,
2094
+ length: c.length,
2095
+ edgeSemantic: c.edgeSemantic,
2096
+ id: a[s - 1]
2097
+ };
2098
+ break;
2099
+ case 98:
2100
+ this.$ = a[s - 1];
2101
+ break;
2102
+ case 99:
2103
+ this.$ = {
2104
+ text: a[s],
2105
+ type: "text"
2106
+ };
2107
+ break;
2108
+ case 100:
2109
+ this.$ = {
2110
+ text: a[s - 1].text + "" + a[s],
2111
+ type: a[s - 1].type
2112
+ };
2113
+ break;
2114
+ case 101:
2115
+ this.$ = {
2116
+ text: a[s],
2117
+ type: "string"
2118
+ };
2119
+ break;
2120
+ case 102:
2121
+ case 119:
2122
+ this.$ = {
2123
+ text: a[s],
2124
+ type: "markdown"
2125
+ };
2126
+ break;
2127
+ case 116:
2128
+ this.$ = {
2129
+ text: a[s],
2130
+ type: "text"
2131
+ };
2132
+ break;
2133
+ case 117:
2134
+ this.$ = {
2135
+ text: a[s - 1].text + "" + a[s],
2136
+ type: a[s - 1].type
2137
+ };
2138
+ break;
2139
+ case 118:
2140
+ this.$ = {
2141
+ text: a[s],
2142
+ type: "text"
2143
+ };
2144
+ break;
2145
+ case 120:
2146
+ this.$ = a[s - 4], r.addClass(a[s - 2], a[s]);
2147
+ break;
2148
+ case 121:
2149
+ this.$ = a[s - 4], r.setClass(a[s - 2], a[s]);
2150
+ break;
2151
+ case 122:
2152
+ case 130:
2153
+ this.$ = a[s - 1], r.setClickEvent(a[s - 1], a[s]);
2154
+ break;
2155
+ case 123:
2156
+ case 131:
2157
+ this.$ = a[s - 3], r.setClickEvent(a[s - 3], a[s - 2]), r.setTooltip(a[s - 3], a[s]);
2158
+ break;
2159
+ case 124:
2160
+ this.$ = a[s - 2], r.setClickEvent(a[s - 2], a[s - 1], a[s]);
2161
+ break;
2162
+ case 125:
2163
+ this.$ = a[s - 4], r.setClickEvent(a[s - 4], a[s - 3], a[s - 2]), r.setTooltip(a[s - 4], a[s]);
2164
+ break;
2165
+ case 126:
2166
+ this.$ = a[s - 2], r.setLink(a[s - 2], a[s]);
2167
+ break;
2168
+ case 127:
2169
+ this.$ = a[s - 4], r.setLink(a[s - 4], a[s - 2]), r.setTooltip(a[s - 4], a[s]);
2170
+ break;
2171
+ case 128:
2172
+ this.$ = a[s - 4], r.setLink(a[s - 4], a[s - 2], a[s]);
2173
+ break;
2174
+ case 129:
2175
+ this.$ = a[s - 6], r.setLink(a[s - 6], a[s - 4], a[s]), r.setTooltip(a[s - 6], a[s - 2]);
2176
+ break;
2177
+ case 132:
2178
+ this.$ = a[s - 1], r.setLink(a[s - 1], a[s]);
2179
+ break;
2180
+ case 133:
2181
+ this.$ = a[s - 3], r.setLink(a[s - 3], a[s - 2]), r.setTooltip(a[s - 3], a[s]);
2182
+ break;
2183
+ case 134:
2184
+ this.$ = a[s - 3], r.setLink(a[s - 3], a[s - 2], a[s]);
2185
+ break;
2186
+ case 135:
2187
+ this.$ = a[s - 5], r.setLink(a[s - 5], a[s - 4], a[s]), r.setTooltip(a[s - 5], a[s - 2]);
2188
+ break;
2189
+ case 136:
2190
+ this.$ = a[s - 4], r.addVertex(a[s - 2], void 0, void 0, a[s]);
2191
+ break;
2192
+ case 137:
2193
+ this.$ = a[s - 4], r.updateLink([a[s - 2]], a[s]);
2194
+ break;
2195
+ case 138:
2196
+ this.$ = a[s - 4], r.updateLink(a[s - 2], a[s]);
2197
+ break;
2198
+ case 139:
2199
+ this.$ = a[s - 8], r.updateLinkInterpolate([a[s - 6]], a[s - 2]), r.updateLink([a[s - 6]], a[s]);
2200
+ break;
2201
+ case 140:
2202
+ this.$ = a[s - 8], r.updateLinkInterpolate(a[s - 6], a[s - 2]), r.updateLink(a[s - 6], a[s]);
2203
+ break;
2204
+ case 141:
2205
+ this.$ = a[s - 6], r.updateLinkInterpolate([a[s - 4]], a[s]);
2206
+ break;
2207
+ case 142:
2208
+ this.$ = a[s - 6], r.updateLinkInterpolate(a[s - 4], a[s]);
2209
+ break;
2210
+ case 143:
2211
+ case 145:
2212
+ this.$ = [a[s]];
2213
+ break;
2214
+ case 144:
2215
+ case 146:
2216
+ a[s - 2].push(a[s]), this.$ = a[s - 2];
2217
+ break;
2218
+ case 148:
2219
+ this.$ = a[s - 1] + a[s];
2220
+ break;
2221
+ case 196:
2222
+ this.$ = a[s];
2223
+ break;
2224
+ case 197:
2225
+ this.$ = a[s - 1] + "" + a[s];
2226
+ break;
2227
+ case 199:
2228
+ this.$ = a[s - 1] + "" + a[s];
2229
+ break;
2230
+ case 200:
2231
+ this.$ = {
2232
+ stmt: "dir",
2233
+ value: "TB"
2234
+ };
2235
+ break;
2236
+ case 201:
2237
+ this.$ = {
2238
+ stmt: "dir",
2239
+ value: "BT"
2240
+ };
2241
+ break;
2242
+ case 202:
2243
+ this.$ = {
2244
+ stmt: "dir",
2245
+ value: "RL"
2246
+ };
2247
+ break;
2248
+ case 203:
2249
+ this.$ = {
2250
+ stmt: "dir",
2251
+ value: "LR"
2252
+ };
2253
+ break;
2254
+ case 204: this.$ = {
2255
+ stmt: "dir",
2256
+ value: "TD"
2257
+ };
2258
+ }
2259
+ }, "anonymous"),
2260
+ table: [
2261
+ {
2262
+ 3: 1,
2263
+ 4: 2,
2264
+ 8: n,
2265
+ 10: r,
2266
+ 11: i,
2267
+ 13: a
2268
+ },
2269
+ { 1: [3] },
2270
+ t(o, s, { 5: 7 }),
2271
+ {
2272
+ 4: 8,
2273
+ 8: n,
2274
+ 10: r,
2275
+ 11: i,
2276
+ 13: a
2277
+ },
2278
+ {
2279
+ 4: 9,
2280
+ 8: n,
2281
+ 10: r,
2282
+ 11: i,
2283
+ 13: a
2284
+ },
2285
+ {
2286
+ 4: 10,
2287
+ 8: n,
2288
+ 10: r,
2289
+ 11: i,
2290
+ 13: a
2291
+ },
2292
+ {
2293
+ 14: [1, 11],
2294
+ 15: [1, 12]
2295
+ },
2296
+ {
2297
+ 1: [2, 1],
2298
+ 6: 13,
2299
+ 7: 14,
2300
+ 8: c,
2301
+ 9: l,
2302
+ 10: u,
2303
+ 11: d,
2304
+ 12: f,
2305
+ 21: 20,
2306
+ 23: 21,
2307
+ 24: 22,
2308
+ 25: 23,
2309
+ 26: 24,
2310
+ 27: 25,
2311
+ 28: p,
2312
+ 35: m,
2313
+ 36: h,
2314
+ 37: 29,
2315
+ 38: g,
2316
+ 40: _,
2317
+ 42: v,
2318
+ 45: 33,
2319
+ 46: 44,
2320
+ 47: y,
2321
+ 48: 45,
2322
+ 50: 46,
2323
+ 63: b,
2324
+ 87: x,
2325
+ 88: S,
2326
+ 89: C,
2327
+ 90: w,
2328
+ 91: T,
2329
+ 92: E,
2330
+ 105: D,
2331
+ 108: O,
2332
+ 109: k,
2333
+ 112: A,
2334
+ 114: j,
2335
+ 116: 47,
2336
+ 117: M,
2337
+ 118: N,
2338
+ 119: P,
2339
+ 124: ee,
2340
+ 125: te,
2341
+ 126: F,
2342
+ 127: I,
2343
+ 128: ne
2344
+ },
2345
+ t(o, [2, 10]),
2346
+ t(o, [2, 11]),
2347
+ t(o, [2, 12]),
2348
+ t(o, [2, 13]),
2349
+ {
2350
+ 8: [1, 63],
2351
+ 9: [1, 60],
2352
+ 10: [1, 61],
2353
+ 11: L,
2354
+ 16: 59,
2355
+ 19: 62
2356
+ },
2357
+ t(R, [2, 3]),
2358
+ t(R, [2, 4]),
2359
+ t(R, [2, 5]),
2360
+ t(R, [2, 6]),
2361
+ t(R, [2, 7]),
2362
+ t(R, [2, 8]),
2363
+ t(R, [2, 9]),
2364
+ {
2365
+ 8: z,
2366
+ 9: B,
2367
+ 10: V,
2368
+ 12: H,
2369
+ 22: 65,
2370
+ 44: 66,
2371
+ 75: 71,
2372
+ 78: [1, 72],
2373
+ 80: [1, 74],
2374
+ 81: [1, 73]
2375
+ },
2376
+ {
2377
+ 8: z,
2378
+ 9: B,
2379
+ 10: V,
2380
+ 12: H,
2381
+ 22: 75
2382
+ },
2383
+ {
2384
+ 8: z,
2385
+ 9: B,
2386
+ 10: V,
2387
+ 12: H,
2388
+ 22: 76
2389
+ },
2390
+ {
2391
+ 8: z,
2392
+ 9: B,
2393
+ 10: V,
2394
+ 12: H,
2395
+ 22: 77
2396
+ },
2397
+ {
2398
+ 8: z,
2399
+ 9: B,
2400
+ 10: V,
2401
+ 12: H,
2402
+ 22: 78
2403
+ },
2404
+ {
2405
+ 8: z,
2406
+ 9: B,
2407
+ 10: V,
2408
+ 12: H,
2409
+ 22: 79
2410
+ },
2411
+ {
2412
+ 8: z,
2413
+ 9: B,
2414
+ 10: V,
2415
+ 11: [1, 80],
2416
+ 12: H,
2417
+ 22: 81
2418
+ },
2419
+ {
2420
+ 8: z,
2421
+ 9: B,
2422
+ 10: V,
2423
+ 12: H,
2424
+ 22: 82
2425
+ },
2426
+ { 11: [1, 83] },
2427
+ t(R, [2, 48]),
2428
+ { 39: [1, 84] },
2429
+ { 41: [1, 85] },
2430
+ t(R, [2, 51]),
2431
+ t(re, [2, 63], {
2432
+ 19: 86,
2433
+ 34: 87,
2434
+ 11: L,
2435
+ 43: ie
2436
+ }),
2437
+ { 11: [1, 89] },
2438
+ { 11: [1, 90] },
2439
+ { 11: [1, 91] },
2440
+ { 11: [1, 92] },
2441
+ {
2442
+ 15: ae,
2443
+ 47: oe,
2444
+ 63: se,
2445
+ 83: [1, 96],
2446
+ 92: ce,
2447
+ 98: [1, 93],
2448
+ 100: [1, 94],
2449
+ 104: 95,
2450
+ 108: le,
2451
+ 109: ue,
2452
+ 112: de,
2453
+ 114: fe,
2454
+ 117: pe,
2455
+ 118: me,
2456
+ 119: he,
2457
+ 123: 97
2458
+ },
2459
+ t(R, [2, 200]),
2460
+ t(R, [2, 201]),
2461
+ t(R, [2, 202]),
2462
+ t(R, [2, 203]),
2463
+ t(R, [2, 204]),
2464
+ t(ge, [2, 64]),
2465
+ t(ge, [2, 67], { 49: [1, 109] }),
2466
+ t(U, [2, 85], {
2467
+ 116: 122,
2468
+ 30: [1, 110],
2469
+ 47: y,
2470
+ 51: [1, 111],
2471
+ 53: [1, 112],
2472
+ 55: [1, 113],
2473
+ 57: [1, 114],
2474
+ 59: [1, 115],
2475
+ 61: [1, 116],
2476
+ 63: b,
2477
+ 66: [1, 117],
2478
+ 68: [1, 118],
2479
+ 70: [1, 119],
2480
+ 71: [1, 120],
2481
+ 73: [1, 121],
2482
+ 92: E,
2483
+ 105: D,
2484
+ 108: O,
2485
+ 109: k,
2486
+ 112: A,
2487
+ 114: j,
2488
+ 117: M,
2489
+ 118: N,
2490
+ 119: P
2491
+ }),
2492
+ t(W, [2, 196]),
2493
+ t(W, [2, 157]),
2494
+ t(W, [2, 158]),
2495
+ t(W, [2, 159]),
2496
+ t(W, [2, 160]),
2497
+ t(W, [2, 161]),
2498
+ t(W, [2, 162]),
2499
+ t(W, [2, 163]),
2500
+ t(W, [2, 164]),
2501
+ t(W, [2, 165]),
2502
+ t(W, [2, 166]),
2503
+ t(W, [2, 167]),
2504
+ t(o, [2, 14]),
2505
+ t(o, [2, 20]),
2506
+ t(o, [2, 21]),
2507
+ { 10: [1, 123] },
2508
+ t(o, [2, 23]),
2509
+ t(_e, [2, 31], {
2510
+ 19: 124,
2511
+ 11: L
2512
+ }),
2513
+ t(R, [2, 32]),
2514
+ {
2515
+ 45: 125,
2516
+ 46: 44,
2517
+ 47: y,
2518
+ 48: 45,
2519
+ 50: 46,
2520
+ 63: b,
2521
+ 92: E,
2522
+ 105: D,
2523
+ 108: O,
2524
+ 109: k,
2525
+ 112: A,
2526
+ 114: j,
2527
+ 116: 47,
2528
+ 117: M,
2529
+ 118: N,
2530
+ 119: P
2531
+ },
2532
+ t(R, [2, 52]),
2533
+ t(R, [2, 53]),
2534
+ t(R, [2, 54]),
2535
+ t(R, [2, 55]),
2536
+ t(ve, [2, 89], {
2537
+ 76: 126,
2538
+ 65: [1, 128],
2539
+ 77: [1, 127]
2540
+ }),
2541
+ {
2542
+ 79: 129,
2543
+ 82: 130,
2544
+ 83: ye,
2545
+ 84: be,
2546
+ 119: xe,
2547
+ 122: Se
2548
+ },
2549
+ {
2550
+ 78: [1, 135],
2551
+ 80: [1, 136]
2552
+ },
2553
+ t(Ce, [2, 96]),
2554
+ t(R, [2, 33]),
2555
+ t(R, [2, 34]),
2556
+ t(R, [2, 35]),
2557
+ t(R, [2, 36]),
2558
+ t(R, [2, 37]),
2559
+ {
2560
+ 11: we,
2561
+ 13: Te,
2562
+ 15: Ee,
2563
+ 28: De,
2564
+ 29: 137,
2565
+ 33: Oe,
2566
+ 35: ke,
2567
+ 36: Ae,
2568
+ 47: je,
2569
+ 63: Me,
2570
+ 78: Ne,
2571
+ 83: Pe,
2572
+ 84: Fe,
2573
+ 86: 150,
2574
+ 87: Ie,
2575
+ 88: Le,
2576
+ 89: Re,
2577
+ 90: ze,
2578
+ 91: Be,
2579
+ 92: Ve,
2580
+ 93: He,
2581
+ 94: 138,
2582
+ 108: Ue,
2583
+ 112: We,
2584
+ 114: Ge,
2585
+ 117: Ke,
2586
+ 118: qe,
2587
+ 119: Je
2588
+ },
2589
+ t(Ye, s, { 5: 165 }),
2590
+ t(Ye, s, { 5: 166 }),
2591
+ {
2592
+ 11: we,
2593
+ 13: Te,
2594
+ 15: Ee,
2595
+ 28: De,
2596
+ 29: 167,
2597
+ 33: Oe,
2598
+ 35: ke,
2599
+ 36: Ae,
2600
+ 47: je,
2601
+ 63: Me,
2602
+ 78: Ne,
2603
+ 83: Pe,
2604
+ 84: Fe,
2605
+ 86: 150,
2606
+ 87: Ie,
2607
+ 88: Le,
2608
+ 89: Re,
2609
+ 90: ze,
2610
+ 91: Be,
2611
+ 92: Ve,
2612
+ 93: He,
2613
+ 94: 138,
2614
+ 108: Ue,
2615
+ 112: We,
2616
+ 114: Ge,
2617
+ 117: Ke,
2618
+ 118: qe,
2619
+ 119: Je
2620
+ },
2621
+ t(R, [2, 49]),
2622
+ t(R, [2, 50]),
2623
+ t(re, [2, 61], { 47: Xe }),
2624
+ t(re, [2, 62], {
2625
+ 19: 169,
2626
+ 11: L,
2627
+ 43: Ze
2628
+ }),
2629
+ t(ge, [2, 57]),
2630
+ {
2631
+ 47: y,
2632
+ 50: 171,
2633
+ 63: b,
2634
+ 92: E,
2635
+ 105: D,
2636
+ 108: O,
2637
+ 109: k,
2638
+ 112: A,
2639
+ 114: j,
2640
+ 116: 47,
2641
+ 117: M,
2642
+ 118: N,
2643
+ 119: P
2644
+ },
2645
+ {
2646
+ 105: [1, 172],
2647
+ 106: 173,
2648
+ 108: [1, 174]
2649
+ },
2650
+ {
2651
+ 47: y,
2652
+ 50: 175,
2653
+ 63: b,
2654
+ 92: E,
2655
+ 105: D,
2656
+ 108: O,
2657
+ 109: k,
2658
+ 112: A,
2659
+ 114: j,
2660
+ 116: 47,
2661
+ 117: M,
2662
+ 118: N,
2663
+ 119: P
2664
+ },
2665
+ {
2666
+ 47: y,
2667
+ 50: 176,
2668
+ 63: b,
2669
+ 92: E,
2670
+ 105: D,
2671
+ 108: O,
2672
+ 109: k,
2673
+ 112: A,
2674
+ 114: j,
2675
+ 116: 47,
2676
+ 117: M,
2677
+ 118: N,
2678
+ 119: P
2679
+ },
2680
+ t(G, [2, 122], {
2681
+ 11: [1, 177],
2682
+ 99: [1, 178]
2683
+ }),
2684
+ { 83: [1, 179] },
2685
+ t(G, [2, 130], {
2686
+ 123: 181,
2687
+ 11: [1, 180],
2688
+ 15: ae,
2689
+ 47: oe,
2690
+ 63: se,
2691
+ 92: ce,
2692
+ 108: le,
2693
+ 109: ue,
2694
+ 112: de,
2695
+ 114: fe,
2696
+ 117: pe,
2697
+ 118: me,
2698
+ 119: he
2699
+ }),
2700
+ t(G, [2, 132], { 11: [1, 182] }),
2701
+ t(K, [2, 198]),
2702
+ t(K, [2, 185]),
2703
+ t(K, [2, 186]),
2704
+ t(K, [2, 187]),
2705
+ t(K, [2, 188]),
2706
+ t(K, [2, 189]),
2707
+ t(K, [2, 190]),
2708
+ t(K, [2, 191]),
2709
+ t(K, [2, 192]),
2710
+ t(K, [2, 193]),
2711
+ t(K, [2, 194]),
2712
+ t(K, [2, 195]),
2713
+ {
2714
+ 47: y,
2715
+ 50: 183,
2716
+ 63: b,
2717
+ 92: E,
2718
+ 105: D,
2719
+ 108: O,
2720
+ 109: k,
2721
+ 112: A,
2722
+ 114: j,
2723
+ 116: 47,
2724
+ 117: M,
2725
+ 118: N,
2726
+ 119: P
2727
+ },
2728
+ {
2729
+ 31: 184,
2730
+ 70: q,
2731
+ 83: J,
2732
+ 84: Y,
2733
+ 85: 185,
2734
+ 119: X,
2735
+ 120: Z,
2736
+ 121: Q
2737
+ },
2738
+ {
2739
+ 31: 192,
2740
+ 70: q,
2741
+ 83: J,
2742
+ 84: Y,
2743
+ 85: 185,
2744
+ 119: X,
2745
+ 120: Z,
2746
+ 121: Q
2747
+ },
2748
+ {
2749
+ 31: 194,
2750
+ 53: [1, 193],
2751
+ 70: q,
2752
+ 83: J,
2753
+ 84: Y,
2754
+ 85: 185,
2755
+ 119: X,
2756
+ 120: Z,
2757
+ 121: Q
2758
+ },
2759
+ {
2760
+ 31: 195,
2761
+ 70: q,
2762
+ 83: J,
2763
+ 84: Y,
2764
+ 85: 185,
2765
+ 119: X,
2766
+ 120: Z,
2767
+ 121: Q
2768
+ },
2769
+ {
2770
+ 31: 196,
2771
+ 70: q,
2772
+ 83: J,
2773
+ 84: Y,
2774
+ 85: 185,
2775
+ 119: X,
2776
+ 120: Z,
2777
+ 121: Q
2778
+ },
2779
+ {
2780
+ 31: 197,
2781
+ 70: q,
2782
+ 83: J,
2783
+ 84: Y,
2784
+ 85: 185,
2785
+ 119: X,
2786
+ 120: Z,
2787
+ 121: Q
2788
+ },
2789
+ { 112: [1, 198] },
2790
+ {
2791
+ 31: 199,
2792
+ 70: q,
2793
+ 83: J,
2794
+ 84: Y,
2795
+ 85: 185,
2796
+ 119: X,
2797
+ 120: Z,
2798
+ 121: Q
2799
+ },
2800
+ {
2801
+ 31: 200,
2802
+ 68: [1, 201],
2803
+ 70: q,
2804
+ 83: J,
2805
+ 84: Y,
2806
+ 85: 185,
2807
+ 119: X,
2808
+ 120: Z,
2809
+ 121: Q
2810
+ },
2811
+ {
2812
+ 31: 202,
2813
+ 70: q,
2814
+ 83: J,
2815
+ 84: Y,
2816
+ 85: 185,
2817
+ 119: X,
2818
+ 120: Z,
2819
+ 121: Q
2820
+ },
2821
+ {
2822
+ 31: 203,
2823
+ 70: q,
2824
+ 83: J,
2825
+ 84: Y,
2826
+ 85: 185,
2827
+ 119: X,
2828
+ 120: Z,
2829
+ 121: Q
2830
+ },
2831
+ {
2832
+ 31: 204,
2833
+ 70: q,
2834
+ 83: J,
2835
+ 84: Y,
2836
+ 85: 185,
2837
+ 119: X,
2838
+ 120: Z,
2839
+ 121: Q
2840
+ },
2841
+ t(W, [2, 197]),
2842
+ t(o, [2, 22]),
2843
+ t(_e, [2, 30]),
2844
+ t(re, [2, 59], {
2845
+ 34: 205,
2846
+ 19: 206,
2847
+ 11: L,
2848
+ 43: ie
2849
+ }),
2850
+ t(ve, [2, 86], { 11: [1, 207] }),
2851
+ { 11: [1, 208] },
2852
+ {
2853
+ 31: 209,
2854
+ 70: q,
2855
+ 83: J,
2856
+ 84: Y,
2857
+ 85: 185,
2858
+ 119: X,
2859
+ 120: Z,
2860
+ 121: Q
2861
+ },
2862
+ {
2863
+ 80: [1, 210],
2864
+ 82: 211,
2865
+ 119: xe,
2866
+ 122: Se
2867
+ },
2868
+ t(Qe, [2, 92]),
2869
+ t(Qe, [2, 94]),
2870
+ t(Qe, [2, 95]),
2871
+ t(Qe, [2, 183]),
2872
+ t(Qe, [2, 184]),
2873
+ {
2874
+ 79: 212,
2875
+ 82: 130,
2876
+ 83: ye,
2877
+ 84: be,
2878
+ 119: xe,
2879
+ 122: Se
2880
+ },
2881
+ t(Ce, [2, 97]),
2882
+ {
2883
+ 8: z,
2884
+ 9: B,
2885
+ 10: V,
2886
+ 11: we,
2887
+ 12: H,
2888
+ 13: Te,
2889
+ 15: Ee,
2890
+ 22: 214,
2891
+ 28: De,
2892
+ 30: [1, 213],
2893
+ 33: Oe,
2894
+ 34: 215,
2895
+ 35: ke,
2896
+ 36: Ae,
2897
+ 43: ie,
2898
+ 47: je,
2899
+ 63: Me,
2900
+ 78: Ne,
2901
+ 86: 150,
2902
+ 87: Ie,
2903
+ 88: Le,
2904
+ 89: Re,
2905
+ 90: ze,
2906
+ 91: Be,
2907
+ 92: Ve,
2908
+ 93: He,
2909
+ 94: 216,
2910
+ 108: Ue,
2911
+ 112: We,
2912
+ 114: Ge,
2913
+ 117: Ke,
2914
+ 118: qe,
2915
+ 119: Je
2916
+ },
2917
+ t($, [2, 116]),
2918
+ t($, [2, 118]),
2919
+ t($, [2, 119]),
2920
+ t($, [2, 172]),
2921
+ t($, [2, 173]),
2922
+ t($, [2, 174]),
2923
+ t($, [2, 175]),
2924
+ t($, [2, 176]),
2925
+ t($, [2, 177]),
2926
+ t($, [2, 178]),
2927
+ t($, [2, 179]),
2928
+ t($, [2, 180]),
2929
+ t($, [2, 181]),
2930
+ t($, [2, 182]),
2931
+ t($, [2, 103]),
2932
+ t($, [2, 104]),
2933
+ t($, [2, 105]),
2934
+ t($, [2, 106]),
2935
+ t($, [2, 107]),
2936
+ t($, [2, 108]),
2937
+ t($, [2, 109]),
2938
+ t($, [2, 110]),
2939
+ t($, [2, 111]),
2940
+ t($, [2, 112]),
2941
+ t($, [2, 113]),
2942
+ t($, [2, 114]),
2943
+ t($, [2, 115]),
2944
+ {
2945
+ 6: 13,
2946
+ 7: 14,
2947
+ 8: c,
2948
+ 9: l,
2949
+ 10: u,
2950
+ 11: d,
2951
+ 12: f,
2952
+ 21: 20,
2953
+ 23: 21,
2954
+ 24: 22,
2955
+ 25: 23,
2956
+ 26: 24,
2957
+ 27: 25,
2958
+ 28: p,
2959
+ 33: [1, 217],
2960
+ 35: m,
2961
+ 36: h,
2962
+ 37: 29,
2963
+ 38: g,
2964
+ 40: _,
2965
+ 42: v,
2966
+ 45: 33,
2967
+ 46: 44,
2968
+ 47: y,
2969
+ 48: 45,
2970
+ 50: 46,
2971
+ 63: b,
2972
+ 87: x,
2973
+ 88: S,
2974
+ 89: C,
2975
+ 90: w,
2976
+ 91: T,
2977
+ 92: E,
2978
+ 105: D,
2979
+ 108: O,
2980
+ 109: k,
2981
+ 112: A,
2982
+ 114: j,
2983
+ 116: 47,
2984
+ 117: M,
2985
+ 118: N,
2986
+ 119: P,
2987
+ 124: ee,
2988
+ 125: te,
2989
+ 126: F,
2990
+ 127: I,
2991
+ 128: ne
2992
+ },
2993
+ {
2994
+ 6: 13,
2995
+ 7: 14,
2996
+ 8: c,
2997
+ 9: l,
2998
+ 10: u,
2999
+ 11: d,
3000
+ 12: f,
3001
+ 21: 20,
3002
+ 23: 21,
3003
+ 24: 22,
3004
+ 25: 23,
3005
+ 26: 24,
3006
+ 27: 25,
3007
+ 28: p,
3008
+ 33: [1, 218],
3009
+ 35: m,
3010
+ 36: h,
3011
+ 37: 29,
3012
+ 38: g,
3013
+ 40: _,
3014
+ 42: v,
3015
+ 45: 33,
3016
+ 46: 44,
3017
+ 47: y,
3018
+ 48: 45,
3019
+ 50: 46,
3020
+ 63: b,
3021
+ 87: x,
3022
+ 88: S,
3023
+ 89: C,
3024
+ 90: w,
3025
+ 91: T,
3026
+ 92: E,
3027
+ 105: D,
3028
+ 108: O,
3029
+ 109: k,
3030
+ 112: A,
3031
+ 114: j,
3032
+ 116: 47,
3033
+ 117: M,
3034
+ 118: N,
3035
+ 119: P,
3036
+ 124: ee,
3037
+ 125: te,
3038
+ 126: F,
3039
+ 127: I,
3040
+ 128: ne
3041
+ },
3042
+ {
3043
+ 8: z,
3044
+ 9: B,
3045
+ 10: V,
3046
+ 11: we,
3047
+ 12: H,
3048
+ 13: Te,
3049
+ 15: Ee,
3050
+ 22: 220,
3051
+ 28: De,
3052
+ 30: [1, 219],
3053
+ 33: Oe,
3054
+ 34: 221,
3055
+ 35: ke,
3056
+ 36: Ae,
3057
+ 43: ie,
3058
+ 47: je,
3059
+ 63: Me,
3060
+ 78: Ne,
3061
+ 86: 150,
3062
+ 87: Ie,
3063
+ 88: Le,
3064
+ 89: Re,
3065
+ 90: ze,
3066
+ 91: Be,
3067
+ 92: Ve,
3068
+ 93: He,
3069
+ 94: 216,
3070
+ 108: Ue,
3071
+ 112: We,
3072
+ 114: Ge,
3073
+ 117: Ke,
3074
+ 118: qe,
3075
+ 119: Je
3076
+ },
3077
+ {
3078
+ 11: L,
3079
+ 19: 222
3080
+ },
3081
+ { 47: [1, 223] },
3082
+ t(ge, [2, 56]),
3083
+ {
3084
+ 11: [1, 224],
3085
+ 47: y,
3086
+ 63: b,
3087
+ 92: E,
3088
+ 105: D,
3089
+ 108: O,
3090
+ 109: k,
3091
+ 112: A,
3092
+ 114: j,
3093
+ 116: 122,
3094
+ 117: M,
3095
+ 118: N,
3096
+ 119: P
3097
+ },
3098
+ { 11: [1, 225] },
3099
+ {
3100
+ 11: [1, 226],
3101
+ 109: [1, 227]
3102
+ },
3103
+ t($e, [2, 143]),
3104
+ {
3105
+ 11: [1, 228],
3106
+ 47: y,
3107
+ 63: b,
3108
+ 92: E,
3109
+ 105: D,
3110
+ 108: O,
3111
+ 109: k,
3112
+ 112: A,
3113
+ 114: j,
3114
+ 116: 122,
3115
+ 117: M,
3116
+ 118: N,
3117
+ 119: P
3118
+ },
3119
+ {
3120
+ 11: [1, 229],
3121
+ 47: y,
3122
+ 63: b,
3123
+ 92: E,
3124
+ 105: D,
3125
+ 108: O,
3126
+ 109: k,
3127
+ 112: A,
3128
+ 114: j,
3129
+ 116: 122,
3130
+ 117: M,
3131
+ 118: N,
3132
+ 119: P
3133
+ },
3134
+ { 83: [1, 230] },
3135
+ t(G, [2, 124], { 11: [1, 231] }),
3136
+ t(G, [2, 126], { 11: [1, 232] }),
3137
+ { 83: [1, 233] },
3138
+ t(K, [2, 199]),
3139
+ {
3140
+ 83: [1, 234],
3141
+ 101: [1, 235]
3142
+ },
3143
+ t(ge, [2, 68], {
3144
+ 116: 122,
3145
+ 47: y,
3146
+ 63: b,
3147
+ 92: E,
3148
+ 105: D,
3149
+ 108: O,
3150
+ 109: k,
3151
+ 112: A,
3152
+ 114: j,
3153
+ 117: M,
3154
+ 118: N,
3155
+ 119: P
3156
+ }),
3157
+ {
3158
+ 32: [1, 236],
3159
+ 70: q,
3160
+ 85: 237,
3161
+ 119: X,
3162
+ 120: Z,
3163
+ 121: Q
3164
+ },
3165
+ t(et, [2, 99]),
3166
+ t(et, [2, 101]),
3167
+ t(et, [2, 102]),
3168
+ t(et, [2, 168]),
3169
+ t(et, [2, 169]),
3170
+ t(et, [2, 170]),
3171
+ t(et, [2, 171]),
3172
+ {
3173
+ 52: [1, 238],
3174
+ 70: q,
3175
+ 85: 237,
3176
+ 119: X,
3177
+ 120: Z,
3178
+ 121: Q
3179
+ },
3180
+ {
3181
+ 31: 239,
3182
+ 70: q,
3183
+ 83: J,
3184
+ 84: Y,
3185
+ 85: 185,
3186
+ 119: X,
3187
+ 120: Z,
3188
+ 121: Q
3189
+ },
3190
+ {
3191
+ 54: [1, 240],
3192
+ 70: q,
3193
+ 85: 237,
3194
+ 119: X,
3195
+ 120: Z,
3196
+ 121: Q
3197
+ },
3198
+ {
3199
+ 56: [1, 241],
3200
+ 70: q,
3201
+ 85: 237,
3202
+ 119: X,
3203
+ 120: Z,
3204
+ 121: Q
3205
+ },
3206
+ {
3207
+ 58: [1, 242],
3208
+ 70: q,
3209
+ 85: 237,
3210
+ 119: X,
3211
+ 120: Z,
3212
+ 121: Q
3213
+ },
3214
+ {
3215
+ 60: [1, 243],
3216
+ 70: q,
3217
+ 85: 237,
3218
+ 119: X,
3219
+ 120: Z,
3220
+ 121: Q
3221
+ },
3222
+ { 63: [1, 244] },
3223
+ {
3224
+ 67: [1, 245],
3225
+ 70: q,
3226
+ 85: 237,
3227
+ 119: X,
3228
+ 120: Z,
3229
+ 121: Q
3230
+ },
3231
+ {
3232
+ 69: [1, 246],
3233
+ 70: q,
3234
+ 85: 237,
3235
+ 119: X,
3236
+ 120: Z,
3237
+ 121: Q
3238
+ },
3239
+ {
3240
+ 31: 247,
3241
+ 70: q,
3242
+ 83: J,
3243
+ 84: Y,
3244
+ 85: 185,
3245
+ 119: X,
3246
+ 120: Z,
3247
+ 121: Q
3248
+ },
3249
+ {
3250
+ 32: [1, 248],
3251
+ 70: q,
3252
+ 85: 237,
3253
+ 119: X,
3254
+ 120: Z,
3255
+ 121: Q
3256
+ },
3257
+ {
3258
+ 70: q,
3259
+ 72: [1, 249],
3260
+ 74: [1, 250],
3261
+ 85: 237,
3262
+ 119: X,
3263
+ 120: Z,
3264
+ 121: Q
3265
+ },
3266
+ {
3267
+ 70: q,
3268
+ 72: [1, 252],
3269
+ 74: [1, 251],
3270
+ 85: 237,
3271
+ 119: X,
3272
+ 120: Z,
3273
+ 121: Q
3274
+ },
3275
+ t(re, [2, 58], {
3276
+ 19: 169,
3277
+ 11: L,
3278
+ 43: Ze
3279
+ }),
3280
+ t(re, [2, 60], { 47: Xe }),
3281
+ t(ve, [2, 88]),
3282
+ t(ve, [2, 87]),
3283
+ {
3284
+ 65: [1, 253],
3285
+ 70: q,
3286
+ 85: 237,
3287
+ 119: X,
3288
+ 120: Z,
3289
+ 121: Q
3290
+ },
3291
+ t(ve, [2, 90]),
3292
+ t(Qe, [2, 93]),
3293
+ {
3294
+ 80: [1, 254],
3295
+ 82: 211,
3296
+ 119: xe,
3297
+ 122: Se
3298
+ },
3299
+ {
3300
+ 31: 255,
3301
+ 70: q,
3302
+ 83: J,
3303
+ 84: Y,
3304
+ 85: 185,
3305
+ 119: X,
3306
+ 120: Z,
3307
+ 121: Q
3308
+ },
3309
+ t(Ye, s, { 5: 256 }),
3310
+ {
3311
+ 8: z,
3312
+ 9: B,
3313
+ 10: V,
3314
+ 12: H,
3315
+ 22: 257,
3316
+ 43: Ze
3317
+ },
3318
+ t($, [2, 117]),
3319
+ t(R, [2, 42]),
3320
+ t(R, [2, 43]),
3321
+ {
3322
+ 31: 258,
3323
+ 70: q,
3324
+ 83: J,
3325
+ 84: Y,
3326
+ 85: 185,
3327
+ 119: X,
3328
+ 120: Z,
3329
+ 121: Q
3330
+ },
3331
+ t(R, [2, 46]),
3332
+ {
3333
+ 8: z,
3334
+ 9: B,
3335
+ 10: V,
3336
+ 12: H,
3337
+ 22: 259,
3338
+ 43: Ze
3339
+ },
3340
+ {
3341
+ 46: 260,
3342
+ 47: y,
3343
+ 48: 45,
3344
+ 50: 46,
3345
+ 63: b,
3346
+ 92: E,
3347
+ 105: D,
3348
+ 108: O,
3349
+ 109: k,
3350
+ 112: A,
3351
+ 114: j,
3352
+ 116: 47,
3353
+ 117: M,
3354
+ 118: N,
3355
+ 119: P
3356
+ },
3357
+ {
3358
+ 11: L,
3359
+ 19: 261
3360
+ },
3361
+ {
3362
+ 11: tt,
3363
+ 63: nt,
3364
+ 87: rt,
3365
+ 95: 262,
3366
+ 108: it,
3367
+ 110: 263,
3368
+ 111: 264,
3369
+ 112: at,
3370
+ 113: ot,
3371
+ 114: st,
3372
+ 115: ct
3373
+ },
3374
+ {
3375
+ 11: tt,
3376
+ 63: nt,
3377
+ 87: rt,
3378
+ 95: 273,
3379
+ 107: [1, 274],
3380
+ 108: it,
3381
+ 110: 263,
3382
+ 111: 264,
3383
+ 112: at,
3384
+ 113: ot,
3385
+ 114: st,
3386
+ 115: ct
3387
+ },
3388
+ {
3389
+ 11: tt,
3390
+ 63: nt,
3391
+ 87: rt,
3392
+ 95: 275,
3393
+ 107: [1, 276],
3394
+ 108: it,
3395
+ 110: 263,
3396
+ 111: 264,
3397
+ 112: at,
3398
+ 113: ot,
3399
+ 114: st,
3400
+ 115: ct
3401
+ },
3402
+ { 108: [1, 277] },
3403
+ {
3404
+ 11: tt,
3405
+ 63: nt,
3406
+ 87: rt,
3407
+ 95: 278,
3408
+ 108: it,
3409
+ 110: 263,
3410
+ 111: 264,
3411
+ 112: at,
3412
+ 113: ot,
3413
+ 114: st,
3414
+ 115: ct
3415
+ },
3416
+ {
3417
+ 47: y,
3418
+ 50: 279,
3419
+ 63: b,
3420
+ 92: E,
3421
+ 105: D,
3422
+ 108: O,
3423
+ 109: k,
3424
+ 112: A,
3425
+ 114: j,
3426
+ 116: 47,
3427
+ 117: M,
3428
+ 118: N,
3429
+ 119: P
3430
+ },
3431
+ t(G, [2, 123]),
3432
+ { 83: [1, 280] },
3433
+ {
3434
+ 83: [1, 281],
3435
+ 101: [1, 282]
3436
+ },
3437
+ t(G, [2, 131]),
3438
+ t(G, [2, 133], { 11: [1, 283] }),
3439
+ t(G, [2, 134]),
3440
+ t(U, [2, 69]),
3441
+ t(et, [2, 100]),
3442
+ t(U, [2, 70]),
3443
+ {
3444
+ 54: [1, 284],
3445
+ 70: q,
3446
+ 85: 237,
3447
+ 119: X,
3448
+ 120: Z,
3449
+ 121: Q
3450
+ },
3451
+ t(U, [2, 77]),
3452
+ t(U, [2, 72]),
3453
+ t(U, [2, 73]),
3454
+ t(U, [2, 74]),
3455
+ { 112: [1, 285] },
3456
+ t(U, [2, 76]),
3457
+ t(U, [2, 78]),
3458
+ {
3459
+ 69: [1, 286],
3460
+ 70: q,
3461
+ 85: 237,
3462
+ 119: X,
3463
+ 120: Z,
3464
+ 121: Q
3465
+ },
3466
+ t(U, [2, 80]),
3467
+ t(U, [2, 81]),
3468
+ t(U, [2, 83]),
3469
+ t(U, [2, 82]),
3470
+ t(U, [2, 84]),
3471
+ t([
3472
+ 11,
3473
+ 47,
3474
+ 63,
3475
+ 92,
3476
+ 105,
3477
+ 108,
3478
+ 109,
3479
+ 112,
3480
+ 114,
3481
+ 117,
3482
+ 118,
3483
+ 119
3484
+ ], [2, 98]),
3485
+ t(ve, [2, 91]),
3486
+ {
3487
+ 32: [1, 287],
3488
+ 70: q,
3489
+ 85: 237,
3490
+ 119: X,
3491
+ 120: Z,
3492
+ 121: Q
3493
+ },
3494
+ {
3495
+ 6: 13,
3496
+ 7: 14,
3497
+ 8: c,
3498
+ 9: l,
3499
+ 10: u,
3500
+ 11: d,
3501
+ 12: f,
3502
+ 21: 20,
3503
+ 23: 21,
3504
+ 24: 22,
3505
+ 25: 23,
3506
+ 26: 24,
3507
+ 27: 25,
3508
+ 28: p,
3509
+ 33: [1, 288],
3510
+ 35: m,
3511
+ 36: h,
3512
+ 37: 29,
3513
+ 38: g,
3514
+ 40: _,
3515
+ 42: v,
3516
+ 45: 33,
3517
+ 46: 44,
3518
+ 47: y,
3519
+ 48: 45,
3520
+ 50: 46,
3521
+ 63: b,
3522
+ 87: x,
3523
+ 88: S,
3524
+ 89: C,
3525
+ 90: w,
3526
+ 91: T,
3527
+ 92: E,
3528
+ 105: D,
3529
+ 108: O,
3530
+ 109: k,
3531
+ 112: A,
3532
+ 114: j,
3533
+ 116: 47,
3534
+ 117: M,
3535
+ 118: N,
3536
+ 119: P,
3537
+ 124: ee,
3538
+ 125: te,
3539
+ 126: F,
3540
+ 127: I,
3541
+ 128: ne
3542
+ },
3543
+ t(Ye, s, { 5: 289 }),
3544
+ {
3545
+ 32: [1, 290],
3546
+ 70: q,
3547
+ 85: 237,
3548
+ 119: X,
3549
+ 120: Z,
3550
+ 121: Q
3551
+ },
3552
+ t(R, [2, 47]),
3553
+ t(ge, [2, 66]),
3554
+ {
3555
+ 46: 291,
3556
+ 47: y,
3557
+ 48: 45,
3558
+ 50: 46,
3559
+ 63: b,
3560
+ 92: E,
3561
+ 105: D,
3562
+ 108: O,
3563
+ 109: k,
3564
+ 112: A,
3565
+ 114: j,
3566
+ 116: 47,
3567
+ 117: M,
3568
+ 118: N,
3569
+ 119: P
3570
+ },
3571
+ t(G, [2, 136], { 109: lt }),
3572
+ t(ut, [2, 145], {
3573
+ 111: 293,
3574
+ 11: tt,
3575
+ 63: nt,
3576
+ 87: rt,
3577
+ 108: it,
3578
+ 112: at,
3579
+ 113: ot,
3580
+ 114: st,
3581
+ 115: ct
3582
+ }),
3583
+ t(dt, [2, 147]),
3584
+ t(dt, [2, 149]),
3585
+ t(dt, [2, 150]),
3586
+ t(dt, [2, 151]),
3587
+ t(dt, [2, 152]),
3588
+ t(dt, [2, 153]),
3589
+ t(dt, [2, 154]),
3590
+ t(dt, [2, 155]),
3591
+ t(dt, [2, 156]),
3592
+ t(G, [2, 137], { 109: lt }),
3593
+ { 11: [1, 294] },
3594
+ t(G, [2, 138], { 109: lt }),
3595
+ { 11: [1, 295] },
3596
+ t($e, [2, 144]),
3597
+ t(G, [2, 120], { 109: lt }),
3598
+ t(G, [2, 121], {
3599
+ 116: 122,
3600
+ 47: y,
3601
+ 63: b,
3602
+ 92: E,
3603
+ 105: D,
3604
+ 108: O,
3605
+ 109: k,
3606
+ 112: A,
3607
+ 114: j,
3608
+ 117: M,
3609
+ 118: N,
3610
+ 119: P
3611
+ }),
3612
+ t(G, [2, 125]),
3613
+ t(G, [2, 127], { 11: [1, 296] }),
3614
+ t(G, [2, 128]),
3615
+ { 101: [1, 297] },
3616
+ { 54: [1, 298] },
3617
+ { 65: [1, 299] },
3618
+ { 69: [1, 300] },
3619
+ {
3620
+ 8: z,
3621
+ 9: B,
3622
+ 10: V,
3623
+ 12: H,
3624
+ 22: 301,
3625
+ 34: 302,
3626
+ 43: ie
3627
+ },
3628
+ t(R, [2, 40]),
3629
+ {
3630
+ 6: 13,
3631
+ 7: 14,
3632
+ 8: c,
3633
+ 9: l,
3634
+ 10: u,
3635
+ 11: d,
3636
+ 12: f,
3637
+ 21: 20,
3638
+ 23: 21,
3639
+ 24: 22,
3640
+ 25: 23,
3641
+ 26: 24,
3642
+ 27: 25,
3643
+ 28: p,
3644
+ 33: [1, 303],
3645
+ 35: m,
3646
+ 36: h,
3647
+ 37: 29,
3648
+ 38: g,
3649
+ 40: _,
3650
+ 42: v,
3651
+ 45: 33,
3652
+ 46: 44,
3653
+ 47: y,
3654
+ 48: 45,
3655
+ 50: 46,
3656
+ 63: b,
3657
+ 87: x,
3658
+ 88: S,
3659
+ 89: C,
3660
+ 90: w,
3661
+ 91: T,
3662
+ 92: E,
3663
+ 105: D,
3664
+ 108: O,
3665
+ 109: k,
3666
+ 112: A,
3667
+ 114: j,
3668
+ 116: 47,
3669
+ 117: M,
3670
+ 118: N,
3671
+ 119: P,
3672
+ 124: ee,
3673
+ 125: te,
3674
+ 126: F,
3675
+ 127: I,
3676
+ 128: ne
3677
+ },
3678
+ {
3679
+ 8: z,
3680
+ 9: B,
3681
+ 10: V,
3682
+ 12: H,
3683
+ 22: 304,
3684
+ 34: 305,
3685
+ 43: ie
3686
+ },
3687
+ t(ge, [2, 65]),
3688
+ {
3689
+ 11: tt,
3690
+ 63: nt,
3691
+ 87: rt,
3692
+ 108: it,
3693
+ 110: 306,
3694
+ 111: 264,
3695
+ 112: at,
3696
+ 113: ot,
3697
+ 114: st,
3698
+ 115: ct
3699
+ },
3700
+ t(dt, [2, 148]),
3701
+ {
3702
+ 15: ae,
3703
+ 47: oe,
3704
+ 63: se,
3705
+ 92: ce,
3706
+ 104: 307,
3707
+ 108: le,
3708
+ 109: ue,
3709
+ 112: de,
3710
+ 114: fe,
3711
+ 117: pe,
3712
+ 118: me,
3713
+ 119: he,
3714
+ 123: 97
3715
+ },
3716
+ {
3717
+ 15: ae,
3718
+ 47: oe,
3719
+ 63: se,
3720
+ 92: ce,
3721
+ 104: 308,
3722
+ 108: le,
3723
+ 109: ue,
3724
+ 112: de,
3725
+ 114: fe,
3726
+ 117: pe,
3727
+ 118: me,
3728
+ 119: he,
3729
+ 123: 97
3730
+ },
3731
+ { 101: [1, 309] },
3732
+ t(G, [2, 135]),
3733
+ t(U, [2, 71]),
3734
+ {
3735
+ 31: 310,
3736
+ 70: q,
3737
+ 83: J,
3738
+ 84: Y,
3739
+ 85: 185,
3740
+ 119: X,
3741
+ 120: Z,
3742
+ 121: Q
3743
+ },
3744
+ t(U, [2, 79]),
3745
+ t(Ye, s, { 5: 311 }),
3746
+ {
3747
+ 8: z,
3748
+ 9: B,
3749
+ 10: V,
3750
+ 12: H,
3751
+ 22: 312,
3752
+ 43: Ze
3753
+ },
3754
+ t(R, [2, 41]),
3755
+ t(R, [2, 44]),
3756
+ {
3757
+ 8: z,
3758
+ 9: B,
3759
+ 10: V,
3760
+ 12: H,
3761
+ 22: 313,
3762
+ 43: Ze
3763
+ },
3764
+ t(ut, [2, 146], {
3765
+ 111: 293,
3766
+ 11: tt,
3767
+ 63: nt,
3768
+ 87: rt,
3769
+ 108: it,
3770
+ 112: at,
3771
+ 113: ot,
3772
+ 114: st,
3773
+ 115: ct
3774
+ }),
3775
+ t(G, [2, 141], {
3776
+ 123: 181,
3777
+ 11: [1, 314],
3778
+ 15: ae,
3779
+ 47: oe,
3780
+ 63: se,
3781
+ 92: ce,
3782
+ 108: le,
3783
+ 109: ue,
3784
+ 112: de,
3785
+ 114: fe,
3786
+ 117: pe,
3787
+ 118: me,
3788
+ 119: he
3789
+ }),
3790
+ t(G, [2, 142], {
3791
+ 123: 181,
3792
+ 11: [1, 315],
3793
+ 15: ae,
3794
+ 47: oe,
3795
+ 63: se,
3796
+ 92: ce,
3797
+ 108: le,
3798
+ 109: ue,
3799
+ 112: de,
3800
+ 114: fe,
3801
+ 117: pe,
3802
+ 118: me,
3803
+ 119: he
3804
+ }),
3805
+ t(G, [2, 129]),
3806
+ {
3807
+ 32: [1, 316],
3808
+ 70: q,
3809
+ 85: 237,
3810
+ 119: X,
3811
+ 120: Z,
3812
+ 121: Q
3813
+ },
3814
+ {
3815
+ 6: 13,
3816
+ 7: 14,
3817
+ 8: c,
3818
+ 9: l,
3819
+ 10: u,
3820
+ 11: d,
3821
+ 12: f,
3822
+ 21: 20,
3823
+ 23: 21,
3824
+ 24: 22,
3825
+ 25: 23,
3826
+ 26: 24,
3827
+ 27: 25,
3828
+ 28: p,
3829
+ 33: [1, 317],
3830
+ 35: m,
3831
+ 36: h,
3832
+ 37: 29,
3833
+ 38: g,
3834
+ 40: _,
3835
+ 42: v,
3836
+ 45: 33,
3837
+ 46: 44,
3838
+ 47: y,
3839
+ 48: 45,
3840
+ 50: 46,
3841
+ 63: b,
3842
+ 87: x,
3843
+ 88: S,
3844
+ 89: C,
3845
+ 90: w,
3846
+ 91: T,
3847
+ 92: E,
3848
+ 105: D,
3849
+ 108: O,
3850
+ 109: k,
3851
+ 112: A,
3852
+ 114: j,
3853
+ 116: 47,
3854
+ 117: M,
3855
+ 118: N,
3856
+ 119: P,
3857
+ 124: ee,
3858
+ 125: te,
3859
+ 126: F,
3860
+ 127: I,
3861
+ 128: ne
3862
+ },
3863
+ t(Ye, s, { 5: 318 }),
3864
+ t(R, [2, 45]),
3865
+ {
3866
+ 11: tt,
3867
+ 63: nt,
3868
+ 87: rt,
3869
+ 95: 319,
3870
+ 108: it,
3871
+ 110: 263,
3872
+ 111: 264,
3873
+ 112: at,
3874
+ 113: ot,
3875
+ 114: st,
3876
+ 115: ct
3877
+ },
3878
+ {
3879
+ 11: tt,
3880
+ 63: nt,
3881
+ 87: rt,
3882
+ 95: 320,
3883
+ 108: it,
3884
+ 110: 263,
3885
+ 111: 264,
3886
+ 112: at,
3887
+ 113: ot,
3888
+ 114: st,
3889
+ 115: ct
3890
+ },
3891
+ t(U, [2, 75]),
3892
+ t(R, [2, 38]),
3893
+ {
3894
+ 6: 13,
3895
+ 7: 14,
3896
+ 8: c,
3897
+ 9: l,
3898
+ 10: u,
3899
+ 11: d,
3900
+ 12: f,
3901
+ 21: 20,
3902
+ 23: 21,
3903
+ 24: 22,
3904
+ 25: 23,
3905
+ 26: 24,
3906
+ 27: 25,
3907
+ 28: p,
3908
+ 33: [1, 321],
3909
+ 35: m,
3910
+ 36: h,
3911
+ 37: 29,
3912
+ 38: g,
3913
+ 40: _,
3914
+ 42: v,
3915
+ 45: 33,
3916
+ 46: 44,
3917
+ 47: y,
3918
+ 48: 45,
3919
+ 50: 46,
3920
+ 63: b,
3921
+ 87: x,
3922
+ 88: S,
3923
+ 89: C,
3924
+ 90: w,
3925
+ 91: T,
3926
+ 92: E,
3927
+ 105: D,
3928
+ 108: O,
3929
+ 109: k,
3930
+ 112: A,
3931
+ 114: j,
3932
+ 116: 47,
3933
+ 117: M,
3934
+ 118: N,
3935
+ 119: P,
3936
+ 124: ee,
3937
+ 125: te,
3938
+ 126: F,
3939
+ 127: I,
3940
+ 128: ne
3941
+ },
3942
+ t(G, [2, 139], { 109: lt }),
3943
+ t(G, [2, 140], { 109: lt }),
3944
+ t(R, [2, 39])
3945
+ ],
3946
+ defaultActions: {},
3947
+ parseError: /* @__PURE__ */ e(function(e, t) {
3948
+ if (t.recoverable) this.trace(e);
3949
+ else {
3950
+ var n = Error(e);
3951
+ throw n.hash = t, n;
3952
+ }
3953
+ }, "parseError"),
3954
+ parse: /* @__PURE__ */ e(function(t) {
3955
+ var n = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
3956
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
3957
+ h.setInput(t, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
3958
+ var v = h.yylloc;
3959
+ o.push(v);
3960
+ var y = h.options && h.options.ranges;
3961
+ this.parseError = typeof g.yy.parseError == "function" ? g.yy.parseError : Object.getPrototypeOf(this).parseError;
3962
+ function b(e) {
3963
+ r.length -= 2 * e, a.length -= e, o.length -= e;
3964
+ }
3965
+ e(b, "popStack");
3966
+ function x() {
3967
+ var e = i.pop() || h.lex() || p;
3968
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = n.symbols_[e] || e), e;
3969
+ }
3970
+ e(x, "lex");
3971
+ for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
3972
+ if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
3973
+ var M = "";
3974
+ for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
3975
+ M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
3976
+ text: h.match,
3977
+ token: this.terminals_[S] || S,
3978
+ line: h.yylineno,
3979
+ loc: v,
3980
+ expected: j
3981
+ });
3982
+ }
3983
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
3984
+ switch (T[0]) {
3985
+ case 1:
3986
+ r.push(S), a.push(h.yytext), o.push(h.yylloc), r.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
3987
+ break;
3988
+ case 2:
3989
+ if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
3990
+ first_line: o[o.length - (k || 1)].first_line,
3991
+ last_line: o[o.length - 1].last_line,
3992
+ first_column: o[o.length - (k || 1)].first_column,
3993
+ last_column: o[o.length - 1].last_column
3994
+ }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
3995
+ c,
3996
+ u,
3997
+ l,
3998
+ g.yy,
3999
+ T[1],
4000
+ a,
4001
+ o
4002
+ ].concat(m)), E !== void 0) return E;
4003
+ k && (r = r.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), r.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[r[r.length - 2]][r[r.length - 1]], r.push(A);
4004
+ break;
4005
+ case 3: return !0;
4006
+ }
4007
+ }
4008
+ return !0;
4009
+ }, "parse")
4010
+ };
4011
+ ft.lexer = /* @__PURE__ */ (function() {
4012
+ return {
4013
+ EOF: 1,
4014
+ parseError: /* @__PURE__ */ e(function(e, t) {
4015
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
4016
+ else throw Error(e);
4017
+ }, "parseError"),
4018
+ setInput: /* @__PURE__ */ e(function(e, t) {
4019
+ return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
4020
+ first_line: 1,
4021
+ first_column: 0,
4022
+ last_line: 1,
4023
+ last_column: 0
4024
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
4025
+ }, "setInput"),
4026
+ input: /* @__PURE__ */ e(function() {
4027
+ var e = this._input[0];
4028
+ return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
4029
+ }, "input"),
4030
+ unput: /* @__PURE__ */ e(function(e) {
4031
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
4032
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
4033
+ var r = this.match.split(/(?:\r\n?|\n)/g);
4034
+ 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);
4035
+ var i = this.yylloc.range;
4036
+ return this.yylloc = {
4037
+ first_line: this.yylloc.first_line,
4038
+ last_line: this.yylineno + 1,
4039
+ first_column: this.yylloc.first_column,
4040
+ last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
4041
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
4042
+ }, "unput"),
4043
+ more: /* @__PURE__ */ e(function() {
4044
+ return this._more = !0, this;
4045
+ }, "more"),
4046
+ reject: /* @__PURE__ */ e(function() {
4047
+ if (this.options.backtrack_lexer) this._backtrack = !0;
4048
+ 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).\n" + this.showPosition(), {
4049
+ text: "",
4050
+ token: null,
4051
+ line: this.yylineno
4052
+ });
4053
+ return this;
4054
+ }, "reject"),
4055
+ less: /* @__PURE__ */ e(function(e) {
4056
+ this.unput(this.match.slice(e));
4057
+ }, "less"),
4058
+ pastInput: /* @__PURE__ */ e(function() {
4059
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
4060
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
4061
+ }, "pastInput"),
4062
+ upcomingInput: /* @__PURE__ */ e(function() {
4063
+ var e = this.match;
4064
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
4065
+ }, "upcomingInput"),
4066
+ showPosition: /* @__PURE__ */ e(function() {
4067
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
4068
+ return e + this.upcomingInput() + "\n" + t + "^";
4069
+ }, "showPosition"),
4070
+ test_match: /* @__PURE__ */ e(function(e, t) {
4071
+ var n, r, i;
4072
+ if (this.options.backtrack_lexer && (i = {
4073
+ yylineno: this.yylineno,
4074
+ yylloc: {
4075
+ first_line: this.yylloc.first_line,
4076
+ last_line: this.last_line,
4077
+ first_column: this.yylloc.first_column,
4078
+ last_column: this.yylloc.last_column
4079
+ },
4080
+ yytext: this.yytext,
4081
+ match: this.match,
4082
+ matches: this.matches,
4083
+ matched: this.matched,
4084
+ yyleng: this.yyleng,
4085
+ offset: this.offset,
4086
+ _more: this._more,
4087
+ _input: this._input,
4088
+ yy: this.yy,
4089
+ conditionStack: this.conditionStack.slice(0),
4090
+ done: this.done
4091
+ }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
4092
+ first_line: this.yylloc.last_line,
4093
+ last_line: this.yylineno + 1,
4094
+ first_column: this.yylloc.last_column,
4095
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
4096
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
4097
+ if (this._backtrack) {
4098
+ for (var a in i) this[a] = i[a];
4099
+ return !1;
4100
+ }
4101
+ return !1;
4102
+ }, "test_match"),
4103
+ next: /* @__PURE__ */ e(function() {
4104
+ if (this.done) return this.EOF;
4105
+ this._input || (this.done = !0);
4106
+ var e, t, n, r;
4107
+ this._more || (this.yytext = "", this.match = "");
4108
+ for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
4109
+ if (t = n, r = a, this.options.backtrack_lexer) {
4110
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
4111
+ if (this._backtrack) {
4112
+ t = !1;
4113
+ continue;
4114
+ }
4115
+ return !1;
4116
+ }
4117
+ if (!this.options.flex) break;
4118
+ }
4119
+ return t ? (e = this.test_match(t, i[r]), e !== !1 && e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
4120
+ text: "",
4121
+ token: null,
4122
+ line: this.yylineno
4123
+ });
4124
+ }, "next"),
4125
+ lex: /* @__PURE__ */ e(function() {
4126
+ return this.next() || this.lex();
4127
+ }, "lex"),
4128
+ begin: /* @__PURE__ */ e(function(e) {
4129
+ this.conditionStack.push(e);
4130
+ }, "begin"),
4131
+ popState: /* @__PURE__ */ e(function() {
4132
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
4133
+ }, "popState"),
4134
+ _currentRules: /* @__PURE__ */ e(function() {
4135
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
4136
+ }, "_currentRules"),
4137
+ topState: /* @__PURE__ */ e(function(e) {
4138
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
4139
+ }, "topState"),
4140
+ pushState: /* @__PURE__ */ e(function(e) {
4141
+ this.begin(e);
4142
+ }, "pushState"),
4143
+ stateStackSize: /* @__PURE__ */ e(function() {
4144
+ return this.conditionStack.length;
4145
+ }, "stateStackSize"),
4146
+ options: {},
4147
+ performAction: /* @__PURE__ */ e(function(e, t, n, r) {
4148
+ switch (n) {
4149
+ case 0: return this.begin("acc_title"), 38;
4150
+ case 1: return this.popState(), "acc_title_value";
4151
+ case 2: return this.begin("acc_descr"), 40;
4152
+ case 3: return this.popState(), "acc_descr_value";
4153
+ case 4:
4154
+ this.begin("acc_descr_multiline");
4155
+ break;
4156
+ case 5:
4157
+ this.popState();
4158
+ break;
4159
+ case 6: return "acc_descr_multiline_value";
4160
+ case 7: return this.pushState("shapeData"), t.yytext = "", 43;
4161
+ case 8: return this.pushState("shapeDataStr"), 43;
4162
+ case 9: return this.popState(), 43;
4163
+ case 10: return t.yytext = t.yytext.replace(/\n\s*/g, "<br/>"), 43;
4164
+ case 11: return 43;
4165
+ case 12:
4166
+ this.popState();
4167
+ break;
4168
+ case 13:
4169
+ this.begin("callbackname");
4170
+ break;
4171
+ case 14:
4172
+ this.popState();
4173
+ break;
4174
+ case 15:
4175
+ this.popState(), this.begin("callbackargs");
4176
+ break;
4177
+ case 16: return 98;
4178
+ case 17:
4179
+ this.popState();
4180
+ break;
4181
+ case 18: return 99;
4182
+ case 19: return "MD_STR";
4183
+ case 20:
4184
+ this.popState();
4185
+ break;
4186
+ case 21:
4187
+ this.begin("md_string");
4188
+ break;
4189
+ case 22: return "STR";
4190
+ case 23:
4191
+ this.popState();
4192
+ break;
4193
+ case 24:
4194
+ this.pushState("string");
4195
+ break;
4196
+ case 25: return 87;
4197
+ case 26: return 105;
4198
+ case 27: return 88;
4199
+ case 28: return 107;
4200
+ case 29: return 89;
4201
+ case 30: return 90;
4202
+ case 31: return 100;
4203
+ case 32:
4204
+ this.begin("click");
4205
+ break;
4206
+ case 33:
4207
+ this.popState();
4208
+ break;
4209
+ case 34: return 91;
4210
+ case 35: return e.lex.firstGraph() && this.begin("dir"), 13;
4211
+ case 36: return 28;
4212
+ case 37: return 36;
4213
+ case 38: return 35;
4214
+ case 39: return 33;
4215
+ case 40: return 101;
4216
+ case 41: return 101;
4217
+ case 42: return 101;
4218
+ case 43: return 101;
4219
+ case 44: return this.popState(), 14;
4220
+ case 45: return this.popState(), 15;
4221
+ case 46: return this.popState(), 15;
4222
+ case 47: return this.popState(), 15;
4223
+ case 48: return this.popState(), 15;
4224
+ case 49: return this.popState(), 15;
4225
+ case 50: return this.popState(), 15;
4226
+ case 51: return this.popState(), 15;
4227
+ case 52: return this.popState(), 15;
4228
+ case 53: return this.popState(), 15;
4229
+ case 54: return this.popState(), 15;
4230
+ case 55: return 124;
4231
+ case 56: return 125;
4232
+ case 57: return 126;
4233
+ case 58: return 127;
4234
+ case 59: return 128;
4235
+ case 60: return 81;
4236
+ case 61: return 108;
4237
+ case 62: return 114;
4238
+ case 63: return 49;
4239
+ case 64: return 63;
4240
+ case 65: return 47;
4241
+ case 66: return 9;
4242
+ case 67: return 109;
4243
+ case 68: return 118;
4244
+ case 69: return this.popState(), 80;
4245
+ case 70: return this.pushState("edgeText"), 78;
4246
+ case 71: return 122;
4247
+ case 72: return 80;
4248
+ case 73: break;
4249
+ case 74: return this.popState(), 56;
4250
+ case 75: return "TEXT";
4251
+ case 76: return this.pushState("ellipseText"), 55;
4252
+ case 77: return this.popState(), 58;
4253
+ case 78: return this.pushState("text"), 57;
4254
+ case 79: return this.popState(), 60;
4255
+ case 80: return this.pushState("text"), 59;
4256
+ case 81: return 61;
4257
+ case 82: return this.pushState("text"), 70;
4258
+ case 83: return this.popState(), 67;
4259
+ case 84: return this.pushState("text"), 66;
4260
+ case 85: return this.popState(), 52;
4261
+ case 86: return this.pushState("text"), 51;
4262
+ case 87: break;
4263
+ case 88: return this.popState(), 72;
4264
+ case 89: return this.popState(), 74;
4265
+ case 90: return 120;
4266
+ case 91: return this.pushState("trapText"), 71;
4267
+ case 92: return this.pushState("trapText"), 73;
4268
+ case 93: return 121;
4269
+ case 94: return 70;
4270
+ case 95: return 93;
4271
+ case 96: return "SEP";
4272
+ case 97: return 92;
4273
+ case 98: return 118;
4274
+ case 99: return 114;
4275
+ case 100: return 47;
4276
+ case 101: return 8;
4277
+ case 102: return 112;
4278
+ case 103: return 117;
4279
+ case 104: return 119;
4280
+ case 105: return this.popState(), 65;
4281
+ case 106: return this.pushState("text"), 65;
4282
+ case 107: return this.popState(), 54;
4283
+ case 108: return this.pushState("text"), 53;
4284
+ case 109: return this.popState(), 32;
4285
+ case 110: return this.pushState("text"), 30;
4286
+ case 111: return this.popState(), 69;
4287
+ case 112: return this.pushState("text"), 68;
4288
+ case 113: break;
4289
+ case 114: return "TEXT";
4290
+ case 115: return "QUOTE";
4291
+ case 116: return 10;
4292
+ case 117: return 11;
4293
+ case 118: return 12;
4294
+ }
4295
+ }, "anonymous"),
4296
+ rules: [
4297
+ /^(?:accTitle\s*:\s*)/,
4298
+ /^(?:(?!\n||)*[^\n]*)/,
4299
+ /^(?:accDescr\s*:\s*)/,
4300
+ /^(?:(?!\n||)*[^\n]*)/,
4301
+ /^(?:accDescr\s*\{\s*)/,
4302
+ /^(?:[\}])/,
4303
+ /^(?:[^\}]*)/,
4304
+ /^(?:@\{)/,
4305
+ /^(?:["])/,
4306
+ /^(?:["])/,
4307
+ /^(?:[^\"]+)/,
4308
+ /^(?:[^}^"]+)/,
4309
+ /^(?:\})/,
4310
+ /^(?:call[\s]+)/,
4311
+ /^(?:\([\s]*\))/,
4312
+ /^(?:\()/,
4313
+ /^(?:[^(]*)/,
4314
+ /^(?:\))/,
4315
+ /^(?:[^)]*)/,
4316
+ /^(?:[^`"]+)/,
4317
+ /^(?:[`]["])/,
4318
+ /^(?:["][`])/,
4319
+ /^(?:[^"]+)/,
4320
+ /^(?:["])/,
4321
+ /^(?:["])/,
4322
+ /^(?:style\b)/,
4323
+ /^(?:default\b)/,
4324
+ /^(?:linkStyle\b)/,
4325
+ /^(?:interpolate\b)/,
4326
+ /^(?:classDef\b)/,
4327
+ /^(?:class\b)/,
4328
+ /^(?:href[\s])/,
4329
+ /^(?:click[\s]+)/,
4330
+ /^(?:[\s\n])/,
4331
+ /^(?:[^\s\n]*)/,
4332
+ /^(?:agentflow-beta\b)/,
4333
+ /^(?:flow\b)/,
4334
+ /^(?:connector\b)/,
4335
+ /^(?:global\b[ \t]*)/,
4336
+ /^(?:end\b[ \t]*)/,
4337
+ /^(?:_self\b)/,
4338
+ /^(?:_blank\b)/,
4339
+ /^(?:_parent\b)/,
4340
+ /^(?:_top\b)/,
4341
+ /^(?:(\r?\n)*\s*\n)/,
4342
+ /^(?:\s*LR\b)/,
4343
+ /^(?:\s*RL\b)/,
4344
+ /^(?:\s*TB\b)/,
4345
+ /^(?:\s*BT\b)/,
4346
+ /^(?:\s*TD\b)/,
4347
+ /^(?:\s*BR\b)/,
4348
+ /^(?:\s*<)/,
4349
+ /^(?:\s*>)/,
4350
+ /^(?:\s*\^)/,
4351
+ /^(?:\s*v\b)/,
4352
+ /^(?:.*direction\s+TB[^\n]*)/,
4353
+ /^(?:.*direction\s+BT[^\n]*)/,
4354
+ /^(?:.*direction\s+RL[^\n]*)/,
4355
+ /^(?:.*direction\s+LR[^\n]*)/,
4356
+ /^(?:.*direction\s+TD[^\n]*)/,
4357
+ /^(?:[^\s\"]+@(?=[^\{\"]))/,
4358
+ /^(?:[0-9]+)/,
4359
+ /^(?:#)/,
4360
+ /^(?::::)/,
4361
+ /^(?::)/,
4362
+ /^(?:&)/,
4363
+ /^(?:;)/,
4364
+ /^(?:,)/,
4365
+ /^(?:\*)/,
4366
+ /^(?:\s*--+[x>]\s*)/,
4367
+ /^(?:\s*--\s*)/,
4368
+ /^(?:[^-]|-(?!-)+)/,
4369
+ /^(?:\s*-\.+-\s*)/,
4370
+ /^(?:%%(?!\{)[^\n]*)/,
4371
+ /^(?:[-/\)][\)])/,
4372
+ /^(?:[^\(\)\[\]\{\}]|!\)+)/,
4373
+ /^(?:\(-)/,
4374
+ /^(?:\]\))/,
4375
+ /^(?:\(\[)/,
4376
+ /^(?:\]\])/,
4377
+ /^(?:\[\[)/,
4378
+ /^(?:\[\|)/,
4379
+ /^(?:>)/,
4380
+ /^(?:\)\])/,
4381
+ /^(?:\[\()/,
4382
+ /^(?:\)\)\))/,
4383
+ /^(?:\(\(\()/,
4384
+ /^(?:%%(?!\{)[^\n]*)/,
4385
+ /^(?:[\\(?=\])][\]])/,
4386
+ /^(?:\/(?=\])\])/,
4387
+ /^(?:\/(?!\])|\\(?!\])|(?:[^\\\[\]\(\)\{\}\/%]+|(?!))+)/,
4388
+ /^(?:\[\/)/,
4389
+ /^(?:\[\\)/,
4390
+ /^(?:<)/,
4391
+ /^(?:>)/,
4392
+ /^(?:\^)/,
4393
+ /^(?:\\\|)/,
4394
+ /^(?:v\b)/,
4395
+ /^(?:\*)/,
4396
+ /^(?:#)/,
4397
+ /^(?:&)/,
4398
+ /^(?:[ \t]*%%(?!\{)[^\n]*)/,
4399
+ /^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,
4400
+ /^(?:-)/,
4401
+ /^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,
4402
+ /^(?:\|)/,
4403
+ /^(?:\|)/,
4404
+ /^(?:\))/,
4405
+ /^(?:\()/,
4406
+ /^(?:\])/,
4407
+ /^(?:\[)/,
4408
+ /^(?:(\}))/,
4409
+ /^(?:\{)/,
4410
+ /^(?:%%(?!\{)[^\n]*)/,
4411
+ /^(?:(?:[^\[\]\(\)\{\}\|\"%]+|(?!))+)/,
4412
+ /^(?:")/,
4413
+ /^(?:(\r?\n)+)/,
4414
+ /^(?:\s)/,
4415
+ /^(?:$)/
4416
+ ],
4417
+ conditions: {
4418
+ shapeDataEndBracket: {
4419
+ rules: [
4420
+ 21,
4421
+ 24,
4422
+ 76,
4423
+ 78,
4424
+ 80,
4425
+ 84,
4426
+ 86,
4427
+ 91,
4428
+ 92,
4429
+ 106,
4430
+ 108,
4431
+ 110,
4432
+ 112
4433
+ ],
4434
+ inclusive: !1
4435
+ },
4436
+ shapeDataStr: {
4437
+ rules: [
4438
+ 9,
4439
+ 10,
4440
+ 21,
4441
+ 24,
4442
+ 76,
4443
+ 78,
4444
+ 80,
4445
+ 84,
4446
+ 86,
4447
+ 91,
4448
+ 92,
4449
+ 106,
4450
+ 108,
4451
+ 110,
4452
+ 112
4453
+ ],
4454
+ inclusive: !1
4455
+ },
4456
+ shapeData: {
4457
+ rules: [
4458
+ 8,
4459
+ 11,
4460
+ 12,
4461
+ 21,
4462
+ 24,
4463
+ 76,
4464
+ 78,
4465
+ 80,
4466
+ 84,
4467
+ 86,
4468
+ 91,
4469
+ 92,
4470
+ 106,
4471
+ 108,
4472
+ 110,
4473
+ 112
4474
+ ],
4475
+ inclusive: !1
4476
+ },
4477
+ callbackargs: {
4478
+ rules: [
4479
+ 17,
4480
+ 18,
4481
+ 21,
4482
+ 24,
4483
+ 76,
4484
+ 78,
4485
+ 80,
4486
+ 84,
4487
+ 86,
4488
+ 91,
4489
+ 92,
4490
+ 106,
4491
+ 108,
4492
+ 110,
4493
+ 112
4494
+ ],
4495
+ inclusive: !1
4496
+ },
4497
+ callbackname: {
4498
+ rules: [
4499
+ 14,
4500
+ 15,
4501
+ 16,
4502
+ 21,
4503
+ 24,
4504
+ 76,
4505
+ 78,
4506
+ 80,
4507
+ 84,
4508
+ 86,
4509
+ 91,
4510
+ 92,
4511
+ 106,
4512
+ 108,
4513
+ 110,
4514
+ 112
4515
+ ],
4516
+ inclusive: !1
4517
+ },
4518
+ href: {
4519
+ rules: [
4520
+ 21,
4521
+ 24,
4522
+ 76,
4523
+ 78,
4524
+ 80,
4525
+ 84,
4526
+ 86,
4527
+ 91,
4528
+ 92,
4529
+ 106,
4530
+ 108,
4531
+ 110,
4532
+ 112
4533
+ ],
4534
+ inclusive: !1
4535
+ },
4536
+ click: {
4537
+ rules: [
4538
+ 21,
4539
+ 24,
4540
+ 33,
4541
+ 34,
4542
+ 76,
4543
+ 78,
4544
+ 80,
4545
+ 84,
4546
+ 86,
4547
+ 91,
4548
+ 92,
4549
+ 106,
4550
+ 108,
4551
+ 110,
4552
+ 112
4553
+ ],
4554
+ inclusive: !1
4555
+ },
4556
+ edgeText: {
4557
+ rules: [
4558
+ 21,
4559
+ 24,
4560
+ 69,
4561
+ 71,
4562
+ 76,
4563
+ 78,
4564
+ 80,
4565
+ 84,
4566
+ 86,
4567
+ 91,
4568
+ 92,
4569
+ 106,
4570
+ 108,
4571
+ 110,
4572
+ 112
4573
+ ],
4574
+ inclusive: !1
4575
+ },
4576
+ trapText: {
4577
+ rules: [
4578
+ 21,
4579
+ 24,
4580
+ 76,
4581
+ 78,
4582
+ 80,
4583
+ 84,
4584
+ 86,
4585
+ 87,
4586
+ 88,
4587
+ 89,
4588
+ 90,
4589
+ 91,
4590
+ 92,
4591
+ 106,
4592
+ 108,
4593
+ 110,
4594
+ 112
4595
+ ],
4596
+ inclusive: !1
4597
+ },
4598
+ ellipseText: {
4599
+ rules: [
4600
+ 21,
4601
+ 24,
4602
+ 73,
4603
+ 74,
4604
+ 75,
4605
+ 76,
4606
+ 78,
4607
+ 80,
4608
+ 84,
4609
+ 86,
4610
+ 91,
4611
+ 92,
4612
+ 106,
4613
+ 108,
4614
+ 110,
4615
+ 112
4616
+ ],
4617
+ inclusive: !1
4618
+ },
4619
+ text: {
4620
+ rules: [
4621
+ 21,
4622
+ 24,
4623
+ 76,
4624
+ 77,
4625
+ 78,
4626
+ 79,
4627
+ 80,
4628
+ 83,
4629
+ 84,
4630
+ 85,
4631
+ 86,
4632
+ 91,
4633
+ 92,
4634
+ 105,
4635
+ 106,
4636
+ 107,
4637
+ 108,
4638
+ 109,
4639
+ 110,
4640
+ 111,
4641
+ 112,
4642
+ 113,
4643
+ 114
4644
+ ],
4645
+ inclusive: !1
4646
+ },
4647
+ vertex: {
4648
+ rules: [
4649
+ 21,
4650
+ 24,
4651
+ 76,
4652
+ 78,
4653
+ 80,
4654
+ 84,
4655
+ 86,
4656
+ 91,
4657
+ 92,
4658
+ 106,
4659
+ 108,
4660
+ 110,
4661
+ 112
4662
+ ],
4663
+ inclusive: !1
4664
+ },
4665
+ dir: {
4666
+ rules: [
4667
+ 21,
4668
+ 24,
4669
+ 44,
4670
+ 45,
4671
+ 46,
4672
+ 47,
4673
+ 48,
4674
+ 49,
4675
+ 50,
4676
+ 51,
4677
+ 52,
4678
+ 53,
4679
+ 54,
4680
+ 76,
4681
+ 78,
4682
+ 80,
4683
+ 84,
4684
+ 86,
4685
+ 91,
4686
+ 92,
4687
+ 106,
4688
+ 108,
4689
+ 110,
4690
+ 112
4691
+ ],
4692
+ inclusive: !1
4693
+ },
4694
+ acc_descr_multiline: {
4695
+ rules: [
4696
+ 5,
4697
+ 6,
4698
+ 21,
4699
+ 24,
4700
+ 76,
4701
+ 78,
4702
+ 80,
4703
+ 84,
4704
+ 86,
4705
+ 91,
4706
+ 92,
4707
+ 106,
4708
+ 108,
4709
+ 110,
4710
+ 112
4711
+ ],
4712
+ inclusive: !1
4713
+ },
4714
+ acc_descr: {
4715
+ rules: [
4716
+ 3,
4717
+ 21,
4718
+ 24,
4719
+ 76,
4720
+ 78,
4721
+ 80,
4722
+ 84,
4723
+ 86,
4724
+ 91,
4725
+ 92,
4726
+ 106,
4727
+ 108,
4728
+ 110,
4729
+ 112
4730
+ ],
4731
+ inclusive: !1
4732
+ },
4733
+ acc_title: {
4734
+ rules: [
4735
+ 1,
4736
+ 21,
4737
+ 24,
4738
+ 76,
4739
+ 78,
4740
+ 80,
4741
+ 84,
4742
+ 86,
4743
+ 91,
4744
+ 92,
4745
+ 106,
4746
+ 108,
4747
+ 110,
4748
+ 112
4749
+ ],
4750
+ inclusive: !1
4751
+ },
4752
+ md_string: {
4753
+ rules: [
4754
+ 19,
4755
+ 20,
4756
+ 21,
4757
+ 24,
4758
+ 76,
4759
+ 78,
4760
+ 80,
4761
+ 84,
4762
+ 86,
4763
+ 91,
4764
+ 92,
4765
+ 106,
4766
+ 108,
4767
+ 110,
4768
+ 112
4769
+ ],
4770
+ inclusive: !1
4771
+ },
4772
+ string: {
4773
+ rules: [
4774
+ 21,
4775
+ 22,
4776
+ 23,
4777
+ 24,
4778
+ 76,
4779
+ 78,
4780
+ 80,
4781
+ 84,
4782
+ 86,
4783
+ 91,
4784
+ 92,
4785
+ 106,
4786
+ 108,
4787
+ 110,
4788
+ 112
4789
+ ],
4790
+ inclusive: !1
4791
+ },
4792
+ INITIAL: {
4793
+ rules: [
4794
+ 0,
4795
+ 2,
4796
+ 4,
4797
+ 7,
4798
+ 13,
4799
+ 21,
4800
+ 24,
4801
+ 25,
4802
+ 26,
4803
+ 27,
4804
+ 28,
4805
+ 29,
4806
+ 30,
4807
+ 31,
4808
+ 32,
4809
+ 35,
4810
+ 36,
4811
+ 37,
4812
+ 38,
4813
+ 39,
4814
+ 40,
4815
+ 41,
4816
+ 42,
4817
+ 43,
4818
+ 55,
4819
+ 56,
4820
+ 57,
4821
+ 58,
4822
+ 59,
4823
+ 60,
4824
+ 61,
4825
+ 62,
4826
+ 63,
4827
+ 64,
4828
+ 65,
4829
+ 66,
4830
+ 67,
4831
+ 68,
4832
+ 69,
4833
+ 70,
4834
+ 72,
4835
+ 76,
4836
+ 78,
4837
+ 80,
4838
+ 81,
4839
+ 82,
4840
+ 84,
4841
+ 86,
4842
+ 91,
4843
+ 92,
4844
+ 93,
4845
+ 94,
4846
+ 95,
4847
+ 96,
4848
+ 97,
4849
+ 98,
4850
+ 99,
4851
+ 100,
4852
+ 101,
4853
+ 102,
4854
+ 103,
4855
+ 104,
4856
+ 106,
4857
+ 108,
4858
+ 110,
4859
+ 112,
4860
+ 115,
4861
+ 116,
4862
+ 117,
4863
+ 118
4864
+ ],
4865
+ inclusive: !0
4866
+ }
4867
+ }
4868
+ };
4869
+ })();
4870
+ function pt() {
4871
+ this.yy = {};
4872
+ }
4873
+ return e(pt, "Parser"), pt.prototype = ft, ft.Parser = pt, new pt();
4874
+ })();
4875
+ fe.parser = fe;
4876
+ var pe = fe, me = Object.assign({}, pe);
4877
+ me.parse = (e) => {
4878
+ let t = e.replace(/}[^\S\n]*\n/g, "}\n");
4879
+ return pe.parse(t);
4880
+ };
4881
+ var he = me, ge = /* @__PURE__ */ e((t) => {
4882
+ let { theme: n, bkgColorArray: r, borderColorArray: i } = t;
4883
+ if (!b(n, i)) return "";
4884
+ let a = S(t.look), o = C(r), s = x(t.THEME_COLOR_LIMIT, i), c = /* @__PURE__ */ e((e) => i[e % i.length], "border"), l = /* @__PURE__ */ e((e) => o ? `fill: ${r[e % r.length]};` : "", "fill"), u = "";
4885
+ for (let e of B) {
4886
+ let t = L.get(e), n = `[data-look="${a}"].node.${z(e)}`;
4887
+ u += `
4888
+
4889
+ ${n} rect,
4890
+ ${n} path,
4891
+ ${n} polygon {
4892
+ stroke: ${c(t)};
4893
+ ${l(t)}
4894
+ }
4895
+ `;
4896
+ }
4897
+ for (let t = 0; t < V(s); t++) {
4898
+ let n = H(t, s), r = `[data-look="${a}"][data-color-id="color-${n}"].cluster`, i = `[data-look="${a}"][data-color-id="color-${n}"].node`, o = /* @__PURE__ */ e((e) => `${r} ${e}, ${i} ${e}`, "rule");
4899
+ u += `
4900
+
4901
+ ${o("rect")},
4902
+ ${o("path")} {
4903
+ stroke: ${c(n)};
4904
+ ${l(n)}
4905
+ }
4906
+ `;
4907
+ }
4908
+ return u;
4909
+ }, "genColor"), U = /* @__PURE__ */ e((e, t) => {
4910
+ let n = g, r = n(e, "r"), i = n(e, "g"), a = n(e, "b");
4911
+ return l(r, i, a, t);
4912
+ }, "fade"), W = {
4913
+ parser: he,
4914
+ get db() {
4915
+ return new ue();
4916
+ },
4917
+ renderer: de,
4918
+ styles: /* @__PURE__ */ e((e) => `${ge(e)}
4919
+ .label {
4920
+ font-family: ${e.fontFamily};
4921
+ color: ${e.nodeTextColor || e.textColor};
4922
+ }
4923
+ .cluster-label text {
4924
+ fill: ${e.titleColor};
4925
+ }
4926
+ .cluster-label span {
4927
+ color: ${e.titleColor};
4928
+ }
4929
+ .cluster-label span p {
4930
+ background-color: transparent;
4931
+ }
4932
+
4933
+ .label text,span {
4934
+ fill: ${e.nodeTextColor || e.textColor};
4935
+ color: ${e.nodeTextColor || e.textColor};
4936
+ }
4937
+
4938
+ .node rect,
4939
+ .node circle,
4940
+ .node ellipse,
4941
+ .node polygon,
4942
+ .node path {
4943
+ fill: ${e.mainBkg};
4944
+ stroke: ${e.nodeBorder};
4945
+ stroke-width: ${e.strokeWidth ?? 1}px;
4946
+ }
4947
+ .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
4948
+ text-anchor: middle;
4949
+ }
4950
+ .node .katex path {
4951
+ fill: ${e.nodeTextColor || e.textColor};
4952
+ stroke: ${e.nodeTextColor || e.textColor};
4953
+ stroke-width: 1px;
4954
+ }
4955
+
4956
+ .rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
4957
+ text-align: center;
4958
+ }
4959
+ .node.clickable {
4960
+ cursor: pointer;
4961
+ }
4962
+
4963
+
4964
+ .root .anchor path {
4965
+ fill: ${e.lineColor} !important;
4966
+ stroke-width: 0;
4967
+ stroke: ${e.lineColor};
4968
+ }
4969
+
4970
+ .arrowheadPath {
4971
+ fill: ${e.arrowheadColor};
4972
+ }
4973
+
4974
+ .edgePaths .path {
4975
+ stroke: ${e.lineColor};
4976
+ stroke-width: ${e.strokeWidth ?? 2}px;
4977
+ }
4978
+
4979
+ .flowchart-link {
4980
+ stroke: ${e.lineColor};
4981
+ fill: none;
4982
+ }
4983
+
4984
+ .edgeLabel {
4985
+ background-color: ${e.edgeLabelBackground};
4986
+ p {
4987
+ background-color: ${e.edgeLabelBackground};
4988
+ }
4989
+ rect {
4990
+ opacity: 0.5;
4991
+ background-color: ${e.edgeLabelBackground};
4992
+ fill: ${e.edgeLabelBackground};
4993
+ }
4994
+ text-align: center;
4995
+ }
4996
+
4997
+ /* For html labels only */
4998
+ .labelBkg {
4999
+ background-color: ${U(e.edgeLabelBackground, .5)};
5000
+ }
5001
+
5002
+ .cluster rect {
5003
+ fill: ${e.clusterBkg};
5004
+ stroke: ${e.clusterBorder};
5005
+ stroke-width: 1px;
5006
+ }
5007
+
5008
+ .flow-cluster rect {
5009
+ fill: none;
5010
+ stroke: ${e.clusterBorder};
5011
+ stroke-width: 0.75px;
5012
+ }
5013
+
5014
+ .node .collapsed-indicator {
5015
+ fill: ${e.nodeBorder};
5016
+ stroke: none;
5017
+ stroke-width: 0;
5018
+ opacity: 0.5;
5019
+ }
5020
+
5021
+ .node .collapsed-separator {
5022
+ stroke-width: 0.75px;
5023
+ }
5024
+
5025
+ .cluster text {
5026
+ fill: ${e.titleColor};
5027
+ }
5028
+
5029
+ .cluster span {
5030
+ color: ${e.titleColor};
5031
+ }
5032
+ /* .cluster div {
5033
+ color: ${e.titleColor};
5034
+ } */
5035
+
5036
+ div.mermaidTooltip {
5037
+ position: absolute;
5038
+ text-align: center;
5039
+ max-width: 200px;
5040
+ padding: 2px;
5041
+ font-family: ${e.fontFamily};
5042
+ font-size: 12px;
5043
+ background: ${e.tertiaryColor};
5044
+ border: 1px solid ${e.border2};
5045
+ border-radius: 2px;
5046
+ pointer-events: none;
5047
+ z-index: 100;
5048
+ }
5049
+
5050
+ .agentflowTitleText {
5051
+ text-anchor: middle;
5052
+ font-size: 18px;
5053
+ fill: ${e.textColor};
5054
+ }
5055
+
5056
+ rect.text {
5057
+ fill: none;
5058
+ stroke-width: 0;
5059
+ }
5060
+
5061
+ .icon-shape, .image-shape {
5062
+ background-color: ${e.edgeLabelBackground};
5063
+ p {
5064
+ background-color: ${e.edgeLabelBackground};
5065
+ padding: 2px;
5066
+ }
5067
+ .label rect {
5068
+ opacity: 0.5;
5069
+ background-color: ${e.edgeLabelBackground};
5070
+ fill: ${e.edgeLabelBackground};
5071
+ }
5072
+ text-align: center;
5073
+ }
5074
+ ${y()}
5075
+ `, "getStyles"),
5076
+ init: /* @__PURE__ */ e((e) => {
5077
+ e.agentflow ??= {}, e.layout && i({ layout: e.layout }), e.flowchart ??= {}, e.flowchart.arrowMarkerAbsolute = e.arrowMarkerAbsolute, i({ flowchart: { arrowMarkerAbsolute: e.arrowMarkerAbsolute } });
5078
+ }, "init")
5079
+ };
5080
+ //#endregion
5081
+ export { W as diagram };