@inkeep/open-knowledge 0.49.0 → 0.49.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 (834) hide show
  1. package/dist/abnfDiagram-VRR7QNED-DWDzSKGM.mjs +2 -0
  2. package/dist/acp-harness-probe-O9BEMpdb.mjs +3 -0
  3. package/dist/alias-JE7RI5QX-BLuOrjl2.mjs +7 -0
  4. package/dist/alias-JE7RI5QX-VxEqWoTW.mjs +1 -0
  5. package/dist/arc-DXUbbcxK.mjs +2 -0
  6. package/dist/architecture-TIHT7OUA-Bl3hpxt3.mjs +1 -0
  7. package/dist/architectureDiagram-ZJ3FMSHR-HYEpY7T3.mjs +37 -0
  8. package/dist/array-BbgQa93P.mjs +2 -0
  9. package/dist/awk2-BBAGSFUB-ClUuupKf.mjs +21 -0
  10. package/dist/awk2-BBAGSFUB-Dq-YdAGA.mjs +1 -0
  11. package/dist/banner-Be20aAVc.mjs +3 -0
  12. package/dist/base64-4YMZCVJ5-CtkujsXK.mjs +6 -0
  13. package/dist/base64-4YMZCVJ5-dXz6vbV-.mjs +1 -0
  14. package/dist/basename-AA2KJYZQ-BhoOTAHi.mjs +1 -0
  15. package/dist/basename-AA2KJYZQ-CEdH80GO.mjs +6 -0
  16. package/dist/bash-IJWYRKFO-BDtU-lTC.mjs +6 -0
  17. package/dist/bash-IJWYRKFO-jaJEvAZe.mjs +1 -0
  18. package/dist/blockDiagram-677ZJIJ3-yJugV29e.mjs +133 -0
  19. package/dist/c4Diagram-LMCZKHZV-BFQQLctA.mjs +11 -0
  20. package/dist/cat-RDUMLXKC-D1H4LA3Z.mjs +6 -0
  21. package/dist/cat-RDUMLXKC-DFuXWxVq.mjs +1 -0
  22. package/dist/channel-Cjp51EO_.mjs +2 -0
  23. package/dist/chmod-SYMGL4JA-ByMUk130.mjs +1 -0
  24. package/dist/chmod-SYMGL4JA-lEGJICyB.mjs +8 -0
  25. package/dist/chokidar-dh8zokRd.mjs +4 -0
  26. package/dist/chunk-24IMIIXA-RjlBWJtr.mjs +2 -0
  27. package/dist/chunk-2Q5K7J3B-Ck8oGqYt.mjs +2 -0
  28. package/dist/chunk-2TRDZQLB-AH-I_6yN.mjs +18 -0
  29. package/dist/chunk-2TRDZQLB-ZoW1EBbl.mjs +18 -0
  30. package/dist/chunk-32BRIVSS-Dwq69mnI.mjs +2 -0
  31. package/dist/chunk-3BS5SKQH-DpdUzS0R.mjs +140 -0
  32. package/dist/chunk-3H6UQG3A-BWCaN15a.mjs +9 -0
  33. package/dist/chunk-3THT3N7L-DYkTD3HD.mjs +2 -0
  34. package/dist/chunk-3ZUFRYJ4-H1A1hWy1.mjs +2 -0
  35. package/dist/chunk-3ZUFRYJ4-ekaYB_vG.mjs +2 -0
  36. package/dist/chunk-44UOCSGV-D1FZHMOP.mjs +2 -0
  37. package/dist/chunk-4GTNDTRF-Cx89i2Y1.mjs +8 -0
  38. package/dist/chunk-4HHKTUW3-Dk2l1S8J.mjs +3 -0
  39. package/dist/chunk-4Q4SM6WR-CGuvvBWe.mjs +5 -0
  40. package/dist/chunk-52WLFC77-Cn-qt8h-.mjs +11 -0
  41. package/dist/chunk-55VFSPNA-D2U7n2ka.mjs +3 -0
  42. package/dist/chunk-5FCAYU7R-DszODYLe.mjs +2 -0
  43. package/dist/chunk-5HE753X5-DDnyF29o.mjs +2 -0
  44. package/dist/chunk-5JV3BV7I-BkeVAZnj.mjs +2 -0
  45. package/dist/chunk-5QMZ5MUS-C5NTf5Rj.mjs +5 -0
  46. package/dist/chunk-5QVNJEHU-DS9zA_YV.mjs +9 -0
  47. package/dist/chunk-5TONJI2A-CzUNHQPX.mjs +3 -0
  48. package/dist/chunk-5V6VZH6T-DBFenjXz.mjs +2 -0
  49. package/dist/chunk-5VM5RSS4-C8vNNqW0.mjs +16 -0
  50. package/dist/chunk-62RKD26F-C4qK_fA-.mjs +21 -0
  51. package/dist/chunk-64BAICW3-BupSxcu5.mjs +2 -0
  52. package/dist/chunk-6Z5SFZXK-Cz0C4bhB.mjs +288 -0
  53. package/dist/chunk-74CEPOFO-BUVWiXkJ.mjs +23 -0
  54. package/dist/chunk-74CEPOFO-BYrCYxKO.mjs +23 -0
  55. package/dist/chunk-7BUUIJ7U-D7hE25H9.mjs +2 -0
  56. package/dist/chunk-7L36YK2X-CGwYuotX.mjs +3 -0
  57. package/dist/chunk-7L36YK2X-DAp-upAs.mjs +3 -0
  58. package/dist/chunk-7TSDKFEO-CE_P23TY.mjs +2 -0
  59. package/dist/chunk-7TSDKFEO-DBB10vPw.mjs +2 -0
  60. package/dist/chunk-A4HU7SVR-BZJ8xDMo.mjs +3 -0
  61. package/dist/chunk-A4JSPFCI-Dej71yGP.mjs +7 -0
  62. package/dist/chunk-A5O5YHGN-CczwCZ4d.mjs +2 -0
  63. package/dist/chunk-A65PWWJC-C-0S-s_f.mjs +3 -0
  64. package/dist/chunk-A7A2DBEE-DCXJ1xmx.mjs +7 -0
  65. package/dist/chunk-A7ICOL4V-BQZ9JZ1A.mjs +14 -0
  66. package/dist/chunk-ALLTKNUZ-D2ZOfcEz.mjs +6 -0
  67. package/dist/chunk-APT7OOP2-D-DaFB7K.mjs +2 -0
  68. package/dist/chunk-B74TABJS-BJwhrR8a.mjs +34 -0
  69. package/dist/chunk-BIQX33UG-Bmho6v3L.mjs +2 -0
  70. package/dist/chunk-C7G6YPKG-BAX_SClW.mjs +2 -0
  71. package/dist/chunk-CQNSW5MT-FekKjn0i.mjs +2 -0
  72. package/dist/chunk-CWQS3NFK-CcBWgb8o.mjs +2 -0
  73. package/dist/chunk-CYSBUYHQ-BftsYwRW.mjs +2 -0
  74. package/dist/chunk-D4J545R4-Br_5qOnE.mjs +12 -0
  75. package/dist/chunk-D6CWQ5DW-3AWPydfx.mjs +6 -0
  76. package/dist/chunk-D7MEQ3VN-Df6An2jd.mjs +5 -0
  77. package/dist/chunk-DBKNVD4L-B3hX287s.mjs +10 -0
  78. package/dist/chunk-DBKNVD4L-DNQP2COw.mjs +10 -0
  79. package/dist/chunk-DCAAORBQ-BDLVpBG2.mjs +2 -0
  80. package/dist/chunk-DHbaKqs-.mjs +1 -0
  81. package/dist/chunk-DXB73IDG-BBwE27jK.mjs +2 -0
  82. package/dist/chunk-EEXR5ZDP-CE452hsE.mjs +3 -0
  83. package/dist/chunk-EEXR5ZDP-Df-EPnbj.mjs +3 -0
  84. package/dist/chunk-EIZGF4BS-86nrMkyt.mjs +9 -0
  85. package/dist/chunk-EIZGF4BS-CSFp0aUh.mjs +9 -0
  86. package/dist/chunk-EMLP6XTP-C2yfLzVC.mjs +2 -0
  87. package/dist/chunk-EX3LRPZG-Chp9b-Lc.mjs +232 -0
  88. package/dist/chunk-F23WWYKW-qKke1WqP.mjs +17 -0
  89. package/dist/chunk-FWX5IMBZ-Cn1xNcn5.mjs +2 -0
  90. package/dist/chunk-GCTKCWKD-D0obXRun.mjs +4 -0
  91. package/dist/chunk-GFQRA5P5-XqPO4cim.mjs +3 -0
  92. package/dist/chunk-GOV5EKKI-CDovwI7Z.mjs +10 -0
  93. package/dist/chunk-GXVXFKBA-D-BGCybM.mjs +6 -0
  94. package/dist/chunk-HDQ56CKY-CI8IkhlS.mjs +16 -0
  95. package/dist/chunk-HDQ56CKY-Pa-7c4rC.mjs +16 -0
  96. package/dist/chunk-HJQJAYMS-BHzb4Ncl.mjs +3 -0
  97. package/dist/chunk-HJWBQKYG-B-KESSoV.mjs +6 -0
  98. package/dist/chunk-HKLCLINH-Bgw53oZd.mjs +63 -0
  99. package/dist/chunk-HL6NGDO2-CftrHAlX.mjs +24 -0
  100. package/dist/chunk-HOUHSVGY-C3h3PdhC.mjs +2 -0
  101. package/dist/chunk-HWKDQ44K-CGcvROg-.mjs +4 -0
  102. package/dist/chunk-HWKDQ44K-D3ZbaPl8.mjs +4 -0
  103. package/dist/chunk-I57KEIP3-_HYA-njf.mjs +11 -0
  104. package/dist/chunk-I57KEIP3-iiTO2OC-.mjs +11 -0
  105. package/dist/chunk-ICXQ74PX-DbJy3VdO.mjs +3 -0
  106. package/dist/chunk-IPJHKYVM-3ANqAo3C.mjs +2 -0
  107. package/dist/chunk-JG7HCLWE-lUInQ_44.mjs +3 -0
  108. package/dist/chunk-JVPRLUMK-FzUEFQw9.mjs +8 -0
  109. package/dist/chunk-JWPE2WC7-iDbhfJR-.mjs +2 -0
  110. package/dist/chunk-K6LIBGJA-BXxOXTjI.mjs +12 -0
  111. package/dist/chunk-KEIR6QF5-BLwvtFl6.mjs +176 -0
  112. package/dist/chunk-KMEYNNUA-1KiUKBQV.mjs +16 -0
  113. package/dist/chunk-KRBPSX3W-DeaaVEij.mjs +6 -0
  114. package/dist/chunk-KRBPSX3W-YDdgrCmf.mjs +6 -0
  115. package/dist/chunk-LL3S3NLB-D0lLKwVi.mjs +2 -0
  116. package/dist/chunk-LTZRCH7N-DpPs5vSq.mjs +32 -0
  117. package/dist/chunk-LWEGUNWT-DOK-XWMd.mjs +8 -0
  118. package/dist/chunk-MDDMCKUK-CTA6qEdN.mjs +7 -0
  119. package/dist/chunk-MDLLFABN-B2tA3LLA.mjs +73 -0
  120. package/dist/chunk-MHTUABJP-CrR3MfDw.mjs +9 -0
  121. package/dist/chunk-MIZPJHVH-d3bhRfh4.mjs +8 -0
  122. package/dist/chunk-MLXIYONF-C0S_CKb1.mjs +16 -0
  123. package/dist/chunk-MOJQB5TN-CUt4IiNv.mjs +89 -0
  124. package/dist/chunk-MOZMSUNE-DCxwDKn7.mjs +2 -0
  125. package/dist/chunk-MYE6AGBJ-CMoRJzYM.mjs +17 -0
  126. package/dist/chunk-NAERJDUW-Ck-SZ2Ps.mjs +9 -0
  127. package/dist/chunk-NCNPKYJZ-BxqfYu6d.mjs +3 -0
  128. package/dist/chunk-NUYSJFDK-DfaBzW-k.mjs +8 -0
  129. package/dist/chunk-OCLXQMOG-DC3689MV.mjs +7 -0
  130. package/dist/chunk-OCS6LSEM-BY3_3dNt.mjs +14 -0
  131. package/dist/chunk-OGEWGWER-DgPAesMA.mjs +2 -0
  132. package/dist/chunk-OJDRYQWQ-B9KRyRFZ.mjs +2 -0
  133. package/dist/chunk-OSBZ3O6U-BVpvamr7.mjs +2 -0
  134. package/dist/chunk-PBXLG62G-C12xrBbG.mjs +9 -0
  135. package/dist/chunk-PP6PSHAB-tlM6YKyg.mjs +5 -0
  136. package/dist/chunk-PUDLZKDR-CIWYIjrF.mjs +157 -0
  137. package/dist/chunk-PXTK5WE2-DNbfUrIy.mjs +22 -0
  138. package/dist/chunk-PXTK5WE2-e9kxtsgu.mjs +22 -0
  139. package/dist/chunk-PYSFUGCK-DqdcBhD4.mjs +11 -0
  140. package/dist/chunk-Q4XR5HBZ-jWirJQsj.mjs +71 -0
  141. package/dist/chunk-QBLGF6JB-hMrl9lGc.mjs +2 -0
  142. package/dist/chunk-QCDB2VPH-Cv7mIZWG.mjs +7 -0
  143. package/dist/chunk-QJ7O6ZN3-BRN048sn.mjs +6 -0
  144. package/dist/chunk-R6QSAL5T-CxzbKF59.mjs +2 -0
  145. package/dist/chunk-R6VWJ2ZL-DmUcUF0z.mjs +2 -0
  146. package/dist/chunk-R7FJI6CG-bmCS8vOS.mjs +2 -0
  147. package/dist/chunk-RPNGRAAP-BTpXCNpb.mjs +8 -0
  148. package/dist/chunk-RYQCIY6F-Dt7I2-Oy.mjs +2 -0
  149. package/dist/chunk-SDNKECQQ-BNRfy-15.mjs +6 -0
  150. package/dist/chunk-SNN4IESC-CZPQ88bY.mjs +2 -0
  151. package/dist/chunk-SNN4IESC-oXVGT9qo.mjs +2 -0
  152. package/dist/chunk-T56QNPHK-lY6QjpkL.mjs +15 -0
  153. package/dist/chunk-TLSUDHID-BP7dARSe.mjs +7 -0
  154. package/dist/chunk-TOMNU26N-BFsBBT9j.mjs +5 -0
  155. package/dist/chunk-TP4BZANS-C6KGxaUf.mjs +21 -0
  156. package/dist/chunk-TXBZCHCQ-DxPX5PCF.mjs +6 -0
  157. package/dist/chunk-U6XO7XAA-BHty90wb.mjs +3 -0
  158. package/dist/chunk-V5MWI2OL-DApVl_z4.mjs +5 -0
  159. package/dist/chunk-V7JOEXUC-DNM56rwe.mjs +207 -0
  160. package/dist/chunk-V7TAPXDL-CrGsULIH.mjs +28 -0
  161. package/dist/chunk-VAUOI2AC-BdotBBDE.mjs +2 -0
  162. package/dist/chunk-VJFXDYWH-DXnppZsu.mjs +11 -0
  163. package/dist/chunk-VOBGTVA6-_4QbVbSJ.mjs +7 -0
  164. package/dist/chunk-VR4S4FIN-RUJ5PgRH.mjs +2 -0
  165. package/dist/chunk-VYOJP4TV-DG_cm0JM.mjs +14 -0
  166. package/dist/chunk-WKFATFPP-DygaP6No.mjs +5 -0
  167. package/dist/chunk-WYO6CB5R-DN1R0VLx.mjs +130 -0
  168. package/dist/chunk-X2AJGDEF-BXjUENXL.mjs +2 -0
  169. package/dist/chunk-X2AJGDEF-ivzQBp_p.mjs +2 -0
  170. package/dist/chunk-XKQRETAK-CYJSOFLN.mjs +2 -0
  171. package/dist/chunk-XKWWSDBF-BTj39eCO.mjs +37 -0
  172. package/dist/chunk-XVDPCNWR-BSVT7Ttz.mjs +12 -0
  173. package/dist/chunk-XXDRQBXY-D1gFTzjI.mjs +2 -0
  174. package/dist/chunk-Y2CYZVJY-acXC9Sbb.mjs +2 -0
  175. package/dist/chunk-YMMW5UAP-CE-EQ2Is.mjs +33 -0
  176. package/dist/chunk-YOTPTUD7-63S9b4Z2.mjs +2 -0
  177. package/dist/chunk-YTNYSM6T-DFPh_641.mjs +12 -0
  178. package/dist/chunk-YULBWSET-B6FKJjk9.mjs +14 -0
  179. package/dist/chunk-Z6LRHWXI-BCgawaNX.mjs +14 -0
  180. package/dist/chunk-Z7JVV2SM-CTUpikzI.mjs +12 -0
  181. package/dist/chunk-ZGVPDNZ5-CyyHBEs2.mjs +63 -0
  182. package/dist/chunk-ZIRB5QZD-K23GvNu-.mjs +39 -0
  183. package/dist/chunk-ZZO3UDB3-MiEiJy8J.mjs +100 -0
  184. package/dist/classDiagram-OUVF2IWQ-0ApI9cDS.mjs +2 -0
  185. package/dist/classDiagram-v2-EOCWNBFH-DfQYJWNe.mjs +2 -0
  186. package/dist/clear-5CZ5X4YR-9EZyt4MH.mjs +2 -0
  187. package/dist/clear-5CZ5X4YR-BICGLF_r.mjs +1 -0
  188. package/dist/cli.mjs +22 -22
  189. package/dist/column-WLPMMSTS-D0I9TpQ2.mjs +1 -0
  190. package/dist/column-WLPMMSTS-Do8HgL6q.mjs +8 -0
  191. package/dist/comm-5SLSESQG-0igXzBnl.mjs +12 -0
  192. package/dist/comm-5SLSESQG-D2Rs9Jmo.mjs +1 -0
  193. package/dist/constants-C3InsrBS.mjs +2 -0
  194. package/dist/cose-bilkent-JH36ORCC-B1gjUwU3.mjs +2 -0
  195. package/dist/cp-XOYR4ABJ-CpnwcT2f.mjs +8 -0
  196. package/dist/cp-XOYR4ABJ-OfwEEWhR.mjs +1 -0
  197. package/dist/curl-47BFPSFW-Ko1BcK_R.mjs +26 -0
  198. package/dist/cut-OPC3VAGB-BAhJz0Qh.mjs +1 -0
  199. package/dist/cut-OPC3VAGB-nJAw1cEp.mjs +6 -0
  200. package/dist/cynefin-VYW2F7L2-C-aICrN-.mjs +1 -0
  201. package/dist/cynefinDiagram-TSTJHNR4-CoESbhp4.mjs +63 -0
  202. package/dist/cytoscape.esm-D6l9Lhue.mjs +332 -0
  203. package/dist/dagre-BkPA5x_w.mjs +2 -0
  204. package/dist/dagre-VKFMJZFB-BhCtWAkc.mjs +5 -0
  205. package/dist/date-DD7FVA2V-BGJ9-l0O.mjs +1 -0
  206. package/dist/date-DD7FVA2V-W_sbdO4n.mjs +5 -0
  207. package/dist/defaultLocale-DN4qDyCE.mjs +2 -0
  208. package/dist/diagram-FQU43EPY-BdshpOzp.mjs +4 -0
  209. package/dist/diagram-G47NLZAW-Lw1fB9_w.mjs +25 -0
  210. package/dist/diagram-NH7WQ7WH-DnzwFaQq.mjs +25 -0
  211. package/dist/diagram-OA4YK3LP-BXU-URV1.mjs +31 -0
  212. package/dist/diagram-WEI45ONY-CD_Zpcvk.mjs +42 -0
  213. package/dist/diff-HJF2MPDN-CQAaA8lM.mjs +1 -0
  214. package/dist/diff-HJF2MPDN-EjmLU95d.mjs +7 -0
  215. package/dist/dirname-LEMTZZFS-BG01-R4_.mjs +1 -0
  216. package/dist/dirname-LEMTZZFS-Dg3ijqjM.mjs +5 -0
  217. package/dist/dist-CMZz8-Ge.mjs +2 -0
  218. package/dist/du-WO2ENHXQ-jqWYqk_n.mjs +8 -0
  219. package/dist/du-WO2ENHXQ-oQRVbsEF.mjs +1 -0
  220. package/dist/ebnfDiagram-CCIWWBDH-D-647A1u.mjs +2 -0
  221. package/dist/echo-O45JWWI2-BPosfKdD.mjs +1 -0
  222. package/dist/echo-O45JWWI2-gk6mEMAU.mjs +4 -0
  223. package/dist/env-5EPCWSXR-BU5zTNDV.mjs +9 -0
  224. package/dist/env-5EPCWSXR-DygzVPiG.mjs +1 -0
  225. package/dist/erDiagram-Q63AITRT-DviwoNdm.mjs +86 -0
  226. package/dist/eventmodeling-45OFAUF4-CJqJ2hnR.mjs +1 -0
  227. package/dist/execAsync-BLKHjfg7.mjs +2 -0
  228. package/dist/execAsync-C5ympCkf.mjs +2 -0
  229. package/dist/expand-DTNXU4LQ-D2bEx87V.mjs +11 -0
  230. package/dist/expand-DTNXU4LQ-XU44HrWp.mjs +1 -0
  231. package/dist/expr-YYCVMXE3-DI2glLwn.mjs +1 -0
  232. package/dist/expr-YYCVMXE3-wI0boF3e.mjs +5 -0
  233. package/dist/file-IGDTDPLG-DkYMcmTl.mjs +24 -0
  234. package/dist/file-IGDTDPLG-sPfWVy9T.mjs +1 -0
  235. package/dist/find-DH2ALKQS-B6bMjuwo.mjs +12 -0
  236. package/dist/find-DH2ALKQS-CEKaRkgJ.mjs +1 -0
  237. package/dist/flag-coverage-6JEX67RU-QmoBigPs.mjs +2 -0
  238. package/dist/flowDiagram-23GEKE2U-Dhi3SNHm.mjs +1 -0
  239. package/dist/fold-LDSORVYE-Dhx0k6vg.mjs +12 -0
  240. package/dist/fold-LDSORVYE-DumfsCQO.mjs +1 -0
  241. package/dist/fs-traced-DVpoNaQJ.mjs +12 -0
  242. package/dist/fs-traced-_QGcVmcb.mjs +1 -0
  243. package/dist/ganttDiagram-NO4QXBWP-DnN5cTGV.mjs +293 -0
  244. package/dist/getMachineId-bsd-B_NuwbXS.mjs +2 -0
  245. package/dist/getMachineId-bsd-neTWr-l3.mjs +2 -0
  246. package/dist/getMachineId-darwin-BP4aVKkL.mjs +3 -0
  247. package/dist/getMachineId-darwin-DKDl-xYO.mjs +3 -0
  248. package/dist/getMachineId-linux-Bexb2iRT.mjs +2 -0
  249. package/dist/getMachineId-linux-YTb5epZX.mjs +2 -0
  250. package/dist/getMachineId-unsupported-Ddv20ynQ.mjs +2 -0
  251. package/dist/getMachineId-unsupported-DdwXS_Q3.mjs +2 -0
  252. package/dist/getMachineId-win-BNx0EbPq.mjs +2 -0
  253. package/dist/getMachineId-win-D8cNuBNk.mjs +2 -0
  254. package/dist/git-handle-DBSzQutT.mjs +1 -0
  255. package/dist/git-handle-r3d7s3VF.mjs +10 -0
  256. package/dist/gitGraph-TEB2WS4Q-_V7TMkJv.mjs +1 -0
  257. package/dist/gitGraphDiagram-IHSO6WYX-Bs2N855t.mjs +107 -0
  258. package/dist/graphlib-DXQPHTiH.mjs +2 -0
  259. package/dist/grep-2HUTXO5U-9G7xEEms.mjs +9 -0
  260. package/dist/grep-2HUTXO5U-DG5Ulinc.mjs +1 -0
  261. package/dist/gzip-AQXSGOVS-BcGYw5wM.mjs +32 -0
  262. package/dist/gzip-AQXSGOVS-D6UYmM0C.mjs +1 -0
  263. package/dist/head-HT2B6D2J-B5ybc-my.mjs +2 -0
  264. package/dist/head-HT2B6D2J-CHIR76LI.mjs +1 -0
  265. package/dist/help-VVWX7SA5-Bb8T3djf.mjs +16 -0
  266. package/dist/help-VVWX7SA5-BbK0QLPX.mjs +1 -0
  267. package/dist/history-J4QRNGRO-5XgHJL_Q.mjs +1 -0
  268. package/dist/history-J4QRNGRO-DesXbqi2.mjs +3 -0
  269. package/dist/hostname-BK6HG2DE-Clwz043m.mjs +1 -0
  270. package/dist/hostname-BK6HG2DE-DTiGP5th.mjs +3 -0
  271. package/dist/html-to-markdown-TFCECAGV-BsVwcc4T.mjs +1 -0
  272. package/dist/html-to-markdown-TFCECAGV-DLUGt6pW.mjs +73 -0
  273. package/dist/index.d.mts +6867 -242
  274. package/dist/index.mjs +1521 -1
  275. package/dist/info-DKCQHKI2-DIsEz1l_.mjs +1 -0
  276. package/dist/infoDiagram-FWYZ7A6U-CD5T72Pd.mjs +3 -0
  277. package/dist/init-Cg1MczGq.mjs +638 -0
  278. package/dist/init-D8OKme52.mjs +2 -0
  279. package/dist/init-DnqdKHDS.mjs +1 -0
  280. package/dist/ishikawaDiagram-FXEZZL3T-CzHEtbdq.mjs +71 -0
  281. package/dist/join-GG2LDHE5-7k4Syl20.mjs +14 -0
  282. package/dist/join-GG2LDHE5-BIH_-8vD.mjs +1 -0
  283. package/dist/journeyDiagram-5HDEW3XC-BywkQV2b.mjs +140 -0
  284. package/dist/jq-LYZFFBZB-BZ4XP29I.mjs +14 -0
  285. package/dist/jq-LYZFFBZB-Dlyx6Y7w.mjs +1 -0
  286. package/dist/js-exec-VXN6TZ7U-BrugyKqi.mjs +97 -0
  287. package/dist/js-exec-VXN6TZ7U-Ds5SsewK.mjs +97 -0
  288. package/dist/kanban-definition-HUTT4EX6-DIgH0tMg.mjs +90 -0
  289. package/dist/launch-json-removal-DFF5AXyX.mjs +2 -0
  290. package/dist/lib-B2tLN_O_.mjs +2 -0
  291. package/dist/lib-DuDqLKFD.mjs +195 -0
  292. package/dist/lib-ozx_WsjS.mjs +2 -0
  293. package/dist/libesm-qUf-Au5c.mjs +14 -0
  294. package/dist/line-eTDW_zUy.mjs +2 -0
  295. package/dist/linear-Cn1royVQ.mjs +2 -0
  296. package/dist/ln-4TRFBYAT-B0hi-FAf.mjs +1 -0
  297. package/dist/ln-4TRFBYAT-DGrhTL40.mjs +9 -0
  298. package/dist/loader-4hXM3EID.mjs +1 -0
  299. package/dist/loader-CJynt8EV.mjs +2 -0
  300. package/dist/logger-DFxEUjvj.mjs +39 -0
  301. package/dist/ls-KSXFZCWH-C_kbnNdU.mjs +1 -0
  302. package/dist/ls-KSXFZCWH-GOWXktO9.mjs +28 -0
  303. package/dist/lzma-CD6C2vYw.mjs +2 -0
  304. package/dist/lzma-CG6o9sq-.mjs +2 -0
  305. package/dist/map-bDB3k8vA.mjs +2 -0
  306. package/dist/md-manager-BbSzMHHE.mjs +2 -0
  307. package/dist/md5sum-INMIK4DX-BlgGpdCD.mjs +2 -0
  308. package/dist/md5sum-INMIK4DX-DGvi_A-E.mjs +1 -0
  309. package/dist/mermaid-parser.core-uwQfwzUX.mjs +4 -0
  310. package/dist/mermaid.core-BgpKViY0.mjs +16 -0
  311. package/dist/mindmap-definition-LN4V7U3C-H3p7uT-G.mjs +97 -0
  312. package/dist/mkdir-TDEMSB6C-BVcgITXm.mjs +7 -0
  313. package/dist/mkdir-TDEMSB6C-CMOt1jIT.mjs +1 -0
  314. package/dist/mv-Z6MORUFL-CqyCV_Ze.mjs +1 -0
  315. package/dist/mv-Z6MORUFL-El0zMsEA.mjs +7 -0
  316. package/dist/nl-U5YJDM32-BO1kUpkn.mjs +1 -0
  317. package/dist/nl-U5YJDM32-Y_hGSMac.mjs +17 -0
  318. package/dist/od-VJEF2UR5-CueTpZ68.mjs +5 -0
  319. package/dist/od-VJEF2UR5-DxUGtlve.mjs +1 -0
  320. package/dist/open-browser-BgReR_t5.mjs +2 -0
  321. package/dist/ordinal-BFK2XMXf.mjs +2 -0
  322. package/dist/packet-7NZHBO7P-B64OS2eJ.mjs +1 -0
  323. package/dist/parse-worker.d.mts +6626 -1
  324. package/dist/parse-worker.mjs +1 -1
  325. package/dist/paste-7N6AFSDS-BJHZcYXH.mjs +1 -0
  326. package/dist/paste-7N6AFSDS-BnqApCW_.mjs +8 -0
  327. package/dist/path-CIoCsClp.mjs +2 -0
  328. package/dist/pegDiagram-2B236MQR-PBU61CXk.mjs +2 -0
  329. package/dist/pie-RZYD4A2V-B313HDTA.mjs +1 -0
  330. package/dist/pieDiagram-ENE6RG2P-ClZWrO6e.mjs +40 -0
  331. package/dist/preview-BnqROnAm.mjs +1 -0
  332. package/dist/preview-Dnob-x-p.mjs +3 -0
  333. package/dist/printf-CX64KX2P-841sNxew.mjs +1 -0
  334. package/dist/printf-CX64KX2P-B_vWcqAL.mjs +15 -0
  335. package/dist/public/assets/ActivityModeContent-H-D1VX7m.js +1 -0
  336. package/dist/public/assets/AgentDiffPane-B-gK5PsE.js +2 -0
  337. package/dist/public/assets/ChangedOutsideBadge-D741mWRP.js +1 -0
  338. package/dist/public/assets/DocumentContext-CIVf31K9.js +38 -0
  339. package/dist/public/assets/FeedbackForm-YmqhKCxZ.js +1 -0
  340. package/dist/public/assets/ImportSkillDialog-DQBS4ypC.js +1 -0
  341. package/dist/public/assets/ManagedArtifactProperties-CE_UbtEZ.js +1 -0
  342. package/dist/public/assets/ManagedArtifactProperties-CawqG1nH.js +2 -0
  343. package/dist/public/assets/SessionsHost-Bp7gQA1o.js +2 -0
  344. package/dist/public/assets/SettingsDialogBody-BLpulm10.js +12 -0
  345. package/dist/public/assets/SkillToolbarControls-oKXEehFt.js +1 -0
  346. package/dist/public/assets/SourceEditor-C6NdTjpn.js +1 -0
  347. package/dist/public/assets/TerminalWindowApp-DDnvJYMu.js +1 -0
  348. package/dist/public/assets/ThreadView-CGjBIs53.js +10 -0
  349. package/dist/public/assets/TimelineDiffPane-BWfU5B2x.js +2 -0
  350. package/dist/public/assets/agent-diff-store-CwO6mhOq.js +1 -0
  351. package/dist/public/assets/auth-state-cache-BBgW3LTD.js +11 -0
  352. package/dist/public/assets/comment-chips-h8GZFVHH.js +5 -0
  353. package/dist/public/assets/follow-file-CJHokzM7.js +1 -0
  354. package/dist/public/assets/index-B6VepqFk.js +2097 -0
  355. package/dist/public/assets/selection-context-iNNNmmJS.js +4 -0
  356. package/dist/public/assets/skill-actions-8q8e7e5S.js +2 -0
  357. package/dist/public/assets/typing-burst-detector-D_ygX_hf.js +8 -0
  358. package/dist/public/assets/use-activity-panel-pkBl8bMj.js +1 -0
  359. package/dist/public/assets/use-open-skill-Mk41LRxd.js +1 -0
  360. package/dist/public/assets/use-skill-directory-Dzvfx2id.js +1 -0
  361. package/dist/public/assets/use-timeline-entry-diff-Dk10Z55V.js +6 -0
  362. package/dist/public/index.html +13 -13
  363. package/dist/pwd-D4OZ7N27-C41v1g3B.mjs +1 -0
  364. package/dist/pwd-D4OZ7N27-NYST_A3S.mjs +3 -0
  365. package/dist/python3-DNGS4G3E-DaBJervu.mjs +12 -0
  366. package/dist/python3-DNGS4G3E-OzxoFG34.mjs +12 -0
  367. package/dist/quadrantDiagram-ABIIQ3AL-Z4PbVL1N.mjs +8 -0
  368. package/dist/radar-I7S5WNFK-BdiwGd2_.mjs +1 -0
  369. package/dist/railroad-3IZDKUUU-O4nBw7jb.mjs +1 -0
  370. package/dist/railroad-abnf-AHOZXSZD-CDaO5Dcu.mjs +1 -0
  371. package/dist/railroad-ebnf-EBAXGLYW-CS4l_gpR.mjs +1 -0
  372. package/dist/railroad-peg-LSFZ7HO6-bbLhALeS.mjs +1 -0
  373. package/dist/railroadDiagram-RFXS5EU6-ZSRYpY_p.mjs +2 -0
  374. package/dist/readlink-MI4GCHJF-CQlQ03aa.mjs +1 -0
  375. package/dist/readlink-MI4GCHJF-Dl1Uxmrf.mjs +6 -0
  376. package/dist/repair-launch-json-DF-pHfel.mjs +2 -0
  377. package/dist/repair-mcp-configs-Cr9jCNwk.mjs +2 -0
  378. package/dist/repair-skills-DADI6iaT.mjs +4 -0
  379. package/dist/repair-skills-DKwDAoHc.mjs +1 -0
  380. package/dist/requirementDiagram-TGXJPOKE-H6OWjjJE.mjs +85 -0
  381. package/dist/rev-XOSYPP45-BYe7prl1.mjs +1 -0
  382. package/dist/rev-XOSYPP45-D6eJxPKd.mjs +7 -0
  383. package/dist/rg-XNF3R3II-CmxxmmUf.mjs +1 -0
  384. package/dist/rg-XNF3R3II-vKB7djPZ.mjs +33 -0
  385. package/dist/rm-RTZG23RL-Bl5s9ltJ.mjs +1 -0
  386. package/dist/rm-RTZG23RL-sCMTtbxP.mjs +8 -0
  387. package/dist/rmdir-XTQXT7RK-C1ccje2_.mjs +1 -0
  388. package/dist/rmdir-XTQXT7RK-DZfv6Zfz.mjs +14 -0
  389. package/dist/rough.cjs-BGkc0Naf.mjs +2 -0
  390. package/dist/sankeyDiagram-HTMAVEWB-CtBVJJox.mjs +41 -0
  391. package/dist/sed-JAPPVBEU-C7wh6RxT.mjs +100 -0
  392. package/dist/sed-JAPPVBEU-D9bYEx2I.mjs +1 -0
  393. package/dist/seq-RN5ZUASB-CFySG-xk.mjs +1 -0
  394. package/dist/seq-RN5ZUASB-R5HjEVux.mjs +7 -0
  395. package/dist/sequenceDiagram-DBY2YBRQ-DDLm4Ak_.mjs +163 -0
  396. package/dist/server-lock-U8YDpJpq.mjs +1 -0
  397. package/dist/server-lock-aXnDVUI8.mjs +2 -0
  398. package/dist/sha1sum-VJPNLNU6-DfzpfxJ-.mjs +2 -0
  399. package/dist/sha1sum-VJPNLNU6-DgLJCjAg.mjs +1 -0
  400. package/dist/sha256sum-PI32XWXY-DZ42pgY3.mjs +1 -0
  401. package/dist/sha256sum-PI32XWXY-DrKtnAPK.mjs +2 -0
  402. package/dist/sizeCapture-X5ZJPWSS-Izaz24Pi.mjs +2 -0
  403. package/dist/skill-teardown-onVYT1VF.mjs +2 -0
  404. package/dist/sleep-VZFPZFWA-5fZFI3Vy.mjs +1 -0
  405. package/dist/sleep-VZFPZFWA-CBARUnrz.mjs +10 -0
  406. package/dist/sort-DCNRDA7U-RFl0HYBr.mjs +1 -0
  407. package/dist/sort-DCNRDA7U-vT57Mw8o.mjs +16 -0
  408. package/dist/split-SITCSYCZ-BdATfTxU.mjs +1 -0
  409. package/dist/split-SITCSYCZ-Ci_IfVPT.mjs +17 -0
  410. package/dist/sqlite3-TE5AIOTF-BIRMe0xz.mjs +1 -0
  411. package/dist/sqlite3-TE5AIOTF-BhXSdz7U.mjs +37 -0
  412. package/dist/src-BPVU4Y0o.mjs +2 -0
  413. package/dist/src-BmS3oGY4.mjs +1 -0
  414. package/dist/src-Dt5dAyFQ.mjs +2032 -0
  415. package/dist/src-TKCctdpc.mjs +348 -0
  416. package/dist/src-cRpQSbXB.mjs +1 -0
  417. package/dist/src-pUQbXiSN.mjs +20 -0
  418. package/dist/start-DQdc8wXO.mjs +4 -0
  419. package/dist/start-XIVqnuqY.mjs +1 -0
  420. package/dist/stat-BT5A227F-CEZPXJ9_.mjs +9 -0
  421. package/dist/stat-BT5A227F-Dd-OyLQQ.mjs +1 -0
  422. package/dist/stateDiagram-2N3HPSRC-pAn2bDnn.mjs +2 -0
  423. package/dist/stateDiagram-v2-6OUMAXLB-DCmVVpGm.mjs +2 -0
  424. package/dist/strings-7PLOGTPD-CiVw0Uh4.mjs +14 -0
  425. package/dist/strings-7PLOGTPD-v3qEuUEm.mjs +1 -0
  426. package/dist/swimlanes-5IMT3BWC-nSsjdSnj.mjs +2 -0
  427. package/dist/swimlanesDiagram-G3AALYLV-CdQlHesp.mjs +9 -0
  428. package/dist/tac-SJGXQ4T2-BL4Xd7y6.mjs +9 -0
  429. package/dist/tac-SJGXQ4T2-DphHfCAY.mjs +1 -0
  430. package/dist/tail-S5ULNTJU-Cfa1pDQZ.mjs +2 -0
  431. package/dist/tail-S5ULNTJU-D6qRQZwV.mjs +1 -0
  432. package/dist/tar-MZQD7NO4-HJsWmzu9.mjs +63 -0
  433. package/dist/tar-MZQD7NO4-oAQoyk28.mjs +1 -0
  434. package/dist/tee-O7VXZDCO-D95l5L5Z.mjs +3 -0
  435. package/dist/tee-O7VXZDCO-odVO6Wjw.mjs +1 -0
  436. package/dist/time-DEUO3QV2-CviQF55F.mjs +1 -0
  437. package/dist/time-DEUO3QV2-DwnT4FOS.mjs +14 -0
  438. package/dist/timeline-definition-FHXFAJF6-CnTXJoEq.mjs +121 -0
  439. package/dist/timeout-VRKMCG72-DFU5EkCe.mjs +12 -0
  440. package/dist/timeout-VRKMCG72-jeMAkAMc.mjs +1 -0
  441. package/dist/touch-DX2IJOQ4-CRX6GYeb.mjs +7 -0
  442. package/dist/touch-DX2IJOQ4-CyiMRd7b.mjs +1 -0
  443. package/dist/tr-2HXZRDSW-ByYmbFae.mjs +21 -0
  444. package/dist/tr-2HXZRDSW-CCce6lU_.mjs +1 -0
  445. package/dist/tree-LYXBS7DC-Dq6aWetx.mjs +12 -0
  446. package/dist/tree-LYXBS7DC-pAC77Hbt.mjs +1 -0
  447. package/dist/treeView-QDETBFTQ-BCAjffnq.mjs +1 -0
  448. package/dist/treemap-6X3UGDF4-Dv-54pyt.mjs +1 -0
  449. package/dist/true-WHJNXCHG-Dzdq7R5f.mjs +1 -0
  450. package/dist/true-WHJNXCHG-XC4ZnbBw.mjs +2 -0
  451. package/dist/unexpand-RGTMIGZM-B06mOUPB.mjs +1 -0
  452. package/dist/unexpand-RGTMIGZM-BL5sZ5_Z.mjs +11 -0
  453. package/dist/uniq-SUNANL47-BIgIOFSf.mjs +1 -0
  454. package/dist/uniq-SUNANL47-DBRSkw7j.mjs +5 -0
  455. package/dist/vennDiagram-L72KCM5P-CqTzYRfa.mjs +35 -0
  456. package/dist/wardley-OPB4EBWU-DSvo57UC.mjs +1 -0
  457. package/dist/wardleyDiagram-EHGQE667-WhxG-nRT.mjs +79 -0
  458. package/dist/wc-TQB3VNOX-9RyJlZXB.mjs +1 -0
  459. package/dist/wc-TQB3VNOX-DqHFY4jy.mjs +6 -0
  460. package/dist/which-XZHEH76L-CbmRVw8E.mjs +3 -0
  461. package/dist/which-XZHEH76L-SMFjHhz2.mjs +1 -0
  462. package/dist/whoami-DGKU3D2X-BDJh39KM.mjs +3 -0
  463. package/dist/whoami-DGKU3D2X-BIUooLXE.mjs +1 -0
  464. package/dist/write-project-skill-DOogyZge.mjs +56 -0
  465. package/dist/xan-UD7JYIL2-DAuAMQ0H.mjs +1 -0
  466. package/dist/xan-UD7JYIL2-DQo9f-1a.mjs +140 -0
  467. package/dist/xan-view-OW2TB7Z3-BhVOL6hm.mjs +1 -0
  468. package/dist/xan-view-OW2TB7Z3-CwG0zS53.mjs +1 -0
  469. package/dist/xargs-I6EZUCYF-C_ZtmUCd.mjs +5 -0
  470. package/dist/xargs-I6EZUCYF-INAdKqnR.mjs +1 -0
  471. package/dist/xychartDiagram-FW5EYKEG-DDE7TRrw.mjs +8 -0
  472. package/dist/yazl-BlMyAOcT.mjs +2 -0
  473. package/dist/yq-OAKYHSXH-C1fFFHD4.mjs +1 -0
  474. package/dist/yq-OAKYHSXH-COzSqY4J.mjs +288 -0
  475. package/package.json +7 -6
  476. package/dist/abnfDiagram-VRR7QNED-DQjgDcgA.mjs +0 -2
  477. package/dist/acp-harness-probe-DOXp9Wx4.mjs +0 -3
  478. package/dist/alias-JE7RI5QX-BfILuEvo.mjs +0 -1
  479. package/dist/arc-CO8jsQkL.mjs +0 -2
  480. package/dist/architecture-TIHT7OUA-CScIhnar.mjs +0 -1
  481. package/dist/architectureDiagram-ZJ3FMSHR-CkUIG8wd.mjs +0 -37
  482. package/dist/array-Cerc_8W3.mjs +0 -2
  483. package/dist/awk2-BBAGSFUB-BH8WxyhW.mjs +0 -1
  484. package/dist/banner-CIK2GwPx.mjs +0 -3
  485. package/dist/base64-4YMZCVJ5-CDuRvFBG.mjs +0 -1
  486. package/dist/basename-AA2KJYZQ-sv8gJZXS.mjs +0 -1
  487. package/dist/bash-IJWYRKFO-DKUaUgF9.mjs +0 -1
  488. package/dist/blockDiagram-677ZJIJ3-sLhYyPCr.mjs +0 -133
  489. package/dist/c4Diagram-LMCZKHZV-Cg6dfUXU.mjs +0 -11
  490. package/dist/cat-RDUMLXKC-BtNo16C3.mjs +0 -1
  491. package/dist/channel-DRk0OEK0.mjs +0 -2
  492. package/dist/chmod-SYMGL4JA-B15Xlp42.mjs +0 -1
  493. package/dist/chokidar-CVNrjmRM.mjs +0 -4
  494. package/dist/chunk-2Q5K7J3B-2Es1K_NO.mjs +0 -2
  495. package/dist/chunk-2TRDZQLB-G1LvPXqq.mjs +0 -18
  496. package/dist/chunk-32BRIVSS-ok2xg0Je.mjs +0 -2
  497. package/dist/chunk-3BS5SKQH-CFcrGLDG.mjs +0 -140
  498. package/dist/chunk-3H6UQG3A-Dx5ykWR0.mjs +0 -9
  499. package/dist/chunk-3ZUFRYJ4-DzbWfyzV.mjs +0 -2
  500. package/dist/chunk-4GTNDTRF-COTPYeV6.mjs +0 -8
  501. package/dist/chunk-4HHKTUW3-BkuKGebe.mjs +0 -3
  502. package/dist/chunk-4Q4SM6WR-i8tiQRv3.mjs +0 -5
  503. package/dist/chunk-52WLFC77-BaT5_S-q.mjs +0 -11
  504. package/dist/chunk-55VFSPNA-Ct9maI6O.mjs +0 -3
  505. package/dist/chunk-5FCAYU7R-of7BBDNL.mjs +0 -2
  506. package/dist/chunk-5HE753X5-9kILZ5Nr.mjs +0 -2
  507. package/dist/chunk-5JV3BV7I-BKVVlFxh.mjs +0 -2
  508. package/dist/chunk-5QVNJEHU-CvZ-NmqQ.mjs +0 -9
  509. package/dist/chunk-5TONJI2A-CGHpmUrS.mjs +0 -3
  510. package/dist/chunk-5V6VZH6T-DdeqP2TW.mjs +0 -2
  511. package/dist/chunk-5VM5RSS4-COK1ErrI.mjs +0 -16
  512. package/dist/chunk-62RKD26F-RtrcFE7S.mjs +0 -21
  513. package/dist/chunk-64BAICW3-0h-yIc1e.mjs +0 -2
  514. package/dist/chunk-6Z5SFZXK-C5owNg1o.mjs +0 -288
  515. package/dist/chunk-74CEPOFO--xsxhUFC.mjs +0 -23
  516. package/dist/chunk-7BUUIJ7U-_1oXd84C.mjs +0 -2
  517. package/dist/chunk-7L36YK2X-VlH7dlrD.mjs +0 -3
  518. package/dist/chunk-7TSDKFEO-BjOrsK6M.mjs +0 -2
  519. package/dist/chunk-A4HU7SVR-oMNSpej4.mjs +0 -3
  520. package/dist/chunk-A4JSPFCI-DtnWqT5O.mjs +0 -7
  521. package/dist/chunk-A65PWWJC-LctFeUxK.mjs +0 -3
  522. package/dist/chunk-A7A2DBEE-DuuhuGG1.mjs +0 -7
  523. package/dist/chunk-A7ICOL4V-CzYDHdxM.mjs +0 -14
  524. package/dist/chunk-ALLTKNUZ-BnLIZXEI.mjs +0 -6
  525. package/dist/chunk-APT7OOP2-DESh647P.mjs +0 -2
  526. package/dist/chunk-BIQX33UG-BVtPexox.mjs +0 -2
  527. package/dist/chunk-C7G6YPKG-DpNJWc2e.mjs +0 -2
  528. package/dist/chunk-CQNSW5MT-B6mAd0WS.mjs +0 -2
  529. package/dist/chunk-CYSBUYHQ-CTWbbsmm.mjs +0 -2
  530. package/dist/chunk-D4J545R4-Dy3lcp_X.mjs +0 -12
  531. package/dist/chunk-D6CWQ5DW-Dl4tJcwX.mjs +0 -6
  532. package/dist/chunk-D7MEQ3VN-B-Qyxyo5.mjs +0 -5
  533. package/dist/chunk-DBKNVD4L-Y2Mnp5lC.mjs +0 -10
  534. package/dist/chunk-DCAAORBQ-BxtVrSMT.mjs +0 -2
  535. package/dist/chunk-EEXR5ZDP-BcjEP2wd.mjs +0 -3
  536. package/dist/chunk-EIZGF4BS-DYiqM1Ss.mjs +0 -9
  537. package/dist/chunk-EMLP6XTP-AFimKO17.mjs +0 -2
  538. package/dist/chunk-EX3LRPZG-BYcqQlY8.mjs +0 -232
  539. package/dist/chunk-F23WWYKW-BuCITNd6.mjs +0 -17
  540. package/dist/chunk-FWX5IMBZ-BFNo8SGu.mjs +0 -2
  541. package/dist/chunk-GCTKCWKD-jz3yOk3f.mjs +0 -4
  542. package/dist/chunk-GOV5EKKI-IRzA9ik3.mjs +0 -10
  543. package/dist/chunk-GXVXFKBA-CGc4vqMu.mjs +0 -6
  544. package/dist/chunk-HDQ56CKY-Svz-iz8m.mjs +0 -16
  545. package/dist/chunk-HJQJAYMS-SgZmT_QE.mjs +0 -3
  546. package/dist/chunk-HJWBQKYG-BqFDM0xp.mjs +0 -6
  547. package/dist/chunk-HKLCLINH-DKx243zB.mjs +0 -63
  548. package/dist/chunk-HL6NGDO2-B9GCn41X.mjs +0 -24
  549. package/dist/chunk-HOUHSVGY-Cg_2_CUd.mjs +0 -2
  550. package/dist/chunk-HWKDQ44K-CVxg-h0V.mjs +0 -4
  551. package/dist/chunk-I57KEIP3-FVl4IVXz.mjs +0 -11
  552. package/dist/chunk-ICXQ74PX-CewdqzeE.mjs +0 -3
  553. package/dist/chunk-JG7HCLWE-BgiWVzAI.mjs +0 -3
  554. package/dist/chunk-JVPRLUMK-CH7w4zyh.mjs +0 -8
  555. package/dist/chunk-JWPE2WC7-cMhWwV9I.mjs +0 -2
  556. package/dist/chunk-K6LIBGJA-DI9ZkJey.mjs +0 -12
  557. package/dist/chunk-KEIR6QF5-BhaMJNB5.mjs +0 -176
  558. package/dist/chunk-KMEYNNUA-CabTsa7P.mjs +0 -16
  559. package/dist/chunk-KRBPSX3W-ciCGjpAL.mjs +0 -6
  560. package/dist/chunk-LL3S3NLB-r8mDpVuz.mjs +0 -2
  561. package/dist/chunk-LTZRCH7N-Cj1hz7m7.mjs +0 -32
  562. package/dist/chunk-LWEGUNWT-C3ON4AHi.mjs +0 -8
  563. package/dist/chunk-MDDMCKUK-D3MZs3FF.mjs +0 -7
  564. package/dist/chunk-MDLLFABN-DgTeOfIY.mjs +0 -73
  565. package/dist/chunk-MHTUABJP-BbSobv_U.mjs +0 -9
  566. package/dist/chunk-MIZPJHVH-CzqfuBdK.mjs +0 -8
  567. package/dist/chunk-MLXIYONF-BcM04nM_.mjs +0 -16
  568. package/dist/chunk-MOJQB5TN-CidbQQ7m.mjs +0 -89
  569. package/dist/chunk-MOZMSUNE-DTiZcqZ1.mjs +0 -2
  570. package/dist/chunk-MYE6AGBJ-B3ukegXT.mjs +0 -17
  571. package/dist/chunk-NAERJDUW-CoAYVGR3.mjs +0 -9
  572. package/dist/chunk-NCNPKYJZ-C1KcgrGe.mjs +0 -3
  573. package/dist/chunk-NUYSJFDK-sPbPxu4W.mjs +0 -8
  574. package/dist/chunk-OCLXQMOG-BdLZfp3D.mjs +0 -7
  575. package/dist/chunk-OCS6LSEM-7beNWT9m.mjs +0 -14
  576. package/dist/chunk-OGEWGWER-B-Vr80Fa.mjs +0 -2
  577. package/dist/chunk-OSBZ3O6U-DwDyo3Ly.mjs +0 -2
  578. package/dist/chunk-PBXLG62G-ww-bn-Tp.mjs +0 -9
  579. package/dist/chunk-PP6PSHAB-xKRHmmOd.mjs +0 -5
  580. package/dist/chunk-PUDLZKDR-CI0pacGF.mjs +0 -157
  581. package/dist/chunk-PXTK5WE2-Dfi2FrE5.mjs +0 -22
  582. package/dist/chunk-PYSFUGCK-BHwvxY2Q.mjs +0 -11
  583. package/dist/chunk-Q4XR5HBZ-4H-m7p0G.mjs +0 -71
  584. package/dist/chunk-QBLGF6JB-B_tvtCRO.mjs +0 -2
  585. package/dist/chunk-QCDB2VPH-DHsQu4h6.mjs +0 -7
  586. package/dist/chunk-QJ7O6ZN3-CTKdWbns.mjs +0 -6
  587. package/dist/chunk-R6QSAL5T-DA60heK6.mjs +0 -2
  588. package/dist/chunk-R7FJI6CG-BVR1ae7y.mjs +0 -2
  589. package/dist/chunk-RPNGRAAP-df7FdhI4.mjs +0 -8
  590. package/dist/chunk-RYQCIY6F-C8F82Uai.mjs +0 -2
  591. package/dist/chunk-SDNKECQQ-BuTL-ot2.mjs +0 -6
  592. package/dist/chunk-SNN4IESC-DVqEOGsL.mjs +0 -2
  593. package/dist/chunk-T56QNPHK-COZC2A_r.mjs +0 -15
  594. package/dist/chunk-TLSUDHID-DAREQN9J.mjs +0 -7
  595. package/dist/chunk-TOMNU26N-C3JZDC96.mjs +0 -5
  596. package/dist/chunk-TP4BZANS-C2Z-CHHA.mjs +0 -21
  597. package/dist/chunk-TXBZCHCQ-DOaoE5TV.mjs +0 -6
  598. package/dist/chunk-U6XO7XAA-BpjdcG5R.mjs +0 -3
  599. package/dist/chunk-V5MWI2OL-D8SKWVO_.mjs +0 -5
  600. package/dist/chunk-V7JOEXUC-CdEIYYNc.mjs +0 -207
  601. package/dist/chunk-V7TAPXDL-CQbB1mLa.mjs +0 -28
  602. package/dist/chunk-VAUOI2AC-Ds6ZNp2p.mjs +0 -2
  603. package/dist/chunk-VJFXDYWH-C7Lg-Yts.mjs +0 -11
  604. package/dist/chunk-VOBGTVA6-CKl2LR-K.mjs +0 -7
  605. package/dist/chunk-VR4S4FIN-mH-q10Uq.mjs +0 -2
  606. package/dist/chunk-VYOJP4TV-DFxaC5Uc.mjs +0 -14
  607. package/dist/chunk-WKFATFPP-R7B51gCW.mjs +0 -5
  608. package/dist/chunk-WYO6CB5R-Cg1RXhAT.mjs +0 -130
  609. package/dist/chunk-X2AJGDEF-D97qevlv.mjs +0 -2
  610. package/dist/chunk-XKQRETAK-BTmmMuta.mjs +0 -2
  611. package/dist/chunk-XKWWSDBF-BGzAOrO3.mjs +0 -37
  612. package/dist/chunk-XVDPCNWR-3ajbQWzU.mjs +0 -12
  613. package/dist/chunk-XXDRQBXY-BvbdToKZ.mjs +0 -2
  614. package/dist/chunk-Y2CYZVJY-C7FmC3Cl.mjs +0 -2
  615. package/dist/chunk-YMMW5UAP-DbBgrudQ.mjs +0 -33
  616. package/dist/chunk-YOTPTUD7-BSOqhRr-.mjs +0 -2
  617. package/dist/chunk-YTNYSM6T-CoxqCaLl.mjs +0 -12
  618. package/dist/chunk-YULBWSET-CuKhTv4j.mjs +0 -14
  619. package/dist/chunk-Z6LRHWXI-CujGXDs8.mjs +0 -14
  620. package/dist/chunk-Z7JVV2SM-CiJwkxuY.mjs +0 -12
  621. package/dist/chunk-ZGVPDNZ5-BE_qYP6z.mjs +0 -63
  622. package/dist/chunk-ZIRB5QZD-mhYZnDzb.mjs +0 -39
  623. package/dist/chunk-ZZO3UDB3-DCkJjNN2.mjs +0 -100
  624. package/dist/classDiagram-OUVF2IWQ-rKP7gcsT.mjs +0 -2
  625. package/dist/classDiagram-v2-EOCWNBFH-BoWf4tYI.mjs +0 -2
  626. package/dist/clear-5CZ5X4YR-BNXs_KRD.mjs +0 -1
  627. package/dist/column-WLPMMSTS-BrY1gQI1.mjs +0 -1
  628. package/dist/comm-5SLSESQG-aGB098lH.mjs +0 -1
  629. package/dist/constants-J4-mibQ1.mjs +0 -2
  630. package/dist/cose-bilkent-JH36ORCC-CMfIp4st.mjs +0 -2
  631. package/dist/cp-XOYR4ABJ-D0LUaMQT.mjs +0 -1
  632. package/dist/curl-47BFPSFW-d1TMPUJw.mjs +0 -26
  633. package/dist/cut-OPC3VAGB-FXZX1WQM.mjs +0 -1
  634. package/dist/cynefin-VYW2F7L2-DtazLHUs.mjs +0 -1
  635. package/dist/cynefinDiagram-TSTJHNR4-CFbt5v4d.mjs +0 -63
  636. package/dist/cytoscape.esm-Dq6ZD9GH.mjs +0 -332
  637. package/dist/dagre-CbI1Ylqw.mjs +0 -2
  638. package/dist/dagre-VKFMJZFB-BWP36rMX.mjs +0 -5
  639. package/dist/date-DD7FVA2V-7hk1aW9g.mjs +0 -1
  640. package/dist/defaultLocale-9SlCuWEL.mjs +0 -2
  641. package/dist/diagram-FQU43EPY-D2pf7IBH.mjs +0 -4
  642. package/dist/diagram-G47NLZAW-BlOXaBe6.mjs +0 -25
  643. package/dist/diagram-NH7WQ7WH-DOwRNWDI.mjs +0 -25
  644. package/dist/diagram-OA4YK3LP-uyGYHUoX.mjs +0 -31
  645. package/dist/diagram-WEI45ONY-CmW1X9Kx.mjs +0 -42
  646. package/dist/diff-HJF2MPDN-bcOaHvDo.mjs +0 -1
  647. package/dist/dirname-LEMTZZFS-RRQ5Ar_Z.mjs +0 -1
  648. package/dist/dist-BmYngy7b.mjs +0 -2
  649. package/dist/du-WO2ENHXQ-Cg71FvLi.mjs +0 -1
  650. package/dist/ebnfDiagram-CCIWWBDH-BpBYlrRH.mjs +0 -2
  651. package/dist/echo-O45JWWI2-BacOdfFs.mjs +0 -1
  652. package/dist/env-5EPCWSXR-T8XCKOX_.mjs +0 -1
  653. package/dist/erDiagram-Q63AITRT-ChoKKmxG.mjs +0 -86
  654. package/dist/eventmodeling-45OFAUF4-BIXp-P6z.mjs +0 -1
  655. package/dist/execAsync-BKp2jujj.mjs +0 -2
  656. package/dist/execAsync-BuUKdKlz.mjs +0 -2
  657. package/dist/expand-DTNXU4LQ-BD32VJaK.mjs +0 -1
  658. package/dist/expr-YYCVMXE3-CgQib9F9.mjs +0 -1
  659. package/dist/file-IGDTDPLG-BAlm5q29.mjs +0 -1
  660. package/dist/find-DH2ALKQS-z-G7VPmU.mjs +0 -1
  661. package/dist/flag-coverage-6JEX67RU-Cj_NycUm.mjs +0 -2
  662. package/dist/flowDiagram-23GEKE2U-B4VrCGdr.mjs +0 -1
  663. package/dist/fold-LDSORVYE-CDU-6eOS.mjs +0 -1
  664. package/dist/fs-traced-By5aY-RE.mjs +0 -12
  665. package/dist/fs-traced-CkLhqsEn.mjs +0 -1
  666. package/dist/ganttDiagram-NO4QXBWP-Cv7sGb-R.mjs +0 -293
  667. package/dist/getMachineId-bsd-DtFrm1Uy.mjs +0 -2
  668. package/dist/getMachineId-bsd-GFl1-Bje.mjs +0 -2
  669. package/dist/getMachineId-darwin--IR8MP8d.mjs +0 -3
  670. package/dist/getMachineId-darwin-28jQHa_N.mjs +0 -3
  671. package/dist/getMachineId-linux-BZgyplQ5.mjs +0 -2
  672. package/dist/getMachineId-linux-Bzx3S652.mjs +0 -2
  673. package/dist/getMachineId-unsupported-CyTjujlI.mjs +0 -2
  674. package/dist/getMachineId-unsupported-DuB0leRF.mjs +0 -2
  675. package/dist/getMachineId-win-BmvAZEMa.mjs +0 -2
  676. package/dist/getMachineId-win-CuOFQQ73.mjs +0 -2
  677. package/dist/git-handle-BDmbIWwd.mjs +0 -1
  678. package/dist/git-handle-BHe1p04S.mjs +0 -10
  679. package/dist/gitGraph-TEB2WS4Q-BaTdqV7-.mjs +0 -1
  680. package/dist/gitGraphDiagram-IHSO6WYX-DxsFHicP.mjs +0 -107
  681. package/dist/graphlib-DKEQBDTz.mjs +0 -2
  682. package/dist/grep-2HUTXO5U-CsEE08ya.mjs +0 -1
  683. package/dist/gzip-AQXSGOVS-CmMf6H0r.mjs +0 -1
  684. package/dist/head-HT2B6D2J-DSBJixLD.mjs +0 -1
  685. package/dist/help-VVWX7SA5-BncYWg0B.mjs +0 -1
  686. package/dist/history-J4QRNGRO-CULSDkzp.mjs +0 -1
  687. package/dist/hostname-BK6HG2DE-CaZb-T_R.mjs +0 -1
  688. package/dist/html-to-markdown-TFCECAGV-CF0t8_d3.mjs +0 -1
  689. package/dist/index-1MIt1xrM.d.mts +0 -6628
  690. package/dist/info-DKCQHKI2-BxlpeeVn.mjs +0 -1
  691. package/dist/infoDiagram-FWYZ7A6U-CbPpTq2x.mjs +0 -3
  692. package/dist/init-Buw5jj4Q.mjs +0 -2
  693. package/dist/init-DDwncQha.mjs +0 -1
  694. package/dist/init-ZOWQ1Th4.mjs +0 -643
  695. package/dist/ishikawaDiagram-FXEZZL3T-Dd5BEpOv.mjs +0 -71
  696. package/dist/join-GG2LDHE5-kABASDPB.mjs +0 -1
  697. package/dist/journeyDiagram-5HDEW3XC-W6Nbr96_.mjs +0 -140
  698. package/dist/jq-LYZFFBZB-CIwp4u6h.mjs +0 -1
  699. package/dist/js-exec-VXN6TZ7U-1yyCDQqM.mjs +0 -97
  700. package/dist/kanban-definition-HUTT4EX6-xcwe5vNg.mjs +0 -90
  701. package/dist/launch-json-removal-CcFuFFS1.mjs +0 -2
  702. package/dist/lib-BCIeHFfP.mjs +0 -2
  703. package/dist/lib-TLTWf9qr.mjs +0 -195
  704. package/dist/line-Cq-NoiNn.mjs +0 -2
  705. package/dist/linear-DPbvcrPk.mjs +0 -2
  706. package/dist/ln-4TRFBYAT-Dhr3hBr6.mjs +0 -1
  707. package/dist/loader-BcwbnY_K.mjs +0 -1
  708. package/dist/loader-ji3pPcXi.mjs +0 -2
  709. package/dist/logger-BZPV1wv8.mjs +0 -39
  710. package/dist/ls-KSXFZCWH-BEv3e7-2.mjs +0 -1
  711. package/dist/lzma-Dh_aFpqW.mjs +0 -2
  712. package/dist/map-CFzSl60r.mjs +0 -2
  713. package/dist/md-manager-B4-M0hXs.mjs +0 -2
  714. package/dist/md5sum-INMIK4DX-CJ1G9gTe.mjs +0 -1
  715. package/dist/mermaid-parser.core-DejmtVwC.mjs +0 -4
  716. package/dist/mermaid.core-CB8v9A8r.mjs +0 -16
  717. package/dist/mindmap-definition-LN4V7U3C-BiYp6fzL.mjs +0 -97
  718. package/dist/mkdir-TDEMSB6C-BY7IIkok.mjs +0 -1
  719. package/dist/mv-Z6MORUFL-C4m2WG8E.mjs +0 -1
  720. package/dist/nl-U5YJDM32-CrNZhLtI.mjs +0 -1
  721. package/dist/od-VJEF2UR5-5RFpmlxK.mjs +0 -1
  722. package/dist/open-browser-CxnOIVsL.mjs +0 -2
  723. package/dist/ordinal-D5S_JXYv.mjs +0 -2
  724. package/dist/packet-7NZHBO7P-DJoR1MQJ.mjs +0 -1
  725. package/dist/paste-7N6AFSDS-DQNANxpk.mjs +0 -1
  726. package/dist/path-D4ahAhVD.mjs +0 -2
  727. package/dist/pegDiagram-2B236MQR-DMP1ng8V.mjs +0 -2
  728. package/dist/pie-RZYD4A2V-Ba8iL0H-.mjs +0 -1
  729. package/dist/pieDiagram-ENE6RG2P-CSKXRjGQ.mjs +0 -40
  730. package/dist/preview-2rQXoRuM.mjs +0 -3
  731. package/dist/preview-MV-qHfzy.mjs +0 -1
  732. package/dist/printf-CX64KX2P-CKuJk-Cs.mjs +0 -1
  733. package/dist/public/assets/ActivityModeContent-C08FYohG.js +0 -1
  734. package/dist/public/assets/AgentDiffPane-T499-ugv.js +0 -2
  735. package/dist/public/assets/ChangedOutsideBadge-GeQfL_b-.js +0 -1
  736. package/dist/public/assets/DocumentContext-C-Lo65-_.js +0 -38
  737. package/dist/public/assets/FeedbackForm-CmdTz11F.js +0 -1
  738. package/dist/public/assets/ImportSkillDialog-ChsGV6eb.js +0 -1
  739. package/dist/public/assets/ManagedArtifactProperties-B1ZA0ofn.js +0 -2
  740. package/dist/public/assets/ManagedArtifactProperties-B_ecuboX.js +0 -1
  741. package/dist/public/assets/SessionsHost-BobZkNwc.js +0 -2
  742. package/dist/public/assets/SettingsDialogBody-COTbFRqi.js +0 -12
  743. package/dist/public/assets/SkillToolbarControls-PvRY_LHn.js +0 -1
  744. package/dist/public/assets/SourceEditor-Duqpede9.js +0 -1
  745. package/dist/public/assets/TerminalWindowApp-CgWp2eC-.js +0 -1
  746. package/dist/public/assets/ThreadView-VqdgemBS.js +0 -10
  747. package/dist/public/assets/TimelineDiffPane-DnaRcvCk.js +0 -2
  748. package/dist/public/assets/agent-diff-store-B7oQn7l7.js +0 -1
  749. package/dist/public/assets/auth-state-cache-BUYyIMUZ.js +0 -11
  750. package/dist/public/assets/comment-chips-BhvfCPCk.js +0 -5
  751. package/dist/public/assets/follow-file-CWSsUd-S.js +0 -1
  752. package/dist/public/assets/index-Dmlpu4P1.js +0 -2097
  753. package/dist/public/assets/selection-context-CSP8zK1H.js +0 -4
  754. package/dist/public/assets/skill-actions-98H3SnCL.js +0 -2
  755. package/dist/public/assets/typing-burst-detector-BOmjXV-P.js +0 -8
  756. package/dist/public/assets/use-activity-panel-BwANCYjg.js +0 -1
  757. package/dist/public/assets/use-open-skill-DCSEJ3jJ.js +0 -1
  758. package/dist/public/assets/use-skill-directory-D9S5f8By.js +0 -1
  759. package/dist/public/assets/use-timeline-entry-diff-CB_cI1yy.js +0 -6
  760. package/dist/pwd-D4OZ7N27-CSTLotxZ.mjs +0 -1
  761. package/dist/python3-DNGS4G3E-BZ5fPY5e.mjs +0 -12
  762. package/dist/quadrantDiagram-ABIIQ3AL-Do93EPf_.mjs +0 -8
  763. package/dist/radar-I7S5WNFK-HP72Fmhl.mjs +0 -1
  764. package/dist/railroad-3IZDKUUU-DC3PWo_6.mjs +0 -1
  765. package/dist/railroad-abnf-AHOZXSZD-Vgpa9_KI.mjs +0 -1
  766. package/dist/railroad-ebnf-EBAXGLYW-B4SmMMsT.mjs +0 -1
  767. package/dist/railroad-peg-LSFZ7HO6-DLlDiUuB.mjs +0 -1
  768. package/dist/railroadDiagram-RFXS5EU6-BBHONGQu.mjs +0 -2
  769. package/dist/readlink-MI4GCHJF-V9fwXBrg.mjs +0 -1
  770. package/dist/repair-launch-json-Cq9ghST3.mjs +0 -2
  771. package/dist/repair-mcp-configs-DY0FS2-y.mjs +0 -2
  772. package/dist/repair-skills-CkZZbtNk.mjs +0 -4
  773. package/dist/repair-skills-l9Id0gzv.mjs +0 -1
  774. package/dist/requirementDiagram-TGXJPOKE-CAGy_wFo.mjs +0 -85
  775. package/dist/rev-XOSYPP45-G2PvMYC2.mjs +0 -1
  776. package/dist/rg-XNF3R3II-CuFYIwNn.mjs +0 -1
  777. package/dist/rm-RTZG23RL-BOvMrhon.mjs +0 -1
  778. package/dist/rmdir-XTQXT7RK-Dk19R-p8.mjs +0 -1
  779. package/dist/rough.cjs-LxmwwhvT.mjs +0 -2
  780. package/dist/sankeyDiagram-HTMAVEWB-B59ayZ_U.mjs +0 -41
  781. package/dist/sed-JAPPVBEU-BUaK4riL.mjs +0 -1
  782. package/dist/seq-RN5ZUASB-D5aLn_so.mjs +0 -1
  783. package/dist/sequenceDiagram-DBY2YBRQ-BqY5gm2k.mjs +0 -163
  784. package/dist/server-lock-BleUv9m0.mjs +0 -2
  785. package/dist/server-lock-uucDARDL.mjs +0 -1
  786. package/dist/sha1sum-VJPNLNU6-DnTKth9v.mjs +0 -1
  787. package/dist/sha256sum-PI32XWXY-Z-xtGDHc.mjs +0 -1
  788. package/dist/sizeCapture-X5ZJPWSS-D7Nqbe-W.mjs +0 -2
  789. package/dist/skill-teardown-CZnemDLF.mjs +0 -2
  790. package/dist/sleep-VZFPZFWA-DcISab6N.mjs +0 -1
  791. package/dist/sort-DCNRDA7U-C1gRzOOY.mjs +0 -1
  792. package/dist/split-SITCSYCZ-D4U2N_sH.mjs +0 -1
  793. package/dist/sqlite3-TE5AIOTF-DcjYN7WW.mjs +0 -1
  794. package/dist/src-9BFQh559.mjs +0 -348
  795. package/dist/src-9I3GiOoK.mjs +0 -2032
  796. package/dist/src-BuBt_xnY.mjs +0 -2
  797. package/dist/src-Dl8P6sfz.mjs +0 -20
  798. package/dist/src-h5dDPK2z.mjs +0 -1
  799. package/dist/start-BYY0acPS.mjs +0 -1
  800. package/dist/start-C4KuZHu5.mjs +0 -4
  801. package/dist/stat-BT5A227F-B4qwqNn_.mjs +0 -1
  802. package/dist/stateDiagram-2N3HPSRC-BD1FBZi9.mjs +0 -2
  803. package/dist/stateDiagram-v2-6OUMAXLB-CqmBRdZY.mjs +0 -2
  804. package/dist/strings-7PLOGTPD-BJ6vWsQi.mjs +0 -1
  805. package/dist/swimlanes-5IMT3BWC-D2eO0gTx.mjs +0 -2
  806. package/dist/swimlanesDiagram-G3AALYLV-BiRCZWbo.mjs +0 -9
  807. package/dist/tac-SJGXQ4T2-D-bfDFKg.mjs +0 -1
  808. package/dist/tail-S5ULNTJU-CWnyTuXg.mjs +0 -1
  809. package/dist/tar-MZQD7NO4-Cx5bpVMY.mjs +0 -1
  810. package/dist/tee-O7VXZDCO-B_duU1hV.mjs +0 -1
  811. package/dist/time-DEUO3QV2-CekCKA2I.mjs +0 -1
  812. package/dist/timeline-definition-FHXFAJF6-DZHpuaV_.mjs +0 -121
  813. package/dist/timeout-VRKMCG72-DaJVXXR3.mjs +0 -1
  814. package/dist/touch-DX2IJOQ4-CZteiICw.mjs +0 -1
  815. package/dist/tr-2HXZRDSW-D4XuTGWg.mjs +0 -1
  816. package/dist/tree-LYXBS7DC-CUIzQKTG.mjs +0 -1
  817. package/dist/treeView-QDETBFTQ-C9yOsbGY.mjs +0 -1
  818. package/dist/treemap-6X3UGDF4-iowse2nY.mjs +0 -1
  819. package/dist/true-WHJNXCHG-BzxCUQFd.mjs +0 -1
  820. package/dist/unexpand-RGTMIGZM-x3XCmR3I.mjs +0 -1
  821. package/dist/uniq-SUNANL47-DpupkNiO.mjs +0 -1
  822. package/dist/vennDiagram-L72KCM5P-CGoW4QcS.mjs +0 -35
  823. package/dist/wardley-OPB4EBWU-BL1Dan_S.mjs +0 -1
  824. package/dist/wardleyDiagram-EHGQE667-DHS8jBWZ.mjs +0 -79
  825. package/dist/wc-TQB3VNOX-D8llmcL9.mjs +0 -1
  826. package/dist/which-XZHEH76L-imZgNd5x.mjs +0 -1
  827. package/dist/whoami-DGKU3D2X-CzLNG51j.mjs +0 -1
  828. package/dist/write-project-skill-WXZSbQlg.mjs +0 -56
  829. package/dist/xan-UD7JYIL2-_38Iv1cI.mjs +0 -1
  830. package/dist/xan-view-OW2TB7Z3-RT-IKMgr.mjs +0 -1
  831. package/dist/xargs-I6EZUCYF-Bu8VhXV_.mjs +0 -1
  832. package/dist/xychartDiagram-FW5EYKEG-CG0DSvm_.mjs +0 -8
  833. package/dist/yq-OAKYHSXH-BcCBaLJN.mjs +0 -1
  834. /package/dist/{expansion-VBDYWVZR-CeY6vkty.mjs → expansion-VBDYWVZR-CpX0YZMb.mjs} +0 -0
