@marimo-team/frontend 0.25.2-dev34 → 0.25.2-dev36

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 (701) hide show
  1. package/dist/assets/CellStatus-2Psjnl5F.css +1 -0
  2. package/dist/assets/CellStatus-CRNbTOIs.js +1 -0
  3. package/dist/assets/ConnectedDataExplorerComponent-CDPp5q3i.js +1 -0
  4. package/dist/assets/ErrorBoundary-CHPy195L.js +2 -0
  5. package/dist/assets/Inputs-BlygJyl1.js +1 -0
  6. package/dist/assets/JsonOutput-B0GmlMnR.css +2 -0
  7. package/dist/assets/JsonOutput-BYsq-wE-.js +11 -0
  8. package/dist/assets/LazyAnyLanguageCodeMirror-91eGNw7v.js +2 -0
  9. package/dist/assets/MarimoErrorOutput-K6C_dFmm.js +6 -0
  10. package/dist/assets/RenderHTML-ClrDrx3F.js +2 -0
  11. package/dist/assets/RunButton-BA02OhJe.js +1 -0
  12. package/dist/assets/_baseSet-Bpdo9AvU.js +1 -0
  13. package/dist/assets/_hasPath-BmRQipI0.js +1 -0
  14. package/dist/assets/abnfDiagram-VCTEODGH-BuHNQB7l.js +1 -0
  15. package/dist/assets/add-cell-with-ai-sgoMoiI9.js +76 -0
  16. package/dist/assets/add-connection-dialog-BOV2U067.js +166 -0
  17. package/dist/assets/{agent-panel-C3MlqlHQ.js → agent-panel-D8lLZMXc.js} +5 -5
  18. package/dist/assets/ai-model-dropdown-B547mMnB.js +5 -0
  19. package/dist/assets/alert-MrQXRIin.js +1 -0
  20. package/dist/assets/any-language-editor-B9P186b3.js +1 -0
  21. package/dist/assets/api-C5RyTgDk.js +1 -0
  22. package/dist/assets/apl-CYIAEF37.js +1 -0
  23. package/dist/assets/apl-gw27yJ2n.js +1 -0
  24. package/dist/assets/app-config-button-BAQBx4II.js +1 -0
  25. package/dist/assets/arc-Yxk2k_uq.js +1 -0
  26. package/dist/assets/architecture-7GRP2DOG-BMOPAkUC.js +1 -0
  27. package/dist/assets/architectureDiagram-5GKGNRK7-DvIXijdN.js +36 -0
  28. package/dist/assets/array-BifhSqXX.js +1 -0
  29. package/dist/assets/arrow-left-DzPJ79ZB.js +1 -0
  30. package/dist/assets/arrow-right-xoNT7eIQ.js +1 -0
  31. package/dist/assets/asciiarmor-CF6FHpQl.js +1 -0
  32. package/dist/assets/asciiarmor-Cor5STs8.js +1 -0
  33. package/dist/assets/asn1-CPEENLyz.js +1 -0
  34. package/dist/assets/asn1-CmtZ6NID.js +1 -0
  35. package/dist/assets/azure-Dcn397wY.js +1 -0
  36. package/dist/assets/ban-3HAzm9Fj.js +1 -0
  37. package/dist/assets/blob-BKNVs7hM.js +1 -0
  38. package/dist/assets/{blockDiagram-I7D4REHJ-Belx_uSy.js → blockDiagram-I7D4REHJ-DGAMO17L.js} +1 -1
  39. package/dist/assets/brainfuck-a_fzgFtj.js +1 -0
  40. package/dist/assets/brainfuck-vE42J6oQ.js +1 -0
  41. package/dist/assets/bundle.esm-CklCb9AD.js +1 -0
  42. package/dist/assets/{c4Diagram-7LVT6UL2-B4RJxCU5.js → c4Diagram-7LVT6UL2-qqO5IOnV.js} +1 -1
  43. package/dist/assets/cache-panel-B-stlUPu.js +1 -0
  44. package/dist/assets/cell-editor-C-58hQJU.css +2 -0
  45. package/dist/assets/cell-editor-De117Rxz.js +21 -0
  46. package/dist/assets/cell-link-CEmc-Cr5.js +1 -0
  47. package/dist/assets/{cells-BXPymufT.js → cells-DIjn-wIE.js} +21 -21
  48. package/dist/assets/channel-DXBvxHxq.js +1 -0
  49. package/dist/assets/chart-no-axes-column-B6FT5Xvu.js +1 -0
  50. package/dist/assets/chat-display-Bpl-2umz.js +1 -0
  51. package/dist/assets/chat-panel-C6NjK6Ig.js +4 -0
  52. package/dist/assets/chat-ui-C5Ulv8Sh.js +4 -0
  53. package/dist/assets/chunk-2E4U76K2-DqA2CBL0.js +2 -0
  54. package/dist/assets/chunk-2ZTRR5NV-C2qZJila.js +2 -0
  55. package/dist/assets/chunk-3Z5EZCMW-DMniOlPd.js +1 -0
  56. package/dist/assets/{chunk-4HAMMTFA-BskE_kxl.js → chunk-4HAMMTFA-DaFOJTOO.js} +1 -1
  57. package/dist/assets/chunk-5V3GS4D5-i-ZDOEnP.js +1 -0
  58. package/dist/assets/chunk-6AZGARVD-BB6FqMl-.js +1 -0
  59. package/dist/assets/chunk-6EIED4P4-DdUJkP0f.js +1 -0
  60. package/dist/assets/chunk-6K3QC6MW-CqVsVn-y.js +1 -0
  61. package/dist/assets/chunk-6TQVIW2G-DKlLbNIP.js +1 -0
  62. package/dist/assets/chunk-747NJXEK-BFkZPlab.js +2 -0
  63. package/dist/assets/{chunk-75Z2AOVW-BGGJQUsr.js → chunk-75Z2AOVW-DEp7Wbaj.js} +1 -1
  64. package/dist/assets/chunk-CLGD4ZFX-BxW11Imt.js +1 -0
  65. package/dist/assets/{chunk-DU6HZSFF-BbUeHz2R.js → chunk-DU6HZSFF-CDmPCRkr.js} +2 -2
  66. package/dist/assets/{chunk-F27PBJKO-BIJD5Wdq.js → chunk-F27PBJKO-455JWNM3.js} +1 -1
  67. package/dist/assets/{chunk-GMAD6QVW-De3yHY5A.js → chunk-GMAD6QVW-ahdTJvh0.js} +1 -1
  68. package/dist/assets/{chunk-GVQU2GXP-CKFdw6Un.js → chunk-GVQU2GXP-CPkYne1h.js} +1 -1
  69. package/dist/assets/chunk-I5DQTOEV-Hm2LfiYI.js +1 -0
  70. package/dist/assets/chunk-ICYGCRZG-749o-pGJ.js +1 -0
  71. package/dist/assets/chunk-IH6LHLGP-CC6I9F3i.js +1 -0
  72. package/dist/assets/{chunk-IMKFNOWR-DaJnBQov.js → chunk-IMKFNOWR-fARccL86.js} +1 -1
  73. package/dist/assets/chunk-KI3K4JFJ-Rma-0k_M.js +1 -0
  74. package/dist/assets/{chunk-L3NEJ4N5-9WBGd7N9.js → chunk-L3NEJ4N5-BOK6HmaY.js} +1 -1
  75. package/dist/assets/chunk-LNGE3PJU-DWpGwHrW.js +34 -0
  76. package/dist/assets/{chunk-OSK3NFVY-CawDZVpS.js → chunk-OSK3NFVY-CEcyPnHo.js} +2 -2
  77. package/dist/assets/chunk-OUJLGHUK-D0j2JRSg.js +2 -0
  78. package/dist/assets/{chunk-P2QGCYS3-C7JwFzl3.js → chunk-P2QGCYS3-Bw5LRT6S.js} +1 -1
  79. package/dist/assets/{chunk-POPQ4Y6H-B9wQmUAO.js → chunk-POPQ4Y6H-C--NLIXc.js} +1 -1
  80. package/dist/assets/{chunk-PWAF6VOD-D5iYVIst.js → chunk-PWAF6VOD-B1mxlptQ.js} +1 -1
  81. package/dist/assets/{chunk-SHT3W25Y-ChLuP8JP.js → chunk-SHT3W25Y-Diet96b1.js} +2 -2
  82. package/dist/assets/{chunk-SVP7TREG-BZxpXOz-.js → chunk-SVP7TREG-BbcEGfNl.js} +1 -1
  83. package/dist/assets/{chunk-TICWLB2K-WyejxyKe.js → chunk-TICWLB2K-BypOyFjf.js} +2 -2
  84. package/dist/assets/chunk-TLUHSLCS-DvvqZUl_.js +2 -0
  85. package/dist/assets/chunk-UY3FDG6J-CnmaAkG5.js +1 -0
  86. package/dist/assets/chunk-XHIXRSVI-BFQ6B8BE.js +1 -0
  87. package/dist/assets/circle-check-BF80fXZd.js +1 -0
  88. package/dist/assets/classDiagram-ZZMXUADV--9ShP1h2.js +1 -0
  89. package/dist/assets/classDiagram-v2-VYDZK3BY--9ShP1h2.js +1 -0
  90. package/dist/assets/click-outside-container-CHoodRk9.js +1 -0
  91. package/dist/assets/clike-Bo1_pR8B.js +1 -0
  92. package/dist/assets/clike-DZROJv43.js +1 -0
  93. package/dist/assets/clipboard-paste-D0gau9Xw.js +1 -0
  94. package/dist/assets/clojure-1zb6N0Kd.js +1 -0
  95. package/dist/assets/clojure-sW2N62b5.js +1 -0
  96. package/dist/assets/cmake-DA9yMhzJ.js +1 -0
  97. package/dist/assets/cmake-DSEb40G9.js +1 -0
  98. package/dist/assets/cobol-BYACvGhO.js +1 -0
  99. package/dist/assets/cobol-ttQu-eUm.js +1 -0
  100. package/dist/assets/code-DW4kNwKG.js +1 -0
  101. package/dist/assets/code-visibility-DbW2QNho.js +1 -0
  102. package/dist/assets/code-xml-CW65k2pN.js +1 -0
  103. package/dist/assets/coerce-CZiN7rQ_.js +1 -0
  104. package/dist/assets/coffeescript-73GxLNLH.js +1 -0
  105. package/dist/assets/coffeescript-CcHmp8ZW.js +1 -0
  106. package/dist/assets/column-preview-D85EX1XE.js +1 -0
  107. package/dist/assets/command-palette-BiQxmhvY.js +1 -0
  108. package/dist/assets/common-BQbHQAab.js +1 -0
  109. package/dist/assets/commonlisp-BAY0IMda.js +1 -0
  110. package/dist/assets/commonlisp-DHrixoxv.js +1 -0
  111. package/dist/assets/components-BgOwsosg.js +1 -0
  112. package/dist/assets/components-DJ4W2IzC.js +1 -0
  113. package/dist/assets/components-Dt0cuD4C.js +1 -0
  114. package/dist/assets/crystal-DLlr59il.js +1 -0
  115. package/dist/assets/crystal-fOwNIMzy.js +1 -0
  116. package/dist/assets/css-CbZNFbVv.js +1 -0
  117. package/dist/assets/css-aD3t-znF.js +1 -0
  118. package/dist/assets/cynefin-OW5HDTMX-7tP7QfM3.js +1 -0
  119. package/dist/assets/cynefinDiagram-5FMLGOSQ-BW3uXbHa.js +62 -0
  120. package/dist/assets/cypher-CpQ0ACJl.js +1 -0
  121. package/dist/assets/cypher-q6-coHOK.js +1 -0
  122. package/dist/assets/d-BFwRCF-p.js +1 -0
  123. package/dist/assets/d-Drt6ZXrF.js +1 -0
  124. package/dist/assets/dagre-BjpQhh5X.js +1 -0
  125. package/dist/assets/{dagre-GXQ25YYZ-Diet3S0x.js → dagre-GXQ25YYZ-DIV0whJf.js} +2 -2
  126. package/dist/assets/data-grid-overlay-editor-DuYKABwo.js +1 -0
  127. package/dist/assets/data-grid-types-DgHVN_Zz.js +1 -0
  128. package/dist/assets/datasource-Ccdyd-O2.js +3 -0
  129. package/dist/assets/dates-Cv2NS8h4.js +1 -0
  130. package/dist/assets/dependency-graph-panel-DIQpBTOZ.js +5 -0
  131. package/dist/assets/{diagram-S7CK7UJ4-CCX9feKM.js → diagram-S7CK7UJ4-BzoPaaoH.js} +3 -3
  132. package/dist/assets/diagram-UQ7AKVKN-BnOSn29R.js +41 -0
  133. package/dist/assets/{diagram-VSXAHHWV-Dtg7sh2B.js → diagram-VSXAHHWV-DAz8vger.js} +2 -2
  134. package/dist/assets/diagram-VX7I27RA-BQOZxgYE.js +24 -0
  135. package/dist/assets/diagram-Z3DM3KII-B_OF69Ac.js +24 -0
  136. package/dist/assets/diff-CYBnW6ZU.js +1 -0
  137. package/dist/assets/diff-Ib_BKd8h.js +1 -0
  138. package/dist/assets/dist-1tmpVXyz.js +1 -0
  139. package/dist/assets/dist-4SpsNdg9.js +1 -0
  140. package/dist/assets/dist-AelfNxj6.js +3 -0
  141. package/dist/assets/dist-BCteMNTR.js +1 -0
  142. package/dist/assets/dist-BOfh4hMd.js +2 -0
  143. package/dist/assets/dist-BXTY2Z6u.js +1 -0
  144. package/dist/assets/dist-BZAAgYK3.js +1 -0
  145. package/dist/assets/dist-BeKmSRy3.js +1 -0
  146. package/dist/assets/dist-BmExfiwX.js +23 -0
  147. package/dist/assets/dist-BxKJ9CUC.js +1 -0
  148. package/dist/assets/dist-C08rfu50.js +1 -0
  149. package/dist/assets/dist-C1ZMbzEY.js +1 -0
  150. package/dist/assets/dist-C43s7KMp.js +1 -0
  151. package/dist/assets/dist-C9ULdZil.js +1 -0
  152. package/dist/assets/dist-CJ4Ekjf-.js +1 -0
  153. package/dist/assets/dist-COseLvbK.js +1 -0
  154. package/dist/assets/dist-CWcX5iL_.js +1 -0
  155. package/dist/assets/dist-CcKu0kT5.js +1 -0
  156. package/dist/assets/dist-CdpiHIsZ.js +1 -0
  157. package/dist/assets/dist-Ceg_d-nu.js +1 -0
  158. package/dist/assets/dist-CibNXpH2.js +1 -0
  159. package/dist/assets/dist-Cllq-3AX.js +1 -0
  160. package/dist/assets/{dist-CQvJDryh.js → dist-Cm7MoInu.js} +1 -1
  161. package/dist/assets/dist-Cny7_yZb.js +14 -0
  162. package/dist/assets/dist-Cw0_qzU5.js +1 -0
  163. package/dist/assets/dist-D0Fg9FgU.js +1 -0
  164. package/dist/assets/dist-DBMV4gqt.js +2 -0
  165. package/dist/assets/dist-DDpltFEG.js +1 -0
  166. package/dist/assets/dist-DF6q90J2.js +1 -0
  167. package/dist/assets/dist-DG2TCPkT.js +1 -0
  168. package/dist/assets/dist-DH7Tm1i8.js +1 -0
  169. package/dist/assets/{dist-BYab5Kqm.js → dist-DLwSLd_v.js} +1 -1
  170. package/dist/assets/dist-DOsgOC8X.js +11 -0
  171. package/dist/assets/dist-DcvY27K9.js +1 -0
  172. package/dist/assets/dist-DewjJKIE.js +1 -0
  173. package/dist/assets/dist-DfGC5qxC.js +1 -0
  174. package/dist/assets/dist-DfRK-QAy.js +1 -0
  175. package/dist/assets/dist-DmUAWIff.js +1 -0
  176. package/dist/assets/dist-DoYtnejk.js +1 -0
  177. package/dist/assets/dist-DoyTOIOd.js +1 -0
  178. package/dist/assets/dist-DtH-7lot.js +1 -0
  179. package/dist/assets/dist-DusFODSa.js +9 -0
  180. package/dist/assets/dist-LSsCJjA3.js +6 -0
  181. package/dist/assets/dist-PsHgCCpB.js +1 -0
  182. package/dist/assets/dist-mPh3sAH5.js +1 -0
  183. package/dist/assets/dist-qhAY4L2r.js +1 -0
  184. package/dist/assets/dist-uBfhY3mF.js +1 -0
  185. package/dist/assets/documentation-panel-DTDeaE2n.js +1 -0
  186. package/dist/assets/download-DBXnO5qS.js +9 -0
  187. package/dist/assets/dtd-DgBHwr-e.js +1 -0
  188. package/dist/assets/dtd-DqGG8R4P.js +1 -0
  189. package/dist/assets/dylan-BTCYgsmh.js +1 -0
  190. package/dist/assets/dylan-fdbf6J3T.js +1 -0
  191. package/dist/assets/ebnfDiagram-PWID7BFC-BbkBTazy.js +1 -0
  192. package/dist/assets/ecl-BPsxRGqR.js +1 -0
  193. package/dist/assets/ecl-K_KNI3_u.js +1 -0
  194. package/dist/assets/edit-page-c6SDPEIh.js +9 -0
  195. package/dist/assets/eiffel-BCguJEP-.js +1 -0
  196. package/dist/assets/eiffel-DatcW1fL.js +1 -0
  197. package/dist/assets/ellipsis-CLMWXUqY.js +1 -0
  198. package/dist/assets/elm-DbcUgz-o.js +1 -0
  199. package/dist/assets/elm-DnNeI1M2.js +1 -0
  200. package/dist/assets/en-US-B4U3zuiu.js +1 -0
  201. package/dist/assets/{erDiagram-RLTQ6QDP-DbMS_wVH.js → erDiagram-RLTQ6QDP-DxDHwsU0.js} +2 -2
  202. package/dist/assets/erlang-BistxQAs.js +1 -0
  203. package/dist/assets/erlang-DkHPV6ru.js +1 -0
  204. package/dist/assets/error-banner-EjYF86IQ.js +1 -0
  205. package/dist/assets/{error-entries-FCI5CEqR.js → error-entries-BB7FNt10.js} +1 -1
  206. package/dist/assets/error-panel-0aG3Tdrl.js +1 -0
  207. package/dist/assets/es-C4LtxVar.js +5 -0
  208. package/dist/assets/esm-3WkPrffD.js +1 -0
  209. package/dist/assets/esm-CQuf--zt.js +1 -0
  210. package/dist/assets/eventmodeling-NTZA5JFV-BR2FzK4R.js +1 -0
  211. package/dist/assets/events-CbeVJ6OD.js +1 -0
  212. package/dist/assets/extends-CvVTau-c.js +1 -0
  213. package/dist/assets/external-link-D2lKwXyB.js +1 -0
  214. package/dist/assets/eye-off-CfkK-QS3.js +1 -0
  215. package/dist/assets/factor-DwQNJbiW.js +1 -0
  216. package/dist/assets/factor-ZZBBZpXK.js +1 -0
  217. package/dist/assets/feedback-button-Ck0Mp9so.js +10 -0
  218. package/dist/assets/feedback-button-DFFJadk1.js +1 -0
  219. package/dist/assets/file-explorer-panel-sAIMaRBr.js +1 -0
  220. package/dist/assets/file-headphone-DKocX1z0.js +1 -0
  221. package/dist/assets/file-icons-e7tmeyP-.js +1 -0
  222. package/dist/assets/file-mCR_SMtq.js +1 -0
  223. package/dist/assets/file-name-input-CUxuxMjv.js +3 -0
  224. package/dist/assets/fileToBase64-aqhlf6Jj.js +1 -0
  225. package/dist/assets/{filename-DZ9xkzQn.js → filename-BlDwe-3Z.js} +1 -1
  226. package/dist/assets/floating-outline-yJVtlHMv.js +1 -0
  227. package/dist/assets/flowDiagram-HODETNUW-BGVnBaF-.js +1 -0
  228. package/dist/assets/formats-Bbyf-azh.js +1 -0
  229. package/dist/assets/formatting-DvWLhH3Q.js +1 -0
  230. package/dist/assets/forth-B-tqi4f_.js +1 -0
  231. package/dist/assets/forth-DUDizG3o.js +1 -0
  232. package/dist/assets/fortran-BarbOvgW.js +1 -0
  233. package/dist/assets/fortran-C9M6nI39.js +1 -0
  234. package/dist/assets/gallery-page-D70P7AOr.js +1 -0
  235. package/dist/assets/{ganttDiagram-EL5Y4UJY-DtBccFoD.js → ganttDiagram-EL5Y4UJY-BzkL5tY7.js} +1 -1
  236. package/dist/assets/gas-DJ-ntEw0.js +1 -0
  237. package/dist/assets/gas-mybzrfIH.js +1 -0
  238. package/dist/assets/gherkin-BlnXaZZf.js +1 -0
  239. package/dist/assets/gherkin-Co7qm0Mt.js +1 -0
  240. package/dist/assets/gitGraph-4MIJSDKK-DYlXv_yJ.js +1 -0
  241. package/dist/assets/{gitGraphDiagram-WWUBYQGX-BWNR7nHV.js → gitGraphDiagram-WWUBYQGX-DqtmYSBS.js} +1 -1
  242. package/dist/assets/glide-data-editor-YqrbKh4R.js +131 -0
  243. package/dist/assets/glide-utils-BatnVnxk.js +2 -0
  244. package/dist/assets/globe-CmFhHoL1.js +1 -0
  245. package/dist/assets/graphlib-Blky6igo.js +1 -0
  246. package/dist/assets/groovy-DkYAhc5g.js +1 -0
  247. package/dist/assets/groovy-cYuFC_ot.js +1 -0
  248. package/dist/assets/has-sKqQhP6r.js +1 -0
  249. package/dist/assets/hasIn-yw4sIeJR.js +1 -0
  250. package/dist/assets/haskell-CuLp9g3a.js +1 -0
  251. package/dist/assets/haskell-QbTWCmtk.js +1 -0
  252. package/dist/assets/haxe-CiIUZbdX.js +1 -0
  253. package/dist/assets/haxe-CmR2u-6B.js +1 -0
  254. package/dist/assets/home-page-Dnv5d4Ek.js +4 -0
  255. package/dist/assets/hooks-B4hoSKN7.js +1 -0
  256. package/dist/assets/house-CbkYoQ5W.js +1 -0
  257. package/dist/assets/html-to-image-D30-tyL0.js +2 -0
  258. package/dist/assets/icons-CVdkfEA3.js +1 -0
  259. package/dist/assets/idl-BHq7WyPV.js +1 -0
  260. package/dist/assets/idl-DY5VfUGL.js +1 -0
  261. package/dist/assets/image-CTch9x2I.js +1 -0
  262. package/dist/assets/{index-C4-iduJO.css → index-BGdpHNhZ.css} +1 -1
  263. package/dist/assets/index-DkUjZGnQ.js +29 -0
  264. package/dist/assets/info-A6RAGUB7-BlU-8_xu.js +1 -0
  265. package/dist/assets/infoDiagram-27XIBGKW-7rLCp1UQ.js +2 -0
  266. package/dist/assets/isValid-BEbe1fFs.js +1 -0
  267. package/dist/assets/{ishikawaDiagram-5VMMS53U-DQxtMs4g.js → ishikawaDiagram-5VMMS53U-BH7XUtkN.js} +2 -2
  268. package/dist/assets/javascript-BWjar7HY.js +1 -0
  269. package/dist/assets/javascript-D-FtdkNC.js +1 -0
  270. package/dist/assets/{journeyDiagram-3NMN7TZE-yCIlrFH1.js → journeyDiagram-3NMN7TZE-BOj0kV6v.js} +1 -1
  271. package/dist/assets/julia-CBfVM-ng.js +1 -0
  272. package/dist/assets/julia-CoYYMTcZ.js +1 -0
  273. package/dist/assets/{kanban-definition-UXKFOSKX-rhD_vnwl.js → kanban-definition-UXKFOSKX-CPrudFOv.js} +3 -3
  274. package/dist/assets/katex-CQIbPNPT.js +1 -0
  275. package/dist/assets/katex-DUp2KybH.js +257 -0
  276. package/dist/assets/kbd-BnUiViRu.js +1 -0
  277. package/dist/assets/kiosk-mode-Cvh6wszH.js +1 -0
  278. package/dist/assets/layout-BKf7KEPn.js +9 -0
  279. package/dist/assets/layout-D-WxHzKd.css +1 -0
  280. package/dist/assets/line-io_go0HI.js +1 -0
  281. package/dist/assets/link-BF4dGmOQ.js +1 -0
  282. package/dist/assets/links-Dz_7YAlE.js +1 -0
  283. package/dist/assets/list-filter-CTg19675.js +1 -0
  284. package/dist/assets/livescript-C1gEZ5Hk.js +1 -0
  285. package/dist/assets/livescript-CC7i4CEo.js +1 -0
  286. package/dist/assets/logs-panel-Bdb_qtEg.js +1 -0
  287. package/dist/assets/{loro_wasm_bg-BwsqTTze.wasm → loro_wasm_bg-PyJsS6iH.wasm} +0 -0
  288. package/dist/assets/loro_wasm_bg-Vo2IoHaL.js +1 -0
  289. package/dist/assets/loro_wasm_bg-oTW3uoGB.js +1 -0
  290. package/dist/assets/lua-1tNpM92n.js +1 -0
  291. package/dist/assets/lua-DXBxhmso.js +1 -0
  292. package/dist/assets/markdown-export-DzhB1FrN.js +1 -0
  293. package/dist/assets/markdown-renderer-DT34-_9e.js +2 -0
  294. package/dist/assets/markdown-renderer-DjIHoF9Z.css +1 -0
  295. package/dist/assets/math-Bi_r_ZWc.js +1 -0
  296. package/dist/assets/mathematica-CwlrU_TQ.js +1 -0
  297. package/dist/assets/mathematica-DWMBVyLs.js +1 -0
  298. package/dist/assets/mbox-DvNfx9hX.js +1 -0
  299. package/dist/assets/mbox-skR0V6cu.js +1 -0
  300. package/dist/assets/mermaid-Z_sj5Wqp.js +11 -0
  301. package/dist/assets/mermaid-parser.core-CodvbdHU.js +4 -0
  302. package/dist/assets/message-circle-OTHnVlxO.js +1 -0
  303. package/dist/assets/{mhchem-CmzEtQj8.js → mhchem-hMh9XtQZ.js} +1 -1
  304. package/dist/assets/{mindmap-definition-YA3MSWOX-D5hDBYDC.js → mindmap-definition-YA3MSWOX-kWyI8sXl.js} +2 -2
  305. package/dist/assets/mirc-BASUkO3C.js +1 -0
  306. package/dist/assets/mirc-CTGUd79I.js +1 -0
  307. package/dist/assets/mllike-BKN6OcTc.js +1 -0
  308. package/dist/assets/mllike-DHDLWZl9.js +1 -0
  309. package/dist/assets/modelica-C2NfUrdY.js +1 -0
  310. package/dist/assets/modelica-DZs5SjV_.js +1 -0
  311. package/dist/assets/mscgen-Bo5N9WUj.js +1 -0
  312. package/dist/assets/mscgen-C7woTLsY.js +1 -0
  313. package/dist/assets/multi-icon-D129IBvu.css +2 -0
  314. package/dist/assets/multi-icon-DWzZu-9u.js +1 -0
  315. package/dist/assets/mumps-BNg2Yq-1.js +1 -0
  316. package/dist/assets/mumps-DwVYUX8b.js +1 -0
  317. package/dist/assets/name-cell-input-E95KyKqv.js +1 -0
  318. package/dist/assets/name-cell-input-ujOhus_y.css +1 -0
  319. package/dist/assets/nsis-B6H_Q9YJ.js +1 -0
  320. package/dist/assets/nsis-DWBX_aOH.js +1 -0
  321. package/dist/assets/ntriples-CSqEHNgf.js +1 -0
  322. package/dist/assets/ntriples-Ck5rp6GE.js +1 -0
  323. package/dist/assets/number-overlay-editor-myrryj7o.js +9 -0
  324. package/dist/assets/objectWithoutPropertiesLoose-Do6ywDBO.js +1 -0
  325. package/dist/assets/octave-BRpd3hBF.js +1 -0
  326. package/dist/assets/octave-ImTMIie9.js +1 -0
  327. package/dist/assets/outline-panel-1AnW7CLy.js +1 -0
  328. package/dist/assets/oz-BUEZmvHT.js +1 -0
  329. package/dist/assets/oz-BuYcBdKy.js +1 -0
  330. package/dist/assets/package-data-BwaspaKJ.js +1 -0
  331. package/dist/assets/packages-panel-t-WIjOjO.js +1 -0
  332. package/dist/assets/packet-AYTQ26CC-BSJEH9Lb.js +1 -0
  333. package/dist/assets/pair-DrvWpc2_.js +1 -0
  334. package/dist/assets/panel-accordion-state-_r3T-AGo.js +1 -0
  335. package/dist/assets/panels-DuFuRfRM.css +2 -0
  336. package/dist/assets/panels-o1nKDdzp.js +4 -0
  337. package/dist/assets/pascal-B50DmceL.js +1 -0
  338. package/dist/assets/pascal-DBfxUwpj.js +1 -0
  339. package/dist/assets/path-BCdg30Y0.js +1 -0
  340. package/dist/assets/pathUtils-BKesuhdv.js +1 -0
  341. package/dist/assets/pegDiagram-XKGWAZYB-CiBJGPte.js +1 -0
  342. package/dist/assets/perl-DmFVAwdF.js +1 -0
  343. package/dist/assets/perl-v9vsztCj.js +1 -0
  344. package/dist/assets/pick-DKIID_Mo.js +1 -0
  345. package/dist/assets/pie-WAS4IAKB-qxv01Y8W.js +1 -0
  346. package/dist/assets/{pieDiagram-E7YTZNPT-DeJxGsNN.js → pieDiagram-E7YTZNPT-RpjpKhU6.js} +3 -3
  347. package/dist/assets/pig-BnQuru9N.js +1 -0
  348. package/dist/assets/pig-CrKTIB-m.js +1 -0
  349. package/dist/assets/powershell-89xdb5K_.js +1 -0
  350. package/dist/assets/powershell-B1pJyAAD.js +1 -0
  351. package/dist/assets/process-output-gyG2tEQt.js +1 -0
  352. package/dist/assets/prop-types-Djf4O40e.js +1 -0
  353. package/dist/assets/properties-Ci7guRqV.js +1 -0
  354. package/dist/assets/properties-DaUFoXFR.js +1 -0
  355. package/dist/assets/protobuf-Ci5XvpF4.js +1 -0
  356. package/dist/assets/protobuf-CoqP8wM5.js +1 -0
  357. package/dist/assets/pug-CJsoo9v0.js +1 -0
  358. package/dist/assets/pug-DPY-Ajan.js +1 -0
  359. package/dist/assets/puppet-C9UYpvtZ.js +1 -0
  360. package/dist/assets/puppet-Da8ZxG7z.js +1 -0
  361. package/dist/assets/python-C4CVWZ7v.js +1 -0
  362. package/dist/assets/python-xiYauDc4.js +1 -0
  363. package/dist/assets/q-BjtI5Irp.js +1 -0
  364. package/dist/assets/q-CKkOe1xA.js +1 -0
  365. package/dist/assets/{quadrantDiagram-AXDQQJYC-BOooPQcn.js → quadrantDiagram-AXDQQJYC-Ci_qzCqs.js} +1 -1
  366. package/dist/assets/r-Bwc-y-iL.js +1 -0
  367. package/dist/assets/r-vSi6pWDr.js +1 -0
  368. package/dist/assets/radar-RG4KPBEZ-B6h6pWOs.js +1 -0
  369. package/dist/assets/railroad-74A4TZTK-CGtTWdGc.js +1 -0
  370. package/dist/assets/railroad-abnf-HS5TGJTU-Cq7y22IA.js +1 -0
  371. package/dist/assets/railroad-ebnf-LZEXJU2U-V0aQVv9m.js +1 -0
  372. package/dist/assets/railroad-peg-WCYAUIDC-BQiIsX_p.js +1 -0
  373. package/dist/assets/railroadDiagram-O6MQD6OU-B2IWK3fJ.js +1 -0
  374. package/dist/assets/react-icons.esm-C6SMwKZH.js +1 -0
  375. package/dist/assets/react-resizable-panels.browser.esm-BL2E7f5c.js +1 -0
  376. package/dist/assets/{react-vega-DNkV_C37.js → react-vega-Jq3Jd7eX.js} +7 -7
  377. package/dist/assets/readonly-code-display-DVP0M5ji.js +1 -0
  378. package/dist/assets/readonly-python-code-CPhK2DqE.js +1 -0
  379. package/dist/assets/refresh-cw-CEGpOrzd.js +1 -0
  380. package/dist/assets/renderShortcut-BoDtLl9Q.js +1 -0
  381. package/dist/assets/requests-DFPPfagc.js +1 -0
  382. package/dist/assets/{requirementDiagram-BXWQKSXE-C5vd9-4j.js → requirementDiagram-BXWQKSXE-B0_CyV0T.js} +2 -2
  383. package/dist/assets/{reveal-component-Dctnn9_M.js → reveal-component-1rRxx9pg.js} +5 -5
  384. package/dist/assets/rotate-ccw-se3Oa1US.js +1 -0
  385. package/dist/assets/rpm-Cv5HmAkX.js +1 -0
  386. package/dist/assets/rpm-UQSdNQr2.js +1 -0
  387. package/dist/assets/ruby-CKIsIBWn.js +1 -0
  388. package/dist/assets/ruby-CrY8zrT8.js +1 -0
  389. package/dist/assets/run-page-aOAuHEMH.js +1 -0
  390. package/dist/assets/runs-bQecbisg.js +1 -0
  391. package/dist/assets/sandbox-panel-CcKUdNwc.js +1 -0
  392. package/dist/assets/{sankeyDiagram-P5KCCOFB-DpHoqt-1.js → sankeyDiagram-P5KCCOFB-BekzhMvv.js} +1 -1
  393. package/dist/assets/sas-CssadkTB.js +1 -0
  394. package/dist/assets/sas-D3-6PWmJ.js +1 -0
  395. package/dist/assets/save-D4cG4pP2.js +1 -0
  396. package/dist/assets/scheme-CkJWoRmu.js +1 -0
  397. package/dist/assets/scheme-DqTb0ELD.js +1 -0
  398. package/dist/assets/scratchpad-panel-BiIWI3Zz.js +1 -0
  399. package/dist/assets/secrets-panel-B0QVgbjl.js +1 -0
  400. package/dist/assets/semaphore-BjoL5P0h.js +1 -0
  401. package/dist/assets/{sequenceDiagram-WJ2MYXX4-C22eqEIy.js → sequenceDiagram-WJ2MYXX4-DELi1Kz5.js} +1 -1
  402. package/dist/assets/session-panel-XJJ6-NhN.js +1 -0
  403. package/dist/assets/share-BZW3tzEX.js +1 -0
  404. package/dist/assets/shell-DySzVBqR.js +1 -0
  405. package/dist/assets/shell-FgUEpLdy.js +1 -0
  406. package/dist/assets/shim-5li_pJY_.js +1 -0
  407. package/dist/assets/sieve-BLxcNk7A.js +1 -0
  408. package/dist/assets/sieve-CoBbN2aF.js +1 -0
  409. package/dist/assets/smalltalk-CJJAzHnb.js +1 -0
  410. package/dist/assets/smalltalk-d1Dbk6V4.js +1 -0
  411. package/dist/assets/snippets-panel-BGO2n9mY.js +1 -0
  412. package/dist/assets/sparql-CUZhKeRb.js +1 -0
  413. package/dist/assets/sparql-CjwbV0fX.js +1 -0
  414. package/dist/assets/spec-C09S5bT-.js +1 -0
  415. package/dist/assets/spinner-CGdRKCnw.js +1 -0
  416. package/dist/assets/square-DvOKKLHZ.js +1 -0
  417. package/dist/assets/square-function-DyFIOFp5.js +1 -0
  418. package/dist/assets/state-0X7um_9u.js +3 -0
  419. package/dist/assets/state-BQjr5g9m.js +1 -0
  420. package/dist/assets/state-BsVxWYGT.js +1 -0
  421. package/dist/assets/state-D-WJnPU6.js +1 -0
  422. package/dist/assets/state-OJSVjDAX.js +1 -0
  423. package/dist/assets/stateDiagram-D77RDMKH-udui7EYS.js +1 -0
  424. package/dist/assets/stateDiagram-v2-MP3YSRHH-BhduIvF1.js +1 -0
  425. package/dist/assets/step-CqgdNM3U.js +1 -0
  426. package/dist/assets/stex-3SJlFZg3.js +1 -0
  427. package/dist/assets/stex-Dc5bKD4z.js +1 -0
  428. package/dist/assets/stylus-BvudHrj4.js +1 -0
  429. package/dist/assets/stylus-uh0Gd-Iz.js +1 -0
  430. package/dist/assets/swift-CUIczYYb.js +1 -0
  431. package/dist/assets/swift-D5IK5OrP.js +1 -0
  432. package/dist/assets/swimlanes-42K2YHIH-C-iTrYJs.js +1 -0
  433. package/dist/assets/swimlanesDiagram-VR7AAH4N-WC2Zewqb.js +8 -0
  434. package/dist/assets/swiper-component-C40kEQTQ.js +1 -0
  435. package/dist/assets/switch-1_rRTvtc.js +1 -0
  436. package/dist/assets/table-Dg1KxH-q.js +1 -0
  437. package/dist/assets/tabs-Dx9NomUx.js +1 -0
  438. package/dist/assets/tcl-BvqzOD3a.js +1 -0
  439. package/dist/assets/tcl-SjROh4xB.js +1 -0
  440. package/dist/assets/{terminal-Ct69I5Rq.js → terminal-BaYFckM3.js} +3 -3
  441. package/dist/assets/textile--JQHE1pJ.js +1 -0
  442. package/dist/assets/textile-DgW6fC9R.js +1 -0
  443. package/dist/assets/{timeline-definition-24CTP7MA-CtEY04jV.js → timeline-definition-24CTP7MA-D2u0nOZp.js} +1 -1
  444. package/dist/assets/toml-BcC_uO4q.js +1 -0
  445. package/dist/assets/toml-lWmHdWv5.js +1 -0
  446. package/dist/assets/tracing-BwkQnRsr.js +1 -0
  447. package/dist/assets/tracing-panel-Bari_aJY.js +2 -0
  448. package/dist/assets/tree-actions-DpLu3KP0.js +1 -0
  449. package/dist/assets/treeView-Q6P3EWNA-BTTYcvrF.js +1 -0
  450. package/dist/assets/treemap-WGGIJYW6-Cg7tyfH8.js +1 -0
  451. package/dist/assets/triangle-alert-BeRqoThc.js +1 -0
  452. package/dist/assets/troff-BMlKH74u.js +1 -0
  453. package/dist/assets/troff-r7W702V9.js +1 -0
  454. package/dist/assets/ttcn-1CwPIugQ.js +1 -0
  455. package/dist/assets/ttcn-P2iYmK_j.js +1 -0
  456. package/dist/assets/ttcn-cfg-2bl9aE98.js +1 -0
  457. package/dist/assets/ttcn-cfg-CHYEAF6D.js +1 -0
  458. package/dist/assets/turtle-DDf6uD3p.js +1 -0
  459. package/dist/assets/turtle-D_5eCUwg.js +1 -0
  460. package/dist/assets/useAddCell-DCbFUjci.js +1 -0
  461. package/dist/assets/useBoolean-C44TyhOc.js +1 -0
  462. package/dist/assets/useCellActionButton-Dd3_WkrO.js +1 -0
  463. package/dist/assets/useDateFormatter-CjgScv5a.js +1 -0
  464. package/dist/assets/useDeepCompareMemoize-DSlTt6u_.js +1 -0
  465. package/dist/assets/useDeleteCell-BJ6lgiBJ.js +1 -0
  466. package/dist/assets/useDependencyPanelTab-CyNU7lXE.js +1 -0
  467. package/dist/assets/useIframeCapabilities-CnQhRi25.js +1 -0
  468. package/dist/assets/useInstallPackage-DO1N1lCX.js +1 -0
  469. package/dist/assets/useInterval-VrfTcgt8.js +1 -0
  470. package/dist/assets/useNotebookActions-qN_AUsLn.js +1 -0
  471. package/dist/assets/useRunCells-k0IpRLOw.js +1 -0
  472. package/dist/assets/useSplitCell-AE67LfQn.js +1 -0
  473. package/dist/assets/utils-CaQYvazl.js +1 -0
  474. package/dist/assets/vb-CrfmF706.js +1 -0
  475. package/dist/assets/vb-Vd6lTutg.js +1 -0
  476. package/dist/assets/vbscript-CcW6E3ma.js +1 -0
  477. package/dist/assets/vbscript-Cpiv2llq.js +1 -0
  478. package/dist/assets/vega-component-Bw0srfks.js +1 -0
  479. package/dist/assets/vega-embed-container-CRZZ4FTx.js +1 -0
  480. package/dist/assets/velocity-5N54agTA.js +1 -0
  481. package/dist/assets/velocity-CuSicjhq.js +1 -0
  482. package/dist/assets/{vennDiagram-4TSXK5OY-B_OWiVKd.js → vennDiagram-4TSXK5OY-BKSHsv-w.js} +2 -2
  483. package/dist/assets/verilog-DH7aBYt7.js +1 -0
  484. package/dist/assets/verilog-DPWRmpYS.js +1 -0
  485. package/dist/assets/vhdl-BmegRbqn.js +1 -0
  486. package/dist/assets/vhdl-sLYad3YP.js +1 -0
  487. package/dist/assets/wardley-WFR3VGLG-C6N1rULY.js +1 -0
  488. package/dist/assets/{wardleyDiagram-VM6X3IG4-CvpCKTJQ.js → wardleyDiagram-VM6X3IG4-CUDQDDoy.js} +1 -1
  489. package/dist/assets/webidl-CNY2gQL0.js +1 -0
  490. package/dist/assets/webidl-dw5if_Lv.js +1 -0
  491. package/dist/assets/workflow-nBi9HGeO.js +1 -0
  492. package/dist/assets/ws-BXWY541V.js +22 -0
  493. package/dist/assets/xquery-CuDTgW6S.js +1 -0
  494. package/dist/assets/xquery-d3Qdoigy.js +1 -0
  495. package/dist/assets/{xychartDiagram-S5SC5T6Z-CqU92eUd.js → xychartDiagram-S5SC5T6Z-BXDsTxGu.js} +3 -3
  496. package/dist/assets/yacas-BjDXhrkW.js +1 -0
  497. package/dist/assets/yacas-Dn2coKff.js +1 -0
  498. package/dist/assets/youtube-2MBs34oQ.js +1 -0
  499. package/dist/assets/z80-ByJO5ysu.js +1 -0
  500. package/dist/assets/z80-z4BkVl0y.js +1 -0
  501. package/dist/index.html +101 -20
  502. package/package.json +6 -6
  503. package/dist/assets/ConnectedDataExplorerComponent-Bli_Q2Pf.js +0 -1
  504. package/dist/assets/ErrorBoundary-Dx6lhNls.js +0 -2
  505. package/dist/assets/LazyAnyLanguageCodeMirror-CfdjWQov.js +0 -2
  506. package/dist/assets/RunButton-5jKnc29t.js +0 -22
  507. package/dist/assets/RunButton-Czeyf3Pi.css +0 -2
  508. package/dist/assets/abnfDiagram-VCTEODGH-CS9VJ4IQ.js +0 -1
  509. package/dist/assets/add-cell-with-ai-h_sx2HjG.js +0 -76
  510. package/dist/assets/ai-model-dropdown-D_95EaOb.js +0 -5
  511. package/dist/assets/any-language-editor-DqrxopyM.js +0 -1
  512. package/dist/assets/apl-CFg5GYAr.js +0 -1
  513. package/dist/assets/app-config-button-AOmd3MSM.js +0 -1
  514. package/dist/assets/arc-DR2VsF_m.js +0 -1
  515. package/dist/assets/architecture-7GRP2DOG-d-euXJif.js +0 -1
  516. package/dist/assets/architectureDiagram-5GKGNRK7-Cnq1OhHb.js +0 -36
  517. package/dist/assets/asciiarmor-DcSiPPgr.js +0 -1
  518. package/dist/assets/asn1-BPjkVyGQ.js +0 -1
  519. package/dist/assets/brainfuck-DunkcVMy.js +0 -1
  520. package/dist/assets/cache-panel-ByvhZkRB.js +0 -1
  521. package/dist/assets/channel-CNw_DjeM.js +0 -1
  522. package/dist/assets/chat-display-Bl_cm4Bv.js +0 -1
  523. package/dist/assets/chat-panel-G5k-O9XI.js +0 -4
  524. package/dist/assets/chat-ui-B9ojDwqD.js +0 -4
  525. package/dist/assets/classDiagram-ZZMXUADV-D3p0TN4D.js +0 -1
  526. package/dist/assets/classDiagram-v2-VYDZK3BY-D3p0TN4D.js +0 -1
  527. package/dist/assets/clike-DVzjdKyz.js +0 -1
  528. package/dist/assets/clojure-B0g4lNAw.js +0 -1
  529. package/dist/assets/cmake-DPXbK5QP.js +0 -1
  530. package/dist/assets/cobol-fTfgAx9-.js +0 -1
  531. package/dist/assets/code-visibility-dpVhqYNL.js +0 -1
  532. package/dist/assets/coffeescript-Ow8rTsfP.js +0 -1
  533. package/dist/assets/command-palette-D6z9kPg7.js +0 -1
  534. package/dist/assets/common-ByaXhTaS.js +0 -1
  535. package/dist/assets/commonlisp-CRQC3SaM.js +0 -1
  536. package/dist/assets/components-Bg0jEPXR.js +0 -1
  537. package/dist/assets/components-D5oqtiLg.js +0 -1
  538. package/dist/assets/crystal-BrD_FAHX.js +0 -1
  539. package/dist/assets/css-bBkWhGQX.js +0 -1
  540. package/dist/assets/cynefin-OW5HDTMX-GFKj4n0O.js +0 -1
  541. package/dist/assets/cynefinDiagram-5FMLGOSQ-ADfRyIGN.js +0 -62
  542. package/dist/assets/cypher-i9OcNAXL.js +0 -1
  543. package/dist/assets/d-vXL79Y_P.js +0 -1
  544. package/dist/assets/dagre-BNpoWXcL.js +0 -1
  545. package/dist/assets/data-grid-overlay-editor-BEM-ieFB.js +0 -1
  546. package/dist/assets/dependency-graph-panel-CrensQ9d.js +0 -5
  547. package/dist/assets/diagram-UQ7AKVKN-DMu2JraT.js +0 -41
  548. package/dist/assets/diagram-VX7I27RA-D3OGvedU.js +0 -24
  549. package/dist/assets/diagram-Z3DM3KII-MArsMIcf.js +0 -24
  550. package/dist/assets/diff-Cpbyjb1r.js +0 -1
  551. package/dist/assets/dist-BH-S-j9V.js +0 -1
  552. package/dist/assets/dist-BN-7G8qZ.js +0 -2
  553. package/dist/assets/dist-BTskHGpb.js +0 -2
  554. package/dist/assets/dist-BWSz9T8E.js +0 -1
  555. package/dist/assets/dist-BYSOsNiK.js +0 -1
  556. package/dist/assets/dist-BczecT6V.js +0 -14
  557. package/dist/assets/dist-Bviq_Dee.js +0 -1
  558. package/dist/assets/dist-CCiiXOoB.js +0 -1
  559. package/dist/assets/dist-CEjBPDxA.js +0 -1
  560. package/dist/assets/dist-CI-3E0S2.js +0 -1
  561. package/dist/assets/dist-Ccyblc8N.js +0 -1
  562. package/dist/assets/dist-CiUBikfn.js +0 -1
  563. package/dist/assets/dist-Cx42VZlZ.js +0 -1
  564. package/dist/assets/dist-D5LovWSN.js +0 -1
  565. package/dist/assets/dist-DBqBVprh.js +0 -6
  566. package/dist/assets/dist-DuOZdyY2.js +0 -1
  567. package/dist/assets/dist-DueXZKz9.js +0 -9
  568. package/dist/assets/dist-DvHtpUI7.js +0 -11
  569. package/dist/assets/dist-Dz4H5Lpr.js +0 -1
  570. package/dist/assets/dist-Gcu0m5O1.js +0 -1
  571. package/dist/assets/dist-MRn68vX1.js +0 -23
  572. package/dist/assets/dist-vrBHmefa.js +0 -1
  573. package/dist/assets/dist-yiD-qDpu.js +0 -1
  574. package/dist/assets/documentation-panel-DDYXbqvp.js +0 -1
  575. package/dist/assets/dtd-BN3Z36N0.js +0 -1
  576. package/dist/assets/dylan-DtbpL-5i.js +0 -1
  577. package/dist/assets/ebnfDiagram-PWID7BFC-vQJPmojo.js +0 -1
  578. package/dist/assets/ecl-BWUyrr3C.js +0 -1
  579. package/dist/assets/edit-page-C7naRe4T.js +0 -174
  580. package/dist/assets/eiffel-CWDL_R9u.js +0 -1
  581. package/dist/assets/elm-BzsnjhuV.js +0 -1
  582. package/dist/assets/erlang-DXJDmcpF.js +0 -1
  583. package/dist/assets/error-panel-CgT73q4b.js +0 -1
  584. package/dist/assets/esm-BErdoAcz.js +0 -1
  585. package/dist/assets/eventmodeling-NTZA5JFV-C7Lb8MCA.js +0 -1
  586. package/dist/assets/factor-Tpb8PZTx.js +0 -1
  587. package/dist/assets/feedback-button-B0hzbli5.js +0 -10
  588. package/dist/assets/file-explorer-panel-Dl3gX4fl.js +0 -1
  589. package/dist/assets/file-name-input-CV0fYc67.js +0 -3
  590. package/dist/assets/flowDiagram-HODETNUW-C9M5c8rH.js +0 -1
  591. package/dist/assets/forth-Dw2vWL7C.js +0 -1
  592. package/dist/assets/fortran-DKiYgGt5.js +0 -1
  593. package/dist/assets/gallery-page-B6WMdce0.js +0 -1
  594. package/dist/assets/gas-Ei6cTQl-.js +0 -1
  595. package/dist/assets/gherkin-yFF3mfsd.js +0 -1
  596. package/dist/assets/gitGraph-4MIJSDKK-BZrVnUIX.js +0 -1
  597. package/dist/assets/glide-data-editor-qrXT33Qd.js +0 -131
  598. package/dist/assets/graphlib-C-6pc4Zd.js +0 -1
  599. package/dist/assets/groovy-UTCC12KJ.js +0 -1
  600. package/dist/assets/has-DmAIW7kM.js +0 -1
  601. package/dist/assets/haskell-BHJQXLHt.js +0 -1
  602. package/dist/assets/haxe-nTPzqrqE.js +0 -1
  603. package/dist/assets/home-page-DsILx4TF.js +0 -4
  604. package/dist/assets/idl-CuG-upqW.js +0 -1
  605. package/dist/assets/index-DYVlDtsu.js +0 -62
  606. package/dist/assets/info-A6RAGUB7-u3lEx9f-.js +0 -1
  607. package/dist/assets/infoDiagram-27XIBGKW-b4WMhbpt.js +0 -2
  608. package/dist/assets/javascript-DeVynBqR.js +0 -1
  609. package/dist/assets/julia-pvaK4Pax.js +0 -1
  610. package/dist/assets/katex-DkE0ukCy.js +0 -257
  611. package/dist/assets/livescript-DT1P5eZp.js +0 -1
  612. package/dist/assets/logs-panel-ByevEcIA.js +0 -1
  613. package/dist/assets/lua-BveDyMVp.js +0 -1
  614. package/dist/assets/mathematica-BRcOIGly.js +0 -1
  615. package/dist/assets/mbox-DZvbm2hT.js +0 -1
  616. package/dist/assets/mermaid-B2ngFN0c.js +0 -44
  617. package/dist/assets/mermaid-parser.core-BdlE0Iab.js +0 -7
  618. package/dist/assets/mirc-Bjfymsl0.js +0 -1
  619. package/dist/assets/mllike-DKHdPBJ4.js +0 -1
  620. package/dist/assets/modelica-DSjP6M5g.js +0 -1
  621. package/dist/assets/mscgen-BLnPHriT.js +0 -1
  622. package/dist/assets/mumps-C8StcE5K.js +0 -1
  623. package/dist/assets/nsis-T1iBtB9C.js +0 -1
  624. package/dist/assets/ntriples-ChQ5ETDi.js +0 -1
  625. package/dist/assets/number-overlay-editor-BcElw1N2.js +0 -9
  626. package/dist/assets/octave-B1-zg_Ax.js +0 -1
  627. package/dist/assets/outline-panel-CHw9TjuQ.js +0 -1
  628. package/dist/assets/oz-Bl-j8Qgc.js +0 -1
  629. package/dist/assets/packages-panel-CDb2_4Dc.js +0 -1
  630. package/dist/assets/packet-AYTQ26CC-BajGVcwf.js +0 -1
  631. package/dist/assets/panels-CsyUBsel.css +0 -1
  632. package/dist/assets/panels-rdTyuwHQ.js +0 -33
  633. package/dist/assets/pascal-BOvYlg0k.js +0 -1
  634. package/dist/assets/pegDiagram-XKGWAZYB-D8QLsgnM.js +0 -1
  635. package/dist/assets/perl-Bg-67FLb.js +0 -1
  636. package/dist/assets/pie-WAS4IAKB-8yOLd-eD.js +0 -1
  637. package/dist/assets/pig-Dm1oyrLX.js +0 -1
  638. package/dist/assets/powershell-DohryO0B.js +0 -1
  639. package/dist/assets/process-output-DqkSNdEt.js +0 -1
  640. package/dist/assets/properties-C9Sx0CY6.js +0 -1
  641. package/dist/assets/protobuf-CkyW36SJ.js +0 -1
  642. package/dist/assets/pug-Db3Zt5v4.js +0 -1
  643. package/dist/assets/puppet-B65Z6MIR.js +0 -1
  644. package/dist/assets/python-D2ExL5QM.js +0 -1
  645. package/dist/assets/q-uBS-kSZE.js +0 -1
  646. package/dist/assets/r-BieRum_u.js +0 -1
  647. package/dist/assets/radar-RG4KPBEZ-CxHjJ3AF.js +0 -1
  648. package/dist/assets/railroad-74A4TZTK-Bv_oZ8fK.js +0 -1
  649. package/dist/assets/railroad-abnf-HS5TGJTU-fZMJYLPw.js +0 -1
  650. package/dist/assets/railroad-ebnf-LZEXJU2U-MXzdI5RK.js +0 -1
  651. package/dist/assets/railroad-peg-WCYAUIDC-9iJg5MJM.js +0 -1
  652. package/dist/assets/railroadDiagram-O6MQD6OU-Cv1c_MPc.js +0 -1
  653. package/dist/assets/rpm-CmRXh_9v.js +0 -1
  654. package/dist/assets/ruby-B4BmRxk8.js +0 -1
  655. package/dist/assets/run-page-BiThhUDc.js +0 -1
  656. package/dist/assets/sas-DL2uE5J1.js +0 -1
  657. package/dist/assets/scheme-CPTXU9en.js +0 -1
  658. package/dist/assets/scratchpad-panel-C1fSG5vy.js +0 -1
  659. package/dist/assets/secrets-panel-7_LH6R8A.js +0 -1
  660. package/dist/assets/session-panel-DBsTbpC9.js +0 -1
  661. package/dist/assets/shell-B2QETDWa.js +0 -1
  662. package/dist/assets/sieve-DWZh8qcF.js +0 -1
  663. package/dist/assets/smalltalk-BZOwo1hk.js +0 -1
  664. package/dist/assets/snippets-panel-ChI5aU42.js +0 -1
  665. package/dist/assets/sparql-Va5qPe7r.js +0 -1
  666. package/dist/assets/stateDiagram-D77RDMKH-BRy9VFgk.js +0 -1
  667. package/dist/assets/stateDiagram-v2-MP3YSRHH-CxpbMKE8.js +0 -1
  668. package/dist/assets/step-CriubqJO.js +0 -1
  669. package/dist/assets/stex-CJTNBbet.js +0 -1
  670. package/dist/assets/stylus-B7NEtOjg.js +0 -1
  671. package/dist/assets/swift-CyXDuJhH.js +0 -1
  672. package/dist/assets/swimlanes-42K2YHIH-CvQuAAYe.js +0 -1
  673. package/dist/assets/swimlanesDiagram-VR7AAH4N-CANFdBys.js +0 -8
  674. package/dist/assets/swiper-component-CCQgW-CG.js +0 -1
  675. package/dist/assets/tcl-DmU4tnXP.js +0 -1
  676. package/dist/assets/textile-DSm0gG7z.js +0 -1
  677. package/dist/assets/toml-DtceOx7T.js +0 -1
  678. package/dist/assets/tracing-B6lz41O5.js +0 -1
  679. package/dist/assets/tracing-panel-Hd5F5hNF.js +0 -2
  680. package/dist/assets/treeView-Q6P3EWNA-BJ6U0Bh6.js +0 -1
  681. package/dist/assets/treemap-WGGIJYW6-DU7UqE3x.js +0 -1
  682. package/dist/assets/troff-DXoHE4S9.js +0 -1
  683. package/dist/assets/ttcn-DYcxXVLi.js +0 -1
  684. package/dist/assets/ttcn-cfg-BfQlKCwV.js +0 -1
  685. package/dist/assets/turtle-CljXEmAu.js +0 -1
  686. package/dist/assets/useCellActionButton-OertTn-H.js +0 -1
  687. package/dist/assets/useInterval-DluQa5sq.js +0 -1
  688. package/dist/assets/vb-CHFvWjRU.js +0 -1
  689. package/dist/assets/vbscript-BEDR3krh.js +0 -1
  690. package/dist/assets/vega-component-C72lP8OY.js +0 -1
  691. package/dist/assets/vega-embed-container-C0Dphqkx.js +0 -1
  692. package/dist/assets/velocity-BoKDxc_x.js +0 -1
  693. package/dist/assets/verilog-48D_RyTw.js +0 -1
  694. package/dist/assets/vhdl-B_DNZIiR.js +0 -1
  695. package/dist/assets/wardley-WFR3VGLG-Rssn0VIa.js +0 -1
  696. package/dist/assets/webidl-DXE3DXqw.js +0 -1
  697. package/dist/assets/xquery-BriQFVWe.js +0 -1
  698. package/dist/assets/yacas-Cyn2f2Yi.js +0 -1
  699. package/dist/assets/youtube-Ck_NlGi9.js +0 -1
  700. package/dist/assets/z80-BG8AOCL_.js +0 -1
  701. /package/dist/assets/{useInterval-CV_Lf9-w.css → Inputs-CV_Lf9-w.css} +0 -0
