@intent-hq/web 2.310.0 → 2.310.2

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 (251) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/assets/{DiagramPresentation.fimBl1wP.css → DiagramPresentation.Bfi3xHm0.css} +1 -1
  3. package/web/app/immutable/chunks/-xK_vQQs.js +1 -0
  4. package/web/app/immutable/chunks/{DXIbhld5.js → 189zCzpy.js} +1 -1
  5. package/web/app/immutable/chunks/6XLvYn_R.js +4 -0
  6. package/web/app/immutable/chunks/{DE2cS7Gk.js → 7LPFBi2V.js} +2 -2
  7. package/web/app/immutable/chunks/{DvPohY9Y.js → 9Al7uANH.js} +1 -1
  8. package/web/app/immutable/chunks/{CCiSNRYo.js → 9Ax53qRD.js} +2 -2
  9. package/web/app/immutable/chunks/{B2RUMnVi.js → 9U2m-KE4.js} +1 -1
  10. package/web/app/immutable/chunks/{DEg_be2d.js → B08PB3d6.js} +1 -1
  11. package/web/app/immutable/chunks/B1wLVJWc.js +7 -0
  12. package/web/app/immutable/chunks/B1zCpBoo.js +217 -0
  13. package/web/app/immutable/chunks/{D4n7ImP1.js → B2-LFLJm.js} +1 -1
  14. package/web/app/immutable/chunks/{BhPGdKCS.js → B3NZDdp-.js} +1 -1
  15. package/web/app/immutable/chunks/{B6F4Lh4e.js → B3u9yhMd.js} +1 -1
  16. package/web/app/immutable/chunks/{BCWCSGn-.js → B6ACa1PM.js} +1 -1
  17. package/web/app/immutable/chunks/{DfEETRjs.js → B7VxeONz.js} +1 -1
  18. package/web/app/immutable/chunks/{2t50lsua.js → BGOzArFr.js} +6 -6
  19. package/web/app/immutable/chunks/{9jrhCQLH.js → BGSgFd0R.js} +1 -1
  20. package/web/app/immutable/chunks/{CaSAI0VT.js → BHMk19Fd.js} +1 -1
  21. package/web/app/immutable/chunks/{BZJTxW0W.js → BRp0P9cF.js} +1 -1
  22. package/web/app/immutable/chunks/{DRr3RJL8.js → BS3KKa6i.js} +5 -5
  23. package/web/app/immutable/chunks/{dxICYcDB.js → BSN7-Qxa.js} +4 -4
  24. package/web/app/immutable/chunks/{BpsqLTOp.js → BU1SD4F5.js} +2 -2
  25. package/web/app/immutable/chunks/BUvLOETw.js +8 -0
  26. package/web/app/immutable/chunks/{CZZvWnXg.js → B_CxKeY9.js} +1 -1
  27. package/web/app/immutable/chunks/{BibcbnTP.js → B_F8B07u.js} +5 -5
  28. package/web/app/immutable/chunks/{DFCDnAax.js → B_u6ph9g.js} +1 -1
  29. package/web/app/immutable/chunks/{Cg-2uoaY.js → BbajLcMi.js} +1 -1
  30. package/web/app/immutable/chunks/{tBYaHQw_.js → BcGA_XKM.js} +79 -79
  31. package/web/app/immutable/chunks/Bdj20t_M.js +200 -0
  32. package/web/app/immutable/chunks/{SJdoTqK2.js → BfVF2I5Q.js} +3 -3
  33. package/web/app/immutable/chunks/{B-AmXRdp.js → BgjzIHmr.js} +2 -2
  34. package/web/app/immutable/chunks/BhFdeIZl.js +1 -0
  35. package/web/app/immutable/chunks/{CMcFXsiy.js → BjS3bCVA.js} +1 -1
  36. package/web/app/immutable/chunks/Bl1SUWQK.js +1 -0
  37. package/web/app/immutable/chunks/BtFywNMt.js +40 -0
  38. package/web/app/immutable/chunks/{CCJs9cZU.js → BwThkZnv.js} +1 -1
  39. package/web/app/immutable/chunks/ByGoYv9M.js +1 -0
  40. package/web/app/immutable/chunks/Bz2AaX7v.js +38 -0
  41. package/web/app/immutable/chunks/{CjKEz27r.js → BzqKIdEP.js} +1 -1
  42. package/web/app/immutable/chunks/{gMys6NxR.js → C-27EQSK.js} +6 -6
  43. package/web/app/immutable/chunks/C2FKcF8a.js +99 -0
  44. package/web/app/immutable/chunks/{kOoRis7L.js → C2ypXh8V.js} +4 -4
  45. package/web/app/immutable/chunks/{Bbi-Ieb_.js → C5bjHjx4.js} +1 -1
  46. package/web/app/immutable/chunks/{CS85fbWZ.js → C64YVcCh.js} +1 -1
  47. package/web/app/immutable/chunks/{xq16NT3q.js → C7-VQsLR.js} +1 -1
  48. package/web/app/immutable/chunks/C7ldC6zu.js +41 -0
  49. package/web/app/immutable/chunks/{Z1IVvFmx.js → C7xfOFNZ.js} +4 -4
  50. package/web/app/immutable/chunks/{CBvSxWdG.js → CAt8c0ls.js} +1 -1
  51. package/web/app/immutable/chunks/CC-vc0Sh.js +2 -0
  52. package/web/app/immutable/chunks/{D2b3DtCR.js → CDmxeAFz.js} +1 -1
  53. package/web/app/immutable/chunks/{BeFewn7K.js → CLUug_7o.js} +1 -1
  54. package/web/app/immutable/chunks/{CDACoTI2.js → CLyqqizl.js} +11 -11
  55. package/web/app/immutable/chunks/{B_EqlvEE.js → CO5Qz17e.js} +1 -1
  56. package/web/app/immutable/chunks/{DDfFKaoN.js → COBtdbv4.js} +1 -1
  57. package/web/app/immutable/chunks/COZ8XMYr.js +2 -0
  58. package/web/app/immutable/chunks/{BVxirgV2.js → CQK97B3l.js} +1 -1
  59. package/web/app/immutable/chunks/{50gvEURs.js → CYTBw0CY.js} +1 -1
  60. package/web/app/immutable/chunks/{CGizsEXq.js → CZLMJ41d.js} +3 -3
  61. package/web/app/immutable/chunks/{CjdtUG_a.js → CZqaUHhn.js} +1 -1
  62. package/web/app/immutable/chunks/CeVWos-t.js +1 -0
  63. package/web/app/immutable/chunks/CepoDpYW.js +1 -0
  64. package/web/app/immutable/chunks/{xFj9RuQx.js → CiBABzvX.js} +1 -1
  65. package/web/app/immutable/chunks/{D8SVxzqF.js → CjcP6chv.js} +1 -1
  66. package/web/app/immutable/chunks/{DUVw4Tv2.js → CkactGV1.js} +30 -30
  67. package/web/app/immutable/chunks/ClebXGIM.js +141 -0
  68. package/web/app/immutable/chunks/{DO_qdDGF.js → CnfDI0G9.js} +1 -1
  69. package/web/app/immutable/chunks/{CQSBplf3.js → CoiqgZqV.js} +1 -1
  70. package/web/app/immutable/chunks/{CGMhstmi.js → CpQksukT.js} +1 -1
  71. package/web/app/immutable/chunks/CrX2GQl1.js +1 -0
  72. package/web/app/immutable/chunks/{BKTwjZpB.js → CtDXgUYh.js} +2 -2
  73. package/web/app/immutable/chunks/CvEzUeZj.js +39 -0
  74. package/web/app/immutable/chunks/{C_YR_yV-.js → CxP8jrn2.js} +1 -1
  75. package/web/app/immutable/chunks/{BPG20H4B.js → D2XAsGw-.js} +1 -1
  76. package/web/app/immutable/chunks/D3in5AGo.js +34 -0
  77. package/web/app/immutable/chunks/D3ma4MWK.js +84 -0
  78. package/web/app/immutable/chunks/{DqvIKmgg.js → D3p4HGPq.js} +1 -1
  79. package/web/app/immutable/chunks/D57k4GEE.js +344 -0
  80. package/web/app/immutable/chunks/{_otPiQOz.js → D5mZ2XGM.js} +1 -1
  81. package/web/app/immutable/chunks/{swAYnpK6.js → DE1vhlzN.js} +1 -1
  82. package/web/app/immutable/chunks/{NdkVneBF.js → DI-WSiIl.js} +1 -1
  83. package/web/app/immutable/chunks/DMfS3QUv.js +213 -0
  84. package/web/app/immutable/chunks/DMmGJ3th.js +140 -0
  85. package/web/app/immutable/chunks/DPADHNob.js +3 -0
  86. package/web/app/immutable/chunks/DPcySxOl.js +24 -0
  87. package/web/app/immutable/chunks/{BMvGDYIO.js → DQNwUygY.js} +3 -3
  88. package/web/app/immutable/chunks/{Bj5SHeCl.js → DR3ukAe9.js} +2 -2
  89. package/web/app/immutable/chunks/{DZpxiGBS.js → DRKyy5zo.js} +1 -1
  90. package/web/app/immutable/chunks/DTpCNXVX.js +62 -0
  91. package/web/app/immutable/chunks/DW02E8JU.js +291 -0
  92. package/web/app/immutable/chunks/{DyHBOL0Q.js → DbnaPZDp.js} +2 -2
  93. package/web/app/immutable/chunks/Dhhgf7-r.js +36 -0
  94. package/web/app/immutable/chunks/{Cbh5ofn-.js → DjaKy3j_.js} +1 -1
  95. package/web/app/immutable/chunks/{KljALMT3.js → Dk4znOdW.js} +1 -1
  96. package/web/app/immutable/chunks/{BANQT5xk.js → Dl1xcl6N.js} +1 -1
  97. package/web/app/immutable/chunks/Dmv_LV6R.js +106 -0
  98. package/web/app/immutable/chunks/{BreeoU2c.js → Dr28se2A.js} +2 -2
  99. package/web/app/immutable/chunks/Dr_BXnmT.js +169 -0
  100. package/web/app/immutable/chunks/{CoIY5b-q.js → Dvt2xumc.js} +1 -1
  101. package/web/app/immutable/chunks/DxHqMweQ.js +27 -0
  102. package/web/app/immutable/chunks/Dyv7eW7r.js +1 -0
  103. package/web/app/immutable/chunks/{W2kuqRhi.js → DzDnAGVP.js} +1 -1
  104. package/web/app/immutable/chunks/{CJNlKuUY.js → IIWxUL8F.js} +1 -1
  105. package/web/app/immutable/chunks/IjQ_akx8.js +24 -0
  106. package/web/app/immutable/chunks/{wihFHGRA.js → JFNcUgqI.js} +3 -3
  107. package/web/app/immutable/chunks/{BoTxE-Dg.js → JvGvDA7z.js} +1 -1
  108. package/web/app/immutable/chunks/{3xT4xHCc.js → LXPDKlyI.js} +1 -1
  109. package/web/app/immutable/chunks/{BPlpnhzH.js → M5rEGvXZ.js} +1 -1
  110. package/web/app/immutable/chunks/{C_sPSbma.js → O55LMojB.js} +1 -1
  111. package/web/app/immutable/chunks/{BmhnS69e.js → O86272iX.js} +2 -2
  112. package/web/app/immutable/chunks/{CZT_wjvA.js → PW60rHG1.js} +2 -2
  113. package/web/app/immutable/chunks/{D8xJeFNR.js → UzQ5fjmd.js} +7 -7
  114. package/web/app/immutable/chunks/VmPClZ6P.js +98 -0
  115. package/web/app/immutable/chunks/WKN7DEK1.js +292 -0
  116. package/web/app/immutable/chunks/{B7YFRmY9.js → YuniekLU.js} +2 -2
  117. package/web/app/immutable/chunks/{DWztuYd2.js → _Q4NEhG2.js} +1 -1
  118. package/web/app/immutable/chunks/{DyPRCICU.js → _sFm91KN.js} +4 -4
  119. package/web/app/immutable/chunks/{NChdTnqQ.js → cF0DaKkd.js} +1 -1
  120. package/web/app/immutable/chunks/{B2O-zJJK.js → d9OF_ecy.js} +1 -1
  121. package/web/app/immutable/chunks/eHLf0w_s.js +1 -0
  122. package/web/app/immutable/chunks/ey5Fwige.js +1 -0
  123. package/web/app/immutable/chunks/gq2RHuUM.js +120 -0
  124. package/web/app/immutable/chunks/{C0oSivDJ.js → hJG5qV93.js} +1 -1
  125. package/web/app/immutable/chunks/jfltPaLX.js +370 -0
  126. package/web/app/immutable/chunks/{CjUOGaIe.js → l0v05b1J.js} +3 -3
  127. package/web/app/immutable/chunks/{zeRt85dY.js → le8iLKoG.js} +1 -1
  128. package/web/app/immutable/chunks/{C0f7EiIR.js → mCGfnSaU.js} +1 -1
  129. package/web/app/immutable/chunks/{u7rudBWt.js → mNrkfPcL.js} +1 -1
  130. package/web/app/immutable/chunks/{Da48jYxu.js → tzNFwvLY.js} +1 -1
  131. package/web/app/immutable/chunks/{C1rjgyNe.js → xL2Hl8pt.js} +1 -1
  132. package/web/app/immutable/chunks/{D6QUdzQ1.js → yEkT96At.js} +1 -1
  133. package/web/app/immutable/chunks/{DhbOsIE5.js → yGxUPrAb.js} +14 -14
  134. package/web/app/immutable/entry/{app.CYN435_6.js → app.CWgSMPHo.js} +2 -2
  135. package/web/app/immutable/entry/start.DRM4Ek1S.js +1 -0
  136. package/web/app/immutable/nodes/{0.Dns3lFCs.js → 0.DsHcmAxw.js} +1 -1
  137. package/web/app/immutable/nodes/{1.Cd7O-58t.js → 1.CkY-7ake.js} +1 -1
  138. package/web/app/immutable/nodes/{10.BhPCwuSS.js → 10.CdTsXOpX.js} +1 -1
  139. package/web/app/immutable/nodes/{14.CbX9Og6B.js → 14.juvATfIp.js} +1 -1
  140. package/web/app/immutable/nodes/{16.DYSTj8m0.js → 16.DuXLhJX1.js} +2 -2
  141. package/web/app/immutable/nodes/{2.n7fSSeCW.js → 2.DL0H4Ehj.js} +8 -8
  142. package/web/app/immutable/nodes/{3.CfhffOh-.js → 3.CsarMzm8.js} +1 -1
  143. package/web/app/immutable/nodes/{4.DNZDs0vZ.js → 4.DOKXGcKD.js} +1 -1
  144. package/web/app/immutable/nodes/{5.DooL0KdY.js → 5.5nmYhZgy.js} +1 -1
  145. package/web/app/immutable/nodes/{6.pzplS1TY.js → 6.BMO8vjvw.js} +1 -1
  146. package/web/app/immutable/nodes/{7.CRhweboS.js → 7.Rmoc-ypk.js} +1 -1
  147. package/web/app/immutable/nodes/{8.CuuXIPiR.js → 8.Dy5AT1iw.js} +2 -2
  148. package/web/app/immutable/nodes/{9.hhdT3UPw.js → 9.Dtv2dSUT.js} +18 -18
  149. package/web/app/version.json +1 -1
  150. package/web/index.html +9 -9
  151. package/web/app/immutable/chunks/41W03kYB.js +0 -96
  152. package/web/app/immutable/chunks/4jLfrK-n.js +0 -84
  153. package/web/app/immutable/chunks/70PyZUYg.js +0 -70
  154. package/web/app/immutable/chunks/9H8XjRUA.js +0 -106
  155. package/web/app/immutable/chunks/B-2EcDun.js +0 -78
  156. package/web/app/immutable/chunks/B6EdH0gk.js +0 -120
  157. package/web/app/immutable/chunks/B7d6B8i2.js +0 -1
  158. package/web/app/immutable/chunks/BCaDoF8Y.js +0 -1
  159. package/web/app/immutable/chunks/BCfzoYfU.js +0 -1
  160. package/web/app/immutable/chunks/BDEqpi1y.js +0 -106
  161. package/web/app/immutable/chunks/BDchM60p.js +0 -178
  162. package/web/app/immutable/chunks/BDuevalq.js +0 -1
  163. package/web/app/immutable/chunks/BFcpLy2V.js +0 -24
  164. package/web/app/immutable/chunks/BGS2SWF9.js +0 -40
  165. package/web/app/immutable/chunks/BKpC4hzB.js +0 -1
  166. package/web/app/immutable/chunks/BLOlf2p9.js +0 -39
  167. package/web/app/immutable/chunks/BN912nIE.js +0 -1
  168. package/web/app/immutable/chunks/BQqlXz7Q.js +0 -24
  169. package/web/app/immutable/chunks/BZmA3QXk.js +0 -24
  170. package/web/app/immutable/chunks/BdluP0Re.js +0 -120
  171. package/web/app/immutable/chunks/BgmOiuVG.js +0 -342
  172. package/web/app/immutable/chunks/BmKF0wck.js +0 -1
  173. package/web/app/immutable/chunks/BpJz1MvJ.js +0 -7
  174. package/web/app/immutable/chunks/Br2I_00T.js +0 -7
  175. package/web/app/immutable/chunks/Br8EhifD.js +0 -89
  176. package/web/app/immutable/chunks/BriIY-V6.js +0 -2
  177. package/web/app/immutable/chunks/Bs-gIQLt.js +0 -4
  178. package/web/app/immutable/chunks/BwBhkp82.js +0 -292
  179. package/web/app/immutable/chunks/Bz-Yc7Wl.js +0 -34
  180. package/web/app/immutable/chunks/BzAchneh.js +0 -1
  181. package/web/app/immutable/chunks/C10ooCp1.js +0 -24
  182. package/web/app/immutable/chunks/C3OhkOVO.js +0 -1
  183. package/web/app/immutable/chunks/C519ihU9.js +0 -231
  184. package/web/app/immutable/chunks/C7T4LQE1.js +0 -257
  185. package/web/app/immutable/chunks/C7_3LSl8.js +0 -162
  186. package/web/app/immutable/chunks/CAM1CwRY.js +0 -1
  187. package/web/app/immutable/chunks/CHx78N0-.js +0 -1
  188. package/web/app/immutable/chunks/CJRXWUIB.js +0 -36
  189. package/web/app/immutable/chunks/CKRb139P.js +0 -1
  190. package/web/app/immutable/chunks/COamqMg3.js +0 -1
  191. package/web/app/immutable/chunks/CPm7NntQ.js +0 -38
  192. package/web/app/immutable/chunks/CSNcNZAr.js +0 -1
  193. package/web/app/immutable/chunks/CTI6K_Uf.js +0 -1
  194. package/web/app/immutable/chunks/CUuCn5ps.js +0 -1
  195. package/web/app/immutable/chunks/CXVxtSkJ.js +0 -38
  196. package/web/app/immutable/chunks/CYhtIPW_.js +0 -62
  197. package/web/app/immutable/chunks/CaNdc6nO.js +0 -292
  198. package/web/app/immutable/chunks/CbMdHBoe.js +0 -1
  199. package/web/app/immutable/chunks/Citosjx7.js +0 -41
  200. package/web/app/immutable/chunks/Cj_j-lXn.js +0 -206
  201. package/web/app/immutable/chunks/CnCQnNEp.js +0 -354
  202. package/web/app/immutable/chunks/CnsnqDQd.js +0 -1
  203. package/web/app/immutable/chunks/CqBIsc3j.js +0 -99
  204. package/web/app/immutable/chunks/CqslOMwD.js +0 -96
  205. package/web/app/immutable/chunks/CvOaoHrI.js +0 -1
  206. package/web/app/immutable/chunks/CvYzv8kf.js +0 -1
  207. package/web/app/immutable/chunks/CwpRQv-w.js +0 -8
  208. package/web/app/immutable/chunks/CyfBUrNA.js +0 -1
  209. package/web/app/immutable/chunks/Cyhorubq.js +0 -231
  210. package/web/app/immutable/chunks/D1SkvgLK.js +0 -1
  211. package/web/app/immutable/chunks/D6XiPT-X.js +0 -1
  212. package/web/app/immutable/chunks/D7jRh74W.js +0 -1
  213. package/web/app/immutable/chunks/D9ytGf5e.js +0 -1
  214. package/web/app/immutable/chunks/DF1EzKEK.js +0 -41
  215. package/web/app/immutable/chunks/DGaGjBKU.js +0 -168
  216. package/web/app/immutable/chunks/DKQ9ngHk.js +0 -99
  217. package/web/app/immutable/chunks/DNmtQDpd.js +0 -8
  218. package/web/app/immutable/chunks/DOXLMb3q.js +0 -129
  219. package/web/app/immutable/chunks/DPpctSbu.js +0 -84
  220. package/web/app/immutable/chunks/DR8edmqz.js +0 -139
  221. package/web/app/immutable/chunks/DUYSWpmE.js +0 -1
  222. package/web/app/immutable/chunks/DXaxEP8U.js +0 -1
  223. package/web/app/immutable/chunks/DYy64AXn.js +0 -338
  224. package/web/app/immutable/chunks/DcI5wCZ5.js +0 -1
  225. package/web/app/immutable/chunks/DdRfFUWu.js +0 -1
  226. package/web/app/immutable/chunks/DfF0sVRg.js +0 -3
  227. package/web/app/immutable/chunks/Divbj3b8.js +0 -40
  228. package/web/app/immutable/chunks/DmUq9QE3.js +0 -162
  229. package/web/app/immutable/chunks/Dqn0Ivcg.js +0 -39
  230. package/web/app/immutable/chunks/DsJW9cbJ.js +0 -88
  231. package/web/app/immutable/chunks/DtFtH7jZ.js +0 -4
  232. package/web/app/immutable/chunks/DvZBb8H_.js +0 -168
  233. package/web/app/immutable/chunks/GX9YV5ly.js +0 -129
  234. package/web/app/immutable/chunks/HP8lGamR.js +0 -257
  235. package/web/app/immutable/chunks/I1Pwq7BS.js +0 -15
  236. package/web/app/immutable/chunks/Jj6giUQG.js +0 -7
  237. package/web/app/immutable/chunks/K10ifhfc.js +0 -1
  238. package/web/app/immutable/chunks/PDuKM1t5.js +0 -1
  239. package/web/app/immutable/chunks/PUlhNAJH.js +0 -1
  240. package/web/app/immutable/chunks/VtMTQAXA.js +0 -30
  241. package/web/app/immutable/chunks/YqyEOqRv.js +0 -178
  242. package/web/app/immutable/chunks/b7kGm9Ly.js +0 -36
  243. package/web/app/immutable/chunks/d1jIpATl.js +0 -62
  244. package/web/app/immutable/chunks/eCj-hB88.js +0 -3
  245. package/web/app/immutable/chunks/g3iFlZMW.js +0 -1
  246. package/web/app/immutable/chunks/iYpMWPUv.js +0 -206
  247. package/web/app/immutable/chunks/kqGPx169.js +0 -2
  248. package/web/app/immutable/chunks/ojOCNOao.js +0 -1
  249. package/web/app/immutable/chunks/v70CwcHz.js +0 -34
  250. package/web/app/immutable/chunks/zkqMQ7Ph.js +0 -1
  251. package/web/app/immutable/entry/start.Cuiv1qlw.js +0 -1