@@ -0,0 +1,63 @@
1
+ import{o as e}from"./chunk-DTipWd-i.mjs";import{n as t}from"./chunk-Y2CYZVJY-acXC9Sbb.mjs";import{m as n,p as r}from"./src-BPVU4Y0o.mjs";import{A as i,B as a,M as o,T as s,b as c,g as l,x as u,z as d}from"./chunk-WYO6CB5R-DN1R0VLx.mjs";import{a as f,r as p,u as m}from"./chunk-ICXQ74PX-DbJy3VdO.mjs";import{t as h}from"./chunk-HOUHSVGY-C3h3PdhC.mjs";import{n as g}from"./chunk-Q4XR5HBZ-jWirJQsj.mjs";import{n as _,t as v}from"./chunk-OGEWGWER-DgPAesMA.mjs";import{a as y,i as b,r as x,t as S}from"./chunk-C7G6YPKG-BAX_SClW.mjs";import{t as C}from"./rough.cjs-BGkc0Naf.mjs";var w=e(C(),1),T=t(async(e,t,n)=>{let i,a=t.useHtmlLabels||l(u()?.htmlLabels);i=n||`node default`;let o=e.insert(`g`).attr(`class`,i).attr(`id`,t.domId||t.id),s=o.insert(`g`).attr(`class`,`label`).attr(`style`,m(t.labelStyle)),c;c=t.label===void 0?``:typeof t.label==`string`?t.label:t.label[0];let p=!!t.icon||!!t.img,h=t.labelType===`markdown`,_=await g(s,d(f(c),u()),{useHtmlLabels:a,width:t.width||u().flowchart?.wrappingWidth,classes:h?`markdown-node-label`:``,style:t.labelStyle,addSvgBackground:p,markdown:h},u()),y=_.getBBox(),b=(t?.padding??0)/2;if(a){let e=_.children[0],t=r(_);await v(e,c),y=e.getBoundingClientRect(),t.attr(`width`,y.width),t.attr(`height`,y.height)}return a?s.attr(`transform`,`translate(`+-y.width/2+`, `+-y.height/2+`)`):s.attr(`transform`,`translate(0, `+-y.height/2+`)`),t.centerLabel&&s.attr(`transform`,`translate(`+-y.width/2+`, `+-y.height/2+`)`),s.insert(`rect`,`:first-child`),{shapeSvg:o,bbox:y,halfPadding:b,label:s}},`labelHelper`),E=t(async(e,t,n)=>{let i=n.useHtmlLabels??s(u()),a=e.insert(`g`).attr(`class`,`label`).attr(`style`,n.labelStyle||``),o=await g(a,d(f(t),u()),{useHtmlLabels:i,width:n.width||u()?.flowchart?.wrappingWidth,style:n.labelStyle,addSvgBackground:!!n.icon||!!n.img}),c=o.getBBox(),l=n.padding/2;if(s(u())){let e=o.children[0],t=r(o);c=e.getBoundingClientRect(),t.attr(`width`,c.width),t.attr(`height`,c.height)}return i?a.attr(`transform`,`translate(`+-c.width/2+`, `+-c.height/2+`)`):a.attr(`transform`,`translate(0, `+-c.height/2+`)`),n.centerLabel&&a.attr(`transform`,`translate(`+-c.width/2+`, `+-c.height/2+`)`),a.insert(`rect`,`:first-child`),{shapeSvg:e,bbox:c,halfPadding:l,label:a}},`insertLabel`),D=t((e,t)=>{let n=t.node().getBBox();e.width=n.width,e.height=n.height},`updateNodeBounds`),O=t((e,t)=>(e.look===`handDrawn`?`rough-node`:`node`)+` `+e.cssClasses+` `+(t||``),`getNodeClasses`);function k(e){let t=e.map((e,t)=>`${t===0?`M`:`L`}${e.x},${e.y}`);return t.push(`Z`),t.join(` `)}t(k,`createPathFromPoints`);function A(e,t,n,r,i,a){let o=[],s=n-e,c=r-t,l=s/a,u=2*Math.PI/l,d=t+c/2;for(let t=0;t<=50;t++){let n=e+t/50*s,r=d+i*Math.sin(u*(n-e));o.push({x:n,y:r})}return o}t(A,`generateFullSineWavePoints`);function j(e,t,n,r,i,a){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:-a,y:-l})}return o}t(j,`generateCirclePoints`);function M(e){let n=Array.from(e.childNodes).filter(e=>e.tagName===`path`),r=document.createElementNS(`http://www.w3.org/2000/svg`,`path`),i=n.map(e=>e.getAttribute(`d`)).filter(e=>e!==null).join(` `);r.setAttribute(`d`,i);let a=n.find(e=>e.getAttribute(`fill`)!==`none`),o=n.find(e=>e.getAttribute(`stroke`)!==`none`),s=t((e,t)=>e?.getAttribute(t)??void 0,`getAttr`);if(a){let e={fill:s(a,`fill`),"fill-opacity":s(a,`fill-opacity`)??`1`};Object.entries(e).forEach(([e,t])=>{t&&r.setAttribute(e,t)})}if(o){let e={stroke:s(o,`stroke`),"stroke-width":s(o,`stroke-width`)??`1`,"stroke-opacity":s(o,`stroke-opacity`)??`1`};Object.entries(e).forEach(([e,t])=>{t&&r.setAttribute(e,t)})}let c=document.createElementNS(`http://www.w3.org/2000/svg`,`g`);return c.appendChild(r),c}t(M,`mergePaths`);var N=t((e,t)=>{var n=e.x,r=e.y,i=t.x-n,a=t.y-r,o=e.width/2,s=e.height/2,c,l;return Math.abs(a)*o>Math.abs(i)*s?(a<0&&(s=-s),c=a===0?0:s*i/a,l=s):(i<0&&(o=-o),c=o,l=i===0?0:o*a/i),{x:n+c,y:r+l}},`intersectRect`),P=t(async(e,t,n,r=!1,i=!1)=>{let a=t||``;typeof a==`object`&&(a=a[0]);let o=u(),c=s(o);return await g(e,a,{style:n,isTitle:r,useHtmlLabels:c,markdown:!1,isNode:i,width:1/0},o)},`createLabel`),F=t((e,t,n,r,i)=>[`M`,e+i,t,`H`,e+n-i,`A`,i,i,0,0,1,e+n,t+i,`V`,t+r-i,`A`,i,i,0,0,1,e+n-i,t+r,`H`,e+i,`A`,i,i,0,0,1,e,t+r-i,`V`,t+i,`A`,i,i,0,0,1,e+i,t,`Z`].join(` `),`createRoundedRectPathD`),I=t(async(e,t)=>{let i=u(),{themeVariables:a,handDrawnSeed:o}=i,{clusterBkg:s,clusterBorder:c}=a,d=c,{labelStyles:f,nodeStyles:p,borderStyles:m,backgroundStyles:h}=b(t),_=e.insert(`g`).attr(`class`,`cluster swimlane `+(t.cssClasses||``)).attr(`id`,t.id).attr(`data-id`,t.id).attr(`data-et`,`cluster`).attr(`data-look`,t.look),v=l(i.flowchart.htmlLabels),x=t.direction===`LR`,S=_.insert(`g`).attr(`class`,`cluster-label swimlane-label`),C=await g(S,t.label,{style:t.labelStyle,useHtmlLabels:v,isNode:!0,width:t.width}),T=C.getBBox();if(v){let e=C.children[0],t=r(C);T=e.getBoundingClientRect(),t.attr(`width`,T.width),t.attr(`height`,T.height)}let E=t.padding??0,D=t.width<=T.width+E?T.width+E:t.width;t.width<=T.width+E?t.diff=(D-t.width)/2-E:t.diff=-E;let O=t.height,k=t.y-O/2,A=t.y+O/2,j=t.x-D/2,M=t.swimlaneContentTop===void 0?k+O/3:t.swimlaneContentTop,P=x?4:0,F=T.height+2*P,I,L;if(x){let e=Math.max(F,T.height+2*P),n=j+e,r=Math.max(0,D-e);if(t.look===`handDrawn`){let i=w.default.svg(_),a=y(t,{roughness:.7,fill:s,stroke:d,fillWeight:3,seed:o}),c=y(t,{roughness:.7,fill:`none`,stroke:d,seed:o}),l=i.rectangle(j,k,e,O,a);I=_.insert(()=>l,`:first-child`);let u=i.rectangle(n,k,r,O,c);L=_.insert(()=>u,`:first-child`),I.select(`path:nth-child(2)`).attr(`style`,m.join(`;`)),I.select(`path`).attr(`style`,h.join(`;`).replace(`fill`,`stroke`))}else I=_.insert(`rect`,`:first-child`),L=_.insert(`rect`,`:first-child`),I.attr(`class`,`swimlane-title`).attr(`style`,p).attr(`x`,j).attr(`y`,k).attr(`width`,e).attr(`height`,O).attr(`fill`,s).attr(`stroke`,d),L.attr(`class`,`swimlane-body`).attr(`style`,p).attr(`x`,n).attr(`y`,k).attr(`width`,r).attr(`height`,O).attr(`fill`,`none`).attr(`stroke`,d);let i=j+e/2,a=t.y;S.attr(`transform`,`translate(${i}, ${a}) rotate(-90) translate(${-T.width/2}, ${-T.height/2})`)}else{let e=Math.max(0,M-k),n=Math.min(F,e),r=k+n,i=Math.max(0,A-r),a=t.x-D/2;if(t.look===`handDrawn`){let e=w.default.svg(_),c=y(t,{roughness:.7,fill:s,stroke:d,fillWeight:3,seed:o}),l=y(t,{roughness:.7,fill:`none`,stroke:d,seed:o}),u=e.rectangle(a,k,D,n,c);I=_.insert(()=>u,`:first-child`);let f=e.rectangle(a,r,D,i,l);L=_.insert(()=>f,`:first-child`),I.select(`path:nth-child(2)`).attr(`style`,m.join(`;`)),I.select(`path`).attr(`style`,h.join(`;`).replace(`fill`,`stroke`))}else I=_.insert(`rect`,`:first-child`),L=_.insert(`rect`,`:first-child`),I.attr(`class`,`swimlane-title`).attr(`style`,p).attr(`x`,a).attr(`y`,k).attr(`width`,D).attr(`height`,n).attr(`fill`,s).attr(`stroke`,d),L.attr(`class`,`swimlane-body`).attr(`style`,p).attr(`x`,a).attr(`y`,r).attr(`width`,D).attr(`height`,i).attr(`fill`,`none`).attr(`stroke`,d);let c=t.x-T.width/2,l=k+(n-T.height)/2;S.attr(`transform`,`translate(${c}, ${l})`)}if(n.trace(`Swimlane data `,t,JSON.stringify(t)),f){let e=S.select(`span`);e&&e.attr(`style`,f)}return t.offsetX=0,t.width=D,t.height=O,t.offsetY=T.height-E/2,t.intersect=function(e){return N(t,e)},{cluster:_,labelBBox:T}},`swimlane`),L=t(async(e,t)=>{n.info(`Creating subgraph rect for `,t.id,t);let i=u(),{themeVariables:a,handDrawnSeed:o}=i,{clusterBkg:c,clusterBorder:l}=a,{labelStyles:d,nodeStyles:f,borderStyles:p,backgroundStyles:m}=b(t),h=e.insert(`g`).attr(`class`,`cluster `+t.cssClasses).attr(`id`,t.domId).attr(`data-look`,t.look),v=s(i),x=h.insert(`g`).attr(`class`,`cluster-label `),S;S=t.labelType===`markdown`?await g(x,t.label,{style:t.labelStyle,useHtmlLabels:v,isNode:!0,width:t.width}):await P(x,t.label,t.labelStyle||``,!1,!0);let C=S.getBBox();if(s(i)){let e=S.children[0],t=r(S);C=e.getBoundingClientRect(),t.attr(`width`,C.width),t.attr(`height`,C.height)}let T=t.width<=C.width+t.padding?C.width+t.padding:t.width;t.width<=C.width+t.padding?t.diff=(T-t.width)/2-t.padding:t.diff=-t.padding;let E=t.height,D=t.x-T/2,O=t.y-E/2;n.trace(`Data `,t,JSON.stringify(t));let k;if(t.look===`handDrawn`){let e=w.default.svg(h),r=y(t,{roughness:.7,fill:c,stroke:l,fillWeight:3,seed:o}),i=e.path(F(D,O,T,E,0),r);k=h.insert(()=>(n.debug(`Rough node insert CXC`,i),i),`:first-child`),k.select(`path:nth-child(2)`).attr(`style`,p.join(`;`)),k.select(`path`).attr(`style`,m.join(`;`).replace(`fill`,`stroke`))}else k=h.insert(`rect`,`:first-child`),k.attr(`style`,f).attr(`rx`,t.rx).attr(`ry`,t.ry).attr(`x`,D).attr(`y`,O).attr(`width`,T).attr(`height`,E);let{subGraphTitleTopMargin:A}=_(i);if(x.attr(`transform`,`translate(${t.x-C.width/2}, ${t.y-t.height/2+A})`),d){let e=x.select(`span`);e&&e.attr(`style`,d)}let j=k.node().getBBox();return t.offsetX=0,t.width=j.width,t.height=j.height,t.offsetY=C.height-t.padding/2,t.intersect=function(e){return N(t,e)},{cluster:h,labelBBox:C}},`rect`),ee={rect:L,squareRect:L,roundedWithTitle:t(async(e,t)=>{let n=u(),{themeVariables:i,handDrawnSeed:a}=n,{altBackground:o,compositeBackground:c,compositeTitleBackground:l,nodeBorder:d}=i,f=e.insert(`g`).attr(`class`,t.cssClasses).attr(`id`,t.domId).attr(`data-id`,t.id).attr(`data-look`,t.look),p=f.insert(`g`,`:first-child`),m=f.insert(`g`).attr(`class`,`cluster-label`),h=f.append(`rect`),g=await P(m,t.label,t.labelStyle,void 0,!0),_=g.getBBox();if(s(n)){let e=g.children[0],t=r(g);_=e.getBoundingClientRect(),t.attr(`width`,_.width),t.attr(`height`,_.height)}let v=0*t.padding,y=v/2,b=(t.width<=_.width+t.padding?_.width+t.padding:t.width)+v;t.width<=_.width+t.padding?t.diff=(b-t.width)/2-t.padding:t.diff=-t.padding;let x=t.height+v,S=t.height+v-_.height-6,C=t.x-b/2,T=t.y-x/2;t.width=b;let E=t.y-t.height/2-y+_.height+2,D;if(t.look===`handDrawn`){let e=t.cssClasses.includes(`statediagram-cluster-alt`),n=w.default.svg(f),r=t.rx||t.ry?n.path(F(C,T,b,x,10),{roughness:.7,fill:l,fillStyle:`solid`,stroke:d,seed:a}):n.rectangle(C,T,b,x,{seed:a});D=f.insert(()=>r,`:first-child`);let i=n.rectangle(C,E,b,S,{fill:e?o:c,fillStyle:e?`hachure`:`solid`,stroke:d,seed:a});D=f.insert(()=>r,`:first-child`),h=f.insert(()=>i)}else D=p.insert(`rect`,`:first-child`),D.attr(`class`,`outer`).attr(`x`,C).attr(`y`,T).attr(`width`,b).attr(`height`,x).attr(`data-look`,t.look),h.attr(`class`,`inner`).attr(`x`,C).attr(`y`,E).attr(`width`,b).attr(`height`,S);return m.attr(`transform`,`translate(${t.x-_.width/2}, ${T+1-(s(n)?0:3)})`),t.height=D.node().getBBox().height,t.offsetX=0,t.offsetY=_.height-t.padding/2,t.labelBBox=_,t.intersect=function(e){return N(t,e)},{cluster:f,labelBBox:_}},`roundedWithTitle`),noteGroup:t((e,t)=>{let n=e.insert(`g`).attr(`class`,`note-cluster`).attr(`id`,t.domId),r=n.insert(`rect`,`:first-child`),i=0*t.padding,a=i/2;r.attr(`rx`,t.rx).attr(`ry`,t.ry).attr(`x`,t.x-t.width/2-a).attr(`y`,t.y-t.height/2-a).attr(`width`,t.width+i).attr(`height`,t.height+i).attr(`fill`,`none`);let o=r.node().getBBox();return t.width=o.width,t.height=o.height,t.intersect=function(e){return N(t,e)},{cluster:n,labelBBox:{width:0,height:0}}},`noteGroup`),divider:t((e,t)=>{let{themeVariables:n,handDrawnSeed:r}=u(),{nodeBorder:i}=n,a=e.insert(`g`).attr(`class`,t.cssClasses).attr(`id`,t.domId).attr(`data-look`,t.look),o=a.insert(`g`,`:first-child`),s=0*t.padding,c=t.width+s;t.diff=-t.padding;let l=t.height+s,d=t.x-c/2,f=t.y-l/2;t.width=c;let p;if(t.look===`handDrawn`){let e=w.default.svg(a).rectangle(d,f,c,l,{fill:`lightgrey`,roughness:.5,strokeLineDash:[5],stroke:i,seed:r});p=a.insert(()=>e,`:first-child`)}else{p=o.insert(`rect`,`:first-child`);let e=`outer`;e=(t.look,`divider`),p.attr(`class`,e).attr(`x`,d).attr(`y`,f).attr(`width`,c).attr(`height`,l).attr(`data-look`,t.look)}return t.height=p.node().getBBox().height,t.offsetX=0,t.offsetY=0,t.intersect=function(e){return N(t,e)},{cluster:a,labelBBox:{}}},`divider`),kanbanSection:t(async(e,t)=>{n.info(`Creating subgraph rect for `,t.id,t);let i=u(),{themeVariables:a,handDrawnSeed:o}=i,{clusterBkg:c,clusterBorder:l}=a,{labelStyles:d,nodeStyles:f,borderStyles:p,backgroundStyles:m}=b(t),h=e.insert(`g`).attr(`class`,`cluster `+t.cssClasses).attr(`id`,t.domId).attr(`data-look`,t.look),v=s(i),x=h.insert(`g`).attr(`class`,`cluster-label `),S=await g(x,t.label,{style:t.labelStyle,useHtmlLabels:v,isNode:!0,width:t.width}),C=S.getBBox();if(s(i)){let e=S.children[0],t=r(S);C=e.getBoundingClientRect(),t.attr(`width`,C.width),t.attr(`height`,C.height)}let T=t.width<=C.width+t.padding?C.width+t.padding:t.width;t.width<=C.width+t.padding?t.diff=(T-t.width)/2-t.padding:t.diff=-t.padding;let E=t.height,D=t.x-T/2,O=t.y-E/2;n.trace(`Data `,t,JSON.stringify(t));let k;if(t.look===`handDrawn`){let e=w.default.svg(h),r=y(t,{roughness:.7,fill:c,stroke:l,fillWeight:4,seed:o}),i=e.path(F(D,O,T,E,t.rx),r);k=h.insert(()=>(n.debug(`Rough node insert CXC`,i),i),`:first-child`),k.select(`path:nth-child(2)`).attr(`style`,p.join(`;`)),k.select(`path`).attr(`style`,m.join(`;`).replace(`fill`,`stroke`))}else k=h.insert(`rect`,`:first-child`),k.attr(`style`,f).attr(`rx`,t.rx).attr(`ry`,t.ry).attr(`x`,D).attr(`y`,O).attr(`width`,T).attr(`height`,E);let{subGraphTitleTopMargin:A}=_(i);if(x.attr(`transform`,`translate(${t.x-C.width/2}, ${t.y-t.height/2+A})`),d){let e=x.select(`span`);e&&e.attr(`style`,d)}let j=k.node().getBBox();return t.offsetX=0,t.width=j.width,t.height=j.height,t.offsetY=C.height-t.padding/2,t.intersect=function(e){return N(t,e)},{cluster:h,labelBBox:C}},`kanbanSection`),swimlane:I},R=new Map,z=t(async(e,t)=>{let n=await ee[t.shape||`rect`](e,t);return R.set(t.id,n),n},`insertCluster`),te=t(()=>{R=new Map},`clear`);function B(e,t){return e.intersect(t)}t(B,`intersectNode`);var ne=B;function V(e,t,n,r){var i=e.x,a=e.y,o=i-r.x,s=a-r.y,c=Math.sqrt(t*t*s*s+n*n*o*o),l=Math.abs(t*n*o/c);r.x<i&&(l=-l);var u=Math.abs(t*n*s/c);return r.y<a&&(u=-u),{x:i+l,y:a+u}}t(V,`intersectEllipse`);var H=V;function re(e,t,n){return H(e,t,t,n)}t(re,`intersectCircle`);var ie=re;function U(e,t,n,r){{let i=t.y-e.y,a=e.x-t.x,o=t.x*e.y-e.x*t.y,s=i*n.x+a*n.y+o,c=i*r.x+a*r.y+o,l=1e-6;if(s!==0&&c!==0&&W(s,c))return;let u=r.y-n.y,d=n.x-r.x,f=r.x*n.y-n.x*r.y,p=u*e.x+d*e.y+f,m=u*t.x+d*t.y+f;if(Math.abs(p)<l&&Math.abs(m)<l&&W(p,m))return;let h=i*d-u*a;if(h===0)return;let g=Math.abs(h/2),_=a*f-d*o,v=_<0?(_-g)/h:(_+g)/h;return _=u*o-i*f,{x:v,y:_<0?(_-g)/h:(_+g)/h}}}t(U,`intersectLine`);function W(e,t){return e*t>0}t(W,`sameSign`);var G=U;function ae(e,t,n){let r=e.x,i=e.y,a=[],o=1/0,s=1/0;typeof t.forEach==`function`?t.forEach(function(e){o=Math.min(o,e.x),s=Math.min(s,e.y)}):(o=Math.min(o,t.x),s=Math.min(s,t.y));let c=r-e.width/2-o,l=i-e.height/2-s;for(let r=0;r<t.length;r++){let i=t[r],o=t[r<t.length-1?r+1:0],s=G(e,n,{x:c+i.x,y:l+i.y},{x:c+o.x,y:l+o.y});s&&a.push(s)}return a.length?(a.length>1&&a.sort(function(e,t){let r=e.x-n.x,i=e.y-n.y,a=Math.sqrt(r*r+i*i),o=t.x-n.x,s=t.y-n.y,c=Math.sqrt(o*o+s*s);return a<c?-1:a===c?0:1}),a[0]):e}t(ae,`intersectPolygon`);var K={node:ne,circle:ie,ellipse:H,polygon:ae,rect:N};function oe(e,t){let{labelStyles:r}=b(t);t.labelStyle=r;let i=O(t),a=i;i||(a=`anchor`);let o=e.insert(`g`).attr(`class`,a).attr(`id`,t.domId||t.id),{cssStyles:s}=t,c=w.default.svg(o),l=y(t,{fill:`black`,stroke:`none`,fillStyle:`solid`});t.look!==`handDrawn`&&(l.roughness=0);let u=c.circle(0,0,2,l),d=o.insert(()=>u,`:first-child`);return d.attr(`class`,`anchor`).attr(`style`,m(s)),D(t,d),t.intersect=function(e){return n.info(`Circle intersect`,t,1,e),K.circle(t,1,e)},o}t(oe,`anchor`);function se(e,t,n,r,i,a,o){let s=(e+n)/2,c=(t+r)/2,l=Math.atan2(r-t,n-e),u=(n-e)/2,d=(r-t)/2,f=u/i,p=d/a,m=Math.sqrt(f**2+p**2);if(m>1)throw Error(`The given radii are too small to create an arc between the points.`);let h=Math.sqrt(1-m**2),g=s+h*a*Math.sin(l)*(o?-1:1),_=c-h*i*Math.cos(l)*(o?-1:1),v=Math.atan2((t-_)/a,(e-g)/i),y=Math.atan2((r-_)/a,(n-g)/i)-v;o&&y<0&&(y+=2*Math.PI),!o&&y>0&&(y-=2*Math.PI);let b=[];for(let e=0;e<20;e++){let t=v+e/19*y,n=g+i*Math.cos(t),r=_+a*Math.sin(t);b.push({x:n,y:r})}return b}t(se,`generateArcPoints`);function ce(e,t,n){let[r,i]=[t,n].sort((e,t)=>t-e);return i*(1-Math.sqrt(1-(e/r/2)**2))}t(ce,`calculateArcSagitta`);async function le(e,n){let{labelStyles:r,nodeStyles:i}=b(n);n.labelStyle=r;let a=n.padding??0,o=n.look===`neo`?16:a,s=n.look===`neo`?12:a,c=t(e=>e+s,`calcTotalHeight`),l=t(e=>{let t=e/2;return[t/(2.5+e/50),t]},`calcEllipseRadius`),{shapeSvg:u,bbox:d}=await T(e,n,O(n)),f=c(n?.height?n?.height:d.height),[p,m]=l(f),h=ce(f,p,m),g=(n?.width?n?.width:d.width)+o*2+h-h,_=f,{cssStyles:v}=n,x=[{x:g/2,y:-_/2},{x:-g/2,y:-_/2},...se(-g/2,-_/2,-g/2,_/2,p,m,!1),{x:g/2,y:_/2},...se(g/2,_/2,g/2,-_/2,p,m,!0)],S=w.default.svg(u),C=y(n,{});n.look!==`handDrawn`&&(C.roughness=0,C.fillStyle=`solid`);let E=k(x),A=S.path(E,C),j=u.insert(()=>A,`:first-child`);return j.attr(`class`,`basic label-container outer-path`),v&&n.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,v),i&&n.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,i),j.attr(`transform`,`translate(${p/2}, 0)`),D(n,j),n.intersect=function(e){return K.polygon(n,x,e)},u}t(le,`bowTieRect`);function q(e,t,n,r){return e.insert(`polygon`,`:first-child`).attr(`points`,r.map(function(e){return e.x+`,`+e.y}).join(` `)).attr(`class`,`label-container`).attr(`transform`,`translate(`+-t/2+`,`+n/2+`)`)}t(q,`insertPolygonShape`);var ue=12;async function de(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?28:i,o=t.look===`neo`?24:i,{shapeSvg:s,bbox:c}=await T(e,t,O(t)),l=(t?.width??c.width)+(t.look===`neo`?a*2:a+ue),u=(t?.height??c.height)+(t.look===`neo`?o*2:o),d=l,f=-u,p=[{x:0+ue,y:f},{x:d,y:f},{x:d,y:0},{x:0,y:0},{x:0,y:f+ue},{x:0+ue,y:f}],m,{cssStyles:h}=t;if(t.look===`handDrawn`){let e=w.default.svg(s),n=y(t,{}),r=k(p),i=e.path(r,n);m=s.insert(()=>i,`:first-child`).attr(`transform`,`translate(${-l/2}, ${u/2})`),h&&m.attr(`style`,h)}else m=q(s,l,u,p);return r&&m.attr(`style`,r),D(t,m),t.intersect=function(e){return K.polygon(t,p,e)},s}t(de,`card`);function fe(e,t){let{nodeStyles:n}=b(t);t.label=``;let r=e.insert(`g`).attr(`class`,O(t)).attr(`id`,t.domId??t.id),{cssStyles:i}=t,a=Math.max(28,t.width??0),o=[{x:0,y:a/2},{x:a/2,y:0},{x:0,y:-a/2},{x:-a/2,y:0}],s=w.default.svg(r),c=y(t,{});t.look!==`handDrawn`&&(c.roughness=0,c.fillStyle=`solid`);let l=k(o),u=s.path(l,c),d=r.insert(()=>u,`:first-child`);return i&&t.look!==`handDrawn`&&d.selectAll(`path`).attr(`style`,i),n&&t.look!==`handDrawn`&&d.selectAll(`path`).attr(`style`,n),t.width=28,t.height=28,t.intersect=function(e){return K.polygon(t,o,e)},r}t(fe,`choice`);async function pe(e,t,r){let{labelStyles:i,nodeStyles:a}=b(t);t.labelStyle=i;let{shapeSvg:o,bbox:s,halfPadding:c}=await T(e,t,O(t)),l=r?.padding??c,u=t.look===`neo`?s.width/2+32:s.width/2+l,d,{cssStyles:f}=t;if(t.look===`handDrawn`){let e=w.default.svg(o),n=y(t,{}),r=e.circle(0,0,u*2,n);d=o.insert(()=>r,`:first-child`),d.attr(`class`,`basic label-container`).attr(`style`,m(f))}else d=o.insert(`circle`,`:first-child`).attr(`class`,`basic label-container`).attr(`style`,a).attr(`r`,u).attr(`cx`,0).attr(`cy`,0);return D(t,d),t.calcIntersect=function(e,t){let n=e.width/2;return K.circle(e,n,t)},t.intersect=function(e){return n.info(`Circle intersect`,t,u,e),K.circle(t,u,e)},o}t(pe,`circle`);function me(e){let t=Math.cos(Math.PI/4),n=Math.sin(Math.PI/4),r=e*2,i={x:r/2*t,y:r/2*n},a={x:-(r/2)*t,y:r/2*n},o={x:-(r/2)*t,y:-(r/2)*n},s={x:r/2*t,y:-(r/2)*n};return`M ${a.x},${a.y} L ${s.x},${s.y}
2
+ M ${i.x},${i.y} L ${o.x},${o.y}`}t(me,`createLine`);function he(e,t){let{labelStyles:r,nodeStyles:i}=b(t);t.labelStyle=r,t.label=``;let a=e.insert(`g`).attr(`class`,O(t)).attr(`id`,t.domId??t.id),o=Math.max(30,t?.width??0),{cssStyles:s}=t,c=w.default.svg(a),l=y(t,{});t.look!==`handDrawn`&&(l.roughness=0,l.fillStyle=`solid`);let u=c.circle(0,0,o*2,l),d=me(o),f=c.path(d,l),p=a.insert(()=>u,`:first-child`);return p.insert(()=>f),p.attr(`class`,`outer-path`),s&&t.look!==`handDrawn`&&p.selectAll(`path`).attr(`style`,s),i&&t.look!==`handDrawn`&&p.selectAll(`path`).attr(`style`,i),D(t,p),t.intersect=function(e){return n.info(`crossedCircle intersect`,t,{radius:o,point:e}),K.circle(t,o,e)},a}t(he,`crossedCircle`);function J(e,t,n,r=100,i=0,a=180){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:-a,y:-l})}return o}t(J,`generateCirclePoints`);async function ge(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let{shapeSvg:i,bbox:a,label:o}=await T(e,t,O(t)),s=t.look===`neo`?18:t.padding??0,c=t.look===`neo`?12:t.padding??0,l=a.width+s,u=a.height+c,d=Math.max(5,u*.1),{cssStyles:f}=t,p=[...J(l/2,-u/2,d,30,-90,0),{x:-l/2-d,y:d},...J(l/2+d*2,-d,d,20,-180,-270),...J(l/2+d*2,d,d,20,-90,-180),{x:-l/2-d,y:-u/2},...J(l/2,u/2,d,20,0,90)],m=[{x:l/2,y:-u/2-d},{x:-l/2,y:-u/2-d},...J(l/2,-u/2,d,20,-90,0),{x:-l/2-d,y:-d},...J(l/2+l*.1,-d,d,20,-180,-270),...J(l/2+l*.1,d,d,20,-90,-180),{x:-l/2-d,y:u/2},...J(l/2,u/2,d,20,0,90),{x:-l/2,y:u/2+d},{x:l/2,y:u/2+d}],h=w.default.svg(i),g=y(t,{fill:`none`});t.look!==`handDrawn`&&(g.roughness=0,g.fillStyle=`solid`);let _=k(p).replace(`Z`,``),v=h.path(_,g),x=k(m),S=h.path(x,{...g}),C=i.insert(`g`,`:first-child`);return C.insert(()=>S,`:first-child`).attr(`stroke-opacity`,0),C.insert(()=>v,`:first-child`),C.attr(`class`,`text`),f&&t.look!==`handDrawn`&&C.selectAll(`path`).attr(`style`,f),r&&t.look!==`handDrawn`&&C.selectAll(`path`).attr(`style`,r),C.attr(`transform`,`translate(${d}, 0)`),o.attr(`transform`,`translate(${-l/2+d-(a.x-(a.left??0))},${-u/2+(t.padding??0)/2-(a.y-(a.top??0))})`),D(t,C),t.intersect=function(e){return K.polygon(t,m,e)},i}t(ge,`curlyBraceLeft`);function Y(e,t,n,r=100,i=0,a=180){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:a,y:l})}return o}t(Y,`generateCirclePoints`);async function _e(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let{shapeSvg:i,bbox:a,label:o}=await T(e,t,O(t)),s=t.look===`neo`?18:t.padding??0,c=t.look===`neo`?12:t.padding??0,l=a.width+(t.look===`neo`?s*2:s),u=a.height+(t.look===`neo`?c*2:c),d=Math.max(5,u*.1),{cssStyles:f}=t,p=[...Y(l/2,-u/2,d,20,-90,0),{x:l/2+d,y:-d},...Y(l/2+d*2,-d,d,20,-180,-270),...Y(l/2+d*2,d,d,20,-90,-180),{x:l/2+d,y:u/2},...Y(l/2,u/2,d,20,0,90)],m=[{x:-l/2,y:-u/2-d},{x:l/2,y:-u/2-d},...Y(l/2,-u/2,d,20,-90,0),{x:l/2+d,y:-d},...Y(l/2+d*2,-d,d,20,-180,-270),...Y(l/2+d*2,d,d,20,-90,-180),{x:l/2+d,y:u/2},...Y(l/2,u/2,d,20,0,90),{x:l/2,y:u/2+d},{x:-l/2,y:u/2+d}],h=w.default.svg(i),g=y(t,{fill:`none`});t.look!==`handDrawn`&&(g.roughness=0,g.fillStyle=`solid`);let _=k(p).replace(`Z`,``),v=h.path(_,g),x=k(m),S=h.path(x,{...g}),C=i.insert(`g`,`:first-child`);return C.insert(()=>S,`:first-child`).attr(`stroke-opacity`,0),C.insert(()=>v,`:first-child`),C.attr(`class`,`text`),f&&t.look!==`handDrawn`&&C.selectAll(`path`).attr(`style`,f),r&&t.look!==`handDrawn`&&C.selectAll(`path`).attr(`style`,r),C.attr(`transform`,`translate(${-d}, 0)`),o.attr(`transform`,`translate(${-l/2+(t.padding??0)/2-(a.x-(a.left??0))},${-u/2+(t.padding??0)/2-(a.y-(a.top??0))})`),D(t,C),t.intersect=function(e){return K.polygon(t,m,e)},i}t(_e,`curlyBraceRight`);function X(e,t,n,r=100,i=0,a=180){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:-a,y:-l})}return o}t(X,`generateCirclePoints`);async function ve(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let{shapeSvg:i,bbox:a,label:o}=await T(e,t,O(t)),s=t.look===`neo`?18:t.padding??0,c=t.look===`neo`?12:t.padding??0,l=a.width+(t.look===`neo`?s*2:s),u=a.height+(t.look===`neo`?c*2:c),d=Math.max(5,u*.1),{cssStyles:f}=t,p=[...X(l/2,-u/2,d,30,-90,0),{x:-l/2-d,y:d},...X(l/2+d*2,-d,d,20,-180,-270),...X(l/2+d*2,d,d,20,-90,-180),{x:-l/2-d,y:-u/2},...X(l/2,u/2,d,20,0,90)],m=[...X(-l/2+d+d/2,-u/2,d,20,-90,-180),{x:l/2-d/2,y:d},...X(-l/2-d/2,-d,d,20,0,90),...X(-l/2-d/2,d,d,20,-90,0),{x:l/2-d/2,y:-d},...X(-l/2+d+d/2,u/2,d,30,-180,-270)],h=[{x:l/2,y:-u/2-d},{x:-l/2,y:-u/2-d},...X(l/2,-u/2,d,20,-90,0),{x:-l/2-d,y:-d},...X(l/2+d*2,-d,d,20,-180,-270),...X(l/2+d*2,d,d,20,-90,-180),{x:-l/2-d,y:u/2},...X(l/2,u/2,d,20,0,90),{x:-l/2,y:u/2+d},{x:l/2-d-d/2,y:u/2+d},...X(-l/2+d+d/2,-u/2,d,20,-90,-180),{x:l/2-d/2,y:d},...X(-l/2-d/2,-d,d,20,0,90),...X(-l/2-d/2,d,d,20,-90,0),{x:l/2-d/2,y:-d},...X(-l/2+d+d/2,u/2,d,30,-180,-270)],g=w.default.svg(i),_=y(t,{fill:`none`});t.look!==`handDrawn`&&(_.roughness=0,_.fillStyle=`solid`);let v=k(p).replace(`Z`,``),x=g.path(v,_),S=k(m).replace(`Z`,``),C=g.path(S,_),E=k(h),A=g.path(E,{..._}),j=i.insert(`g`,`:first-child`);return j.insert(()=>A,`:first-child`).attr(`stroke-opacity`,0),j.insert(()=>x,`:first-child`),j.insert(()=>C,`:first-child`),j.attr(`class`,`text`),f&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,f),r&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,r),j.attr(`transform`,`translate(${d-d/4}, 0)`),o.attr(`transform`,`translate(${-l/2+(t.padding??0)/2-(a.x-(a.left??0))},${-u/2+(t.padding??0)/2-(a.y-(a.top??0))})`),D(t,j),t.intersect=function(e){return K.polygon(t,h,e)},i}t(ve,`curlyBraces`);async function ye(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i,{shapeSvg:s,bbox:c}=await T(e,t,O(t)),l=Math.max(20,(c.width+a*2)*1.25,t?.width??0),u=Math.max(5,c.height+o*2,t?.height??0),d=u/2,{cssStyles:f}=t,p=w.default.svg(s),m=y(t,{});t.look!==`handDrawn`&&(m.roughness=0,m.fillStyle=`solid`);let h=l,g=u,_=h-d,v=g/4,x=[{x:_,y:0},{x:v,y:0},{x:0,y:g/2},{x:v,y:g},{x:_,y:g},...j(-_,-g/2,d,50,270,90)],S=k(x),C=p.path(S,m),E=s.insert(()=>C,`:first-child`);return E.attr(`class`,`basic label-container outer-path`),f&&t.look!==`handDrawn`&&E.selectChildren(`path`).attr(`style`,f),r&&t.look!==`handDrawn`&&E.selectChildren(`path`).attr(`style`,r),E.attr(`transform`,`translate(${-l/2}, ${-u/2})`),D(t,E),t.intersect=function(e){return K.polygon(t,x,e)},s}t(ye,`curvedTrapezoid`);var be=t((e,t,n,r,i,a)=>[`M${e},${t+a}`,`a${i},${a} 0,0,0 ${n},0`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`].join(` `),`createCylinderPathD`),xe=t((e,t,n,r,i,a)=>[`M${e},${t+a}`,`M${e+n},${t+a}`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`].join(` `),`createOuterCylinderPathD`),Se=t((e,t,n,r,i,a)=>[`M${e-n/2},${-r/2}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createInnerCylinderPathD`),Ce=8,we=8;async function Te(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?24:i,o=t.look===`neo`?24:i;if(t.width||t.height){let e=t.width??0;t.width=(t.width??0)-o,t.width<we&&(t.width=we);let n=e/2/(2.5+e/50);t.height=(t.height??0)-a-n*3,t.height<Ce&&(t.height=Ce)}let{shapeSvg:s,bbox:c,label:l}=await T(e,t,O(t)),u=(t.width?t.width:c.width)+o,d=u/2,f=d/(2.5+u/50),p=(t.height?t.height:c.height)+a+f,h,{cssStyles:g}=t;if(t.look===`handDrawn`){let e=w.default.svg(s),n=xe(0,0,u,p,d,f),r=Se(0,f,u,p,d,f),i=y(t,{}),a=e.path(n,i),o=e.path(r,y(t,{fill:`none`}));h=s.insert(()=>o,`:first-child`),h=s.insert(()=>a,`:first-child`),h.attr(`class`,`basic label-container`),g&&h.attr(`style`,g)}else{let e=be(0,0,u,p,d,f);h=s.insert(`path`,`:first-child`).attr(`d`,e).attr(`class`,`basic label-container outer-path`).attr(`style`,m(g)).attr(`style`,r)}return h.attr(`label-offset-y`,f),h.attr(`transform`,`translate(${-u/2}, ${-(p/2+f)})`),D(t,h),l.attr(`transform`,`translate(${-(c.width/2)-(c.x-(c.left??0))}, ${-(c.height/2)+(t.padding??0)/1.5-(c.y-(c.top??0))})`),t.intersect=function(e){let n=K.rect(t,e),r=n.x-(t.x??0);if(d!=0&&(Math.abs(r)<(t.width??0)/2||Math.abs(r)==(t.width??0)/2&&Math.abs(n.y-(t.y??0))>(t.height??0)/2-f)){let i=f*f*(1-r*r/(d*d));i>0&&(i=Math.sqrt(i)),i=f-i,e.y-(t.y??0)>0&&(i=-i),n.y+=i}return n},s}t(Te,`cylinder`);async function Ee(e,t,n){let{labelStyles:r,nodeStyles:i}=b(t);t.labelStyle=r;let{shapeSvg:a,bbox:o}=await T(e,t,O(t)),s=Math.max(o.width+n.labelPaddingX*2,t?.width||0),c=Math.max(o.height+n.labelPaddingY*2,t?.height||0),l=-s/2,u=-c/2,d,{rx:f,ry:p}=t,{cssStyles:h}=t;if(n?.rx&&n.ry&&(f=n.rx,p=n.ry),t.look===`handDrawn`){let e=w.default.svg(a),n=y(t,{}),r=f||p?e.path(F(l,u,s,c,f||0),n):e.rectangle(l,u,s,c,n);d=a.insert(()=>r,`:first-child`),d.attr(`class`,`basic label-container`).attr(`style`,m(h))}else d=a.insert(`rect`,`:first-child`),d.attr(`class`,`basic label-container`).attr(`style`,i).attr(`rx`,m(f)).attr(`ry`,m(p)).attr(`x`,l).attr(`y`,u).attr(`width`,s).attr(`height`,c);return D(t,d),t.calcIntersect=function(e,t){return K.rect(e,t)},t.intersect=function(e){return K.rect(t,e)},a}t(Ee,`drawRect`);async function De(e,t){let{cssClasses:n,labelPaddingX:r,labelPaddingY:i,padding:a,width:o,height:s}=t,c=await Ee(e,t,{rx:0,ry:0,classes:n??``,labelPaddingX:r??(a??0)*2,labelPaddingY:i??a??0});if(t.look===`handDrawn`){let e=w.default.svg(c),n=y(t,{}),r=c.select(`.basic.label-container > path:nth-child(2)`),i=r.node();if(!i)return c;let a=null;if(i instanceof SVGGraphicsElement)a=i.getBBox();else return c;return c.insert(()=>e.line(a.x,a.y,a.x+a.width,a.y,n),`.basic.label-container g.label`),c.insert(()=>e.line(a.x,a.y+a.height,a.x+a.width,a.y+a.height,n),`.basic.label-container g.label`),r.remove(),c}let l=c.select(`.basic.label-container`),u=(Number(l.attr(`width`))||o)??0,d=(Number(l.attr(`height`))||s)??0;return u>0&&d>0&&l.attr(`stroke-dasharray`,`${u} ${d}`),c}t(De,`datastore`);async function Oe(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.look===`neo`?16:t.padding??0,a=t.look===`neo`?16:t.padding??0,{shapeSvg:o,bbox:s,label:c}=await T(e,t,O(t)),l=s.width+i,u=s.height+a,d=u*.2,f=-l/2,p=-u/2-d/2,{cssStyles:m}=t,h=w.default.svg(o),g=y(t,{});t.look!==`handDrawn`&&(g.roughness=0,g.fillStyle=`solid`);let _=[{x:f,y:p+d},{x:-f,y:p+d},{x:-f,y:-p},{x:f,y:-p},{x:f,y:p},{x:-f,y:p},{x:-f,y:p+d}],v=h.polygon(_.map(e=>[e.x,e.y]),g),x=o.insert(()=>v,`:first-child`);return x.attr(`class`,`basic label-container outer-path`),m&&t.look!==`handDrawn`&&x.selectAll(`path`).attr(`style`,m),r&&t.look!==`handDrawn`&&x.selectAll(`path`).attr(`style`,r),c.attr(`transform`,`translate(${f+(t.padding??0)/2-(s.x-(s.left??0))}, ${p+d+(t.padding??0)/2-(s.y-(s.top??0))})`),D(t,x),t.intersect=function(e){return K.rect(t,e)},o}t(Oe,`dividedRectangle`);async function ke(e,t){let{labelStyles:r,nodeStyles:i}=b(t),a=t.look===`neo`?12:5;t.labelStyle=r;let o=t.padding??0,s=t.look===`neo`?16:o,{shapeSvg:c,bbox:l}=await T(e,t,O(t)),u=(t?.width?t?.width/2:l.width/2)+(s??0),d=u-a,f,{cssStyles:p}=t;if(t.look===`handDrawn`){let e=w.default.svg(c),n=y(t,{roughness:.2,strokeWidth:2.5}),r=y(t,{roughness:.2,strokeWidth:1.5}),i=e.circle(0,0,u*2,n),a=e.circle(0,0,d*2,r);f=c.insert(`g`,`:first-child`),f.attr(`class`,m(t.cssClasses)).attr(`style`,m(p)),f.node()?.appendChild(i),f.node()?.appendChild(a)}else{f=c.insert(`g`,`:first-child`);let e=f.insert(`circle`,`:first-child`),t=f.insert(`circle`);f.attr(`class`,`basic label-container`).attr(`style`,i),e.attr(`class`,`outer-circle`).attr(`style`,i).attr(`r`,u).attr(`cx`,0).attr(`cy`,0),t.attr(`class`,`inner-circle`).attr(`style`,i).attr(`r`,d).attr(`cx`,0).attr(`cy`,0)}return D(t,f),t.intersect=function(e){return n.info(`DoubleCircle intersect`,t,u,e),K.circle(t,u,e)},c}t(ke,`doublecircle`);function Ae(e,t,{config:{themeVariables:r}}){let{labelStyles:i,nodeStyles:a}=b(t);t.label=``,t.labelStyle=i;let o=e.insert(`g`).attr(`class`,O(t)).attr(`id`,t.domId??t.id),{cssStyles:s}=t,c=w.default.svg(o),{nodeBorder:l}=r,u=y(t,{fillStyle:`solid`});t.look!==`handDrawn`&&(u.roughness=0);let d=c.circle(0,0,14,u),f=o.insert(()=>d,`:first-child`);return f.selectAll(`path`).attr(`style`,`fill: ${l} !important;`),s&&s.length>0&&t.look!==`handDrawn`&&f.selectAll(`path`).attr(`style`,s),a&&t.look!==`handDrawn`&&f.selectAll(`path`).attr(`style`,a),D(t,f),t.intersect=function(e){return n.info(`filledCircle intersect`,t,{radius:7,point:e}),K.circle(t,7,e)},o}t(Ae,`filledCircle`);var je=10,Me=10;async function Ne(e,t){let{labelStyles:r,nodeStyles:i}=b(t);t.labelStyle=r;let a=t.padding??0,o=t.look===`neo`?a*2:a;(t.width||t.height)&&(t.height=t?.height??0,t.height<je&&(t.height=je),t.width=(t?.width??0)-o-o/2,t.width<Me&&(t.width=Me));let{shapeSvg:s,bbox:c,label:l}=await T(e,t,O(t)),u=(t?.width?t?.width:c.width)+(o??0),d=t?.height?t?.height:u+c.height,f=d,p=[{x:0,y:-d},{x:f,y:-d},{x:f/2,y:0}],{cssStyles:m}=t,h=w.default.svg(s),g=y(t,{});t.look!==`handDrawn`&&(g.roughness=0,g.fillStyle=`solid`);let _=k(p),v=h.path(_,g),x=s.insert(()=>v,`:first-child`).attr(`transform`,`translate(${-d/2}, ${d/2})`).attr(`class`,`outer-path`);return m&&t.look!==`handDrawn`&&x.selectChildren(`path`).attr(`style`,m),i&&t.look!==`handDrawn`&&x.selectChildren(`path`).attr(`style`,i),t.width=u,t.height=d,D(t,x),l.attr(`transform`,`translate(${-c.width/2-(c.x-(c.left??0))}, ${-d/2+(t.padding??0)/2+(c.y-(c.top??0))})`),t.intersect=function(e){return n.info(`Triangle intersect`,t,p,e),K.polygon(t,p,e)},s}t(Ne,`flippedTriangle`);function Pe(e,t,{dir:n,config:{state:r,themeVariables:i}}){let{nodeStyles:a}=b(t);t.label=``;let o=e.insert(`g`).attr(`class`,O(t)).attr(`id`,t.domId??t.id),{cssStyles:s}=t,c=Math.max(70,t?.width??0),l=Math.max(10,t?.height??0);n===`LR`&&(c=Math.max(10,t?.width??0),l=Math.max(70,t?.height??0));let u=-1*c/2,d=-1*l/2,f=w.default.svg(o),p=y(t,{stroke:i.lineColor,fill:i.lineColor});t.look!==`handDrawn`&&(p.roughness=0,p.fillStyle=`solid`);let m=f.rectangle(u,d,c,l,p),h=o.insert(()=>m,`:first-child`);s&&t.look!==`handDrawn`&&h.selectAll(`path`).attr(`style`,s),a&&t.look!==`handDrawn`&&h.selectAll(`path`).attr(`style`,a),D(t,h);let g=r?.padding??0;return t.width&&t.height&&(t.width+=g/2||0,t.height+=g/2||0),t.intersect=function(e){return K.rect(t,e)},o}t(Pe,`forkJoin`);async function Fe(e,t){let{labelStyles:r,nodeStyles:i}=b(t);t.labelStyle=r;let a=t.look===`neo`?16:t.padding??0,o=t.look===`neo`?12:t.padding??0;(t.width||t.height)&&(t.height=(t?.height??0)-o*2,t.height<10&&(t.height=10),t.width=(t?.width??0)-a*2,t.width<15&&(t.width=15));let{shapeSvg:s,bbox:c}=await T(e,t,O(t)),l=(t?.width?t?.width:Math.max(15,c.width))+a*2,u=(t?.height?t?.height:Math.max(10,c.height))+o*2,d=u/2,{cssStyles:f}=t,p=w.default.svg(s),m=y(t,{});t.look!==`handDrawn`&&(m.roughness=0,m.fillStyle=`solid`);let h=[{x:-l/2,y:-u/2},{x:l/2-d,y:-u/2},...j(-l/2+d,0,d,50,90,270),{x:l/2-d,y:u/2},{x:-l/2,y:u/2}],g=k(h),_=p.path(g,m),v=s.insert(()=>_,`:first-child`);return v.attr(`class`,`basic label-container outer-path`),f&&t.look!==`handDrawn`&&v.selectChildren(`path`).attr(`style`,f),i&&t.look!==`handDrawn`&&v.selectChildren(`path`).attr(`style`,i),D(t,v),t.intersect=function(e){return n.info(`Pill intersect`,t,{radius:d,point:e}),K.polygon(t,h,e)},s}t(Fe,`halfRoundedRectangle`);var Ie=t((e,t,n,r,i)=>[`M${e+i},${t}`,`L${e+n-i},${t}`,`L${e+n},${t-r/2}`,`L${e+n-i},${t-r}`,`L${e+i},${t-r}`,`L${e},${t-r/2}`,`Z`].join(` `),`createHexagonPathD`);async function Le(e,t){let{labelStyles:n,nodeStyles:r}=b(t),i=t.look===`neo`?3.5:4;t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?70:a,s=t.look===`neo`?32:a;if(t.width||t.height){let e=(t.height??0)/i;t.width=(t?.width??0)-2*e-s,t.height=(t.height??0)-o}let{shapeSvg:c,bbox:l}=await T(e,t,O(t)),u=(t?.height?t?.height:l.height)+o,d=u/i,f=(t?.width?t?.width:l.width)+2*d+s,p=[{x:d,y:0},{x:f-d,y:0},{x:f,y:-u/2},{x:f-d,y:-u},{x:d,y:-u},{x:0,y:-u/2}],m,{cssStyles:h}=t;if(t.look===`handDrawn`){let e=w.default.svg(c),n=y(t,{}),r=Ie(0,0,f,u,d),i=e.path(r,n);m=c.insert(()=>i,`:first-child`).attr(`transform`,`translate(${-f/2}, ${u/2})`),h&&m.attr(`style`,h)}else m=q(c,f,u,p);return r&&m.attr(`style`,r),t.width=f,t.height=u,D(t,m),t.intersect=function(e){return K.polygon(t,p,e)},c}t(Le,`hexagon`);async function Re(e,t){let{labelStyles:r,nodeStyles:i}=b(t);t.label=``,t.labelStyle=r;let{shapeSvg:a}=await T(e,t,O(t)),o=Math.max(30,t?.width??0),s=Math.max(30,t?.height??0),{cssStyles:c}=t,l=w.default.svg(a),u=y(t,{});t.look!==`handDrawn`&&(u.roughness=0,u.fillStyle=`solid`);let d=[{x:0,y:0},{x:o,y:0},{x:0,y:s},{x:o,y:s}],f=k(d),p=l.path(f,u),m=a.insert(()=>p,`:first-child`);return m.attr(`class`,`basic label-container outer-path`),c&&t.look!==`handDrawn`&&m.selectChildren(`path`).attr(`style`,c),i&&t.look!==`handDrawn`&&m.selectChildren(`path`).attr(`style`,i),m.attr(`transform`,`translate(${-o/2}, ${-s/2})`),D(t,m),t.intersect=function(e){return n.info(`Pill intersect`,t,{points:d}),K.polygon(t,d,e)},a}t(Re,`hourglass`);async function ze(e,t,{config:{themeVariables:r,flowchart:i}}){let{labelStyles:a}=b(t);t.labelStyle=a;let o=t.assetHeight??48,s=t.assetWidth??48,c=Math.max(o,s),l=i?.wrappingWidth;t.width=Math.max(c,l??0);let{shapeSvg:u,bbox:d,label:f}=await T(e,t,`icon-shape default`),p=t.pos===`t`,m=c,g=c,{nodeBorder:_}=r,{stylesMap:v}=S(t),x=-g/2,C=-m/2,E=t.label?8:0,O=w.default.svg(u),k=y(t,{stroke:`none`,fill:`none`});t.look!==`handDrawn`&&(k.roughness=0,k.fillStyle=`solid`);let A=O.rectangle(x,C,g,m,k),j=Math.max(g,d.width),M=m+d.height+E,N=O.rectangle(-j/2,-M/2,j,M,{...k,fill:`transparent`,stroke:`none`}),P=u.insert(()=>A,`:first-child`),F=u.insert(()=>N);if(t.icon){let e=u.append(`g`);e.html(`<g>${await h(t.icon,{height:c,width:c,fallbackPrefix:``})}</g>`);let n=e.node().getBBox(),r=n.width,i=n.height,a=n.x,o=n.y;e.attr(`transform`,`translate(${-r/2-a},${p?d.height/2+E/2-i/2-o:-d.height/2-E/2-i/2-o})`),e.attr(`style`,`color: ${v.get(`stroke`)??_};`)}return f.attr(`transform`,`translate(${-d.width/2-(d.x-(d.left??0))},${p?-M/2:M/2-d.height})`),P.attr(`transform`,`translate(0,${p?d.height/2+E/2:-d.height/2-E/2})`),D(t,F),t.intersect=function(e){if(n.info(`iconSquare intersect`,t,e),!t.label)return K.rect(t,e);let r=t.x??0,i=t.y??0,a=t.height??0,o=[];return o=p?[{x:r-d.width/2,y:i-a/2},{x:r+d.width/2,y:i-a/2},{x:r+d.width/2,y:i-a/2+d.height+E},{x:r+g/2,y:i-a/2+d.height+E},{x:r+g/2,y:i+a/2},{x:r-g/2,y:i+a/2},{x:r-g/2,y:i-a/2+d.height+E},{x:r-d.width/2,y:i-a/2+d.height+E}]:[{x:r-g/2,y:i-a/2},{x:r+g/2,y:i-a/2},{x:r+g/2,y:i-a/2+m},{x:r+d.width/2,y:i-a/2+m},{x:r+d.width/2/2,y:i+a/2},{x:r-d.width/2,y:i+a/2},{x:r-d.width/2,y:i-a/2+m},{x:r-g/2,y:i-a/2+m}],K.polygon(t,o,e)},u}t(ze,`icon`);async function Be(e,t,{config:{themeVariables:r,flowchart:i}}){let{labelStyles:a}=b(t);t.labelStyle=a;let o=t.assetHeight??48,s=t.assetWidth??48,c=Math.max(o,s),l=i?.wrappingWidth;t.width=Math.max(c,l??0);let{shapeSvg:u,bbox:d,label:f}=await T(e,t,`icon-shape default`),p=t.label?8:0,m=t.pos===`t`,{nodeBorder:g,mainBkg:_}=r,{stylesMap:v}=S(t),x=w.default.svg(u),C=y(t,{});t.look!==`handDrawn`&&(C.roughness=0,C.fillStyle=`solid`),C.stroke=v.get(`fill`)??_;let E=u.append(`g`);t.icon&&E.html(`<g>${await h(t.icon,{height:c,width:c,fallbackPrefix:``})}</g>`);let O=E.node().getBBox(),k=O.width,A=O.height,j=O.x,M=O.y,N=Math.max(k,A)*Math.SQRT2+40,P=x.circle(0,0,N,C),F=Math.max(N,d.width),I=N+d.height+p,L=x.rectangle(-F/2,-I/2,F,I,{...C,fill:`transparent`,stroke:`none`}),ee=u.insert(()=>P,`:first-child`),R=u.insert(()=>L);return E.attr(`transform`,`translate(${-k/2-j},${m?d.height/2+p/2-A/2-M:-d.height/2-p/2-A/2-M})`),E.attr(`style`,`color: ${v.get(`stroke`)??g};`),f.attr(`transform`,`translate(${-d.width/2-(d.x-(d.left??0))},${m?-I/2:I/2-d.height})`),ee.attr(`transform`,`translate(0,${m?d.height/2+p/2:-d.height/2-p/2})`),D(t,R),t.intersect=function(e){return n.info(`iconSquare intersect`,t,e),K.rect(t,e)},u}t(Be,`iconCircle`);async function Ve(e,t,{config:{themeVariables:r,flowchart:i}}){let{labelStyles:a}=b(t);t.labelStyle=a;let o=t.assetHeight??48,s=t.assetWidth??48,c=Math.max(o,s),l=i?.wrappingWidth;t.width=Math.max(c,l??0);let{shapeSvg:u,bbox:d,halfPadding:f,label:p}=await T(e,t,`icon-shape default`),m=t.pos===`t`,g=c+f*2,_=c+f*2,{nodeBorder:v,mainBkg:x}=r,{stylesMap:C}=S(t),E=-_/2,O=-g/2,k=t.label?8:0,A=w.default.svg(u),j=y(t,{});t.look!==`handDrawn`&&(j.roughness=0,j.fillStyle=`solid`),j.stroke=C.get(`fill`)??x;let M=A.path(F(E,O,_,g,5),j),N=Math.max(_,d.width),P=g+d.height+k,I=A.rectangle(-N/2,-P/2,N,P,{...j,fill:`transparent`,stroke:`none`}),L=u.insert(()=>M,`:first-child`).attr(`class`,`icon-shape2`),ee=u.insert(()=>I);if(t.icon){let e=u.append(`g`);e.html(`<g>${await h(t.icon,{height:c,width:c,fallbackPrefix:``})}</g>`);let n=e.node().getBBox(),r=n.width,i=n.height,a=n.x,o=n.y;e.attr(`transform`,`translate(${-r/2-a},${m?d.height/2+k/2-i/2-o:-d.height/2-k/2-i/2-o})`),e.attr(`style`,`color: ${C.get(`stroke`)??v};`)}return p.attr(`transform`,`translate(${-d.width/2-(d.x-(d.left??0))},${m?-P/2:P/2-d.height})`),L.attr(`transform`,`translate(0,${m?d.height/2+k/2:-d.height/2-k/2})`),D(t,ee),t.intersect=function(e){if(n.info(`iconSquare intersect`,t,e),!t.label)return K.rect(t,e);let r=t.x??0,i=t.y??0,a=t.height??0,o=[];return o=m?[{x:r-d.width/2,y:i-a/2},{x:r+d.width/2,y:i-a/2},{x:r+d.width/2,y:i-a/2+d.height+k},{x:r+_/2,y:i-a/2+d.height+k},{x:r+_/2,y:i+a/2},{x:r-_/2,y:i+a/2},{x:r-_/2,y:i-a/2+d.height+k},{x:r-d.width/2,y:i-a/2+d.height+k}]:[{x:r-_/2,y:i-a/2},{x:r+_/2,y:i-a/2},{x:r+_/2,y:i-a/2+g},{x:r+d.width/2,y:i-a/2+g},{x:r+d.width/2/2,y:i+a/2},{x:r-d.width/2,y:i+a/2},{x:r-d.width/2,y:i-a/2+g},{x:r-_/2,y:i-a/2+g}],K.polygon(t,o,e)},u}t(Ve,`iconRounded`);async function He(e,t,{config:{themeVariables:r,flowchart:i}}){let{labelStyles:a}=b(t);t.labelStyle=a;let o=t.assetHeight??48,s=t.assetWidth??48,c=Math.max(o,s),l=i?.wrappingWidth;t.width=Math.max(c,l??0);let{shapeSvg:u,bbox:d,halfPadding:f,label:p}=await T(e,t,`icon-shape default`),m=t.pos===`t`,g=c+f*2,_=c+f*2,{nodeBorder:v,mainBkg:x}=r,{stylesMap:C}=S(t),E=-_/2,O=-g/2,k=t.label?8:0,A=w.default.svg(u),j=y(t,{});t.look!==`handDrawn`&&(j.roughness=0,j.fillStyle=`solid`),j.stroke=C.get(`fill`)??x;let M=A.path(F(E,O,_,g,.1),j),N=Math.max(_,d.width),P=g+d.height+k,I=A.rectangle(-N/2,-P/2,N,P,{...j,fill:`transparent`,stroke:`none`}),L=u.insert(()=>M,`:first-child`),ee=u.insert(()=>I);if(t.icon){let e=u.append(`g`);e.html(`<g>${await h(t.icon,{height:c,width:c,fallbackPrefix:``})}</g>`);let n=e.node().getBBox(),r=n.width,i=n.height,a=n.x,o=n.y;e.attr(`transform`,`translate(${-r/2-a},${m?d.height/2+k/2-i/2-o:-d.height/2-k/2-i/2-o})`),e.attr(`style`,`color: ${C.get(`stroke`)??v};`)}return p.attr(`transform`,`translate(${-d.width/2-(d.x-(d.left??0))},${m?-P/2:P/2-d.height})`),L.attr(`transform`,`translate(0,${m?d.height/2+k/2:-d.height/2-k/2})`),D(t,ee),t.intersect=function(e){if(n.info(`iconSquare intersect`,t,e),!t.label)return K.rect(t,e);let r=t.x??0,i=t.y??0,a=t.height??0,o=[];return o=m?[{x:r-d.width/2,y:i-a/2},{x:r+d.width/2,y:i-a/2},{x:r+d.width/2,y:i-a/2+d.height+k},{x:r+_/2,y:i-a/2+d.height+k},{x:r+_/2,y:i+a/2},{x:r-_/2,y:i+a/2},{x:r-_/2,y:i-a/2+d.height+k},{x:r-d.width/2,y:i-a/2+d.height+k}]:[{x:r-_/2,y:i-a/2},{x:r+_/2,y:i-a/2},{x:r+_/2,y:i-a/2+g},{x:r+d.width/2,y:i-a/2+g},{x:r+d.width/2/2,y:i+a/2},{x:r-d.width/2,y:i+a/2},{x:r-d.width/2,y:i-a/2+g},{x:r-_/2,y:i-a/2+g}],K.polygon(t,o,e)},u}t(He,`iconSquare`);async function Ue(e,t,{config:{flowchart:r}}){let i=new Image;i.src=t?.img??``,await i.decode();let a=Number(i.naturalWidth.toString().replace(`px`,``)),o=Number(i.naturalHeight.toString().replace(`px`,``));t.imageAspectRatio=a/o;let{labelStyles:s}=b(t);t.labelStyle=s;let c=r?.wrappingWidth;t.defaultWidth=r?.wrappingWidth;let l=Math.max(t.label?c??0:0,t?.assetWidth??a),u=t.constraint===`on`&&t?.assetHeight?t.assetHeight*t.imageAspectRatio:l,d=t.constraint===`on`?u/t.imageAspectRatio:t?.assetHeight??o;t.width=Math.max(u,c??0);let{shapeSvg:f,bbox:p,label:m}=await T(e,t,`image-shape default`),h=t.pos===`t`,g=-u/2,_=-d/2,v=t.label?8:0,x=w.default.svg(f),S=y(t,{});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=x.rectangle(g,_,u,d,S),E=Math.max(u,p.width),O=d+p.height+v,k=x.rectangle(-E/2,-O/2,E,O,{...S,fill:`none`,stroke:`none`}),A=f.insert(()=>C,`:first-child`),j=f.insert(()=>k);if(t.img){let e=f.append(`image`);e.attr(`href`,t.img),e.attr(`width`,u),e.attr(`height`,d),e.attr(`preserveAspectRatio`,`none`),e.attr(`transform`,`translate(${-u/2},${h?O/2-d:-O/2})`)}return m.attr(`transform`,`translate(${-p.width/2-(p.x-(p.left??0))},${h?-d/2-p.height/2-v/2:d/2-p.height/2+v/2})`),A.attr(`transform`,`translate(0,${h?p.height/2+v/2:-p.height/2-v/2})`),D(t,j),t.intersect=function(e){if(n.info(`iconSquare intersect`,t,e),!t.label)return K.rect(t,e);let r=t.x??0,i=t.y??0,a=t.height??0,o=[];return o=h?[{x:r-p.width/2,y:i-a/2},{x:r+p.width/2,y:i-a/2},{x:r+p.width/2,y:i-a/2+p.height+v},{x:r+u/2,y:i-a/2+p.height+v},{x:r+u/2,y:i+a/2},{x:r-u/2,y:i+a/2},{x:r-u/2,y:i-a/2+p.height+v},{x:r-p.width/2,y:i-a/2+p.height+v}]:[{x:r-u/2,y:i-a/2},{x:r+u/2,y:i-a/2},{x:r+u/2,y:i-a/2+d},{x:r+p.width/2,y:i-a/2+d},{x:r+p.width/2/2,y:i+a/2},{x:r-p.width/2,y:i+a/2},{x:r-p.width/2,y:i-a/2+d},{x:r-u/2,y:i-a/2+d}],K.polygon(t,o,e)},f}t(Ue,`imageSquare`);async function We(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.padding??0,a=i,o=t.look===`neo`?i*2:i,{shapeSvg:s,bbox:c}=await T(e,t,O(t)),l=Math.max(c.width+(o??0)*2,t?.width??0),u=Math.max(c.height+(a??0)*2,t?.height??0),d=[{x:0,y:0},{x:l,y:0},{x:l+3*u/6,y:-u},{x:-3*u/6,y:-u}],f,{cssStyles:p}=t;if(t.look===`handDrawn`){let e=w.default.svg(s),n=y(t,{}),r=k(d),i=e.path(r,n);f=s.insert(()=>i,`:first-child`).attr(`transform`,`translate(${-l/2}, ${u/2})`),p&&f.attr(`style`,p)}else f=q(s,l,u,d);return r&&f.attr(`style`,r),t.width=l,t.height=u,D(t,f),t.intersect=function(e){return K.polygon(t,d,e)},s}t(We,`inv_trapezoid`);async function Ge(e,t){let{shapeSvg:n,bbox:r,label:i}=await T(e,t,`label`),a=n.insert(`rect`,`:first-child`);return a.attr(`width`,.1).attr(`height`,.1),n.attr(`class`,`label edgeLabel`),i.attr(`transform`,`translate(${-(r.width/2)-(r.x-(r.left??0))}, ${-(r.height/2)-(r.y-(r.top??0))})`),D(t,a),t.intersect=function(e){return K.rect(t,e)},n}t(Ge,`labelRect`);async function Ke(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.padding??0,a=i,o=t.look===`neo`?i*2:i,{shapeSvg:s,bbox:c}=await T(e,t,O(t)),l=(t?.height??c.height)+a,u=(t?.width??c.width)+o,d=[{x:0,y:0},{x:u+3*l/6,y:0},{x:u,y:-l},{x:-(3*l)/6,y:-l}],f,{cssStyles:p}=t;if(t.look===`handDrawn`){let e=w.default.svg(s),n=y(t,{}),r=k(d),i=e.path(r,n);f=s.insert(()=>i,`:first-child`).attr(`transform`,`translate(${-u/2}, ${l/2})`),p&&f.attr(`style`,p)}else f=q(s,u,l,d);return r&&f.attr(`style`,r),t.width=u,t.height=l,D(t,f),t.intersect=function(e){return K.polygon(t,d,e)},s}t(Ke,`lean_left`);async function qe(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.padding??0,a=i,o=t.look===`neo`?i*2:i,{shapeSvg:s,bbox:c}=await T(e,t,O(t)),l=(t?.height??c.height)+a,u=(t?.width??c.width)+o,d=[{x:-3*l/6,y:0},{x:u,y:0},{x:u+3*l/6,y:-l},{x:0,y:-l}],f,{cssStyles:p}=t;if(t.look===`handDrawn`){let e=w.default.svg(s),n=y(t,{}),r=k(d),i=e.path(r,n);f=s.insert(()=>i,`:first-child`).attr(`transform`,`translate(${-u/2}, ${l/2})`),p&&f.attr(`style`,p)}else f=q(s,u,l,d);return r&&f.attr(`style`,r),t.width=u,t.height=l,D(t,f),t.intersect=function(e){return K.polygon(t,d,e)},s}t(qe,`lean_right`);function Je(e,t){let{labelStyles:r,nodeStyles:i}=b(t);t.label=``,t.labelStyle=r;let a=e.insert(`g`).attr(`class`,O(t)).attr(`id`,t.domId??t.id),{cssStyles:o}=t,s=Math.max(35,t?.width??0),c=Math.max(35,t?.height??0),l=[{x:s,y:0},{x:0,y:c+7/2},{x:s-14,y:c+7/2},{x:0,y:2*c},{x:s,y:c-7/2},{x:14,y:c-7/2}],u=w.default.svg(a),d=y(t,{});t.look!==`handDrawn`&&(d.roughness=0,d.fillStyle=`solid`);let f=k(l),p=u.path(f,d),m=a.insert(()=>p,`:first-child`);return m.attr(`class`,`outer-path`),o&&t.look!==`handDrawn`&&m.selectAll(`path`).attr(`style`,o),i&&t.look!==`handDrawn`&&m.selectAll(`path`).attr(`style`,i),m.attr(`transform`,`translate(-${s/2},${-c})`),D(t,m),t.intersect=function(e){return n.info(`lightningBolt intersect`,t,e),K.polygon(t,l,e)},a}t(Je,`lightningBolt`);var Ye=t((e,t,n,r,i,a,o)=>[`M${e},${t+a}`,`a${i},${a} 0,0,0 ${n},0`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`,`M${e},${t+a+o}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createCylinderPathD`),Xe=t((e,t,n,r,i,a,o)=>[`M${e},${t+a}`,`M${e+n},${t+a}`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`,`M${e},${t+a+o}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createOuterCylinderPathD`),Ze=t((e,t,n,r,i,a)=>[`M${e-n/2},${-r/2}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createInnerCylinderPathD`),Qe=10,$e=10;async function et(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?24:i;if(t.width||t.height){let e=t.width??0;t.width=(t.width??0)-a,t.width<$e&&(t.width=$e);let n=e/2/(2.5+e/50);t.height=(t.height??0)-o-n*3,t.height<Qe&&(t.height=Qe)}let{shapeSvg:s,bbox:c,label:l}=await T(e,t,O(t)),u=(t?.width?t?.width:c.width)+a*2,d=u/2,f=d/(2.5+u/50),p=(t?.height?t?.height:c.height)+f+o*2,h=p*.1,g,{cssStyles:_}=t;if(t.look===`handDrawn`){let e=w.default.svg(s),n=Xe(0,0,u,p,d,f,h),r=Ze(0,f,u,p,d,f),i=y(t,{}),a=e.path(n,i),o=e.path(r,i);s.insert(()=>o,`:first-child`).attr(`class`,`line`),g=s.insert(()=>a,`:first-child`),g.attr(`class`,`basic label-container`),_&&g.attr(`style`,_)}else{let e=Ye(0,0,u,p,d,f,h);g=s.insert(`path`,`:first-child`).attr(`d`,e).attr(`class`,`basic label-container outer-path`).attr(`style`,m(_)).attr(`style`,r)}return g.attr(`label-offset-y`,f),g.attr(`transform`,`translate(${-u/2}, ${-(p/2+f)})`),D(t,g),l.attr(`transform`,`translate(${-(c.width/2)-(c.x-(c.left??0))}, ${-(c.height/2)+f-(c.y-(c.top??0))})`),t.intersect=function(e){let n=K.rect(t,e),r=n.x-(t.x??0);if(d!=0&&(Math.abs(r)<(t.width??0)/2||Math.abs(r)==(t.width??0)/2&&Math.abs(n.y-(t.y??0))>(t.height??0)/2-f)){let i=f*f*(1-r*r/(d*d));i>0&&(i=Math.sqrt(i)),i=f-i,e.y-(t.y??0)>0&&(i=-i),n.y+=i}return n},s}t(et,`linedCylinder`);async function tt(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i;(t.width||t.height)&&(t.width=(t.width??0)*10/11-a*2,t.width<10&&(t.width=10),t.height=(t?.height??0)-o*2,t.height<10&&(t.height=10));let{shapeSvg:s,bbox:c,label:l}=await T(e,t,O(t)),u=(t?.width?t?.width:c.width)+(a??0)*2,d=(t?.height?t?.height:c.height)+(o??0)*2,f=t.look===`neo`?d/4:d/8,p=d+f,{cssStyles:m}=t,h=w.default.svg(s),g=y(t,{});t.look!==`handDrawn`&&(g.roughness=0,g.fillStyle=`solid`);let _=[{x:-u/2-u/2*.1,y:-p/2},{x:-u/2-u/2*.1,y:p/2},...A(-u/2-u/2*.1,p/2,u/2+u/2*.1,p/2,f,.8),{x:u/2+u/2*.1,y:-p/2},{x:-u/2-u/2*.1,y:-p/2},{x:-u/2,y:-p/2},{x:-u/2,y:p/2*1.1},{x:-u/2,y:-p/2}],v=h.polygon(_.map(e=>[e.x,e.y]),g),x=s.insert(()=>v,`:first-child`);return x.attr(`class`,`basic label-container outer-path`),m&&t.look!==`handDrawn`&&x.selectAll(`path`).attr(`style`,m),r&&t.look!==`handDrawn`&&x.selectAll(`path`).attr(`style`,r),x.attr(`transform`,`translate(0,${-f/2})`),l.attr(`transform`,`translate(${-u/2+(t.padding??0)+u/2*.1/2-(c.x-(c.left??0))},${-d/2+(t.padding??0)-f/2-(c.y-(c.top??0))})`),D(t,x),t.intersect=function(e){return K.polygon(t,_,e)},s}t(tt,`linedWaveEdgedRect`);async function nt(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i,s=t.look===`neo`?10:5;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-a*2-2*s,10),t.height=Math.max((t?.height??0)-o*2-2*s,10));let{shapeSvg:c,bbox:l,label:u}=await T(e,t,O(t)),d=(t?.width?t?.width:l.width)+a*2+2*s,f=(t?.height?t?.height:l.height)+o*2+2*s,p=d-2*s,m=f-2*s,h=-p/2,g=-m/2,{cssStyles:_}=t,v=w.default.svg(c),x=y(t,{}),S=[{x:h-s,y:g+s},{x:h-s,y:g+m+s},{x:h+p-s,y:g+m+s},{x:h+p-s,y:g+m},{x:h+p,y:g+m},{x:h+p,y:g+m-s},{x:h+p+s,y:g+m-s},{x:h+p+s,y:g-s},{x:h+s,y:g-s},{x:h+s,y:g},{x:h,y:g},{x:h,y:g+s}],C=[{x:h,y:g+s},{x:h+p-s,y:g+s},{x:h+p-s,y:g+m},{x:h+p,y:g+m},{x:h+p,y:g},{x:h,y:g}];t.look!==`handDrawn`&&(x.roughness=0,x.fillStyle=`solid`);let E=k(S),A=v.path(E,x),j=k(C),N=v.path(j,x);t.look!==`handDrawn`&&(A=M(A),N=M(N));let P=c.insert(`g`,`:first-child`);return P.insert(()=>A),P.insert(()=>N),P.attr(`class`,`basic label-container outer-path`),_&&t.look!==`handDrawn`&&P.selectAll(`path`).attr(`style`,_),r&&t.look!==`handDrawn`&&P.selectAll(`path`).attr(`style`,r),u.attr(`transform`,`translate(${-(l.width/2)-s-(l.x-(l.left??0))}, ${-(l.height/2)+s-(l.y-(l.top??0))})`),D(t,P),t.intersect=function(e){return K.polygon(t,S,e)},c}t(nt,`multiRect`);async function rt(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let{shapeSvg:i,bbox:a,label:o}=await T(e,t,O(t)),s=t.padding??0,c=t.look===`neo`?16:s,l=t.look===`neo`?12:s,u=!0;(t.width||t.height)&&(u=!1,t.width=(t?.width??0)-c*2,t.height=(t?.height??0)-l*3);let d=Math.max(a.width,t?.width??0)+c*2,f=Math.max(a.height,t?.height??0)+l*3,p=t.look===`neo`?f/4:f/8,m=f+(u?p/2:-p/2),h=-d/2,g=-m/2,{cssStyles:_}=t,v=A(h-10,g+m+10,h+d-10,g+m+10,p,.8),x=v?.[v.length-1],S=[{x:h-10,y:g+10},{x:h-10,y:g+m+10},...v,{x:h+d-10,y:x.y-10},{x:h+d,y:x.y-10},{x:h+d,y:x.y-20},{x:h+d+10,y:x.y-20},{x:h+d+10,y:g-10},{x:h+10,y:g-10},{x:h+10,y:g},{x:h,y:g},{x:h,y:g+10}],C=[{x:h,y:g+10},{x:h+d-10,y:g+10},{x:h+d-10,y:x.y-10},{x:h+d,y:x.y-10},{x:h+d,y:g},{x:h,y:g}],E=w.default.svg(i),j=y(t,{});t.look!==`handDrawn`&&(j.roughness=0,j.fillStyle=`solid`);let M=k(S),N=E.path(M,j),P=k(C),F=E.path(P,j),I=i.insert(()=>N,`:first-child`);return I.insert(()=>F),I.attr(`class`,`basic label-container outer-path`),_&&t.look!==`handDrawn`&&I.selectAll(`path`).attr(`style`,_),r&&t.look!==`handDrawn`&&I.selectAll(`path`).attr(`style`,r),I.attr(`transform`,`translate(0,${-p/2})`),o.attr(`transform`,`translate(${-(a.width/2)-10-(a.x-(a.left??0))}, ${-(a.height/2)+10-p/2-(a.y-(a.top??0))})`),D(t,I),t.intersect=function(e){return K.polygon(t,S,e)},i}t(rt,`multiWaveEdgedRectangle`);async function it(e,t,{config:{themeVariables:n}}){let{labelStyles:r,nodeStyles:i}=b(t);t.labelStyle=r,t.useHtmlLabels||s(c())||(t.centerLabel=!0);let{shapeSvg:a,bbox:o,label:l}=await T(e,t,O(t)),u=Math.max(o.width+(t.padding??0)*2,t?.width??0),d=Math.max(o.height+(t.padding??0)*2,t?.height??0),f=-u/2,p=-d/2,{cssStyles:m}=t,h=w.default.svg(a),g=y(t,{fill:n.noteBkgColor,stroke:n.noteBorderColor});t.look!==`handDrawn`&&(g.roughness=0,g.fillStyle=`solid`);let _=h.rectangle(f,p,u,d,g),v=a.insert(()=>_,`:first-child`);return v.attr(`class`,`basic label-container outer-path`),l.attr(`class`,`label noteLabel`),m&&t.look!==`handDrawn`&&v.selectAll(`path`).attr(`style`,m),i&&t.look!==`handDrawn`&&v.selectAll(`path`).attr(`style`,i),l.attr(`transform`,`translate(${-o.width/2-(o.x-(o.left??0))}, ${-(o.height/2)-(o.y-(o.top??0))})`),D(t,v),t.intersect=function(e){return K.rect(t,e)},a}t(it,`note`);var at=t((e,t,n)=>[`M${e+n/2},${t}`,`L${e+n},${t-n/2}`,`L${e+n/2},${t-n}`,`L${e},${t-n/2}`,`Z`].join(` `),`createDecisionBoxPathD`);async function ot(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let{shapeSvg:i,bbox:a}=await T(e,t,O(t)),o=a.width+(t.padding??0)+(a.height+(t.padding??0)),s=.5,c=[{x:o/2,y:0},{x:o,y:-o/2},{x:o/2,y:-o},{x:0,y:-o/2}],l,{cssStyles:u}=t;if(t.look===`handDrawn`){let e=w.default.svg(i),n=y(t,{}),r=at(0,0,o),a=e.path(r,n);l=i.insert(()=>a,`:first-child`).attr(`transform`,`translate(${-o/2+s}, ${o/2})`),u&&l.attr(`style`,u)}else l=q(i,o,o,c),l.attr(`transform`,`translate(${-o/2+s}, ${o/2})`);return r&&l.attr(`style`,r),D(t,l),t.calcIntersect=function(e,t){let n=e.width,r=[{x:n/2,y:0},{x:n,y:-n/2},{x:n/2,y:-n},{x:0,y:-n/2}],i=K.polygon(e,r,t);return{x:i.x-.5,y:i.y-.5}},t.intersect=function(e){return this.calcIntersect(t,e)},i}t(ot,`question`);async function st(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?21:i??0,o=t.look===`neo`?12:i??0,{shapeSvg:s,bbox:c,label:l}=await T(e,t,O(t)),u=(t?.width??c.width)+(t.look===`neo`?a*2:a),d=(t?.height??c.height)+(t.look===`neo`?o*2:o),f=-u/2,p=-d/2,m=p/2,h=[{x:f+m,y:p},{x:f,y:0},{x:f+m,y:-p},{x:-f,y:-p},{x:-f,y:p}],{cssStyles:g}=t,_=w.default.svg(s),v=y(t,{});t.look!==`handDrawn`&&(v.roughness=0,v.fillStyle=`solid`);let x=k(h),S=_.path(x,v),C=s.insert(()=>S,`:first-child`);return C.attr(`class`,`basic label-container outer-path`),g&&t.look!==`handDrawn`&&C.selectAll(`path`).attr(`style`,g),r&&t.look!==`handDrawn`&&C.selectAll(`path`).attr(`style`,r),C.attr(`transform`,`translate(${-m/2},0)`),l.attr(`transform`,`translate(${-m/2-c.width/2-(c.x-(c.left??0))}, ${-(c.height/2)-(c.y-(c.top??0))})`),D(t,C),t.intersect=function(e){return K.polygon(t,h,e)},s}t(st,`rect_left_inv_arrow`);async function ct(e,t){let{labelStyles:i,nodeStyles:a}=b(t);t.labelStyle=i;let o;o=t.cssClasses?`node `+t.cssClasses:`node default`;let c=e.insert(`g`).attr(`class`,o).attr(`id`,t.domId||t.id),l=c.insert(`g`),d=c.insert(`g`).attr(`class`,`label`).attr(`style`,a),f=t.description,p=t.label,m=await P(d,p,t.labelStyle,!0,!0),h={width:0,height:0};if(s(u())){let e=m.children[0],t=r(m);h=e.getBoundingClientRect(),t.attr(`width`,h.width),t.attr(`height`,h.height)}n.info(`Text 2`,f);let g=f||[],_=m.getBBox(),v=await P(d,Array.isArray(g)?g.join(`<br/>`):g,t.labelStyle,!0,!0),x=v.children[0],S=r(v);h=x.getBoundingClientRect(),S.attr(`width`,h.width),S.attr(`height`,h.height);let C=(t.padding||0)/2;r(v).attr(`transform`,`translate( `+(h.width>_.width?0:(_.width-h.width)/2)+`, `+(_.height+C+5)+`)`),r(m).attr(`transform`,`translate( `+(h.width<_.width?0:-(_.width-h.width)/2)+`, 0)`),h=d.node().getBBox(),d.attr(`transform`,`translate(`+-h.width/2+`, `+(-h.height/2-C+3)+`)`);let T=h.width+(t.padding||0),E=h.height+(t.padding||0),O=-h.width/2-C,k=-h.height/2-C,A,j;if(t.look===`handDrawn`){let e=w.default.svg(c),r=y(t,{}),i=e.path(F(O,k,T,E,t.rx||0),r),a=e.line(-h.width/2-C,-h.height/2-C+_.height+C,h.width/2+C,-h.height/2-C+_.height+C,r);j=c.insert(()=>(n.debug(`Rough node insert CXC`,i),a),`:first-child`),A=c.insert(()=>(n.debug(`Rough node insert CXC`,i),i),`:first-child`)}else A=l.insert(`rect`,`:first-child`),j=l.insert(`line`),A.attr(`class`,`outer title-state`).attr(`style`,a).attr(`x`,-h.width/2-C).attr(`y`,-h.height/2-C).attr(`width`,h.width+(t.padding||0)).attr(`height`,h.height+(t.padding||0)),j.attr(`class`,`divider`).attr(`x1`,-h.width/2-C).attr(`x2`,h.width/2+C).attr(`y1`,-h.height/2-C+_.height+C).attr(`y2`,-h.height/2-C+_.height+C);return D(t,A),t.intersect=function(e){return K.rect(t,e)},c}t(ct,`rectWithTitle`);async function lt(e,t,{config:{themeVariables:n}}){let r=n?.radius??5;return Ee(e,t,{rx:r,ry:r,classes:``,labelPaddingX:(t?.padding??0)*1,labelPaddingY:(t?.padding??0)*1})}t(lt,`roundedRect`);var Z=8;async function ut(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.look===`neo`?16:t.padding??0,a=t.look===`neo`?12:t.padding??0,{shapeSvg:o,bbox:s,label:c}=await T(e,t,O(t)),l=(t?.width??s.width)+i*2+(t.look===`neo`?Z:Z*2),u=(t?.height??s.height)+a*2,d=l-Z,f=u,p=Z-l/2,h=-u/2,{cssStyles:g}=t,_=w.default.svg(o),v=y(t,{});t.look!==`handDrawn`&&(v.roughness=0,v.fillStyle=`solid`);let x=[{x:p,y:h},{x:p+d,y:h},{x:p+d,y:h+f},{x:p-Z,y:h+f},{x:p-Z,y:h},{x:p,y:h},{x:p,y:h+f}],S=_.polygon(x.map(e=>[e.x,e.y]),v),C=o.insert(()=>S,`:first-child`);return C.attr(`class`,`basic label-container outer-path`).attr(`style`,m(g)),r&&t.look!==`handDrawn`&&C.selectAll(`path`).attr(`style`,r),g&&t.look!==`handDrawn`&&C.selectAll(`path`).attr(`style`,r),c.attr(`transform`,`translate(${Z/2-s.width/2-(s.x-(s.left??0))}, ${-(s.height/2)-(s.y-(s.top??0))})`),D(t,C),t.intersect=function(e){return K.rect(t,e)},o}t(ut,`shadedProcess`);async function dt(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-a*2,10),t.height=Math.max((t?.height??0)/1.5-o*2,10));let{shapeSvg:s,bbox:c,label:l}=await T(e,t,O(t)),u=(t?.width?t?.width:c.width)+a*2,d=((t?.height?t?.height:c.height)+o*2)*1.5,f=u,p=d/1.5,m=-f/2,h=-p/2,{cssStyles:g}=t,_=w.default.svg(s),v=y(t,{});t.look!==`handDrawn`&&(v.roughness=0,v.fillStyle=`solid`);let x=[{x:m,y:h},{x:m,y:h+p},{x:m+f,y:h+p},{x:m+f,y:h-p/2}],S=k(x),C=_.path(S,v),E=s.insert(()=>C,`:first-child`);return E.attr(`class`,`basic label-container outer-path`),g&&t.look!==`handDrawn`&&E.selectChildren(`path`).attr(`style`,g),r&&t.look!==`handDrawn`&&E.selectChildren(`path`).attr(`style`,r),E.attr(`transform`,`translate(0, ${p/4})`),l.attr(`transform`,`translate(${-f/2+(t.padding??0)-(c.x-(c.left??0))}, ${-p/4+(t.padding??0)-(c.y-(c.top??0))})`),D(t,E),t.intersect=function(e){return K.polygon(t,x,e)},s}t(dt,`slopedRect`);async function ft(e,t){let n=t.padding??0,r=t.look===`neo`?16:n*2,i=t.look===`neo`?12:n;return Ee(e,t,{rx:0,ry:0,classes:``,labelPaddingX:t.labelPaddingX??r,labelPaddingY:i})}t(ft,`squareRect`);async function pt(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?20:i,o=t.look===`neo`?12:i,{shapeSvg:s,bbox:c}=await T(e,t,O(t)),l=c.height+(t.look===`neo`?o*2:o),u=c.width+l/4+(t.look===`neo`?a*2:a),d=l/2,{cssStyles:f}=t,p=w.default.svg(s),m=y(t,{});t.look!==`handDrawn`&&(m.roughness=0,m.fillStyle=`solid`);let h=[{x:-u/2+d,y:-l/2},{x:u/2-d,y:-l/2},...j(-u/2+d,0,d,50,90,270),{x:u/2-d,y:l/2},...j(u/2-d,0,d,50,270,450)],g=k(h),_=p.path(g,m),v=s.insert(()=>_,`:first-child`);return v.attr(`class`,`basic label-container outer-path`),f&&t.look!==`handDrawn`&&v.selectChildren(`path`).attr(`style`,f),r&&t.look!==`handDrawn`&&v.selectChildren(`path`).attr(`style`,r),D(t,v),t.intersect=function(e){return K.polygon(t,h,e)},s}t(pt,`stadium`);async function mt(e,t){return Ee(e,t,{rx:t.look===`neo`?3:5,ry:t.look===`neo`?3:5,classes:`flowchart-node`})}t(mt,`state`);function ht(e,t,{config:{themeVariables:n}}){let{labelStyles:r,nodeStyles:i}=b(t);t.labelStyle=r;let{cssStyles:a}=t,{lineColor:o,stateBorder:s,nodeBorder:c,nodeShadow:l}=n;(t.width||t.height)&&((t.width??0)<14&&(t.width=14),(t.height??0)<14&&(t.height=14)),t.width||=14,t.height||=14;let u=e.insert(`g`).attr(`class`,`node default`).attr(`id`,t.domId??t.id),d=w.default.svg(u),f=y(t,{});t.look!==`handDrawn`&&(f.roughness=0,f.fillStyle=`solid`);let p=d.circle(0,0,t.width,{...f,stroke:o,strokeWidth:2}),m=s??c,h=(t.width??0)*5/14,g=d.circle(0,0,h,{...f,fill:m,stroke:m,strokeWidth:2,fillStyle:`solid`}),_=u.insert(()=>p,`:first-child`);if(_.insert(()=>g),t.look!==`handDrawn`&&_.attr(`class`,`outer-path`),a&&_.selectAll(`path`).attr(`style`,a),i&&_.selectAll(`path`).attr(`style`,i),t.width<25&&l&&t.look!==`handDrawn`){let t=e.node()?.ownerSVGElement?.id??``,n=t?`${t}-drop-shadow-small`:`drop-shadow-small`;_.attr(`style`,`filter:url(#${n})`)}return D(t,_),t.intersect=function(e){return K.circle(t,(t.width??0)/2,e)},u}t(ht,`stateEnd`);function gt(e,t,{config:{themeVariables:n}}){let{lineColor:r,nodeShadow:i}=n;(t.width||t.height)&&((t.width??0)<14&&(t.width=14),(t.height??0)<14&&(t.height=14)),t.width||=14,t.height||=14;let a=e.insert(`g`).attr(`class`,`node default`).attr(`id`,t.domId||t.id),o;if(t.look===`handDrawn`){let e=w.default.svg(a).circle(0,0,t.width,x(r));o=a.insert(()=>e),o.attr(`class`,`state-start`).attr(`r`,(t.width??7)/2).attr(`width`,t.width??14).attr(`height`,t.height??14)}else o=a.insert(`circle`,`:first-child`),o.attr(`class`,`state-start`).attr(`r`,(t.width??7)/2).attr(`width`,t.width??14).attr(`height`,t.height??14);if(t.width<25&&i&&t.look!==`handDrawn`){let t=e.node()?.ownerSVGElement?.id??``,n=t?`${t}-drop-shadow-small`:`drop-shadow-small`;o.attr(`style`,`filter:url(#${n})`)}return D(t,o),t.intersect=function(e){return K.circle(t,(t.width??7)/2,e)},a}t(gt,`stateStart`);var _t=8;async function vt(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t?.padding??8,a=t.look===`neo`?28:i,o=t.look===`neo`?12:i,{shapeSvg:s,bbox:c}=await T(e,t,O(t)),l=(t?.width??c.width)+2*_t+a,u=(t?.height??c.height)+o,d=l-2*_t,f=u,p=-l/2,h=-u/2,g=[{x:0,y:0},{x:d,y:0},{x:d,y:-f},{x:0,y:-f},{x:0,y:0},{x:-8,y:0},{x:d+8,y:0},{x:d+8,y:-f},{x:-8,y:-f},{x:-8,y:0}];if(t.look===`handDrawn`){let e=w.default.svg(s),n=y(t,{}),r=e.rectangle(p,h,d+16,f,n),i=e.line(p+_t,h,p+_t,h+f,n),a=e.line(p+_t+d,h,p+_t+d,h+f,n);s.insert(()=>i,`:first-child`),s.insert(()=>a,`:first-child`);let o=s.insert(()=>r,`:first-child`),{cssStyles:c}=t;o.attr(`class`,`basic label-container`).attr(`style`,m(c)),D(t,o)}else{let e=q(s,d,f,g);r&&e.attr(`style`,r),D(t,e)}return t.intersect=function(e){return K.polygon(t,g,e)},s}t(vt,`subroutine`);var yt=.2;async function bt(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i;(t.width||t.height)&&(t.height=Math.max((t?.height??0)-o*2,10),t.width=Math.max((t?.width??0)-a*2-yt*(t.height+o*2),10));let{shapeSvg:s,bbox:c}=await T(e,t,O(t)),l=(t?.height?t?.height:c.height)+o*2,u=yt*l,d=yt*l,f=(t?.width?t?.width:c.width)+a*2+u-u,p=l,m=-f/2,h=-p/2,{cssStyles:g}=t,_=w.default.svg(s),v=y(t,{}),x=[{x:m-u/2,y:h},{x:m+f+u/2,y:h},{x:m+f+u/2,y:h+p},{x:m-u/2,y:h+p}],S=[{x:m+f-u/2,y:h+p},{x:m+f+u/2,y:h+p},{x:m+f+u/2,y:h+p-d}];t.look!==`handDrawn`&&(v.roughness=0,v.fillStyle=`solid`);let C=k(x),E=_.path(C,v),A=k(S),j=_.path(A,{...v,fillStyle:`solid`}),M=s.insert(()=>j,`:first-child`);return M.insert(()=>E,`:first-child`),M.attr(`class`,`basic label-container outer-path`),g&&t.look!==`handDrawn`&&M.selectAll(`path`).attr(`style`,g),r&&t.look!==`handDrawn`&&M.selectAll(`path`).attr(`style`,r),D(t,M),t.intersect=function(e){return K.polygon(t,x,e)},s}t(bt,`taggedRect`);async function xt(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let{shapeSvg:i,bbox:a,label:o}=await T(e,t,O(t)),s=Math.max(a.width+(t.padding??0)*2,t?.width??0),c=Math.max(a.height+(t.padding??0)*2,t?.height??0),l=c/8,u=.2*s,d=.2*c,f=c+l,{cssStyles:p}=t,m=w.default.svg(i),h=y(t,{});t.look!==`handDrawn`&&(h.roughness=0,h.fillStyle=`solid`);let g=[{x:-s/2-s/2*.1,y:f/2},...A(-s/2-s/2*.1,f/2,s/2+s/2*.1,f/2,l,.8),{x:s/2+s/2*.1,y:-f/2},{x:-s/2-s/2*.1,y:-f/2}],_=-s/2+s/2*.1,v=-f/2-d*.4,x=[{x:_+s-u,y:(v+c)*1.3},{x:_+s,y:v+c-d},{x:_+s,y:(v+c)*.9},...A(_+s,(v+c)*1.25,_+s-u,(v+c)*1.3,-c*.02,.5)],S=k(g),C=m.path(S,h),E=k(x),j=m.path(E,{...h,fillStyle:`solid`}),M=i.insert(()=>j,`:first-child`);return M.insert(()=>C,`:first-child`),M.attr(`class`,`basic label-container outer-path`),p&&t.look!==`handDrawn`&&M.selectAll(`path`).attr(`style`,p),r&&t.look!==`handDrawn`&&M.selectAll(`path`).attr(`style`,r),M.attr(`transform`,`translate(0,${-l/2})`),o.attr(`transform`,`translate(${-s/2+(t.padding??0)-(a.x-(a.left??0))},${-c/2+(t.padding??0)-l/2-(a.y-(a.top??0))})`),D(t,M),t.intersect=function(e){return K.polygon(t,g,e)},i}t(xt,`taggedWaveEdgedRectangle`);async function St(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let{shapeSvg:i,bbox:a}=await T(e,t,O(t)),o=Math.max(a.width+(t.padding??0),t?.width||0),s=Math.max(a.height+(t.padding??0),t?.height||0),c=-o/2,l=-s/2,u=i.insert(`rect`,`:first-child`);return u.attr(`class`,`text`).attr(`style`,r).attr(`rx`,0).attr(`ry`,0).attr(`x`,c).attr(`y`,l).attr(`width`,o).attr(`height`,s),D(t,u),t.intersect=function(e){return K.rect(t,e)},i}t(St,`text`);var Ct=t((e,t,n,r,i,a)=>`M${e},${t}
3
+ a${i},${a} 0,0,1 0,${-r}
4
+ l${n},0
5
+ a${i},${a} 0,0,1 0,${r}
6
+ M${n},${-r}
7
+ a${i},${a} 0,0,0 0,${r}
8
+ l${-n},0`,`createCylinderPathD`),wt=t((e,t,n,r,i,a)=>[`M${e},${t}`,`M${e+n},${t}`,`a${i},${a} 0,0,0 0,${-r}`,`l${-n},0`,`a${i},${a} 0,0,0 0,${r}`,`l${n},0`].join(` `),`createOuterCylinderPathD`),Tt=t((e,t,n,r,i,a)=>[`M${e+n/2},${-r/2}`,`a${i},${a} 0,0,0 0,${r}`].join(` `),`createInnerCylinderPathD`),Et=5,Dt=10;async function Ot(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?12:i/2;if(t.width||t.height){let e=t.height??0;t.height=(t.height??0)-a,t.height<Et&&(t.height=Et);let n=e/2/(2.5+e/50);t.width=(t.width??0)-a-n*3,t.width<Dt&&(t.width=Dt)}let{shapeSvg:o,bbox:s,label:c}=await T(e,t,O(t)),l=(t.height?t.height:s.height)+a,u=l/2,d=u/(2.5+l/50),f=(t.width?t.width:s.width)+d+a,{cssStyles:p}=t,h;if(t.look===`handDrawn`){let e=w.default.svg(o),n=wt(0,0,f,l,d,u),r=Tt(0,0,f,l,d,u),i=e.path(n,y(t,{})),a=e.path(r,y(t,{fill:`none`}));h=o.insert(()=>a,`:first-child`),h=o.insert(()=>i,`:first-child`),h.attr(`class`,`basic label-container`),p&&h.attr(`style`,p)}else{let e=Ct(0,0,f,l,d,u);h=o.insert(`path`,`:first-child`).attr(`d`,e).attr(`class`,`basic label-container`).attr(`style`,m(p)).attr(`style`,r),h.attr(`class`,`basic label-container outer-path`),p&&h.selectAll(`path`).attr(`style`,p),r&&h.selectAll(`path`).attr(`style`,r)}return h.attr(`label-offset-x`,d),h.attr(`transform`,`translate(${-f/2}, ${l/2} )`),c.attr(`transform`,`translate(${-(s.width/2)-d-(s.x-(s.left??0))}, ${-(s.height/2)-(s.y-(s.top??0))})`),D(t,h),t.intersect=function(e){let n=K.rect(t,e),r=n.y-(t.y??0);if(u!=0&&(Math.abs(r)<(t.height??0)/2||Math.abs(r)==(t.height??0)/2&&Math.abs(n.x-(t.x??0))>(t.width??0)/2-d)){let i=d*d*(1-r*r/(u*u));i!=0&&(i=Math.sqrt(Math.abs(i))),i=d-i,e.x-(t.x??0)>0&&(i=-i),n.x+=i}return n},o}t(Ot,`tiltedCylinder`);async function kt(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.padding??0,a=(t.look,i),o=t.look===`neo`?i*2:i,{shapeSvg:s,bbox:c}=await T(e,t,O(t)),l=(t?.height??c.height)+a,u=(t?.width??c.width)+o,d=[{x:-3*l/6,y:0},{x:u+3*l/6,y:0},{x:u,y:-l},{x:0,y:-l}],f,{cssStyles:p}=t;if(t.look===`handDrawn`){let e=w.default.svg(s),n=y(t,{}),r=k(d),i=e.path(r,n);f=s.insert(()=>i,`:first-child`).attr(`transform`,`translate(${-u/2}, ${l/2})`),p&&f.attr(`style`,p)}else f=q(s,u,l,d);return r&&f.attr(`style`,r),t.width=u,t.height=l,D(t,f),t.intersect=function(e){return K.polygon(t,d,e)},s}t(kt,`trapezoid`);async function At(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i;(t.width||t.height)&&(t.height=(t.height??0)-o*2,t.height<5&&(t.height=5),t.width=(t.width??0)-a*2,t.width<15&&(t.width=15));let{shapeSvg:s,bbox:c}=await T(e,t,O(t)),l=(t?.width?t?.width:c.width)+a*2,u=(t?.height?t?.height:c.height)+o*2,{cssStyles:d}=t,f=w.default.svg(s),p=y(t,{});t.look!==`handDrawn`&&(p.roughness=0,p.fillStyle=`solid`);let m=[{x:-l/2*.8,y:-u/2},{x:l/2*.8,y:-u/2},{x:l/2,y:-u/2*.6},{x:l/2,y:u/2},{x:-l/2,y:u/2},{x:-l/2,y:-u/2*.6}],h=k(m),g=f.path(h,p),_=s.insert(()=>g,`:first-child`);return _.attr(`class`,`basic label-container outer-path`),d&&t.look!==`handDrawn`&&_.selectChildren(`path`).attr(`style`,d),r&&t.look!==`handDrawn`&&_.selectChildren(`path`).attr(`style`,r),D(t,_),t.intersect=function(e){return K.polygon(t,m,e)},s}t(At,`trapezoidalPentagon`);var jt=10,Mt=10;async function Nt(e,t){let{labelStyles:r,nodeStyles:i}=b(t);t.labelStyle=r;let a=t.padding??0,o=t.look===`neo`?a*2:a;(t.width||t.height)&&(t.width=((t?.width??0)-o)/2,t.width<Mt&&(t.width=Mt),t.height=t?.height??0,t.height<jt&&(t.height=jt));let{shapeSvg:s,bbox:c,label:d}=await T(e,t,O(t)),f=l(u().flowchart?.htmlLabels),p=(t?.width?t?.width:c.width)+o,m=t?.height?t?.height:p+c.height,h=m,g=[{x:0,y:0},{x:h,y:0},{x:h/2,y:-m}],{cssStyles:_}=t,v=w.default.svg(s),x=y(t,{});t.look!==`handDrawn`&&(x.roughness=0,x.fillStyle=`solid`);let S=k(g),C=v.path(S,x),E=s.insert(()=>C,`:first-child`).attr(`transform`,`translate(${-m/2}, ${m/2})`).attr(`class`,`outer-path`);return _&&t.look!==`handDrawn`&&E.selectChildren(`path`).attr(`style`,_),i&&t.look!==`handDrawn`&&E.selectChildren(`path`).attr(`style`,i),t.width=p,t.height=m,D(t,E),d.attr(`transform`,`translate(${-c.width/2-(c.x-(c.left??0))}, ${m/2-(c.height+(t.padding??0)/(f?2:1)-(c.y-(c.top??0)))})`),t.intersect=function(e){return n.info(`Triangle intersect`,t,g,e),K.polygon(t,g,e)},s}t(Nt,`triangle`);async function Pt(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i,s=!0;(t.width||t.height)&&(s=!1,t.width=(t?.width??0)-a*2,t.width<10&&(t.width=10),t.height=(t?.height??0)-o*2,t.height<10&&(t.height=10));let{shapeSvg:c,bbox:l,label:u}=await T(e,t,O(t)),d=(t?.width?t?.width:l.width)+(a??0)*2,f=(t?.height?t?.height:l.height)+(o??0)*2,p=t.look===`neo`?f/4:f/8,m=f+(s?p:-p),{cssStyles:h}=t,g=14-d,_=g>0?g/2:0,v=w.default.svg(c),x=y(t,{});t.look!==`handDrawn`&&(x.roughness=0,x.fillStyle=`solid`);let S=[{x:-d/2-_,y:m/2},...A(-d/2-_,m/2,d/2+_,m/2,p,.8),{x:d/2+_,y:-m/2},{x:-d/2-_,y:-m/2}],C=k(S),E=v.path(C,x),j=c.insert(()=>E,`:first-child`);return j.attr(`class`,`basic label-container outer-path`),h&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,h),r&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,r),j.attr(`transform`,`translate(0,${-p/2})`),u.attr(`transform`,`translate(${-d/2+(t.padding??0)-(l.x-(l.left??0))},${-f/2+(t.padding??0)-p-(l.y-(l.top??0))})`),D(t,j),t.intersect=function(e){return K.polygon(t,S,e)},c}t(Pt,`waveEdgedRectangle`);async function Ft(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?20:i;if(t.width||t.height){t.width=t?.width??0,t.width<20&&(t.width=20),t.height=t?.height??0,t.height<10&&(t.height=10);let e=Math.min(t.height*.2,t.height/4);t.height=Math.ceil(t.height-o-20/9*e),t.width-=a*2}let{shapeSvg:s,bbox:c}=await T(e,t,O(t)),l=(t?.width?t?.width:c.width)+a*2,u=(t?.height?t?.height:c.height)+o,d=u/8,f=u+d*2,{cssStyles:p}=t,m=w.default.svg(s),h=y(t,{});t.look!==`handDrawn`&&(h.roughness=0,h.fillStyle=`solid`);let g=[{x:-l/2,y:f/2},...A(-l/2,f/2,l/2,f/2,d,1),{x:l/2,y:-f/2},...A(l/2,-f/2,-l/2,-f/2,d,-1)],_=k(g),v=m.path(_,h),x=s.insert(()=>v,`:first-child`);return x.attr(`class`,`basic label-container`),p&&t.look!==`handDrawn`&&x.selectAll(`path`).attr(`style`,p),r&&t.look!==`handDrawn`&&x.selectAll(`path`).attr(`style`,r),D(t,x),t.intersect=function(e){return K.polygon(t,g,e)},s}t(Ft,`waveRectangle`);var Q=10;async function It(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let i=t.look===`neo`?16:t.padding??0,a=t.look===`neo`?12:t.padding??0;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-i*2-Q,10),t.height=Math.max((t?.height??0)-a*2-Q,10));let{shapeSvg:o,bbox:s,label:c}=await T(e,t,O(t)),l=(t?.width?t?.width:s.width)+i*2+Q,u=(t?.height?t?.height:s.height)+a*2+Q,d=l-Q,f=u-Q,p=-d/2,m=-f/2,{cssStyles:h}=t,g=w.default.svg(o),_=y(t,{}),v=[{x:p-Q,y:m-Q},{x:p-Q,y:m+f},{x:p+d,y:m+f},{x:p+d,y:m-Q}],x=`M${p-Q},${m-Q} L${p+d},${m-Q} L${p+d},${m+f} L${p-Q},${m+f} L${p-Q},${m-Q}
9
+ M${p-Q},${m} L${p+d},${m}
10
+ M${p},${m-Q} L${p},${m+f}`;t.look!==`handDrawn`&&(_.roughness=0,_.fillStyle=`solid`);let S=g.path(x,_),C=o.insert(()=>S,`:first-child`);return C.attr(`transform`,`translate(${Q/2}, ${Q/2})`),C.attr(`class`,`basic label-container outer-path`),h&&t.look!==`handDrawn`&&C.selectAll(`path`).attr(`style`,h),r&&t.look!==`handDrawn`&&C.selectAll(`path`).attr(`style`,r),c.attr(`transform`,`translate(${-(s.width/2)+Q/2-(s.x-(s.left??0))}, ${-(s.height/2)+Q/2-(s.y-(s.top??0))})`),D(t,C),t.intersect=function(e){return K.polygon(t,v,e)},o}t(It,`windowPane`);var Lt=new Set([`redux-color`,`redux-dark-color`]),Rt=new Set([`redux`,`redux-dark`,`redux-color`,`redux-dark-color`]);async function zt(e,t){let n=t;n.alias&&(t.label=n.alias);let{theme:i,themeVariables:a}=c(),{rowEven:o,rowOdd:s,nodeBorder:u,borderColorArray:d}=a;if(t.look===`handDrawn`){let{themeVariables:n}=c(),{background:r}=n;await zt(e,{...t,id:t.id+`-background`,domId:(t.domId||t.id)+`-background`,look:`default`,cssStyles:[`stroke: none`,`fill: ${r}`]})}let f=c();t.useHtmlLabels=f.htmlLabels;let m=f.er?.diagramPadding??10,h=f.er?.entityPadding??6,{cssStyles:g}=t,{labelStyles:_,nodeStyles:v}=b(t);if(n.attributes.length===0&&t.label){let r={rx:0,ry:0,labelPaddingX:m,labelPaddingY:m*1.5,classes:``};p(t.label,f)+r.labelPaddingX*2<f.er.minEntityWidth&&(t.width=f.er.minEntityWidth);let a=await Ee(e,t,r);if(i!=null&&Lt.has(i)){let e=n.colorIndex??0;a.attr(`data-color-id`,`color-${e%d.length}`)}if(!l(f.htmlLabels)){let e=a.select(`text`),t=e.node()?.getBBox();e.attr(`transform`,`translate(${-t.width/2}, 0)`)}return a}f.htmlLabels||(m*=1.25,h*=1.25);let x=O(t);x||=`node default`;let S=e.insert(`g`).attr(`class`,x).attr(`id`,t.domId||t.id),C=await Bt(S,t.label??``,f,0,0,[`name`],_);C.height+=h;let T=0,E=[],k=[],A=0,j=0,M=0,N=0,P=!0,F=!0;for(let e of n.attributes){let t=await Bt(S,e.type,f,0,T,[`attribute-type`],_);A=Math.max(A,t.width+m);let n=await Bt(S,e.name,f,0,T,[`attribute-name`],_);j=Math.max(j,n.width+m);let r=await Bt(S,e.keys.join(),f,0,T,[`attribute-keys`],_);M=Math.max(M,r.width+m);let i=await Bt(S,e.comment,f,0,T,[`attribute-comment`],_);N=Math.max(N,i.width+m);let a=Math.max(t.height,n.height,r.height,i.height)+h;k.push({yOffset:T,rowHeight:a}),T+=a}let I=4;M<=m&&(P=!1,M=0,I--),N<=m&&(F=!1,N=0,I--);let L=S.node().getBBox();if(C.width+m*2-(A+j+M+N)>0){let e=C.width+m*2-(A+j+M+N);A+=e/I,j+=e/I,M>0&&(M+=e/I),N>0&&(N+=e/I)}let ee=A+j+M+N,R=w.default.svg(S),z=y(t,{});t.look!==`handDrawn`&&(z.roughness=0,z.fillStyle=`solid`);let te=0;k.length>0&&(te=k.reduce((e,t)=>e+(t?.rowHeight??0),0));let B=Math.max(L.width+m*2,t?.width||0,ee),ne=Math.max((te??0)+C.height,t?.height||0),V=-B/2,H=-ne/2;if(S.selectAll(`g:not(:first-child)`).each((e,t,n)=>{let i=r(n[t]),a=i.attr(`transform`),o=0,s=0;if(a){let e=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(a);e&&(o=parseFloat(e[1]),s=parseFloat(e[2]),i.attr(`class`).includes(`attribute-name`)?o+=A:i.attr(`class`).includes(`attribute-keys`)?o+=A+j:i.attr(`class`).includes(`attribute-comment`)&&(o+=A+j+M))}i.attr(`transform`,`translate(${V+m/2+o}, ${s+H+C.height+h/2})`)}),S.select(`.name`).attr(`transform`,`translate(`+-C.width/2+`, `+(H+h/2)+`)`),i!=null&&Lt.has(i)){let e=n.colorIndex??0;S.attr(`data-color-id`,`color-${e%d.length}`)}let re=R.rectangle(V,H,B,ne,z),ie=S.insert(()=>re,`:first-child`).attr(`class`,`outer-path`).attr(`style`,g.join(``));E.push(0);for(let[e,t]of k.entries()){let n=(e+1)%2==0&&t.yOffset!==0,r=R.rectangle(V,C.height+H+t?.yOffset,B,t?.rowHeight,{...z,fill:n?o:s,stroke:u});S.insert(()=>r,`g.label`).attr(`style`,g.join(``)).attr(`class`,`row-rect-${n?`even`:`odd`}`)}let U=1e-4,W=Vt(V,C.height+H,B+V,C.height+H,U),G=R.polygon(W.map(e=>[e.x,e.y]),z);if(S.insert(()=>G).attr(`class`,`divider`),W=Vt(A+V,C.height+H,A+V,ne+H,U),G=R.polygon(W.map(e=>[e.x,e.y]),z),S.insert(()=>G).attr(`class`,`divider`),P){let e=A+j+V;W=Vt(e,C.height+H,e,ne+H,U),G=R.polygon(W.map(e=>[e.x,e.y]),z),S.insert(()=>G).attr(`class`,`divider`)}if(F){let e=A+j+M+V;W=Vt(e,C.height+H,e,ne+H,U),G=R.polygon(W.map(e=>[e.x,e.y]),z),S.insert(()=>G).attr(`class`,`divider`)}for(let e of E){let t=C.height+H+e;W=Vt(V,t,B+V,t,U),G=R.polygon(W.map(e=>[e.x,e.y]),z),S.insert(()=>G).attr(`class`,`divider`)}if(D(t,ie),v&&t.look!==`handDrawn`)if(i!=null&&Rt.has(i))S.selectAll(`path`).attr(`style`,v);else{let e=v.split(`;`)?.filter(e=>e.includes(`stroke`))?.map(e=>`${e}`).join(`; `);S.selectAll(`path`).attr(`style`,e??``),S.selectAll(`.row-rect-even path`).attr(`style`,v)}return t.intersect=function(e){return K.rect(t,e)},S}t(zt,`erBox`);async function Bt(e,t,n,i=0,a=0,s=[],c=``){let u=e.insert(`g`).attr(`class`,`label ${s.join(` `)}`).attr(`transform`,`translate(${i}, ${a})`).attr(`style`,c);t!==o(t)&&(t=o(t),t=t.replaceAll(`<`,`&lt;`).replaceAll(`>`,`&gt;`));let d=u.node().appendChild(await g(u,t,{width:p(t,n)+100,style:c,useHtmlLabels:n.htmlLabels},n));if(t.includes(`&lt;`)||t.includes(`&gt;`)){let e=d.children[0];for(e.textContent=e.textContent.replaceAll(`&lt;`,`<`).replaceAll(`&gt;`,`>`);e.childNodes[0];)e=e.childNodes[0],e.textContent=e.textContent.replaceAll(`&lt;`,`<`).replaceAll(`&gt;`,`>`)}let f=d.getBBox();if(l(n.htmlLabels)){let e=d.children[0];e.style.textAlign=`start`;let t=r(d);f=e.getBoundingClientRect(),t.attr(`width`,f.width),t.attr(`height`,f.height)}return f}t(Bt,`addText`);function Vt(e,t,n,r,i){return e===n?[{x:e-i/2,y:t},{x:e+i/2,y:t},{x:n+i/2,y:r},{x:n-i/2,y:r}]:[{x:e,y:t-i/2},{x:e,y:t+i/2},{x:n,y:r+i/2},{x:n,y:r-i/2}]}t(Vt,`lineToPolygon`);async function Ht(e,t,n,r,i=n.class.padding??12){let a=r?0:3,o=e.insert(`g`).attr(`class`,O(t)).attr(`id`,t.domId||t.id),s=null,c=null,l=null,u=null,d=0,f=0,p=0;if(s=o.insert(`g`).attr(`class`,`annotation-group text`),t.annotations.length>0){let e=t.annotations[0];await Ut(s,{text:`\xAB${e}\xBB`},0),d=s.node().getBBox().height}c=o.insert(`g`).attr(`class`,`label-group text`),await Ut(c,t,0,[`font-weight: bolder`]);let m=c.node().getBBox();f=m.height,l=o.insert(`g`).attr(`class`,`members-group text`);let h=0;for(let e of t.members){let t=await Ut(l,e,h,[e.parseClassifier()]);h+=t+a}p=l.node().getBBox().height,p<=0&&(p=i/2),u=o.insert(`g`).attr(`class`,`methods-group text`);let g=0;for(let e of t.methods){let t=await Ut(u,e,g,[e.parseClassifier()]);g+=t+a}let _=o.node().getBBox();if(s!==null){let e=s.node().getBBox();s.attr(`transform`,`translate(${-e.width/2})`)}return c.attr(`transform`,`translate(${-m.width/2}, ${d})`),_=o.node().getBBox(),l.attr(`transform`,`translate(0, ${d+f+i*2})`),_=o.node().getBBox(),u.attr(`transform`,`translate(0, ${d+f+(p?p+i*4:i*2)})`),_=o.node().getBBox(),{shapeSvg:o,bbox:_}}t(Ht,`textHelper`);async function Ut(e,n,o,s=[]){let u=e.insert(`g`).attr(`class`,`label`).attr(`style`,s.join(`; `)),d=c(),m=`useHtmlLabels`in n?n.useHtmlLabels:l(d.htmlLabels)??!0,h=``;h=`text`in n?n.text:n.label,!m&&h.startsWith(`\\`)&&(h=h.substring(1)),i(h)&&(m=!0);let _=await g(u,a(f(h)),{width:p(h,d)+50,classes:`markdown-node-label`,useHtmlLabels:m},d),v,y=1;if(m){let e=_.children[0],n=r(_);y=e.innerHTML.split(`<br>`).length,e.innerHTML.includes(`</math>`)&&(y+=e.innerHTML.split(`<mrow>`).length-1);let i=e.getElementsByTagName(`img`);if(i){let e=h.replace(/<img[^>]*>/g,``).trim()===``;await Promise.all([...i].map(n=>new Promise(r=>{function i(){if(n.style.display=`flex`,n.style.flexDirection=`column`,e){let e=d.fontSize?.toString()??window.getComputedStyle(document.body).fontSize,t=parseInt(e,10)*5+`px`;n.style.minWidth=t,n.style.maxWidth=t}else n.style.width=`100%`;r(n)}t(i,`setupImage`),setTimeout(()=>{n.complete&&i()}),n.addEventListener(`error`,i),n.addEventListener(`load`,i)})))}v=e.getBoundingClientRect(),n.attr(`width`,v.width),n.attr(`height`,v.height)}else{s.includes(`font-weight: bolder`)&&r(_).selectAll(`tspan`).attr(`font-weight`,``),y=_.children.length;let e=_.children[0];(_.textContent===``||_.textContent.includes(`&gt`))&&(e.textContent=h[0]+h.substring(1).replaceAll(`&gt;`,`>`).replaceAll(`&lt;`,`<`).trim(),h[1]===` `&&(e.textContent=e.textContent[0]+` `+e.textContent.substring(1))),e.textContent===`undefined`&&(e.textContent=``),v=_.getBBox()}return u.attr(`transform`,`translate(0,`+(-v.height/(2*y)+o)+`)`),v.height}t(Ut,`addText`);async function Wt(e,t){let n=u(),{themeVariables:i}=n,{useGradient:a}=i,o=n.class.padding??12,s=o,c=t.useHtmlLabels??l(n.htmlLabels)??!0,d=t;d.annotations=d.annotations??[],d.members=d.members??[],d.methods=d.methods??[];let{shapeSvg:f,bbox:p}=await Ht(e,t,n,c,s),{labelStyles:m,nodeStyles:h}=b(t);t.labelStyle=m,t.cssStyles=d.styles||``;let g=d.styles?.join(`;`)||h||``;t.cssStyles||=g.replaceAll(`!important`,``).split(`;`);let _=d.members.length===0&&d.methods.length===0&&!n.class?.hideEmptyMembersBox,v=w.default.svg(f),x=y(t,{});t.look!==`handDrawn`&&(x.roughness=0,x.fillStyle=`solid`);let S=Math.max(t.width??0,p.width),C=Math.max(t.height??0,p.height),T=(t.height??0)>p.height;d.members.length===0&&d.methods.length===0?C+=s:d.members.length>0&&d.methods.length===0&&(C+=s*2);let E=-S/2,O=-C/2,k=_?o*2:d.members.length===0&&d.methods.length===0?-o:0;T&&(k=o*2);let A=v.rectangle(E-o,O-o-(_?o:d.members.length===0&&d.methods.length===0?-o/2:0),S+2*o,C+2*o+k,x),j=f.insert(()=>A,`:first-child`);j.attr(`class`,`basic label-container outer-path`);let M=j.node().getBBox(),N=f.select(`.annotation-group`).node().getBBox().height-(_?o/2:0)||0,P=f.select(`.label-group`).node().getBBox().height-(_?o/2:0)||0,F=f.select(`.members-group`).node().getBBox().height-(_?o/2:0)||0,I=(N+P+O+o-(O-o-(_?o:d.members.length===0&&d.methods.length===0?-o/2:0)))/2;if(f.selectAll(`.text`).each((e,t,i)=>{let a=r(i[t]),l=a.attr(`transform`),u=0;if(l){let e=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(l);e&&(u=parseFloat(e[2]))}let p=u+O+o-(_?o:d.members.length===0&&d.methods.length===0?-o/2:0);if(a.attr(`class`).includes(`methods-group`)){let e=Math.max(F,s/2);p=T?Math.max(I,N+P+e+O+s*2+o)+s*2:N+P+e+O+s*4+o}d.members.length===0&&d.methods.length===0&&n.class?.hideEmptyMembersBox&&(p=d.annotations.length>0?u-s:u),c||(p-=4);let m=E;(a.attr(`class`).includes(`label-group`)||a.attr(`class`).includes(`annotation-group`))&&(m=-a.node()?.getBBox().width/2||0,f.selectAll(`text`).each(function(e,t,n){window.getComputedStyle(n[t]).textAnchor===`middle`&&(m=0)})),a.attr(`transform`,`translate(${m}, ${p})`)}),d.members.length>0||d.methods.length>0||_){let e=N+P+O+o,n=v.line(M.x,e,M.x+M.width,e+.001,x);f.insert(()=>n).attr(`class`,`divider${t.look===`neo`&&!a?` neo-line`:``}`).attr(`style`,g)}if(_||d.members.length>0||d.methods.length>0){let e=N+P+F+O+s*2+o,n=v.line(M.x,T?Math.max(I,e):e,M.x+M.width,(T?Math.max(I,e):e)+.001,x);f.insert(()=>n).attr(`class`,`divider${t.look===`neo`&&!a?` neo-line`:``}`).attr(`style`,g)}if(d.look!==`handDrawn`&&f.selectAll(`path`).attr(`style`,g),j.select(`:nth-child(2)`).attr(`style`,g),f.selectAll(`.divider`).select(`path`).attr(`style`,g),t.labelStyle?f.selectAll(`span`).attr(`style`,t.labelStyle):f.selectAll(`span`).attr(`style`,g),!c){let e=RegExp(/color\s*:\s*([^;]*)/),t=e.exec(g);if(t){let e=t[0].replace(`color`,`fill`);f.selectAll(`tspan`).attr(`style`,e)}else if(m){let t=e.exec(m);if(t){let e=t[0].replace(`color`,`fill`);f.selectAll(`tspan`).attr(`style`,e)}}}return D(t,j),t.intersect=function(e){return K.rect(t,e)},f}t(Wt,`classBox`);async function Gt(e,t){let{labelStyles:n,nodeStyles:i}=b(t);t.labelStyle=n;let a=t,o=t,s=`verifyMethod`in t,c=O(t),{themeVariables:l}=u(),{borderColorArray:d,requirementEdgeLabelBackground:f}=l,p=e.insert(`g`).attr(`class`,c).attr(`id`,t.domId??t.id),m;m=s?await $(p,`&lt;&lt;${a.type}&gt;&gt;`,0,t.labelStyle):await $(p,`&lt;&lt;Element&gt;&gt;`,0,t.labelStyle);let h=m,g=await $(p,a.name,h,t.labelStyle+`; font-weight: bold;`);if(h+=g+20,s){let e=await $(p,`${a.requirementId?`ID: ${a.requirementId}`:``}`,h,t.labelStyle);h+=e;let n=await $(p,`${a.text?`Text: ${a.text}`:``}`,h,t.labelStyle);h+=n;let r=await $(p,`${a.risk?`Risk: ${a.risk}`:``}`,h,t.labelStyle);h+=r,await $(p,`${a.verifyMethod?`Verification: ${a.verifyMethod}`:``}`,h,t.labelStyle)}else{let e=await $(p,`${o.type?`Type: ${o.type}`:``}`,h,t.labelStyle);h+=e,await $(p,`${o.docRef?`Doc Ref: ${o.docRef}`:``}`,h,t.labelStyle)}let _=(p.node()?.getBBox().width??200)+20,v=(p.node()?.getBBox().height??200)+20,x=-_/2,S=-v/2,C=w.default.svg(p),T=y(t,{});t.look!==`handDrawn`&&(T.roughness=0,T.fillStyle=`solid`);let E=C.rectangle(x,S,_,v,T),k=p.insert(()=>E,`:first-child`);if(k.attr(`class`,`basic label-container outer-path`).attr(`style`,i),d?.length){let e=t.colorIndex??0;p.attr(`data-color-id`,`color-${e%d.length}`)}if(p.selectAll(`.label`).each((e,t,n)=>{let i=r(n[t]),a=i.attr(`transform`),o=0,s=0;if(a){let e=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(a);e&&(o=parseFloat(e[1]),s=parseFloat(e[2]))}let c=s-v/2,l=x+20/2;(t===0||t===1)&&(l=o),i.attr(`transform`,`translate(${l}, ${c+20})`)}),h>m+g+20){let e=S+m+g+20,n;if(t.look===`neo`){let t=.001,r=[[x,e],[x+_,e],[x+_,e+t],[x,e+t]];n=C.polygon(r,T)}else n=C.line(x,e,x+_,e,T);p.insert(()=>n).attr(`class`,`divider`)}return D(t,k),t.intersect=function(e){return K.rect(t,e)},i&&t.look!==`handDrawn`&&(f||d?.length)&&p.selectAll(`path`).attr(`style`,i),p}t(Gt,`requirementBox`);async function $(e,t,n,i=``){if(t===``)return 0;let o=e.insert(`g`).attr(`class`,`label`).attr(`style`,i),s=u(),c=s.htmlLabels??!0,l=await g(o,a(f(t)),{width:p(t,s)+50,classes:`markdown-node-label`,useHtmlLabels:c,style:i},s),d;if(c){let e=l.children[0],t=r(l);d=e.getBoundingClientRect(),t.attr(`width`,d.width),t.attr(`height`,d.height)}else{let e=l.children[0];for(let t of e.children)i&&t.setAttribute(`style`,i);d=l.getBBox(),d.height+=6}return o.attr(`transform`,`translate(${-d.width/2},${-d.height/2+n})`),d.height}t($,`addText`);var Kt=t(e=>{switch(e){case`Very High`:return`red`;case`High`:return`orange`;case`Medium`:return null;case`Low`:return`blue`;case`Very Low`:return`lightblue`}},`colorFromPriority`);async function qt(e,t,{config:n}){let{labelStyles:r,nodeStyles:i}=b(t);t.labelStyle=r||``;let a=t.width;t.width=(t.width??200)-10;let{shapeSvg:o,bbox:s,label:c}=await T(e,t,O(t)),l=t.padding||10,u=``,d;`ticket`in t&&t.ticket&&n?.kanban?.ticketBaseUrl&&(u=n?.kanban?.ticketBaseUrl.replace(`#TICKET#`,t.ticket),d=o.insert(`svg:a`,`:first-child`).attr(`class`,`kanban-ticket-link`).attr(`xlink:href`,u).attr(`target`,`_blank`));let f={useHtmlLabels:t.useHtmlLabels,labelStyle:t.labelStyle||``,width:t.width,img:t.img,padding:t.padding||8,centerLabel:!1},p,m;d?{label:p,bbox:m}=await E(d,`ticket`in t&&t.ticket||``,f):{label:p,bbox:m}=await E(o,`ticket`in t&&t.ticket||``,f);let{label:h,bbox:g}=await E(o,`assigned`in t&&t.assigned||``,f);t.width=a;let _=t?.width||0,v=Math.max(m.height,g.height)/2,x=Math.max(s.height+20,t?.height||0)+v,S=-_/2,C=-x/2;c.attr(`transform`,`translate(`+(l-_/2)+`, `+(-v-s.height/2)+`)`),p.attr(`transform`,`translate(`+(l-_/2)+`, `+(-v+s.height/2)+`)`),h.attr(`transform`,`translate(`+(l+_/2-g.width-20)+`, `+(-v+s.height/2)+`)`);let k,{rx:A,ry:j}=t,{cssStyles:M}=t;if(t.look===`handDrawn`){let e=w.default.svg(o),n=y(t,{}),r=A||j?e.path(F(S,C,_,x,A||0),n):e.rectangle(S,C,_,x,n);k=o.insert(()=>r,`:first-child`),k.attr(`class`,`basic label-container`).attr(`style`,M||null)}else{k=o.insert(`rect`,`:first-child`),k.attr(`class`,`basic label-container __APA__`).attr(`style`,i).attr(`rx`,A??5).attr(`ry`,j??5).attr(`x`,S).attr(`y`,C).attr(`width`,_).attr(`height`,x);let e=`priority`in t&&t.priority;if(e){let t=o.append(`line`),n=S+2,r=C+Math.floor((A??0)/2),i=C+x-Math.floor((A??0)/2);t.attr(`x1`,n).attr(`y1`,r).attr(`x2`,n).attr(`y2`,i).attr(`stroke-width`,`4`).attr(`stroke`,Kt(e))}}return D(t,k),t.height=x,t.intersect=function(e){return K.rect(t,e)},o}t(qt,`kanbanItem`);async function Jt(e,t){let{labelStyles:r,nodeStyles:i}=b(t);t.labelStyle=r;let{shapeSvg:a,bbox:o,halfPadding:s,label:c}=await T(e,t,O(t)),l=o.width+10*s,u=o.height+8*s,d=.15*l,{cssStyles:f}=t,p=o.width+20,h=o.height+20,g=Math.max(l,p),_=Math.max(u,h);c.attr(`transform`,`translate(${-o.width/2}, ${-o.height/2})`);let v,x=`M0 0
11
+ a${d},${d} 1 0,0 ${g*.25},${-1*_*.1}
12
+ a${d},${d} 1 0,0 ${g*.25},0
13
+ a${d},${d} 1 0,0 ${g*.25},0
14
+ a${d},${d} 1 0,0 ${g*.25},${_*.1}
15
+
16
+ a${d},${d} 1 0,0 ${g*.15},${_*.33}
17
+ a${d*.8},${d*.8} 1 0,0 0,${_*.34}
18
+ a${d},${d} 1 0,0 ${-1*g*.15},${_*.33}
19
+
20
+ a${d},${d} 1 0,0 ${-1*g*.25},${_*.15}
21
+ a${d},${d} 1 0,0 ${-1*g*.25},0
22
+ a${d},${d} 1 0,0 ${-1*g*.25},0
23
+ a${d},${d} 1 0,0 ${-1*g*.25},${-1*_*.15}
24
+
25
+ a${d},${d} 1 0,0 ${-1*g*.1},${-1*_*.33}
26
+ a${d*.8},${d*.8} 1 0,0 0,${-1*_*.34}
27
+ a${d},${d} 1 0,0 ${g*.1},${-1*_*.33}
28
+ H0 V0 Z`;if(t.look===`handDrawn`){let e=w.default.svg(a),n=y(t,{}),r=e.path(x,n);v=a.insert(()=>r,`:first-child`),v.attr(`class`,`basic label-container`).attr(`style`,m(f))}else v=a.insert(`path`,`:first-child`).attr(`class`,`basic label-container`).attr(`style`,i).attr(`d`,x);return v.attr(`transform`,`translate(${-g/2}, ${-_/2})`),D(t,v),t.calcIntersect=function(e,t){return K.rect(e,t)},t.intersect=function(e){return n.info(`Bang intersect`,t,e),K.rect(t,e)},a}t(Jt,`bang`);async function Yt(e,t){let{labelStyles:r,nodeStyles:i}=b(t);t.labelStyle=r;let{shapeSvg:a,bbox:o,halfPadding:s,label:c}=await T(e,t,O(t)),l=o.width+2*s,u=o.height+2*s,d=.15*l,f=.25*l,p=.35*l,h=.2*l,{cssStyles:g}=t,_,v=`M0 0
29
+ a${d},${d} 0 0,1 ${l*.25},${-1*l*.1}
30
+ a${p},${p} 1 0,1 ${l*.4},${-1*l*.1}
31
+ a${f},${f} 1 0,1 ${l*.35},${l*.2}
32
+
33
+ a${d},${d} 1 0,1 ${l*.15},${u*.35}
34
+ a${h},${h} 1 0,1 ${-1*l*.15},${u*.65}
35
+
36
+ a${f},${d} 1 0,1 ${-1*l*.25},${l*.15}
37
+ a${p},${p} 1 0,1 ${-1*l*.5},0
38
+ a${d},${d} 1 0,1 ${-1*l*.25},${-1*l*.15}
39
+
40
+ a${d},${d} 1 0,1 ${-1*l*.1},${-1*u*.35}
41
+ a${h},${h} 1 0,1 ${l*.1},${-1*u*.65}
42
+ H0 V0 Z`;if(t.look===`handDrawn`){let e=w.default.svg(a),n=y(t,{}),r=e.path(v,n);_=a.insert(()=>r,`:first-child`),_.attr(`class`,`basic label-container`).attr(`style`,m(g))}else _=a.insert(`path`,`:first-child`).attr(`class`,`basic label-container`).attr(`style`,i).attr(`d`,v);return c.attr(`transform`,`translate(${-o.width/2}, ${-o.height/2})`),_.attr(`transform`,`translate(${-l/2}, ${-u/2})`),D(t,_),t.calcIntersect=function(e,t){return K.rect(e,t)},t.intersect=function(e){return n.info(`Cloud intersect`,t,e),K.rect(t,e)},a}t(Yt,`cloud`);async function Xt(e,t){let{labelStyles:n,nodeStyles:r}=b(t);t.labelStyle=n;let{shapeSvg:i,bbox:a,halfPadding:o,label:s}=await T(e,t,O(t)),c=a.width+8*o,l=a.height+2*o,u=t.look===`neo`?`
43
+ M${-c/2} ${l/2-5}
44
+ v${-l+10}
45
+ q0,-5 5,-5
46
+ h${c-10}
47
+ q5,0 5,5
48
+ v${l-5}
49
+ H${-c/2}
50
+ Z
51
+ `:`
52
+ M${-c/2} ${l/2-5}
53
+ v${-l+10}
54
+ q0,-5 5,-5
55
+ h${c-10}
56
+ q5,0 5,5
57
+ v${l-10}
58
+ q0,5 -5,5
59
+ h${-(c-10)}
60
+ q-5,0 -5,-5
61
+ Z
62
+ `;if(!t.domId)throw Error(`defaultMindmapNode: node "${t.id}" is missing a domId \u2014 was render.ts domId prefixing skipped?`);let d=i.append(`path`).attr(`id`,t.domId).attr(`class`,`node-bkg node-`+t.type).attr(`style`,r).attr(`d`,u);return i.append(`line`).attr(`class`,`node-line-`).attr(`x1`,-c/2).attr(`y1`,l/2).attr(`x2`,c/2).attr(`y2`,l/2),s.attr(`transform`,`translate(${-a.width/2}, ${-a.height/2})`),i.append(()=>s.node()),D(t,d),t.calcIntersect=function(e,t){return K.rect(e,t)},t.intersect=function(e){return K.rect(t,e)},i}t(Xt,`defaultMindmapNode`);async function Zt(e,t){return pe(e,t,{padding:t.padding??0})}t(Zt,`mindmapCircle`);var Qt=[{semanticName:`Process`,name:`Rectangle`,shortName:`rect`,description:`Standard process shape`,aliases:[`proc`,`process`,`rectangle`],internalAliases:[`squareRect`],handler:ft},{semanticName:`Event`,name:`Rounded Rectangle`,shortName:`rounded`,description:`Represents an event`,aliases:[`event`],internalAliases:[`roundedRect`],handler:lt},{semanticName:`Terminal Point`,name:`Stadium`,shortName:`stadium`,description:`Terminal point`,aliases:[`terminal`,`pill`],handler:pt},{semanticName:`Subprocess`,name:`Framed Rectangle`,shortName:`fr-rect`,description:`Subprocess`,aliases:[`subprocess`,`subproc`,`framed-rectangle`,`subroutine`],handler:vt},{semanticName:`Database`,name:`Cylinder`,shortName:`cyl`,description:`Database storage`,aliases:[`db`,`database`,`cylinder`],handler:Te},{semanticName:`Data Store`,name:`Data Store`,shortName:`datastore`,description:`Data flow diagram data store`,aliases:[`data-store`],handler:De},{semanticName:`Start`,name:`Circle`,shortName:`circle`,description:`Starting point`,aliases:[`circ`],handler:pe},{semanticName:`Bang`,name:`Bang`,shortName:`bang`,description:`Bang`,aliases:[`bang`],handler:Jt},{semanticName:`Cloud`,name:`Cloud`,shortName:`cloud`,description:`cloud`,aliases:[`cloud`],handler:Yt},{semanticName:`Decision`,name:`Diamond`,shortName:`diam`,description:`Decision-making step`,aliases:[`decision`,`diamond`,`question`],handler:ot},{semanticName:`Prepare Conditional`,name:`Hexagon`,shortName:`hex`,description:`Preparation or condition step`,aliases:[`hexagon`,`prepare`],handler:Le},{semanticName:`Data Input/Output`,name:`Lean Right`,shortName:`lean-r`,description:`Represents input or output`,aliases:[`lean-right`,`in-out`],internalAliases:[`lean_right`],handler:qe},{semanticName:`Data Input/Output`,name:`Lean Left`,shortName:`lean-l`,description:`Represents output or input`,aliases:[`lean-left`,`out-in`],internalAliases:[`lean_left`],handler:Ke},{semanticName:`Priority Action`,name:`Trapezoid Base Bottom`,shortName:`trap-b`,description:`Priority action`,aliases:[`priority`,`trapezoid-bottom`,`trapezoid`],handler:kt},{semanticName:`Manual Operation`,name:`Trapezoid Base Top`,shortName:`trap-t`,description:`Represents a manual task`,aliases:[`manual`,`trapezoid-top`,`inv-trapezoid`],internalAliases:[`inv_trapezoid`],handler:We},{semanticName:`Stop`,name:`Double Circle`,shortName:`dbl-circ`,description:`Represents a stop point`,aliases:[`double-circle`],internalAliases:[`doublecircle`],handler:ke},{semanticName:`Text Block`,name:`Text Block`,shortName:`text`,description:`Text block`,handler:St},{semanticName:`Card`,name:`Notched Rectangle`,shortName:`notch-rect`,description:`Represents a card`,aliases:[`card`,`notched-rectangle`],handler:de},{semanticName:`Lined/Shaded Process`,name:`Lined Rectangle`,shortName:`lin-rect`,description:`Lined process shape`,aliases:[`lined-rectangle`,`lined-process`,`lin-proc`,`shaded-process`],handler:ut},{semanticName:`Start`,name:`Small Circle`,shortName:`sm-circ`,description:`Small starting point`,aliases:[`start`,`small-circle`],internalAliases:[`stateStart`],handler:gt},{semanticName:`Stop`,name:`Framed Circle`,shortName:`fr-circ`,description:`Stop point`,aliases:[`stop`,`framed-circle`],internalAliases:[`stateEnd`],handler:ht},{semanticName:`Fork/Join`,name:`Filled Rectangle`,shortName:`fork`,description:`Fork or join in process flow`,aliases:[`join`],internalAliases:[`forkJoin`],handler:Pe},{semanticName:`Collate`,name:`Hourglass`,shortName:`hourglass`,description:`Represents a collate operation`,aliases:[`hourglass`,`collate`],handler:Re},{semanticName:`Comment`,name:`Curly Brace`,shortName:`brace`,description:`Adds a comment`,aliases:[`comment`,`brace-l`],handler:ge},{semanticName:`Comment Right`,name:`Curly Brace`,shortName:`brace-r`,description:`Adds a comment`,handler:_e},{semanticName:`Comment with braces on both sides`,name:`Curly Braces`,shortName:`braces`,description:`Adds a comment`,handler:ve},{semanticName:`Com Link`,name:`Lightning Bolt`,shortName:`bolt`,description:`Communication link`,aliases:[`com-link`,`lightning-bolt`],handler:Je},{semanticName:`Document`,name:`Document`,shortName:`doc`,description:`Represents a document`,aliases:[`doc`,`document`],handler:Pt},{semanticName:`Delay`,name:`Half-Rounded Rectangle`,shortName:`delay`,description:`Represents a delay`,aliases:[`half-rounded-rectangle`],handler:Fe},{semanticName:`Direct Access Storage`,name:`Horizontal Cylinder`,shortName:`h-cyl`,description:`Direct access storage`,aliases:[`das`,`horizontal-cylinder`],handler:Ot},{semanticName:`Disk Storage`,name:`Lined Cylinder`,shortName:`lin-cyl`,description:`Disk storage`,aliases:[`disk`,`lined-cylinder`],handler:et},{semanticName:`Display`,name:`Curved Trapezoid`,shortName:`curv-trap`,description:`Represents a display`,aliases:[`curved-trapezoid`,`display`],handler:ye},{semanticName:`Divided Process`,name:`Divided Rectangle`,shortName:`div-rect`,description:`Divided process shape`,aliases:[`div-proc`,`divided-rectangle`,`divided-process`],handler:Oe},{semanticName:`Extract`,name:`Triangle`,shortName:`tri`,description:`Extraction process`,aliases:[`extract`,`triangle`],handler:Nt},{semanticName:`Internal Storage`,name:`Window Pane`,shortName:`win-pane`,description:`Internal storage`,aliases:[`internal-storage`,`window-pane`],handler:It},{semanticName:`Junction`,name:`Filled Circle`,shortName:`f-circ`,description:`Junction point`,aliases:[`junction`,`filled-circle`],handler:Ae},{semanticName:`Loop Limit`,name:`Trapezoidal Pentagon`,shortName:`notch-pent`,description:`Loop limit step`,aliases:[`loop-limit`,`notched-pentagon`],handler:At},{semanticName:`Manual File`,name:`Flipped Triangle`,shortName:`flip-tri`,description:`Manual file operation`,aliases:[`manual-file`,`flipped-triangle`],handler:Ne},{semanticName:`Manual Input`,name:`Sloped Rectangle`,shortName:`sl-rect`,description:`Manual input step`,aliases:[`manual-input`,`sloped-rectangle`],handler:dt},{semanticName:`Multi-Document`,name:`Stacked Document`,shortName:`docs`,description:`Multiple documents`,aliases:[`documents`,`st-doc`,`stacked-document`],handler:rt},{semanticName:`Multi-Process`,name:`Stacked Rectangle`,shortName:`st-rect`,description:`Multiple processes`,aliases:[`procs`,`processes`,`stacked-rectangle`],handler:nt},{semanticName:`Stored Data`,name:`Bow Tie Rectangle`,shortName:`bow-rect`,description:`Stored data`,aliases:[`stored-data`,`bow-tie-rectangle`],handler:le},{semanticName:`Summary`,name:`Crossed Circle`,shortName:`cross-circ`,description:`Summary`,aliases:[`summary`,`crossed-circle`],handler:he},{semanticName:`Tagged Document`,name:`Tagged Document`,shortName:`tag-doc`,description:`Tagged document`,aliases:[`tag-doc`,`tagged-document`],handler:xt},{semanticName:`Tagged Process`,name:`Tagged Rectangle`,shortName:`tag-rect`,description:`Tagged process`,aliases:[`tagged-rectangle`,`tag-proc`,`tagged-process`],handler:bt},{semanticName:`Paper Tape`,name:`Flag`,shortName:`flag`,description:`Paper tape`,aliases:[`paper-tape`],handler:Ft},{semanticName:`Odd`,name:`Odd`,shortName:`odd`,description:`Odd shape`,internalAliases:[`rect_left_inv_arrow`],handler:st},{semanticName:`Lined Document`,name:`Lined Document`,shortName:`lin-doc`,description:`Lined document`,aliases:[`lined-document`],handler:tt}],$t=t(()=>{let e=[...Object.entries({state:mt,choice:fe,note:it,rectWithTitle:ct,labelRect:Ge,iconSquare:He,iconCircle:Be,icon:ze,iconRounded:Ve,imageSquare:Ue,anchor:oe,kanbanItem:qt,mindmapCircle:Zt,defaultMindmapNode:Xt,classBox:Wt,erBox:zt,requirementBox:Gt}),...Qt.flatMap(e=>[e.shortName,...`aliases`in e?e.aliases:[],...`internalAliases`in e?e.internalAliases:[]].map(t=>[t,e.handler]))];return Object.fromEntries(e)},`generateShapeMap`)();function en(e){return e in $t}t(en,`isValidShape`);var tn=new Map;async function nn(e,t,n){let r,i;t.shape===`rect`&&(t.rx&&t.ry?t.shape=`roundedRect`:t.shape=`squareRect`);let a=t.shape?$t[t.shape]:void 0;if(!a)throw Error(`No such shape: ${t.shape}. Please check your syntax.`);if(t.link){let o;n.config.securityLevel===`sandbox`?o=`_top`:t.linkTarget&&(o=t.linkTarget||`_blank`),r=e.insert(`svg:a`).attr(`xlink:href`,t.link).attr(`target`,o??null),i=await a(r,t,n)}else i=await a(e,t,n),r=i;return r.attr(`data-look`,m(t.look)),t.tooltip&&i.attr(`title`,t.tooltip),tn.set(t.id,r),t.haveCallback&&r.attr(`class`,r.attr(`class`)+` clickable`),r}t(nn,`insertNode`);var rn=t((e,t)=>{tn.set(t.id,e)},`setNodeElem`),an=t(()=>{tn.clear()},`clear`),on=t(e=>{let t=tn.get(e.id);n.trace(`Transforming node`,e.diff,e,`translate(`+(e.x-e.width/2-5)+`, `+e.width/2+`)`);let r=e.diff||0;return e.clusterNode?t.attr(`transform`,`translate(`+(e.x+r-e.width/2)+`, `+(e.y-e.height/2-8)+`)`):t.attr(`transform`,`translate(`+e.x+`, `+e.y+`)`),r},`positionNode`);export{nn as a,on as c,z as i,rn as l,an as n,en as o,P as r,T as s,te as t,D as u};
63
+ //# sourceMappingURL=chunk-ZGVPDNZ5-CyyHBEs2.mjs.map
@@ -0,0 +1,39 @@
1
+ import{n as e}from"./chunk-Y2CYZVJY-acXC9Sbb.mjs";function t(e){return e==null}e(t,`isNothing`);function n(e){return typeof e==`object`&&!!e}e(n,`isObject`);function r(e){return Array.isArray(e)?e:t(e)?[]:[e]}e(r,`toArray`);function i(e,t){var n,r,i,a;if(t)for(a=Object.keys(t),n=0,r=a.length;n<r;n+=1)i=a[n],e[i]=t[i];return e}e(i,`extend`);function a(e,t){var n=``,r;for(r=0;r<t;r+=1)n+=e;return n}e(a,`repeat`);function o(e){return e===0&&1/e==-1/0}e(o,`isNegativeZero`);var s={isNothing:t,isObject:n,toArray:r,repeat:a,isNegativeZero:o,extend:i};function c(e,t){var n=``,r=e.reason||`(unknown reason)`;return e.mark?(e.mark.name&&(n+=`in "`+e.mark.name+`" `),n+=`(`+(e.mark.line+1)+`:`+(e.mark.column+1)+`)`,!t&&e.mark.snippet&&(n+=`
2
+
3
+ `+e.mark.snippet),r+` `+n):r}e(c,`formatError`);function l(e,t){Error.call(this),this.name=`YAMLException`,this.reason=e,this.mark=t,this.message=c(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||``}e(l,`YAMLException$1`),l.prototype=Object.create(Error.prototype),l.prototype.constructor=l,l.prototype.toString=e(function(e){return this.name+`: `+c(this,e)},`toString`);var u=l;function d(e,t,n,r,i){var a=``,o=``,s=Math.floor(i/2)-1;return r-t>s&&(a=` ... `,t=r-s+a.length),n-r>s&&(o=` ...`,n=r+s-o.length),{str:a+e.slice(t,n).replace(/\t/g,`→`)+o,pos:r-t+a.length}}e(d,`getLine`);function f(e,t){return s.repeat(` `,t-e.length)+e}e(f,`padStart`);function p(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||=79,typeof t.indent!=`number`&&(t.indent=1),typeof t.linesBefore!=`number`&&(t.linesBefore=3),typeof t.linesAfter!=`number`&&(t.linesAfter=2);for(var n=/\r?\n|\r|\0/g,r=[0],i=[],a,o=-1;a=n.exec(e.buffer);)i.push(a.index),r.push(a.index+a[0].length),e.position<=a.index&&o<0&&(o=r.length-2);o<0&&(o=r.length-1);var c=``,l,u,p=Math.min(e.line+t.linesAfter,i.length).toString().length,m=t.maxLength-(t.indent+p+3);for(l=1;l<=t.linesBefore&&!(o-l<0);l++)u=d(e.buffer,r[o-l],i[o-l],e.position-(r[o]-r[o-l]),m),c=s.repeat(` `,t.indent)+f((e.line-l+1).toString(),p)+` | `+u.str+`
4
+ `+c;for(u=d(e.buffer,r[o],i[o],e.position,m),c+=s.repeat(` `,t.indent)+f((e.line+1).toString(),p)+` | `+u.str+`
5
+ `,c+=s.repeat(`-`,t.indent+p+3+u.pos)+`^
6
+ `,l=1;l<=t.linesAfter&&!(o+l>=i.length);l++)u=d(e.buffer,r[o+l],i[o+l],e.position-(r[o]-r[o+l]),m),c+=s.repeat(` `,t.indent)+f((e.line+l+1).toString(),p)+` | `+u.str+`
7
+ `;return c.replace(/\n$/,``)}e(p,`makeSnippet`);var m=p,h=[`kind`,`multi`,`resolve`,`construct`,`instanceOf`,`predicate`,`represent`,`representName`,`defaultStyle`,`styleAliases`],g=[`scalar`,`sequence`,`mapping`];function _(e){var t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}e(_,`compileStyleAliases`);function v(e,t){if(t||={},Object.keys(t).forEach(function(t){if(h.indexOf(t)===-1)throw new u(`Unknown option "`+t+`" is met in definition of "`+e+`" YAML type.`)}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=_(t.styleAliases||null),g.indexOf(this.kind)===-1)throw new u(`Unknown kind "`+this.kind+`" is specified for "`+e+`" YAML type.`)}e(v,`Type$1`);var y=v;function b(e,t){var n=[];return e[t].forEach(function(e){var t=n.length;n.forEach(function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)}),n[t]=e}),n}e(b,`compileList`);function ee(){var t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},n,r;function i(e){e.multi?(t.multi[e.kind].push(e),t.multi.fallback.push(e)):t[e.kind][e.tag]=t.fallback[e.tag]=e}for(e(i,`collectType`),n=0,r=arguments.length;n<r;n+=1)arguments[n].forEach(i);return t}e(ee,`compileMap`);function x(e){return this.extend(e)}e(x,`Schema$1`),x.prototype.extend=e(function(e){var t=[],n=[];if(e instanceof y)n.push(e);else if(Array.isArray(e))n=n.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit));else throw new u(`Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })`);t.forEach(function(e){if(!(e instanceof y))throw new u(`Specified list of YAML types (or a single Type object) contains a non-Type object.`);if(e.loadKind&&e.loadKind!==`scalar`)throw new u(`There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.`);if(e.multi)throw new u(`There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.`)}),n.forEach(function(e){if(!(e instanceof y))throw new u(`Specified list of YAML types (or a single Type object) contains a non-Type object.`)});var r=Object.create(x.prototype);return r.implicit=(this.implicit||[]).concat(t),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=b(r,`implicit`),r.compiledExplicit=b(r,`explicit`),r.compiledTypeMap=ee(r.compiledImplicit,r.compiledExplicit),r},`extend`);var te=new x({explicit:[new y(`tag:yaml.org,2002:str`,{kind:`scalar`,construct:e(function(e){return e===null?``:e},`construct`)}),new y(`tag:yaml.org,2002:seq`,{kind:`sequence`,construct:e(function(e){return e===null?[]:e},`construct`)}),new y(`tag:yaml.org,2002:map`,{kind:`mapping`,construct:e(function(e){return e===null?{}:e},`construct`)})]});function ne(e){if(e===null)return!0;var t=e.length;return t===1&&e===`~`||t===4&&(e===`null`||e===`Null`||e===`NULL`)}e(ne,`resolveYamlNull`);function re(){return null}e(re,`constructYamlNull`);function ie(e){return e===null}e(ie,`isNull`);var ae=new y(`tag:yaml.org,2002:null`,{kind:`scalar`,resolve:ne,construct:re,predicate:ie,represent:{canonical:e(function(){return`~`},`canonical`),lowercase:e(function(){return`null`},`lowercase`),uppercase:e(function(){return`NULL`},`uppercase`),camelcase:e(function(){return`Null`},`camelcase`),empty:e(function(){return``},`empty`)},defaultStyle:`lowercase`});function oe(e){if(e===null)return!1;var t=e.length;return t===4&&(e===`true`||e===`True`||e===`TRUE`)||t===5&&(e===`false`||e===`False`||e===`FALSE`)}e(oe,`resolveYamlBoolean`);function se(e){return e===`true`||e===`True`||e===`TRUE`}e(se,`constructYamlBoolean`);function ce(e){return Object.prototype.toString.call(e)===`[object Boolean]`}e(ce,`isBoolean`);var le=new y(`tag:yaml.org,2002:bool`,{kind:`scalar`,resolve:oe,construct:se,predicate:ce,represent:{lowercase:e(function(e){return e?`true`:`false`},`lowercase`),uppercase:e(function(e){return e?`TRUE`:`FALSE`},`uppercase`),camelcase:e(function(e){return e?`True`:`False`},`camelcase`)},defaultStyle:`lowercase`});function ue(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}e(ue,`isHexCode`);function de(e){return 48<=e&&e<=55}e(de,`isOctCode`);function fe(e){return 48<=e&&e<=57}e(fe,`isDecCode`);function pe(e){if(e===null)return!1;var t=e.length,n=0,r=!1,i;if(!t)return!1;if(i=e[n],(i===`-`||i===`+`)&&(i=e[++n]),i===`0`){if(n+1===t)return!0;if(i=e[++n],i===`b`){for(n++;n<t;n++)if(i=e[n],i!==`_`){if(i!==`0`&&i!==`1`)return!1;r=!0}return r&&i!==`_`}if(i===`x`){for(n++;n<t;n++)if(i=e[n],i!==`_`){if(!ue(e.charCodeAt(n)))return!1;r=!0}return r&&i!==`_`}if(i===`o`){for(n++;n<t;n++)if(i=e[n],i!==`_`){if(!de(e.charCodeAt(n)))return!1;r=!0}return r&&i!==`_`}}if(i===`_`)return!1;for(;n<t;n++)if(i=e[n],i!==`_`){if(!fe(e.charCodeAt(n)))return!1;r=!0}return!(!r||i===`_`)}e(pe,`resolveYamlInteger`);function me(e){var t=e,n=1,r;if(t.indexOf(`_`)!==-1&&(t=t.replace(/_/g,``)),r=t[0],(r===`-`||r===`+`)&&(r===`-`&&(n=-1),t=t.slice(1),r=t[0]),t===`0`)return 0;if(r===`0`){if(t[1]===`b`)return n*parseInt(t.slice(2),2);if(t[1]===`x`)return n*parseInt(t.slice(2),16);if(t[1]===`o`)return n*parseInt(t.slice(2),8)}return n*parseInt(t,10)}e(me,`constructYamlInteger`);function he(e){return Object.prototype.toString.call(e)===`[object Number]`&&e%1==0&&!s.isNegativeZero(e)}e(he,`isInteger`);var ge=new y(`tag:yaml.org,2002:int`,{kind:`scalar`,resolve:pe,construct:me,predicate:he,represent:{binary:e(function(e){return e>=0?`0b`+e.toString(2):`-0b`+e.toString(2).slice(1)},`binary`),octal:e(function(e){return e>=0?`0o`+e.toString(8):`-0o`+e.toString(8).slice(1)},`octal`),decimal:e(function(e){return e.toString(10)},`decimal`),hexadecimal:e(function(e){return e>=0?`0x`+e.toString(16).toUpperCase():`-0x`+e.toString(16).toUpperCase().slice(1)},`hexadecimal`)},defaultStyle:`decimal`,styleAliases:{binary:[2,`bin`],octal:[8,`oct`],decimal:[10,`dec`],hexadecimal:[16,`hex`]}}),_e=RegExp(`^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function ve(e){return!(e===null||!_e.test(e)||e[e.length-1]===`_`)}e(ve,`resolveYamlFloat`);function ye(e){var t=e.replace(/_/g,``).toLowerCase(),n=t[0]===`-`?-1:1;return`+-`.indexOf(t[0])>=0&&(t=t.slice(1)),t===`.inf`?n===1?1/0:-1/0:t===`.nan`?NaN:n*parseFloat(t,10)}e(ye,`constructYamlFloat`);var be=/^[-+]?[0-9]+e/;function xe(e,t){var n;if(isNaN(e))switch(t){case`lowercase`:return`.nan`;case`uppercase`:return`.NAN`;case`camelcase`:return`.NaN`}else if(e===1/0)switch(t){case`lowercase`:return`.inf`;case`uppercase`:return`.INF`;case`camelcase`:return`.Inf`}else if(e===-1/0)switch(t){case`lowercase`:return`-.inf`;case`uppercase`:return`-.INF`;case`camelcase`:return`-.Inf`}else if(s.isNegativeZero(e))return`-0.0`;return n=e.toString(10),be.test(n)?n.replace(`e`,`.e`):n}e(xe,`representYamlFloat`);function Se(e){return Object.prototype.toString.call(e)===`[object Number]`&&(e%1!=0||s.isNegativeZero(e))}e(Se,`isFloat`);var Ce=new y(`tag:yaml.org,2002:float`,{kind:`scalar`,resolve:ve,construct:ye,predicate:Se,represent:xe,defaultStyle:`lowercase`}),we=te.extend({implicit:[ae,le,ge,Ce]}),Te=we,Ee=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$`),De=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$`);function Oe(e){return e===null?!1:Ee.exec(e)!==null||De.exec(e)!==null}e(Oe,`resolveYamlTimestamp`);function ke(e){var t,n,r,i,a,o,s,c=0,l=null,u,d,f;if(t=Ee.exec(e),t===null&&(t=De.exec(e)),t===null)throw Error(`Date resolve error`);if(n=+t[1],r=t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(a=+t[4],o=+t[5],s=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+=`0`;c=+c}return t[9]&&(u=+t[10],d=+(t[11]||0),l=(u*60+d)*6e4,t[9]===`-`&&(l=-l)),f=new Date(Date.UTC(n,r,i,a,o,s,c)),l&&f.setTime(f.getTime()-l),f}e(ke,`constructYamlTimestamp`);function Ae(e){return e.toISOString()}e(Ae,`representYamlTimestamp`);var je=new y(`tag:yaml.org,2002:timestamp`,{kind:`scalar`,resolve:Oe,construct:ke,instanceOf:Date,represent:Ae});function Me(e){return e===`<<`||e===null}e(Me,`resolveYamlMerge`);var Ne=new y(`tag:yaml.org,2002:merge`,{kind:`scalar`,resolve:Me}),S=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
8
+ \r`;function Pe(e){if(e===null)return!1;var t,n,r=0,i=e.length,a=S;for(n=0;n<i;n++)if(t=a.indexOf(e.charAt(n)),!(t>64)){if(t<0)return!1;r+=6}return r%8==0}e(Pe,`resolveYamlBinary`);function Fe(e){var t,n,r=e.replace(/[\r\n=]/g,``),i=r.length,a=S,o=0,s=[];for(t=0;t<i;t++)t%4==0&&t&&(s.push(o>>16&255),s.push(o>>8&255),s.push(o&255)),o=o<<6|a.indexOf(r.charAt(t));return n=i%4*6,n===0?(s.push(o>>16&255),s.push(o>>8&255),s.push(o&255)):n===18?(s.push(o>>10&255),s.push(o>>2&255)):n===12&&s.push(o>>4&255),new Uint8Array(s)}e(Fe,`constructYamlBinary`);function Ie(e){var t=``,n=0,r,i,a=e.length,o=S;for(r=0;r<a;r++)r%3==0&&r&&(t+=o[n>>18&63],t+=o[n>>12&63],t+=o[n>>6&63],t+=o[n&63]),n=(n<<8)+e[r];return i=a%3,i===0?(t+=o[n>>18&63],t+=o[n>>12&63],t+=o[n>>6&63],t+=o[n&63]):i===2?(t+=o[n>>10&63],t+=o[n>>4&63],t+=o[n<<2&63],t+=o[64]):i===1&&(t+=o[n>>2&63],t+=o[n<<4&63],t+=o[64],t+=o[64]),t}e(Ie,`representYamlBinary`);function Le(e){return Object.prototype.toString.call(e)===`[object Uint8Array]`}e(Le,`isBinary`);var Re=new y(`tag:yaml.org,2002:binary`,{kind:`scalar`,resolve:Pe,construct:Fe,predicate:Le,represent:Ie}),ze=Object.prototype.hasOwnProperty,Be=Object.prototype.toString;function Ve(e){if(e===null)return!0;var t=[],n,r,i,a,o,s=e;for(n=0,r=s.length;n<r;n+=1){if(i=s[n],o=!1,Be.call(i)!==`[object Object]`)return!1;for(a in i)if(ze.call(i,a))if(!o)o=!0;else return!1;if(!o)return!1;if(t.indexOf(a)===-1)t.push(a);else return!1}return!0}e(Ve,`resolveYamlOmap`);function He(e){return e===null?[]:e}e(He,`constructYamlOmap`);var Ue=new y(`tag:yaml.org,2002:omap`,{kind:`sequence`,resolve:Ve,construct:He}),We=Object.prototype.toString;function Ge(e){if(e===null)return!0;var t,n,r,i,a,o=e;for(a=Array(o.length),t=0,n=o.length;t<n;t+=1){if(r=o[t],We.call(r)!==`[object Object]`||(i=Object.keys(r),i.length!==1))return!1;a[t]=[i[0],r[i[0]]]}return!0}e(Ge,`resolveYamlPairs`);function Ke(e){if(e===null)return[];var t,n,r,i,a,o=e;for(a=Array(o.length),t=0,n=o.length;t<n;t+=1)r=o[t],i=Object.keys(r),a[t]=[i[0],r[i[0]]];return a}e(Ke,`constructYamlPairs`);var qe=new y(`tag:yaml.org,2002:pairs`,{kind:`sequence`,resolve:Ge,construct:Ke}),Je=Object.prototype.hasOwnProperty;function Ye(e){if(e===null)return!0;var t,n=e;for(t in n)if(Je.call(n,t)&&n[t]!==null)return!1;return!0}e(Ye,`resolveYamlSet`);function Xe(e){return e===null?{}:e}e(Xe,`constructYamlSet`);var Ze=new y(`tag:yaml.org,2002:set`,{kind:`mapping`,resolve:Ye,construct:Xe}),Qe=Te.extend({implicit:[je,Ne],explicit:[Re,Ue,qe,Ze]}),C=Object.prototype.hasOwnProperty,w=1,$e=2,et=3,T=4,E=1,tt=2,nt=3,rt=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,it=/[\x85\u2028\u2029]/,at=/[,\[\]\{\}]/,ot=/^(?:!|!!|![a-z\-]+!)$/i,st=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function D(e){return Object.prototype.toString.call(e)}e(D,`_class`);function O(e){return e===10||e===13}e(O,`is_EOL`);function k(e){return e===9||e===32}e(k,`is_WHITE_SPACE`);function A(e){return e===9||e===32||e===10||e===13}e(A,`is_WS_OR_EOL`);function j(e){return e===44||e===91||e===93||e===123||e===125}e(j,`is_FLOW_INDICATOR`);function ct(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}e(ct,`fromHexCode`);function lt(e){return e===120?2:e===117?4:e===85?8:0}e(lt,`escapedHexLen`);function ut(e){return 48<=e&&e<=57?e-48:-1}e(ut,`fromDecimalCode`);function dt(e){return e===48?`\0`:e===97?`\x07`:e===98?`\b`:e===116||e===9?` `:e===110?`
9
+ `:e===118?`\v`:e===102?`\f`:e===114?`\r`:e===101?`\x1B`:e===32?` `:e===34?`"`:e===47?`/`:e===92?`\\`:e===78?`…`:e===95?`\xA0`:e===76?`\u2028`:e===80?`\u2029`:``}e(dt,`simpleEscapeSequence`);function ft(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}e(ft,`charFromCodepoint`);function pt(e,t,n){t===`__proto__`?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n}e(pt,`setProperty`);var mt=Array(256),ht=Array(256);for(M=0;M<256;M++)mt[M]=+!!dt(M),ht[M]=dt(M);var M;function gt(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||Qe,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}e(gt,`State$1`);function _t(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=m(n),new u(t,n)}e(_t,`generateError`);function N(e,t){throw _t(e,t)}e(N,`throwError`);function P(e,t){e.onWarning&&e.onWarning.call(null,_t(e,t))}e(P,`throwWarning`);var vt={YAML:e(function(e,t,n){var r,i,a;e.version!==null&&N(e,`duplication of %YAML directive`),n.length!==1&&N(e,`YAML directive accepts exactly one argument`),r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),r===null&&N(e,`ill-formed argument of the YAML directive`),i=parseInt(r[1],10),a=parseInt(r[2],10),i!==1&&N(e,`unacceptable YAML version of the document`),e.version=n[0],e.checkLineBreaks=a<2,a!==1&&a!==2&&P(e,`unsupported YAML version of the document`)},`handleYamlDirective`),TAG:e(function(e,t,n){var r,i;n.length!==2&&N(e,`TAG directive accepts exactly two arguments`),r=n[0],i=n[1],ot.test(r)||N(e,`ill-formed tag handle (first argument) of the TAG directive`),C.call(e.tagMap,r)&&N(e,`there is a previously declared suffix for "`+r+`" tag handle`),st.test(i)||N(e,`ill-formed tag prefix (second argument) of the TAG directive`);try{i=decodeURIComponent(i)}catch{N(e,`tag prefix is malformed: `+i)}e.tagMap[r]=i},`handleTagDirective`)};function F(e,t,n,r){var i,a,o,s;if(t<n){if(s=e.input.slice(t,n),r)for(i=0,a=s.length;i<a;i+=1)o=s.charCodeAt(i),o===9||32<=o&&o<=1114111||N(e,`expected valid JSON character`);else rt.test(s)&&N(e,`the stream contains non-printable characters`);e.result+=s}}e(F,`captureSegment`);function yt(e,t,n,r){var i,a,o,c;for(s.isObject(n)||N(e,`cannot merge mappings; the provided source object is unacceptable`),i=Object.keys(n),o=0,c=i.length;o<c;o+=1)a=i[o],C.call(t,a)||(pt(t,a,n[a]),r[a]=!0)}e(yt,`mergeMappings`);function I(e,t,n,r,i,a,o,s,c){var l,u;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),l=0,u=i.length;l<u;l+=1)Array.isArray(i[l])&&N(e,`nested arrays are not supported inside keys`),typeof i==`object`&&D(i[l])===`[object Object]`&&(i[l]=`[object Object]`);if(typeof i==`object`&&D(i)===`[object Object]`&&(i=`[object Object]`),i=String(i),t===null&&(t={}),r===`tag:yaml.org,2002:merge`)if(Array.isArray(a))for(l=0,u=a.length;l<u;l+=1)yt(e,t,a[l],n);else yt(e,t,a,n);else !e.json&&!C.call(n,i)&&C.call(t,i)&&(e.line=o||e.line,e.lineStart=s||e.lineStart,e.position=c||e.position,N(e,`duplicated mapping key`)),pt(t,i,a),delete n[i];return t}e(I,`storeMappingPair`);function L(e){var t=e.input.charCodeAt(e.position);t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):N(e,`a line break is expected`),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}e(L,`readLineBreak`);function R(e,t,n){for(var r=0,i=e.input.charCodeAt(e.position);i!==0;){for(;k(i);)i===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(O(i))for(L(e),i=e.input.charCodeAt(e.position),r++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return n!==-1&&r!==0&&e.lineIndent<n&&P(e,`deficient indentation`),r}e(R,`skipSeparationSpace`);function z(e){var t=e.position,n=e.input.charCodeAt(t);return!!((n===45||n===46)&&n===e.input.charCodeAt(t+1)&&n===e.input.charCodeAt(t+2)&&(t+=3,n=e.input.charCodeAt(t),n===0||A(n)))}e(z,`testDocumentSeparator`);function B(e,t){t===1?e.result+=` `:t>1&&(e.result+=s.repeat(`
10
+ `,t-1))}e(B,`writeFoldedLines`);function bt(e,t,n){var r,i,a,o,s,c,l,u,d=e.kind,f=e.result,p=e.input.charCodeAt(e.position);if(A(p)||j(p)||p===35||p===38||p===42||p===33||p===124||p===62||p===39||p===34||p===37||p===64||p===96||(p===63||p===45)&&(i=e.input.charCodeAt(e.position+1),A(i)||n&&j(i)))return!1;for(e.kind=`scalar`,e.result=``,a=o=e.position,s=!1;p!==0;){if(p===58){if(i=e.input.charCodeAt(e.position+1),A(i)||n&&j(i))break}else if(p===35){if(r=e.input.charCodeAt(e.position-1),A(r))break}else if(e.position===e.lineStart&&z(e)||n&&j(p))break;else if(O(p))if(c=e.line,l=e.lineStart,u=e.lineIndent,R(e,!1,-1),e.lineIndent>=t){s=!0,p=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=c,e.lineStart=l,e.lineIndent=u;break}s&&=(F(e,a,o,!1),B(e,e.line-c),a=o=e.position,!1),k(p)||(o=e.position+1),p=e.input.charCodeAt(++e.position)}return F(e,a,o,!1),e.result?!0:(e.kind=d,e.result=f,!1)}e(bt,`readPlainScalar`);function xt(e,t){var n=e.input.charCodeAt(e.position),r,i;if(n!==39)return!1;for(e.kind=`scalar`,e.result=``,e.position++,r=i=e.position;(n=e.input.charCodeAt(e.position))!==0;)if(n===39)if(F(e,r,e.position,!0),n=e.input.charCodeAt(++e.position),n===39)r=e.position,e.position++,i=e.position;else return!0;else O(n)?(F(e,r,i,!0),B(e,R(e,!1,t)),r=i=e.position):e.position===e.lineStart&&z(e)?N(e,`unexpected end of the document within a single quoted scalar`):(e.position++,i=e.position);N(e,`unexpected end of the stream within a single quoted scalar`)}e(xt,`readSingleQuotedScalar`);function St(e,t){var n,r,i,a,o,s=e.input.charCodeAt(e.position);if(s!==34)return!1;for(e.kind=`scalar`,e.result=``,e.position++,n=r=e.position;(s=e.input.charCodeAt(e.position))!==0;)if(s===34)return F(e,n,e.position,!0),e.position++,!0;else if(s===92){if(F(e,n,e.position,!0),s=e.input.charCodeAt(++e.position),O(s))R(e,!1,t);else if(s<256&&mt[s])e.result+=ht[s],e.position++;else if((o=lt(s))>0){for(i=o,a=0;i>0;i--)s=e.input.charCodeAt(++e.position),(o=ct(s))>=0?a=(a<<4)+o:N(e,`expected hexadecimal character`);e.result+=ft(a),e.position++}else N(e,`unknown escape sequence`);n=r=e.position}else O(s)?(F(e,n,r,!0),B(e,R(e,!1,t)),n=r=e.position):e.position===e.lineStart&&z(e)?N(e,`unexpected end of the document within a double quoted scalar`):(e.position++,r=e.position);N(e,`unexpected end of the stream within a double quoted scalar`)}e(St,`readDoubleQuotedScalar`);function Ct(e,t){var n=!0,r,i,a,o=e.tag,s,c=e.anchor,l,u,d,f,p,m=Object.create(null),h,g,_,v=e.input.charCodeAt(e.position);if(v===91)u=93,p=!1,s=[];else if(v===123)u=125,p=!0,s={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),v=e.input.charCodeAt(++e.position);v!==0;){if(R(e,!0,t),v=e.input.charCodeAt(e.position),v===u)return e.position++,e.tag=o,e.anchor=c,e.kind=p?`mapping`:`sequence`,e.result=s,!0;n?v===44&&N(e,`expected the node content, but found ','`):N(e,`missed comma between flow collection entries`),g=h=_=null,d=f=!1,v===63&&(l=e.input.charCodeAt(e.position+1),A(l)&&(d=f=!0,e.position++,R(e,!0,t))),r=e.line,i=e.lineStart,a=e.position,V(e,t,w,!1,!0),g=e.tag,h=e.result,R(e,!0,t),v=e.input.charCodeAt(e.position),(f||e.line===r)&&v===58&&(d=!0,v=e.input.charCodeAt(++e.position),R(e,!0,t),V(e,t,w,!1,!0),_=e.result),p?I(e,s,m,g,h,_,r,i,a):d?s.push(I(e,null,m,g,h,_,r,i,a)):s.push(h),R(e,!0,t),v=e.input.charCodeAt(e.position),v===44?(n=!0,v=e.input.charCodeAt(++e.position)):n=!1}N(e,`unexpected end of the stream within a flow collection`)}e(Ct,`readFlowCollection`);function wt(e,t){var n,r,i=E,a=!1,o=!1,c=t,l=0,u=!1,d,f=e.input.charCodeAt(e.position);if(f===124)r=!1;else if(f===62)r=!0;else return!1;for(e.kind=`scalar`,e.result=``;f!==0;)if(f=e.input.charCodeAt(++e.position),f===43||f===45)E===i?i=f===43?nt:tt:N(e,`repeat of a chomping mode identifier`);else if((d=ut(f))>=0)d===0?N(e,`bad explicit indentation width of a block scalar; it cannot be less than one`):o?N(e,`repeat of an indentation width identifier`):(c=t+d-1,o=!0);else break;if(k(f)){do f=e.input.charCodeAt(++e.position);while(k(f));if(f===35)do f=e.input.charCodeAt(++e.position);while(!O(f)&&f!==0)}for(;f!==0;){for(L(e),e.lineIndent=0,f=e.input.charCodeAt(e.position);(!o||e.lineIndent<c)&&f===32;)e.lineIndent++,f=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>c&&(c=e.lineIndent),O(f)){l++;continue}if(e.lineIndent<c){i===nt?e.result+=s.repeat(`
11
+ `,a?1+l:l):i===E&&a&&(e.result+=`
12
+ `);break}for(r?k(f)?(u=!0,e.result+=s.repeat(`
13
+ `,a?1+l:l)):u?(u=!1,e.result+=s.repeat(`
14
+ `,l+1)):l===0?a&&(e.result+=` `):e.result+=s.repeat(`
15
+ `,l):e.result+=s.repeat(`
16
+ `,a?1+l:l),a=!0,o=!0,l=0,n=e.position;!O(f)&&f!==0;)f=e.input.charCodeAt(++e.position);F(e,n,e.position,!1)}return!0}e(wt,`readBlockScalar`);function Tt(e,t){var n,r=e.tag,i=e.anchor,a=[],o,s=!1,c;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),c=e.input.charCodeAt(e.position);c!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,N(e,`tab characters must not be used in indentation`)),!(c!==45||(o=e.input.charCodeAt(e.position+1),!A(o))));){if(s=!0,e.position++,R(e,!0,-1)&&e.lineIndent<=t){a.push(null),c=e.input.charCodeAt(e.position);continue}if(n=e.line,V(e,t,et,!1,!0),a.push(e.result),R(e,!0,-1),c=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&c!==0)N(e,`bad indentation of a sequence entry`);else if(e.lineIndent<t)break}return s?(e.tag=r,e.anchor=i,e.kind=`sequence`,e.result=a,!0):!1}e(Tt,`readBlockSequence`);function Et(e,t,n){var r,i,a,o,s,c,l=e.tag,u=e.anchor,d={},f=Object.create(null),p=null,m=null,h=null,g=!1,_=!1,v;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=d),v=e.input.charCodeAt(e.position);v!==0;){if(!g&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,N(e,`tab characters must not be used in indentation`)),r=e.input.charCodeAt(e.position+1),a=e.line,(v===63||v===58)&&A(r))v===63?(g&&(I(e,d,f,p,m,null,o,s,c),p=m=h=null),_=!0,g=!0,i=!0):g?(g=!1,i=!0):N(e,`incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line`),e.position+=1,v=r;else{if(o=e.line,s=e.lineStart,c=e.position,!V(e,n,$e,!1,!0))break;if(e.line===a){for(v=e.input.charCodeAt(e.position);k(v);)v=e.input.charCodeAt(++e.position);if(v===58)v=e.input.charCodeAt(++e.position),A(v)||N(e,`a whitespace character is expected after the key-value separator within a block mapping`),g&&(I(e,d,f,p,m,null,o,s,c),p=m=h=null),_=!0,g=!1,i=!1,p=e.tag,m=e.result;else if(_)N(e,`can not read an implicit mapping pair; a colon is missed`);else return e.tag=l,e.anchor=u,!0}else if(_)N(e,`can not read a block mapping entry; a multiline key may not be an implicit key`);else return e.tag=l,e.anchor=u,!0}if((e.line===a||e.lineIndent>t)&&(g&&(o=e.line,s=e.lineStart,c=e.position),V(e,t,T,!0,i)&&(g?m=e.result:h=e.result),g||(I(e,d,f,p,m,h,o,s,c),p=m=h=null),R(e,!0,-1),v=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&v!==0)N(e,`bad indentation of a mapping entry`);else if(e.lineIndent<t)break}return g&&I(e,d,f,p,m,null,o,s,c),_&&(e.tag=l,e.anchor=u,e.kind=`mapping`,e.result=d),_}e(Et,`readBlockMapping`);function Dt(e){var t,n=!1,r=!1,i,a,o=e.input.charCodeAt(e.position);if(o!==33)return!1;if(e.tag!==null&&N(e,`duplication of a tag property`),o=e.input.charCodeAt(++e.position),o===60?(n=!0,o=e.input.charCodeAt(++e.position)):o===33?(r=!0,i=`!!`,o=e.input.charCodeAt(++e.position)):i=`!`,t=e.position,n){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(a=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):N(e,`unexpected end of the stream within a verbatim tag`)}else{for(;o!==0&&!A(o);)o===33&&(r?N(e,`tag suffix cannot contain exclamation marks`):(i=e.input.slice(t-1,e.position+1),ot.test(i)||N(e,`named tag handle cannot contain such characters`),r=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);a=e.input.slice(t,e.position),at.test(a)&&N(e,`tag suffix cannot contain flow indicator characters`)}a&&!st.test(a)&&N(e,`tag name cannot contain such characters: `+a);try{a=decodeURIComponent(a)}catch{N(e,`tag name is malformed: `+a)}return n?e.tag=a:C.call(e.tagMap,i)?e.tag=e.tagMap[i]+a:i===`!`?e.tag=`!`+a:i===`!!`?e.tag=`tag:yaml.org,2002:`+a:N(e,`undeclared tag handle "`+i+`"`),!0}e(Dt,`readTagProperty`);function Ot(e){var t,n=e.input.charCodeAt(e.position);if(n!==38)return!1;for(e.anchor!==null&&N(e,`duplication of an anchor property`),n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!A(n)&&!j(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&N(e,`name of an anchor node must contain at least one character`),e.anchor=e.input.slice(t,e.position),!0}e(Ot,`readAnchorProperty`);function kt(e){var t,n,r=e.input.charCodeAt(e.position);if(r!==42)return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!A(r)&&!j(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&N(e,`name of an alias node must contain at least one character`),n=e.input.slice(t,e.position),C.call(e.anchorMap,n)||N(e,`unidentified alias "`+n+`"`),e.result=e.anchorMap[n],R(e,!0,-1),!0}e(kt,`readAlias`);function V(e,t,n,r,i){var a,o,s,c=1,l=!1,u=!1,d,f,p,m,h,g;if(e.listener!==null&&e.listener(`open`,e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,a=o=s=T===n||et===n,r&&R(e,!0,-1)&&(l=!0,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)),c===1)for(;Dt(e)||Ot(e);)R(e,!0,-1)?(l=!0,s=a,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)):s=!1;if(s&&=l||i,(c===1||T===n)&&(h=w===n||$e===n?t:t+1,g=e.position-e.lineStart,c===1?s&&(Tt(e,g)||Et(e,g,h))||Ct(e,h)?u=!0:(o&&wt(e,h)||xt(e,h)||St(e,h)?u=!0:kt(e)?(u=!0,(e.tag!==null||e.anchor!==null)&&N(e,`alias node should not have any properties`)):bt(e,h,w===n)&&(u=!0,e.tag===null&&(e.tag=`?`)),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):c===0&&(u=s&&Tt(e,g))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag===`?`){for(e.result!==null&&e.kind!==`scalar`&&N(e,`unacceptable node kind for !<?> tag; it should be "scalar", not "`+e.kind+`"`),d=0,f=e.implicitTypes.length;d<f;d+=1)if(m=e.implicitTypes[d],m.resolve(e.result)){e.result=m.construct(e.result),e.tag=m.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!==`!`){if(C.call(e.typeMap[e.kind||`fallback`],e.tag))m=e.typeMap[e.kind||`fallback`][e.tag];else for(m=null,p=e.typeMap.multi[e.kind||`fallback`],d=0,f=p.length;d<f;d+=1)if(e.tag.slice(0,p[d].tag.length)===p[d].tag){m=p[d];break}m||N(e,`unknown tag !<`+e.tag+`>`),e.result!==null&&m.kind!==e.kind&&N(e,`unacceptable node kind for !<`+e.tag+`> tag; it should be "`+m.kind+`", not "`+e.kind+`"`),m.resolve(e.result,e.tag)?(e.result=m.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):N(e,`cannot resolve a node with !<`+e.tag+`> explicit tag`)}return e.listener!==null&&e.listener(`close`,e),e.tag!==null||e.anchor!==null||u}e(V,`composeNode`);function At(e){var t=e.position,n,r,i,a=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(R(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(a=!0,o=e.input.charCodeAt(++e.position),n=e.position;o!==0&&!A(o);)o=e.input.charCodeAt(++e.position);for(r=e.input.slice(n,e.position),i=[],r.length<1&&N(e,`directive name must not be less than one character in length`);o!==0;){for(;k(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!O(o));break}if(O(o))break;for(n=e.position;o!==0&&!A(o);)o=e.input.charCodeAt(++e.position);i.push(e.input.slice(n,e.position))}o!==0&&L(e),C.call(vt,r)?vt[r](e,r,i):P(e,`unknown document directive "`+r+`"`)}if(R(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,R(e,!0,-1)):a&&N(e,`directives end mark is expected`),V(e,e.lineIndent-1,T,!1,!0),R(e,!0,-1),e.checkLineBreaks&&it.test(e.input.slice(t,e.position))&&P(e,`non-ASCII line breaks are interpreted as content`),e.documents.push(e.result),e.position===e.lineStart&&z(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,R(e,!0,-1));return}if(e.position<e.length-1)N(e,`end of the stream or a document separator is expected`);else return}e(At,`readDocument`);function jt(e,t){e=String(e),t||={},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
17
+ `),e.charCodeAt(0)===65279&&(e=e.slice(1)));var n=new gt(e,t),r=e.indexOf(`\0`);for(r!==-1&&(n.position=r,N(n,`null byte is not allowed in input`)),n.input+=`\0`;n.input.charCodeAt(n.position)===32;)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)At(n);return n.documents}e(jt,`loadDocuments`);function Mt(e,t,n){typeof t==`object`&&t&&n===void 0&&(n=t,t=null);var r=jt(e,n);if(typeof t!=`function`)return r;for(var i=0,a=r.length;i<a;i+=1)t(r[i])}e(Mt,`loadAll$1`);function Nt(e,t){var n=jt(e,t);if(n.length!==0){if(n.length===1)return n[0];throw new u(`expected a single document in the stream, but found more`)}}e(Nt,`load$1`);var Pt={loadAll:Mt,load:Nt},Ft=Object.prototype.toString,It=Object.prototype.hasOwnProperty,Lt=65279,Rt=9,H=10,zt=13,Bt=32,Vt=33,Ht=34,Ut=35,Wt=37,Gt=38,Kt=39,qt=42,Jt=44,Yt=45,U=58,Xt=61,Zt=62,Qt=63,$t=64,en=91,tn=93,nn=96,rn=123,an=124,on=125,W={};W[0]=`\\0`,W[7]=`\\a`,W[8]=`\\b`,W[9]=`\\t`,W[10]=`\\n`,W[11]=`\\v`,W[12]=`\\f`,W[13]=`\\r`,W[27]=`\\e`,W[34]=`\\"`,W[92]=`\\\\`,W[133]=`\\N`,W[160]=`\\_`,W[8232]=`\\L`,W[8233]=`\\P`;var sn=[`y`,`Y`,`yes`,`Yes`,`YES`,`on`,`On`,`ON`,`n`,`N`,`no`,`No`,`NO`,`off`,`Off`,`OFF`],cn=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function ln(e,t){var n,r,i,a,o,s,c;if(t===null)return{};for(n={},r=Object.keys(t),i=0,a=r.length;i<a;i+=1)o=r[i],s=String(t[o]),o.slice(0,2)===`!!`&&(o=`tag:yaml.org,2002:`+o.slice(2)),c=e.compiledTypeMap.fallback[o],c&&It.call(c.styleAliases,s)&&(s=c.styleAliases[s]),n[o]=s;return n}e(ln,`compileStyleMap`);function un(e){var t=e.toString(16).toUpperCase(),n,r;if(e<=255)n=`x`,r=2;else if(e<=65535)n=`u`,r=4;else if(e<=4294967295)n=`U`,r=8;else throw new u(`code point within a string may not be greater than 0xFFFFFFFF`);return`\\`+n+s.repeat(`0`,r-t.length)+t}e(un,`encodeHex`);var dn=1,G=2;function fn(e){this.schema=e.schema||Qe,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=s.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=ln(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType===`"`?G:dn,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer==`function`?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result=``,this.duplicates=[],this.usedDuplicates=null}e(fn,`State`);function pn(e,t){for(var n=s.repeat(` `,t),r=0,i=-1,a=``,o,c=e.length;r<c;)i=e.indexOf(`
18
+ `,r),i===-1?(o=e.slice(r),r=c):(o=e.slice(r,i+1),r=i+1),o.length&&o!==`
19
+ `&&(a+=n),a+=o;return a}e(pn,`indentString`);function K(e,t){return`
20
+ `+s.repeat(` `,e.indent*t)}e(K,`generateNextLine`);function mn(e,t){var n,r,i;for(n=0,r=e.implicitTypes.length;n<r;n+=1)if(i=e.implicitTypes[n],i.resolve(t))return!0;return!1}e(mn,`testImplicitResolving`);function q(e){return e===Bt||e===Rt}e(q,`isWhitespace`);function J(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==Lt||65536<=e&&e<=1114111}e(J,`isPrintable`);function hn(e){return J(e)&&e!==Lt&&e!==zt&&e!==H}e(hn,`isNsCharOrWhitespace`);function gn(e,t,n){var r=hn(e),i=r&&!q(e);return(n?r:r&&e!==Jt&&e!==en&&e!==tn&&e!==rn&&e!==on)&&e!==Ut&&!(t===U&&!i)||hn(t)&&!q(t)&&e===Ut||t===U&&i}e(gn,`isPlainSafe`);function _n(e){return J(e)&&e!==Lt&&!q(e)&&e!==Yt&&e!==Qt&&e!==U&&e!==Jt&&e!==en&&e!==tn&&e!==rn&&e!==on&&e!==Ut&&e!==Gt&&e!==qt&&e!==Vt&&e!==an&&e!==Xt&&e!==Zt&&e!==Kt&&e!==Ht&&e!==Wt&&e!==$t&&e!==nn}e(_n,`isPlainSafeFirst`);function vn(e){return!q(e)&&e!==U}e(vn,`isPlainSafeLast`);function Y(e,t){var n=e.charCodeAt(t),r;return n>=55296&&n<=56319&&t+1<e.length&&(r=e.charCodeAt(t+1),r>=56320&&r<=57343)?(n-55296)*1024+r-56320+65536:n}e(Y,`codePointAt`);function yn(e){return/^\n* /.test(e)}e(yn,`needIndentIndicator`);var bn=1,xn=2,Sn=3,Cn=4,X=5;function wn(e,t,n,r,i,a,o,s){var c,l=0,u=null,d=!1,f=!1,p=r!==-1,m=-1,h=_n(Y(e,0))&&vn(Y(e,e.length-1));if(t||o)for(c=0;c<e.length;l>=65536?c+=2:c++){if(l=Y(e,c),!J(l))return X;h&&=gn(l,u,s),u=l}else{for(c=0;c<e.length;l>=65536?c+=2:c++){if(l=Y(e,c),l===H)d=!0,p&&(f||=c-m-1>r&&e[m+1]!==` `,m=c);else if(!J(l))return X;h&&=gn(l,u,s),u=l}f||=p&&c-m-1>r&&e[m+1]!==` `}return!d&&!f?h&&!o&&!i(e)?bn:a===G?X:xn:n>9&&yn(e)?X:o?a===G?X:xn:f?Cn:Sn}e(wn,`chooseScalarStyle`);function Tn(t,n,r,i,a){t.dump=(function(){if(n.length===0)return t.quotingType===G?`""`:`''`;if(!t.noCompatMode&&(sn.indexOf(n)!==-1||cn.test(n)))return t.quotingType===G?`"`+n+`"`:`'`+n+`'`;var o=t.indent*Math.max(1,r),s=t.lineWidth===-1?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-o),c=i||t.flowLevel>-1&&r>=t.flowLevel;function l(e){return mn(t,e)}switch(e(l,`testAmbiguity`),wn(n,c,t.indent,s,l,t.quotingType,t.forceQuotes&&!i,a)){case bn:return n;case xn:return`'`+n.replace(/'/g,`''`)+`'`;case Sn:return`|`+En(n,t.indent)+Dn(pn(n,o));case Cn:return`>`+En(n,t.indent)+Dn(pn(On(n,s),o));case X:return`"`+An(n)+`"`;default:throw new u(`impossible error: invalid scalar style`)}})()}e(Tn,`writeScalar`);function En(e,t){var n=yn(e)?String(t):``,r=e[e.length-1]===`
21
+ `;return n+(r&&(e[e.length-2]===`
22
+ `||e===`
23
+ `)?`+`:r?``:`-`)+`
24
+ `}e(En,`blockHeader`);function Dn(e){return e[e.length-1]===`
25
+ `?e.slice(0,-1):e}e(Dn,`dropEndingNewline`);function On(e,t){for(var n=/(\n+)([^\n]*)/g,r=(function(){var r=e.indexOf(`
26
+ `);return r=r===-1?e.length:r,n.lastIndex=r,kn(e.slice(0,r),t)})(),i=e[0]===`
27
+ `||e[0]===` `,a,o;o=n.exec(e);){var s=o[1],c=o[2];a=c[0]===` `,r+=s+(!i&&!a&&c!==``?`
28
+ `:``)+kn(c,t),i=a}return r}e(On,`foldString`);function kn(e,t){if(e===``||e[0]===` `)return e;for(var n=/ [^ ]/g,r,i=0,a,o=0,s=0,c=``;r=n.exec(e);)s=r.index,s-i>t&&(a=o>i?o:s,c+=`
29
+ `+e.slice(i,a),i=a+1),o=s;return c+=`
30
+ `,e.length-i>t&&o>i?c+=e.slice(i,o)+`
31
+ `+e.slice(o+1):c+=e.slice(i),c.slice(1)}e(kn,`foldLine`);function An(e){for(var t=``,n=0,r,i=0;i<e.length;n>=65536?i+=2:i++)n=Y(e,i),r=W[n],!r&&J(n)?(t+=e[i],n>=65536&&(t+=e[i+1])):t+=r||un(n);return t}e(An,`escapeString`);function jn(e,t,n){var r=``,i=e.tag,a,o,s;for(a=0,o=n.length;a<o;a+=1)s=n[a],e.replacer&&(s=e.replacer.call(n,String(a),s)),(Q(e,t,s,!1,!1)||s===void 0&&Q(e,t,null,!1,!1))&&(r!==``&&(r+=`,`+(e.condenseFlow?``:` `)),r+=e.dump);e.tag=i,e.dump=`[`+r+`]`}e(jn,`writeFlowSequence`);function Mn(e,t,n,r){var i=``,a=e.tag,o,s,c;for(o=0,s=n.length;o<s;o+=1)c=n[o],e.replacer&&(c=e.replacer.call(n,String(o),c)),(Q(e,t+1,c,!0,!0,!1,!0)||c===void 0&&Q(e,t+1,null,!0,!0,!1,!0))&&((!r||i!==``)&&(i+=K(e,t)),e.dump&&H===e.dump.charCodeAt(0)?i+=`-`:i+=`- `,i+=e.dump);e.tag=a,e.dump=i||`[]`}e(Mn,`writeBlockSequence`);function Nn(e,t,n){var r=``,i=e.tag,a=Object.keys(n),o,s,c,l,u;for(o=0,s=a.length;o<s;o+=1)u=``,r!==``&&(u+=`, `),e.condenseFlow&&(u+=`"`),c=a[o],l=n[c],e.replacer&&(l=e.replacer.call(n,c,l)),Q(e,t,c,!1,!1)&&(e.dump.length>1024&&(u+=`? `),u+=e.dump+(e.condenseFlow?`"`:``)+`:`+(e.condenseFlow?``:` `),Q(e,t,l,!1,!1)&&(u+=e.dump,r+=u));e.tag=i,e.dump=`{`+r+`}`}e(Nn,`writeFlowMapping`);function Pn(e,t,n,r){var i=``,a=e.tag,o=Object.keys(n),s,c,l,d,f,p;if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys==`function`)o.sort(e.sortKeys);else if(e.sortKeys)throw new u(`sortKeys must be a boolean or a function`);for(s=0,c=o.length;s<c;s+=1)p=``,(!r||i!==``)&&(p+=K(e,t)),l=o[s],d=n[l],e.replacer&&(d=e.replacer.call(n,l,d)),Q(e,t+1,l,!0,!0,!0)&&(f=e.tag!==null&&e.tag!==`?`||e.dump&&e.dump.length>1024,f&&(e.dump&&H===e.dump.charCodeAt(0)?p+=`?`:p+=`? `),p+=e.dump,f&&(p+=K(e,t)),Q(e,t+1,d,!0,f)&&(e.dump&&H===e.dump.charCodeAt(0)?p+=`:`:p+=`: `,p+=e.dump,i+=p));e.tag=a,e.dump=i||`{}`}e(Pn,`writeBlockMapping`);function Z(e,t,n){var r,i=n?e.explicitTypes:e.implicitTypes,a,o,s,c;for(a=0,o=i.length;a<o;a+=1)if(s=i[a],(s.instanceOf||s.predicate)&&(!s.instanceOf||typeof t==`object`&&t instanceof s.instanceOf)&&(!s.predicate||s.predicate(t))){if(n?s.multi&&s.representName?e.tag=s.representName(t):e.tag=s.tag:e.tag=`?`,s.represent){if(c=e.styleMap[s.tag]||s.defaultStyle,Ft.call(s.represent)===`[object Function]`)r=s.represent(t,c);else if(It.call(s.represent,c))r=s.represent[c](t,c);else throw new u(`!<`+s.tag+`> tag resolver accepts not "`+c+`" style`);e.dump=r}return!0}return!1}e(Z,`detectType`);function Q(e,t,n,r,i,a,o){e.tag=null,e.dump=n,Z(e,n,!1)||Z(e,n,!0);var s=Ft.call(e.dump),c=r,l;r&&=e.flowLevel<0||e.flowLevel>t;var d=s===`[object Object]`||s===`[object Array]`,f,p;if(d&&(f=e.duplicates.indexOf(n),p=f!==-1),(e.tag!==null&&e.tag!==`?`||p||e.indent!==2&&t>0)&&(i=!1),p&&e.usedDuplicates[f])e.dump=`*ref_`+f;else{if(d&&p&&!e.usedDuplicates[f]&&(e.usedDuplicates[f]=!0),s===`[object Object]`)r&&Object.keys(e.dump).length!==0?(Pn(e,t,e.dump,i),p&&(e.dump=`&ref_`+f+e.dump)):(Nn(e,t,e.dump),p&&(e.dump=`&ref_`+f+` `+e.dump));else if(s===`[object Array]`)r&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?Mn(e,t-1,e.dump,i):Mn(e,t,e.dump,i),p&&(e.dump=`&ref_`+f+e.dump)):(jn(e,t,e.dump),p&&(e.dump=`&ref_`+f+` `+e.dump));else if(s===`[object String]`)e.tag!==`?`&&Tn(e,e.dump,t,a,c);else if(s===`[object Undefined]`)return!1;else{if(e.skipInvalid)return!1;throw new u(`unacceptable kind of an object to dump `+s)}e.tag!==null&&e.tag!==`?`&&(l=encodeURI(e.tag[0]===`!`?e.tag.slice(1):e.tag).replace(/!/g,`%21`),l=e.tag[0]===`!`?`!`+l:l.slice(0,18)===`tag:yaml.org,2002:`?`!!`+l.slice(18):`!<`+l+`>`,e.dump=l+` `+e.dump)}return!0}e(Q,`writeNode`);function Fn(e,t){var n=[],r=[],i,a;for($(e,n,r),i=0,a=r.length;i<a;i+=1)t.duplicates.push(n[r[i]]);t.usedDuplicates=Array(a)}e(Fn,`getDuplicateReferences`);function $(e,t,n){var r,i,a;if(typeof e==`object`&&e)if(i=t.indexOf(e),i!==-1)n.indexOf(i)===-1&&n.push(i);else if(t.push(e),Array.isArray(e))for(i=0,a=e.length;i<a;i+=1)$(e[i],t,n);else for(r=Object.keys(e),i=0,a=r.length;i<a;i+=1)$(e[r[i]],t,n)}e($,`inspectNode`);function In(e,t){t||={};var n=new fn(t);n.noRefs||Fn(e,n);var r=e;return n.replacer&&(r=n.replacer.call({"":r},``,r)),Q(n,0,r,!0,!0)?n.dump+`
32
+ `:``}e(In,`dump$1`);var Ln={dump:In};function Rn(e,t){return function(){throw Error(`Function yaml.`+e+` is removed in js-yaml 4. Use yaml.`+t+` instead, which is now safe by default.`)}}e(Rn,`renamed`);var zn=we,Bn=Pt.load;Pt.loadAll,Ln.dump;
33
+ /*! Bundled license information:
34
+
35
+ js-yaml/dist/js-yaml.mjs:
36
+ (*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT *)
37
+ */
38
+ export{Bn as n,zn as t};
39
+ //# sourceMappingURL=chunk-ZIRB5QZD-K23GvNu-.mjs.map