@@ -0,0 +1 @@
1
+ import{C as e,S as t,b as n,n as r,o as i,u as a,w as o,x as s}from"./chunk-FOHPRMQF-DHwB1DNv.js";var c=class extends r{static{s(this,`WardleyValueConverter`)}runCustomConverter(e,t,n){switch(e.name.toUpperCase()){case`LINK_LABEL`:return t.substring(1).trim();default:return}}},l={parser:{ValueConverter:s(()=>new c,`ValueConverter`)}};function u(r=i){let s=o(e(r),a),c=o(t({shared:s}),n,l);return s.ServiceRegistry.register(c),{shared:s,Wardley:c}}s(u,`createWardleyServices`);export{u as n,l as t};
@@ -0,0 +1 @@
1
+ import{C as e,S as t,n,o as r,t as i,u as a,v as o,w as s,x as c}from"./chunk-FOHPRMQF-DHwB1DNv.js";var l=class extends n{static{c(this,`TreeViewValueConverter`)}runCustomConverter(e,t,n){if(e.name===`INDENTATION`)return t?.length||0;if(e.name===`QUOTED_NAME`)return t.substring(1,t.length-1);if(e.name===`BARE_NAME`)return t.replace(/[\t ]+$/,``);if(e.name===`CLASS_ANNOTATION`)return t.trim().substring(3).trim();if(e.name===`ICON_ANNOTATION`){let e=t.trim();return e.substring(5,e.length-1)}if(e.name===`DESC_ANNOTATION`)return t.trim().substring(2).trim()}},u=class extends i{static{c(this,`TreeViewTokenBuilder`)}constructor(){super([`treeView-beta`])}},d={parser:{TokenBuilder:c(()=>new u,`TokenBuilder`),ValueConverter:c(()=>new l,`ValueConverter`)}};function f(n=r){let i=s(e(n),a),c=s(t({shared:i}),o,d);return i.ServiceRegistry.register(c),{shared:i,TreeView:c}}c(f,`createTreeViewServices`);export{f as n,d as t};
@@ -1,4 +1,4 @@
1
- import{t as e}from"./purify.es--06brOip.js";import{g as t,s as n}from"./chunk-75Z2AOVW-BGGJQUsr.js";import{u as r}from"./src-BpnPuKEN.js";import{n as i}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as a}from"./src-Cyu5G-Tr.js";import{H as o,K as s,U as c,a as l,s as u,v as d,w as f,x as p,y as m}from"./chunk-DU6HZSFF-BbUeHz2R.js";import{r as h}from"./mermaid-B2ngFN0c.js";import{t as g}from"./chunk-F27PBJKO-BIJD5Wdq.js";import{t as _}from"./chunk-XXDRQBXY-BwqwIlJV.js";import{t as v}from"./chunk-POPQ4Y6H-B9wQmUAO.js";var y=(function(){var e=i(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,2],n=[1,3],r=[1,4],a=[2,4],o=[1,9],s=[1,11],c=[1,16],l=[1,17],u=[1,18],d=[1,19],f=[1,33],p=[1,20],m=[1,21],h=[1,22],g=[1,23],_=[1,24],v=[1,26],y=[1,27],b=[1,28],x=[1,29],S=[1,30],C=[1,31],w=[1,32],T=[1,35],E=[1,36],D=[1,37],O=[1,38],k=[1,34],A=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],j=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],M=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],N={trace:i(function(){},`trace`),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:`error`,4:`SPACE`,5:`NL`,6:`SD`,14:`DESCR`,15:`-->`,16:`HIDE_EMPTY`,17:`scale`,18:`WIDTH`,19:`COMPOSIT_STATE`,20:`STRUCT_START`,21:`STRUCT_STOP`,22:`STATE_DESCR`,23:`AS`,24:`ID`,25:`FORK`,26:`JOIN`,27:`CHOICE`,28:`CONCURRENT`,29:`note`,31:`NOTE_TEXT`,33:`acc_title`,34:`acc_title_value`,35:`acc_descr`,36:`acc_descr_value`,37:`acc_descr_multiline_value`,38:`CLICK`,39:`STRING`,40:`HREF`,41:`classDef`,42:`CLASSDEF_ID`,43:`CLASSDEF_STYLEOPTS`,44:`DEFAULT`,45:`style`,46:`STYLE_IDS`,47:`STYLEDEF_STYLEOPTS`,48:`class`,49:`CLASSENTITY_IDS`,50:`STYLECLASS`,51:`direction_tb`,52:`direction_bt`,53:`direction_rl`,54:`direction_lr`,56:`;`,57:`EDGE_STATE`,58:`STYLE_SEPARATOR`,59:`left_of`,60:`right_of`},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:i(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 3:return r.setRootDoc(a[s]),a[s];case 4:this.$=[];break;case 5:a[s]!=`nl`&&(a[s-1].push(a[s]),this.$=a[s-1]);break;case 6:case 7:this.$=a[s];break;case 8:this.$=`nl`;break;case 12:this.$=a[s];break;case 13:let e=a[s-1];e.description=r.trimColon(a[s]),this.$=e;break;case 14:this.$={stmt:`relation`,state1:a[s-2],state2:a[s]};break;case 15:let t=r.trimColon(a[s]);this.$={stmt:`relation`,state1:a[s-3],state2:a[s-1],description:t};break;case 19:this.$={stmt:`state`,id:a[s-3],type:`default`,description:``,doc:a[s-1]};break;case 20:var c=a[s],l=a[s-2].trim();if(a[s].match(`:`)){var u=a[s].split(`:`);c=u[0],l=[l,u[1]]}this.$={stmt:`state`,id:c,type:`default`,description:l};break;case 21:this.$={stmt:`state`,id:a[s-3],type:`default`,description:a[s-5],doc:a[s-1]};break;case 22:this.$={stmt:`state`,id:a[s],type:`fork`};break;case 23:this.$={stmt:`state`,id:a[s],type:`join`};break;case 24:this.$={stmt:`state`,id:a[s],type:`choice`};break;case 25:this.$={stmt:`state`,id:r.getDividerId(),type:`divider`};break;case 26:this.$={stmt:`state`,id:a[s-1].trim(),note:{position:a[s-2].trim(),text:a[s].trim()}};break;case 29:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 30:case 31:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 32:this.$={stmt:`click`,id:a[s-3],url:a[s-2],tooltip:a[s-1]};break;case 33:this.$={stmt:`click`,id:a[s-3],url:a[s-1],tooltip:``};break;case 34:case 35:this.$={stmt:`classDef`,id:a[s-1].trim(),classes:a[s].trim()};break;case 36:this.$={stmt:`style`,id:a[s-1].trim(),styleClass:a[s].trim()};break;case 37:this.$={stmt:`applyClass`,id:a[s-1].trim(),styleClass:a[s].trim()};break;case 38:r.setDirection(`TB`),this.$={stmt:`dir`,value:`TB`};break;case 39:r.setDirection(`BT`),this.$={stmt:`dir`,value:`BT`};break;case 40:r.setDirection(`RL`),this.$={stmt:`dir`,value:`RL`};break;case 41:r.setDirection(`LR`),this.$={stmt:`dir`,value:`LR`};break;case 44:case 45:this.$={stmt:`state`,id:a[s].trim(),type:`default`,description:``};break;case 46:this.$={stmt:`state`,id:a[s-2].trim(),classes:[a[s].trim()],type:`default`,description:``};break;case 47:this.$={stmt:`state`,id:a[s-2].trim(),classes:[a[s].trim()],type:`default`,description:``}}},`anonymous`),table:[{3:1,4:t,5:n,6:r},{1:[3]},{3:5,4:t,5:n,6:r},{3:6,4:t,5:n,6:r},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},e(A,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:c,17:l,19:u,22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},e(A,[2,7]),e(A,[2,8]),e(A,[2,9]),e(A,[2,10]),e(A,[2,11]),e(A,[2,12],{14:[1,40],15:[1,41]}),e(A,[2,16]),{18:[1,42]},e(A,[2,18],{20:[1,43]}),{23:[1,44]},e(A,[2,22]),e(A,[2,23]),e(A,[2,24]),e(A,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(A,[2,28]),{34:[1,49]},{36:[1,50]},e(A,[2,31]),{13:51,24:f,57:k},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},e(j,[2,44],{58:[1,56]}),e(j,[2,45],{58:[1,57]}),e(A,[2,38]),e(A,[2,39]),e(A,[2,40]),e(A,[2,41]),e(A,[2,6]),e(A,[2,13]),{13:58,24:f,57:k},e(A,[2,17]),e(M,a,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(A,[2,29]),e(A,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},e(A,[2,14],{14:[1,71]}),{4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,21:[1,72],22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},e(A,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(A,[2,34]),e(A,[2,35]),e(A,[2,36]),e(A,[2,37]),e(j,[2,46]),e(j,[2,47]),e(A,[2,15]),e(A,[2,19]),e(M,a,{7:78}),e(A,[2,26]),e(A,[2,27]),{5:[1,79]},{5:[1,80]},{4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,21:[1,81],22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},e(A,[2,32]),e(A,[2,33]),e(A,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:i(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:i(function(e){var t=this,n=[0],r=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){n.length-=2*e,a.length-=e,o.length-=e}i(b,`popStack`);function x(){var e=r.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(r=e,e=r.pop()),e=t.symbols_[e]||e),e}i(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=n[n.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
1
+ import{t as e}from"./purify.es--06brOip.js";import{g as t,s as n}from"./chunk-75Z2AOVW-DEp7Wbaj.js";import{u as r}from"./src-BpnPuKEN.js";import{n as i}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as a}from"./src-Cyu5G-Tr.js";import{H as o,K as s,U as c,a as l,s as u,v as d,w as f,x as p,y as m}from"./chunk-DU6HZSFF-CDmPCRkr.js";import{r as h}from"./chunk-TLUHSLCS-DvvqZUl_.js";import{t as g}from"./chunk-F27PBJKO-455JWNM3.js";import{t as _}from"./chunk-XXDRQBXY-BwqwIlJV.js";import{t as v}from"./chunk-POPQ4Y6H-C--NLIXc.js";var y=(function(){var e=i(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,2],n=[1,3],r=[1,4],a=[2,4],o=[1,9],s=[1,11],c=[1,16],l=[1,17],u=[1,18],d=[1,19],f=[1,33],p=[1,20],m=[1,21],h=[1,22],g=[1,23],_=[1,24],v=[1,26],y=[1,27],b=[1,28],x=[1,29],S=[1,30],C=[1,31],w=[1,32],T=[1,35],E=[1,36],D=[1,37],O=[1,38],k=[1,34],A=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],j=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],M=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],N={trace:i(function(){},`trace`),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:`error`,4:`SPACE`,5:`NL`,6:`SD`,14:`DESCR`,15:`-->`,16:`HIDE_EMPTY`,17:`scale`,18:`WIDTH`,19:`COMPOSIT_STATE`,20:`STRUCT_START`,21:`STRUCT_STOP`,22:`STATE_DESCR`,23:`AS`,24:`ID`,25:`FORK`,26:`JOIN`,27:`CHOICE`,28:`CONCURRENT`,29:`note`,31:`NOTE_TEXT`,33:`acc_title`,34:`acc_title_value`,35:`acc_descr`,36:`acc_descr_value`,37:`acc_descr_multiline_value`,38:`CLICK`,39:`STRING`,40:`HREF`,41:`classDef`,42:`CLASSDEF_ID`,43:`CLASSDEF_STYLEOPTS`,44:`DEFAULT`,45:`style`,46:`STYLE_IDS`,47:`STYLEDEF_STYLEOPTS`,48:`class`,49:`CLASSENTITY_IDS`,50:`STYLECLASS`,51:`direction_tb`,52:`direction_bt`,53:`direction_rl`,54:`direction_lr`,56:`;`,57:`EDGE_STATE`,58:`STYLE_SEPARATOR`,59:`left_of`,60:`right_of`},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:i(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 3:return r.setRootDoc(a[s]),a[s];case 4:this.$=[];break;case 5:a[s]!=`nl`&&(a[s-1].push(a[s]),this.$=a[s-1]);break;case 6:case 7:this.$=a[s];break;case 8:this.$=`nl`;break;case 12:this.$=a[s];break;case 13:let e=a[s-1];e.description=r.trimColon(a[s]),this.$=e;break;case 14:this.$={stmt:`relation`,state1:a[s-2],state2:a[s]};break;case 15:let t=r.trimColon(a[s]);this.$={stmt:`relation`,state1:a[s-3],state2:a[s-1],description:t};break;case 19:this.$={stmt:`state`,id:a[s-3],type:`default`,description:``,doc:a[s-1]};break;case 20:var c=a[s],l=a[s-2].trim();if(a[s].match(`:`)){var u=a[s].split(`:`);c=u[0],l=[l,u[1]]}this.$={stmt:`state`,id:c,type:`default`,description:l};break;case 21:this.$={stmt:`state`,id:a[s-3],type:`default`,description:a[s-5],doc:a[s-1]};break;case 22:this.$={stmt:`state`,id:a[s],type:`fork`};break;case 23:this.$={stmt:`state`,id:a[s],type:`join`};break;case 24:this.$={stmt:`state`,id:a[s],type:`choice`};break;case 25:this.$={stmt:`state`,id:r.getDividerId(),type:`divider`};break;case 26:this.$={stmt:`state`,id:a[s-1].trim(),note:{position:a[s-2].trim(),text:a[s].trim()}};break;case 29:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 30:case 31:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 32:this.$={stmt:`click`,id:a[s-3],url:a[s-2],tooltip:a[s-1]};break;case 33:this.$={stmt:`click`,id:a[s-3],url:a[s-1],tooltip:``};break;case 34:case 35:this.$={stmt:`classDef`,id:a[s-1].trim(),classes:a[s].trim()};break;case 36:this.$={stmt:`style`,id:a[s-1].trim(),styleClass:a[s].trim()};break;case 37:this.$={stmt:`applyClass`,id:a[s-1].trim(),styleClass:a[s].trim()};break;case 38:r.setDirection(`TB`),this.$={stmt:`dir`,value:`TB`};break;case 39:r.setDirection(`BT`),this.$={stmt:`dir`,value:`BT`};break;case 40:r.setDirection(`RL`),this.$={stmt:`dir`,value:`RL`};break;case 41:r.setDirection(`LR`),this.$={stmt:`dir`,value:`LR`};break;case 44:case 45:this.$={stmt:`state`,id:a[s].trim(),type:`default`,description:``};break;case 46:this.$={stmt:`state`,id:a[s-2].trim(),classes:[a[s].trim()],type:`default`,description:``};break;case 47:this.$={stmt:`state`,id:a[s-2].trim(),classes:[a[s].trim()],type:`default`,description:``}}},`anonymous`),table:[{3:1,4:t,5:n,6:r},{1:[3]},{3:5,4:t,5:n,6:r},{3:6,4:t,5:n,6:r},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},e(A,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:c,17:l,19:u,22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},e(A,[2,7]),e(A,[2,8]),e(A,[2,9]),e(A,[2,10]),e(A,[2,11]),e(A,[2,12],{14:[1,40],15:[1,41]}),e(A,[2,16]),{18:[1,42]},e(A,[2,18],{20:[1,43]}),{23:[1,44]},e(A,[2,22]),e(A,[2,23]),e(A,[2,24]),e(A,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(A,[2,28]),{34:[1,49]},{36:[1,50]},e(A,[2,31]),{13:51,24:f,57:k},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},e(j,[2,44],{58:[1,56]}),e(j,[2,45],{58:[1,57]}),e(A,[2,38]),e(A,[2,39]),e(A,[2,40]),e(A,[2,41]),e(A,[2,6]),e(A,[2,13]),{13:58,24:f,57:k},e(A,[2,17]),e(M,a,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(A,[2,29]),e(A,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},e(A,[2,14],{14:[1,71]}),{4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,21:[1,72],22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},e(A,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(A,[2,34]),e(A,[2,35]),e(A,[2,36]),e(A,[2,37]),e(j,[2,46]),e(j,[2,47]),e(A,[2,15]),e(A,[2,19]),e(M,a,{7:78}),e(A,[2,26]),e(A,[2,27]),{5:[1,79]},{5:[1,80]},{4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,21:[1,81],22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},e(A,[2,32]),e(A,[2,33]),e(A,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:i(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:i(function(e){var t=this,n=[0],r=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){n.length-=2*e,a.length-=e,o.length-=e}i(b,`popStack`);function x(){var e=r.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(r=e,e=r.pop()),e=t.symbols_[e]||e),e}i(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=n[n.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
2
2
  `+h.showPosition()+`
3
3
  Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:n.push(S),a.push(h.yytext),o.push(h.yylloc),n.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(n=n.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),n.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0},`parse`)};N.lexer=(function(){return{EOF:1,parseError:i(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:i(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:i(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:i(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:i(function(){return this._more=!0,this},`more`),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:i(function(e){this.unput(this.match.slice(e))},`less`),pastInput:i(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:i(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:i(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
@@ -0,0 +1 @@
1
+ import{C as e,S as t,c as n,i as r,o as i,t as a,u as o,w as s,x as c}from"./chunk-FOHPRMQF-DHwB1DNv.js";var l=class extends a{static{c(this,`GitGraphTokenBuilder`)}constructor(){super([`gitGraph`])}},u={parser:{TokenBuilder:c(()=>new l,`TokenBuilder`),ValueConverter:c(()=>new r,`ValueConverter`)}};function d(r=i){let a=s(e(r),o),c=s(t({shared:a}),n,u);return a.ServiceRegistry.register(c),{shared:a,GitGraph:c}}c(d,`createGitGraphServices`);export{d as n,u as t};
@@ -1 +1 @@
1
- import{u as e}from"./src-BpnPuKEN.js";import{n as t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as n}from"./src-Cyu5G-Tr.js";import{T as r,g as i,x as a}from"./chunk-DU6HZSFF-BbUeHz2R.js";import{a as o,i as s}from"./chunk-P2QGCYS3-C7JwFzl3.js";import{n as c}from"./chunk-GMAD6QVW-De3yHY5A.js";import{t as l}from"./rough.esm-Dy-Kn_BL.js";import{n as u,r as d,t as f}from"./chunk-4HAMMTFA-BskE_kxl.js";import{n as p}from"./chunk-GVQU2GXP-CKFdw6Un.js";var m=t(async(t,r)=>{let u=a(),{themeVariables:f,handDrawnSeed:p}=u,{clusterBkg:m,clusterBorder:h}=f,g=h,{labelStyles:_,nodeStyles:v,borderStyles:y,backgroundStyles:b}=s(r),x=t.insert(`g`).attr(`class`,`cluster swimlane `+(r.cssClasses||``)).attr(`id`,r.id).attr(`data-id`,r.id).attr(`data-et`,`cluster`).attr(`data-look`,r.look),S=i(u.flowchart.htmlLabels),C=r.direction===`LR`,w=x.insert(`g`).attr(`class`,`cluster-label swimlane-label`),T=await c(w,r.label,{style:r.labelStyle,useHtmlLabels:S,isNode:!0,width:r.width}),E=T.getBBox();if(S){let t=T.children[0],n=e(T);E=t.getBoundingClientRect(),n.attr(`width`,E.width),n.attr(`height`,E.height)}let D=r.padding??0,O=r.width<=E.width+D?E.width+D:r.width;r.diff=r.width<=E.width+D?(O-r.width)/2-D:-D;let k=r.height,A=r.y-k/2,j=r.y+k/2,M=r.x-O/2,N=r.swimlaneContentTop===void 0?A+k/3:r.swimlaneContentTop,P=C?4:0,F=E.height+2*P,I,L;if(C){let e=Math.max(F,E.height+2*P),t=M+e,n=Math.max(0,O-e);if(r.look===`handDrawn`){let i=l.svg(x),a=o(r,{roughness:.7,fill:m,stroke:g,fillWeight:3,seed:p}),s=o(r,{roughness:.7,fill:`none`,stroke:g,seed:p}),c=i.rectangle(M,A,e,k,a);I=x.insert(()=>c,`:first-child`);let u=i.rectangle(t,A,n,k,s);L=x.insert(()=>u,`:first-child`),I.select(`path:nth-child(2)`).attr(`style`,y.join(`;`)),I.select(`path`).attr(`style`,b.join(`;`).replace(`fill`,`stroke`))}else I=x.insert(`rect`,`:first-child`),L=x.insert(`rect`,`:first-child`),I.attr(`class`,`swimlane-title`).attr(`style`,v).attr(`x`,M).attr(`y`,A).attr(`width`,e).attr(`height`,k).attr(`fill`,m).attr(`stroke`,g),L.attr(`class`,`swimlane-body`).attr(`style`,v).attr(`x`,t).attr(`y`,A).attr(`width`,n).attr(`height`,k).attr(`fill`,`none`).attr(`stroke`,g);let i=M+e/2,a=r.y;w.attr(`transform`,`translate(${i}, ${a}) rotate(-90) translate(${-E.width/2}, ${-E.height/2})`)}else{let e=Math.max(0,N-A),t=Math.min(F,e),n=A+t,i=Math.max(0,j-n),a=r.x-O/2;if(r.look===`handDrawn`){let e=l.svg(x),s=o(r,{roughness:.7,fill:m,stroke:g,fillWeight:3,seed:p}),c=o(r,{roughness:.7,fill:`none`,stroke:g,seed:p}),u=e.rectangle(a,A,O,t,s);I=x.insert(()=>u,`:first-child`);let d=e.rectangle(a,n,O,i,c);L=x.insert(()=>d,`:first-child`),I.select(`path:nth-child(2)`).attr(`style`,y.join(`;`)),I.select(`path`).attr(`style`,b.join(`;`).replace(`fill`,`stroke`))}else I=x.insert(`rect`,`:first-child`),L=x.insert(`rect`,`:first-child`),I.attr(`class`,`swimlane-title`).attr(`style`,v).attr(`x`,a).attr(`y`,A).attr(`width`,O).attr(`height`,t).attr(`fill`,m).attr(`stroke`,g),L.attr(`class`,`swimlane-body`).attr(`style`,v).attr(`x`,a).attr(`y`,n).attr(`width`,O).attr(`height`,i).attr(`fill`,`none`).attr(`stroke`,g);let s=r.x-E.width/2,c=A+(t-E.height)/2;w.attr(`transform`,`translate(${s}, ${c})`)}if(n.trace(`Swimlane data `,r,JSON.stringify(r)),_){let e=w.select(`span`);e&&e.attr(`style`,_)}return r.offsetX=0,r.width=O,r.height=k,r.offsetY=E.height-D/2,r.intersect=function(e){return d(r,e)},{cluster:x,labelBBox:E}},`swimlane`),h=t(async(t,i)=>{n.info(`Creating subgraph rect for `,i.id,i);let m=a(),{themeVariables:h,handDrawnSeed:g}=m,{clusterBkg:_,clusterBorder:v}=h,{labelStyles:y,nodeStyles:b,borderStyles:x,backgroundStyles:S}=s(i),C=t.insert(`g`).attr(`class`,`cluster `+i.cssClasses).attr(`id`,i.domId).attr(`data-look`,i.look),w=r(m),T=C.insert(`g`).attr(`class`,`cluster-label `),E;E=i.labelType===`markdown`?await c(T,i.label,{style:i.labelStyle,useHtmlLabels:w,isNode:!0,width:i.width}):await f(T,i.label,i.labelStyle||``,!1,!0);let D=E.getBBox();if(r(m)){let t=E.children[0],n=e(E);D=t.getBoundingClientRect(),n.attr(`width`,D.width),n.attr(`height`,D.height)}let O=i.width<=D.width+i.padding?D.width+i.padding:i.width;i.diff=i.width<=D.width+i.padding?(O-i.width)/2-i.padding:-i.padding;let k=i.height,A=i.x-O/2,j=i.y-k/2;n.trace(`Data `,i,JSON.stringify(i));let M;if(i.look===`handDrawn`){let e=l.svg(C),t=o(i,{roughness:.7,fill:_,stroke:v,fillWeight:3,seed:g}),r=e.path(u(A,j,O,k,0),t);M=C.insert(()=>(n.debug(`Rough node insert CXC`,r),r),`:first-child`),M.select(`path:nth-child(2)`).attr(`style`,x.join(`;`)),M.select(`path`).attr(`style`,S.join(`;`).replace(`fill`,`stroke`))}else M=C.insert(`rect`,`:first-child`),M.attr(`style`,b).attr(`rx`,i.rx).attr(`ry`,i.ry).attr(`x`,A).attr(`y`,j).attr(`width`,O).attr(`height`,k);let{subGraphTitleTopMargin:N}=p(m);if(T.attr(`transform`,`translate(${i.x-D.width/2}, ${i.y-i.height/2+N})`),y){let e=T.select(`span`);e&&e.attr(`style`,y)}let P=M.node().getBBox();return i.offsetX=0,i.width=P.width,i.height=P.height,i.offsetY=D.height-i.padding/2,i.intersect=function(e){return d(i,e)},{cluster:C,labelBBox:D}},`rect`),g={rect:h,squareRect:h,roundedWithTitle:t(async(t,n)=>{let i=a(),{themeVariables:o,handDrawnSeed:s}=i,{altBackground:c,compositeBackground:p,compositeTitleBackground:m,nodeBorder:h}=o,g=t.insert(`g`).attr(`class`,n.cssClasses).attr(`id`,n.domId).attr(`data-id`,n.id).attr(`data-look`,n.look),_=g.insert(`g`,`:first-child`),v=g.insert(`g`).attr(`class`,`cluster-label`),y=g.append(`rect`),b=await f(v,n.label,n.labelStyle,void 0,!0),x=b.getBBox();if(r(i)){let t=b.children[0],n=e(b);x=t.getBoundingClientRect(),n.attr(`width`,x.width),n.attr(`height`,x.height)}let S=0*n.padding,C=S/2,w=(n.width<=x.width+n.padding?x.width+n.padding:n.width)+S;n.diff=n.width<=x.width+n.padding?(w-n.width)/2-n.padding:-n.padding;let T=n.height+S,E=n.height+S-x.height-6,D=n.x-w/2,O=n.y-T/2;n.width=w;let k=n.y-n.height/2-C+x.height+2,A;if(n.look===`handDrawn`){let e=n.cssClasses.includes(`statediagram-cluster-alt`),t=l.svg(g),r=n.rx||n.ry?t.path(u(D,O,w,T,10),{roughness:.7,fill:m,fillStyle:`solid`,stroke:h,seed:s}):t.rectangle(D,O,w,T,{seed:s});A=g.insert(()=>r,`:first-child`);let i=t.rectangle(D,k,w,E,{fill:e?c:p,fillStyle:e?`hachure`:`solid`,stroke:h,seed:s});A=g.insert(()=>r,`:first-child`),y=g.insert(()=>i)}else A=_.insert(`rect`,`:first-child`),A.attr(`class`,`outer`).attr(`x`,D).attr(`y`,O).attr(`width`,w).attr(`height`,T).attr(`data-look`,n.look),y.attr(`class`,`inner`).attr(`x`,D).attr(`y`,k).attr(`width`,w).attr(`height`,E);return v.attr(`transform`,`translate(${n.x-x.width/2}, ${O+1-(r(i)?0:3)})`),n.height=A.node().getBBox().height,n.offsetX=0,n.offsetY=x.height-n.padding/2,n.labelBBox=x,n.intersect=function(e){return d(n,e)},{cluster:g,labelBBox:x}},`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 d(t,e)},{cluster:n,labelBBox:{width:0,height:0}}},`noteGroup`),divider:t((e,t)=>{let{themeVariables:n,handDrawnSeed:r}=a(),{nodeBorder:i}=n,o=e.insert(`g`).attr(`class`,t.cssClasses).attr(`id`,t.domId).attr(`data-look`,t.look),s=o.insert(`g`,`:first-child`),c=0*t.padding,u=t.width+c;t.diff=-t.padding;let f=t.height+c,p=t.x-u/2,m=t.y-f/2;t.width=u;let h;if(t.look===`handDrawn`){let e=l.svg(o).rectangle(p,m,u,f,{fill:`lightgrey`,roughness:.5,strokeLineDash:[5],stroke:i,seed:r});h=o.insert(()=>e,`:first-child`)}else{h=s.insert(`rect`,`:first-child`);let e=`outer`;e=(t.look,`divider`),h.attr(`class`,e).attr(`x`,p).attr(`y`,m).attr(`width`,u).attr(`height`,f).attr(`data-look`,t.look)}return t.height=h.node().getBBox().height,t.offsetX=0,t.offsetY=0,t.intersect=function(e){return d(t,e)},{cluster:o,labelBBox:{}}},`divider`),kanbanSection:t(async(t,i)=>{n.info(`Creating subgraph rect for `,i.id,i);let f=a(),{themeVariables:m,handDrawnSeed:h}=f,{clusterBkg:g,clusterBorder:_}=m,{labelStyles:v,nodeStyles:y,borderStyles:b,backgroundStyles:x}=s(i),S=t.insert(`g`).attr(`class`,`cluster `+i.cssClasses).attr(`id`,i.domId).attr(`data-look`,i.look),C=r(f),w=S.insert(`g`).attr(`class`,`cluster-label `),T=await c(w,i.label,{style:i.labelStyle,useHtmlLabels:C,isNode:!0,width:i.width}),E=T.getBBox();if(r(f)){let t=T.children[0],n=e(T);E=t.getBoundingClientRect(),n.attr(`width`,E.width),n.attr(`height`,E.height)}let D=i.width<=E.width+i.padding?E.width+i.padding:i.width;i.diff=i.width<=E.width+i.padding?(D-i.width)/2-i.padding:-i.padding;let O=i.height,k=i.x-D/2,A=i.y-O/2;n.trace(`Data `,i,JSON.stringify(i));let j;if(i.look===`handDrawn`){let e=l.svg(S),t=o(i,{roughness:.7,fill:g,stroke:_,fillWeight:4,seed:h}),r=e.path(u(k,A,D,O,i.rx),t);j=S.insert(()=>(n.debug(`Rough node insert CXC`,r),r),`:first-child`),j.select(`path:nth-child(2)`).attr(`style`,b.join(`;`)),j.select(`path`).attr(`style`,x.join(`;`).replace(`fill`,`stroke`))}else j=S.insert(`rect`,`:first-child`),j.attr(`style`,y).attr(`rx`,i.rx).attr(`ry`,i.ry).attr(`x`,k).attr(`y`,A).attr(`width`,D).attr(`height`,O);let{subGraphTitleTopMargin:M}=p(f);if(w.attr(`transform`,`translate(${i.x-E.width/2}, ${i.y-i.height/2+M})`),v){let e=w.select(`span`);e&&e.attr(`style`,v)}let N=j.node().getBBox();return i.offsetX=0,i.width=N.width,i.height=N.height,i.offsetY=E.height-i.padding/2,i.intersect=function(e){return d(i,e)},{cluster:S,labelBBox:E}},`kanbanSection`),swimlane:m},_=new Map,v=t(async(e,t)=>{let n=await g[t.shape||`rect`](e,t);return _.set(t.id,n),n},`insertCluster`),y=t(()=>{_=new Map},`clear`);export{v as n,y as t};
1
+ import{u as e}from"./src-BpnPuKEN.js";import{n as t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as n}from"./src-Cyu5G-Tr.js";import{T as r,g as i,x as a}from"./chunk-DU6HZSFF-CDmPCRkr.js";import{a as o,i as s}from"./chunk-P2QGCYS3-Bw5LRT6S.js";import{n as c}from"./chunk-GMAD6QVW-ahdTJvh0.js";import{t as l}from"./rough.esm-Dy-Kn_BL.js";import{n as u,r as d,t as f}from"./chunk-4HAMMTFA-DaFOJTOO.js";import{n as p}from"./chunk-GVQU2GXP-CPkYne1h.js";var m=t(async(t,r)=>{let u=a(),{themeVariables:f,handDrawnSeed:p}=u,{clusterBkg:m,clusterBorder:h}=f,g=h,{labelStyles:_,nodeStyles:v,borderStyles:y,backgroundStyles:b}=s(r),x=t.insert(`g`).attr(`class`,`cluster swimlane `+(r.cssClasses||``)).attr(`id`,r.id).attr(`data-id`,r.id).attr(`data-et`,`cluster`).attr(`data-look`,r.look),S=i(u.flowchart.htmlLabels),C=r.direction===`LR`,w=x.insert(`g`).attr(`class`,`cluster-label swimlane-label`),T=await c(w,r.label,{style:r.labelStyle,useHtmlLabels:S,isNode:!0,width:r.width}),E=T.getBBox();if(S){let t=T.children[0],n=e(T);E=t.getBoundingClientRect(),n.attr(`width`,E.width),n.attr(`height`,E.height)}let D=r.padding??0,O=r.width<=E.width+D?E.width+D:r.width;r.diff=r.width<=E.width+D?(O-r.width)/2-D:-D;let k=r.height,A=r.y-k/2,j=r.y+k/2,M=r.x-O/2,N=r.swimlaneContentTop===void 0?A+k/3:r.swimlaneContentTop,P=C?4:0,F=E.height+2*P,I,L;if(C){let e=Math.max(F,E.height+2*P),t=M+e,n=Math.max(0,O-e);if(r.look===`handDrawn`){let i=l.svg(x),a=o(r,{roughness:.7,fill:m,stroke:g,fillWeight:3,seed:p}),s=o(r,{roughness:.7,fill:`none`,stroke:g,seed:p}),c=i.rectangle(M,A,e,k,a);I=x.insert(()=>c,`:first-child`);let u=i.rectangle(t,A,n,k,s);L=x.insert(()=>u,`:first-child`),I.select(`path:nth-child(2)`).attr(`style`,y.join(`;`)),I.select(`path`).attr(`style`,b.join(`;`).replace(`fill`,`stroke`))}else I=x.insert(`rect`,`:first-child`),L=x.insert(`rect`,`:first-child`),I.attr(`class`,`swimlane-title`).attr(`style`,v).attr(`x`,M).attr(`y`,A).attr(`width`,e).attr(`height`,k).attr(`fill`,m).attr(`stroke`,g),L.attr(`class`,`swimlane-body`).attr(`style`,v).attr(`x`,t).attr(`y`,A).attr(`width`,n).attr(`height`,k).attr(`fill`,`none`).attr(`stroke`,g);let i=M+e/2,a=r.y;w.attr(`transform`,`translate(${i}, ${a}) rotate(-90) translate(${-E.width/2}, ${-E.height/2})`)}else{let e=Math.max(0,N-A),t=Math.min(F,e),n=A+t,i=Math.max(0,j-n),a=r.x-O/2;if(r.look===`handDrawn`){let e=l.svg(x),s=o(r,{roughness:.7,fill:m,stroke:g,fillWeight:3,seed:p}),c=o(r,{roughness:.7,fill:`none`,stroke:g,seed:p}),u=e.rectangle(a,A,O,t,s);I=x.insert(()=>u,`:first-child`);let d=e.rectangle(a,n,O,i,c);L=x.insert(()=>d,`:first-child`),I.select(`path:nth-child(2)`).attr(`style`,y.join(`;`)),I.select(`path`).attr(`style`,b.join(`;`).replace(`fill`,`stroke`))}else I=x.insert(`rect`,`:first-child`),L=x.insert(`rect`,`:first-child`),I.attr(`class`,`swimlane-title`).attr(`style`,v).attr(`x`,a).attr(`y`,A).attr(`width`,O).attr(`height`,t).attr(`fill`,m).attr(`stroke`,g),L.attr(`class`,`swimlane-body`).attr(`style`,v).attr(`x`,a).attr(`y`,n).attr(`width`,O).attr(`height`,i).attr(`fill`,`none`).attr(`stroke`,g);let s=r.x-E.width/2,c=A+(t-E.height)/2;w.attr(`transform`,`translate(${s}, ${c})`)}if(n.trace(`Swimlane data `,r,JSON.stringify(r)),_){let e=w.select(`span`);e&&e.attr(`style`,_)}return r.offsetX=0,r.width=O,r.height=k,r.offsetY=E.height-D/2,r.intersect=function(e){return d(r,e)},{cluster:x,labelBBox:E}},`swimlane`),h=t(async(t,i)=>{n.info(`Creating subgraph rect for `,i.id,i);let m=a(),{themeVariables:h,handDrawnSeed:g}=m,{clusterBkg:_,clusterBorder:v}=h,{labelStyles:y,nodeStyles:b,borderStyles:x,backgroundStyles:S}=s(i),C=t.insert(`g`).attr(`class`,`cluster `+i.cssClasses).attr(`id`,i.domId).attr(`data-look`,i.look),w=r(m),T=C.insert(`g`).attr(`class`,`cluster-label `),E;E=i.labelType===`markdown`?await c(T,i.label,{style:i.labelStyle,useHtmlLabels:w,isNode:!0,width:i.width}):await f(T,i.label,i.labelStyle||``,!1,!0);let D=E.getBBox();if(r(m)){let t=E.children[0],n=e(E);D=t.getBoundingClientRect(),n.attr(`width`,D.width),n.attr(`height`,D.height)}let O=i.width<=D.width+i.padding?D.width+i.padding:i.width;i.diff=i.width<=D.width+i.padding?(O-i.width)/2-i.padding:-i.padding;let k=i.height,A=i.x-O/2,j=i.y-k/2;n.trace(`Data `,i,JSON.stringify(i));let M;if(i.look===`handDrawn`){let e=l.svg(C),t=o(i,{roughness:.7,fill:_,stroke:v,fillWeight:3,seed:g}),r=e.path(u(A,j,O,k,0),t);M=C.insert(()=>(n.debug(`Rough node insert CXC`,r),r),`:first-child`),M.select(`path:nth-child(2)`).attr(`style`,x.join(`;`)),M.select(`path`).attr(`style`,S.join(`;`).replace(`fill`,`stroke`))}else M=C.insert(`rect`,`:first-child`),M.attr(`style`,b).attr(`rx`,i.rx).attr(`ry`,i.ry).attr(`x`,A).attr(`y`,j).attr(`width`,O).attr(`height`,k);let{subGraphTitleTopMargin:N}=p(m);if(T.attr(`transform`,`translate(${i.x-D.width/2}, ${i.y-i.height/2+N})`),y){let e=T.select(`span`);e&&e.attr(`style`,y)}let P=M.node().getBBox();return i.offsetX=0,i.width=P.width,i.height=P.height,i.offsetY=D.height-i.padding/2,i.intersect=function(e){return d(i,e)},{cluster:C,labelBBox:D}},`rect`),g={rect:h,squareRect:h,roundedWithTitle:t(async(t,n)=>{let i=a(),{themeVariables:o,handDrawnSeed:s}=i,{altBackground:c,compositeBackground:p,compositeTitleBackground:m,nodeBorder:h}=o,g=t.insert(`g`).attr(`class`,n.cssClasses).attr(`id`,n.domId).attr(`data-id`,n.id).attr(`data-look`,n.look),_=g.insert(`g`,`:first-child`),v=g.insert(`g`).attr(`class`,`cluster-label`),y=g.append(`rect`),b=await f(v,n.label,n.labelStyle,void 0,!0),x=b.getBBox();if(r(i)){let t=b.children[0],n=e(b);x=t.getBoundingClientRect(),n.attr(`width`,x.width),n.attr(`height`,x.height)}let S=0*n.padding,C=S/2,w=(n.width<=x.width+n.padding?x.width+n.padding:n.width)+S;n.diff=n.width<=x.width+n.padding?(w-n.width)/2-n.padding:-n.padding;let T=n.height+S,E=n.height+S-x.height-6,D=n.x-w/2,O=n.y-T/2;n.width=w;let k=n.y-n.height/2-C+x.height+2,A;if(n.look===`handDrawn`){let e=n.cssClasses.includes(`statediagram-cluster-alt`),t=l.svg(g),r=n.rx||n.ry?t.path(u(D,O,w,T,10),{roughness:.7,fill:m,fillStyle:`solid`,stroke:h,seed:s}):t.rectangle(D,O,w,T,{seed:s});A=g.insert(()=>r,`:first-child`);let i=t.rectangle(D,k,w,E,{fill:e?c:p,fillStyle:e?`hachure`:`solid`,stroke:h,seed:s});A=g.insert(()=>r,`:first-child`),y=g.insert(()=>i)}else A=_.insert(`rect`,`:first-child`),A.attr(`class`,`outer`).attr(`x`,D).attr(`y`,O).attr(`width`,w).attr(`height`,T).attr(`data-look`,n.look),y.attr(`class`,`inner`).attr(`x`,D).attr(`y`,k).attr(`width`,w).attr(`height`,E);return v.attr(`transform`,`translate(${n.x-x.width/2}, ${O+1-(r(i)?0:3)})`),n.height=A.node().getBBox().height,n.offsetX=0,n.offsetY=x.height-n.padding/2,n.labelBBox=x,n.intersect=function(e){return d(n,e)},{cluster:g,labelBBox:x}},`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 d(t,e)},{cluster:n,labelBBox:{width:0,height:0}}},`noteGroup`),divider:t((e,t)=>{let{themeVariables:n,handDrawnSeed:r}=a(),{nodeBorder:i}=n,o=e.insert(`g`).attr(`class`,t.cssClasses).attr(`id`,t.domId).attr(`data-look`,t.look),s=o.insert(`g`,`:first-child`),c=0*t.padding,u=t.width+c;t.diff=-t.padding;let f=t.height+c,p=t.x-u/2,m=t.y-f/2;t.width=u;let h;if(t.look===`handDrawn`){let e=l.svg(o).rectangle(p,m,u,f,{fill:`lightgrey`,roughness:.5,strokeLineDash:[5],stroke:i,seed:r});h=o.insert(()=>e,`:first-child`)}else{h=s.insert(`rect`,`:first-child`);let e=`outer`;e=(t.look,`divider`),h.attr(`class`,e).attr(`x`,p).attr(`y`,m).attr(`width`,u).attr(`height`,f).attr(`data-look`,t.look)}return t.height=h.node().getBBox().height,t.offsetX=0,t.offsetY=0,t.intersect=function(e){return d(t,e)},{cluster:o,labelBBox:{}}},`divider`),kanbanSection:t(async(t,i)=>{n.info(`Creating subgraph rect for `,i.id,i);let f=a(),{themeVariables:m,handDrawnSeed:h}=f,{clusterBkg:g,clusterBorder:_}=m,{labelStyles:v,nodeStyles:y,borderStyles:b,backgroundStyles:x}=s(i),S=t.insert(`g`).attr(`class`,`cluster `+i.cssClasses).attr(`id`,i.domId).attr(`data-look`,i.look),C=r(f),w=S.insert(`g`).attr(`class`,`cluster-label `),T=await c(w,i.label,{style:i.labelStyle,useHtmlLabels:C,isNode:!0,width:i.width}),E=T.getBBox();if(r(f)){let t=T.children[0],n=e(T);E=t.getBoundingClientRect(),n.attr(`width`,E.width),n.attr(`height`,E.height)}let D=i.width<=E.width+i.padding?E.width+i.padding:i.width;i.diff=i.width<=E.width+i.padding?(D-i.width)/2-i.padding:-i.padding;let O=i.height,k=i.x-D/2,A=i.y-O/2;n.trace(`Data `,i,JSON.stringify(i));let j;if(i.look===`handDrawn`){let e=l.svg(S),t=o(i,{roughness:.7,fill:g,stroke:_,fillWeight:4,seed:h}),r=e.path(u(k,A,D,O,i.rx),t);j=S.insert(()=>(n.debug(`Rough node insert CXC`,r),r),`:first-child`),j.select(`path:nth-child(2)`).attr(`style`,b.join(`;`)),j.select(`path`).attr(`style`,x.join(`;`).replace(`fill`,`stroke`))}else j=S.insert(`rect`,`:first-child`),j.attr(`style`,y).attr(`rx`,i.rx).attr(`ry`,i.ry).attr(`x`,k).attr(`y`,A).attr(`width`,D).attr(`height`,O);let{subGraphTitleTopMargin:M}=p(f);if(w.attr(`transform`,`translate(${i.x-E.width/2}, ${i.y-i.height/2+M})`),v){let e=w.select(`span`);e&&e.attr(`style`,v)}let N=j.node().getBBox();return i.offsetX=0,i.width=N.width,i.height=N.height,i.offsetY=E.height-i.padding/2,i.intersect=function(e){return d(i,e)},{cluster:S,labelBBox:E}},`kanbanSection`),swimlane:m},_=new Map,v=t(async(e,t)=>{let n=await g[t.shape||`rect`](e,t);return _.set(t.id,n),n},`insertCluster`),y=t(()=>{_=new Map},`clear`);export{v as n,y as t};
@@ -0,0 +1,34 @@
1
+ import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,`default`)?e.default:e}e(t,`getDefaultExportFromCjs`);var n={},r={},i={},a;function o(){if(a)return i;a=1;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 o(e,t){if(t){let n=Object.keys(t);for(let r=0,i=n.length;r<i;r+=1){let i=n[r];e[i]=t[i]}}return e}e(o,`extend`);function s(e,t){let n=``;for(let r=0;r<t;r+=1)n+=e;return n}e(s,`repeat`);function c(e){return e===0&&1/e==-1/0}return e(c,`isNegativeZero`),i.isNothing=t,i.isObject=n,i.toArray=r,i.repeat=s,i.isNegativeZero=c,i.extend=o,i}e(o,`requireCommon`);var s,c;function l(){if(c)return s;c=1;function t(e,t){let 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(t,`formatError`);function n(e,n){Error.call(this),this.name=`YAMLException`,this.reason=e,this.mark=n,this.message=t(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||``}return e(n,`YAMLException2`),n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n.prototype.toString=e(function(e){return this.name+`: `+t(this,e)},`toString`),s=n,s}e(l,`requireException`);var u,d;function f(){if(d)return u;d=1;let t=o();function n(e,t,n,r,i){let 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(n,`getLine`);function r(e,n){return t.repeat(` `,n-e.length)+e}e(r,`padStart`);function i(e,i){if(i=Object.create(i||null),!e.buffer)return null;i.maxLength||(i.maxLength=79),typeof i.indent!=`number`&&(i.indent=1),typeof i.linesBefore!=`number`&&(i.linesBefore=3),typeof i.linesAfter!=`number`&&(i.linesAfter=2);let a=/\r?\n|\r|\0/g,o=[0],s=[],c,l=-1;for(;c=a.exec(e.buffer);)s.push(c.index),o.push(c.index+c[0].length),e.position<=c.index&&l<0&&(l=o.length-2);l<0&&(l=o.length-1);let u=``,d=Math.min(e.line+i.linesAfter,s.length).toString().length,f=i.maxLength-(i.indent+d+3);for(let a=1;a<=i.linesBefore&&!(l-a<0);a++){let c=n(e.buffer,o[l-a],s[l-a],e.position-(o[l]-o[l-a]),f);u=t.repeat(` `,i.indent)+r((e.line-a+1).toString(),d)+` | `+c.str+`
4
+ `+u}let p=n(e.buffer,o[l],s[l],e.position,f);u+=t.repeat(` `,i.indent)+r((e.line+1).toString(),d)+` | `+p.str+`
5
+ `,u+=t.repeat(`-`,i.indent+d+3+p.pos)+`^
6
+ `;for(let a=1;a<=i.linesAfter&&!(l+a>=s.length);a++){let c=n(e.buffer,o[l+a],s[l+a],e.position-(o[l]-o[l+a]),f);u+=t.repeat(` `,i.indent)+r((e.line+a+1).toString(),d)+` | `+c.str+`
7
+ `}return u.replace(/\n$/,``)}return e(i,`makeSnippet`),u=i,u}e(f,`requireSnippet`);var p,m;function h(){if(m)return p;m=1;let t=l(),n=[`kind`,`multi`,`resolve`,`construct`,`instanceOf`,`predicate`,`represent`,`representName`,`defaultStyle`,`styleAliases`],r=[`scalar`,`sequence`,`mapping`];function i(e){let t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}e(i,`compileStyleAliases`);function a(e,a){if(a||={},Object.keys(a).forEach(function(r){if(n.indexOf(r)===-1)throw new t(`Unknown option "`+r+`" is met in definition of "`+e+`" YAML type.`)}),this.options=a,this.tag=e,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(e){return e},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.representName=a.representName||null,this.defaultStyle=a.defaultStyle||null,this.multi=a.multi||!1,this.styleAliases=i(a.styleAliases||null),r.indexOf(this.kind)===-1)throw new t(`Unknown kind "`+this.kind+`" is specified for "`+e+`" YAML type.`)}return e(a,`Type2`),p=a,p}e(h,`requireType`);var g,_;function v(){if(_)return g;_=1;let t=l(),n=h();function r(e,t){let n=[];return e[t].forEach(function(e){let 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(r,`compileList`);function i(){let t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function n(e){e.multi?(t.multi[e.kind].push(e),t.multi.fallback.push(e)):t[e.kind][e.tag]=t.fallback[e.tag]=e}e(n,`collectType`);for(let e=0,t=arguments.length;e<t;e+=1)arguments[e].forEach(n);return t}e(i,`compileMap`);function a(e){return this.extend(e)}return e(a,`Schema2`),a.prototype.extend=e(function(e){let o=[],s=[];if(e instanceof n)s.push(e);else if(Array.isArray(e))s=s.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(o=o.concat(e.implicit)),e.explicit&&(s=s.concat(e.explicit));else throw new t(`Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })`);o.forEach(function(e){if(!(e instanceof n))throw new t(`Specified list of YAML types (or a single Type object) contains a non-Type object.`);if(e.loadKind&&e.loadKind!==`scalar`)throw new t(`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 t(`There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.`)}),s.forEach(function(e){if(!(e instanceof n))throw new t(`Specified list of YAML types (or a single Type object) contains a non-Type object.`)});let c=Object.create(a.prototype);return c.implicit=(this.implicit||[]).concat(o),c.explicit=(this.explicit||[]).concat(s),c.compiledImplicit=r(c,`implicit`),c.compiledExplicit=r(c,`explicit`),c.compiledTypeMap=i(c.compiledImplicit,c.compiledExplicit),c},`extend`),g=a,g}e(v,`requireSchema`);var y,b;function x(){return b?y:(b=1,y=new(h())(`tag:yaml.org,2002:str`,{kind:`scalar`,construct:e(function(e){return e===null?``:e},`construct`)}),y)}e(x,`requireStr`);var S,C;function w(){return C?S:(C=1,S=new(h())(`tag:yaml.org,2002:seq`,{kind:`sequence`,construct:e(function(e){return e===null?[]:e},`construct`)}),S)}e(w,`requireSeq`);var T,E;function D(){return E?T:(E=1,T=new(h())(`tag:yaml.org,2002:map`,{kind:`mapping`,construct:e(function(e){return e===null?{}:e},`construct`)}),T)}e(D,`requireMap`);var O,k;function A(){return k?O:(k=1,O=new(v())({explicit:[x(),w(),D()]}),O)}e(A,`requireFailsafe`);var j,M;function N(){if(M)return j;M=1;let t=h();function n(e){if(e===null)return!0;let t=e.length;return t===1&&e===`~`||t===4&&(e===`null`||e===`Null`||e===`NULL`)}e(n,`resolveYamlNull`);function r(){return null}e(r,`constructYamlNull`);function i(e){return e===null}return e(i,`isNull`),j=new t(`tag:yaml.org,2002:null`,{kind:`scalar`,resolve:n,construct:r,predicate:i,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`}),j}e(N,`require_null`);var P,F;function I(){if(F)return P;F=1;let t=h();function n(e){if(e===null)return!1;let t=e.length;return t===4&&(e===`true`||e===`True`||e===`TRUE`)||t===5&&(e===`false`||e===`False`||e===`FALSE`)}e(n,`resolveYamlBoolean`);function r(e){return e===`true`||e===`True`||e===`TRUE`}e(r,`constructYamlBoolean`);function i(e){return Object.prototype.toString.call(e)===`[object Boolean]`}return e(i,`isBoolean`),P=new t(`tag:yaml.org,2002:bool`,{kind:`scalar`,resolve:n,construct:r,predicate:i,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`}),P}e(I,`requireBool`);var L,R;function z(){if(R)return L;R=1;let t=o(),n=h();function r(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}e(r,`isHexCode`);function i(e){return e>=48&&e<=55}e(i,`isOctCode`);function a(e){return e>=48&&e<=57}e(a,`isDecCode`);function s(e){if(e===null)return!1;let t=e.length,n=0,o=!1;if(!t)return!1;let s=e[n];if((s===`-`||s===`+`)&&(s=e[++n]),s===`0`){if(n+1===t)return!0;if(s=e[++n],s===`b`){for(n++;n<t;n++){if(s=e[n],s!==`0`&&s!==`1`)return!1;o=!0}return o&&isFinite(c(e))}if(s===`x`){for(n++;n<t;n++){if(!r(e.charCodeAt(n)))return!1;o=!0}return o&&isFinite(c(e))}if(s===`o`){for(n++;n<t;n++){if(!i(e.charCodeAt(n)))return!1;o=!0}return o&&isFinite(c(e))}}for(;n<t;n++){if(!a(e.charCodeAt(n)))return!1;o=!0}return o?isFinite(c(e)):!1}e(s,`resolveYamlInteger`);function c(e){let t=e,n=1,r=t[0];if((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(c,`parseYamlInteger`);function l(e){return c(e)}e(l,`constructYamlInteger`);function u(e){return Object.prototype.toString.call(e)===`[object Number]`&&e%1==0&&!t.isNegativeZero(e)}return e(u,`isInteger`),L=new n(`tag:yaml.org,2002:int`,{kind:`scalar`,resolve:s,construct:l,predicate:u,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`]}}),L}e(z,`requireInt`);var B,V;function H(){if(V)return B;V=1;let t=o(),n=h(),r=RegExp(`^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`),i=RegExp(`^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function a(e){return e===null||!r.test(e)?!1:isFinite(parseFloat(e,10))?!0:i.test(e)}e(a,`resolveYamlFloat`);function s(e){let t=e.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(s,`constructYamlFloat`);let c=/^[-+]?[0-9]+e/;function l(e,n){if(isNaN(e))switch(n){case`lowercase`:return`.nan`;case`uppercase`:return`.NAN`;case`camelcase`:return`.NaN`}else if(e===1/0)switch(n){case`lowercase`:return`.inf`;case`uppercase`:return`.INF`;case`camelcase`:return`.Inf`}else if(e===-1/0)switch(n){case`lowercase`:return`-.inf`;case`uppercase`:return`-.INF`;case`camelcase`:return`-.Inf`}else if(t.isNegativeZero(e))return`-0.0`;let r=e.toString(10);return c.test(r)?r.replace(`e`,`.e`):r}e(l,`representYamlFloat`);function u(e){return Object.prototype.toString.call(e)===`[object Number]`&&(e%1!=0||t.isNegativeZero(e))}return e(u,`isFloat`),B=new n(`tag:yaml.org,2002:float`,{kind:`scalar`,resolve:a,construct:s,predicate:u,represent:l,defaultStyle:`lowercase`}),B}e(H,`requireFloat`);var U,W;function G(){return W?U:(W=1,U=A().extend({implicit:[N(),I(),z(),H()]}),U)}e(G,`requireJson`);var ee,te;function K(){return te?ee:(te=1,ee=G(),ee)}e(K,`requireCore`);var q,ne;function J(){if(ne)return q;ne=1;let t=h(),n=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$`),r=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 i(e){return e===null?!1:n.exec(e)!==null||r.exec(e)!==null}e(i,`resolveYamlTimestamp`);function a(e){let t=0,i=null,a=n.exec(e);if(a===null&&(a=r.exec(e)),a===null)throw Error(`Date resolve error`);let o=+a[1],s=a[2]-1,c=+a[3];if(!a[4])return new Date(Date.UTC(o,s,c));let l=+a[4],u=+a[5],d=+a[6];if(a[7]){for(t=a[7].slice(0,3);t.length<3;)t+=`0`;t=+t}if(a[9]){let e=+a[10],t=+(a[11]||0);i=(e*60+t)*6e4,a[9]===`-`&&(i=-i)}let f=new Date(Date.UTC(o,s,c,l,u,d,t));return i&&f.setTime(f.getTime()-i),f}e(a,`constructYamlTimestamp`);function o(e){return e.toISOString()}return e(o,`representYamlTimestamp`),q=new t(`tag:yaml.org,2002:timestamp`,{kind:`scalar`,resolve:i,construct:a,instanceOf:Date,represent:o}),q}e(J,`requireTimestamp`);var Y,re;function X(){if(re)return Y;re=1;let t=h();function n(e){return e===`<<`||e===null}return e(n,`resolveYamlMerge`),Y=new t(`tag:yaml.org,2002:merge`,{kind:`scalar`,resolve:n}),Y}e(X,`requireMerge`);var Z,ie;function Q(){if(ie)return Z;ie=1;let t=h();function n(e){if(e===null)return!1;let t=0,n=e.length;for(let r=0;r<n;r++){let n=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
8
+ \r`.indexOf(e.charAt(r));if(!(n>64)){if(n<0)return!1;t+=6}}return t%8==0}e(n,`resolveYamlBinary`);function r(e){let t=e.replace(/[\r\n=]/g,``),n=t.length,r=0,i=[];for(let e=0;e<n;e++)e%4==0&&e&&(i.push(r>>16&255),i.push(r>>8&255),i.push(r&255)),r=r<<6|`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
9
+ \r`.indexOf(t.charAt(e));let a=n%4*6;return a===0?(i.push(r>>16&255),i.push(r>>8&255),i.push(r&255)):a===18?(i.push(r>>10&255),i.push(r>>2&255)):a===12&&i.push(r>>4&255),new Uint8Array(i)}e(r,`constructYamlBinary`);function i(e){let t=``,n=0,r=e.length,i=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
10
+ \r`;for(let a=0;a<r;a++)a%3==0&&a&&(t+=i[n>>18&63],t+=i[n>>12&63],t+=i[n>>6&63],t+=i[n&63]),n=(n<<8)+e[a];let a=r%3;return a===0?(t+=i[n>>18&63],t+=i[n>>12&63],t+=i[n>>6&63],t+=i[n&63]):a===2?(t+=i[n>>10&63],t+=i[n>>4&63],t+=i[n<<2&63],t+=i[64]):a===1&&(t+=i[n>>2&63],t+=i[n<<4&63],t+=i[64],t+=i[64]),t}e(i,`representYamlBinary`);function a(e){return Object.prototype.toString.call(e)===`[object Uint8Array]`}return e(a,`isBinary`),Z=new t(`tag:yaml.org,2002:binary`,{kind:`scalar`,resolve:n,construct:r,predicate:a,represent:i}),Z}e(Q,`requireBinary`);var $,ae;function oe(){if(ae)return $;ae=1;let t=h(),n=Object.prototype.hasOwnProperty,r=Object.prototype.toString;function i(e){if(e===null)return!0;let t=[],i=e;for(let e=0,a=i.length;e<a;e+=1){let a=i[e],o=!1;if(r.call(a)!==`[object Object]`)return!1;let s;for(s in a)if(n.call(a,s)){if(!o)o=!0;else return!1}if(!o)return!1;if(t.indexOf(s)===-1)t.push(s);else return!1}return!0}e(i,`resolveYamlOmap`);function a(e){return e===null?[]:e}return e(a,`constructYamlOmap`),$=new t(`tag:yaml.org,2002:omap`,{kind:`sequence`,resolve:i,construct:a}),$}e(oe,`requireOmap`);var se,ce;function le(){if(ce)return se;ce=1;let t=h(),n=Object.prototype.toString;function r(e){if(e===null)return!0;let t=e,r=Array(t.length);for(let e=0,i=t.length;e<i;e+=1){let i=t[e];if(n.call(i)!==`[object Object]`)return!1;let a=Object.keys(i);if(a.length!==1)return!1;r[e]=[a[0],i[a[0]]]}return!0}e(r,`resolveYamlPairs`);function i(e){if(e===null)return[];let t=e,n=Array(t.length);for(let e=0,r=t.length;e<r;e+=1){let r=t[e],i=Object.keys(r);n[e]=[i[0],r[i[0]]]}return n}return e(i,`constructYamlPairs`),se=new t(`tag:yaml.org,2002:pairs`,{kind:`sequence`,resolve:r,construct:i}),se}e(le,`requirePairs`);var ue,de;function fe(){if(de)return ue;de=1;let t=h(),n=Object.prototype.hasOwnProperty;function r(e){if(e===null)return!0;let t=e;for(let e in t)if(n.call(t,e)&&t[e]!==null)return!1;return!0}e(r,`resolveYamlSet`);function i(e){return e===null?{}:e}return e(i,`constructYamlSet`),ue=new t(`tag:yaml.org,2002:set`,{kind:`mapping`,resolve:r,construct:i}),ue}e(fe,`requireSet`);var pe,me;function he(){return me?pe:(me=1,pe=K().extend({implicit:[J(),X()],explicit:[Q(),oe(),le(),fe()]}),pe)}e(he,`require_default`);var ge;function _e(){if(ge)return r;ge=1;let t=o(),n=l(),i=f(),a=he(),s=Object.prototype.hasOwnProperty,c=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,u=/[\x85\u2028\u2029]/,d=/[,\[\]{}]/,p=/^(?:!|!!|![0-9A-Za-z-]+!)$/,m=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function h(e){return Object.prototype.toString.call(e)}e(h,`_class`);function g(e){return e===10||e===13}e(g,`isEol`);function _(e){return e===9||e===32}e(_,`isWhiteSpace`);function v(e){return e===9||e===32||e===10||e===13}e(v,`isWsOrEol`);function y(e){return e===44||e===91||e===93||e===123||e===125}e(y,`isFlowIndicator`);function b(e){if(e>=48&&e<=57)return e-48;let t=e|32;return t>=97&&t<=102?t-97+10:-1}e(b,`fromHexCode`);function x(e){return e===120?2:e===117?4:e===85?8:0}e(x,`escapedHexLen`);function S(e){return e>=48&&e<=57?e-48:-1}e(S,`fromDecimalCode`);function C(e){switch(e){case 48:return`\0`;case 97:return`\x07`;case 98:return`\b`;case 116:return` `;case 9:return` `;case 110:return`
11
+ `;case 118:return`\v`;case 102:return`\f`;case 114:return`\r`;case 101:return`\x1B`;case 32:return` `;case 34:return`"`;case 47:return`/`;case 92:return`\\`;case 78:return`…`;case 95:return`\xA0`;case 76:return`\u2028`;case 80:return`\u2029`;default:return``}}e(C,`simpleEscapeSequence`);function w(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}e(w,`charFromCodepoint`);function T(e,t,n){t===`__proto__`?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n}e(T,`setProperty`);let E=Array(256),D=Array(256);for(let e=0;e<256;e++)E[e]=+!!C(e),D[e]=C(e);function O(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||a,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.maxDepth=typeof t.maxDepth==`number`?t.maxDepth:100,this.maxTotalMergeKeys=typeof t.maxTotalMergeKeys==`number`?t.maxTotalMergeKeys:1e4,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.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}e(O,`State`);function k(e,t){let r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=i(r),new n(t,r)}e(k,`generateError`);function A(e,t){throw k(e,t)}e(A,`throwError`);function j(e,t){e.onWarning&&e.onWarning.call(null,k(e,t))}e(j,`throwWarning`);function M(e,t,n){let r=e.anchorMapTransactions;if(r.length!==0){let n=r[r.length-1];s.call(n,t)||(n[t]={existed:s.call(e.anchorMap,t),value:e.anchorMap[t]})}e.anchorMap[t]=n}e(M,`storeAnchor`);function N(e){e.anchorMapTransactions.push(Object.create(null))}e(N,`beginAnchorTransaction`);function P(e){let t=e.anchorMapTransactions.pop(),n=e.anchorMapTransactions;if(n.length===0)return;let r=n[n.length-1],i=Object.keys(t);for(let e=0,n=i.length;e<n;e+=1){let n=i[e];s.call(r,n)||(r[n]=t[n])}}e(P,`commitAnchorTransaction`);function F(e){let t=e.anchorMapTransactions.pop(),n=Object.keys(t);for(let r=n.length-1;r>=0;--r){let i=t[n[r]];i.existed?e.anchorMap[n[r]]=i.value:delete e.anchorMap[n[r]]}}e(F,`rollbackAnchorTransaction`);function I(e){return{position:e.position,line:e.line,lineStart:e.lineStart,lineIndent:e.lineIndent,firstTabInLine:e.firstTabInLine,tag:e.tag,anchor:e.anchor,kind:e.kind,result:e.result}}e(I,`snapshotState`);function L(e,t){e.position=t.position,e.line=t.line,e.lineStart=t.lineStart,e.lineIndent=t.lineIndent,e.firstTabInLine=t.firstTabInLine,e.tag=t.tag,e.anchor=t.anchor,e.kind=t.kind,e.result=t.result}e(L,`restoreState`);let R={YAML:e(function(e,t,n){e.version!==null&&A(e,`duplication of %YAML directive`),n.length!==1&&A(e,`YAML directive accepts exactly one argument`);let r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]);r===null&&A(e,`ill-formed argument of the YAML directive`);let i=parseInt(r[1],10),a=parseInt(r[2],10);i!==1&&A(e,`unacceptable YAML version of the document`),e.version=n[0],e.checkLineBreaks=a<2,a!==1&&a!==2&&j(e,`unsupported YAML version of the document`)},`handleYamlDirective`),TAG:e(function(e,t,n){let r;n.length!==2&&A(e,`TAG directive accepts exactly two arguments`);let i=n[0];r=n[1],p.test(i)||A(e,`ill-formed tag handle (first argument) of the TAG directive`),s.call(e.tagMap,i)&&A(e,`there is a previously declared suffix for "`+i+`" tag handle`),m.test(r)||A(e,`ill-formed tag prefix (second argument) of the TAG directive`);try{r=decodeURIComponent(r)}catch{A(e,`tag prefix is malformed: `+r)}e.tagMap[i]=r},`handleTagDirective`)};function z(e,t,n,r){if(t<n){let i=e.input.slice(t,n);if(r)for(let t=0,n=i.length;t<n;t+=1){let n=i.charCodeAt(t);n===9||n>=32&&n<=1114111||A(e,`expected valid JSON character`)}else c.test(i)&&A(e,`the stream contains non-printable characters`);e.result+=i}}e(z,`captureSegment`);function B(e,n,r,i){t.isObject(r)||A(e,`cannot merge mappings; the provided source object is unacceptable`);let a=Object.keys(r);for(let t=0,o=a.length;t<o;t+=1){let o=a[t];e.maxTotalMergeKeys!==-1&&++e.totalMergeKeys>e.maxTotalMergeKeys&&A(e,`merge keys exceeded maxTotalMergeKeys (`+e.maxTotalMergeKeys+`)`),s.call(n,o)||(T(n,o,r[o]),i[o]=!0)}}e(B,`mergeMappings`);function V(e,t,n,r,i,a,o,c,l){if(Array.isArray(i)){i=Array.prototype.slice.call(i);for(let t=0,n=i.length;t<n;t+=1)Array.isArray(i[t])&&A(e,`nested arrays are not supported inside keys`),typeof i==`object`&&h(i[t])===`[object Object]`&&(i[t]=`[object Object]`)}if(typeof i==`object`&&h(i)===`[object Object]`&&(i=`[object Object]`),i=String(i),t===null&&(t={}),r===`tag:yaml.org,2002:merge`){if(Array.isArray(a))for(let r=0,i=a.length;r<i;r+=1)B(e,t,a[r],n);else B(e,t,a,n)}else!e.json&&!s.call(n,i)&&s.call(t,i)&&(e.line=o||e.line,e.lineStart=c||e.lineStart,e.position=l||e.position,A(e,`duplicated mapping key`)),T(t,i,a),delete n[i];return t}e(V,`storeMappingPair`);function H(e){let t=e.input.charCodeAt(e.position);t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):A(e,`a line break is expected`),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}e(H,`readLineBreak`);function U(e,t,n){let r=0,i=e.input.charCodeAt(e.position);for(;i!==0;){for(;_(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(g(i))for(H(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&&j(e,`deficient indentation`),r}e(U,`skipSeparationSpace`);function W(e){let 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||v(n)))}e(W,`testDocumentSeparator`);function G(e,n){n===1?e.result+=` `:n>1&&(e.result+=t.repeat(`
12
+ `,n-1))}e(G,`writeFoldedLines`);function ee(e,t,n){let r,i,a,o,s,c,l=e.kind,u=e.result,d=e.input.charCodeAt(e.position);if(v(d)||y(d)||d===35||d===38||d===42||d===33||d===124||d===62||d===39||d===34||d===37||d===64||d===96)return!1;if(d===63||d===45){let t=e.input.charCodeAt(e.position+1);if(v(t)||n&&y(t))return!1}for(e.kind=`scalar`,e.result=``,r=i=e.position,a=!1;d!==0;){if(d===58){let t=e.input.charCodeAt(e.position+1);if(v(t)||n&&y(t))break}else if(d===35){if(v(e.input.charCodeAt(e.position-1)))break}else if(e.position===e.lineStart&&W(e)||n&&y(d))break;else if(g(d)){if(o=e.line,s=e.lineStart,c=e.lineIndent,U(e,!1,-1),e.lineIndent>=t){a=!0,d=e.input.charCodeAt(e.position);continue}e.position=i,e.line=o,e.lineStart=s,e.lineIndent=c;break}a&&=(z(e,r,i,!1),G(e,e.line-o),r=i=e.position,!1),_(d)||(i=e.position+1),d=e.input.charCodeAt(++e.position)}return z(e,r,i,!1),e.result?!0:(e.kind=l,e.result=u,!1)}e(ee,`readPlainScalar`);function te(e,t){let n,r,i=e.input.charCodeAt(e.position);if(i!==39)return!1;for(e.kind=`scalar`,e.result=``,e.position++,n=r=e.position;(i=e.input.charCodeAt(e.position))!==0;)if(i===39){if(z(e,n,e.position,!0),i=e.input.charCodeAt(++e.position),i===39)n=e.position,e.position++,r=e.position;else return!0}else g(i)?(z(e,n,r,!0),G(e,U(e,!1,t)),n=r=e.position):e.position===e.lineStart&&W(e)?A(e,`unexpected end of the document within a single quoted scalar`):(e.position++,_(i)||(r=e.position));A(e,`unexpected end of the stream within a single quoted scalar`)}e(te,`readSingleQuotedScalar`);function K(e,t){let n,r,i,a=e.input.charCodeAt(e.position);if(a!==34)return!1;for(e.kind=`scalar`,e.result=``,e.position++,n=r=e.position;(a=e.input.charCodeAt(e.position))!==0;)if(a===34)return z(e,n,e.position,!0),e.position++,!0;else if(a===92){if(z(e,n,e.position,!0),a=e.input.charCodeAt(++e.position),g(a))U(e,!1,t);else if(a<256&&E[a])e.result+=D[a],e.position++;else if((i=x(a))>0){let t=i,n=0;for(;t>0;t--)a=e.input.charCodeAt(++e.position),(i=b(a))>=0?n=(n<<4)+i:A(e,`expected hexadecimal character`);e.result+=w(n),e.position++}else A(e,`unknown escape sequence`);n=r=e.position}else g(a)?(z(e,n,r,!0),G(e,U(e,!1,t)),n=r=e.position):e.position===e.lineStart&&W(e)?A(e,`unexpected end of the document within a double quoted scalar`):(e.position++,_(a)||(r=e.position));A(e,`unexpected end of the stream within a double quoted scalar`)}e(K,`readDoubleQuotedScalar`);function q(e,t){let n=!0,r,i,a,o=e.tag,s,c=e.anchor,l,u,d,f,p=Object.create(null),m,h,g,_=e.input.charCodeAt(e.position);if(_===91)l=93,f=!1,s=[];else if(_===123)l=125,f=!0,s={};else return!1;for(e.anchor!==null&&M(e,e.anchor,s),_=e.input.charCodeAt(++e.position);_!==0;){if(U(e,!0,t),_=e.input.charCodeAt(e.position),_===l)return e.position++,e.tag=o,e.anchor=c,e.kind=f?`mapping`:`sequence`,e.result=s,!0;n?_===44&&A(e,`expected the node content, but found ','`):A(e,`missed comma between flow collection entries`),h=m=g=null,u=d=!1,_===63&&v(e.input.charCodeAt(e.position+1))&&(u=d=!0,e.position++,U(e,!0,t)),r=e.line,i=e.lineStart,a=e.position,Q(e,t,1,!1,!0),h=e.tag,m=e.result,U(e,!0,t),_=e.input.charCodeAt(e.position),(d||e.line===r)&&_===58&&(u=!0,_=e.input.charCodeAt(++e.position),U(e,!0,t),Q(e,t,1,!1,!0),g=e.result),f?V(e,s,p,h,m,g,r,i,a):u?s.push(V(e,null,p,h,m,g,r,i,a)):s.push(m),U(e,!0,t),_=e.input.charCodeAt(e.position),_===44?(n=!0,_=e.input.charCodeAt(++e.position)):n=!1}A(e,`unexpected end of the stream within a flow collection`)}e(q,`readFlowCollection`);function ne(e,n){let r,i=1,a=!1,o=!1,s=n,c=0,l=!1,u,d=e.input.charCodeAt(e.position);if(d===124)r=!1;else if(d===62)r=!0;else return!1;for(e.kind=`scalar`,e.result=``;d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)i===1?i=d===43?3:2:A(e,`repeat of a chomping mode identifier`);else if((u=S(d))>=0)u===0?A(e,`bad explicit indentation width of a block scalar; it cannot be less than one`):o?A(e,`repeat of an indentation width identifier`):(s=n+u-1,o=!0);else break;if(_(d)){do d=e.input.charCodeAt(++e.position);while(_(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!g(d)&&d!==0)}for(;d!==0;){for(H(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!o||e.lineIndent<s)&&d===32;)e.lineIndent++,d=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>s&&(s=e.lineIndent),g(d)){c++;continue}if(!o&&s===0&&A(e,`missing indentation for block scalar`),e.lineIndent<s){i===3?e.result+=t.repeat(`
13
+ `,a?1+c:c):i===1&&a&&(e.result+=`
14
+ `);break}r?_(d)?(l=!0,e.result+=t.repeat(`
15
+ `,a?1+c:c)):l?(l=!1,e.result+=t.repeat(`
16
+ `,c+1)):c===0?a&&(e.result+=` `):e.result+=t.repeat(`
17
+ `,c):e.result+=t.repeat(`
18
+ `,a?1+c:c),a=!0,o=!0,c=0;let n=e.position;for(;!g(d)&&d!==0;)d=e.input.charCodeAt(++e.position);z(e,n,e.position,!1)}return!0}e(ne,`readBlockScalar`);function J(e,t){let n=e.tag,r=e.anchor,i=[],a=!1;if(e.firstTabInLine!==-1)return!1;e.anchor!==null&&M(e,e.anchor,i);let o=e.input.charCodeAt(e.position);for(;o!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,A(e,`tab characters must not be used in indentation`)),!(o!==45||!v(e.input.charCodeAt(e.position+1))));){if(a=!0,e.position++,U(e,!0,-1)&&e.lineIndent<=t){i.push(null),o=e.input.charCodeAt(e.position);continue}let n=e.line;if(Q(e,t,3,!1,!0),i.push(e.result),U(e,!0,-1),o=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&o!==0)A(e,`bad indentation of a sequence entry`);else if(e.lineIndent<t)break}return a?(e.tag=n,e.anchor=r,e.kind=`sequence`,e.result=i,!0):!1}e(J,`readBlockSequence`);function Y(e,t,n){let r,i,a,o,s=e.tag,c=e.anchor,l={},u=Object.create(null),d=null,f=null,p=null,m=!1,h=!1;if(e.firstTabInLine!==-1)return!1;e.anchor!==null&&M(e,e.anchor,l);let g=e.input.charCodeAt(e.position);for(;g!==0;){!m&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,A(e,`tab characters must not be used in indentation`));let y=e.input.charCodeAt(e.position+1),b=e.line;if((g===63||g===58)&&v(y))g===63?(m&&(V(e,l,u,d,f,null,i,a,o),d=f=p=null),h=!0,m=!0,r=!0):m?(m=!1,r=!0):A(e,`incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line`),e.position+=1,g=y;else{if(i=e.line,a=e.lineStart,o=e.position,!Q(e,n,2,!1,!0))break;if(e.line===b){for(g=e.input.charCodeAt(e.position);_(g);)g=e.input.charCodeAt(++e.position);if(g===58)g=e.input.charCodeAt(++e.position),v(g)||A(e,`a whitespace character is expected after the key-value separator within a block mapping`),m&&(V(e,l,u,d,f,null,i,a,o),d=f=p=null),h=!0,m=!1,r=!1,d=e.tag,f=e.result;else if(h)A(e,`can not read an implicit mapping pair; a colon is missed`);else return e.tag=s,e.anchor=c,!0}else if(h)A(e,`can not read a block mapping entry; a multiline key may not be an implicit key`);else return e.tag=s,e.anchor=c,!0}if((e.line===b||e.lineIndent>t)&&(m&&(i=e.line,a=e.lineStart,o=e.position),Q(e,t,4,!0,r)&&(m?f=e.result:p=e.result),m||(V(e,l,u,d,f,p,i,a,o),d=f=p=null),U(e,!0,-1),g=e.input.charCodeAt(e.position)),(e.line===b||e.lineIndent>t)&&g!==0)A(e,`bad indentation of a mapping entry`);else if(e.lineIndent<t)break}return m&&V(e,l,u,d,f,null,i,a,o),h&&(e.tag=s,e.anchor=c,e.kind=`mapping`,e.result=l),h}e(Y,`readBlockMapping`);function re(e){let t=!1,n=!1,r,i,a=e.input.charCodeAt(e.position);if(a!==33)return!1;e.tag!==null&&A(e,`duplication of a tag property`),a=e.input.charCodeAt(++e.position),a===60?(t=!0,a=e.input.charCodeAt(++e.position)):a===33?(n=!0,r=`!!`,a=e.input.charCodeAt(++e.position)):r=`!`;let o=e.position;if(t){do a=e.input.charCodeAt(++e.position);while(a!==0&&a!==62);e.position<e.length?(i=e.input.slice(o,e.position),a=e.input.charCodeAt(++e.position)):A(e,`unexpected end of the stream within a verbatim tag`)}else{for(;a!==0&&!v(a);)a===33&&(n?A(e,`tag suffix cannot contain exclamation marks`):(r=e.input.slice(o-1,e.position+1),p.test(r)||A(e,`named tag handle cannot contain such characters`),n=!0,o=e.position+1)),a=e.input.charCodeAt(++e.position);i=e.input.slice(o,e.position),d.test(i)&&A(e,`tag suffix cannot contain flow indicator characters`)}i&&!m.test(i)&&A(e,`tag name cannot contain such characters: `+i);try{i=decodeURIComponent(i)}catch{A(e,`tag name is malformed: `+i)}return t?e.tag=i:s.call(e.tagMap,r)?e.tag=e.tagMap[r]+i:r===`!`?e.tag=`!`+i:r===`!!`?e.tag=`tag:yaml.org,2002:`+i:A(e,`undeclared tag handle "`+r+`"`),!0}e(re,`readTagProperty`);function X(e){let t=e.input.charCodeAt(e.position);if(t!==38)return!1;e.anchor!==null&&A(e,`duplication of an anchor property`),t=e.input.charCodeAt(++e.position);let n=e.position;for(;t!==0&&!v(t)&&!y(t);)t=e.input.charCodeAt(++e.position);return e.position===n&&A(e,`name of an anchor node must contain at least one character`),e.anchor=e.input.slice(n,e.position),!0}e(X,`readAnchorProperty`);function Z(e){let t=e.input.charCodeAt(e.position);if(t!==42)return!1;t=e.input.charCodeAt(++e.position);let n=e.position;for(;t!==0&&!v(t)&&!y(t);)t=e.input.charCodeAt(++e.position);e.position===n&&A(e,`name of an alias node must contain at least one character`);let r=e.input.slice(n,e.position);return s.call(e.anchorMap,r)||A(e,`unidentified alias "`+r+`"`),e.result=e.anchorMap[r],U(e,!0,-1),!0}e(Z,`readAlias`);function ie(e,t,n,r){let i=I(e);return N(e),L(e,t),e.tag=null,e.anchor=null,e.kind=null,e.result=null,Y(e,n,r)&&e.kind===`mapping`?(P(e),!0):(F(e),L(e,i),!1)}e(ie,`tryReadBlockMappingFromProperty`);function Q(e,t,n,r,i){let a,o,c=1,l=!1,u=!1,d=null,f,p,m;e.depth>=e.maxDepth&&A(e,`nesting exceeded maxDepth (`+e.maxDepth+`)`),e.depth+=1,e.listener!==null&&e.listener(`open`,e),e.tag=null,e.anchor=null,e.kind=null,e.result=null;let h=a=o=n===4||n===3;if(r&&U(e,!0,-1)&&(l=!0,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)),c===1)for(;;){let n=e.input.charCodeAt(e.position),r=I(e);if(l&&(n===33&&e.tag!==null||n===38&&e.anchor!==null)||!re(e)&&!X(e))break;d===null&&(d=r),U(e,!0,-1)?(l=!0,o=h,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)):o=!1}if(o&&=l||i,c===1||n===4){if(p=n===1||n===2?t:t+1,m=e.position-e.lineStart,c===1){if(o&&(J(e,m)||Y(e,m,p))||q(e,p))u=!0;else{let t=e.input.charCodeAt(e.position);d!==null&&h&&!o&&t!==124&&t!==62&&ie(e,d,d.position-d.lineStart,p)||a&&ne(e,p)||te(e,p)||K(e,p)?u=!0:Z(e)?(u=!0,(e.tag!==null||e.anchor!==null)&&A(e,`alias node should not have any properties`)):ee(e,p,n===1)&&(u=!0,e.tag===null&&(e.tag=`?`)),e.anchor!==null&&M(e,e.anchor,e.result)}}else c===0&&(u=o&&J(e,m))}if(e.tag===null)e.anchor!==null&&M(e,e.anchor,e.result);else if(e.tag===`?`){e.result!==null&&e.kind!==`scalar`&&A(e,`unacceptable node kind for !<?> tag; it should be "scalar", not "`+e.kind+`"`);for(let t=0,n=e.implicitTypes.length;t<n;t+=1)if(f=e.implicitTypes[t],f.resolve(e.result)){e.result=f.construct(e.result),e.tag=f.tag,e.anchor!==null&&M(e,e.anchor,e.result);break}}else if(e.tag!==`!`){if(s.call(e.typeMap[e.kind||`fallback`],e.tag))f=e.typeMap[e.kind||`fallback`][e.tag];else{f=null;let t=e.typeMap.multi[e.kind||`fallback`];for(let n=0,r=t.length;n<r;n+=1)if(e.tag.slice(0,t[n].tag.length)===t[n].tag){f=t[n];break}}f||A(e,`unknown tag !<`+e.tag+`>`),e.result!==null&&f.kind!==e.kind&&A(e,`unacceptable node kind for !<`+e.tag+`> tag; it should be "`+f.kind+`", not "`+e.kind+`"`),f.resolve(e.result,e.tag)?(e.result=f.construct(e.result,e.tag),e.anchor!==null&&M(e,e.anchor,e.result)):A(e,`cannot resolve a node with !<`+e.tag+`> explicit tag`)}return e.listener!==null&&e.listener(`close`,e),--e.depth,e.tag!==null||e.anchor!==null||u}e(Q,`composeNode`);function $(e){let t=e.position,n=!1,r;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(r=e.input.charCodeAt(e.position))!==0&&(U(e,!0,-1),r=e.input.charCodeAt(e.position),!(e.lineIndent>0||r!==37));){n=!0,r=e.input.charCodeAt(++e.position);let t=e.position;for(;r!==0&&!v(r);)r=e.input.charCodeAt(++e.position);let i=e.input.slice(t,e.position),a=[];for(i.length<1&&A(e,`directive name must not be less than one character in length`);r!==0;){for(;_(r);)r=e.input.charCodeAt(++e.position);if(r===35){do r=e.input.charCodeAt(++e.position);while(r!==0&&!g(r));break}if(g(r))break;for(t=e.position;r!==0&&!v(r);)r=e.input.charCodeAt(++e.position);a.push(e.input.slice(t,e.position))}r!==0&&H(e),s.call(R,i)?R[i](e,i,a):j(e,`unknown document directive "`+i+`"`)}if(U(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,U(e,!0,-1)):n&&A(e,`directives end mark is expected`),Q(e,e.lineIndent-1,4,!1,!0),U(e,!0,-1),e.checkLineBreaks&&u.test(e.input.slice(t,e.position))&&j(e,`non-ASCII line breaks are interpreted as content`),e.documents.push(e.result),e.position===e.lineStart&&W(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,U(e,!0,-1));return}e.position<e.length-1&&A(e,`end of the stream or a document separator is expected`)}e($,`readDocument`);function ae(e,t){e=String(e),t||={},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
19
+ `),e.charCodeAt(0)===65279&&(e=e.slice(1)));let n=new O(e,t),r=e.indexOf(`\0`);for(r!==-1&&(n.position=r,A(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;)$(n);return n.documents}e(ae,`loadDocuments`);function oe(e,t,n){typeof t==`object`&&t&&n===void 0&&(n=t,t=null);let r=ae(e,n);if(typeof t!=`function`)return r;for(let e=0,n=r.length;e<n;e+=1)t(r[e])}e(oe,`loadAll2`);function se(e,t){let r=ae(e,t);if(r.length!==0){if(r.length===1)return r[0];throw new n(`expected a single document in the stream, but found more`)}}return e(se,`load2`),r.loadAll=oe,r.load=se,r}e(_e,`requireLoader`);var ve={},ye;function be(){if(ye)return ve;ye=1;let t=o(),n=l(),r=he(),i=Object.prototype.toString,a=Object.prototype.hasOwnProperty,s=65279,c={};c[0]=`\\0`,c[7]=`\\a`,c[8]=`\\b`,c[9]=`\\t`,c[10]=`\\n`,c[11]=`\\v`,c[12]=`\\f`,c[13]=`\\r`,c[27]=`\\e`,c[34]=`\\"`,c[92]=`\\\\`,c[133]=`\\N`,c[160]=`\\_`,c[8232]=`\\L`,c[8233]=`\\P`;let u=[`y`,`Y`,`yes`,`Yes`,`YES`,`on`,`On`,`ON`,`n`,`N`,`no`,`No`,`NO`,`off`,`Off`,`OFF`],d=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function f(e,t){if(t===null)return{};let n={},r=Object.keys(t);for(let i=0,o=r.length;i<o;i+=1){let o=r[i],s=String(t[o]);o.slice(0,2)===`!!`&&(o=`tag:yaml.org,2002:`+o.slice(2));let c=e.compiledTypeMap.fallback[o];c&&a.call(c.styleAliases,s)&&(s=c.styleAliases[s]),n[o]=s}return n}e(f,`compileStyleMap`);function p(e){let r,i,a=e.toString(16).toUpperCase();if(e<=255)r=`x`,i=2;else if(e<=65535)r=`u`,i=4;else if(e<=4294967295)r=`U`,i=8;else throw new n(`code point within a string may not be greater than 0xFFFFFFFF`);return`\\`+r+t.repeat(`0`,i-a.length)+a}e(p,`encodeHex`);function m(e){this.schema=e.schema||r,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=t.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=f(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===`"`?2:1,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(m,`State`);function h(e,n){let r=t.repeat(` `,n),i=0,a=``,o=e.length;for(;i<o;){let t,n=e.indexOf(`
20
+ `,i);n===-1?(t=e.slice(i),i=o):(t=e.slice(i,n+1),i=n+1),t.length&&t!==`
21
+ `&&(a+=r),a+=t}return a}e(h,`indentString`);function g(e,n){return`
22
+ `+t.repeat(` `,e.indent*n)}e(g,`generateNextLine`);function _(e,t){for(let n=0,r=e.implicitTypes.length;n<r;n+=1)if(e.implicitTypes[n].resolve(t))return!0;return!1}e(_,`testImplicitResolving`);function v(e){return e===32||e===9}e(v,`isWhitespace`);function y(e){return e>=32&&e<=126||e>=161&&e<=55295&&e!==8232&&e!==8233||e>=57344&&e<=65533&&e!==s||e>=65536&&e<=1114111}e(y,`isPrintable`);function b(e){return y(e)&&e!==s&&e!==13&&e!==10}e(b,`isNsCharOrWhitespace`);function x(e,t,n){let r=b(e),i=r&&!v(e);return(n?r:r&&e!==44&&e!==91&&e!==93&&e!==123&&e!==125)&&e!==35&&!(t===58&&!i)||b(t)&&!v(t)&&e===35||t===58&&i}e(x,`isPlainSafe`);function S(e){return y(e)&&e!==s&&!v(e)&&e!==45&&e!==63&&e!==58&&e!==44&&e!==91&&e!==93&&e!==123&&e!==125&&e!==35&&e!==38&&e!==42&&e!==33&&e!==124&&e!==61&&e!==62&&e!==39&&e!==34&&e!==37&&e!==64&&e!==96}e(S,`isPlainSafeFirst`);function C(e){return!v(e)&&e!==58}e(C,`isPlainSafeLast`);function w(e,t){let 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(w,`codePointAt`);function T(e){return/^\n* /.test(e)}e(T,`needIndentIndicator`);function E(e,t,n,r,i,a,o,s){let c,l=0,u=null,d=!1,f=!1,p=r!==-1,m=-1,h=S(w(e,0))&&C(w(e,e.length-1));if(t||o)for(c=0;c<e.length;l>=65536?c+=2:c++){if(l=w(e,c),!y(l))return 5;h&&=x(l,u,s),u=l}else{for(c=0;c<e.length;l>=65536?c+=2:c++){if(l=w(e,c),l===10)d=!0,p&&(f||=c-m-1>r&&e[m+1]!==` `,m=c);else if(!y(l))return 5;h&&=x(l,u,s),u=l}f||=p&&c-m-1>r&&e[m+1]!==` `}return!d&&!f?h&&!o&&!i(e)?1:a===2?5:2:n>9&&T(e)?5:o?a===2?5:2:f?4:3}e(E,`chooseScalarStyle`);function D(t,r,i,a,o){t.dump=(function(){if(r.length===0)return t.quotingType===2?`""`:`''`;if(!t.noCompatMode&&(u.indexOf(r)!==-1||d.test(r)))return t.quotingType===2?`"`+r+`"`:`'`+r+`'`;let s=t.indent*Math.max(1,i),c=t.lineWidth===-1?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-s),l=a||t.flowLevel>-1&&i>=t.flowLevel;function f(e){return _(t,e)}switch(e(f,`testAmbiguity`),E(r,l,t.indent,c,f,t.quotingType,t.forceQuotes&&!a,o)){case 1:return r;case 2:return`'`+r.replace(/'/g,`''`)+`'`;case 3:return`|`+O(r,t.indent)+k(h(r,s));case 4:return`>`+O(r,t.indent)+k(h(A(r,c),s));case 5:return`"`+M(r)+`"`;default:throw new n(`impossible error: invalid scalar style`)}})()}e(D,`writeScalar`);function O(e,t){let n=T(e)?String(t):``,r=e[e.length-1]===`
23
+ `;return n+(r&&(e[e.length-2]===`
24
+ `||e===`
25
+ `)?`+`:r?``:`-`)+`
26
+ `}e(O,`blockHeader`);function k(e){return e[e.length-1]===`
27
+ `?e.slice(0,-1):e}e(k,`dropEndingNewline`);function A(e,t){let n=/(\n+)([^\n]*)/g,r=(function(){let r=e.indexOf(`
28
+ `);return r=r===-1?e.length:r,n.lastIndex=r,j(e.slice(0,r),t)})(),i=e[0]===`
29
+ `||e[0]===` `,a,o;for(;o=n.exec(e);){let e=o[1],n=o[2];a=n[0]===` `,r+=e+(!i&&!a&&n!==``?`
30
+ `:``)+j(n,t),i=a}return r}e(A,`foldString`);function j(e,t){if(e===``||e[0]===` `)return e;let n=/ [^ ]/g,r,i=0,a,o=0,s=0,c=``;for(;r=n.exec(e);)s=r.index,s-i>t&&(a=o>i?o:s,c+=`
31
+ `+e.slice(i,a),i=a+1),o=s;return c+=`
32
+ `,e.length-i>t&&o>i?c+=e.slice(i,o)+`
33
+ `+e.slice(o+1):c+=e.slice(i),c.slice(1)}e(j,`foldLine`);function M(e){let t=``,n=0;for(let r=0;r<e.length;n>=65536?r+=2:r++){n=w(e,r);let i=c[n];!i&&y(n)?(t+=e[r],n>=65536&&(t+=e[r+1])):t+=i||p(n)}return t}e(M,`escapeString`);function N(e,t,n){let r=``,i=e.tag;for(let i=0,a=n.length;i<a;i+=1){let a=n[i];e.replacer&&(a=e.replacer.call(n,String(i),a)),(R(e,t,a,!1,!1)||a===void 0&&R(e,t,null,!1,!1))&&(r!==``&&(r+=`,`+(e.condenseFlow?``:` `)),r+=e.dump)}e.tag=i,e.dump=`[`+r+`]`}e(N,`writeFlowSequence`);function P(e,t,n,r){let i=``,a=e.tag;for(let a=0,o=n.length;a<o;a+=1){let o=n[a];e.replacer&&(o=e.replacer.call(n,String(a),o)),(R(e,t+1,o,!0,!0,!1,!0)||o===void 0&&R(e,t+1,null,!0,!0,!1,!0))&&((!r||i!==``)&&(i+=g(e,t)),e.dump&&e.dump.charCodeAt(0)===10?i+=`-`:i+=`- `,i+=e.dump)}e.tag=a,e.dump=i||`[]`}e(P,`writeBlockSequence`);function F(e,t,n){let r=``,i=e.tag,a=Object.keys(n);for(let i=0,o=a.length;i<o;i+=1){let o=``;r!==``&&(o+=`, `),e.condenseFlow&&(o+=`"`);let s=a[i],c=n[s];e.replacer&&(c=e.replacer.call(n,s,c)),R(e,t,s,!1,!1)&&(e.dump.length>1024&&(o+=`? `),o+=e.dump+(e.condenseFlow?`"`:``)+`:`+(e.condenseFlow?``:` `),R(e,t,c,!1,!1)&&(o+=e.dump,r+=o))}e.tag=i,e.dump=`{`+r+`}`}e(F,`writeFlowMapping`);function I(e,t,r,i){let a=``,o=e.tag,s=Object.keys(r);if(e.sortKeys===!0)s.sort();else if(typeof e.sortKeys==`function`)s.sort(e.sortKeys);else if(e.sortKeys)throw new n(`sortKeys must be a boolean or a function`);for(let n=0,o=s.length;n<o;n+=1){let o=``;(!i||a!==``)&&(o+=g(e,t));let c=s[n],l=r[c];if(e.replacer&&(l=e.replacer.call(r,c,l)),!R(e,t+1,c,!0,!0,!0))continue;let u=e.tag!==null&&e.tag!==`?`||e.dump&&e.dump.length>1024;u&&(e.dump&&e.dump.charCodeAt(0)===10?o+=`?`:o+=`? `),o+=e.dump,u&&(o+=g(e,t)),R(e,t+1,l,!0,u)&&(e.dump&&e.dump.charCodeAt(0)===10?o+=`:`:o+=`: `,o+=e.dump,a+=o)}e.tag=o,e.dump=a||`{}`}e(I,`writeBlockMapping`);function L(e,t,r){let o=r?e.explicitTypes:e.implicitTypes;for(let s=0,c=o.length;s<c;s+=1){let c=o[s];if((c.instanceOf||c.predicate)&&(!c.instanceOf||typeof t==`object`&&t instanceof c.instanceOf)&&(!c.predicate||c.predicate(t))){if(e.tag=r?c.multi&&c.representName?c.representName(t):c.tag:`?`,c.represent){let r=e.styleMap[c.tag]||c.defaultStyle,o;if(i.call(c.represent)===`[object Function]`)o=c.represent(t,r);else if(a.call(c.represent,r))o=c.represent[r](t,r);else throw new n(`!<`+c.tag+`> tag resolver accepts not "`+r+`" style`);e.dump=o}return!0}}return!1}e(L,`detectType`);function R(e,t,r,a,o,s,c){e.tag=null,e.dump=r,L(e,r,!1)||L(e,r,!0);let l=i.call(e.dump),u=a;a&&=e.flowLevel<0||e.flowLevel>t;let d=l===`[object Object]`||l===`[object Array]`,f,p;if(d&&(f=e.duplicates.indexOf(r),p=f!==-1),(e.tag!==null&&e.tag!==`?`||p||e.indent!==2&&t>0)&&(o=!1),p&&e.usedDuplicates[f])e.dump=`*ref_`+f;else{if(d&&p&&!e.usedDuplicates[f]&&(e.usedDuplicates[f]=!0),l===`[object Object]`)a&&Object.keys(e.dump).length!==0?(I(e,t,e.dump,o),p&&(e.dump=`&ref_`+f+e.dump)):(F(e,t,e.dump),p&&(e.dump=`&ref_`+f+` `+e.dump));else if(l===`[object Array]`)a&&e.dump.length!==0?(e.noArrayIndent&&!c&&t>0?P(e,t-1,e.dump,o):P(e,t,e.dump,o),p&&(e.dump=`&ref_`+f+e.dump)):(N(e,t,e.dump),p&&(e.dump=`&ref_`+f+` `+e.dump));else if(l===`[object String]`)e.tag!==`?`&&D(e,e.dump,t,s,u);else if(l===`[object Undefined]`)return!1;else{if(e.skipInvalid)return!1;throw new n(`unacceptable kind of an object to dump `+l)}if(e.tag!==null&&e.tag!==`?`){let t=encodeURI(e.tag[0]===`!`?e.tag.slice(1):e.tag).replace(/!/g,`%21`);t=e.tag[0]===`!`?`!`+t:t.slice(0,18)===`tag:yaml.org,2002:`?`!!`+t.slice(18):`!<`+t+`>`,e.dump=t+` `+e.dump}}return!0}e(R,`writeNode`);function z(e,t){let n=[],r=[];B(e,n,r);let i=r.length;for(let e=0;e<i;e+=1)t.duplicates.push(n[r[e]]);t.usedDuplicates=Array(i)}e(z,`getDuplicateReferences`);function B(e,t,n){if(typeof e==`object`&&e){let r=t.indexOf(e);if(r!==-1)n.indexOf(r)===-1&&n.push(r);else if(t.push(e),Array.isArray(e))for(let r=0,i=e.length;r<i;r+=1)B(e[r],t,n);else{let r=Object.keys(e);for(let i=0,a=r.length;i<a;i+=1)B(e[r[i]],t,n)}}}e(B,`inspectNode`);function V(e,t){t||={};let n=new m(t);n.noRefs||z(e,n);let r=e;return n.replacer&&(r=n.replacer.call({"":r},``,r)),R(n,0,r,!0,!0)?n.dump+`
34
+ `:``}return e(V,`dump2`),ve.dump=V,ve}e(be,`requireDumper`);var xe;function Se(){if(xe)return n;xe=1;let t=_e(),r=be();function i(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.`)}}return e(i,`renamed`),n.Type=h(),n.Schema=v(),n.FAILSAFE_SCHEMA=A(),n.JSON_SCHEMA=G(),n.CORE_SCHEMA=K(),n.DEFAULT_SCHEMA=he(),n.load=t.load,n.loadAll=t.loadAll,n.dump=r.dump,n.YAMLException=l(),n.types={binary:Q(),float:H(),map:D(),null:N(),pairs:le(),set:fe(),timestamp:J(),bool:I(),int:z(),merge:X(),omap:oe(),seq:w(),str:x()},n.safeLoad=i(`safeLoad`,`load`),n.safeLoadAll=i(`safeLoadAll`,`loadAll`),n.safeDump=i(`safeDump`,`dump`),n}e(Se,`requireJsYaml`);var{Type:Ce,Schema:we,FAILSAFE_SCHEMA:Te,JSON_SCHEMA:Ee,CORE_SCHEMA:De,DEFAULT_SCHEMA:Oe,load:ke,loadAll:Ae,dump:je,YAMLException:Me,types:Ne,safeLoad:Pe,safeLoadAll:Fe,safeDump:Ie}=t(Se());export{ke as n,Ee as t};
@@ -1,7 +1,7 @@
1
- import{_ as e,a as t,i as n,n as r,o as i,p as a,r as o,t as s,u as c,v as l,x as u}from"./step-CriubqJO.js";import{K as d,g as f,q as p,u as m}from"./chunk-75Z2AOVW-BGGJQUsr.js";import{u as h}from"./src-BpnPuKEN.js";import{n as g}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as _}from"./src-Cyu5G-Tr.js";import{T as v,b as y,x as b}from"./chunk-DU6HZSFF-BbUeHz2R.js";import{i as x,n as S}from"./chunk-P2QGCYS3-C7JwFzl3.js";import{n as ee,r as C}from"./chunk-GMAD6QVW-De3yHY5A.js";import{t as te}from"./rough.esm-Dy-Kn_BL.js";import{t as w}from"./chunk-4HAMMTFA-BskE_kxl.js";import{n as T}from"./chunk-GVQU2GXP-CKFdw6Un.js";var E=g((e,t)=>{if(t)return`translate(`+-e.width/2+`, `+-e.height/2+`)`;let n=e.x??0,r=e.y??0;return`translate(`+-(n+e.width/2)+`, `+-(r+e.height/2)+`)`},`computeLabelTransform`),D={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},O={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function k(e,t){if(e===void 0||t===void 0)return{angle:0,deltaX:0,deltaY:0};e=A(e),t=A(t);let[n,r]=[e.x,e.y],[i,a]=[t.x,t.y],o=i-n,s=a-r;return{angle:Math.atan(s/o),deltaX:o,deltaY:s}}g(k,`calculateDeltaAndAngle`);var A=g(e=>Array.isArray(e)?{x:e[0],y:e[1]}:e,`pointTransformer`),ne=g(e=>({x:g(function(t,n,r){let i=0,a=A(r[0]).x<A(r[r.length-1]).x?`left`:`right`;if(n===0&&Object.hasOwn(D,e.arrowTypeStart)){let{angle:t,deltaX:n}=k(r[0],r[1]);i=D[e.arrowTypeStart]*Math.cos(t)*(n>=0?1:-1)}else if(n===r.length-1&&Object.hasOwn(D,e.arrowTypeEnd)){let{angle:t,deltaX:n}=k(r[r.length-1],r[r.length-2]);i=D[e.arrowTypeEnd]*Math.cos(t)*(n>=0?1:-1)}let o=Math.abs(A(t).x-A(r[r.length-1]).x),s=Math.abs(A(t).y-A(r[r.length-1]).y),c=Math.abs(A(t).x-A(r[0]).x),l=Math.abs(A(t).y-A(r[0]).y),u=D[e.arrowTypeStart],d=D[e.arrowTypeEnd];if(o<d&&o>0&&s<d){let e=d+1-o;e*=a===`right`?-1:1,i-=e}if(c<u&&c>0&&l<u){let e=u+1-c;e*=a===`right`?-1:1,i+=e}return A(t).x+i},`x`),y:g(function(t,n,r){let i=0,a=A(r[0]).y<A(r[r.length-1]).y?`down`:`up`;if(n===0&&Object.hasOwn(D,e.arrowTypeStart)){let{angle:t,deltaY:n}=k(r[0],r[1]);i=D[e.arrowTypeStart]*Math.abs(Math.sin(t))*(n>=0?1:-1)}else if(n===r.length-1&&Object.hasOwn(D,e.arrowTypeEnd)){let{angle:t,deltaY:n}=k(r[r.length-1],r[r.length-2]);i=D[e.arrowTypeEnd]*Math.abs(Math.sin(t))*(n>=0?1:-1)}let o=Math.abs(A(t).y-A(r[r.length-1]).y),s=Math.abs(A(t).x-A(r[r.length-1]).x),c=Math.abs(A(t).y-A(r[0]).y),l=Math.abs(A(t).x-A(r[0]).x),u=D[e.arrowTypeStart],d=D[e.arrowTypeEnd];if(o<d&&o>0&&s<d){let e=d+1-o;e*=a===`up`?-1:1,i-=e}if(c<u&&c>0&&l<u){let e=u+1-c;e*=a===`up`?-1:1,i+=e}return A(t).y+i},`y`)}),`getLineFunctionsWithOffset`),re=g((e,t,n,r,i,a=!1,o)=>{t.arrowTypeStart&&N(e,`start`,t.arrowTypeStart,n,r,i,a,o),t.arrowTypeEnd&&N(e,`end`,t.arrowTypeEnd,n,r,i,a,o)},`addEdgeMarkers`),j={arrow_cross:{type:`cross`,fill:!1},arrow_point:{type:`point`,fill:!0},arrow_barb:{type:`barb`,fill:!0},arrow_barb_neo:{type:`barb`,fill:!0},arrow_circle:{type:`circle`,fill:!1},aggregation:{type:`aggregation`,fill:!1},extension:{type:`extension`,fill:!1},composition:{type:`composition`,fill:!0},dependency:{type:`dependency`,fill:!0},lollipop:{type:`lollipop`,fill:!1},only_one:{type:`onlyOne`,fill:!1},zero_or_one:{type:`zeroOrOne`,fill:!1},one_or_more:{type:`oneOrMore`,fill:!1},zero_or_more:{type:`zeroOrMore`,fill:!1},requirement_arrow:{type:`requirement_arrow`,fill:!1},requirement_contains:{type:`requirement_contains`,fill:!1}},M=[`cross`,`point`,`circle`,`lollipop`,`aggregation`,`extension`,`composition`,`dependency`,`barb`],N=g((e,t,n,r,i,a,o=!1,s)=>{if(!n||n===`none`)return;let c=j[n],l=c&&M.includes(c.type);if(!c){_.warn(`Unknown arrow type: ${n}`);return}let u=`${i}_${a}-${c.type}${t===`start`?`Start`:`End`}${o&&l?`-margin`:``}`;if(s&&s.trim()!==``){let n=`${u}_${s.replace(/[^\dA-Za-z]/g,`_`)}`;if(!document.getElementById(n)){let e=document.getElementById(u);if(e){let t=e.cloneNode(!0);t.id=n,t.querySelectorAll(`path, circle, line`).forEach(e=>{e.setAttribute(`stroke`,s),c.fill&&e.setAttribute(`fill`,s)}),e.parentNode?.appendChild(t)}}e.attr(`marker-${t}`,`url(${r}#${n})`)}else e.attr(`marker-${t}`,`url(${r}#${u})`)},`addEdgeMarker`),ie=g(e=>typeof e==`string`?e:b()?.flowchart?.curve,`resolveEdgeCurveType`),P=new Map,F=new Map,I=g(()=>{P.clear(),F.clear()},`clear`),L=g(e=>!!(e.label||e.startLabelLeft||e.startLabelRight||e.endLabelLeft||e.endLabelRight),`hasEdgeLabel`),R=g(e=>e?typeof e==`string`?e:e.reduce((e,t)=>e+`;`+t,``):``,`getLabelStyles`),z=g(async(e,t)=>{let n=b(),r=v(n),{labelStyles:i}=x(t);t.labelStyle=i;let a=e.insert(`g`).attr(`class`,`edgeLabel`),o=a.insert(`g`).attr(`class`,`label`).attr(`data-id`,t.id),s=t.labelType===`markdown`,c=await ee(e,t.label,{style:R(t.labelStyle),useHtmlLabels:r,addSvgBackground:!0,isNode:!1,markdown:s,width:void 0},n);o.node().appendChild(c),_.info(`abc82`,t,t.labelType);let l,u;if(r){let e=c.children[0],t=h(c);l=await C.measure(()=>e.getBoundingClientRect()),u=l,t.attr(`width`,l.width),t.attr(`height`,l.height)}else{let e=h(c).select(`text`).node();await C.measure(()=>{l=c.getBBox(),u=e&&typeof e.getBBox==`function`?e.getBBox():l})}o.attr(`transform`,E(u,r)),P.set(t.id,a),t.width=l.width,t.height=l.height;let d;if(t.startLabelLeft){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await w(i,t.startLabelLeft,R(t.labelStyle)||``,!1,!1);d=a;let o=a.getBBox();if(r){let e=a.children[0],t=h(a);o=e.getBoundingClientRect(),t.attr(`width`,o.width),t.attr(`height`,o.height)}i.attr(`transform`,E(o,r)),F.get(t.id)||F.set(t.id,{}),F.get(t.id).startLeft=n,B(d,t.startLabelLeft)}if(t.startLabelRight){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await w(i,t.startLabelRight,R(t.labelStyle)||``,!1,!1);d=a;let o=a.getBBox();if(r){let e=a.children[0],t=h(a);o=e.getBoundingClientRect(),t.attr(`width`,o.width),t.attr(`height`,o.height)}i.attr(`transform`,E(o,r)),F.get(t.id)||F.set(t.id,{}),F.get(t.id).startRight=n,B(d,t.startLabelRight)}if(t.endLabelLeft){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await w(n,t.endLabelLeft,R(t.labelStyle)||``,!1,!1);d=a;let o=a.getBBox();if(r){let e=a.children[0],t=h(a);o=e.getBoundingClientRect(),t.attr(`width`,o.width),t.attr(`height`,o.height)}i.attr(`transform`,E(o,r)),F.get(t.id)||F.set(t.id,{}),F.get(t.id).endLeft=n,B(d,t.endLabelLeft)}if(t.endLabelRight){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await w(n,t.endLabelRight,R(t.labelStyle)||``,!1,!1);d=a;let o=a.getBBox();if(r){let e=a.children[0],t=h(a);o=e.getBoundingClientRect(),t.attr(`width`,o.width),t.attr(`height`,o.height)}i.attr(`transform`,E(o,r)),F.get(t.id)||F.set(t.id,{}),F.get(t.id).endRight=n,B(d,t.endLabelRight)}return c},`insertEdgeLabel`);function B(e,t){v(b())&&e&&(e.style.width=t.length*9+`px`,e.style.height=`12px`)}g(B,`setTerminalWidth`);var V=g((e,t)=>{_.debug(`Moving label abc88 `,e.id,e.label,P.get(e.id),t);let n=t.updatedPath?t.updatedPath:t.originalPath,r=b(),{subGraphTitleTotalMargin:i}=T(r);if(e.label){let r=P.get(e.id),a=e.x,o=e.y;if(n){let r=f.calcLabelPosition(n);_.debug(`Moving label `+e.label+` from (`,a,`,`,o,`) to (`,r.x,`,`,r.y,`) abc88`),t.updatedPath&&(a=r.x,o=r.y)}r.attr(`transform`,`translate(${a}, ${o+i/2})`)}if(e.startLabelLeft){let t=F.get(e.id).startLeft,r=e.x,i=e.y;if(n){let t=f.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_left`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}if(e.startLabelRight){let t=F.get(e.id).startRight,r=e.x,i=e.y;if(n){let t=f.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_right`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}if(e.endLabelLeft){let t=F.get(e.id).endLeft,r=e.x,i=e.y;if(n){let t=f.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_left`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}if(e.endLabelRight){let t=F.get(e.id).endRight,r=e.x,i=e.y;if(n){let t=f.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_right`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}},`positionEdgeLabel`),ae=g((e,t)=>{if(!e?.isLabelEdge||!e?.id?.endsWith(`-to-label`)||!Array.isArray(t)||t.length!==2)return t;let[n,r]=t,i=Math.abs(r.x-n.x),a=Math.abs(r.y-n.y);return i<.001||a<.001?t:a>=i?[n,{x:n.x,y:r.y},r]:[n,{x:r.x,y:n.y},r]},`orthogonalizeToLabelClippedPoints`),H=g((e,t)=>{let n=e.x,r=e.y,i=Math.abs(t.x-n),a=Math.abs(t.y-r),o=e.width/2,s=e.height/2;return i>=o||a>=s},`outsideNode`),U=g((e,t,n)=>{_.debug(`intersection calc abc89:
1
+ import{_ as e,a as t,i as n,n as r,o as i,p as a,r as o,t as s,u as c,v as l}from"./step-CqgdNM3U.js";import{t as u}from"./line-io_go0HI.js";import{K as d,g as f,q as p,u as m}from"./chunk-75Z2AOVW-DEp7Wbaj.js";import{u as h}from"./src-BpnPuKEN.js";import{n as g}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t as _}from"./src-Cyu5G-Tr.js";import{T as v,b as y,x as b}from"./chunk-DU6HZSFF-CDmPCRkr.js";import{i as x,n as S}from"./chunk-P2QGCYS3-Bw5LRT6S.js";import{n as ee,r as C}from"./chunk-GMAD6QVW-ahdTJvh0.js";import{t as te}from"./rough.esm-Dy-Kn_BL.js";import{t as w}from"./chunk-4HAMMTFA-DaFOJTOO.js";import{n as T}from"./chunk-GVQU2GXP-CPkYne1h.js";var E=g((e,t)=>{if(t)return`translate(`+-e.width/2+`, `+-e.height/2+`)`;let n=e.x??0,r=e.y??0;return`translate(`+-(n+e.width/2)+`, `+-(r+e.height/2)+`)`},`computeLabelTransform`),D={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},O={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function k(e,t){if(e===void 0||t===void 0)return{angle:0,deltaX:0,deltaY:0};e=A(e),t=A(t);let[n,r]=[e.x,e.y],[i,a]=[t.x,t.y],o=i-n,s=a-r;return{angle:Math.atan(s/o),deltaX:o,deltaY:s}}g(k,`calculateDeltaAndAngle`);var A=g(e=>Array.isArray(e)?{x:e[0],y:e[1]}:e,`pointTransformer`),ne=g(e=>({x:g(function(t,n,r){let i=0,a=A(r[0]).x<A(r[r.length-1]).x?`left`:`right`;if(n===0&&Object.hasOwn(D,e.arrowTypeStart)){let{angle:t,deltaX:n}=k(r[0],r[1]);i=D[e.arrowTypeStart]*Math.cos(t)*(n>=0?1:-1)}else if(n===r.length-1&&Object.hasOwn(D,e.arrowTypeEnd)){let{angle:t,deltaX:n}=k(r[r.length-1],r[r.length-2]);i=D[e.arrowTypeEnd]*Math.cos(t)*(n>=0?1:-1)}let o=Math.abs(A(t).x-A(r[r.length-1]).x),s=Math.abs(A(t).y-A(r[r.length-1]).y),c=Math.abs(A(t).x-A(r[0]).x),l=Math.abs(A(t).y-A(r[0]).y),u=D[e.arrowTypeStart],d=D[e.arrowTypeEnd];if(o<d&&o>0&&s<d){let e=d+1-o;e*=a===`right`?-1:1,i-=e}if(c<u&&c>0&&l<u){let e=u+1-c;e*=a===`right`?-1:1,i+=e}return A(t).x+i},`x`),y:g(function(t,n,r){let i=0,a=A(r[0]).y<A(r[r.length-1]).y?`down`:`up`;if(n===0&&Object.hasOwn(D,e.arrowTypeStart)){let{angle:t,deltaY:n}=k(r[0],r[1]);i=D[e.arrowTypeStart]*Math.abs(Math.sin(t))*(n>=0?1:-1)}else if(n===r.length-1&&Object.hasOwn(D,e.arrowTypeEnd)){let{angle:t,deltaY:n}=k(r[r.length-1],r[r.length-2]);i=D[e.arrowTypeEnd]*Math.abs(Math.sin(t))*(n>=0?1:-1)}let o=Math.abs(A(t).y-A(r[r.length-1]).y),s=Math.abs(A(t).x-A(r[r.length-1]).x),c=Math.abs(A(t).y-A(r[0]).y),l=Math.abs(A(t).x-A(r[0]).x),u=D[e.arrowTypeStart],d=D[e.arrowTypeEnd];if(o<d&&o>0&&s<d){let e=d+1-o;e*=a===`up`?-1:1,i-=e}if(c<u&&c>0&&l<u){let e=u+1-c;e*=a===`up`?-1:1,i+=e}return A(t).y+i},`y`)}),`getLineFunctionsWithOffset`),re=g((e,t,n,r,i,a=!1,o)=>{t.arrowTypeStart&&N(e,`start`,t.arrowTypeStart,n,r,i,a,o),t.arrowTypeEnd&&N(e,`end`,t.arrowTypeEnd,n,r,i,a,o)},`addEdgeMarkers`),j={arrow_cross:{type:`cross`,fill:!1},arrow_point:{type:`point`,fill:!0},arrow_barb:{type:`barb`,fill:!0},arrow_barb_neo:{type:`barb`,fill:!0},arrow_circle:{type:`circle`,fill:!1},aggregation:{type:`aggregation`,fill:!1},extension:{type:`extension`,fill:!1},composition:{type:`composition`,fill:!0},dependency:{type:`dependency`,fill:!0},lollipop:{type:`lollipop`,fill:!1},only_one:{type:`onlyOne`,fill:!1},zero_or_one:{type:`zeroOrOne`,fill:!1},one_or_more:{type:`oneOrMore`,fill:!1},zero_or_more:{type:`zeroOrMore`,fill:!1},requirement_arrow:{type:`requirement_arrow`,fill:!1},requirement_contains:{type:`requirement_contains`,fill:!1}},M=[`cross`,`point`,`circle`,`lollipop`,`aggregation`,`extension`,`composition`,`dependency`,`barb`],N=g((e,t,n,r,i,a,o=!1,s)=>{if(!n||n===`none`)return;let c=j[n],l=c&&M.includes(c.type);if(!c){_.warn(`Unknown arrow type: ${n}`);return}let u=`${i}_${a}-${c.type}${t===`start`?`Start`:`End`}${o&&l?`-margin`:``}`;if(s&&s.trim()!==``){let n=`${u}_${s.replace(/[^\dA-Za-z]/g,`_`)}`;if(!document.getElementById(n)){let e=document.getElementById(u);if(e){let t=e.cloneNode(!0);t.id=n,t.querySelectorAll(`path, circle, line`).forEach(e=>{e.setAttribute(`stroke`,s),c.fill&&e.setAttribute(`fill`,s)}),e.parentNode?.appendChild(t)}}e.attr(`marker-${t}`,`url(${r}#${n})`)}else e.attr(`marker-${t}`,`url(${r}#${u})`)},`addEdgeMarker`),ie=g(e=>typeof e==`string`?e:b()?.flowchart?.curve,`resolveEdgeCurveType`),P=new Map,F=new Map,I=g(()=>{P.clear(),F.clear()},`clear`),L=g(e=>!!(e.label||e.startLabelLeft||e.startLabelRight||e.endLabelLeft||e.endLabelRight),`hasEdgeLabel`),R=g(e=>e?typeof e==`string`?e:e.reduce((e,t)=>e+`;`+t,``):``,`getLabelStyles`),z=g(async(e,t)=>{let n=b(),r=v(n),{labelStyles:i}=x(t);t.labelStyle=i;let a=e.insert(`g`).attr(`class`,`edgeLabel`),o=a.insert(`g`).attr(`class`,`label`).attr(`data-id`,t.id),s=t.labelType===`markdown`,c=await ee(e,t.label,{style:R(t.labelStyle),useHtmlLabels:r,addSvgBackground:!0,isNode:!1,markdown:s,width:void 0},n);o.node().appendChild(c),_.info(`abc82`,t,t.labelType);let l,u;if(r){let e=c.children[0],t=h(c);l=await C.measure(()=>e.getBoundingClientRect()),u=l,t.attr(`width`,l.width),t.attr(`height`,l.height)}else{let e=h(c).select(`text`).node();await C.measure(()=>{l=c.getBBox(),u=e&&typeof e.getBBox==`function`?e.getBBox():l})}o.attr(`transform`,E(u,r)),P.set(t.id,a),t.width=l.width,t.height=l.height;let d;if(t.startLabelLeft){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await w(i,t.startLabelLeft,R(t.labelStyle)||``,!1,!1);d=a;let o=a.getBBox();if(r){let e=a.children[0],t=h(a);o=e.getBoundingClientRect(),t.attr(`width`,o.width),t.attr(`height`,o.height)}i.attr(`transform`,E(o,r)),F.get(t.id)||F.set(t.id,{}),F.get(t.id).startLeft=n,B(d,t.startLabelLeft)}if(t.startLabelRight){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await w(i,t.startLabelRight,R(t.labelStyle)||``,!1,!1);d=a;let o=a.getBBox();if(r){let e=a.children[0],t=h(a);o=e.getBoundingClientRect(),t.attr(`width`,o.width),t.attr(`height`,o.height)}i.attr(`transform`,E(o,r)),F.get(t.id)||F.set(t.id,{}),F.get(t.id).startRight=n,B(d,t.startLabelRight)}if(t.endLabelLeft){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await w(n,t.endLabelLeft,R(t.labelStyle)||``,!1,!1);d=a;let o=a.getBBox();if(r){let e=a.children[0],t=h(a);o=e.getBoundingClientRect(),t.attr(`width`,o.width),t.attr(`height`,o.height)}i.attr(`transform`,E(o,r)),F.get(t.id)||F.set(t.id,{}),F.get(t.id).endLeft=n,B(d,t.endLabelLeft)}if(t.endLabelRight){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),a=await w(n,t.endLabelRight,R(t.labelStyle)||``,!1,!1);d=a;let o=a.getBBox();if(r){let e=a.children[0],t=h(a);o=e.getBoundingClientRect(),t.attr(`width`,o.width),t.attr(`height`,o.height)}i.attr(`transform`,E(o,r)),F.get(t.id)||F.set(t.id,{}),F.get(t.id).endRight=n,B(d,t.endLabelRight)}return c},`insertEdgeLabel`);function B(e,t){v(b())&&e&&(e.style.width=t.length*9+`px`,e.style.height=`12px`)}g(B,`setTerminalWidth`);var V=g((e,t)=>{_.debug(`Moving label abc88 `,e.id,e.label,P.get(e.id),t);let n=t.updatedPath?t.updatedPath:t.originalPath,r=b(),{subGraphTitleTotalMargin:i}=T(r);if(e.label){let r=P.get(e.id),a=e.x,o=e.y;if(n){let r=f.calcLabelPosition(n);_.debug(`Moving label `+e.label+` from (`,a,`,`,o,`) to (`,r.x,`,`,r.y,`) abc88`),t.updatedPath&&(a=r.x,o=r.y)}r.attr(`transform`,`translate(${a}, ${o+i/2})`)}if(e.startLabelLeft){let t=F.get(e.id).startLeft,r=e.x,i=e.y;if(n){let t=f.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_left`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}if(e.startLabelRight){let t=F.get(e.id).startRight,r=e.x,i=e.y;if(n){let t=f.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_right`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}if(e.endLabelLeft){let t=F.get(e.id).endLeft,r=e.x,i=e.y;if(n){let t=f.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_left`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}if(e.endLabelRight){let t=F.get(e.id).endRight,r=e.x,i=e.y;if(n){let t=f.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_right`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}},`positionEdgeLabel`),ae=g((e,t)=>{if(!e?.isLabelEdge||!e?.id?.endsWith(`-to-label`)||!Array.isArray(t)||t.length!==2)return t;let[n,r]=t,i=Math.abs(r.x-n.x),a=Math.abs(r.y-n.y);return i<.001||a<.001?t:a>=i?[n,{x:n.x,y:r.y},r]:[n,{x:r.x,y:n.y},r]},`orthogonalizeToLabelClippedPoints`),H=g((e,t)=>{let n=e.x,r=e.y,i=Math.abs(t.x-n),a=Math.abs(t.y-r),o=e.width/2,s=e.height/2;return i>=o||a>=s},`outsideNode`),U=g((e,t,n)=>{_.debug(`intersection calc abc89:
2
2
  outsidePoint: ${JSON.stringify(t)}
3
3
  insidePoint : ${JSON.stringify(n)}
4
- node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);let r=e.x,i=e.y,a=Math.abs(r-n.x),o=e.width/2,s=n.x<t.x?o-a:o+a,c=e.height/2,l=Math.abs(t.y-n.y),u=Math.abs(t.x-n.x);if(Math.abs(i-t.y)*o>Math.abs(r-t.x)*c){let e=n.y<t.y?t.y-c-i:i-c-t.y;s=u*e/l;let r={x:n.x<t.x?n.x+s:n.x-u+s,y:n.y<t.y?n.y+l-e:n.y-l+e};return s===0&&(r.x=t.x,r.y=t.y),u===0&&(r.x=t.x),l===0&&(r.y=t.y),_.debug(`abc89 top/bottom calc, Q ${l}, q ${e}, R ${u}, r ${s}`,r),r}{s=n.x<t.x?t.x-o-r:r-o-t.x;let e=l*s/u,i=n.x<t.x?n.x+u-s:n.x-u+s,a=n.y<t.y?n.y+e:n.y-e;return _.debug(`sides calc abc89, Q ${l}, q ${e}, R ${u}, r ${s}`,{_x:i,_y:a}),s===0&&(i=t.x,a=t.y),u===0&&(i=t.x),l===0&&(a=t.y),{x:i,y:a}}},`intersection`),W=g((e,t)=>{_.warn(`abc88 cutPathAtIntersect`,e,t);let n=[],r=e[0],i=!1;return e.forEach(e=>{if(_.info(`abc88 checking point`,e,t),!H(t,e)&&!i){let a=U(t,r,e);_.debug(`abc88 inside`,e,r,a),_.debug(`abc88 intersection`,a,t);let o=!1;n.forEach(e=>{o||=e.x===a.x&&e.y===a.y}),n.some(e=>e.x===a.x&&e.y===a.y)?_.warn(`abc88 no intersect`,a,n):n.push(a),i=!0}else _.warn(`abc88 outside`,e,r),r=e,i||n.push(e)}),_.debug(`returning points`,n),n},`cutPathAtIntersect`);function G(e){let t=[],n=[];for(let r=1;r<e.length-1;r++){let i=e[r-1],a=e[r],o=e[r+1];(i.x===a.x&&a.y===o.y&&Math.abs(a.x-o.x)>5&&Math.abs(a.y-i.y)>5||i.y===a.y&&a.x===o.x&&Math.abs(a.x-i.x)>5&&Math.abs(a.y-o.y)>5)&&(t.push(a),n.push(r))}return{cornerPoints:t,cornerPointPositions:n}}g(G,`extractCornerPoints`);var K=g(function(e,t,n){let r=t.x-e.x,i=t.y-e.y,a=n/Math.sqrt(r*r+i*i);return{x:t.x-a*r,y:t.y-a*i}},`findAdjacentPoint`),oe=g(function(e){let{cornerPointPositions:t}=G(e),n=[];for(let r=0;r<e.length;r++)if(t.includes(r)){let t=e[r-1],i=e[r+1],a=e[r],o=K(t,a,5),s=K(i,a,5),c=s.x-o.x,l=s.y-o.y;n.push(o);let u=Math.sqrt(2)*2,d={x:a.x,y:a.y};Math.abs(i.x-t.x)>10&&Math.abs(i.y-t.y)>=10?(_.debug(`Corner point fixing`,Math.abs(i.x-t.x),Math.abs(i.y-t.y)),d=a.x===o.x?{x:c<0?o.x-5+u:o.x+5-u,y:l<0?o.y-u:o.y+u}:{x:c<0?o.x-u:o.x+u,y:l<0?o.y-5+u:o.y+5-u}):_.debug(`Corner point skipping fixing`,Math.abs(i.x-t.x),Math.abs(i.y-t.y)),n.push(d,s)}else n.push(e[r]);return n},`fixCorners`),se=g((e,t,n)=>{let r=e-t-n,i=Math.floor(r/4);return`0 ${t} ${Array(Number.isFinite(i)?Math.max(0,i):0).fill(`2 2`).join(` `)} ${n}`},`generateDashArray`),q=g(function(g,v,y,x,ee,C,w,T=!1){if(!w)throw Error(`insertEdge: missing diagramId for edge "${v.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);let{handDrawnSeed:E,layout:D}=b(),k=v.points,A=!1,j=ee;var M=C;let N=[];for(let e in v.cssCompiledStyles)S(e)||N.push(v.cssCompiledStyles[e]);if(D===`swimlane`){if(M.intersect&&j.intersect&&Array.isArray(k)&&k.length>=2){if(k.length===2)k=[j.intersect(k[0]),M.intersect(k[1])];else{let e=k.slice(1,-1),t=e[0],n=e[e.length-1],r=.5,i=Math.abs(k[k.length-1].x-n.x)<r&&Math.abs(k[k.length-1].y-n.y)<r,a=j.intersect(t),o=i?n:M.intersect(n),s=Math.abs(o.x-n.x)<r&&Math.abs(o.y-n.y)<r,c=Math.abs(a.x-t.x)<r&&Math.abs(a.y-t.y)<r?[]:[a],l=s?[]:[o];k=[...c,...e,...l]}}k=ae(v,k)}else M.intersect&&j.intersect&&!T&&(k=k.slice(1,v.points.length-1),k.unshift(j.intersect(k[0])),k.push(M.intersect(k[k.length-1])));let P=btoa(JSON.stringify(k));v.toCluster&&(_.info(`to cluster abc88`,y.get(v.toCluster)),k=W(v.points,y.get(v.toCluster).node),A=!0),v.fromCluster&&(_.debug(`from cluster abc88`,y.get(v.fromCluster),JSON.stringify(k,null,2)),k=W(k.reverse(),y.get(v.fromCluster).node).reverse(),A=!0);let F=k.filter(e=>!Number.isNaN(e.y)),I=ie(v.curve);I!==`rounded`&&(F=oe(F));let L=u;switch(I){case`linear`:L=u;break;case`basis`:L=e;break;case`cardinal`:L=a;break;case`bumpX`:L=d;break;case`bumpY`:L=p;break;case`catmullRom`:L=c;break;case`monotoneX`:L=t;break;case`monotoneY`:L=i;break;case`natural`:L=n;break;case`step`:L=o;break;case`stepAfter`:L=s;break;case`stepBefore`:L=r;break;case`rounded`:L=u;break;default:L=e}let{x:R,y:z}=ne(v),B=l().x(R).y(z).curve(L),V;switch(v.thickness){case`normal`:V=`edge-thickness-normal`;break;case`thick`:V=`edge-thickness-thick`;break;case`invisible`:V=`edge-thickness-invisible`;break;default:V=`edge-thickness-normal`}switch(v.pattern){case`solid`:V+=` edge-pattern-solid`;break;case`dotted`:V+=` edge-pattern-dotted`;break;case`dashed`:V+=` edge-pattern-dashed`;break;default:V+=` edge-pattern-solid`}let H,U=I===`rounded`?J(X(F,v),5):B(F),G=Array.isArray(v.style)?v.style:[v.style],K=G.find(e=>e?.startsWith(`stroke:`)),q=``;v.animate&&(q=`edge-animation-fast`),v.animation&&(q=`edge-animation-`+v.animation);let Y=!1;if(v.look===`handDrawn`){let e=te.svg(g);Object.assign([],F);let t=e.path(U,{roughness:.3,seed:E});V+=` transition`,H=h(t).select(`path`).attr(`id`,`${w}-${v.id}`).attr(`class`,` `+V+(v.classes?` `+v.classes:``)+(q?` `+q:``)).attr(`style`,G?G.reduce((e,t)=>e+`;`+t,``):``);let n=H.attr(`d`);H.attr(`d`,n),g.node().appendChild(H.node())}else{let e=N.join(`;`),t=G?G.reduce((e,t)=>e+t+`;`,``):``,n=(e?e+`;`+t+`;`:t)+`;`+(G?G.reduce((e,t)=>e+`;`+t,``):``);H=g.append(`path`).attr(`d`,U).attr(`id`,`${w}-${v.id}`).attr(`class`,` `+V+(v.classes?` `+v.classes:``)+(q?` `+q:``)).attr(`style`,n),K=n.match(/stroke:([^;]+)/)?.[1],Y=v.animate===!0||!!v.animation||e.includes(`animation`);let r=H.node(),i=typeof r.getTotalLength==`function`?r.getTotalLength():0,a=O[v.arrowTypeStart]||0,o=O[v.arrowTypeEnd]||0;if(v.look===`neo`&&!Y){let e=`stroke-dasharray: ${v.pattern===`dotted`||v.pattern===`dashed`?se(i,a,o):`0 ${a} ${i-a-o} ${o}`}; stroke-dashoffset: 0;`;H.attr(`style`,e+H.attr(`style`))}}H.attr(`data-edge`,!0),H.attr(`data-et`,`edge`),H.attr(`data-id`,v.id),H.attr(`data-points`,P),H.attr(`data-look`,m(v.look)),v.showPoints&&F.forEach(e=>{g.append(`circle`).style(`stroke`,`red`).style(`fill`,`red`).attr(`r`,1).attr(`cx`,e.x).attr(`cy`,e.y)});let Z=``;(b().flowchart.arrowMarkerAbsolute||b().state.arrowMarkerAbsolute)&&(Z=window.location.protocol+`//`+window.location.host+window.location.pathname+window.location.search,Z=Z.replace(/\(/g,`\\(`).replace(/\)/g,`\\)`)),_.info(`arrowTypeStart`,v.arrowTypeStart),_.info(`arrowTypeEnd`,v.arrowTypeEnd);let Q=!Y&&v?.look===`neo`;re(H,v,Z,w,x,Q,K);let ce=Math.floor(k.length/2),le=k[ce];f.isLabelCoordinateInPath(le,H.attr(`d`))||(A=!0);let $={};return A&&($.updatedPath=k),$.originalPath=v.points,$},`insertEdge`);function J(e,t){if(e.length<2)return``;let n=``,r=e.length,i=1e-5;for(let a=0;a<r;a++){let o=e[a],s=e[a-1],c=e[a+1];if(a===0)n+=`M${o.x},${o.y}`;else if(a===r-1)n+=`L${o.x},${o.y}`;else{let e=o.x-s.x,r=o.y-s.y,a=c.x-o.x,l=c.y-o.y,u=Math.hypot(e,r),d=Math.hypot(a,l);if(u<i||d<i){n+=`L${o.x},${o.y}`;continue}let f=e/u,p=r/u,m=a/d,h=l/d,g=f*m+p*h,_=Math.acos(Math.max(-1,Math.min(1,g)));if(_<i||Math.abs(Math.PI-_)<i){n+=`L${o.x},${o.y}`;continue}let v=Math.min(t/Math.sin(_/2),u/2,d/2),y=o.x-f*v,b=o.y-p*v,x=o.x+m*v,S=o.y+h*v;n+=`L${y},${b}`,n+=`Q${o.x},${o.y} ${x},${S}`}}return n}g(J,`generateRoundedPath`);function Y(e,t){if(!e||!t)return{angle:0,deltaX:0,deltaY:0};let n=t.x-e.x,r=t.y-e.y;return{angle:Math.atan2(r,n),deltaX:n,deltaY:r}}g(Y,`calculateDeltaAndAngle`);function X(e,t){let n=e.map(e=>({...e}));if(e.length>=2&&D[t.arrowTypeStart]){let r=D[t.arrowTypeStart],i=e[0],a=e[1],{angle:o}=Y(i,a),s=r*Math.cos(o),c=r*Math.sin(o);n[0].x=i.x+s,n[0].y=i.y+c}let r=e.length;if(r>=2&&D[t.arrowTypeEnd]){let i=D[t.arrowTypeEnd],a=e[r-1],o=e[r-2],{angle:s}=Y(o,a),c=i*Math.cos(s),l=i*Math.sin(s);n[r-1].x=a.x-c,n[r-1].y=a.y-l}return n}g(X,`applyMarkerOffsetsToPoints`);var Z=g((e,t,n,r)=>{t.forEach(t=>{Q[t](e,n,r)})},`insertMarkers`),Q={extension:g((e,t,n)=>{_.trace(`Making markers for `,n),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-extensionStart`).attr(`class`,`marker extension `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 1,7 L18,13 V 1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-extensionEnd`).attr(`class`,`marker extension `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 1,1 V 13 L18,7 Z`),e.append(`marker`).attr(`id`,n+`_`+t+`-extensionStart-margin`).attr(`class`,`marker extension `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).attr(`viewBox`,`0 0 20 14`).append(`polygon`).attr(`points`,`10,7 18,13 18,1`).style(`stroke-width`,2).style(`stroke-dasharray`,`0`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-extensionEnd-margin`).attr(`class`,`marker extension `+t).attr(`refX`,9).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).attr(`viewBox`,`0 0 20 14`).append(`polygon`).attr(`points`,`10,1 10,13 18,7`).style(`stroke-width`,2).style(`stroke-dasharray`,`0`)},`extension`),composition:g((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionStart`).attr(`class`,`marker composition `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionEnd`).attr(`class`,`marker composition `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionStart-margin`).attr(`class`,`marker composition `+t).attr(`refX`,15).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`viewBox`,`0 0 15 15`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionEnd-margin`).attr(`class`,`marker composition `+t).attr(`refX`,3.5).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`)},`composition`),aggregation:g((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationStart`).attr(`class`,`marker aggregation `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationEnd`).attr(`class`,`marker aggregation `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationStart-margin`).attr(`class`,`marker aggregation `+t).attr(`refX`,15).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,2).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationEnd-margin`).attr(`class`,`marker aggregation `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,2).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`)},`aggregation`),dependency:g((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyStart`).attr(`class`,`marker dependency `+t).attr(`refX`,6).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 5,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyEnd`).attr(`class`,`marker dependency `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L14,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyStart-margin`).attr(`class`,`marker dependency `+t).attr(`refX`,4).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 5,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyEnd-margin`).attr(`class`,`marker dependency `+t).attr(`refX`,16).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 18,7 L9,13 L14,7 L9,1 Z`)},`dependency`),lollipop:g((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopStart`).attr(`class`,`marker lollipop `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopEnd`).attr(`class`,`marker lollipop `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopStart-margin`).attr(`class`,`marker lollipop `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6).attr(`stroke-width`,2),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopEnd-margin`).attr(`class`,`marker lollipop `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6).attr(`stroke-width`,2)},`lollipop`),point:g((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-pointEnd`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,5).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,8).attr(`markerHeight`,8).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 0 L 10 5 L 0 10 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointStart`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,4.5).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,8).attr(`markerHeight`,8).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 5 L 10 10 L 10 0 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointEnd-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 11.5 14`).attr(`refX`,11.5).attr(`refY`,7).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,10.5).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 0 L 11.5 7 L 0 14 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointStart-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 11.5 14`).attr(`refX`,1).attr(`refY`,7).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11.5).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`polygon`).attr(`points`,`0,7 11.5,14 11.5,0`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`)},`point`),circle:g((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-circleEnd`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,11).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleStart`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,-1).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleEnd-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refY`,5).attr(`refX`,12.25).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,14).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleStart-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,-2).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,14).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`)},`circle`),cross:g((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-crossEnd`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 11 11`).attr(`refX`,12).attr(`refY`,5.2).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 l 9,9 M 10,1 l -9,9`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-crossStart`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 11 11`).attr(`refX`,-1).attr(`refY`,5.2).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 l 9,9 M 10,1 l -9,9`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-crossEnd-margin`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 15 15`).attr(`refX`,17.7).attr(`refY`,7.5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,12).attr(`markerHeight`,12).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 L 14,14 M 1,14 L 14,1`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2.5),e.append(`marker`).attr(`id`,n+`_`+t+`-crossStart-margin`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 15 15`).attr(`refX`,-3.5).attr(`refY`,7.5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,12).attr(`markerHeight`,12).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 L 14,14 M 1,14 L 14,1`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2.5).style(`stroke-dasharray`,`1,0`)},`cross`),barb:g((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-barbEnd`).attr(`refX`,19).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L9,13 L14,7 L9,1 Z`)},`barb`),barbNeo:g((e,t,n)=>{let{themeVariables:r}=y(),{transitionColor:i}=r;e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-barbEnd`).attr(`refX`,19).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`strokeWidth`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L11,14 L13,7 L11,0 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-barbEnd-margin`).attr(`refX`,17).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L11,14 L13,7 L11,0 Z`).attr(`fill`,`${i}`)},`barbNeo`),only_one:g((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneStart`).attr(`class`,`marker onlyOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).append(`path`).attr(`d`,`M9,0 L9,18 M15,0 L15,18`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneEnd`).attr(`class`,`marker onlyOne `+t).attr(`refX`,18).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,0 L3,18 M9,0 L9,18`)},`only_one`),zero_or_one:g((e,t,n)=>{let r=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneStart`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`);r.append(`circle`).attr(`fill`,`white`).attr(`cx`,21).attr(`cy`,9).attr(`r`,6),r.append(`path`).attr(`d`,`M9,0 L9,18`);let i=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneEnd`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,30).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`);i.append(`circle`).attr(`fill`,`white`).attr(`cx`,9).attr(`cy`,9).attr(`r`,6),i.append(`path`).attr(`d`,`M21,0 L21,18`)},`zero_or_one`),one_or_more:g((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreStart`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).append(`path`).attr(`d`,`M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreEnd`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,27).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18`)},`one_or_more`),zero_or_more:g((e,t,n)=>{let r=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreStart`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`);r.append(`circle`).attr(`fill`,`white`).attr(`cx`,48).attr(`cy`,18).attr(`r`,6),r.append(`path`).attr(`d`,`M0,18 Q18,0 36,18 Q18,36 0,18`);let i=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreEnd`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,39).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`);i.append(`circle`).attr(`fill`,`white`).attr(`cx`,9).attr(`cy`,18).attr(`r`,6),i.append(`path`).attr(`d`,`M21,18 Q39,0 57,18 Q39,36 21,18`)},`zero_or_more`),only_one_neo:g((e,t,n)=>{let{themeVariables:r}=y(),{strokeWidth:i}=r;e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneStart`).attr(`class`,`marker onlyOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M9,0 L9,18 M15,0 L15,18`).attr(`stroke-width`,`${i}`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneEnd`).attr(`class`,`marker onlyOne `+t).attr(`refX`,18).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M3,0 L3,18 M9,0 L9,18`).attr(`stroke-width`,`${i}`)},`only_one_neo`),zero_or_one_neo:g((e,t,n)=>{let{themeVariables:r}=y(),{strokeWidth:i,mainBkg:a}=r,o=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneStart`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`);o.append(`circle`).attr(`fill`,a??`white`).attr(`cx`,21).attr(`cy`,9).attr(`stroke-width`,`${i}`).attr(`r`,6),o.append(`path`).attr(`d`,`M9,0 L9,18`).attr(`stroke-width`,`${i}`);let s=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneEnd`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,30).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`);s.append(`circle`).attr(`fill`,a??`white`).attr(`cx`,9).attr(`cy`,9).attr(`stroke-width`,`${i}`).attr(`r`,6),s.append(`path`).attr(`d`,`M21,0 L21,18`).attr(`stroke-width`,`${i}`)},`zero_or_one_neo`),one_or_more_neo:g((e,t,n)=>{let{themeVariables:r}=y(),{strokeWidth:i}=r;e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreStart`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27`).attr(`stroke-width`,`${i}`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreEnd`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,27).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18`).attr(`stroke-width`,`${i}`)},`one_or_more_neo`),zero_or_more_neo:g((e,t,n)=>{let{themeVariables:r}=y(),{strokeWidth:i,mainBkg:a}=r,o=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreStart`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`);o.append(`circle`).attr(`fill`,a??`white`).attr(`cx`,45.5).attr(`cy`,18).attr(`r`,6).attr(`stroke-width`,`${i}`),o.append(`path`).attr(`d`,`M0,18 Q18,0 36,18 Q18,36 0,18`).attr(`stroke-width`,`${i}`);let s=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreEnd`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,39).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`);s.append(`circle`).attr(`fill`,a??`white`).attr(`cx`,11).attr(`cy`,18).attr(`r`,6).attr(`stroke-width`,`${i}`),s.append(`path`).attr(`d`,`M21,18 Q39,0 57,18 Q39,36 21,18`).attr(`stroke-width`,`${i}`)},`zero_or_more_neo`),requirement_arrow:g((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-requirement_arrowEnd`).attr(`refX`,20).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).append(`path`).attr(`d`,`M0,0
4
+ node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);let r=e.x,i=e.y,a=Math.abs(r-n.x),o=e.width/2,s=n.x<t.x?o-a:o+a,c=e.height/2,l=Math.abs(t.y-n.y),u=Math.abs(t.x-n.x);if(Math.abs(i-t.y)*o>Math.abs(r-t.x)*c){let e=n.y<t.y?t.y-c-i:i-c-t.y;s=u*e/l;let r={x:n.x<t.x?n.x+s:n.x-u+s,y:n.y<t.y?n.y+l-e:n.y-l+e};return s===0&&(r.x=t.x,r.y=t.y),u===0&&(r.x=t.x),l===0&&(r.y=t.y),_.debug(`abc89 top/bottom calc, Q ${l}, q ${e}, R ${u}, r ${s}`,r),r}{s=n.x<t.x?t.x-o-r:r-o-t.x;let e=l*s/u,i=n.x<t.x?n.x+u-s:n.x-u+s,a=n.y<t.y?n.y+e:n.y-e;return _.debug(`sides calc abc89, Q ${l}, q ${e}, R ${u}, r ${s}`,{_x:i,_y:a}),s===0&&(i=t.x,a=t.y),u===0&&(i=t.x),l===0&&(a=t.y),{x:i,y:a}}},`intersection`),W=g((e,t)=>{_.warn(`abc88 cutPathAtIntersect`,e,t);let n=[],r=e[0],i=!1;return e.forEach(e=>{if(_.info(`abc88 checking point`,e,t),!H(t,e)&&!i){let a=U(t,r,e);_.debug(`abc88 inside`,e,r,a),_.debug(`abc88 intersection`,a,t);let o=!1;n.forEach(e=>{o||=e.x===a.x&&e.y===a.y}),n.some(e=>e.x===a.x&&e.y===a.y)?_.warn(`abc88 no intersect`,a,n):n.push(a),i=!0}else _.warn(`abc88 outside`,e,r),r=e,i||n.push(e)}),_.debug(`returning points`,n),n},`cutPathAtIntersect`);function G(e){let t=[],n=[];for(let r=1;r<e.length-1;r++){let i=e[r-1],a=e[r],o=e[r+1];(i.x===a.x&&a.y===o.y&&Math.abs(a.x-o.x)>5&&Math.abs(a.y-i.y)>5||i.y===a.y&&a.x===o.x&&Math.abs(a.x-i.x)>5&&Math.abs(a.y-o.y)>5)&&(t.push(a),n.push(r))}return{cornerPoints:t,cornerPointPositions:n}}g(G,`extractCornerPoints`);var K=g(function(e,t,n){let r=t.x-e.x,i=t.y-e.y,a=n/Math.sqrt(r*r+i*i);return{x:t.x-a*r,y:t.y-a*i}},`findAdjacentPoint`),oe=g(function(e){let{cornerPointPositions:t}=G(e),n=[];for(let r=0;r<e.length;r++)if(t.includes(r)){let t=e[r-1],i=e[r+1],a=e[r],o=K(t,a,5),s=K(i,a,5),c=s.x-o.x,l=s.y-o.y;n.push(o);let u=Math.sqrt(2)*2,d={x:a.x,y:a.y};Math.abs(i.x-t.x)>10&&Math.abs(i.y-t.y)>=10?(_.debug(`Corner point fixing`,Math.abs(i.x-t.x),Math.abs(i.y-t.y)),d=a.x===o.x?{x:c<0?o.x-5+u:o.x+5-u,y:l<0?o.y-u:o.y+u}:{x:c<0?o.x-u:o.x+u,y:l<0?o.y-5+u:o.y+5-u}):_.debug(`Corner point skipping fixing`,Math.abs(i.x-t.x),Math.abs(i.y-t.y)),n.push(d,s)}else n.push(e[r]);return n},`fixCorners`),se=g((e,t,n)=>{let r=e-t-n,i=Math.floor(r/4);return`0 ${t} ${Array(Number.isFinite(i)?Math.max(0,i):0).fill(`2 2`).join(` `)} ${n}`},`generateDashArray`),q=g(function(g,v,y,x,ee,C,w,T=!1){if(!w)throw Error(`insertEdge: missing diagramId for edge "${v.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);let{handDrawnSeed:E,layout:D}=b(),k=v.points,A=!1,j=ee;var M=C;let N=[];for(let e in v.cssCompiledStyles)S(e)||N.push(v.cssCompiledStyles[e]);if(D===`swimlane`){if(M.intersect&&j.intersect&&Array.isArray(k)&&k.length>=2){if(k.length===2)k=[j.intersect(k[0]),M.intersect(k[1])];else{let e=k.slice(1,-1),t=e[0],n=e[e.length-1],r=.5,i=Math.abs(k[k.length-1].x-n.x)<r&&Math.abs(k[k.length-1].y-n.y)<r,a=j.intersect(t),o=i?n:M.intersect(n),s=Math.abs(o.x-n.x)<r&&Math.abs(o.y-n.y)<r,c=Math.abs(a.x-t.x)<r&&Math.abs(a.y-t.y)<r?[]:[a],l=s?[]:[o];k=[...c,...e,...l]}}k=ae(v,k)}else M.intersect&&j.intersect&&!T&&(k=k.slice(1,v.points.length-1),k.unshift(j.intersect(k[0])),k.push(M.intersect(k[k.length-1])));let P=btoa(JSON.stringify(k));v.toCluster&&(_.info(`to cluster abc88`,y.get(v.toCluster)),k=W(v.points,y.get(v.toCluster).node),A=!0),v.fromCluster&&(_.debug(`from cluster abc88`,y.get(v.fromCluster),JSON.stringify(k,null,2)),k=W(k.reverse(),y.get(v.fromCluster).node).reverse(),A=!0);let F=k.filter(e=>!Number.isNaN(e.y)),I=ie(v.curve);I!==`rounded`&&(F=oe(F));let L=l;switch(I){case`linear`:L=l;break;case`basis`:L=e;break;case`cardinal`:L=a;break;case`bumpX`:L=d;break;case`bumpY`:L=p;break;case`catmullRom`:L=c;break;case`monotoneX`:L=t;break;case`monotoneY`:L=i;break;case`natural`:L=n;break;case`step`:L=o;break;case`stepAfter`:L=s;break;case`stepBefore`:L=r;break;case`rounded`:L=l;break;default:L=e}let{x:R,y:z}=ne(v),B=u().x(R).y(z).curve(L),V;switch(v.thickness){case`normal`:V=`edge-thickness-normal`;break;case`thick`:V=`edge-thickness-thick`;break;case`invisible`:V=`edge-thickness-invisible`;break;default:V=`edge-thickness-normal`}switch(v.pattern){case`solid`:V+=` edge-pattern-solid`;break;case`dotted`:V+=` edge-pattern-dotted`;break;case`dashed`:V+=` edge-pattern-dashed`;break;default:V+=` edge-pattern-solid`}let H,U=I===`rounded`?J(X(F,v),5):B(F),G=Array.isArray(v.style)?v.style:[v.style],K=G.find(e=>e?.startsWith(`stroke:`)),q=``;v.animate&&(q=`edge-animation-fast`),v.animation&&(q=`edge-animation-`+v.animation);let Y=!1;if(v.look===`handDrawn`){let e=te.svg(g);Object.assign([],F);let t=e.path(U,{roughness:.3,seed:E});V+=` transition`,H=h(t).select(`path`).attr(`id`,`${w}-${v.id}`).attr(`class`,` `+V+(v.classes?` `+v.classes:``)+(q?` `+q:``)).attr(`style`,G?G.reduce((e,t)=>e+`;`+t,``):``);let n=H.attr(`d`);H.attr(`d`,n),g.node().appendChild(H.node())}else{let e=N.join(`;`),t=G?G.reduce((e,t)=>e+t+`;`,``):``,n=(e?e+`;`+t+`;`:t)+`;`+(G?G.reduce((e,t)=>e+`;`+t,``):``);H=g.append(`path`).attr(`d`,U).attr(`id`,`${w}-${v.id}`).attr(`class`,` `+V+(v.classes?` `+v.classes:``)+(q?` `+q:``)).attr(`style`,n),K=n.match(/stroke:([^;]+)/)?.[1],Y=v.animate===!0||!!v.animation||e.includes(`animation`);let r=H.node(),i=typeof r.getTotalLength==`function`?r.getTotalLength():0,a=O[v.arrowTypeStart]||0,o=O[v.arrowTypeEnd]||0;if(v.look===`neo`&&!Y){let e=`stroke-dasharray: ${v.pattern===`dotted`||v.pattern===`dashed`?se(i,a,o):`0 ${a} ${i-a-o} ${o}`}; stroke-dashoffset: 0;`;H.attr(`style`,e+H.attr(`style`))}}H.attr(`data-edge`,!0),H.attr(`data-et`,`edge`),H.attr(`data-id`,v.id),H.attr(`data-points`,P),H.attr(`data-look`,m(v.look)),v.showPoints&&F.forEach(e=>{g.append(`circle`).style(`stroke`,`red`).style(`fill`,`red`).attr(`r`,1).attr(`cx`,e.x).attr(`cy`,e.y)});let Z=``;(b().flowchart.arrowMarkerAbsolute||b().state.arrowMarkerAbsolute)&&(Z=window.location.protocol+`//`+window.location.host+window.location.pathname+window.location.search,Z=Z.replace(/\(/g,`\\(`).replace(/\)/g,`\\)`)),_.info(`arrowTypeStart`,v.arrowTypeStart),_.info(`arrowTypeEnd`,v.arrowTypeEnd);let Q=!Y&&v?.look===`neo`;re(H,v,Z,w,x,Q,K);let ce=Math.floor(k.length/2),le=k[ce];f.isLabelCoordinateInPath(le,H.attr(`d`))||(A=!0);let $={};return A&&($.updatedPath=k),$.originalPath=v.points,$},`insertEdge`);function J(e,t){if(e.length<2)return``;let n=``,r=e.length,i=1e-5;for(let a=0;a<r;a++){let o=e[a],s=e[a-1],c=e[a+1];if(a===0)n+=`M${o.x},${o.y}`;else if(a===r-1)n+=`L${o.x},${o.y}`;else{let e=o.x-s.x,r=o.y-s.y,a=c.x-o.x,l=c.y-o.y,u=Math.hypot(e,r),d=Math.hypot(a,l);if(u<i||d<i){n+=`L${o.x},${o.y}`;continue}let f=e/u,p=r/u,m=a/d,h=l/d,g=f*m+p*h,_=Math.acos(Math.max(-1,Math.min(1,g)));if(_<i||Math.abs(Math.PI-_)<i){n+=`L${o.x},${o.y}`;continue}let v=Math.min(t/Math.sin(_/2),u/2,d/2),y=o.x-f*v,b=o.y-p*v,x=o.x+m*v,S=o.y+h*v;n+=`L${y},${b}`,n+=`Q${o.x},${o.y} ${x},${S}`}}return n}g(J,`generateRoundedPath`);function Y(e,t){if(!e||!t)return{angle:0,deltaX:0,deltaY:0};let n=t.x-e.x,r=t.y-e.y;return{angle:Math.atan2(r,n),deltaX:n,deltaY:r}}g(Y,`calculateDeltaAndAngle`);function X(e,t){let n=e.map(e=>({...e}));if(e.length>=2&&D[t.arrowTypeStart]){let r=D[t.arrowTypeStart],i=e[0],a=e[1],{angle:o}=Y(i,a),s=r*Math.cos(o),c=r*Math.sin(o);n[0].x=i.x+s,n[0].y=i.y+c}let r=e.length;if(r>=2&&D[t.arrowTypeEnd]){let i=D[t.arrowTypeEnd],a=e[r-1],o=e[r-2],{angle:s}=Y(o,a),c=i*Math.cos(s),l=i*Math.sin(s);n[r-1].x=a.x-c,n[r-1].y=a.y-l}return n}g(X,`applyMarkerOffsetsToPoints`);var Z=g((e,t,n,r)=>{t.forEach(t=>{Q[t](e,n,r)})},`insertMarkers`),Q={extension:g((e,t,n)=>{_.trace(`Making markers for `,n),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-extensionStart`).attr(`class`,`marker extension `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 1,7 L18,13 V 1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-extensionEnd`).attr(`class`,`marker extension `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 1,1 V 13 L18,7 Z`),e.append(`marker`).attr(`id`,n+`_`+t+`-extensionStart-margin`).attr(`class`,`marker extension `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).attr(`viewBox`,`0 0 20 14`).append(`polygon`).attr(`points`,`10,7 18,13 18,1`).style(`stroke-width`,2).style(`stroke-dasharray`,`0`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-extensionEnd-margin`).attr(`class`,`marker extension `+t).attr(`refX`,9).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).attr(`viewBox`,`0 0 20 14`).append(`polygon`).attr(`points`,`10,1 10,13 18,7`).style(`stroke-width`,2).style(`stroke-dasharray`,`0`)},`extension`),composition:g((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionStart`).attr(`class`,`marker composition `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionEnd`).attr(`class`,`marker composition `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionStart-margin`).attr(`class`,`marker composition `+t).attr(`refX`,15).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`viewBox`,`0 0 15 15`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionEnd-margin`).attr(`class`,`marker composition `+t).attr(`refX`,3.5).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`)},`composition`),aggregation:g((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationStart`).attr(`class`,`marker aggregation `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationEnd`).attr(`class`,`marker aggregation `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationStart-margin`).attr(`class`,`marker aggregation `+t).attr(`refX`,15).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,2).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationEnd-margin`).attr(`class`,`marker aggregation `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,2).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`)},`aggregation`),dependency:g((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyStart`).attr(`class`,`marker dependency `+t).attr(`refX`,6).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 5,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyEnd`).attr(`class`,`marker dependency `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L14,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyStart-margin`).attr(`class`,`marker dependency `+t).attr(`refX`,4).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 5,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyEnd-margin`).attr(`class`,`marker dependency `+t).attr(`refX`,16).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 18,7 L9,13 L14,7 L9,1 Z`)},`dependency`),lollipop:g((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopStart`).attr(`class`,`marker lollipop `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopEnd`).attr(`class`,`marker lollipop `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopStart-margin`).attr(`class`,`marker lollipop `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6).attr(`stroke-width`,2),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopEnd-margin`).attr(`class`,`marker lollipop `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6).attr(`stroke-width`,2)},`lollipop`),point:g((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-pointEnd`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,5).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,8).attr(`markerHeight`,8).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 0 L 10 5 L 0 10 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointStart`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,4.5).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,8).attr(`markerHeight`,8).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 5 L 10 10 L 10 0 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointEnd-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 11.5 14`).attr(`refX`,11.5).attr(`refY`,7).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,10.5).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 0 L 11.5 7 L 0 14 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointStart-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 11.5 14`).attr(`refX`,1).attr(`refY`,7).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11.5).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`polygon`).attr(`points`,`0,7 11.5,14 11.5,0`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`)},`point`),circle:g((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-circleEnd`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,11).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleStart`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,-1).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,1).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleEnd-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refY`,5).attr(`refX`,12.25).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,14).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleStart-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,-2).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,14).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`)},`circle`),cross:g((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-crossEnd`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 11 11`).attr(`refX`,12).attr(`refY`,5.2).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 l 9,9 M 10,1 l -9,9`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-crossStart`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 11 11`).attr(`refX`,-1).attr(`refY`,5.2).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11).attr(`markerHeight`,11).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 l 9,9 M 10,1 l -9,9`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-crossEnd-margin`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 15 15`).attr(`refX`,17.7).attr(`refY`,7.5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,12).attr(`markerHeight`,12).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 L 14,14 M 1,14 L 14,1`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2.5),e.append(`marker`).attr(`id`,n+`_`+t+`-crossStart-margin`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 15 15`).attr(`refX`,-3.5).attr(`refY`,7.5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,12).attr(`markerHeight`,12).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 L 14,14 M 1,14 L 14,1`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2.5).style(`stroke-dasharray`,`1,0`)},`cross`),barb:g((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-barbEnd`).attr(`refX`,19).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L9,13 L14,7 L9,1 Z`)},`barb`),barbNeo:g((e,t,n)=>{let{themeVariables:r}=y(),{transitionColor:i}=r;e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-barbEnd`).attr(`refX`,19).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`strokeWidth`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L11,14 L13,7 L11,0 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-barbEnd-margin`).attr(`refX`,17).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L11,14 L13,7 L11,0 Z`).attr(`fill`,`${i}`)},`barbNeo`),only_one:g((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneStart`).attr(`class`,`marker onlyOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).append(`path`).attr(`d`,`M9,0 L9,18 M15,0 L15,18`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneEnd`).attr(`class`,`marker onlyOne `+t).attr(`refX`,18).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,0 L3,18 M9,0 L9,18`)},`only_one`),zero_or_one:g((e,t,n)=>{let r=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneStart`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`);r.append(`circle`).attr(`fill`,`white`).attr(`cx`,21).attr(`cy`,9).attr(`r`,6),r.append(`path`).attr(`d`,`M9,0 L9,18`);let i=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneEnd`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,30).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`);i.append(`circle`).attr(`fill`,`white`).attr(`cx`,9).attr(`cy`,9).attr(`r`,6),i.append(`path`).attr(`d`,`M21,0 L21,18`)},`zero_or_one`),one_or_more:g((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreStart`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).append(`path`).attr(`d`,`M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreEnd`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,27).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18`)},`one_or_more`),zero_or_more:g((e,t,n)=>{let r=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreStart`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`);r.append(`circle`).attr(`fill`,`white`).attr(`cx`,48).attr(`cy`,18).attr(`r`,6),r.append(`path`).attr(`d`,`M0,18 Q18,0 36,18 Q18,36 0,18`);let i=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreEnd`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,39).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`);i.append(`circle`).attr(`fill`,`white`).attr(`cx`,9).attr(`cy`,18).attr(`r`,6),i.append(`path`).attr(`d`,`M21,18 Q39,0 57,18 Q39,36 21,18`)},`zero_or_more`),only_one_neo:g((e,t,n)=>{let{themeVariables:r}=y(),{strokeWidth:i}=r;e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneStart`).attr(`class`,`marker onlyOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M9,0 L9,18 M15,0 L15,18`).attr(`stroke-width`,`${i}`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneEnd`).attr(`class`,`marker onlyOne `+t).attr(`refX`,18).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M3,0 L3,18 M9,0 L9,18`).attr(`stroke-width`,`${i}`)},`only_one_neo`),zero_or_one_neo:g((e,t,n)=>{let{themeVariables:r}=y(),{strokeWidth:i,mainBkg:a}=r,o=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneStart`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`);o.append(`circle`).attr(`fill`,a??`white`).attr(`cx`,21).attr(`cy`,9).attr(`stroke-width`,`${i}`).attr(`r`,6),o.append(`path`).attr(`d`,`M9,0 L9,18`).attr(`stroke-width`,`${i}`);let s=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneEnd`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,30).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`);s.append(`circle`).attr(`fill`,a??`white`).attr(`cx`,9).attr(`cy`,9).attr(`stroke-width`,`${i}`).attr(`r`,6),s.append(`path`).attr(`d`,`M21,0 L21,18`).attr(`stroke-width`,`${i}`)},`zero_or_one_neo`),one_or_more_neo:g((e,t,n)=>{let{themeVariables:r}=y(),{strokeWidth:i}=r;e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreStart`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27`).attr(`stroke-width`,`${i}`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreEnd`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,27).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18`).attr(`stroke-width`,`${i}`)},`one_or_more_neo`),zero_or_more_neo:g((e,t,n)=>{let{themeVariables:r}=y(),{strokeWidth:i,mainBkg:a}=r,o=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreStart`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`);o.append(`circle`).attr(`fill`,a??`white`).attr(`cx`,45.5).attr(`cy`,18).attr(`r`,6).attr(`stroke-width`,`${i}`),o.append(`path`).attr(`d`,`M0,18 Q18,0 36,18 Q18,36 0,18`).attr(`stroke-width`,`${i}`);let s=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreEnd`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,39).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`);s.append(`circle`).attr(`fill`,a??`white`).attr(`cx`,11).attr(`cy`,18).attr(`r`,6).attr(`stroke-width`,`${i}`),s.append(`path`).attr(`d`,`M21,18 Q39,0 57,18 Q39,36 21,18`).attr(`stroke-width`,`${i}`)},`zero_or_more_neo`),requirement_arrow:g((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-requirement_arrowEnd`).attr(`refX`,20).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).append(`path`).attr(`d`,`M0,0
5
5
  L20,10
6
6
  M20,10
7
7
  L0,20`)},`requirement_arrow`),requirement_contains:g((e,t,n)=>{let r=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-requirement_containsStart`).attr(`refX`,0).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).append(`g`);r.append(`circle`).attr(`cx`,10).attr(`cy`,10).attr(`r`,9).attr(`fill`,`none`),r.append(`line`).attr(`x1`,1).attr(`x2`,19).attr(`y1`,10).attr(`y2`,10),r.append(`line`).attr(`y1`,1).attr(`y2`,19).attr(`x1`,10).attr(`x2`,10)},`requirement_contains`),requirement_arrow_neo:g((e,t,n)=>{let{themeVariables:r}=y(),{strokeWidth:i}=r;e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-requirement_arrowEnd`).attr(`refX`,20).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).attr(`stroke-width`,`${i}`).attr(`viewBox`,`0 0 25 20`).append(`path`).attr(`d`,`M0,0
@@ -0,0 +1,2 @@
1
+ import{C as e,S as t,g as n,n as r,o as i,t as a,u as o,w as s,x as c}from"./chunk-FOHPRMQF-DHwB1DNv.js";var l=class extends a{static{c(this,`RailroadTokenBuilder`)}constructor(){super([`railroad-beta`])}},u=c(e=>{let t=e.slice(1,-1),n=``;for(let e=0;e<t.length;e++){let r=t[e];if(r===`\\`&&e+1<t.length){e++;let r=t[e];switch(r){case`n`:n+=`
2
+ `;break;case`r`:n+=`\r`;break;case`t`:n+=` `;break;default:n+=r}continue}n+=r}return n},`decodeEscapedString`),d=class extends r{static{c(this,`RailroadValueConverter`)}runConverter(e,t,n){let r=super.runConverter(e,t,n);if(e.name===`TITLE`&&typeof r==`string`){let e=r.trim();if(e.startsWith(`"`)&&e.endsWith(`"`)||e.startsWith(`'`)&&e.endsWith(`'`))return u(e)}return r}runCustomConverter(e,t,n){if(e.name===`RR_STRING`)return u(t)}},f={parser:{TokenBuilder:c(()=>new l,`TokenBuilder`),ValueConverter:c(()=>new d,`ValueConverter`)}};function p(r=i){let a=s(e(r),o),c=s(t({shared:a}),n,f);return a.ServiceRegistry.register(c),{shared:a,Railroad:c}}c(p,`createRailroadServices`);export{p as n,f as t};
@@ -1 +1 @@
1
- import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{x as t}from"./chunk-DU6HZSFF-BbUeHz2R.js";var n=e(e=>{let{handDrawnSeed:n}=t();return{fill:e,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:e,seed:n}},`solidStateFill`),r=e(e=>Array.isArray(e)?e:e?e.split(`;`).map(e=>e.trim()).filter(Boolean):[],`normalizeStyleList`),i=e(e=>{let t=a([...e.cssCompiledStyles||[],...e.cssStyles||[],...r(e.labelStyle)]);return{stylesMap:t,stylesArray:[...t]}},`compileStyles`),a=e(e=>{let t=new Map;return e.forEach(e=>{let[n,r]=e.split(`:`);t.set(n.trim(),r?.trim())}),t},`styles2Map`),o=e(e=>e===`color`||e===`font-size`||e===`font-family`||e===`font-weight`||e===`font-style`||e===`text-decoration`||e===`text-align`||e===`text-transform`||e===`line-height`||e===`letter-spacing`||e===`word-spacing`||e===`text-shadow`||e===`text-overflow`||e===`white-space`||e===`word-wrap`||e===`word-break`||e===`overflow-wrap`||e===`hyphens`,`isLabelStyle`),s=e(e=>{let{stylesArray:t}=i(e),n=[],r=[],a=[],s=[];return t.forEach(e=>{let t=e[0];o(t)?n.push(e.join(`:`)+` !important`):(r.push(e.join(`:`)+` !important`),t.includes(`stroke`)&&a.push(e.join(`:`)+` !important`),t===`fill`&&s.push(e.join(`:`)+` !important`))}),{labelStyles:n.join(`;`),nodeStyles:r.join(`;`),stylesArray:t,borderStyles:a,backgroundStyles:s}},`styles2String`),c=e((e,n)=>{let{themeVariables:r,handDrawnSeed:a}=t(),{nodeBorder:o,mainBkg:s}=r,{stylesMap:c}=i(e);return Object.assign({roughness:.7,fill:c.get(`fill`)||s,fillStyle:`hachure`,fillWeight:4,hachureGap:5.2,stroke:c.get(`stroke`)||o,seed:a,strokeWidth:c.get(`stroke-width`)?.replace(`px`,``)||1.3,fillLineDash:[0,0],strokeLineDash:l(c.get(`stroke-dasharray`))},n)},`userNodeOverrides`),l=e(e=>{if(!e)return[0,0];let t=e.trim().split(/\s+/).map(Number);if(t.length===1){let e=isNaN(t[0])?0:t[0];return[e,e]}return[isNaN(t[0])?0:t[0],isNaN(t[1])?0:t[1]]},`getStrokeDashArray`);export{c as a,s as i,o as n,n as r,i as t};
1
+ import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{x as t}from"./chunk-DU6HZSFF-CDmPCRkr.js";var n=e(e=>{let{handDrawnSeed:n}=t();return{fill:e,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:e,seed:n}},`solidStateFill`),r=e(e=>Array.isArray(e)?e:e?e.split(`;`).map(e=>e.trim()).filter(Boolean):[],`normalizeStyleList`),i=e(e=>{let t=a([...e.cssCompiledStyles||[],...e.cssStyles||[],...r(e.labelStyle)]);return{stylesMap:t,stylesArray:[...t]}},`compileStyles`),a=e(e=>{let t=new Map;return e.forEach(e=>{let[n,r]=e.split(`:`);t.set(n.trim(),r?.trim())}),t},`styles2Map`),o=e(e=>e===`color`||e===`font-size`||e===`font-family`||e===`font-weight`||e===`font-style`||e===`text-decoration`||e===`text-align`||e===`text-transform`||e===`line-height`||e===`letter-spacing`||e===`word-spacing`||e===`text-shadow`||e===`text-overflow`||e===`white-space`||e===`word-wrap`||e===`word-break`||e===`overflow-wrap`||e===`hyphens`,`isLabelStyle`),s=e(e=>{let{stylesArray:t}=i(e),n=[],r=[],a=[],s=[];return t.forEach(e=>{let t=e[0];o(t)?n.push(e.join(`:`)+` !important`):(r.push(e.join(`:`)+` !important`),t.includes(`stroke`)&&a.push(e.join(`:`)+` !important`),t===`fill`&&s.push(e.join(`:`)+` !important`))}),{labelStyles:n.join(`;`),nodeStyles:r.join(`;`),stylesArray:t,borderStyles:a,backgroundStyles:s}},`styles2String`),c=e((e,n)=>{let{themeVariables:r,handDrawnSeed:a}=t(),{nodeBorder:o,mainBkg:s}=r,{stylesMap:c}=i(e);return Object.assign({roughness:.7,fill:c.get(`fill`)||s,fillStyle:`hachure`,fillWeight:4,hachureGap:5.2,stroke:c.get(`stroke`)||o,seed:a,strokeWidth:c.get(`stroke-width`)?.replace(`px`,``)||1.3,fillLineDash:[0,0],strokeLineDash:l(c.get(`stroke-dasharray`))},n)},`userNodeOverrides`),l=e(e=>{if(!e)return[0,0];let t=e.trim().split(/\s+/).map(Number);if(t.length===1){let e=isNaN(t[0])?0:t[0];return[e,e]}return[isNaN(t[0])?0:t[0],isNaN(t[1])?0:t[1]]},`getStrokeDashArray`);export{c as a,s as i,o as n,n as r,i as t};
@@ -1 +1 @@
1
- import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t}from"./src-Cyu5G-Tr.js";import{c as n}from"./chunk-DU6HZSFF-BbUeHz2R.js";var r=e((e,r,o,s)=>{e.attr(`class`,o);let{width:c,height:l,x:u,y:d}=i(e,r);n(e,l,c,s);let f=a(u,d,c,l,r);e.attr(`viewBox`,f),t.debug(`viewBox configured: ${f} with padding: ${r}`)},`setupViewPortForSVG`),i=e((e,t)=>{let n=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:n.width+t*2,height:n.height+t*2,x:n.x,y:n.y}},`calculateDimensionsWithPadding`),a=e((e,t,n,r,i)=>`${e-i} ${t-i} ${n} ${r}`,`createViewBox`);export{r as t};
1
+ import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t}from"./src-Cyu5G-Tr.js";import{c as n}from"./chunk-DU6HZSFF-CDmPCRkr.js";var r=e((e,r,o,s)=>{e.attr(`class`,o);let{width:c,height:l,x:u,y:d}=i(e,r);n(e,l,c,s);let f=a(u,d,c,l,r);e.attr(`viewBox`,f),t.debug(`viewBox configured: ${f} with padding: ${r}`)},`setupViewPortForSVG`),i=e((e,t)=>{let n=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:n.width+t*2,height:n.height+t*2,x:n.x,y:n.y}},`calculateDimensionsWithPadding`),a=e((e,t,n,r,i)=>`${e-i} ${t-i} ${n} ${r}`,`createViewBox`);export{r as t};
@@ -1 +1 @@
1
- import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t}from"./src-Cyu5G-Tr.js";import{b as n,z as r}from"./chunk-DU6HZSFF-BbUeHz2R.js";var i=Object.freeze({left:0,top:0,width:16,height:16}),a=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),o=Object.freeze({...i,...a}),s=Object.freeze({...o,body:``,hidden:!1}),c=Object.freeze({width:null,height:null}),l=Object.freeze({...c,...a}),u=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!d(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!d(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!d(e,n)?null:e}return null},d=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1;function f(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function p(e,t){let n=f(e,t);for(let r in s)r in a?r in e&&!(r in n)&&(n[r]=a[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function m(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(a),i}function h(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=p(r[e]||i[e],a)}return o(t),n.forEach(o),p(e,a)}function g(e,t){if(e.icons[t])return h(e,t,[]);let n=m(e,[t])[t];return n?h(e,t,n):null}var _=/(-?[0-9.]*[0-9]+[0-9.]*)/g,v=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function y(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(_);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=v.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function b(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function x(e,t){return e?`<defs>`+e+`</defs>`+t:t}function S(e,t,n){let r=b(e);return x(r.defs,t+r.content+n)}var C=e=>e===`unset`||e===`undefined`||e===`none`;function w(e,t){let n={...o,...e},r={...l,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`)}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=S(a,`<g transform="`+t.join(` `)+`">`,`</g>`))});let s=r.width,c=r.height,u=i.width,d=i.height,f,p;s===null?(p=c===null?`1em`:c===`auto`?d:c,f=y(p,u/d)):(f=s===`auto`?u:s,p=c===null?y(f,d/u):c===`auto`?d:c);let m={},h=(e,t)=>{C(t)||(m[e]=t.toString())};h(`width`,f),h(`height`,p);let g=[i.left,i.top,u,d];return m.viewBox=g.join(` `),{attributes:m,viewBox:g,body:a}}var T=/\sid="(\S+)"/g,E=new Map;function D(e){e=e.replace(/[0-9]+$/,``)||`a`;let t=E.get(e)||0;return E.set(e,t+1),t?`${e}${t}`:e}function O(e){let t=[],n;for(;n=T.exec(e);)t.push(n[1]);if(!t.length)return e;let r=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(t=>{let n=D(t),i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);e=e.replace(RegExp(`([#;"])(`+i+`)([")]|\\.[a-z])`,`g`),`$1`+n+r+`$3`)}),e=e.replace(new RegExp(r,`g`),``),e}function k(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}var A={body:`<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>`,height:80,width:80},j=new Map,M=new Map,N=e(e=>{for(let n of e){if(!n.name)throw Error(`Invalid icon loader. Must have a "name" property with non-empty string value.`);if(t.debug(`Registering icon pack:`,n.name),`loader`in n)M.set(n.name,n.loader);else if(`icons`in n)j.set(n.name,n.icons);else throw t.error(`Invalid icon loader:`,n),Error(`Invalid icon loader. Must have either "icons" or "loader" property.`)}},`registerIconPacks`),P=e(async(e,n)=>{let r=u(e,!0,n!==void 0);if(!r)throw Error(`Invalid icon name: ${e}`);let i=r.prefix||n;if(!i)throw Error(`Icon name must contain a prefix: ${e}`);let a=j.get(i);if(!a){let e=M.get(i);if(!e)throw Error(`Icon set not found: ${r.prefix}`);try{a={...await e(),prefix:i},j.set(i,a)}catch(e){throw t.error(e),Error(`Failed to load icon set: ${r.prefix}`)}}let o=g(a,r.name);if(!o)throw Error(`Icon not found: ${e}`);return o},`getRegisteredIconData`),F=e(async e=>{try{return await P(e),!0}catch{return!1}},`isIconAvailable`),I=e(async(e,i,a)=>{let o;try{o=await P(e,i?.fallbackPrefix)}catch(e){t.error(e),o=A}let s=w(o,i),c=k(O(s.body),{...s.attributes,...a});return r(c,n())},`getIconSVG`);export{A as i,F as n,N as r,I as t};
1
+ import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{t}from"./src-Cyu5G-Tr.js";import{b as n,z as r}from"./chunk-DU6HZSFF-CDmPCRkr.js";var i=Object.freeze({left:0,top:0,width:16,height:16}),a=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),o=Object.freeze({...i,...a}),s=Object.freeze({...o,body:``,hidden:!1}),c=Object.freeze({width:null,height:null}),l=Object.freeze({...c,...a}),u=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!d(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!d(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!d(e,n)?null:e}return null},d=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1;function f(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function p(e,t){let n=f(e,t);for(let r in s)r in a?r in e&&!(r in n)&&(n[r]=a[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function m(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(a),i}function h(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=p(r[e]||i[e],a)}return o(t),n.forEach(o),p(e,a)}function g(e,t){if(e.icons[t])return h(e,t,[]);let n=m(e,[t])[t];return n?h(e,t,n):null}var _=/(-?[0-9.]*[0-9]+[0-9.]*)/g,v=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function y(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(_);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=v.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function b(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function x(e,t){return e?`<defs>`+e+`</defs>`+t:t}function S(e,t,n){let r=b(e);return x(r.defs,t+r.content+n)}var C=e=>e===`unset`||e===`undefined`||e===`none`;function w(e,t){let n={...o,...e},r={...l,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`)}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=S(a,`<g transform="`+t.join(` `)+`">`,`</g>`))});let s=r.width,c=r.height,u=i.width,d=i.height,f,p;s===null?(p=c===null?`1em`:c===`auto`?d:c,f=y(p,u/d)):(f=s===`auto`?u:s,p=c===null?y(f,d/u):c===`auto`?d:c);let m={},h=(e,t)=>{C(t)||(m[e]=t.toString())};h(`width`,f),h(`height`,p);let g=[i.left,i.top,u,d];return m.viewBox=g.join(` `),{attributes:m,viewBox:g,body:a}}var T=/\sid="(\S+)"/g,E=new Map;function D(e){e=e.replace(/[0-9]+$/,``)||`a`;let t=E.get(e)||0;return E.set(e,t+1),t?`${e}${t}`:e}function O(e){let t=[],n;for(;n=T.exec(e);)t.push(n[1]);if(!t.length)return e;let r=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(t=>{let n=D(t),i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);e=e.replace(RegExp(`([#;"])(`+i+`)([")]|\\.[a-z])`,`g`),`$1`+n+r+`$3`)}),e=e.replace(new RegExp(r,`g`),``),e}function k(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}var A={body:`<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>`,height:80,width:80},j=new Map,M=new Map,N=e(e=>{for(let n of e){if(!n.name)throw Error(`Invalid icon loader. Must have a "name" property with non-empty string value.`);if(t.debug(`Registering icon pack:`,n.name),`loader`in n)M.set(n.name,n.loader);else if(`icons`in n)j.set(n.name,n.icons);else throw t.error(`Invalid icon loader:`,n),Error(`Invalid icon loader. Must have either "icons" or "loader" property.`)}},`registerIconPacks`),P=e(async(e,n)=>{let r=u(e,!0,n!==void 0);if(!r)throw Error(`Invalid icon name: ${e}`);let i=r.prefix||n;if(!i)throw Error(`Icon name must contain a prefix: ${e}`);let a=j.get(i);if(!a){let e=M.get(i);if(!e)throw Error(`Icon set not found: ${r.prefix}`);try{a={...await e(),prefix:i},j.set(i,a)}catch(e){throw t.error(e),Error(`Failed to load icon set: ${r.prefix}`)}}let o=g(a,r.name);if(!o)throw Error(`Icon not found: ${e}`);return o},`getRegisteredIconData`),F=e(async e=>{try{return await P(e),!0}catch{return!1}},`isIconAvailable`),I=e(async(e,i,a)=>{let o;try{o=await P(e,i?.fallbackPrefix)}catch(e){t.error(e),o=A}let s=w(o,i),c=k(O(s.body),{...s.attributes,...a});return r(c,n())},`getIconSVG`);export{A as i,F as n,N as r,I as t};