@@ -1 +1 @@
1
- import{t as Oe,bq as X,a_ as U,bo as S,by as Ne,b as qe,bu as He,bs as rt,bt as xt}from"./7rNOGHzs.js";import{bs as je,bj as bt,a5 as u,bA as c,b_ as x,W as a,bn as Ge,aA as J,ay as R,bS as n,aD as e,aB as m,c9 as $,c5 as Ce,ca as yt,bk as st,bH as Pe,bV as Fe,a7 as fe,be as $e,b$ as ke,bO as F,bl as Ae}from"./B8o4lNgr.js";import{E as ot}from"./DCaHy20k.js";import{s as ze,k as Je,d as Qe,h as De,c as Ye}from"./DmsDslNo.js";import{c as P}from"./CiENRH6A.js";import{P as Ee,e as Se,f as We,d as Me}from"./lfJ8pseq.js";import{N as At,w as T,E as Ze,g as Pt}from"./DSjRkndX.js";import{f as Be}from"./Bgegixo2.js";import{C as Tt}from"./DDfFKaoN.js";import"./DFHyIdsA.js";import{Hq as xe,fg as Rt,Dy as nt,B$ as it,p3 as Dt}from"./CRwmdgt6.js";import{aN as lt,aK as Ht,aL as It,dn as Lt}from"./KQTrHxko.js";import{d as zt,r as Et}from"./Dkz23CVV.js";import{M as St}from"./D2b3DtCR.js";import{l as Wt}from"./DUVw4Tv2.js";import{e as et}from"./BmhnS69e.js";import{F as Mt,e as Bt}from"./BhPGdKCS.js";import{o as Ct}from"./u7rudBWt.js";import{S as Ie}from"./Ck-Ax5yG.js";import{F as Le,a1 as Ft,c_ as Ot,av as Nt,bl as qt}from"./CFejQM6t.js";var jt=m('<div class="space-y-3"><!> <!></div>'),Gt=m('<div class="space-y-3"><!> <!></div> <!>',1),Kt=m('<div class="space-y-3 rounded-xl border border-border p-4 shadow-xs"><div class="flex items-center gap-3"><!><!></div> <!> <div class="flex items-center justify-between pt-1"><!><!></div></div>'),Vt=m('<div class="min-w-0 space-y-3"><div class="flex h-10 items-center px-2"><!></div> <!></div>'),Ut=m('<div class="grid grid-cols-[repeat(auto-fit,minmax(min(100%,10rem),1fr))] gap-3 px-1"></div>'),Xt=m('<div class="flex h-10 items-center px-3"><!></div>'),Jt=m("<div><!> <!> <!> <!></div>"),Qt=m("<!> <!>",1),Yt=m('<div role="status" class="min-h-0 min-w-0 flex-1 overflow-hidden svelte-kmeefs" data-home-loading=""><div aria-hidden="true"><!></div></div>');function dt(b,l){if(new.target)return Oe({component:dt,...b});je(l,!0);const Q=At();bt(Q.cleanup);let I=X(l,"detail",7,!1),O=X(l,"count",7,5),Y=X(l,"view",7,"list"),Z=X(l,"grouped",7,!1),s=X(l,"rows",7,"workspace");var L={get detail(){return I()},set detail(i=!1){I(i),J()},get count(){return O()},set count(i=5){O(i),J()},get view(){return Y()},set view(i="list"){Y(i),J()},get grouped(){return Z()},set grouped(i=!1){Z(i),J()},get rows(){return s()},set rows(i="workspace"){s(i),J()},$set:Ne,$on:(i,D)=>qe(l,i,D)},y=Yt(),ie=u(y),be=u(ie);{var le=i=>{var D=Gt(),g=R(D),ee=u(g);T(ee,{class:"h-6 w-4/5"});var W=n(ee,2);T(W,{class:"h-4 w-1/2"}),c(g);var d=n(g,2);De(d,16,()=>[0,1],h=>h,(h,A)=>{var k=jt(),te=u(k);T(te,{class:"h-3 w-full"});var N=n(te,2);T(N,{class:"h-3 w-5/6"}),c(k),a(h,k)}),a(i,D)},Te=i=>{var D=Ut();De(D,20,()=>[0,1,2],g=>g,(g,ee)=>{var W=Vt(),d=u(W),h=u(d);T(h,{class:"h-3 w-20"}),c(d);var A=n(d,2);De(A,16,()=>[0,1,2],k=>k,(k,te)=>{var N=Kt(),de=u(N),ae=u(de);T(ae,{class:"h-4 flex-1"});var ce=n(ae);T(ce,{class:"size-3 rounded-full"}),c(de);var t=n(de,2);T(t,{class:"h-3 w-full"});var o=n(t,2),w=u(o);T(w,{class:"size-4 rounded-sm"});var q=n(w);T(q,{class:"h-3 w-6"}),c(o),c(N),a(k,N)}),c(W),a(g,W)}),c(D),a(i,D)},_e=i=>{var D=Qt(),g=R(D);{var ee=d=>{var h=Xt(),A=u(h);T(A,{class:"h-3 w-20"}),c(h),a(d,h)};U(g,d=>{Z()&&d(ee)})}var W=n(g,2);De(W,16,()=>Array.from({length:O()},(d,h)=>h),d=>d,(d,h)=>{var A=Jt(),k=u(A);T(k,{class:"size-4 shrink-0 rounded-sm"});var te=n(k,2);T(te,{class:"h-4 min-w-0 flex-1"});var N=n(te,2);{var de=o=>{T(o,{class:"size-3 shrink-0 rounded-full"})},ae=o=>{T(o,{class:"size-5 shrink-0 rounded-full"})};U(N,o=>{s()==="workspace"?o(de):s()==="integration"&&o(ae,1)})}var ce=n(N,2);{var t=o=>{{let w=$(()=>s()==="workspace"?"h-3 w-8 shrink-0":"h-3 w-6 shrink-0");T(o,{get class(){return e(w)}})}};U(ce,o=>{s()!=="compact"&&o(t)})}c(A),x(()=>Je(A,1,Qe(s()==="compact"?"flex min-h-6 items-center gap-2 py-1":`flex h-12 items-center gap-3 border-b border-border ${s()==="integration"?"px-2":"px-3"}`))),a(d,A)}),a(i,D)};U(be,i=>{I()?i(le):Y()==="board"?i(Te,1):i(_e,-1)})}return c(ie),c(y),x(i=>{ze(y,"aria-label",i),ze(y,"data-reduced",Q.current),Je(ie,1,Qe(I()?"space-y-6 py-3":s()==="compact"?"":"px-5 pb-4"))},[()=>S.home_integrations_loading()]),a(b,y),Ge(L)}function ct(b){return b.filter(zt)}function Zt(){let b=null;return(l,Q)=>{const I=b?l.find(Y=>Y.id===b):void 0;if(I)return I;const O=Et(l);return b=Q&&O?String(O.id):null,O}}function ea(b,l,Q){return l&&b.find(I=>I.id===l)||Q}var ta=m('<div class="p-4"><!></div>'),aa=m('<div class="flex h-full min-h-0 min-w-0 flex-col" data-home-workspace-chat=""><!></div>');function vt(b,l){if(new.target)return Oe({component:vt,...b});je(l,!0);const Q=()=>He(ie,"$agents$",O),I=()=>He(be,"$loaded$",O),[O,Y]=rt();let Z=X(l,"workspace",7),s=X(l,"preview",7,!1),L=X(l,"agent",7);const y=Ce(()=>Z().id),ie=lt(y),be=Ht(y),le=$(()=>ct(Q())),Te=$(()=>s()?void 0:L()?.id);yt(()=>{const t=e(Te);if(!t)return;const o=Date.now();return()=>{Date.now()-o<St||setTimeout(()=>xe.dispatch(Rt(t)),0)}});let _e=Fe(void 0),i=0;function D(t,o){s()||!e(le).some(w=>w.id===t)||(Pe(_e,{agentId:t,questionMessageId:o,requestId:++i},!0),xe.dispatch(nt(y,t)),xe.dispatch(it(y,t)))}let g=Fe(!1),ee;function W(){s()||(Pe(g,!1),clearTimeout(ee),xe.dispatch(Dt(y)),ee=setTimeout(()=>{Pe(g,!0)},15e3))}st(()=>(s()||W(),()=>clearTimeout(ee)));var d={focusAttention:D,get workspace(){return Z()},set workspace(t){Z(t),J()},get preview(){return s()},set preview(t=!1){s(t),J()},get agent(){return L()},set agent(t){L(t),J()},$set:Ne,$on:(t,o)=>qe(l,t,o)},h=aa(),A=u(h);{var k=t=>{Ze(t,{density:"compact",title:w=>{$e();var q=ke();x(re=>F(q,re),[()=>S.agentOverview_hierarchyGraph_noAgents_title()]),a(w,q)},$$slots:{title:!0}})},te=t=>{var o=fe(),w=R(o);ot(w,()=>L().id,q=>{{let re=$(()=>e(_e)?.agentId===L().id?e(_e):void 0);Tt(q,{get workspace(){return Z()},get agentId(){return L().id},get agentName(){return L().name},autoFocus:!1,get attentionFocusRequest(){return e(re)},isInitialWorkspaceAgent:!1})}}),a(t,o)},N=t=>{var o=ta(),w=u(o);dt(w,{detail:!0}),c(o),a(t,o)},de=t=>{{const o=q=>{$e();var re=ke();x(ye=>F(re,ye),[()=>S.home_detail_unavailable()]),a(q,re)};let w=$(()=>S.home_retry());Pt(t,{density:"compact",get retryLabel(){return e(w)},onRetry:W,message:o,$$slots:{message:!0}})}},ae=t=>{{const o=q=>{$e();var re=ke();x(ye=>F(re,ye),[()=>S.agentOverview_hierarchyGraph_noAgents_title()]),a(q,re)};let w=$(()=>S.home_retry());Ze(t,{density:"compact",get actionLabel(){return e(w)},onAction:W,title:o,$$slots:{title:!0}})}};U(A,t=>{s()?t(k):L()?t(te,1):!I()&&!e(g)?t(N,2):I()?t(ae,-1):t(de,3)})}c(h),x(()=>ze(h,"data-workspace-link-target",Z().id)),a(b,h);var ce=Ge(d);return Y(),ce}var ra=m('<span class="min-w-0 line-clamp-2 [overflow-wrap:anywhere]"> </span> <!>',1),tt=m("<!> <!>",1),sa=m('<div class="shrink-0"><!></div>'),oa=m('<div><!> <span class="home-detail-repository-name truncate"> </span></div>'),at=m("<!><!>",1),na=m("<p> </p>"),ia=m('<!> <span class="min-w-0 truncate text-left"> </span> <!>',1),la=m('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),da=m('<div class="shrink-0 min-w-0 px-1 py-2" data-home-agent-switcher=""><!></div>'),ca=m('<div class="flex items-center gap-2 px-4 py-2 type-caption text-muted-foreground" role="status"><p> </p> <!></div>'),va=m('<section class="flex h-full min-h-0 min-w-0 flex-col" data-home-detail=""><header class="shrink-0 border-b border-border px-4 py-2"><div class="flex min-w-0 items-center gap-3"><h2 class="-ml-2 min-w-0 flex-1"><!></h2> <!></div> <!> <!></header> <!> <!> <div class="min-h-0 min-w-0 flex-1"><!></div></section>');function ua(b,l){if(new.target)return Oe({component:ua,...b});je(l,!0);const Q=()=>He(_e,"$readRevision$",Y),I=()=>He(Te,"$agents$",Y),O=()=>He(D,"$pickedId$",Y),[Y,Z]=rt();let s=X(l,"workspace",7),L=X(l,"onclose",7),y=X(l,"preview",7,!1),ie=X(l,"showBackToList",7,!0);const be=$(()=>s().title.trim()?s().title:S.workspace_links_untitled_label()),le=Ce(()=>s().id),Te=lt(le),_e=It(le),i=Ce(()=>Q()),D=Mt(le),g=$(()=>ct(I())),ee=Zt(),W=$(()=>ee(e(g),Q()>i)),d=$(()=>ea(e(g),O(),e(W)));function h(r){xe.dispatch(nt(le,r)),xe.dispatch(it(le,r))}const A=$(()=>[s().repositoryOwner,s().repositoryName].filter(Boolean).join("/")||s().repositoryPath);let k=Fe(!1);async function te(){Pe(k,!1);try{await Bt(s().id),Pe(k,!Lt.select(xe.state,s().id))}catch{Pe(k,!0)}}st(()=>{y()||te()});function N(){Ct(s().id)}var de={get workspace(){return s()},set workspace(r){s(r),J()},get onclose(){return L()},set onclose(r){L(r),J()},get preview(){return y()},set preview(r=!1){y(r),J()},get showBackToList(){return ie()},set showBackToList(r=!0){ie(r),J()},$set:Ne,$on:(r,f)=>qe(l,r,f)},ae=va(),ce=u(ae),t=u(ce),o=u(t),w=u(o);P(w,()=>Ee,(r,f)=>{f(r,{children:(j,oe)=>{var G=fe(),M=R(G);P(M,()=>Se,(ve,z)=>{z(ve,{children:(K,ge)=>{var me=tt(),ne=R(me);{const B=(E,C)=>{let H=()=>(C?.()).props;{let v=$(()=>S.home_open_workspace());Be(E,xt(H,{variant:"ghost",class:"type-title h-auto min-w-0 max-w-full shrink gap-2 justify-start whitespace-normal px-2 py-1 text-left font-medium leading-snug",wrapContent:!1,get"aria-label"(){return e(v)},onclick:N,children:(p,V)=>{var _=ra(),se=R(_),ue=Ae(se,!0),we=n(se,2);Le(we,{get icon(){return Ft},class:"shrink-0 text-muted-foreground",size:"sm"}),x(()=>F(ue,e(be))),a(p,_)},$$slots:{default:!0}}))}};P(ne,()=>We,(E,C)=>{C(E,{child:B,$$slots:{child:!0}})})}var he=n(ne,2);P(he,()=>Me,(B,E)=>{E(B,{children:(C,H)=>{$e();var v=ke();x(()=>F(v,e(be))),a(C,v)},$$slots:{default:!0}})}),a(K,me)},$$slots:{default:!0}})}),a(j,G)},$$slots:{default:!0}})}),c(o);var q=n(o,2);{var re=r=>{var f=sa(),j=u(f);{let oe=$(()=>S.home_close_preview()),G=$(()=>S.home_close_preview());Be(j,{variant:"ghost",size:"icon-sm",get"aria-label"(){return e(oe)},get tooltip(){return e(G)},get onclick(){return L()},children:(M,ve)=>{Le(M,{get icon(){return Ot}})},$$slots:{default:!0}})}c(f),a(r,f)};U(q,r=>{ie()&&r(re)})}c(t);var ye=n(t,2);{var ut=r=>{var f=fe(),j=R(f);P(j,()=>Ee,(oe,G)=>{G(oe,{children:(M,ve)=>{var z=fe(),K=R(z);P(K,()=>Se,(ge,me)=>{me(ge,{children:(ne,he)=>{var B=at(),E=R(B);{const H=(v,p)=>{let V=()=>(p?.()).props;var _=oa();Ye(_,()=>({...V(),class:"mb-1 flex min-w-0 max-w-[min(100%,16rem)] items-center gap-1.5 type-caption text-muted-foreground","data-home-detail-repository":!0,"aria-label":e(A)}));var se=u(_);{var ue=pe=>{Wt(pe,{get identity(){return s().repositoryOwner},size:16,class:"shrink-0 rounded-sm"})},we=pe=>{Le(pe,{get icon(){return qt}})};U(se,pe=>{s().repositoryOwner?pe(ue):pe(we,-1)})}var Xe=n(se,2),Re=Ae(Xe,!0);c(_),x(()=>F(Re,e(A))),a(v,_)};P(E,()=>We,(v,p)=>{p(v,{child:H,$$slots:{child:!0}})})}var C=n(E);P(C,()=>Me,(H,v)=>{v(H,{children:(p,V)=>{$e();var _=ke();x(()=>F(_,e(A))),a(p,_)},$$slots:{default:!0}})}),a(ne,B)},$$slots:{default:!0}})}),a(M,z)},$$slots:{default:!0}})}),a(r,f)};U(ye,r=>{e(A)&&r(ut)})}var pt=n(ye,2);{var mt=r=>{var f=fe(),j=R(f);P(j,()=>Ee,(oe,G)=>{G(oe,{children:(M,ve)=>{var z=fe(),K=R(z);P(K,()=>Se,(ge,me)=>{me(ge,{children:(ne,he)=>{var B=at(),E=R(B);{const H=(v,p)=>{let V=()=>(p?.()).props;var _=na();Ye(_,()=>({...V(),class:"type-caption line-clamp-2 break-words leading-snug text-muted-foreground"}));var se=Ae(_,!0);x(()=>F(se,s().statusMessage)),a(v,_)};P(E,()=>We,(v,p)=>{p(v,{child:H,$$slots:{child:!0}})})}var C=n(E);P(C,()=>Me,(H,v)=>{v(H,{children:(p,V)=>{$e();var _=ke();x(()=>F(_,s().statusMessage)),a(p,_)},$$slots:{default:!0}})}),a(ne,B)},$$slots:{default:!0}})}),a(M,z)},$$slots:{default:!0}})}),a(r,f)};U(pt,r=>{s().statusMessage&&r(mt)})}c(ce);var Ke=n(ce,2);{var ft=r=>{var f=da(),j=u(f);{let oe=$(()=>e(d)?.id??"");P(j,()=>Ie.Root,(G,M)=>{M(G,{get value(){return e(oe)},onchange:ve=>{const z=e(g).find(K=>K.id===ve);z&&h(z.id)},children:(ve,z)=>{var K=tt(),ge=R(K);{let ne=$(()=>S.home_agents());P(ge,()=>Ie.Trigger,(he,B)=>{B(he,{variant:"ghost",class:"h-8 w-fit max-w-full justify-start",get"aria-label"(){return e(ne)},children:(E,C)=>{var H=ia(),v=R(H);{var p=ue=>{{let we=$(()=>e(d).metadata?.specialist??e(d).agentMetadata?.specialist);et(ue,{get agentId(){return e(d).id},get specialist(){return e(we)},variant:"emphasized"})}};U(v,ue=>{e(d)&&ue(p)})}var V=n(v,2),_=Ae(V,!0),se=n(V,2);Le(se,{get icon(){return Nt},class:"shrink-0 text-muted-foreground"}),x(()=>F(_,e(d)?.name)),a(E,H)},$$slots:{default:!0}})})}var me=n(ge,2);P(me,()=>Ie.Content,(ne,he)=>{he(ne,{portal:!0,children:(B,E)=>{var C=fe(),H=R(C);De(H,17,()=>e(g),v=>v.id,(v,p)=>{var V=fe(),_=R(V);P(_,()=>Ie.Item,(se,ue)=>{ue(se,{get value(){return e(p).id},get label(){return e(p).name},children:(we,Xe)=>{var Re=la(),pe=u(Re);{let kt=$(()=>e(p).metadata?.specialist??e(p).agentMetadata?.specialist);et(pe,{get agentId(){return e(p).id},get specialist(){return e(kt)},variant:"emphasized"})}var wt=n(pe,2),$t=Ae(wt,!0);c(Re),x(()=>F($t,e(p).name)),a(we,Re)},$$slots:{default:!0}})}),a(v,V)}),a(B,C)},$$slots:{default:!0}})}),a(ve,K)},$$slots:{default:!0}})})}c(f),a(r,f)};U(Ke,r=>{e(g).length&&r(ft)})}var Ve=n(Ke,2);{var _t=r=>{var f=ca(),j=u(f),oe=Ae(j,!0),G=n(j,2);Be(G,{variant:"outline",size:"sm",onclick:te,children:(M,ve)=>{$e();var z=ke();x(K=>F(z,K),[()=>S.home_retry()]),a(M,z)},$$slots:{default:!0}}),c(f),x(M=>F(oe,M),[()=>S.home_detail_unavailable()]),a(r,f)};U(Ve,r=>{e(k)&&r(_t)})}var Ue=n(Ve,2),gt=u(Ue);ot(gt,()=>s().id,r=>{vt(r,{get workspace(){return s()},get preview(){return y()},get agent(){return e(d)}})}),c(Ue),c(ae),x(r=>ze(ae,"aria-label",r),[()=>S.home_workspace_details()]),a(b,ae);var ht=Ge(de);return Z(),ht}export{dt as H,ua as a};
1
+ import{t as Oe,bq as X,a_ as U,bo as S,by as Ne,b as qe,bu as He,bs as rt,bt as xt}from"./7rNOGHzs.js";import{bs as je,bj as bt,a5 as u,bA as c,b_ as x,W as a,bn as Ge,aA as J,ay as R,bS as n,aD as e,aB as m,c9 as $,c5 as Ce,ca as yt,bk as st,bH as Pe,bV as Fe,a7 as fe,be as $e,b$ as ke,bO as F,bl as Ae}from"./B8o4lNgr.js";import{E as ot}from"./DCaHy20k.js";import{s as ze,k as Je,d as Qe,h as De,c as Ye}from"./DmsDslNo.js";import{c as P}from"./CiENRH6A.js";import{P as Ee,e as Se,f as We,d as Me}from"./lfJ8pseq.js";import{N as At,w as T,E as Ze,g as Pt}from"./DSjRkndX.js";import{f as Be}from"./Bgegixo2.js";import{C as Tt}from"./COBtdbv4.js";import"./DFHyIdsA.js";import{Hq as xe,fg as Rt,Dy as nt,B$ as it,p3 as Dt}from"./CRwmdgt6.js";import{aN as lt,aK as Ht,aL as It,dn as Lt}from"./KQTrHxko.js";import{d as zt,r as Et}from"./Dkz23CVV.js";import{M as St}from"./CDmxeAFz.js";import{l as Wt}from"./CkactGV1.js";import{e as et}from"./O86272iX.js";import{F as Mt,e as Bt}from"./B3NZDdp-.js";import{o as Ct}from"./mNrkfPcL.js";import{S as Ie}from"./Ck-Ax5yG.js";import{F as Le,a1 as Ft,c_ as Ot,av as Nt,bl as qt}from"./CFejQM6t.js";var jt=m('<div class="space-y-3"><!> <!></div>'),Gt=m('<div class="space-y-3"><!> <!></div> <!>',1),Kt=m('<div class="space-y-3 rounded-xl border border-border p-4 shadow-xs"><div class="flex items-center gap-3"><!><!></div> <!> <div class="flex items-center justify-between pt-1"><!><!></div></div>'),Vt=m('<div class="min-w-0 space-y-3"><div class="flex h-10 items-center px-2"><!></div> <!></div>'),Ut=m('<div class="grid grid-cols-[repeat(auto-fit,minmax(min(100%,10rem),1fr))] gap-3 px-1"></div>'),Xt=m('<div class="flex h-10 items-center px-3"><!></div>'),Jt=m("<div><!> <!> <!> <!></div>"),Qt=m("<!> <!>",1),Yt=m('<div role="status" class="min-h-0 min-w-0 flex-1 overflow-hidden svelte-kmeefs" data-home-loading=""><div aria-hidden="true"><!></div></div>');function dt(b,l){if(new.target)return Oe({component:dt,...b});je(l,!0);const Q=At();bt(Q.cleanup);let I=X(l,"detail",7,!1),O=X(l,"count",7,5),Y=X(l,"view",7,"list"),Z=X(l,"grouped",7,!1),s=X(l,"rows",7,"workspace");var L={get detail(){return I()},set detail(i=!1){I(i),J()},get count(){return O()},set count(i=5){O(i),J()},get view(){return Y()},set view(i="list"){Y(i),J()},get grouped(){return Z()},set grouped(i=!1){Z(i),J()},get rows(){return s()},set rows(i="workspace"){s(i),J()},$set:Ne,$on:(i,D)=>qe(l,i,D)},y=Yt(),ie=u(y),be=u(ie);{var le=i=>{var D=Gt(),g=R(D),ee=u(g);T(ee,{class:"h-6 w-4/5"});var W=n(ee,2);T(W,{class:"h-4 w-1/2"}),c(g);var d=n(g,2);De(d,16,()=>[0,1],h=>h,(h,A)=>{var k=jt(),te=u(k);T(te,{class:"h-3 w-full"});var N=n(te,2);T(N,{class:"h-3 w-5/6"}),c(k),a(h,k)}),a(i,D)},Te=i=>{var D=Ut();De(D,20,()=>[0,1,2],g=>g,(g,ee)=>{var W=Vt(),d=u(W),h=u(d);T(h,{class:"h-3 w-20"}),c(d);var A=n(d,2);De(A,16,()=>[0,1,2],k=>k,(k,te)=>{var N=Kt(),de=u(N),ae=u(de);T(ae,{class:"h-4 flex-1"});var ce=n(ae);T(ce,{class:"size-3 rounded-full"}),c(de);var t=n(de,2);T(t,{class:"h-3 w-full"});var o=n(t,2),w=u(o);T(w,{class:"size-4 rounded-sm"});var q=n(w);T(q,{class:"h-3 w-6"}),c(o),c(N),a(k,N)}),c(W),a(g,W)}),c(D),a(i,D)},_e=i=>{var D=Qt(),g=R(D);{var ee=d=>{var h=Xt(),A=u(h);T(A,{class:"h-3 w-20"}),c(h),a(d,h)};U(g,d=>{Z()&&d(ee)})}var W=n(g,2);De(W,16,()=>Array.from({length:O()},(d,h)=>h),d=>d,(d,h)=>{var A=Jt(),k=u(A);T(k,{class:"size-4 shrink-0 rounded-sm"});var te=n(k,2);T(te,{class:"h-4 min-w-0 flex-1"});var N=n(te,2);{var de=o=>{T(o,{class:"size-3 shrink-0 rounded-full"})},ae=o=>{T(o,{class:"size-5 shrink-0 rounded-full"})};U(N,o=>{s()==="workspace"?o(de):s()==="integration"&&o(ae,1)})}var ce=n(N,2);{var t=o=>{{let w=$(()=>s()==="workspace"?"h-3 w-8 shrink-0":"h-3 w-6 shrink-0");T(o,{get class(){return e(w)}})}};U(ce,o=>{s()!=="compact"&&o(t)})}c(A),x(()=>Je(A,1,Qe(s()==="compact"?"flex min-h-6 items-center gap-2 py-1":`flex h-12 items-center gap-3 border-b border-border ${s()==="integration"?"px-2":"px-3"}`))),a(d,A)}),a(i,D)};U(be,i=>{I()?i(le):Y()==="board"?i(Te,1):i(_e,-1)})}return c(ie),c(y),x(i=>{ze(y,"aria-label",i),ze(y,"data-reduced",Q.current),Je(ie,1,Qe(I()?"space-y-6 py-3":s()==="compact"?"":"px-5 pb-4"))},[()=>S.home_integrations_loading()]),a(b,y),Ge(L)}function ct(b){return b.filter(zt)}function Zt(){let b=null;return(l,Q)=>{const I=b?l.find(Y=>Y.id===b):void 0;if(I)return I;const O=Et(l);return b=Q&&O?String(O.id):null,O}}function ea(b,l,Q){return l&&b.find(I=>I.id===l)||Q}var ta=m('<div class="p-4"><!></div>'),aa=m('<div class="flex h-full min-h-0 min-w-0 flex-col" data-home-workspace-chat=""><!></div>');function vt(b,l){if(new.target)return Oe({component:vt,...b});je(l,!0);const Q=()=>He(ie,"$agents$",O),I=()=>He(be,"$loaded$",O),[O,Y]=rt();let Z=X(l,"workspace",7),s=X(l,"preview",7,!1),L=X(l,"agent",7);const y=Ce(()=>Z().id),ie=lt(y),be=Ht(y),le=$(()=>ct(Q())),Te=$(()=>s()?void 0:L()?.id);yt(()=>{const t=e(Te);if(!t)return;const o=Date.now();return()=>{Date.now()-o<St||setTimeout(()=>xe.dispatch(Rt(t)),0)}});let _e=Fe(void 0),i=0;function D(t,o){s()||!e(le).some(w=>w.id===t)||(Pe(_e,{agentId:t,questionMessageId:o,requestId:++i},!0),xe.dispatch(nt(y,t)),xe.dispatch(it(y,t)))}let g=Fe(!1),ee;function W(){s()||(Pe(g,!1),clearTimeout(ee),xe.dispatch(Dt(y)),ee=setTimeout(()=>{Pe(g,!0)},15e3))}st(()=>(s()||W(),()=>clearTimeout(ee)));var d={focusAttention:D,get workspace(){return Z()},set workspace(t){Z(t),J()},get preview(){return s()},set preview(t=!1){s(t),J()},get agent(){return L()},set agent(t){L(t),J()},$set:Ne,$on:(t,o)=>qe(l,t,o)},h=aa(),A=u(h);{var k=t=>{Ze(t,{density:"compact",title:w=>{$e();var q=ke();x(re=>F(q,re),[()=>S.agentOverview_hierarchyGraph_noAgents_title()]),a(w,q)},$$slots:{title:!0}})},te=t=>{var o=fe(),w=R(o);ot(w,()=>L().id,q=>{{let re=$(()=>e(_e)?.agentId===L().id?e(_e):void 0);Tt(q,{get workspace(){return Z()},get agentId(){return L().id},get agentName(){return L().name},autoFocus:!1,get attentionFocusRequest(){return e(re)},isInitialWorkspaceAgent:!1})}}),a(t,o)},N=t=>{var o=ta(),w=u(o);dt(w,{detail:!0}),c(o),a(t,o)},de=t=>{{const o=q=>{$e();var re=ke();x(ye=>F(re,ye),[()=>S.home_detail_unavailable()]),a(q,re)};let w=$(()=>S.home_retry());Pt(t,{density:"compact",get retryLabel(){return e(w)},onRetry:W,message:o,$$slots:{message:!0}})}},ae=t=>{{const o=q=>{$e();var re=ke();x(ye=>F(re,ye),[()=>S.agentOverview_hierarchyGraph_noAgents_title()]),a(q,re)};let w=$(()=>S.home_retry());Ze(t,{density:"compact",get actionLabel(){return e(w)},onAction:W,title:o,$$slots:{title:!0}})}};U(A,t=>{s()?t(k):L()?t(te,1):!I()&&!e(g)?t(N,2):I()?t(ae,-1):t(de,3)})}c(h),x(()=>ze(h,"data-workspace-link-target",Z().id)),a(b,h);var ce=Ge(d);return Y(),ce}var ra=m('<span class="min-w-0 line-clamp-2 [overflow-wrap:anywhere]"> </span> <!>',1),tt=m("<!> <!>",1),sa=m('<div class="shrink-0"><!></div>'),oa=m('<div><!> <span class="home-detail-repository-name truncate"> </span></div>'),at=m("<!><!>",1),na=m("<p> </p>"),ia=m('<!> <span class="min-w-0 truncate text-left"> </span> <!>',1),la=m('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),da=m('<div class="shrink-0 min-w-0 px-1 py-2" data-home-agent-switcher=""><!></div>'),ca=m('<div class="flex items-center gap-2 px-4 py-2 type-caption text-muted-foreground" role="status"><p> </p> <!></div>'),va=m('<section class="flex h-full min-h-0 min-w-0 flex-col" data-home-detail=""><header class="shrink-0 border-b border-border px-4 py-2"><div class="flex min-w-0 items-center gap-3"><h2 class="-ml-2 min-w-0 flex-1"><!></h2> <!></div> <!> <!></header> <!> <!> <div class="min-h-0 min-w-0 flex-1"><!></div></section>');function ua(b,l){if(new.target)return Oe({component:ua,...b});je(l,!0);const Q=()=>He(_e,"$readRevision$",Y),I=()=>He(Te,"$agents$",Y),O=()=>He(D,"$pickedId$",Y),[Y,Z]=rt();let s=X(l,"workspace",7),L=X(l,"onclose",7),y=X(l,"preview",7,!1),ie=X(l,"showBackToList",7,!0);const be=$(()=>s().title.trim()?s().title:S.workspace_links_untitled_label()),le=Ce(()=>s().id),Te=lt(le),_e=It(le),i=Ce(()=>Q()),D=Mt(le),g=$(()=>ct(I())),ee=Zt(),W=$(()=>ee(e(g),Q()>i)),d=$(()=>ea(e(g),O(),e(W)));function h(r){xe.dispatch(nt(le,r)),xe.dispatch(it(le,r))}const A=$(()=>[s().repositoryOwner,s().repositoryName].filter(Boolean).join("/")||s().repositoryPath);let k=Fe(!1);async function te(){Pe(k,!1);try{await Bt(s().id),Pe(k,!Lt.select(xe.state,s().id))}catch{Pe(k,!0)}}st(()=>{y()||te()});function N(){Ct(s().id)}var de={get workspace(){return s()},set workspace(r){s(r),J()},get onclose(){return L()},set onclose(r){L(r),J()},get preview(){return y()},set preview(r=!1){y(r),J()},get showBackToList(){return ie()},set showBackToList(r=!0){ie(r),J()},$set:Ne,$on:(r,f)=>qe(l,r,f)},ae=va(),ce=u(ae),t=u(ce),o=u(t),w=u(o);P(w,()=>Ee,(r,f)=>{f(r,{children:(j,oe)=>{var G=fe(),M=R(G);P(M,()=>Se,(ve,z)=>{z(ve,{children:(K,ge)=>{var me=tt(),ne=R(me);{const B=(E,C)=>{let H=()=>(C?.()).props;{let v=$(()=>S.home_open_workspace());Be(E,xt(H,{variant:"ghost",class:"type-title h-auto min-w-0 max-w-full shrink gap-2 justify-start whitespace-normal px-2 py-1 text-left font-medium leading-snug",wrapContent:!1,get"aria-label"(){return e(v)},onclick:N,children:(p,V)=>{var _=ra(),se=R(_),ue=Ae(se,!0),we=n(se,2);Le(we,{get icon(){return Ft},class:"shrink-0 text-muted-foreground",size:"sm"}),x(()=>F(ue,e(be))),a(p,_)},$$slots:{default:!0}}))}};P(ne,()=>We,(E,C)=>{C(E,{child:B,$$slots:{child:!0}})})}var he=n(ne,2);P(he,()=>Me,(B,E)=>{E(B,{children:(C,H)=>{$e();var v=ke();x(()=>F(v,e(be))),a(C,v)},$$slots:{default:!0}})}),a(K,me)},$$slots:{default:!0}})}),a(j,G)},$$slots:{default:!0}})}),c(o);var q=n(o,2);{var re=r=>{var f=sa(),j=u(f);{let oe=$(()=>S.home_close_preview()),G=$(()=>S.home_close_preview());Be(j,{variant:"ghost",size:"icon-sm",get"aria-label"(){return e(oe)},get tooltip(){return e(G)},get onclick(){return L()},children:(M,ve)=>{Le(M,{get icon(){return Ot}})},$$slots:{default:!0}})}c(f),a(r,f)};U(q,r=>{ie()&&r(re)})}c(t);var ye=n(t,2);{var ut=r=>{var f=fe(),j=R(f);P(j,()=>Ee,(oe,G)=>{G(oe,{children:(M,ve)=>{var z=fe(),K=R(z);P(K,()=>Se,(ge,me)=>{me(ge,{children:(ne,he)=>{var B=at(),E=R(B);{const H=(v,p)=>{let V=()=>(p?.()).props;var _=oa();Ye(_,()=>({...V(),class:"mb-1 flex min-w-0 max-w-[min(100%,16rem)] items-center gap-1.5 type-caption text-muted-foreground","data-home-detail-repository":!0,"aria-label":e(A)}));var se=u(_);{var ue=pe=>{Wt(pe,{get identity(){return s().repositoryOwner},size:16,class:"shrink-0 rounded-sm"})},we=pe=>{Le(pe,{get icon(){return qt}})};U(se,pe=>{s().repositoryOwner?pe(ue):pe(we,-1)})}var Xe=n(se,2),Re=Ae(Xe,!0);c(_),x(()=>F(Re,e(A))),a(v,_)};P(E,()=>We,(v,p)=>{p(v,{child:H,$$slots:{child:!0}})})}var C=n(E);P(C,()=>Me,(H,v)=>{v(H,{children:(p,V)=>{$e();var _=ke();x(()=>F(_,e(A))),a(p,_)},$$slots:{default:!0}})}),a(ne,B)},$$slots:{default:!0}})}),a(M,z)},$$slots:{default:!0}})}),a(r,f)};U(ye,r=>{e(A)&&r(ut)})}var pt=n(ye,2);{var mt=r=>{var f=fe(),j=R(f);P(j,()=>Ee,(oe,G)=>{G(oe,{children:(M,ve)=>{var z=fe(),K=R(z);P(K,()=>Se,(ge,me)=>{me(ge,{children:(ne,he)=>{var B=at(),E=R(B);{const H=(v,p)=>{let V=()=>(p?.()).props;var _=na();Ye(_,()=>({...V(),class:"type-caption line-clamp-2 break-words leading-snug text-muted-foreground"}));var se=Ae(_,!0);x(()=>F(se,s().statusMessage)),a(v,_)};P(E,()=>We,(v,p)=>{p(v,{child:H,$$slots:{child:!0}})})}var C=n(E);P(C,()=>Me,(H,v)=>{v(H,{children:(p,V)=>{$e();var _=ke();x(()=>F(_,s().statusMessage)),a(p,_)},$$slots:{default:!0}})}),a(ne,B)},$$slots:{default:!0}})}),a(M,z)},$$slots:{default:!0}})}),a(r,f)};U(pt,r=>{s().statusMessage&&r(mt)})}c(ce);var Ke=n(ce,2);{var ft=r=>{var f=da(),j=u(f);{let oe=$(()=>e(d)?.id??"");P(j,()=>Ie.Root,(G,M)=>{M(G,{get value(){return e(oe)},onchange:ve=>{const z=e(g).find(K=>K.id===ve);z&&h(z.id)},children:(ve,z)=>{var K=tt(),ge=R(K);{let ne=$(()=>S.home_agents());P(ge,()=>Ie.Trigger,(he,B)=>{B(he,{variant:"ghost",class:"h-8 w-fit max-w-full justify-start",get"aria-label"(){return e(ne)},children:(E,C)=>{var H=ia(),v=R(H);{var p=ue=>{{let we=$(()=>e(d).metadata?.specialist??e(d).agentMetadata?.specialist);et(ue,{get agentId(){return e(d).id},get specialist(){return e(we)},variant:"emphasized"})}};U(v,ue=>{e(d)&&ue(p)})}var V=n(v,2),_=Ae(V,!0),se=n(V,2);Le(se,{get icon(){return Nt},class:"shrink-0 text-muted-foreground"}),x(()=>F(_,e(d)?.name)),a(E,H)},$$slots:{default:!0}})})}var me=n(ge,2);P(me,()=>Ie.Content,(ne,he)=>{he(ne,{portal:!0,children:(B,E)=>{var C=fe(),H=R(C);De(H,17,()=>e(g),v=>v.id,(v,p)=>{var V=fe(),_=R(V);P(_,()=>Ie.Item,(se,ue)=>{ue(se,{get value(){return e(p).id},get label(){return e(p).name},children:(we,Xe)=>{var Re=la(),pe=u(Re);{let kt=$(()=>e(p).metadata?.specialist??e(p).agentMetadata?.specialist);et(pe,{get agentId(){return e(p).id},get specialist(){return e(kt)},variant:"emphasized"})}var wt=n(pe,2),$t=Ae(wt,!0);c(Re),x(()=>F($t,e(p).name)),a(we,Re)},$$slots:{default:!0}})}),a(v,V)}),a(B,C)},$$slots:{default:!0}})}),a(ve,K)},$$slots:{default:!0}})})}c(f),a(r,f)};U(Ke,r=>{e(g).length&&r(ft)})}var Ve=n(Ke,2);{var _t=r=>{var f=ca(),j=u(f),oe=Ae(j,!0),G=n(j,2);Be(G,{variant:"outline",size:"sm",onclick:te,children:(M,ve)=>{$e();var z=ke();x(K=>F(z,K),[()=>S.home_retry()]),a(M,z)},$$slots:{default:!0}}),c(f),x(M=>F(oe,M),[()=>S.home_detail_unavailable()]),a(r,f)};U(Ve,r=>{e(k)&&r(_t)})}var Ue=n(Ve,2),gt=u(Ue);ot(gt,()=>s().id,r=>{vt(r,{get workspace(){return s()},get preview(){return y()},get agent(){return e(d)}})}),c(Ue),c(ae),x(r=>ze(ae,"aria-label",r),[()=>S.home_workspace_details()]),a(b,ae);var ht=Ge(de);return Z(),ht}export{dt as H,ua as a};
@@ -1 +1 @@
1
- import{g as o,r as l,d as t}from"./SJdoTqK2.js";import{p as m}from"./CQSBplf3.js";import{f as n,bC as s}from"./BgmOiuVG.js";import{M as p,d as u}from"./YqyEOqRv.js";var d=u().Railroad.parser.LangiumParser,a=n(e=>{switch(e.$type){case"RailroadTerminalExpr":return{type:"terminal",value:e.value};case"RailroadNonTerminalExpr":return{type:"nonterminal",name:e.name};case"RailroadSpecialExpr":return{type:"special",text:e.text};case"RailroadSequenceExpr":{const r=e.elements.map(a);return r.length===1?r[0]:{type:"sequence",elements:r}}case"RailroadChoiceExpr":{const r=e.alternatives.map(a);return r.length===1?r[0]:{type:"choice",alternatives:r}}case"RailroadOptionalExpr":return{type:"optional",element:a(e.element)};case"RailroadOneOrMoreExpr":return{type:"repetition",element:a(e.element),min:1,max:1/0};case"RailroadZeroOrMoreExpr":return{type:"repetition",element:a(e.element),min:0,max:1/0};default:throw new Error(`Unsupported railroad expression: ${e.$type}`)}},"transformExpression"),c=n(e=>({name:e.name,definition:a(e.definition)}),"transformRule"),f=n(e=>{m(e,t),e.title&&t.setTitle(e.title),e.rules.map(r=>t.addRule(c(r)))},"populateDb"),g={parse:n(e=>{t.clear(),s.debug("[Railroad Parser] Starting Langium parse");const r=d.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new p(r);const i=r.value;s.debug("[Railroad Parser] Parsed rules:",i.rules.length),f(i),s.debug("[Railroad Parser] Parse complete")},"parse"),parser:{yy:t}},h={parser:g,db:t,renderer:l,styles:o};export{h as diagram};
1
+ import{g as o,r as l,d as t}from"./BfVF2I5Q.js";import{p as m}from"./CoiqgZqV.js";import{c as n,aN as s}from"./D57k4GEE.js";import{M as p,d as u}from"./ClebXGIM.js";var d=u().Railroad.parser.LangiumParser,a=n(e=>{switch(e.$type){case"RailroadTerminalExpr":return{type:"terminal",value:e.value};case"RailroadNonTerminalExpr":return{type:"nonterminal",name:e.name};case"RailroadSpecialExpr":return{type:"special",text:e.text};case"RailroadSequenceExpr":{const r=e.elements.map(a);return r.length===1?r[0]:{type:"sequence",elements:r}}case"RailroadChoiceExpr":{const r=e.alternatives.map(a);return r.length===1?r[0]:{type:"choice",alternatives:r}}case"RailroadOptionalExpr":return{type:"optional",element:a(e.element)};case"RailroadOneOrMoreExpr":return{type:"repetition",element:a(e.element),min:1,max:1/0};case"RailroadZeroOrMoreExpr":return{type:"repetition",element:a(e.element),min:0,max:1/0};default:throw new Error(`Unsupported railroad expression: ${e.$type}`)}},"transformExpression"),c=n(e=>({name:e.name,definition:a(e.definition)}),"transformRule"),g=n(e=>{m(e,t),e.title&&t.setTitle(e.title),e.rules.map(r=>t.addRule(c(r)))},"populateDb"),y={parse:n(e=>{t.clear(),s.debug("[Railroad Parser] Starting Langium parse");const r=d.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new p(r);const i=r.value;s.debug("[Railroad Parser] Parsed rules:",i.rules.length),g(i),s.debug("[Railroad Parser] Parse complete")},"parse"),parser:{yy:t}},h={parser:y,db:t,renderer:l,styles:o};export{h as diagram};
@@ -1,4 +1,4 @@
1
- import{t as Ge,bq as m,bo as d,a_ as me,by as qe,b as He,bt as Rr,bu as mt,bs as Sr}from"./7rNOGHzs.js";import{bs as je,ay as q,be as dt,b$ as tt,b_ as W,bO as G,W as h,bS as g,aD as e,a7 as _t,bl as he,bn as Je,c9 as b,aA as _,aB as J,ca as Pe,c0 as ht,bH as i,a5 as Q,bA as ee,bV as M,br as xt,bk as Tr,bj as $r,bf as Co,c5 as Ct,aw as Zt,bz as ko,cd as qt}from"./B8o4lNgr.js";import{c as Y}from"./CiENRH6A.js";import{h as br,i as Io,k as Pt,s as Xe,l as Eo,I as Po,a as kt}from"./DmsDslNo.js";import{b as vt}from"./D2g8BuR1.js";import{d as mr}from"./DyPRCICU.js";import{F as Fo,E as Lo,I as Ro}from"./DCaHy20k.js";import{c as or}from"./ChTqQfQN.js";import{b as So}from"./BaQ9zUUl.js";import{f as Le,bc as To}from"./Bgegixo2.js";import{n as at}from"./lfJ8pseq.js";import{s as $o}from"./CQ4a5a4v.js";import{ck as Ur,F as ve,a7 as Uo,aX as No,aq as Ao,cF as Bo,aK as Oo,aY as Yt,$ as nr,a1 as ar,a$ as Mo,av as Do,ce as Nr,bP as Ar,b8 as Vo,cO as Br,ci as Or,ax as Wo}from"./CFejQM6t.js";import"./D-cnPaTJ.js";import{Hq as Ee,fL as Ko,bv as zo,yn as Go,xJ as qo,Jp as _r,dP as Ho,bO as jo,Jo,tu as Xo,Jm as hr,gr as Zo,sQ as Yo,Jn as Qo,J2 as yr,Jl as xr}from"./CRwmdgt6.js";import{a as Mr,B as It}from"./BvFAWM27.js";import{ce as en}from"./BZJTxW0W.js";import{$ as tn}from"./BhPGdKCS.js";import{w as rn,K as on}from"./CPQdU3ZA.js";import{I as $t}from"./DZX-XWnb.js";import{d as nn}from"./B2KJmqK3.js";import{aa as an}from"./DUVw4Tv2.js";import{i as Qt}from"./BkBdyRjM.js";import{i as sn,a as ln}from"./0IF8_goK.js";import{R as dn,n as Ht,o as lt,m as un,l as ze,s as Dr,k as Vr,K as cn,p as fn,r as gn,q as vn,M as Wr}from"./DSjRkndX.js";import{k as pn,B as wn}from"./BmhnS69e.js";import"./Ck-Ax5yG.js";import{t as Ne}from"./DzMmhJrp.js";import{M as Kr}from"./yI5lBaQ8.js";import"./DbAK3Zju.js";import"./CB-g50lR.js";import"./CKEqC8_B.js";import{o as Cr,s as it,n as St}from"./UyBYtOpv.js";import{g as bn}from"./CoSk1zgY.js";import{f as mn}from"./CJNlKuUY.js";import{az as _n,a1 as hn,Q as yn}from"./CjUOGaIe.js";import{aN as xn}from"./KQTrHxko.js";function Cn(o,r){return o.loadURL(r)}function kn(o){return{previousUrlProp:o||null}}function kr(o,r){o.previousUrlProp=r}function In(o,r,a){const v=a||r;return o.previousUrlProp===v?null:(o.previousUrlProp=v,v)}function En(o,r,a){return r?o.previousUrlProp===null?(o.previousUrlProp=r,{shouldLoad:!1,targetUrl:null}):r===o.previousUrlProp?{shouldLoad:!1,targetUrl:null}:a.webviewReady?(o.previousUrlProp=r,a.isValidBrowserUrl(r)?{shouldLoad:!0,targetUrl:r}:{shouldLoad:!1,targetUrl:null}):{shouldLoad:!1,targetUrl:null}:{shouldLoad:!1,targetUrl:null}}const zr=or("TabBoundsReporter"),Pn=150;function jt(o,r,a){!(r>0)||!(a>0)||window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o,width:r,height:a}).catch(v=>{zr.debug("Failed to report tab bounds",{tabId:o,error:v})})}function Ir(o){window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o}).catch(r=>{zr.debug("Failed to clear tab bounds",{tabId:o,error:r})})}function Fn(o,r){let a=r,v;const P=typeof ResizeObserver>"u"?void 0:new ResizeObserver(F=>{if(!a)return;const E=F[F.length-1]?.contentRect;if(!E)return;const w=a;clearTimeout(v),v=setTimeout(()=>{jt(w,E.width,E.height)},Pn)});if(P?.observe(o),a){const F=o.getBoundingClientRect();jt(a,F.width,F.height)}return{update(F){if(F!==a&&(clearTimeout(v),a&&Ir(a),a=F,a)){const E=o.getBoundingClientRect();jt(a,E.width,E.height)}},destroy(){clearTimeout(v),P?.disconnect(),a&&Ir(a)}}}function Gr(o){let r=o.trim();if(!r)return null;/^[a-z][a-z0-9+.-]*:\/\//i.test(r)||(r=(r.includes("localhost")||r.includes("127.0.0.1")||r.includes("0.0.0.0")?"http://":"https://")+r);try{return new URL(r),r}catch{return null}}function st(o,r=typeof window<"u"?window.location.origin:""){return o==="about:blank"||qr(o,r)}function qr(o,r=typeof window<"u"?window.location.origin:""){if(!o)return!1;try{const a=new URL(o);return Mr.NAVIGATION_ALLOWED.includes(a.protocol)&&a.origin!==r}catch{return!1}}const er="__INTENT_PANEL_BRACKET__:",Ln=`
1
+ import{t as Ge,bq as m,bo as d,a_ as me,by as qe,b as He,bt as Rr,bu as mt,bs as Sr}from"./7rNOGHzs.js";import{bs as je,ay as q,be as dt,b$ as tt,b_ as W,bO as G,W as h,bS as g,aD as e,a7 as _t,bl as he,bn as Je,c9 as b,aA as _,aB as J,ca as Pe,c0 as ht,bH as i,a5 as Q,bA as ee,bV as M,br as xt,bk as Tr,bj as $r,bf as Co,c5 as Ct,aw as Zt,bz as ko,cd as qt}from"./B8o4lNgr.js";import{c as Y}from"./CiENRH6A.js";import{h as br,i as Io,k as Pt,s as Xe,l as Eo,I as Po,a as kt}from"./DmsDslNo.js";import{b as vt}from"./D2g8BuR1.js";import{d as mr}from"./_sFm91KN.js";import{F as Fo,E as Lo,I as Ro}from"./DCaHy20k.js";import{c as or}from"./ChTqQfQN.js";import{b as So}from"./BaQ9zUUl.js";import{f as Le,bc as To}from"./Bgegixo2.js";import{n as at}from"./lfJ8pseq.js";import{s as $o}from"./CQ4a5a4v.js";import{ck as Ur,F as ve,a7 as Uo,aX as No,aq as Ao,cF as Bo,aK as Oo,aY as Yt,$ as nr,a1 as ar,a$ as Mo,av as Do,ce as Nr,bP as Ar,b8 as Vo,cO as Br,ci as Or,ax as Wo}from"./CFejQM6t.js";import"./D-cnPaTJ.js";import{Hq as Ee,fL as Ko,bv as zo,yn as Go,xJ as qo,Jp as _r,dP as Ho,bO as jo,Jo,tu as Xo,Jm as hr,gr as Zo,sQ as Yo,Jn as Qo,J2 as yr,Jl as xr}from"./CRwmdgt6.js";import{a as Mr,B as It}from"./BvFAWM27.js";import{ce as en}from"./BRp0P9cF.js";import{$ as tn}from"./B3NZDdp-.js";import{w as rn,K as on}from"./CPQdU3ZA.js";import{I as $t}from"./DZX-XWnb.js";import{d as nn}from"./B2KJmqK3.js";import{aa as an}from"./CkactGV1.js";import{i as Qt}from"./BkBdyRjM.js";import{i as sn,a as ln}from"./0IF8_goK.js";import{R as dn,n as Ht,o as lt,m as un,l as ze,s as Dr,k as Vr,K as cn,p as fn,r as gn,q as vn,M as Wr}from"./DSjRkndX.js";import{k as pn,B as wn}from"./O86272iX.js";import"./Ck-Ax5yG.js";import{t as Ne}from"./DzMmhJrp.js";import{M as Kr}from"./yI5lBaQ8.js";import"./DbAK3Zju.js";import"./CB-g50lR.js";import"./CKEqC8_B.js";import{o as Cr,s as it,n as St}from"./UyBYtOpv.js";import{g as bn}from"./CoSk1zgY.js";import{f as mn}from"./IIWxUL8F.js";import{az as _n,a1 as hn,Q as yn}from"./l0v05b1J.js";import{aN as xn}from"./KQTrHxko.js";function Cn(o,r){return o.loadURL(r)}function kn(o){return{previousUrlProp:o||null}}function kr(o,r){o.previousUrlProp=r}function In(o,r,a){const v=a||r;return o.previousUrlProp===v?null:(o.previousUrlProp=v,v)}function En(o,r,a){return r?o.previousUrlProp===null?(o.previousUrlProp=r,{shouldLoad:!1,targetUrl:null}):r===o.previousUrlProp?{shouldLoad:!1,targetUrl:null}:a.webviewReady?(o.previousUrlProp=r,a.isValidBrowserUrl(r)?{shouldLoad:!0,targetUrl:r}:{shouldLoad:!1,targetUrl:null}):{shouldLoad:!1,targetUrl:null}:{shouldLoad:!1,targetUrl:null}}const zr=or("TabBoundsReporter"),Pn=150;function jt(o,r,a){!(r>0)||!(a>0)||window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o,width:r,height:a}).catch(v=>{zr.debug("Failed to report tab bounds",{tabId:o,error:v})})}function Ir(o){window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o}).catch(r=>{zr.debug("Failed to clear tab bounds",{tabId:o,error:r})})}function Fn(o,r){let a=r,v;const P=typeof ResizeObserver>"u"?void 0:new ResizeObserver(F=>{if(!a)return;const E=F[F.length-1]?.contentRect;if(!E)return;const w=a;clearTimeout(v),v=setTimeout(()=>{jt(w,E.width,E.height)},Pn)});if(P?.observe(o),a){const F=o.getBoundingClientRect();jt(a,F.width,F.height)}return{update(F){if(F!==a&&(clearTimeout(v),a&&Ir(a),a=F,a)){const E=o.getBoundingClientRect();jt(a,E.width,E.height)}},destroy(){clearTimeout(v),P?.disconnect(),a&&Ir(a)}}}function Gr(o){let r=o.trim();if(!r)return null;/^[a-z][a-z0-9+.-]*:\/\//i.test(r)||(r=(r.includes("localhost")||r.includes("127.0.0.1")||r.includes("0.0.0.0")?"http://":"https://")+r);try{return new URL(r),r}catch{return null}}function st(o,r=typeof window<"u"?window.location.origin:""){return o==="about:blank"||qr(o,r)}function qr(o,r=typeof window<"u"?window.location.origin:""){if(!o)return!1;try{const a=new URL(o);return Mr.NAVIGATION_ALLOWED.includes(a.protocol)&&a.origin!==r}catch{return!1}}const er="__INTENT_PANEL_BRACKET__:",Ln=`
2
2
  (function() {
3
3
  if (window.__augmentKeyboardInterceptorInstalled) return;
4
4
  window.__augmentKeyboardInterceptorInstalled = true;
@@ -0,0 +1,213 @@
1
+ import{g as Jt}from"./O55LMojB.js";import{g as Zt}from"./BzqKIdEP.js";import{s as $t}from"./Dyv7eW7r.js";import{c as C,bh as e1,aN as Z,a8 as Ae,ac as t1,b5 as s1,bC as at,bg as i1,bf as r1,bi as a1,a6 as n1,a5 as u1,a9 as o1,G as l1,aM as c1,J as h1,aF as st,aH as d1,aa as it,bc as rt,w as p1,ad as f1,V as g1,aB as b1,ba as k1,an as A1,E as m1,b9 as C1,u as S1}from"./D57k4GEE.js";import{c as D1}from"./CepoDpYW.js";import{aP as T1}from"./BcGA_XKM.js";var E1="flowchart-",y1=["laneRole","laneIndex","drawnExtent"];function Wt(s){if(!s||typeof s!="object")return s;const i={...s};for(const a of y1)Reflect.deleteProperty(i,a);return i}C(Wt,"withoutInternalKeys");var Pe,x1=(Pe=class{constructor(){this.vertexCounter=0,this.config=Ae(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.droppedSubGraphMembers=[],this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=i1,this.setAccDescription=r1,this.setDiagramTitle=a1,this.getAccTitle=n1,this.getAccDescription=u1,this.getDiagramTitle=o1,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}sanitizeText(i){return l1.sanitizeText(i,this.config)}sanitizeNodeLabelType(i){switch(i){case"markdown":case"string":case"text":return i;default:return"markdown"}}setDiagramId(i){this.diagramId=i}lookUpDomId(i){for(const a of this.vertices.values())if(a.id===i)return this.diagramId?`${this.diagramId}-${a.domId}`:a.domId;return this.diagramId?`${this.diagramId}-${i}`:i}addVertex(i,a,n,r,l,g,o={},m){if(!i||i.trim().length===0)return;let d;if(m!==void 0){let f;m.includes(`
2
+ `)?f=m+`
3
+ `:f=`{
4
+ `+m+`
5
+ }`,d=Wt(c1(f,{schema:h1}))}const y=this.subGraphLookup.get(i);if(y&&d){Object.keys(d).length>0&&(y.metadata={...y.metadata,...d});return}const _=this.edges.find(f=>f.id===i);if(_){const f=d;f?.animate!==void 0&&(_.animate=f.animate),f?.animation!==void 0&&(_.animation=f.animation),f?.curve!==void 0&&(_.interpolate=f.curve),f?.step!==void 0&&(st(f)?_.step=f.step:Z.warn(`Ignoring step on edge ${i}: expected a positive integer`,f.step));return}let G,k=this.vertices.get(i);if(k===void 0&&(a===void 0&&n===void 0&&r!==void 0&&r!==null&&Z.warn(`Style applied to unknown node "${i}". This may indicate a typo. The node will be created automatically.`),k={id:i,labelType:"text",domId:E1+i+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(i,k)),this.vertexCounter++,a!==void 0?(this.config=Ae(),G=this.sanitizeText(a.text.trim()),k.labelType=a.type,G.startsWith('"')&&G.endsWith('"')&&(G=G.substring(1,G.length-1)),k.text=G):k.text===void 0&&(k.text=i),n!==void 0&&(k.type=n),r?.forEach(f=>{k.styles.push(f)}),l?.forEach(f=>{k.classes.push(f)}),g!==void 0&&(k.dir=g),k.props===void 0?k.props=o:o!==void 0&&Object.assign(k.props,o),d!==void 0){if(d.shape){if(d.shape!==d.shape.toLowerCase()||d.shape.includes("_"))throw new Error(`No such shape: ${d.shape}. Shape names should be lowercase.`);if(!d1(d.shape))throw new Error(`No such shape: ${d.shape}.`);k.type=d?.shape}d?.label&&(k.text=d?.label,k.labelType=this.sanitizeNodeLabelType(d?.labelType)),d?.icon&&(k.icon=d?.icon,!d.label?.trim()&&k.text===i&&(k.text="")),d?.form&&(k.form=d?.form),d?.pos&&(k.pos=d?.pos),d?.img&&(k.img=d?.img,!d.label?.trim()&&k.text===i&&(k.text="")),d?.constraint&&(k.constraint=d.constraint),d.w&&(k.assetWidth=Number(d.w)),d.h&&(k.assetHeight=Number(d.h))}}addSingleLink(i,a,n,r){const o={start:i,end:a,type:void 0,text:"",labelType:"text",classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};Z.info("abc78 Got edge...",o);const m=n.text;if(m!==void 0&&(o.text=this.sanitizeText(m.text.trim()),o.text.startsWith('"')&&o.text.endsWith('"')&&(o.text=o.text.substring(1,o.text.length-1)),o.labelType=this.sanitizeNodeLabelType(m.type)),n!==void 0&&(o.type=n.type,o.stroke=n.stroke,o.length=n.length>10?10:n.length),r&&!this.edges.some(d=>d.id===r))o.id=r,o.isUserDefinedId=!0;else{const d=this.edges.filter(y=>y.start===o.start&&y.end===o.end);d.length===0?o.id=it(o.start,o.end,{counter:0,prefix:"L"}):o.id=it(o.start,o.end,{counter:d.length+1,prefix:"L"})}if(this.edges.length<(this.config.maxEdges??500))Z.info("Pushing edge..."),this.edges.push(o);else throw new Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
6
+
7
+ Initialize mermaid with maxEdges set to a higher number to allow more edges.
8
+ You cannot set this config via configuration inside the diagram as it is a secure config.
9
+ You have to call mermaid.initialize.`)}isLinkData(i){return i!==null&&typeof i=="object"&&"id"in i&&typeof i.id=="string"}addLink(i,a,n){const r=this.isLinkData(n)?n.id.replace("@",""):void 0;Z.info("addLink",i,a,r);for(const l of i)for(const g of a){const o=l===i[i.length-1],m=g===a[0];o&&m?this.addSingleLink(l,g,n,r):this.addSingleLink(l,g,n,void 0)}}updateLinkInterpolate(i,a){i.forEach(n=>{n==="default"?this.edges.defaultInterpolate=a:this.edges[n].interpolate=a})}updateLink(i,a){i.forEach(n=>{if(typeof n=="number"&&n>=this.edges.length)throw new Error(`The index ${n} 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.)`);n==="default"?this.edges.defaultStyle=a:(this.edges[n].style=a,(this.edges[n]?.style?.length??0)>0&&!this.edges[n]?.style?.some(r=>r?.startsWith("fill"))&&this.edges[n]?.style?.push("fill:none"))})}addClass(i,a){const n=a.join().replace(/\\,/g,"§§§").replace(/,/g,";").replace(/§§§/g,",").split(";");i.split(",").forEach(r=>{let l=this.classes.get(r);l===void 0&&(l={id:r,styles:[],textStyles:[]},this.classes.set(r,l)),n?.forEach(g=>{if(/color/.exec(g)){const o=g.replace("fill","bgFill");l.textStyles.push(o)}l.styles.push(g)})})}setDirection(i){this.direction=i.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")}setClass(i,a){for(const n of i.split(",")){const r=this.vertices.get(n);r&&r.classes.push(a);const l=this.edges.find(o=>o.id===n);l&&l.classes.push(a);const g=this.subGraphLookup.get(n);g&&g.classes.push(a)}}setTooltip(i,a){if(a!==void 0){a=this.sanitizeText(a);for(const n of i.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(n):n,a)}}setClickFun(i,a,n){if(Ae().securityLevel!=="loose"||a===void 0)return;let r=[];if(typeof n=="string"){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let g=0;g<r.length;g++){let o=r[g].trim();o.startsWith('"')&&o.endsWith('"')&&(o=o.substr(1,o.length-2)),r[g]=o}}r.length===0&&r.push(i);const l=this.vertices.get(i);l&&(l.haveCallback=!0,this.funs.push(()=>{const g=this.lookUpDomId(i),o=document.querySelector(`[id="${g}"]`);o!==null&&o.addEventListener("click",()=>{at.runFunc(a,...r)},!1)}))}setLink(i,a,n){i.split(",").forEach(r=>{const l=this.vertices.get(r);l!==void 0&&(l.link=at.formatUrl(a,this.config),l.linkTarget=n)}),this.setClass(i,"clickable")}getTooltip(i){return this.tooltips.get(i)}setClickEvent(i,a,n){i.split(",").forEach(r=>{this.setClickFun(r,a,n)}),this.setClass(i,"clickable")}bindFunctions(i){this.funs.forEach(a=>{a(i)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(i){const a=D1();rt(i).select("svg").selectAll("g.node").on("mouseover",l=>{const g=rt(l.currentTarget),o=g.attr("title");if(o===null)return;const m=l.currentTarget?.getBoundingClientRect();a.transition().duration(200).style("opacity",".9"),a.text(g.attr("title")).style("left",window.scrollX+m.left+(m.right-m.left)/2+"px").style("top",window.scrollY+m.bottom+"px"),a.html(T1.sanitize(o)),g.classed("hover",!0)}).on("mouseout",l=>{a.transition().duration(500).style("opacity",0),rt(l.currentTarget).classed("hover",!1)})}clear(i="gen-2"){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.diagramId="",this.subGraphs=[],this.subGraphLookup=new Map,this.droppedSubGraphMembers=[],this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=i,this.config=Ae(),p1()}setGen(i){this.version=i||"gen-2"}defaultStyle(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"}addSubGraph(i,a,n){let r=i.text.trim(),l=n.text;i===n&&/\s/.exec(n.text)&&(r=void 0);const o=C(f=>{const x={boolean:{},number:{},string:{}},pe=[];let J;return{nodeList:f.filter(function(z){const $=typeof z;return z.stmt&&z.stmt==="dir"?(J=z.value,!1):z.trim()===""?!1:$ in x?x[$].hasOwnProperty(z)?!1:x[$][z]=!0:pe.includes(z)?!1:pe.push(z)}),dir:J}},"uniq")(a.flat()),m=o.nodeList;let d=o.dir;const y=Ae().flowchart??{};if(d=d??(y.inheritDir?this.getDirection()??Ae().direction??void 0:void 0),this.version==="gen-1")for(let f=0;f<m.length;f++)m[f]=this.lookUpDomId(m[f]);r=r??"subGraph"+this.subCount,l=l||"",l=this.sanitizeText(l),this.subCount=this.subCount+1;const _={id:r,nodes:m,title:l.trim(),classes:[],dir:d,labelType:this.sanitizeNodeLabelType(n?.type)};Z.info("Adding",_.id,_.nodes,_.dir);const G=this.makeUniq(_,this.subGraphs).nodes;this.recordDroppedMembers(_,G),_.nodes=G.filter(f=>f!==r);const k=this.subGraphs.find(f=>f.id===r);return k?k.nodes.push(..._.nodes):this.subGraphs.push(_),this.subGraphLookup.set(r,k??_),r}recordDroppedMembers(i,a){const n=new Set(a);for(const r of i.nodes){if(n.has(r)||r===i.id)continue;const l=this.subGraphs.find(g=>g.nodes.includes(r));l&&l.id!==i.id&&!this.isNestedIn(l.id,i)&&this.droppedSubGraphMembers.push({node:r,keptBy:l.id,droppedFrom:i.id})}}isNestedIn(i,a){const n=new Set;let r=i;for(;r!==void 0&&!n.has(r);){if(a.nodes.includes(r))return!0;n.add(r);const l=r;r=this.subGraphs.find(g=>g.nodes.includes(l))?.id}return!1}getPosForId(i){for(const[a,n]of this.subGraphs.entries())if(n.id===i)return a;return-1}indexNodes2(i,a){const n=this.subGraphs[a].nodes;if(this.secCount=this.secCount+1,this.secCount>2e3)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=a,this.subGraphs[a].id===i)return{result:!0,count:0};let r=0,l=1;for(;r<n.length;){const g=this.getPosForId(n[r]);if(g>=0){const o=this.indexNodes2(i,g);if(o.result)return{result:!0,count:l+o.count};l=l+o.count}r=r+1}return{result:!1,count:l}}getDepthFirstPos(i){return this.posCrossRef[i]}indexNodes(){this.secCount=-1,this.subGraphs.length>0&&this.indexNodes2("none",this.subGraphs.length-1)}getSubGraphs(){return this.subGraphs}firstGraph(){return this.firstGraphFlag?(this.firstGraphFlag=!1,!0):!1}destructStartLink(i){let a=i.trim(),n="arrow_open";switch(a[0]){case"<":n="arrow_point",a=a.slice(1);break;case"x":n="arrow_cross",a=a.slice(1);break;case"o":n="arrow_circle",a=a.slice(1);break}let r="normal";return a.includes("=")&&(r="thick"),a.includes(".")&&(r="dotted"),{type:n,stroke:r}}countChar(i,a){const n=a.length;let r=0;for(let l=0;l<n;++l)a[l]===i&&++r;return r}destructEndLink(i){const a=i.trim();let n=a.slice(0,-1),r="arrow_open";switch(a.slice(-1)){case"x":r="arrow_cross",a.startsWith("x")&&(r="double_"+r,n=n.slice(1));break;case">":r="arrow_point",a.startsWith("<")&&(r="double_"+r,n=n.slice(1));break;case"o":r="arrow_circle",a.startsWith("o")&&(r="double_"+r,n=n.slice(1));break}let l="normal",g=n.length-1;n.startsWith("=")&&(l="thick"),n.startsWith("~")&&(l="invisible");const o=this.countChar(".",n);return o&&(l="dotted",g=o),{type:r,stroke:l,length:g}}destructLink(i,a){const n=this.destructEndLink(i);let r;if(a){if(r=this.destructStartLink(a),r.stroke!==n.stroke)return{type:"INVALID",stroke:"INVALID"};if(r.type==="arrow_open")r.type=n.type;else{if(r.type!==n.type)return{type:"INVALID",stroke:"INVALID"};r.type="double_"+r.type}return r.type==="double_arrow"&&(r.type="double_arrow_point"),r.length=n.length,r}return n}exists(i,a){for(const n of i)if(n.nodes.includes(a))return!0;return!1}makeUniq(i,a){const n=[];return i.nodes.forEach((r,l)=>{this.exists(a,r)||n.push(i.nodes[l])}),{nodes:n}}getTypeFromVertex(i){if(i.img)return"imageSquare";if(i.icon)return i.form==="circle"?"iconCircle":i.form==="square"?"iconSquare":i.form==="rounded"?"iconRounded":"icon";switch(i.type){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return i.type}}findNode(i,a){return i.find(n=>n.id===a)}destructEdgeType(i){let a="none",n="arrow_point";switch(i){case"arrow_point":case"arrow_circle":case"arrow_cross":n=i;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":a=i.replace("double_",""),n=a;break}return{arrowTypeStart:a,arrowTypeEnd:n}}addNodeFromVertex(i,a,n,r,l,g){const o=n.get(i.id),m=r.get(i.id)??!1,d=this.findNode(a,i.id);if(d)d.cssStyles=i.styles,d.cssCompiledStyles=this.getCompiledStyles(i.classes),d.cssClasses=i.classes.join(" ");else{const y={id:i.id,label:i.text,labelType:i.labelType,labelStyle:"",parentId:o,padding:l.flowchart?.padding||8,cssStyles:i.styles,cssCompiledStyles:this.getCompiledStyles(["default","node",...i.classes]),cssClasses:"default "+i.classes.join(" "),dir:i.dir,domId:i.domId,look:g,link:i.link,linkTarget:i.linkTarget,tooltip:this.getTooltip(i.id),icon:i.icon,pos:i.pos,img:i.img,assetWidth:i.assetWidth,assetHeight:i.assetHeight,constraint:i.constraint};m?a.push({...y,isGroup:!0,shape:"rect"}):a.push({...y,isGroup:!1,shape:this.getTypeFromVertex(i),minWidth:l.flowchart?.minNodeWidth})}}getCompiledStyles(i){let a=[];for(const n of i){const r=this.classes.get(n);r?.styles&&(a=[...a,...r.styles??[]].map(l=>l.trim())),r?.textStyles&&(a=[...a,...r.textStyles??[]].map(l=>l.trim()))}return a}getData(){const i=Ae(),a=[],n=[],r=this.getSubGraphs(),l=new Map,g=new Map,o=new Map;for(const c of r)for(const h of c.nodes)this.subGraphLookup.has(h)&&o.set(h,c.id);const m=new Map,d=new Map;for(const c of r){const h=o.get(c.id);h!==void 0&&d.set(h,[...d.get(h)??[],c.id])}let y=0;const _=C(c=>{m.set(c,y++);for(const h of d.get(c)??[])_(h)},"walk");for(const c of r)o.has(c.id)||_(c.id);const G=C(c=>this.subGraphLookup.get(c)?.metadata?.view==="collapsed","isCollapsed"),k=C(c=>{let h;const F=new Set;let v=c;for(;v!==void 0&&!F.has(v);)F.add(v),G(v)&&(h=v),v=o.get(v);return h},"outermostCollapsed"),f=new Set,x=new Map;for(const c of r){const h=k(c.id);if(h!==void 0){c.id!==h&&(f.add(c.id),x.set(c.id,h));for(const F of c.nodes)F!==h&&(f.add(F),x.set(F,h))}}for(let c=r.length-1;c>=0;c--){const h=r[c];if(!f.has(h.id)){h.nodes.length>0&&g.set(h.id,!0);for(const F of h.nodes)l.set(F,h.id)}}for(let c=r.length-1;c>=0;c--){const h=r[c];f.has(h.id)||(h.metadata?.view==="collapsed"?a.push({id:h.id,label:h.title,labelStyle:"",labelType:h.labelType,parentId:l.get(h.id),padding:8,cssCompiledStyles:this.getCompiledStyles(h.classes),cssClasses:h.classes.join(" "),shape:"collapsedGroup",dir:h.dir,isGroup:!1,look:i.look,colorIndex:m.get(h.id)}):a.push({id:h.id,label:h.title,labelStyle:"",labelType:h.labelType,parentId:l.get(h.id),padding:8,cssCompiledStyles:this.getCompiledStyles(h.classes),cssClasses:h.classes.join(" "),shape:"rect",dir:h.dir,isGroup:!0,look:i.look,colorIndex:m.get(h.id),metadata:h.metadata}))}this.getVertices().forEach(c=>{f.has(c.id)||this.addNodeFromVertex(c,a,l,g,i,i.look||"classic")});const J=this.getEdges(),me=J.reduce((c,h)=>st(h)?Math.max(c,h.step):c,0),z=f1(i.flowchart?.stepDuration),$=i.flowchart?.stepNumbers===!0?{showStepNumber:!0}:{};J.forEach((c,h)=>{const{arrowTypeStart:F,arrowTypeEnd:v}=this.destructEdgeType(c.type),I=[...J.defaultStyle??[]],R=x.get(c.start)??c.start,N=x.get(c.end)??c.end;if(R===N&&(x.has(c.start)||x.has(c.end)))return;c.style&&I.push(...c.style);const M={id:it(R,N,{counter:h,prefix:"L"},c.id),isUserDefinedId:c.isUserDefinedId,start:R,end:N,type:c.type??"normal",label:c.text,labelType:c.labelType,labelpos:"c",thickness:c.stroke,minlen:c.length,classes:c?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:c?.stroke==="invisible"||c?.type==="arrow_open"?"none":F,arrowTypeEnd:c?.stroke==="invisible"||c?.type==="arrow_open"?"none":v,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(c.classes),labelStyle:I,style:I,pattern:c.stroke,look:i.look,animate:c.animate,animation:c.animation,...st(c)?{step:c.step,stepCount:me,stepDuration:z,...$}:{},curve:c.interpolate||this.edges.defaultInterpolate||i.flowchart?.curve};n.push(M)});const P=this.droppedSubGraphMembers.length>0?{droppedSubGraphMembers:[...this.droppedSubGraphMembers]}:{};return{nodes:a,edges:n,other:P,config:i}}defaultConfig(){return g1.flowchart}},C(Pe,"FlowDB"),Pe),F1=C(function(s,i){return i.db.getClasses()},"getClasses"),_1=C(async function(s,i,a,n){Z.info("REF0:"),Z.info("Drawing state diagram (v2)",i);const{securityLevel:r,flowchart:l,layout:g}=Ae();n.db.setDiagramId(i),Z.debug("Before getData: ");const o=n.db.getData();Z.debug("Data: ",o);const m=Zt(i,r),d=n.db.getDirection();o.type=n.type,o.layoutAlgorithm=t1(g),o.direction=d,o.nodeSpacing=l?.nodeSpacing||50,o.rankSpacing=l?.rankSpacing||50,o.markers=["point","circle","cross"],o.diagramId=i,Z.debug("REF1:",o),await s1(o,m);const y=o.config.flowchart?.diagramPadding??8;at.insertTitle(m,"flowchartTitleText",l?.titleTopMargin||0,n.db.getDiagramTitle()),$t(m,y,"flowchart",l?.useMaxWidth||!1)},"draw"),v1={getClasses:F1,draw:_1},nt=(function(){var s=C(function(ke,p,b,A){for(b=b||{},A=ke.length;A--;b[ke[A]]=p);return b},"o"),i=[1,4],a=[1,3],n=[1,5],r=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],l=[2,2],g=[1,13],o=[1,14],m=[1,15],d=[1,16],y=[1,23],_=[1,25],G=[1,26],k=[1,27],f=[1,50],x=[1,49],pe=[1,29],J=[1,30],me=[1,31],z=[1,32],$=[1,33],P=[1,45],c=[1,47],h=[1,43],F=[1,48],v=[1,44],I=[1,51],R=[1,46],N=[1,52],M=[1,53],Oe=[1,34],Ue=[1,35],We=[1,36],ze=[1,37],je=[1,38],fe=[1,58],B=[1,8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],te=[1,62],se=[1,61],ie=[1,63],ge=[8,9,11,75,77,78],ut=[1,79],Te=[1,92],Ee=[1,97],ye=[1,96],xe=[1,93],Fe=[1,89],_e=[1,95],ve=[1,91],Be=[1,98],Le=[1,94],we=[1,99],Ve=[1,90],Ce=[8,9,10,11,40,75,77,78],W=[8,9,10,11,40,46,75,77,78],H=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,78,89,102,105,106,109,111,114,115,116],ot=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],Ie=[44,60,89,102,105,106,109,111,114,115,116],lt=[1,122],ct=[1,123],Ke=[1,125],Ye=[1,124],ht=[44,60,62,74,89,102,105,106,109,111,114,115,116],dt=[1,134],pt=[1,148],ft=[1,149],gt=[1,150],bt=[1,151],kt=[1,136],At=[1,138],mt=[1,142],Ct=[1,143],St=[1,144],Dt=[1,145],Tt=[1,146],Et=[1,147],yt=[1,152],xt=[1,153],Ft=[1,132],_t=[1,133],vt=[1,140],Bt=[1,135],Lt=[1,139],wt=[1,137],Qe=[8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],Vt=[1,155],It=[1,157],V=[8,9,11],q=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],S=[1,177],j=[1,173],K=[1,174],D=[1,178],T=[1,175],E=[1,176],Re=[77,116,119],L=[8,9,10,11,12,14,27,29,32,44,60,75,84,85,86,87,88,89,90,105,109,111,114,115,116],Rt=[1,205],Nt=[10,106],be=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],re=[1,249],ae=[1,247],ne=[1,251],ue=[1,245],oe=[1,246],le=[1,248],ce=[1,250],he=[1,252],Ne=[1,270],Gt=[8,9,11,106],ee=[8,9,10,11,60,84,105,106,109,110,111,112],Je={trace:C(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,LINK_ID:78,edgeTextToken:79,STR:80,MD_STR:81,textToken:82,keywords:83,STYLE:84,LINKSTYLE:85,CLASSDEF:86,CLASS:87,CLICK:88,DOWN:89,UP:90,textNoTagsToken:91,stylesOpt:92,"idString[vertex]":93,"idString[class]":94,CALLBACKNAME:95,CALLBACKARGS:96,HREF:97,LINK_TARGET:98,"STR[link]":99,"STR[tooltip]":100,alphaNum:101,DEFAULT:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,NODE_STRING:109,UNIT:110,BRKT:111,PCT:112,idStringToken:113,MINUS:114,MULT:115,UNICODE_TEXT:116,TEXT:117,TAGSTART:118,EDGE_TEXT:119,alphaNumToken:120,direction_tb:121,direction_bt:122,direction_rl:123,direction_lr:124,direction_td:125,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",40:"SHAPE_DATA",44:"AMP",46:"STYLE_SEPARATOR",48:"DOUBLECIRCLESTART",49:"DOUBLECIRCLEEND",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"NODE_STRING[field]",60:"COLON",61:"NODE_STRING[value]",62:"PIPE",63:"CYLINDERSTART",64:"CYLINDEREND",65:"DIAMOND_START",66:"DIAMOND_STOP",67:"TAGEND",68:"TRAPSTART",69:"TRAPEND",70:"INVTRAPSTART",71:"INVTRAPEND",74:"TESTSTR",75:"START_LINK",77:"LINK",78:"LINK_ID",80:"STR",81:"MD_STR",84:"STYLE",85:"LINKSTYLE",86:"CLASSDEF",87:"CLASS",88:"CLICK",89:"DOWN",90:"UP",93:"idString[vertex]",94:"idString[class]",95:"CALLBACKNAME",96:"CALLBACKARGS",97:"HREF",98:"LINK_TARGET",99:"STR[link]",100:"STR[tooltip]",102:"DEFAULT",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"NODE_STRING",110:"UNIT",111:"BRKT",112:"PCT",114:"MINUS",115:"MULT",116:"UNICODE_TEXT",117:"TEXT",118:"TAGSTART",119:"EDGE_TEXT",121:"direction_tb",122:"direction_bt",123:"direction_rl",124:"direction_lr",125:"direction_td"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,5],[20,3],[20,4],[20,2],[20,2],[20,3],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1],[33,1]],performAction:C(function(p,b,A,u,w,e,Me){var t=e.length-1;switch(w){case 2:this.$=[];break;case 3:(!Array.isArray(e[t])||e[t].length>0)&&e[t-1].push(e[t]),this.$=e[t-1];break;case 4:case 185:this.$=e[t];break;case 11:u.setDirection("TB"),this.$="TB";break;case 12:u.setDirection(e[t-1]),this.$=e[t-1];break;case 27:this.$=e[t-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=u.addSubGraph(e[t-6],e[t-1],e[t-4]);break;case 34:this.$=u.addSubGraph(e[t-3],e[t-1],e[t-3]);break;case 35:this.$=u.addSubGraph(void 0,e[t-1],void 0);break;case 37:this.$=e[t].trim(),u.setAccTitle(this.$);break;case 38:case 39:this.$=e[t].trim(),u.setAccDescription(this.$);break;case 43:this.$=e[t-1]+e[t];break;case 44:this.$=e[t];break;case 45:u.addVertex(e[t-1][e[t-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,e[t]),u.addLink(e[t-3].stmt,e[t-1],e[t-2]),this.$={stmt:e[t-1],nodes:e[t-1].concat(e[t-3].nodes)};break;case 46:u.addVertex(e[t-2][e[t-2].length-1],void 0,void 0,void 0,void 0,void 0,void 0,e[t-1]),u.addLink(e[t-4].stmt,e[t-2],e[t-3]),this.$={stmt:e[t-2],nodes:e[t-2].concat(e[t-4].nodes)};break;case 47:u.addLink(e[t-2].stmt,e[t],e[t-1]),this.$={stmt:e[t],nodes:e[t].concat(e[t-2].nodes)};break;case 48:u.addLink(e[t-3].stmt,e[t-1],e[t-2]),this.$={stmt:e[t-1],nodes:e[t-1].concat(e[t-3].nodes)};break;case 49:this.$={stmt:e[t-1],nodes:e[t-1]};break;case 50:u.addVertex(e[t-1][e[t-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,e[t]),this.$={stmt:e[t-1],nodes:e[t-1],shapeData:e[t]};break;case 51:u.addVertex(e[t-2][e[t-2].length-1],void 0,void 0,void 0,void 0,void 0,void 0,e[t-1]),this.$={stmt:e[t-2],nodes:e[t-2],shapeData:e[t-1]};break;case 52:this.$={stmt:e[t],nodes:e[t]};break;case 53:this.$=[e[t]];break;case 54:u.addVertex(e[t-5][e[t-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,e[t-4]),this.$=e[t-5].concat(e[t]);break;case 55:this.$=e[t-4].concat(e[t]);break;case 56:this.$=e[t];break;case 57:this.$=e[t-2],u.setClass(e[t-2],e[t]);break;case 58:this.$=e[t-3],u.addVertex(e[t-3],e[t-1],"square");break;case 59:this.$=e[t-3],u.addVertex(e[t-3],e[t-1],"doublecircle");break;case 60:this.$=e[t-5],u.addVertex(e[t-5],e[t-2],"circle");break;case 61:this.$=e[t-3],u.addVertex(e[t-3],e[t-1],"ellipse");break;case 62:this.$=e[t-3],u.addVertex(e[t-3],e[t-1],"stadium");break;case 63:this.$=e[t-3],u.addVertex(e[t-3],e[t-1],"subroutine");break;case 64:this.$=e[t-7],u.addVertex(e[t-7],e[t-1],"rect",void 0,void 0,void 0,Object.fromEntries([[e[t-5],e[t-3]]]));break;case 65:this.$=e[t-3],u.addVertex(e[t-3],e[t-1],"cylinder");break;case 66:this.$=e[t-3],u.addVertex(e[t-3],e[t-1],"round");break;case 67:this.$=e[t-3],u.addVertex(e[t-3],e[t-1],"diamond");break;case 68:this.$=e[t-5],u.addVertex(e[t-5],e[t-2],"hexagon");break;case 69:this.$=e[t-3],u.addVertex(e[t-3],e[t-1],"odd");break;case 70:this.$=e[t-3],u.addVertex(e[t-3],e[t-1],"trapezoid");break;case 71:this.$=e[t-3],u.addVertex(e[t-3],e[t-1],"inv_trapezoid");break;case 72:this.$=e[t-3],u.addVertex(e[t-3],e[t-1],"lean_right");break;case 73:this.$=e[t-3],u.addVertex(e[t-3],e[t-1],"lean_left");break;case 74:this.$=e[t],u.addVertex(e[t]);break;case 75:e[t-1].text=e[t],this.$=e[t-1];break;case 76:case 77:e[t-2].text=e[t-1],this.$=e[t-2];break;case 78:this.$=e[t];break;case 79:var O=u.destructLink(e[t],e[t-2]);this.$={type:O.type,stroke:O.stroke,length:O.length,text:e[t-1]};break;case 80:var O=u.destructLink(e[t],e[t-2]);this.$={type:O.type,stroke:O.stroke,length:O.length,text:e[t-1],id:e[t-3]};break;case 81:this.$={text:e[t],type:"text"};break;case 82:this.$={text:e[t-1].text+""+e[t],type:e[t-1].type};break;case 83:this.$={text:e[t],type:"string"};break;case 84:this.$={text:e[t],type:"markdown"};break;case 85:var O=u.destructLink(e[t]);this.$={type:O.type,stroke:O.stroke,length:O.length};break;case 86:var O=u.destructLink(e[t]);this.$={type:O.type,stroke:O.stroke,length:O.length,id:e[t-1]};break;case 87:this.$=e[t-1];break;case 88:this.$={text:e[t],type:"text"};break;case 89:this.$={text:e[t-1].text+""+e[t],type:e[t-1].type};break;case 90:this.$={text:e[t],type:"string"};break;case 91:case 106:this.$={text:e[t],type:"markdown"};break;case 103:this.$={text:e[t],type:"text"};break;case 104:this.$={text:e[t-1].text+""+e[t],type:e[t-1].type};break;case 105:this.$={text:e[t],type:"text"};break;case 107:this.$=e[t-4],u.addClass(e[t-2],e[t]);break;case 108:this.$=e[t-4],u.setClass(e[t-2],e[t]);break;case 109:case 117:this.$=e[t-1],u.setClickEvent(e[t-1],e[t]);break;case 110:case 118:this.$=e[t-3],u.setClickEvent(e[t-3],e[t-2]),u.setTooltip(e[t-3],e[t]);break;case 111:this.$=e[t-2],u.setClickEvent(e[t-2],e[t-1],e[t]);break;case 112:this.$=e[t-4],u.setClickEvent(e[t-4],e[t-3],e[t-2]),u.setTooltip(e[t-4],e[t]);break;case 113:this.$=e[t-2],u.setLink(e[t-2],e[t]);break;case 114:this.$=e[t-4],u.setLink(e[t-4],e[t-2]),u.setTooltip(e[t-4],e[t]);break;case 115:this.$=e[t-4],u.setLink(e[t-4],e[t-2],e[t]);break;case 116:this.$=e[t-6],u.setLink(e[t-6],e[t-4],e[t]),u.setTooltip(e[t-6],e[t-2]);break;case 119:this.$=e[t-1],u.setLink(e[t-1],e[t]);break;case 120:this.$=e[t-3],u.setLink(e[t-3],e[t-2]),u.setTooltip(e[t-3],e[t]);break;case 121:this.$=e[t-3],u.setLink(e[t-3],e[t-2],e[t]);break;case 122:this.$=e[t-5],u.setLink(e[t-5],e[t-4],e[t]),u.setTooltip(e[t-5],e[t-2]);break;case 123:this.$=e[t-4],u.addVertex(e[t-2],void 0,void 0,e[t]);break;case 124:this.$=e[t-4],u.updateLink([e[t-2]],e[t]);break;case 125:this.$=e[t-4],u.updateLink(e[t-2],e[t]);break;case 126:this.$=e[t-8],u.updateLinkInterpolate([e[t-6]],e[t-2]),u.updateLink([e[t-6]],e[t]);break;case 127:this.$=e[t-8],u.updateLinkInterpolate(e[t-6],e[t-2]),u.updateLink(e[t-6],e[t]);break;case 128:this.$=e[t-6],u.updateLinkInterpolate([e[t-4]],e[t]);break;case 129:this.$=e[t-6],u.updateLinkInterpolate(e[t-4],e[t]);break;case 130:case 132:this.$=[e[t]];break;case 131:case 133:e[t-2].push(e[t]),this.$=e[t-2];break;case 135:this.$=e[t-1]+e[t];break;case 183:this.$=e[t];break;case 184:this.$=e[t-1]+""+e[t];break;case 186:this.$=e[t-1]+""+e[t];break;case 187:this.$={stmt:"dir",value:"TB"};break;case 188:this.$={stmt:"dir",value:"BT"};break;case 189:this.$={stmt:"dir",value:"RL"};break;case 190:this.$={stmt:"dir",value:"LR"};break;case 191:this.$={stmt:"dir",value:"TD"};break}},"anonymous"),table:[{3:1,4:2,9:i,10:a,12:n},{1:[3]},s(r,l,{5:6}),{4:7,9:i,10:a,12:n},{4:8,9:i,10:a,12:n},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:g,9:o,10:m,11:d,20:17,22:18,23:19,24:20,25:21,26:22,27:y,33:24,34:_,36:G,38:k,42:28,43:39,44:f,45:40,47:41,60:x,84:pe,85:J,86:me,87:z,88:$,89:P,102:c,105:h,106:F,109:v,111:I,113:42,114:R,115:N,116:M,121:Oe,122:Ue,123:We,124:ze,125:je},s(r,[2,9]),s(r,[2,10]),s(r,[2,11]),{8:[1,55],9:[1,56],10:fe,15:54,18:57},s(B,[2,3]),s(B,[2,4]),s(B,[2,5]),s(B,[2,6]),s(B,[2,7]),s(B,[2,8]),{8:te,9:se,11:ie,21:59,41:60,72:64,75:[1,65],77:[1,67],78:[1,66]},{8:te,9:se,11:ie,21:68},{8:te,9:se,11:ie,21:69},{8:te,9:se,11:ie,21:70},{8:te,9:se,11:ie,21:71},{8:te,9:se,11:ie,21:72},{8:te,9:se,10:[1,73],11:ie,21:74},s(B,[2,36]),{35:[1,75]},{37:[1,76]},s(B,[2,39]),s(ge,[2,52],{18:77,39:78,10:fe,40:ut}),{10:[1,80]},{10:[1,81]},{10:[1,82]},{10:[1,83]},{14:Te,44:Ee,60:ye,80:[1,87],89:xe,95:[1,84],97:[1,85],101:86,105:Fe,106:_e,109:ve,111:Be,114:Le,115:we,116:Ve,120:88},s(B,[2,187]),s(B,[2,188]),s(B,[2,189]),s(B,[2,190]),s(B,[2,191]),s(Ce,[2,53]),s(Ce,[2,56],{46:[1,100]}),s(W,[2,74],{113:113,29:[1,101],44:f,48:[1,102],50:[1,103],52:[1,104],54:[1,105],56:[1,106],58:[1,107],60:x,63:[1,108],65:[1,109],67:[1,110],68:[1,111],70:[1,112],89:P,102:c,105:h,106:F,109:v,111:I,114:R,115:N,116:M}),s(H,[2,183]),s(H,[2,144]),s(H,[2,145]),s(H,[2,146]),s(H,[2,147]),s(H,[2,148]),s(H,[2,149]),s(H,[2,150]),s(H,[2,151]),s(H,[2,152]),s(H,[2,153]),s(H,[2,154]),s(r,[2,12]),s(r,[2,18]),s(r,[2,19]),{9:[1,114]},s(ot,[2,26],{18:115,10:fe}),s(B,[2,27]),{42:116,43:39,44:f,45:40,47:41,60:x,89:P,102:c,105:h,106:F,109:v,111:I,113:42,114:R,115:N,116:M},s(B,[2,40]),s(B,[2,41]),s(B,[2,42]),s(Ie,[2,78],{73:117,62:[1,119],74:[1,118]}),{76:120,79:121,80:lt,81:ct,116:Ke,119:Ye},{75:[1,126],77:[1,127]},s(ht,[2,85]),s(B,[2,28]),s(B,[2,29]),s(B,[2,30]),s(B,[2,31]),s(B,[2,32]),{10:dt,12:pt,14:ft,27:gt,28:128,32:bt,44:kt,60:At,75:mt,80:[1,130],81:[1,131],83:141,84:Ct,85:St,86:Dt,87:Tt,88:Et,89:yt,90:xt,91:129,105:Ft,109:_t,111:vt,114:Bt,115:Lt,116:wt},s(Qe,l,{5:154}),s(B,[2,37]),s(B,[2,38]),s(ge,[2,49],{44:Vt}),s(ge,[2,50],{18:156,10:fe,40:It}),s(Ce,[2,44]),{44:f,47:158,60:x,89:P,102:c,105:h,106:F,109:v,111:I,113:42,114:R,115:N,116:M},{102:[1,159],103:160,105:[1,161]},{44:f,47:162,60:x,89:P,102:c,105:h,106:F,109:v,111:I,113:42,114:R,115:N,116:M},{44:f,47:163,60:x,89:P,102:c,105:h,106:F,109:v,111:I,113:42,114:R,115:N,116:M},s(V,[2,109],{10:[1,164],96:[1,165]}),{80:[1,166]},s(V,[2,117],{120:168,10:[1,167],14:Te,44:Ee,60:ye,89:xe,105:Fe,106:_e,109:ve,111:Be,114:Le,115:we,116:Ve}),s(V,[2,119],{10:[1,169]}),s(q,[2,185]),s(q,[2,172]),s(q,[2,173]),s(q,[2,174]),s(q,[2,175]),s(q,[2,176]),s(q,[2,177]),s(q,[2,178]),s(q,[2,179]),s(q,[2,180]),s(q,[2,181]),s(q,[2,182]),{44:f,47:170,60:x,89:P,102:c,105:h,106:F,109:v,111:I,113:42,114:R,115:N,116:M},{30:171,67:S,80:j,81:K,82:172,116:D,117:T,118:E},{30:179,67:S,80:j,81:K,82:172,116:D,117:T,118:E},{30:181,50:[1,180],67:S,80:j,81:K,82:172,116:D,117:T,118:E},{30:182,67:S,80:j,81:K,82:172,116:D,117:T,118:E},{30:183,67:S,80:j,81:K,82:172,116:D,117:T,118:E},{30:184,67:S,80:j,81:K,82:172,116:D,117:T,118:E},{109:[1,185]},{30:186,67:S,80:j,81:K,82:172,116:D,117:T,118:E},{30:187,65:[1,188],67:S,80:j,81:K,82:172,116:D,117:T,118:E},{30:189,67:S,80:j,81:K,82:172,116:D,117:T,118:E},{30:190,67:S,80:j,81:K,82:172,116:D,117:T,118:E},{30:191,67:S,80:j,81:K,82:172,116:D,117:T,118:E},s(H,[2,184]),s(r,[2,20]),s(ot,[2,25]),s(ge,[2,47],{39:192,18:193,10:fe,40:ut}),s(Ie,[2,75],{10:[1,194]}),{10:[1,195]},{30:196,67:S,80:j,81:K,82:172,116:D,117:T,118:E},{77:[1,197],79:198,116:Ke,119:Ye},s(Re,[2,81]),s(Re,[2,83]),s(Re,[2,84]),s(Re,[2,170]),s(Re,[2,171]),{76:199,79:121,80:lt,81:ct,116:Ke,119:Ye},s(ht,[2,86]),{8:te,9:se,10:dt,11:ie,12:pt,14:ft,21:201,27:gt,29:[1,200],32:bt,44:kt,60:At,75:mt,83:141,84:Ct,85:St,86:Dt,87:Tt,88:Et,89:yt,90:xt,91:202,105:Ft,109:_t,111:vt,114:Bt,115:Lt,116:wt},s(L,[2,103]),s(L,[2,105]),s(L,[2,106]),s(L,[2,159]),s(L,[2,160]),s(L,[2,161]),s(L,[2,162]),s(L,[2,163]),s(L,[2,164]),s(L,[2,165]),s(L,[2,166]),s(L,[2,167]),s(L,[2,168]),s(L,[2,169]),s(L,[2,92]),s(L,[2,93]),s(L,[2,94]),s(L,[2,95]),s(L,[2,96]),s(L,[2,97]),s(L,[2,98]),s(L,[2,99]),s(L,[2,100]),s(L,[2,101]),s(L,[2,102]),{6:11,7:12,8:g,9:o,10:m,11:d,20:17,22:18,23:19,24:20,25:21,26:22,27:y,32:[1,203],33:24,34:_,36:G,38:k,42:28,43:39,44:f,45:40,47:41,60:x,84:pe,85:J,86:me,87:z,88:$,89:P,102:c,105:h,106:F,109:v,111:I,113:42,114:R,115:N,116:M,121:Oe,122:Ue,123:We,124:ze,125:je},{10:fe,18:204},s(ge,[2,51],{44:Rt}),s(Ce,[2,43]),{10:[1,206],44:f,60:x,89:P,102:c,105:h,106:F,109:v,111:I,113:113,114:R,115:N,116:M},{10:[1,207]},{10:[1,208],106:[1,209]},s(Nt,[2,130]),{10:[1,210],44:f,60:x,89:P,102:c,105:h,106:F,109:v,111:I,113:113,114:R,115:N,116:M},{10:[1,211],44:f,60:x,89:P,102:c,105:h,106:F,109:v,111:I,113:113,114:R,115:N,116:M},{80:[1,212]},s(V,[2,111],{10:[1,213]}),s(V,[2,113],{10:[1,214]}),{80:[1,215]},s(q,[2,186]),{80:[1,216],98:[1,217]},s(Ce,[2,57],{113:113,44:f,60:x,89:P,102:c,105:h,106:F,109:v,111:I,114:R,115:N,116:M}),{31:[1,218],67:S,82:219,116:D,117:T,118:E},s(be,[2,88]),s(be,[2,90]),s(be,[2,91]),s(be,[2,155]),s(be,[2,156]),s(be,[2,157]),s(be,[2,158]),{49:[1,220],67:S,82:219,116:D,117:T,118:E},{30:221,67:S,80:j,81:K,82:172,116:D,117:T,118:E},{51:[1,222],67:S,82:219,116:D,117:T,118:E},{53:[1,223],67:S,82:219,116:D,117:T,118:E},{55:[1,224],67:S,82:219,116:D,117:T,118:E},{57:[1,225],67:S,82:219,116:D,117:T,118:E},{60:[1,226]},{64:[1,227],67:S,82:219,116:D,117:T,118:E},{66:[1,228],67:S,82:219,116:D,117:T,118:E},{30:229,67:S,80:j,81:K,82:172,116:D,117:T,118:E},{31:[1,230],67:S,82:219,116:D,117:T,118:E},{67:S,69:[1,231],71:[1,232],82:219,116:D,117:T,118:E},{67:S,69:[1,234],71:[1,233],82:219,116:D,117:T,118:E},s(ge,[2,45],{18:235,10:fe,40:It}),s(ge,[2,48],{44:Vt}),s(Ie,[2,77]),s(Ie,[2,76]),{62:[1,236],67:S,82:219,116:D,117:T,118:E},s(Ie,[2,79]),s(Re,[2,82]),{77:[1,237],79:198,116:Ke,119:Ye},{30:238,67:S,80:j,81:K,82:172,116:D,117:T,118:E},s(Qe,l,{5:239}),s(L,[2,104]),s(B,[2,35]),{43:240,44:f,45:40,47:41,60:x,89:P,102:c,105:h,106:F,109:v,111:I,113:42,114:R,115:N,116:M},{10:fe,18:241},{10:re,60:ae,84:ne,92:242,105:ue,107:243,108:244,109:oe,110:le,111:ce,112:he},{10:re,60:ae,84:ne,92:253,104:[1,254],105:ue,107:243,108:244,109:oe,110:le,111:ce,112:he},{10:re,60:ae,84:ne,92:255,104:[1,256],105:ue,107:243,108:244,109:oe,110:le,111:ce,112:he},{105:[1,257]},{10:re,60:ae,84:ne,92:258,105:ue,107:243,108:244,109:oe,110:le,111:ce,112:he},{44:f,47:259,60:x,89:P,102:c,105:h,106:F,109:v,111:I,113:42,114:R,115:N,116:M},s(V,[2,110]),{80:[1,260]},{80:[1,261],98:[1,262]},s(V,[2,118]),s(V,[2,120],{10:[1,263]}),s(V,[2,121]),s(W,[2,58]),s(be,[2,89]),s(W,[2,59]),{51:[1,264],67:S,82:219,116:D,117:T,118:E},s(W,[2,66]),s(W,[2,61]),s(W,[2,62]),s(W,[2,63]),{109:[1,265]},s(W,[2,65]),s(W,[2,67]),{66:[1,266],67:S,82:219,116:D,117:T,118:E},s(W,[2,69]),s(W,[2,70]),s(W,[2,72]),s(W,[2,71]),s(W,[2,73]),s(ge,[2,46],{44:Rt}),s([10,44,60,89,102,105,106,109,111,114,115,116],[2,87]),s(Ie,[2,80]),{31:[1,267],67:S,82:219,116:D,117:T,118:E},{6:11,7:12,8:g,9:o,10:m,11:d,20:17,22:18,23:19,24:20,25:21,26:22,27:y,32:[1,268],33:24,34:_,36:G,38:k,42:28,43:39,44:f,45:40,47:41,60:x,84:pe,85:J,86:me,87:z,88:$,89:P,102:c,105:h,106:F,109:v,111:I,113:42,114:R,115:N,116:M,121:Oe,122:Ue,123:We,124:ze,125:je},s(Ce,[2,55]),{43:269,44:f,45:40,47:41,60:x,89:P,102:c,105:h,106:F,109:v,111:I,113:42,114:R,115:N,116:M},s(V,[2,123],{106:Ne}),s(Gt,[2,132],{108:271,10:re,60:ae,84:ne,105:ue,109:oe,110:le,111:ce,112:he}),s(ee,[2,134]),s(ee,[2,136]),s(ee,[2,137]),s(ee,[2,138]),s(ee,[2,139]),s(ee,[2,140]),s(ee,[2,141]),s(ee,[2,142]),s(ee,[2,143]),s(V,[2,124],{106:Ne}),{10:[1,272]},s(V,[2,125],{106:Ne}),{10:[1,273]},s(Nt,[2,131]),s(V,[2,107],{106:Ne}),s(V,[2,108],{113:113,44:f,60:x,89:P,102:c,105:h,106:F,109:v,111:I,114:R,115:N,116:M}),s(V,[2,112]),s(V,[2,114],{10:[1,274]}),s(V,[2,115]),{98:[1,275]},{51:[1,276]},{62:[1,277]},{66:[1,278]},{8:te,9:se,11:ie,21:279},s(B,[2,34]),s(Ce,[2,54]),{10:re,60:ae,84:ne,105:ue,107:280,108:244,109:oe,110:le,111:ce,112:he},s(ee,[2,135]),{14:Te,44:Ee,60:ye,89:xe,101:281,105:Fe,106:_e,109:ve,111:Be,114:Le,115:we,116:Ve,120:88},{14:Te,44:Ee,60:ye,89:xe,101:282,105:Fe,106:_e,109:ve,111:Be,114:Le,115:we,116:Ve,120:88},{98:[1,283]},s(V,[2,122]),s(W,[2,60]),{30:284,67:S,80:j,81:K,82:172,116:D,117:T,118:E},s(W,[2,68]),s(Qe,l,{5:285}),s(Gt,[2,133],{108:271,10:re,60:ae,84:ne,105:ue,109:oe,110:le,111:ce,112:he}),s(V,[2,128],{120:168,10:[1,286],14:Te,44:Ee,60:ye,89:xe,105:Fe,106:_e,109:ve,111:Be,114:Le,115:we,116:Ve}),s(V,[2,129],{120:168,10:[1,287],14:Te,44:Ee,60:ye,89:xe,105:Fe,106:_e,109:ve,111:Be,114:Le,115:we,116:Ve}),s(V,[2,116]),{31:[1,288],67:S,82:219,116:D,117:T,118:E},{6:11,7:12,8:g,9:o,10:m,11:d,20:17,22:18,23:19,24:20,25:21,26:22,27:y,32:[1,289],33:24,34:_,36:G,38:k,42:28,43:39,44:f,45:40,47:41,60:x,84:pe,85:J,86:me,87:z,88:$,89:P,102:c,105:h,106:F,109:v,111:I,113:42,114:R,115:N,116:M,121:Oe,122:Ue,123:We,124:ze,125:je},{10:re,60:ae,84:ne,92:290,105:ue,107:243,108:244,109:oe,110:le,111:ce,112:he},{10:re,60:ae,84:ne,92:291,105:ue,107:243,108:244,109:oe,110:le,111:ce,112:he},s(W,[2,64]),s(B,[2,33]),s(V,[2,126],{106:Ne}),s(V,[2,127],{106:Ne})],defaultActions:{},parseError:C(function(p,b){if(b.recoverable)this.trace(p);else{var A=new Error(p);throw A.hash=b,A}},"parseError"),parse:C(function(p){var b=this,A=[0],u=[],w=[null],e=[],Me=this.table,t="",O=0,Pt=0,Ht=2,Mt=1,qt=e.slice.call(arguments,1),U=Object.create(this.lexer),Se={yy:{}};for(var Ze in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ze)&&(Se.yy[Ze]=this.yy[Ze]);U.setInput(p,Se.yy),Se.yy.lexer=U,Se.yy.parser=this,typeof U.yylloc>"u"&&(U.yylloc={});var $e=U.yylloc;e.push($e);var Xt=U.options&&U.options.ranges;typeof Se.yy.parseError=="function"?this.parseError=Se.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Qt(X){A.length=A.length-2*X,w.length=w.length-X,e.length=e.length-X}C(Qt,"popStack");function Ot(){var X;return X=u.pop()||U.lex()||Mt,typeof X!="number"&&(X instanceof Array&&(u=X,X=u.pop()),X=b.symbols_[X]||X),X}C(Ot,"lex");for(var Y,De,Q,et,Ge={},qe,de,Ut,Xe;;){if(De=A[A.length-1],this.defaultActions[De]?Q=this.defaultActions[De]:((Y===null||typeof Y>"u")&&(Y=Ot()),Q=Me[De]&&Me[De][Y]),typeof Q>"u"||!Q.length||!Q[0]){var tt="";Xe=[];for(qe in Me[De])this.terminals_[qe]&&qe>Ht&&Xe.push("'"+this.terminals_[qe]+"'");U.showPosition?tt="Parse error on line "+(O+1)+`:
10
+ `+U.showPosition()+`
11
+ Expecting `+Xe.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'":tt="Parse error on line "+(O+1)+": Unexpected "+(Y==Mt?"end of input":"'"+(this.terminals_[Y]||Y)+"'"),this.parseError(tt,{text:U.match,token:this.terminals_[Y]||Y,line:U.yylineno,loc:$e,expected:Xe})}if(Q[0]instanceof Array&&Q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+De+", token: "+Y);switch(Q[0]){case 1:A.push(Y),w.push(U.yytext),e.push(U.yylloc),A.push(Q[1]),Y=null,Pt=U.yyleng,t=U.yytext,O=U.yylineno,$e=U.yylloc;break;case 2:if(de=this.productions_[Q[1]][1],Ge.$=w[w.length-de],Ge._$={first_line:e[e.length-(de||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(de||1)].first_column,last_column:e[e.length-1].last_column},Xt&&(Ge._$.range=[e[e.length-(de||1)].range[0],e[e.length-1].range[1]]),et=this.performAction.apply(Ge,[t,Pt,O,Se.yy,Q[1],w,e].concat(qt)),typeof et<"u")return et;de&&(A=A.slice(0,-1*de*2),w=w.slice(0,-1*de),e=e.slice(0,-1*de)),A.push(this.productions_[Q[1]][0]),w.push(Ge.$),e.push(Ge._$),Ut=Me[A[A.length-2]][A[A.length-1]],A.push(Ut);break;case 3:return!0}}return!0},"parse")},Yt=(function(){var ke={EOF:1,parseError:C(function(b,A){if(this.yy.parser)this.yy.parser.parseError(b,A);else throw new Error(b)},"parseError"),setInput:C(function(p,b){return this.yy=b||this.yy||{},this._input=p,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:C(function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var b=p.match(/(?:\r\n?|\n).*/g);return b?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),p},"input"),unput:C(function(p){var b=p.length,A=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b),this.offset-=b;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),A.length-1&&(this.yylineno-=A.length-1);var w=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:A?(A.length===u.length?this.yylloc.first_column:0)+u[u.length-A.length].length-A[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-b]),this.yyleng=this.yytext.length,this},"unput"),more:C(function(){return this._more=!0,this},"more"),reject:C(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
12
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:C(function(p){this.unput(this.match.slice(p))},"less"),pastInput:C(function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:C(function(){var p=this.match;return p.length<20&&(p+=this._input.substr(0,20-p.length)),(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:C(function(){var p=this.pastInput(),b=new Array(p.length+1).join("-");return p+this.upcomingInput()+`
13
+ `+b+"^"},"showPosition"),test_match:C(function(p,b){var A,u,w;if(this.options.backtrack_lexer&&(w={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(w.yylloc.range=this.yylloc.range.slice(0))),u=p[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,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(p[0].length),this.matched+=p[0],A=this.performAction.call(this,this.yy,this,b,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),A)return A;if(this._backtrack){for(var e in w)this[e]=w[e];return!1}return!1},"test_match"),next:C(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var p,b,A,u;this._more||(this.yytext="",this.match="");for(var w=this._currentRules(),e=0;e<w.length;e++)if(A=this._input.match(this.rules[w[e]]),A&&(!b||A[0].length>b[0].length)){if(b=A,u=e,this.options.backtrack_lexer){if(p=this.test_match(A,w[e]),p!==!1)return p;if(this._backtrack){b=!1;continue}else return!1}else if(!this.options.flex)break}return b?(p=this.test_match(b,w[u]),p!==!1?p:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
14
+ `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:C(function(){var b=this.next();return b||this.lex()},"lex"),begin:C(function(b){this.conditionStack.push(b)},"begin"),popState:C(function(){var b=this.conditionStack.length-1;return b>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:C(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:C(function(b){return b=this.conditionStack.length-1-Math.abs(b||0),b>=0?this.conditionStack[b]:"INITIAL"},"topState"),pushState:C(function(b){this.begin(b)},"pushState"),stateStackSize:C(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:C(function(b,A,u,w){switch(u){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),A.yytext="",40;case 8:return this.pushState("shapeDataStr"),40;case 9:return this.popState(),40;case 10:const e=/\n\s*/g;return A.yytext=A.yytext.replace(e,"<br/>"),40;case 11:return 40;case 12:this.popState();break;case 13:this.begin("callbackname");break;case 14:this.popState();break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 95;case 17:this.popState();break;case 18:return 96;case 19:return"MD_STR";case 20:this.popState();break;case 21:this.begin("md_string");break;case 22:return"STR";case 23:this.popState();break;case 24:this.pushState("string");break;case 25:return 84;case 26:return 102;case 27:return 85;case 28:return 104;case 29:return 86;case 30:return 87;case 31:return 97;case 32:this.begin("click");break;case 33:this.popState();break;case 34:return 88;case 35:return b.lex.firstGraph()&&this.begin("dir"),12;case 36:return b.lex.firstGraph()&&this.begin("dir"),12;case 37:return b.lex.firstGraph()&&this.begin("dir"),12;case 38:return b.lex.firstGraph()&&this.begin("dir"),12;case 39:return 27;case 40:return 32;case 41:return 98;case 42:return 98;case 43:return 98;case 44:return 98;case 45:return this.popState(),13;case 46:return this.popState(),14;case 47:return this.popState(),14;case 48:return this.popState(),14;case 49:return this.popState(),14;case 50:return this.popState(),14;case 51:return this.popState(),14;case 52:return this.popState(),14;case 53:return this.popState(),14;case 54:return this.popState(),14;case 55:return this.popState(),14;case 56:return 121;case 57:return 122;case 58:return 123;case 59:return 124;case 60:return 125;case 61:return 78;case 62:return 105;case 63:return 111;case 64:return 46;case 65:return 60;case 66:return 44;case 67:return 8;case 68:return 106;case 69:return 115;case 70:return this.popState(),77;case 71:return this.pushState("edgeText"),75;case 72:return 119;case 73:return this.popState(),77;case 74:return this.pushState("thickEdgeText"),75;case 75:return 119;case 76:return this.popState(),77;case 77:return this.pushState("dottedEdgeText"),75;case 78:return 119;case 79:return 77;case 80:return this.popState(),53;case 81:return"TEXT";case 82:return this.pushState("ellipseText"),52;case 83:return this.popState(),55;case 84:return this.pushState("text"),54;case 85:return this.popState(),57;case 86:return this.pushState("text"),56;case 87:return 58;case 88:return this.pushState("text"),67;case 89:return this.popState(),64;case 90:return this.pushState("text"),63;case 91:return this.popState(),49;case 92:return this.pushState("text"),48;case 93:return this.popState(),69;case 94:return this.popState(),71;case 95:return 117;case 96:return this.pushState("trapText"),68;case 97:return this.pushState("trapText"),70;case 98:return 118;case 99:return 67;case 100:return 90;case 101:return"SEP";case 102:return 89;case 103:return 115;case 104:return 111;case 105:return 44;case 106:return 109;case 107:return 114;case 108:return 116;case 109:return this.popState(),62;case 110:return this.pushState("text"),62;case 111:return this.popState(),51;case 112:return this.pushState("text"),50;case 113:return this.popState(),31;case 114:return this.pushState("text"),29;case 115:return this.popState(),66;case 116:return this.pushState("text"),65;case 117:return"TEXT";case 118:return"QUOTE";case 119:return 9;case 120:return 10;case 121:return 11}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:swimlane-beta\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:.*direction\s+TD[^\n]*)/,/^(?:[^\s\"\[\]\(\)\{\}\|]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\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])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:[^\S\n\r]+)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeData:{rules:[8,11,12,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackargs:{rules:[17,18,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackname:{rules:[14,15,16,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},href:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},click:{rules:[21,24,33,34,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dottedEdgeText:{rules:[21,24,76,78,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},thickEdgeText:{rules:[21,24,73,75,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},edgeText:{rules:[21,24,70,72,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},trapText:{rules:[21,24,79,82,84,86,90,92,93,94,95,96,97,110,112,114,116],inclusive:!1},ellipseText:{rules:[21,24,79,80,81,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},text:{rules:[21,24,79,82,83,84,85,86,89,90,91,92,96,97,109,110,111,112,113,114,115,116,117],inclusive:!1},vertex:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dir:{rules:[21,24,45,46,47,48,49,50,51,52,53,54,55,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr:{rules:[3,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_title:{rules:[1,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},md_string:{rules:[19,20,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},string:{rules:[21,22,23,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,44,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,73,74,76,77,79,82,84,86,87,88,90,92,96,97,98,99,100,101,102,103,104,105,106,107,108,110,112,114,116,118,119,120,121],inclusive:!0}}};return ke})();Je.lexer=Yt;function He(){this.yy={}}return C(He,"Parser"),He.prototype=Je,Je.Parser=He,new He})();nt.parser=nt;var zt=nt,jt=Object.assign({},zt);jt.parse=s=>{const i=s.replace(/}\s*\n/g,`}
15
+ `);return zt.parse(i)};var B1=jt,L1=C(s=>{const{theme:i,bkgColorArray:a,borderColorArray:n}=s;if(!b1(i,n))return"";const r=k1(s.look),l=A1(a);let g="";for(let o=0;o<m1(s.THEME_COLOR_LIMIT,n);o++){const m=n[o%n.length],d=l?`fill: ${a[o%a.length]};`:"",y=`[data-look="${r}"][data-color-id="color-${o}"]`,_=C(k=>`${y}.node ${k}, ${y}.rough-node ${k}`,"collapsedRule"),G=C(k=>`${y}.swimlane.cluster .swimlane-title${k}, ${y}.swimlane.cluster .swimlane-body${k}`,"laneRule");g+=`
16
+
17
+ ${y}.cluster:not(.swimlane) rect {
18
+ stroke: ${m};
19
+ ${d}
20
+ }
21
+
22
+ ${y}.cluster:not(.swimlane) path {
23
+ stroke: ${m};
24
+ ${d}
25
+ }
26
+
27
+ /* Lane, classic and neo. */
28
+ ${y}.swimlane.cluster rect.swimlane-title,
29
+ ${y}.swimlane.cluster rect.swimlane-body {
30
+ stroke: ${m};
31
+ ${d}
32
+ }
33
+
34
+ /* Lane, handDrawn: roughjs emits the hachure fill first, then the outline. */
35
+ ${G(" path:nth-of-type(2)")} {
36
+ stroke: ${m};
37
+ }
38
+ ${l?`
39
+ /* A roughjs fill is drawn as lines, so the lane fill is a stroke here. */
40
+ ${G(" path:first-of-type")} {
41
+ stroke: ${a[o%a.length]};
42
+ }
43
+ `:""}
44
+ ${_(".collapsed-group")},
45
+ ${_(".collapsed-group path")} {
46
+ stroke: ${m};
47
+ ${d}
48
+ }
49
+
50
+ /* The ellipsis dots and the separator take clusterBorder further down, so without
51
+ these the container is palette-coloured while its own markers are not. */
52
+ ${_(".collapsed-indicator")} {
53
+ fill: ${m};
54
+ }
55
+
56
+ ${_(".collapsed-separator")} {
57
+ stroke: ${m};
58
+ }
59
+ `}return g},"genColor"),w1=C((s,i)=>{const a=S1,n=a(s,"r"),r=a(s,"g"),l=a(s,"b");return C1(n,r,l,i)},"fade"),V1=C(s=>`${L1(s)}
60
+ .label {
61
+ font-family: ${s.fontFamily};
62
+ color: ${s.nodeTextColor||s.textColor};
63
+ }
64
+ .cluster-label text {
65
+ fill: ${s.titleColor};
66
+ }
67
+ .cluster-label span {
68
+ color: ${s.titleColor};
69
+ }
70
+ .cluster-label span p {
71
+ background-color: transparent;
72
+ }
73
+
74
+ .label text,span {
75
+ fill: ${s.nodeTextColor||s.textColor};
76
+ color: ${s.nodeTextColor||s.textColor};
77
+ }
78
+
79
+ .node rect,
80
+ .node circle,
81
+ .node ellipse,
82
+ .node polygon,
83
+ .node path {
84
+ fill: ${s.mainBkg};
85
+ stroke: ${s.nodeBorder};
86
+ stroke-width: ${s.strokeWidth??1}px;
87
+ }
88
+ .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
89
+ text-anchor: middle;
90
+ }
91
+
92
+ .node .katex path {
93
+ fill: #000;
94
+ stroke: #000;
95
+ stroke-width: 1px;
96
+ }
97
+
98
+ .rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
99
+ text-align: center;
100
+ }
101
+ .node.clickable {
102
+ cursor: pointer;
103
+ }
104
+
105
+
106
+ .root .anchor path {
107
+ fill: ${s.lineColor} !important;
108
+ stroke-width: 0;
109
+ stroke: ${s.lineColor};
110
+ }
111
+
112
+ .arrowheadPath {
113
+ fill: ${s.arrowheadColor};
114
+ }
115
+
116
+ .edgePaths .path {
117
+ stroke: ${s.lineColor};
118
+ stroke-width: ${s.strokeWidth??2}px;
119
+ }
120
+
121
+ .flowchart-link {
122
+ stroke: ${s.lineColor};
123
+ fill: none;
124
+ }
125
+
126
+ .edgeLabel {
127
+ background-color: ${s.edgeLabelBackground};
128
+ p {
129
+ background-color: ${s.edgeLabelBackground};
130
+ }
131
+ rect {
132
+ opacity: 0.5;
133
+ background-color: ${s.edgeLabelBackground};
134
+ fill: ${s.edgeLabelBackground};
135
+ }
136
+ text-align: center;
137
+ }
138
+
139
+ /* For html labels only */
140
+ .labelBkg {
141
+ background-color: ${w1(s.edgeLabelBackground,.5)};
142
+ // background-color:
143
+ }
144
+
145
+ .cluster rect {
146
+ fill: ${s.clusterBkg};
147
+ stroke: ${s.clusterBorder};
148
+ stroke-width: 1px;
149
+ }
150
+
151
+ .cluster text {
152
+ fill: ${s.titleColor};
153
+ }
154
+
155
+ .cluster span {
156
+ color: ${s.titleColor};
157
+ }
158
+ /* .cluster div {
159
+ color: ${s.titleColor};
160
+ } */
161
+
162
+ /* Collapsed subgraph node (@{ view: collapsed }) */
163
+ .node .collapsed-indicator {
164
+ fill: ${s.clusterBorder};
165
+ stroke: none;
166
+ opacity: 0.6;
167
+ }
168
+
169
+ .node .collapsed-separator {
170
+ stroke: ${s.clusterBorder};
171
+ stroke-width: 0.75px;
172
+ }
173
+
174
+ div.mermaidTooltip {
175
+ position: absolute;
176
+ text-align: center;
177
+ max-width: 200px;
178
+ padding: 2px;
179
+ font-family: ${s.fontFamily};
180
+ font-size: 12px;
181
+ background: ${s.tertiaryColor};
182
+ border: 1px solid ${s.border2};
183
+ border-radius: 2px;
184
+ pointer-events: none;
185
+ z-index: 100;
186
+ }
187
+
188
+ .flowchartTitleText {
189
+ text-anchor: middle;
190
+ font-size: 18px;
191
+ fill: ${s.textColor};
192
+ }
193
+
194
+ rect.text {
195
+ fill: none;
196
+ stroke-width: 0;
197
+ }
198
+
199
+ .icon-shape, .image-shape {
200
+ background-color: ${s.edgeLabelBackground};
201
+ p {
202
+ background-color: ${s.edgeLabelBackground};
203
+ padding: 2px;
204
+ }
205
+ .label rect {
206
+ opacity: 0.5;
207
+ background-color: ${s.edgeLabelBackground};
208
+ fill: ${s.edgeLabelBackground};
209
+ }
210
+ text-align: center;
211
+ }
212
+ ${Jt()}
213
+ `,"getStyles"),I1=V1,Kt=C(({styles:s=I1}={})=>({parser:B1,get db(){return new x1},renderer:v1,styles:s,init:C(i=>{i.flowchart||(i.flowchart={}),i.flowchart.arrowMarkerAbsolute=i.arrowMarkerAbsolute,e1({flowchart:{arrowMarkerAbsolute:i.arrowMarkerAbsolute}})},"init")}),"createFlowDiagram"),R1=Kt();const W1=Object.freeze(Object.defineProperty({__proto__:null,createFlowDiagram:Kt,diagram:R1},Symbol.toStringTag,{value:"Module"}));export{Kt as c,W1 as f,I1 as s};