@inkeep/open-knowledge 0.68.0-beta.4 → 0.68.0-beta.5

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 (1171) hide show
  1. package/dist/THIRD_PARTY_NOTICES.md +18 -8
  2. package/dist/acp-harness-probe-DUeWL5mx.mjs +7 -0
  3. package/dist/cli.mjs +6 -6
  4. package/dist/constants-DwF8NFzb.mjs +2 -0
  5. package/dist/index.mjs +1 -1
  6. package/dist/init-DEo8ZaqM.mjs +1 -0
  7. package/dist/init-DQ-WzQ02.mjs +640 -0
  8. package/dist/launch-json-removal-D-VmCWV2.mjs +2 -0
  9. package/dist/loader-D_nQNFpM.mjs +2 -0
  10. package/dist/loader-yjntGu5A.mjs +1 -0
  11. package/dist/preview-BjTg5E-x.mjs +1 -0
  12. package/dist/preview-tU0YFwGW.mjs +3 -0
  13. package/dist/public/assets/ActivityModeContent-CTYc4r-M.js +1 -0
  14. package/dist/public/assets/AddPropertiesButton-BHzYZdaA.js +2 -0
  15. package/dist/public/assets/AgentDiffPane-CgDh65X-.js +2 -0
  16. package/dist/public/assets/AgentThreadClientBinder-BfzzW91s.js +1 -0
  17. package/dist/public/assets/AppMenubar-ByI-BInV.js +1 -0
  18. package/dist/public/assets/BugReportHistory-BFeDHqqW.js +1 -0
  19. package/dist/public/assets/BugReportHistoryDialog-BTq3iS9V.js +1 -0
  20. package/dist/public/assets/CodeMirrorEditor-UCMRAMCV-Cij7EZM1.js +1 -0
  21. package/dist/public/assets/CodeMirrorPropInput-CI296ELX.js +3 -0
  22. package/dist/public/assets/ConfigSharingInfoTooltip-DzKdlED6.js +1 -0
  23. package/dist/public/assets/ConsentDialogBody-e0bDGpfC.js +2 -0
  24. package/dist/public/assets/DiffViewBoundary-C_NVhw3Y.js +29 -0
  25. package/dist/public/assets/DocumentContext-Dc72CCLX.js +38 -0
  26. package/dist/public/assets/EditorModeToggle-c5TOBudF.js +1 -0
  27. package/dist/public/assets/EnableSyncConfirmDialog-DiSbCa-4.js +1 -0
  28. package/dist/public/assets/ExcalidrawDocEditor-BfA9dsWC.css +1 -0
  29. package/dist/public/assets/ExcalidrawDocEditor-DoDpRzmC.js +1 -0
  30. package/dist/public/assets/FeedbackForm-BUzq3_LW.js +1 -0
  31. package/dist/public/assets/GraphPanel-BUWA0D9J.js +44 -0
  32. package/dist/public/assets/ImportSkillDialog-CdC9Dc5x.js +1 -0
  33. package/dist/public/assets/LintConfigEditor-Bj_WTICg.js +1 -0
  34. package/dist/public/assets/ManagedArtifactProperties-CuGR3_vr.js +1 -0
  35. package/dist/public/assets/ManagedArtifactProperties-wYlXlIDm.js +1 -0
  36. package/dist/public/assets/McpConsentDialogBody-CS-c374d.js +1 -0
  37. package/dist/public/assets/Mermaid-mq736Zb_.js +2 -0
  38. package/dist/public/assets/MermaidDocEditor-ufgVBY_B.js +1 -0
  39. package/dist/public/assets/MultiFileDiff-B2LBKfyB.js +1 -0
  40. package/dist/public/assets/PropertyDisplayRow-BqncBWH_.js +2 -0
  41. package/dist/public/assets/RegisteredAgentIcon-5StNVeMK.js +1 -0
  42. package/dist/public/assets/ReportBugDialogBody-CmxYVKGf.js +3 -0
  43. package/dist/public/assets/ReportBugMenuTrigger-BTdzj2n4.js +2 -0
  44. package/dist/public/assets/RowDisclosure-8rxC_kc0.js +1 -0
  45. package/dist/public/assets/SchemaConfigEditor-JS9t3cVS.js +1 -0
  46. package/dist/public/assets/SessionsHost-DuRJyyf0.js +2 -0
  47. package/dist/public/assets/SettingsDialogBody-S8BOIyhs.js +12 -0
  48. package/dist/public/assets/ShareBranchSwitchDialog-4R7TrS-D.js +1 -0
  49. package/dist/public/assets/ShareReceiveDialog-Cmq2hZPb.js +1 -0
  50. package/dist/public/assets/ShareReceiveMissDialog-DHkouI0P.js +1 -0
  51. package/dist/public/assets/SkillCostValue-DHSmxhI-.js +1 -0
  52. package/dist/public/assets/SkillEditBanner-B27-_Aay.js +1 -0
  53. package/dist/public/assets/SkillForkDialog-BAZRmLVh.js +1 -0
  54. package/dist/public/assets/SkillInstallMenu-D_8pSxzw.js +2 -0
  55. package/dist/public/assets/SkillOriginInline-BSlC26uH.js +2 -0
  56. package/dist/public/assets/SkillToolbarControls-D7sBmfgp.js +1 -0
  57. package/dist/public/assets/SkillUpdateConflictDialog-AerOBYmk.js +1 -0
  58. package/dist/public/assets/SlidesToolbarControls-BxNx9-Fx.js +1 -0
  59. package/dist/public/assets/SourceEditor-Ck_ph2zm.js +1 -0
  60. package/dist/public/assets/TerminalPanel-uwQJYmWz.js +146 -0
  61. package/dist/public/assets/TerminalStartingNotice-DPZ5efWf.js +1 -0
  62. package/dist/public/assets/TerminalWindowApp-CMLGSKlU.js +1 -0
  63. package/dist/public/assets/TextDocEditor-BMniHrmA.js +1 -0
  64. package/dist/public/assets/ThemePicker-CrXM91f-.js +1 -0
  65. package/dist/public/assets/ThreadView-9Zn6djZ0.js +15 -0
  66. package/dist/public/assets/TimelineDiffPane-CNF7LQC7.js +2 -0
  67. package/dist/public/assets/abnfDiagram-N423BO3Z-CwGrBVLC.js +1 -0
  68. package/dist/public/assets/agent-diff-store-PmNFw1bf.js +1 -0
  69. package/dist/public/assets/alert-dialog-BFfs04J5.js +7 -0
  70. package/dist/public/assets/angular-html-Btpy0q0k.js +1 -0
  71. package/dist/public/assets/angular-ts-BrSzuuFU.js +1 -0
  72. package/dist/public/assets/apl-vFoMk9-0.js +1 -0
  73. package/dist/public/assets/ar-SA-PQUY64WN-PQbO-51L.js +10 -0
  74. package/dist/public/assets/arc-CQb2AKAx.js +1 -0
  75. package/dist/public/assets/architecture-TIHT7OUA-DQf3c3Hp.js +1 -0
  76. package/dist/public/assets/architectureDiagram-T3A2C74G-CeZuzYuu.js +36 -0
  77. package/dist/public/assets/arrow-up-right-BaKj0sfV.js +1 -0
  78. package/dist/public/assets/astro-DSlgGT8T.js +1 -0
  79. package/dist/public/assets/auth-state-cache-DvM3i1AO.js +11 -0
  80. package/dist/public/assets/az-AZ-OXJXL76K-CPmcszkd.js +1 -0
  81. package/dist/public/assets/bg-BG-W2GKIJDF-DQXDfygb.js +5 -0
  82. package/dist/public/assets/blade-DPk0NJyc.js +1 -0
  83. package/dist/public/assets/blockDiagram-VBNYF7ZC-DTHWQKwa.js +132 -0
  84. package/dist/public/assets/bn-BD-TGL7M4PJ-BpbZzobg.js +3 -0
  85. package/dist/public/assets/bn-IN-BKETKYEH-BpHvStrp.js +3 -0
  86. package/dist/public/assets/braces-BP2Hc0Kn.js +1 -0
  87. package/dist/public/assets/bsl-DJpyuoJk.js +1 -0
  88. package/dist/public/assets/bug-report-send-manager-TlhphH7d.js +1 -0
  89. package/dist/public/assets/c4Diagram-5PPSVZJV-CAqTarHG.js +10 -0
  90. package/dist/public/assets/ca-ES-LD5SCRVV-CmDj24r3.js +8 -0
  91. package/dist/public/assets/cairo-DhOjE0gg.js +1 -0
  92. package/dist/public/assets/calendar-EJgVmWKE.js +1 -0
  93. package/dist/public/assets/case-sensitive-CvV5vDMz.js +1 -0
  94. package/dist/public/assets/channel-BOJZt2df.js +1 -0
  95. package/dist/public/assets/check-D16atakQ.js +1 -0
  96. package/dist/public/assets/checkbox-Dm1F7ko3.js +1 -0
  97. package/dist/public/assets/chevron-down-DZvAgb7P.js +1 -0
  98. package/dist/public/assets/chevron-left-Y28NVO5d.js +1 -0
  99. package/dist/public/assets/chevron-right-ARd3H40k.js +1 -0
  100. package/dist/public/assets/chunk-2GRJ4B5K-wqPSGDf9.js +1 -0
  101. package/dist/public/assets/chunk-2Q5K7J3B-CImid_Y5.js +1 -0
  102. package/dist/public/assets/chunk-3NCLNEKW-RYrKXVY9.js +1 -0
  103. package/dist/public/assets/chunk-4I5QYGJK-B1LDTgE1.js +1 -0
  104. package/dist/public/assets/chunk-5FCAYU7R-qzd-GNjw.js +1 -0
  105. package/dist/public/assets/chunk-5HE753X5-CR-v6dSo.js +1 -0
  106. package/dist/public/assets/chunk-5JV3BV7I-C0xPk2sR.js +1 -0
  107. package/dist/public/assets/chunk-5RXB4S5H-DxeRek40.js +231 -0
  108. package/dist/public/assets/chunk-5TONJI2A-DrCWMBwq.js +2 -0
  109. package/dist/public/assets/chunk-5VM5RSS4-BpZ2-4D7.js +15 -0
  110. package/dist/public/assets/chunk-6Q2QTUOP-atEGPau_.js +88 -0
  111. package/dist/public/assets/chunk-7BUUIJ7U-DpTl4Qku.js +1 -0
  112. package/dist/public/assets/chunk-7XWMRXBY-BLUgKGIj.js +1 -0
  113. package/dist/public/assets/chunk-7Z6QIM7H-D-Ql3uYX.js +10 -0
  114. package/dist/public/assets/chunk-A66AFZZU-D5J-3i2I.js +7 -0
  115. package/dist/public/assets/chunk-BIQX33UG-Ba9Qln1u.js +1 -0
  116. package/dist/public/assets/chunk-BO2N2NFS-CUMnMIzo.js +103 -0
  117. package/dist/public/assets/chunk-CQNSW5MT-CmqFXg2y.js +1 -0
  118. package/dist/public/assets/chunk-CYSBUYHQ-Cnad-ODK.js +1 -0
  119. package/dist/public/assets/chunk-EMLP6XTP-FQ_kYmpD.js +1 -0
  120. package/dist/public/assets/chunk-FLYJHZSQ-fkBI-voi.js +12 -0
  121. package/dist/public/assets/chunk-GF5L2VYU-CisRraQN.js +206 -0
  122. package/dist/public/assets/chunk-I66GZJ75-XrvqIPtf.js +127 -0
  123. package/dist/public/assets/chunk-J7OUQ5F2-D7t-TW4G.js +2 -0
  124. package/dist/public/assets/chunk-JG7HCLWE-OBINelJQ.js +2 -0
  125. package/dist/public/assets/chunk-JQJVKLGR-DtfrgEAw.js +156 -0
  126. package/dist/public/assets/chunk-JWPE2WC7-MFNLYS6E.js +1 -0
  127. package/dist/public/assets/chunk-KBJHAD2P-DiSh-uZj.js +1 -0
  128. package/dist/public/assets/chunk-MOZMSUNE-BlEnH6km.js +1 -0
  129. package/dist/public/assets/chunk-NSK5VX7P-08Dpvd3E.js +2 -0
  130. package/dist/public/assets/chunk-OSBZ3O6U-4T4LnMTK.js +1 -0
  131. package/dist/public/assets/chunk-QBLGF6JB-BYuhTci9.js +1 -0
  132. package/dist/public/assets/chunk-QR6OTTB3-DDjrwmk8.js +62 -0
  133. package/dist/public/assets/chunk-R7FJI6CG-CyUcfBy5.js +1 -0
  134. package/dist/public/assets/chunk-RM4UPSZO-BW9bukOD.js +35 -0
  135. package/dist/public/assets/chunk-RYQCIY6F-CkLcwkxI.js +1 -0
  136. package/dist/public/assets/chunk-U6XO7XAA-CGgxECrs.js +2 -0
  137. package/dist/public/assets/chunk-UBXNYLIW-BuP-Qxfn.js +1 -0
  138. package/dist/public/assets/chunk-W5SLKNZC-faJAaoHC.js +1 -0
  139. package/dist/public/assets/chunk-WRU74C26-BVn6t_N8.js +70 -0
  140. package/dist/public/assets/chunk-XXDRQBXY-Bl1wINV6.js +1 -0
  141. package/dist/public/assets/chunk-YOTPTUD7-D8ww8CW9.js +1 -0
  142. package/dist/public/assets/chunk-Z5NKEFVG-DZPxFQZ5.js +22 -0
  143. package/dist/public/assets/chunk-ZIRB5QZD-BRs3I_C4.js +32 -0
  144. package/dist/public/assets/circle-alert-g-C_b-Ua.js +1 -0
  145. package/dist/public/assets/classDiagram-JCYQIIEL-VIlpegMN.js +1 -0
  146. package/dist/public/assets/classDiagram-v2-OCEON4UE-BXwQxF7i.js +1 -0
  147. package/dist/public/assets/cm-theme-BAUNpz80.js +1 -0
  148. package/dist/public/assets/cobol-DZLIeBCr.js +1 -0
  149. package/dist/public/assets/code-highlighter-impl-CX4PVgAd.js +1 -0
  150. package/dist/public/assets/coffee-Bl-kuNo5.js +1 -0
  151. package/dist/public/assets/comment-chips-Dc7VfDxa.js +5 -0
  152. package/dist/public/assets/config-provider-CgKzlU66.js +5 -0
  153. package/dist/public/assets/cose-bilkent-JH36ORCC-Cuo3l2a6.js +1 -0
  154. package/dist/public/assets/cpp-DUCrPMkz.js +1 -0
  155. package/dist/public/assets/crystal-DXp5UwgU.js +1 -0
  156. package/dist/public/assets/cs-CZ-OFPU5DBV-Ds-08Va-.js +7 -0
  157. package/dist/public/assets/cynefin-VYW2F7L2-6-5v50vu.js +1 -0
  158. package/dist/public/assets/cynefinDiagram-MW4NZA55-D-4AaXUd.js +62 -0
  159. package/dist/public/assets/da-DK-FRDJFYWF-CsgUAQup.js +2 -0
  160. package/dist/public/assets/dagre-B2bpbgWN.js +1 -0
  161. package/dist/public/assets/dagre-VZM6K2ZE-D_Cxd0x7.js +4 -0
  162. package/dist/public/assets/de-CH-ZG7H3QK3-B3tx2jwN.js +11 -0
  163. package/dist/public/assets/de-DE-SIJYH4IH-B25frTmW.js +11 -0
  164. package/dist/public/assets/diagram-7IWD3JNH-7etWbrc8.js +30 -0
  165. package/dist/public/assets/diagram-B4RE2ZJO-DC48tm0t.js +3 -0
  166. package/dist/public/assets/diagram-LBJQPF4R-CFNS_Ekj.js +24 -0
  167. package/dist/public/assets/diagram-Q27KOJAE-C4fM0My-.js +24 -0
  168. package/dist/public/assets/diagram-UB23O5K3-Cj_MQzv-.js +41 -0
  169. package/dist/public/assets/dialog-CCHt-oLh.js +5 -0
  170. package/dist/public/assets/dist-B2hqgN1j.js +19 -0
  171. package/dist/public/assets/dist-B4UQ1jHk.js +6 -0
  172. package/dist/public/assets/dist-BBgXXF91.js +23 -0
  173. package/dist/public/assets/dist-BHeX1K_T2.js +2 -0
  174. package/dist/public/assets/dist-BNAK9cIn.js +1 -0
  175. package/dist/public/assets/dist-BRn6V_mT.js +1 -0
  176. package/dist/public/assets/dist-BamsYfxi.js +1 -0
  177. package/dist/public/assets/dist-BjJaywqn.js +1 -0
  178. package/dist/public/assets/dist-CL8P8PlP.js +9 -0
  179. package/dist/public/assets/dist-CX_PO_27.js +1 -0
  180. package/dist/public/assets/dist-CdhSc3fp.js +124 -0
  181. package/dist/public/assets/dist-CrDOq41p.js +1 -0
  182. package/dist/public/assets/dist-CsTGDHWQ.js +1 -0
  183. package/dist/public/assets/dist-Cxq5_zBE.js +1 -0
  184. package/dist/public/assets/dist-DBMXz-r_.js +1 -0
  185. package/dist/public/assets/dist-DX3X9Ax9.js +1 -0
  186. package/dist/public/assets/dist-Dk_qlbA92.js +1 -0
  187. package/dist/public/assets/dist-lZ4I5dY3.js +1 -0
  188. package/dist/public/assets/dropdown-menu-DYfdElMl.js +1 -0
  189. package/dist/public/assets/ebnfDiagram-BXEA7PRR-C-3ZQEg7.js +1 -0
  190. package/dist/public/assets/edge-DbgzIVWE.js +1 -0
  191. package/dist/public/assets/el-GR-IEE2CGI2-CZsW5pmc.js +7 -0
  192. package/dist/public/assets/elixir-CnOfjrWJ.js +1 -0
  193. package/dist/public/assets/elm-RKFRpR0O.js +1 -0
  194. package/dist/public/assets/en-SJ2YIMFF-DKQt7L_V.js +1 -0
  195. package/dist/public/assets/erDiagram-JOGREHBK-DkEhhtGC.js +85 -0
  196. package/dist/public/assets/erb-Ca-ZfJbt.js +1 -0
  197. package/dist/public/assets/erlang-CAFUxeCA.js +1 -0
  198. package/dist/public/assets/es-ES-TVVPWKV5-B9eAG48C.js +12 -0
  199. package/dist/public/assets/eu-ES-CGBMFQDT-B5DdkkUE.js +8 -0
  200. package/dist/public/assets/eventmodeling-45OFAUF4-CVSrDnLq.js +1 -0
  201. package/dist/public/assets/excalidraw-scene-Beu7eb7a.js +1 -0
  202. package/dist/public/assets/eye-B_gavT2I.js +1 -0
  203. package/dist/public/assets/fa-IR-IE6XAPR4-CY6w2u0M.js +9 -0
  204. package/dist/public/assets/fi-FI-P7TKNHRM-DQ4Y7FW8.js +6 -0
  205. package/dist/public/assets/field-Dq4rVnNT.js +1 -0
  206. package/dist/public/assets/file-tree-adapter-BpMqjQeh.js +1 -0
  207. package/dist/public/assets/flowDiagram-UKHOOZJN-D4TYANY9.js +1 -0
  208. package/dist/public/assets/folder-config-api-BGqXA_Yc.js +1 -0
  209. package/dist/public/assets/folder-open-Do94fvzX.js +1 -0
  210. package/dist/public/assets/fortran-fixed-form-DAlbJzjA.js +1 -0
  211. package/dist/public/assets/fr-FR-QI2XZNT7-Crpp4QlF.js +12 -0
  212. package/dist/public/assets/fsharp-CBE1KNSz.js +1 -0
  213. package/dist/public/assets/ganttDiagram-PKOTCBZU-D1qR0KEc.js +292 -0
  214. package/dist/public/assets/gdresource-DOJHvlWP.js +1 -0
  215. package/dist/public/assets/git-branch-980jD05X.js +1 -0
  216. package/dist/public/assets/git-commit-aOiAcBdu.js +1 -0
  217. package/dist/public/assets/git-rebase-CPHs4Yke.js +1 -0
  218. package/dist/public/assets/gitGraph-TEB2WS4Q-C5MTJyNH.js +1 -0
  219. package/dist/public/assets/gitGraphDiagram-DS77QQ5N-DHsitZ-T.js +106 -0
  220. package/dist/public/assets/gl-ES-TLYCNOZZ-CdjTojN9.js +6 -0
  221. package/dist/public/assets/glimmer-js-CRXkc5JU.js +1 -0
  222. package/dist/public/assets/glimmer-ts-B6h9gbF_.js +1 -0
  223. package/dist/public/assets/glsl-BTs_reRo.js +1 -0
  224. package/dist/public/assets/graphlib-Dqsd0Abe.js +1 -0
  225. package/dist/public/assets/graphql-Bioh40CC.js +1 -0
  226. package/dist/public/assets/hack-DtbZ7zps.js +1 -0
  227. package/dist/public/assets/haml-CTpqIE1V.js +1 -0
  228. package/dist/public/assets/handlebars-BpIl_2f5.js +1 -0
  229. package/dist/public/assets/hash-DasvQ1cj.js +1 -0
  230. package/dist/public/assets/he-IL-ZX43XLGP-CyX54Gp-.js +9 -0
  231. package/dist/public/assets/hi-IN-UTYRMTUF-C51HcuG4.js +3 -0
  232. package/dist/public/assets/highlighted-body-OFNGDK62-ht6RVgg3.js +1 -0
  233. package/dist/public/assets/html-BAFrkEUa.js +1 -0
  234. package/dist/public/assets/html-derivative-D9AAuBSB.js +1 -0
  235. package/dist/public/assets/http-DFqHpt_G.js +1 -0
  236. package/dist/public/assets/hu-HU-AJOSEBW6-DkmNsRd4.js +3 -0
  237. package/dist/public/assets/hurl-BQx3hQVg.js +1 -0
  238. package/dist/public/assets/hxml-uKpDV52M.js +1 -0
  239. package/dist/public/assets/i18n-BDM0SfuE.js +1 -0
  240. package/dist/public/assets/id-ID-ETLTVG6C-5aQNBO4K.js +8 -0
  241. package/dist/public/assets/image-ZVKINSPA-CLWoH_Ud.js +1 -0
  242. package/dist/public/assets/index-BvzVFp9A.js +2204 -0
  243. package/dist/public/assets/info-A3ob83yN.js +1 -0
  244. package/dist/public/assets/info-DKCQHKI2-lSym2dWy.js +1 -0
  245. package/dist/public/assets/infoDiagram-6WML65LV-B_C8HD4U.js +2 -0
  246. package/dist/public/assets/input-group-DBosszKy.js +1 -0
  247. package/dist/public/assets/ishikawaDiagram-WSZJBQD7-D2IvtwFC.js +70 -0
  248. package/dist/public/assets/it-IT-B4B6TP6L-B6OILLSd.js +12 -0
  249. package/dist/public/assets/ja-JP-IYKVURR5-CCLPVj7t.js +12 -0
  250. package/dist/public/assets/jinja-7GLl-wfr.js +1 -0
  251. package/dist/public/assets/jison-DQCVmVOq.js +1 -0
  252. package/dist/public/assets/journeyDiagram-NVQOT4AX-C1II1aDP.js +139 -0
  253. package/dist/public/assets/julia-BVuRnTNO.js +1 -0
  254. package/dist/public/assets/just-BCI7I8i9.js +1 -0
  255. package/dist/public/assets/kaa-SE2BUIKX-D_BpPU6K.js +1 -0
  256. package/dist/public/assets/kab-KAB-Y3GLKXLR-B-15dZJS.js +4 -0
  257. package/dist/public/assets/kanban-definition-27J2QSJJ-BQ_6NSKf.js +89 -0
  258. package/dist/public/assets/kk-KZ-ABWUFVOH-Ws__Ogrv.js +1 -0
  259. package/dist/public/assets/km-KH-PCWDKPHP-BOMlJDFi.js +7 -0
  260. package/dist/public/assets/ko-KR-7JQDXKGM-BdgUUdAa.js +5 -0
  261. package/dist/public/assets/ku-TR-NAH2Q5B7-1bSkaN_S.js +6 -0
  262. package/dist/public/assets/latex-cM8HurNJ.js +1 -0
  263. package/dist/public/assets/launch-agent-thread-CYKu9e2m.js +1 -0
  264. package/dist/public/assets/launcher-selection-Q4ZIQ0VB.js +1 -0
  265. package/dist/public/assets/line-D6SOO9rv.js +1 -0
  266. package/dist/public/assets/linear-wPQKtCnF.js +1 -0
  267. package/dist/public/assets/lint-plugin-meta-BEuBahq9.js +1 -0
  268. package/dist/public/assets/liquid-BRV4ZLC1.js +1 -0
  269. package/dist/public/assets/list-plus-BXaFXlLg.js +1 -0
  270. package/dist/public/assets/local-menu-action-bus-CTOHR9LV.js +1 -0
  271. package/dist/public/assets/lt-LT-VQFYRSNQ-KtnJQAfz.js +3 -0
  272. package/dist/public/assets/lua-sCVHXsMO.js +1 -0
  273. package/dist/public/assets/lv-LV-T62VSYUM-D0O8E4eZ.js +4 -0
  274. package/dist/public/assets/map-DcHdMm3d.js +1 -0
  275. package/dist/public/assets/markdownlint-rule-browser-Dw2Ln--S.js +1 -0
  276. package/dist/public/assets/marko-Cs2EYUIK.js +1 -0
  277. package/dist/public/assets/maximize-2-DGaFLVum.js +1 -0
  278. package/dist/public/assets/mdc-CvIcrggy.js +1 -0
  279. package/dist/public/assets/mermaid-GHXKKRXX-DjWhl1pn.js +1 -0
  280. package/dist/public/assets/mermaid-parser.core-BAVMOY3Z.js +4 -0
  281. package/dist/public/assets/mermaid.core-CaqyUaRU.js +11 -0
  282. package/dist/public/assets/mermaid.core-Daw_cNlC.js +1 -0
  283. package/dist/public/assets/mindmap-definition-FAOFIHXS-1V_AbP5h.js +96 -0
  284. package/dist/public/assets/minus-O6IVpGJy.js +1 -0
  285. package/dist/public/assets/miss-dialog-store-Cj4KLsks.js +1 -0
  286. package/dist/public/assets/mr-IN-V4FHLCJE-C5fH6hQC.js +9 -0
  287. package/dist/public/assets/my-MM-E3SQ6E54-BGXs3N4n.js +1 -0
  288. package/dist/public/assets/nb-NO-MLNOFN5H-B0pEzSe0.js +8 -0
  289. package/dist/public/assets/nextflow-sU2c8xbA.js +1 -0
  290. package/dist/public/assets/nginx-bqL-y6OY.js +1 -0
  291. package/dist/public/assets/nim-6UUVq-Fj.js +1 -0
  292. package/dist/public/assets/nl-NL-D5L3ZV4M-Bxa3ZGio.js +13 -0
  293. package/dist/public/assets/nn-NO-NNHDGPKB-CAWT-HLo.js +4 -0
  294. package/dist/public/assets/now-Ekfly0gU.js +1 -0
  295. package/dist/public/assets/oc-FR-DWCRF55G-B6RHGNZ3.js +4 -0
  296. package/dist/public/assets/ordinal-DXfwmpMf.js +1 -0
  297. package/dist/public/assets/pa-IN-3JSAY44M-BoCSUyIq.js +4 -0
  298. package/dist/public/assets/package-sAzSJkP6.js +1 -0
  299. package/dist/public/assets/packet-7NZHBO7P-Cj6GOHbc.js +1 -0
  300. package/dist/public/assets/page-list-cache-D2uEX_G6.js +1 -0
  301. package/dist/public/assets/panel-right-open-D4enOyq7.js +1 -0
  302. package/dist/public/assets/paperclip-s2F4zVCC.js +1 -0
  303. package/dist/public/assets/pegDiagram-VL7TDLO6-CgpKv1Za.js +1 -0
  304. package/dist/public/assets/pending-receive-nav-store-CZWELP1p.js +1 -0
  305. package/dist/public/assets/percentages-ETZPVQEE-DY6QMX5N.js +1 -0
  306. package/dist/public/assets/perl-4F1SMmlk.js +1 -0
  307. package/dist/public/assets/php-BvC598Ja.js +1 -0
  308. package/dist/public/assets/pie-RZYD4A2V-CL7SW8XK.js +1 -0
  309. package/dist/public/assets/pieDiagram-7S7Q4E2Y-Dm6i3Pe4.js +39 -0
  310. package/dist/public/assets/pierre-theme-CQAERd6x.js +1376 -0
  311. package/dist/public/assets/pl-PL-ACURYKP3-GQxCZh8Y.js +12 -0
  312. package/dist/public/assets/prod-BzcoV_nJ.js +137 -0
  313. package/dist/public/assets/progress-Bcz6XuxC.js +9 -0
  314. package/dist/public/assets/project-paths-5B1myPxo.js +1 -0
  315. package/dist/public/assets/prop-types-BkTKnQXu.js +1 -0
  316. package/dist/public/assets/pt-BR-LOX7MLGD-wGFpzAj4.js +10 -0
  317. package/dist/public/assets/pt-PT-CZ2U2RFQ-DvKLUZVM.js +12 -0
  318. package/dist/public/assets/pug-D3oCQbst.js +1 -0
  319. package/dist/public/assets/qml-Cjm-DHU5.js +1 -0
  320. package/dist/public/assets/quadrantDiagram-CIZ2JOQS-oFdG2mrD.js +7 -0
  321. package/dist/public/assets/radar-I7S5WNFK-Mfok89Zx.js +1 -0
  322. package/dist/public/assets/railroad-3IZDKUUU-DBr1CHfI.js +1 -0
  323. package/dist/public/assets/railroad-abnf-AHOZXSZD-BItJV2go.js +1 -0
  324. package/dist/public/assets/railroad-ebnf-EBAXGLYW-l2BgVE5Z.js +1 -0
  325. package/dist/public/assets/railroad-peg-LSFZ7HO6-BYigVaia.js +1 -0
  326. package/dist/public/assets/railroadDiagram-AXF67PYL--QxzcfPm.js +1 -0
  327. package/dist/public/assets/razor-C76DVHJc.js +1 -0
  328. package/dist/public/assets/refresh-cw-BO3b6gLF.js +1 -0
  329. package/dist/public/assets/requirementDiagram-LRYGKXZP-RHMTqViv.js +84 -0
  330. package/dist/public/assets/ro-RO-2HECL2X6-DN6B4ALh.js +12 -0
  331. package/dist/public/assets/rst-LtFN2IyT.js +1 -0
  332. package/dist/public/assets/ru-RU-HAYNXO46-DUSY7aVD.js +10 -0
  333. package/dist/public/assets/ruby-C9bw36ef.js +1 -0
  334. package/dist/public/assets/sankeyDiagram-W5VNT64P-DddpCRdP.js +40 -0
  335. package/dist/public/assets/sas-DeeclxhY.js +1 -0
  336. package/dist/public/assets/scss-D5VAatXt.js +1 -0
  337. package/dist/public/assets/select-BL1z9P70.js +1 -0
  338. package/dist/public/assets/selection-context-hxGStP38.js +4 -0
  339. package/dist/public/assets/separator-DmmNuc_B.js +1 -0
  340. package/dist/public/assets/sequenceDiagram-SI44F4Z6-CtoLsO69.js +162 -0
  341. package/dist/public/assets/shaderlab-bEikNDr8.js +1 -0
  342. package/dist/public/assets/shellsession-Cvu_ojql.js +1 -0
  343. package/dist/public/assets/si-LK-W5KNS4H6-uOwuwocF.js +1 -0
  344. package/dist/public/assets/sizeCapture-X5ZJPWSS-LpDT2Zl9.js +1 -0
  345. package/dist/public/assets/sk-SK-7K2CFGDV-1kyGdWyX.js +7 -0
  346. package/dist/public/assets/sl-SI-OXV2QZWW-CIjw8ixJ.js +6 -0
  347. package/dist/public/assets/soy-CHaeJgu1.js +1 -0
  348. package/dist/public/assets/sparql-BE56Jwyw.js +1 -0
  349. package/dist/public/assets/spinner-By93kIxm.js +1 -0
  350. package/dist/public/assets/square-pen-DK8eXxpV.js +1 -0
  351. package/dist/public/assets/src-AID8LMTH.js +2 -0
  352. package/dist/public/assets/src-B5Uf_H4s.js +1 -0
  353. package/dist/public/assets/stata-C23QKhaM.js +1 -0
  354. package/dist/public/assets/stateDiagram-OKZ733FA-DxxGT47L.js +1 -0
  355. package/dist/public/assets/stateDiagram-v2-UEYNNEHI-DOvRLqD5.js +1 -0
  356. package/dist/public/assets/subset-shared.chunk-DgGRwKqB.js +1 -0
  357. package/dist/public/assets/subset-worker.chunk-DSwIMTnq.js +1 -0
  358. package/dist/public/assets/surrealql-DftfQ14v.js +1 -0
  359. package/dist/public/assets/sv-SE-JTOBZRGL-BiX2hVca.js +12 -0
  360. package/dist/public/assets/svelte-CMBKGfog.js +1 -0
  361. package/dist/public/assets/swimlanes-SLNWSIFB-CYbbcXGA.js +2 -0
  362. package/dist/public/assets/swimlanesDiagram-ULZ7WXOC-Bxm6ckJF.js +8 -0
  363. package/dist/public/assets/ta-IN-KFAVKXGT-DEOAmR7A.js +6 -0
  364. package/dist/public/assets/tag-pill-input-ORi2pYBF.js +1 -0
  365. package/dist/public/assets/target-navigation-intent-BE1C7c1m.js +1 -0
  366. package/dist/public/assets/telemetry-impl-VsKSwoCW.js +2 -0
  367. package/dist/public/assets/telemetry-startup-CqPO3R20.js +1 -0
  368. package/dist/public/assets/templ-D27XTJWZ.js +1 -0
  369. package/dist/public/assets/terminal-D4S9lNQf.js +1 -0
  370. package/dist/public/assets/terminal-cli-display-BBkrKOa9.js +1 -0
  371. package/dist/public/assets/terminal-launch-events-Che2grQr.js +1 -0
  372. package/dist/public/assets/terminal-telemetry-z_vfchja.js +1 -0
  373. package/dist/public/assets/tex-BwbHhfC3.js +1 -0
  374. package/dist/public/assets/text-viewer-languages-DE3Z2Ufk.js +2 -0
  375. package/dist/public/assets/th-TH-VDMSCPDL-BkeSIHBW.js +1 -0
  376. package/dist/public/assets/timeline-definition-Z64GVDOM-C4GzWBzu.js +120 -0
  377. package/dist/public/assets/tr-TR-CEZ6GX45-VN7jwMna.js +4 -0
  378. package/dist/public/assets/trash-2-Dxkzm2qO.js +1 -0
  379. package/dist/public/assets/treeView-QDETBFTQ-DBqzMCzp.js +1 -0
  380. package/dist/public/assets/treemap-6X3UGDF4-DUAoR8Ka.js +1 -0
  381. package/dist/public/assets/triangle-alert-CnzPFn6V.js +1 -0
  382. package/dist/public/assets/ts-tags-D4R-SeWh.js +1 -0
  383. package/dist/public/assets/twig-D8ZmVmQZ.js +1 -0
  384. package/dist/public/assets/typing-burst-detector-BY6dOLpb.js +8 -0
  385. package/dist/public/assets/uk-UA-Q3H3OXQC-ChSO21wE.js +6 -0
  386. package/dist/public/assets/undo-2-DXBUErQ5.js +1 -0
  387. package/dist/public/assets/uninstall-3URh0Jfo.js +1 -0
  388. package/dist/public/assets/use-activity-panel-DueILXKJ.js +1 -0
  389. package/dist/public/assets/use-live-xterm-theme-tJoPOgqZ.js +1 -0
  390. package/dist/public/assets/use-open-skill-CIPHnSEU.js +1 -0
  391. package/dist/public/assets/use-skill-origin-BCC3l5H8.js +1 -0
  392. package/dist/public/assets/use-skills-rVlSdbIJ.js +1 -0
  393. package/dist/public/assets/use-terminal-enabled-BfHLzUUx.js +1 -0
  394. package/dist/public/assets/use-timeline-entry-diff-Qs4mKP9p.js +6 -0
  395. package/dist/public/assets/uz-UZ-NGCSWWPX-CBUDUwYm.js +1 -0
  396. package/dist/public/assets/vennDiagram-T6HMQDX7-DJN2W4Pg.js +34 -0
  397. package/dist/public/assets/vi-VN-P3NDEVPS-D8Qyi_M6.js +7 -0
  398. package/dist/public/assets/vue-BMLp1n2Z.js +1 -0
  399. package/dist/public/assets/vue-html-D0xhFNLq.js +1 -0
  400. package/dist/public/assets/vue-vine-C8BGMRz4.js +1 -0
  401. package/dist/public/assets/wardley-OPB4EBWU-B1SlbErr.js +1 -0
  402. package/dist/public/assets/wardleyDiagram-T6FBY63Y-dmRQP1PB.js +78 -0
  403. package/dist/public/assets/wrench-X0fcm_5p.js +1 -0
  404. package/dist/public/assets/x-CAqepOgq.js +1 -0
  405. package/dist/public/assets/xml-CDd8lS6Y.js +1 -0
  406. package/dist/public/assets/xsl-DEZEUWOY.js +1 -0
  407. package/dist/public/assets/xychartDiagram-ELKLHX3M-BuKnXHvi.js +7 -0
  408. package/dist/public/assets/zh-CN-SS3O57GA-DvGe3XMm.js +11 -0
  409. package/dist/public/assets/zh-HK-LWJT3VCF-C7bZhVVR.js +1 -0
  410. package/dist/public/assets/zh-TW-VJXC72RT-BAPHxrLc.js +13 -0
  411. package/dist/public/excalidraw-assets/.copied-from-0.18.0-abeeaeb +1 -0
  412. package/dist/public/index.html +139 -136
  413. package/dist/public/uninstall.html +11 -11
  414. package/dist/repair-launch-json-RNigyk4W.mjs +2 -0
  415. package/dist/repair-mcp-configs-BtT8Lbga.mjs +2 -0
  416. package/dist/src-BUz9fjxZ.mjs +20 -0
  417. package/dist/src-Cy5VoLOj.mjs +1 -0
  418. package/dist/start-D2Ml6Fux.mjs +1 -0
  419. package/dist/start-DyaGf2IX.mjs +5 -0
  420. package/package.json +4 -4
  421. package/dist/acp-harness-probe-BCQF_Wqe.mjs +0 -7
  422. package/dist/constants-CUPK1Nhq.mjs +0 -2
  423. package/dist/init-C_bQtm1k.mjs +0 -1
  424. package/dist/init-DhJwjas0.mjs +0 -640
  425. package/dist/launch-json-removal-DlMv_FuJ.mjs +0 -2
  426. package/dist/loader-BfoTQ1EB.mjs +0 -1
  427. package/dist/loader-DRSJ58FX.mjs +0 -2
  428. package/dist/preview-1rFzZTHj.mjs +0 -1
  429. package/dist/preview-rFXSP134.mjs +0 -3
  430. package/dist/public/assets/ActivityModeContent-D7ND97Sf.js +0 -1
  431. package/dist/public/assets/AddPropertiesButton-Du7cPx8e.js +0 -2
  432. package/dist/public/assets/AgentDiffPane-BnU3EmuD.js +0 -2
  433. package/dist/public/assets/AgentThreadClientBinder-BVZs2iKR.js +0 -1
  434. package/dist/public/assets/AppMenubar-BMMMLBll.js +0 -1
  435. package/dist/public/assets/BugReportHistory-CqQkzIp_.js +0 -1
  436. package/dist/public/assets/BugReportHistoryDialog-Bt4xl3j1.js +0 -1
  437. package/dist/public/assets/CodeMirrorPropInput-CI2UjSwy.js +0 -3
  438. package/dist/public/assets/ConfigSharingInfoTooltip-DRyxWzh-.js +0 -1
  439. package/dist/public/assets/ConsentDialogBody-BfBusJ03.js +0 -2
  440. package/dist/public/assets/DiffViewBoundary-CSySINnF.js +0 -29
  441. package/dist/public/assets/DocumentContext-DRcYKC2_.js +0 -38
  442. package/dist/public/assets/EditorModeToggle-B5_ouxf5.js +0 -1
  443. package/dist/public/assets/EnableSyncConfirmDialog-BijFlTys.js +0 -1
  444. package/dist/public/assets/ExcalidrawDocEditor-D-nPTIm6.js +0 -1
  445. package/dist/public/assets/ExcalidrawDocEditor-D_O2bRP1.css +0 -1
  446. package/dist/public/assets/FeedbackForm-NRXGWGJR.js +0 -1
  447. package/dist/public/assets/GraphPanel-DuROwb0a.js +0 -44
  448. package/dist/public/assets/ImportSkillDialog-U7RNkRfx.js +0 -1
  449. package/dist/public/assets/LintConfigEditor-DEzA9_yi.js +0 -1
  450. package/dist/public/assets/ManagedArtifactProperties-BiZYBVvt.js +0 -1
  451. package/dist/public/assets/ManagedArtifactProperties-DzvaC_Mm.js +0 -1
  452. package/dist/public/assets/McpConsentDialogBody-DLJ4dIZG.js +0 -1
  453. package/dist/public/assets/Mermaid-DjoyXvsA.js +0 -2
  454. package/dist/public/assets/MermaidDocEditor-DOG0XSxR.js +0 -1
  455. package/dist/public/assets/MultiFileDiff-x2S3lKk7.js +0 -1
  456. package/dist/public/assets/PropertyDisplayRow-Bow1KBwy.js +0 -2
  457. package/dist/public/assets/RegisteredAgentIcon-DUuGkpy7.js +0 -1
  458. package/dist/public/assets/ReportBugDialogBody-BIm6WlxD.js +0 -3
  459. package/dist/public/assets/ReportBugMenuTrigger-DoGBeYEE.js +0 -2
  460. package/dist/public/assets/RowDisclosure-CGm5tQBO.js +0 -1
  461. package/dist/public/assets/SchemaConfigEditor-BOd1pvok.js +0 -1
  462. package/dist/public/assets/SessionsHost-C0rklikY.js +0 -2
  463. package/dist/public/assets/SettingsDialogBody-8wMbo28a.js +0 -12
  464. package/dist/public/assets/ShareBranchSwitchDialog-DTfMd-Zt.js +0 -1
  465. package/dist/public/assets/ShareReceiveDialog-gqs8hp-Z.js +0 -1
  466. package/dist/public/assets/ShareReceiveMissDialog-DoOCk5aK.js +0 -1
  467. package/dist/public/assets/SkillCostValue-L2mg5JGI.js +0 -1
  468. package/dist/public/assets/SkillEditBanner-DOe3ytaz.js +0 -1
  469. package/dist/public/assets/SkillForkDialog-CV8Ek7_i.js +0 -1
  470. package/dist/public/assets/SkillInstallMenu-BXCcAwxP.js +0 -2
  471. package/dist/public/assets/SkillOriginInline-BTyGTqC9.js +0 -2
  472. package/dist/public/assets/SkillToolbarControls-gCNvt2i-.js +0 -1
  473. package/dist/public/assets/SkillUpdateConflictDialog-DuNmOBYq.js +0 -1
  474. package/dist/public/assets/SlidesToolbarControls-BCinCcbI.js +0 -1
  475. package/dist/public/assets/SourceEditor-BgYbZLzD.js +0 -1
  476. package/dist/public/assets/TerminalPanel-50cICIBm.js +0 -146
  477. package/dist/public/assets/TerminalStartingNotice-BnwjxhV9.js +0 -1
  478. package/dist/public/assets/TerminalWindowApp-aw58Ws5Z.js +0 -1
  479. package/dist/public/assets/TextDocEditor-DKbLHlhL.js +0 -1
  480. package/dist/public/assets/ThemePicker-CinV_1Q2.js +0 -1
  481. package/dist/public/assets/ThreadView-0awrbjx3.js +0 -15
  482. package/dist/public/assets/TimelineDiffPane-BtDHFsCO.js +0 -2
  483. package/dist/public/assets/abnfDiagram-N423BO3Z-B-KUYSPU.js +0 -1
  484. package/dist/public/assets/agent-diff-store-RR_HllpC.js +0 -1
  485. package/dist/public/assets/alert-dialog-BEGcylJn.js +0 -7
  486. package/dist/public/assets/angular-html-n4ghLdMv.js +0 -1
  487. package/dist/public/assets/angular-ts-CzpCTj1V.js +0 -1
  488. package/dist/public/assets/apl-CRsp8rW9.js +0 -1
  489. package/dist/public/assets/ar-SA-G6X2FPQ2-DTMXAvms.js +0 -10
  490. package/dist/public/assets/arc-Dmhr4hLU.js +0 -1
  491. package/dist/public/assets/architecture-TIHT7OUA-CBK_7XPq.js +0 -1
  492. package/dist/public/assets/architectureDiagram-T3A2C74G-DuAU4K2G.js +0 -36
  493. package/dist/public/assets/arrow-up-right-BTi7mHwL.js +0 -1
  494. package/dist/public/assets/astro-0cQDdI42.js +0 -1
  495. package/dist/public/assets/auth-state-cache-DmRZVZw_.js +0 -11
  496. package/dist/public/assets/az-AZ-76LH7QW2-Bgju4xnA.js +0 -1
  497. package/dist/public/assets/bg-BG-XCXSNQG7-CP_1b6Sl.js +0 -5
  498. package/dist/public/assets/blade-C6EQouNV.js +0 -1
  499. package/dist/public/assets/blockDiagram-VBNYF7ZC-AAQ797XU.js +0 -132
  500. package/dist/public/assets/bn-BD-2XOGV67Q-VB6NuZ5C.js +0 -5
  501. package/dist/public/assets/braces-Bzye844v.js +0 -1
  502. package/dist/public/assets/bsl-Ckf_OQ92.js +0 -1
  503. package/dist/public/assets/bug-report-send-manager-B2keHEdm.js +0 -1
  504. package/dist/public/assets/c4Diagram-5PPSVZJV-BvX-A_6-.js +0 -10
  505. package/dist/public/assets/ca-ES-6MX7JW3Y-eyxaNjQO.js +0 -8
  506. package/dist/public/assets/cairo-Jb8feLWC.js +0 -1
  507. package/dist/public/assets/calendar-DqB9WX3l.js +0 -1
  508. package/dist/public/assets/case-sensitive-BwklrMJw.js +0 -1
  509. package/dist/public/assets/channel-BtqcvpKi.js +0 -1
  510. package/dist/public/assets/check-Dut4Aov8.js +0 -1
  511. package/dist/public/assets/checkbox-Dn4wpaYH.js +0 -1
  512. package/dist/public/assets/chevron-down-DNO3PgI_.js +0 -1
  513. package/dist/public/assets/chevron-left-Dhf0Sw0W.js +0 -1
  514. package/dist/public/assets/chevron-right-4mYNnAZZ.js +0 -1
  515. package/dist/public/assets/chunk-2GRJ4B5K-CmVhfGVx.js +0 -1
  516. package/dist/public/assets/chunk-2Q5K7J3B-B1sxq5S_.js +0 -1
  517. package/dist/public/assets/chunk-3NCLNEKW-s2aCRmuP.js +0 -1
  518. package/dist/public/assets/chunk-4I5QYGJK-C3fKZeMQ.js +0 -1
  519. package/dist/public/assets/chunk-5FCAYU7R-CSnaoxVz.js +0 -1
  520. package/dist/public/assets/chunk-5HE753X5-BnKL8Lpu.js +0 -1
  521. package/dist/public/assets/chunk-5JV3BV7I-ehkTe4Rv.js +0 -1
  522. package/dist/public/assets/chunk-5RXB4S5H-DWBgsYiy.js +0 -231
  523. package/dist/public/assets/chunk-5TONJI2A-CQQGqtGx.js +0 -2
  524. package/dist/public/assets/chunk-5VM5RSS4-DTPzAl4h.js +0 -15
  525. package/dist/public/assets/chunk-6Q2QTUOP-Bdiq9Vhp.js +0 -88
  526. package/dist/public/assets/chunk-6U3AYISY-Cil04UpZ.js +0 -12
  527. package/dist/public/assets/chunk-7BUUIJ7U-DGxdEC2T.js +0 -1
  528. package/dist/public/assets/chunk-7Z6QIM7H-DxTcyTdV.js +0 -10
  529. package/dist/public/assets/chunk-BIQX33UG-BHR2Rb1t.js +0 -1
  530. package/dist/public/assets/chunk-BO2N2NFS-CxPPjOHs.js +0 -103
  531. package/dist/public/assets/chunk-CQNSW5MT-CVGnRvcW.js +0 -1
  532. package/dist/public/assets/chunk-CYSBUYHQ-DWqDaswI.js +0 -1
  533. package/dist/public/assets/chunk-EIO257PC-CP2KSARU.js +0 -22
  534. package/dist/public/assets/chunk-EMLP6XTP-Ddj0zI-H.js +0 -1
  535. package/dist/public/assets/chunk-GF5L2VYU-D9p7fbeI.js +0 -206
  536. package/dist/public/assets/chunk-I66GZJ75-q2Pj0wYV.js +0 -127
  537. package/dist/public/assets/chunk-J7OUQ5F2-BWGb9t2L.js +0 -2
  538. package/dist/public/assets/chunk-JG7HCLWE-BCMCXubM.js +0 -2
  539. package/dist/public/assets/chunk-JQJVKLGR-BNcpRyOS.js +0 -156
  540. package/dist/public/assets/chunk-JWPE2WC7-oeJvnud1.js +0 -1
  541. package/dist/public/assets/chunk-K2UTITRG-DyZrDHf5.js +0 -35
  542. package/dist/public/assets/chunk-KBJHAD2P-CidJw9J7.js +0 -1
  543. package/dist/public/assets/chunk-MOZMSUNE-DZsIHwaM.js +0 -1
  544. package/dist/public/assets/chunk-NSK5VX7P-Ba98eesG.js +0 -2
  545. package/dist/public/assets/chunk-OSBZ3O6U-DdoGGZsg.js +0 -1
  546. package/dist/public/assets/chunk-QBLGF6JB-HzSE2r7m.js +0 -1
  547. package/dist/public/assets/chunk-QR6OTTB3-BoesuMke.js +0 -62
  548. package/dist/public/assets/chunk-R7FJI6CG-w-lZoGJq.js +0 -1
  549. package/dist/public/assets/chunk-RYQCIY6F-DAdE8PYU.js +0 -1
  550. package/dist/public/assets/chunk-U6XO7XAA-BHAbFsO0.js +0 -2
  551. package/dist/public/assets/chunk-UBXNYLIW-Cz1081DJ.js +0 -1
  552. package/dist/public/assets/chunk-W5SLKNZC-CdSz4Xzc.js +0 -1
  553. package/dist/public/assets/chunk-WRU74C26-Dhm0KT3r.js +0 -70
  554. package/dist/public/assets/chunk-XXDRQBXY-BK97jNt8.js +0 -1
  555. package/dist/public/assets/chunk-YOTPTUD7-HcnxfrwT.js +0 -1
  556. package/dist/public/assets/chunk-Z3N5DIM6-CEh54hBR.js +0 -1
  557. package/dist/public/assets/chunk-ZIRB5QZD-BSxQfUL9.js +0 -32
  558. package/dist/public/assets/chunk-ZUYEQ4TG-qbwUPqcX.js +0 -7
  559. package/dist/public/assets/circle-alert-b-E0_BIP.js +0 -1
  560. package/dist/public/assets/classDiagram-JCYQIIEL-Bka1xARG.js +0 -1
  561. package/dist/public/assets/classDiagram-v2-OCEON4UE-CnJyFv1f.js +0 -1
  562. package/dist/public/assets/cm-theme-CKEh-Eln.js +0 -1
  563. package/dist/public/assets/cobol-qDupnzyY.js +0 -1
  564. package/dist/public/assets/code-highlighter-impl-DrAqor5h.js +0 -1
  565. package/dist/public/assets/coffee-C0KdXDDu.js +0 -1
  566. package/dist/public/assets/comment-chips-BYso7Qp3.js +0 -5
  567. package/dist/public/assets/config-provider-BsNv9lD2.js +0 -5
  568. package/dist/public/assets/cose-bilkent-JH36ORCC-DI5IMOwg.js +0 -1
  569. package/dist/public/assets/cpp-CgZMslXi.js +0 -1
  570. package/dist/public/assets/crystal-CxwNVTCs.js +0 -1
  571. package/dist/public/assets/cs-CZ-2BRQDIVT-DtCkLHs2.js +0 -11
  572. package/dist/public/assets/cynefin-VYW2F7L2-DzKfauIm.js +0 -1
  573. package/dist/public/assets/cynefinDiagram-MW4NZA55-D2cWZWCw.js +0 -62
  574. package/dist/public/assets/da-DK-5WZEPLOC-2-goKUyz.js +0 -5
  575. package/dist/public/assets/dagre-D-Xa3Gc6.js +0 -1
  576. package/dist/public/assets/dagre-VZM6K2ZE-9Lju2zbP.js +0 -4
  577. package/dist/public/assets/de-DE-XR44H4JA-BmSMv8r9.js +0 -8
  578. package/dist/public/assets/diagram-7IWD3JNH-DEfveysg.js +0 -30
  579. package/dist/public/assets/diagram-B4RE2ZJO-DE-HTSHG.js +0 -3
  580. package/dist/public/assets/diagram-LBJQPF4R-Cc_1i0FO.js +0 -24
  581. package/dist/public/assets/diagram-Q27KOJAE-Y0RE3bcO.js +0 -24
  582. package/dist/public/assets/diagram-UB23O5K3-qwnU3QDe.js +0 -41
  583. package/dist/public/assets/dialog-doK3a8ht.js +0 -5
  584. package/dist/public/assets/directory-open-01563666-DGtvxLbi.js +0 -1
  585. package/dist/public/assets/directory-open-4ed118d0-D7oSshfB.js +0 -1
  586. package/dist/public/assets/dist-4gO3Qps8.js +0 -1
  587. package/dist/public/assets/dist-BsNrI_u8.js +0 -1
  588. package/dist/public/assets/dist-CSfohOIb.js +0 -1
  589. package/dist/public/assets/dist-CnImTB5w.js +0 -19
  590. package/dist/public/assets/dist-CytFe_JQ2.js +0 -2
  591. package/dist/public/assets/dist-CzV59-xP.js +0 -6
  592. package/dist/public/assets/dist-DEHRcQjN.js +0 -1
  593. package/dist/public/assets/dist-DYChjkrO.js +0 -1
  594. package/dist/public/assets/dist-Dowoza_r2.js +0 -1
  595. package/dist/public/assets/dist-Dpj3Mp6l.js +0 -9
  596. package/dist/public/assets/dist-DyRKWEAB.js +0 -23
  597. package/dist/public/assets/dist-HYojJaAI.js +0 -1
  598. package/dist/public/assets/dist-K7_GHmEZ.js +0 -1
  599. package/dist/public/assets/dist-o0yygciJ.js +0 -124
  600. package/dist/public/assets/dropdown-menu-CRvS0_4-.js +0 -1
  601. package/dist/public/assets/ebnfDiagram-BXEA7PRR-mHbksd3Q.js +0 -1
  602. package/dist/public/assets/edge-DEVpEU5f.js +0 -1
  603. package/dist/public/assets/el-GR-BZB4AONW-Bvp7NhWh.js +0 -10
  604. package/dist/public/assets/elixir-Dddfg7fp.js +0 -1
  605. package/dist/public/assets/elm-Ezo5Qpmw.js +0 -1
  606. package/dist/public/assets/en-B4ZKOASM-BDigjYND.js +0 -1
  607. package/dist/public/assets/erDiagram-JOGREHBK-BE2vvbCV.js +0 -85
  608. package/dist/public/assets/erb-BbTrcb1O.js +0 -1
  609. package/dist/public/assets/erlang-C2L8MrJZ.js +0 -1
  610. package/dist/public/assets/es-ES-U4NZUMDT-y_qZhd78.js +0 -9
  611. package/dist/public/assets/eu-ES-A7QVB2H4-CZZIy5p8.js +0 -11
  612. package/dist/public/assets/eventmodeling-45OFAUF4-C_NnCoan.js +0 -1
  613. package/dist/public/assets/excalidraw-env-B6p0xqTq.js +0 -1
  614. package/dist/public/assets/eye-7pio2q9G.js +0 -1
  615. package/dist/public/assets/fa-IR-HGAKTJCU-DyexZjX1.js +0 -8
  616. package/dist/public/assets/fi-FI-Z5N7JZ37-Dm0hPjRy.js +0 -6
  617. package/dist/public/assets/field-BaLAHDGw.js +0 -1
  618. package/dist/public/assets/file-open-002ab408-BBIapLFV.js +0 -1
  619. package/dist/public/assets/file-open-7c801643-DyDehGip.js +0 -1
  620. package/dist/public/assets/file-save-3189631c-CVC1pHfx.js +0 -1
  621. package/dist/public/assets/file-save-745eba88-BmKUJrEh.js +0 -1
  622. package/dist/public/assets/file-tree-adapter-DLzyCG31.js +0 -1
  623. package/dist/public/assets/flowDiagram-UKHOOZJN-BVFlnqrU.js +0 -1
  624. package/dist/public/assets/folder-config-api-DLUlLOYx.js +0 -1
  625. package/dist/public/assets/folder-open-K9GIY2oQ.js +0 -1
  626. package/dist/public/assets/fortran-fixed-form-D4oHoC4Z.js +0 -1
  627. package/dist/public/assets/fr-FR-RHASNOE6-CzP_eMz2.js +0 -9
  628. package/dist/public/assets/fsharp-DvrdmLri.js +0 -1
  629. package/dist/public/assets/ganttDiagram-PKOTCBZU-BL-h9ZLt.js +0 -292
  630. package/dist/public/assets/gdresource-5mVFz0Eb.js +0 -1
  631. package/dist/public/assets/git-branch-3CSRgL0o.js +0 -1
  632. package/dist/public/assets/git-commit-BDmva5Kx.js +0 -1
  633. package/dist/public/assets/git-rebase-DuzI7-Xg.js +0 -1
  634. package/dist/public/assets/gitGraph-TEB2WS4Q-CrFDBA93.js +0 -1
  635. package/dist/public/assets/gitGraphDiagram-DS77QQ5N-6OfC9jpd.js +0 -106
  636. package/dist/public/assets/gl-ES-HMX3MZ6V-C72V_f-p.js +0 -10
  637. package/dist/public/assets/glimmer-js-CIDYxv0B.js +0 -1
  638. package/dist/public/assets/glimmer-ts-B8KcZgpW.js +0 -1
  639. package/dist/public/assets/glsl-qRqAIeL8.js +0 -1
  640. package/dist/public/assets/graphlib-D5Xap45B.js +0 -1
  641. package/dist/public/assets/graphql-iOihbM3S.js +0 -1
  642. package/dist/public/assets/hack-DSvxjw6w.js +0 -1
  643. package/dist/public/assets/haml-BAfr11pv.js +0 -1
  644. package/dist/public/assets/handlebars-Dv_nCNRv.js +0 -1
  645. package/dist/public/assets/hash-C3Mmwaez.js +0 -1
  646. package/dist/public/assets/he-IL-6SHJWFNN-Ccsx5CW-.js +0 -10
  647. package/dist/public/assets/hi-IN-IWLTKZ5I-BcBEzuOU.js +0 -4
  648. package/dist/public/assets/highlighted-body-OFNGDK62-G37OWDlt.js +0 -1
  649. package/dist/public/assets/html-BsOt9JL6.js +0 -1
  650. package/dist/public/assets/html-derivative-6fcHg2t5.js +0 -1
  651. package/dist/public/assets/http-DWhZU72_.js +0 -1
  652. package/dist/public/assets/hu-HU-A5ZG7DT2-DaLwtcEO.js +0 -7
  653. package/dist/public/assets/hurl-DCR0HhW_.js +0 -1
  654. package/dist/public/assets/hxml-CeiyPsue.js +0 -1
  655. package/dist/public/assets/i18n-BIMzqHOM.js +0 -1
  656. package/dist/public/assets/id-ID-SAP4L64H-DbEGNj8P.js +0 -10
  657. package/dist/public/assets/image-GAAHSSAO-BubRrNLy.js +0 -1
  658. package/dist/public/assets/index-CPc92gE3.js +0 -2204
  659. package/dist/public/assets/info-DKCQHKI2-Cig1XpPF.js +0 -1
  660. package/dist/public/assets/info-GFoSMANR.js +0 -1
  661. package/dist/public/assets/infoDiagram-6WML65LV-UvmcrE2B.js +0 -2
  662. package/dist/public/assets/input-group-DaPqG5Sr.js +0 -1
  663. package/dist/public/assets/ishikawaDiagram-WSZJBQD7-wXQiCK3m.js +0 -70
  664. package/dist/public/assets/it-IT-JPQ66NNP-HE90_52I.js +0 -11
  665. package/dist/public/assets/ja-JP-DBVTYXUO-CndnBIwt.js +0 -8
  666. package/dist/public/assets/jinja-DUqrW4s-.js +0 -1
  667. package/dist/public/assets/jison-ByjfMFjX.js +0 -1
  668. package/dist/public/assets/journeyDiagram-NVQOT4AX-DOveFCSQ.js +0 -139
  669. package/dist/public/assets/julia-DyTfkFvV.js +0 -1
  670. package/dist/public/assets/just-B6gk73UZ.js +0 -1
  671. package/dist/public/assets/kaa-6HZHGXH3-BWKVr1KV.js +0 -1
  672. package/dist/public/assets/kab-KAB-ZGHBKWFO-D2l9Vo7B.js +0 -8
  673. package/dist/public/assets/kanban-definition-27J2QSJJ-LpbNOEtT.js +0 -89
  674. package/dist/public/assets/kk-KZ-P5N5QNE5-6C8OO3Pg.js +0 -1
  675. package/dist/public/assets/km-KH-HSX4SM5Z-iGFSAhvM.js +0 -11
  676. package/dist/public/assets/ko-KR-MTYHY66A-Dtr9UZPc.js +0 -9
  677. package/dist/public/assets/ku-TR-6OUDTVRD-Dpwjkpg9.js +0 -9
  678. package/dist/public/assets/latex-CbC-qiB_.js +0 -1
  679. package/dist/public/assets/launch-agent-thread-CwgqC9Cf.js +0 -1
  680. package/dist/public/assets/launcher-selection-CY4K2SKu.js +0 -1
  681. package/dist/public/assets/line-C32woA7D.js +0 -1
  682. package/dist/public/assets/linear-CAd94h8_.js +0 -1
  683. package/dist/public/assets/lint-plugin-meta-LEBWvINg.js +0 -1
  684. package/dist/public/assets/liquid-VWGE9my3.js +0 -1
  685. package/dist/public/assets/list-plus-9clHli3G.js +0 -1
  686. package/dist/public/assets/local-menu-action-bus-BLEUyEvu.js +0 -1
  687. package/dist/public/assets/lt-LT-XHIRWOB4-CgngbLaB.js +0 -3
  688. package/dist/public/assets/lua-B9eZaovI.js +0 -1
  689. package/dist/public/assets/lv-LV-5QDEKY6T-26eo7M32.js +0 -7
  690. package/dist/public/assets/map-Ctmwineq.js +0 -1
  691. package/dist/public/assets/markdownlint-rule-browser-D-ssSunq.js +0 -1
  692. package/dist/public/assets/marko-CGKBfJS1.js +0 -1
  693. package/dist/public/assets/maximize-2-CGTtVjw-.js +0 -1
  694. package/dist/public/assets/mdc-D9LrNFnV.js +0 -1
  695. package/dist/public/assets/mermaid-GHXKKRXX-ZHusC0xw.js +0 -1
  696. package/dist/public/assets/mermaid-parser.core-8vGdIoe3.js +0 -4
  697. package/dist/public/assets/mermaid.core-81do77ZV.js +0 -11
  698. package/dist/public/assets/mermaid.core-Da6fpOcw.js +0 -1
  699. package/dist/public/assets/mindmap-definition-FAOFIHXS-BQMxiXIk.js +0 -96
  700. package/dist/public/assets/minus-DAXWIxbJ.js +0 -1
  701. package/dist/public/assets/miss-dialog-store-C2psV7qs.js +0 -1
  702. package/dist/public/assets/mr-IN-CRQNXWMA-DVkrZJVd.js +0 -13
  703. package/dist/public/assets/my-MM-5M5IBNSE-DG5YfvWi.js +0 -1
  704. package/dist/public/assets/nb-NO-T6EIAALU-DyeNjgrr.js +0 -10
  705. package/dist/public/assets/nextflow-S6gN2Pag.js +0 -1
  706. package/dist/public/assets/nginx-Ci-HxEmt.js +0 -1
  707. package/dist/public/assets/nim-C8hsUA-U.js +0 -1
  708. package/dist/public/assets/nl-NL-IS3SIHDZ-CXLEbUpA.js +0 -8
  709. package/dist/public/assets/nn-NO-6E72VCQL-aZby_DEw.js +0 -8
  710. package/dist/public/assets/now-CIY4UY2e.js +0 -1
  711. package/dist/public/assets/oc-FR-POXYY2M6-CAHceWO9.js +0 -8
  712. package/dist/public/assets/ordinal-Cz6Oq_bl.js +0 -1
  713. package/dist/public/assets/pa-IN-N4M65BXN-hy4lc5is.js +0 -4
  714. package/dist/public/assets/package-B-HM4QAu.js +0 -1
  715. package/dist/public/assets/packet-7NZHBO7P-CEQrghMB.js +0 -1
  716. package/dist/public/assets/page-list-cache-CC7R8dLi.js +0 -1
  717. package/dist/public/assets/panel-right-open-CGSjfNrM.js +0 -1
  718. package/dist/public/assets/paperclip-CKCMhpaY.js +0 -1
  719. package/dist/public/assets/pegDiagram-VL7TDLO6-ux59hwLa.js +0 -1
  720. package/dist/public/assets/pending-receive-nav-store-BI6OXY6F.js +0 -1
  721. package/dist/public/assets/percentages-BXMCSKIN-CI9m-eWX.js +0 -1
  722. package/dist/public/assets/perl-sjkijjWb.js +0 -1
  723. package/dist/public/assets/php--bRl7pTD.js +0 -1
  724. package/dist/public/assets/pie-RZYD4A2V-DBU37-sc.js +0 -1
  725. package/dist/public/assets/pieDiagram-7S7Q4E2Y-CLJbjO27.js +0 -39
  726. package/dist/public/assets/pierre-theme-BP0UI9YU.js +0 -1376
  727. package/dist/public/assets/pl-PL-T2D74RX3-CvkPhdVM.js +0 -9
  728. package/dist/public/assets/prod-Bsto2GJy.js +0 -109
  729. package/dist/public/assets/progress-jHfi_nyR.js +0 -9
  730. package/dist/public/assets/project-paths-DdET6gZ9.js +0 -1
  731. package/dist/public/assets/prop-types--7tSQuV6.js +0 -1
  732. package/dist/public/assets/pt-BR-5N22H2LF-BQdH8DS3.js +0 -9
  733. package/dist/public/assets/pt-PT-UZXXM6DQ-DPpz1SbK.js +0 -9
  734. package/dist/public/assets/pug-COTJchGu.js +0 -1
  735. package/dist/public/assets/qml-9tiv6IqZ.js +0 -1
  736. package/dist/public/assets/quadrantDiagram-CIZ2JOQS-BHvBTIYM.js +0 -7
  737. package/dist/public/assets/radar-I7S5WNFK-BurhDVxf.js +0 -1
  738. package/dist/public/assets/railroad-3IZDKUUU-g8mzrJmo.js +0 -1
  739. package/dist/public/assets/railroad-abnf-AHOZXSZD-DPqknkFw.js +0 -1
  740. package/dist/public/assets/railroad-ebnf-EBAXGLYW-U_lHOkoE.js +0 -1
  741. package/dist/public/assets/railroad-peg-LSFZ7HO6-f2k0ZR8P.js +0 -1
  742. package/dist/public/assets/railroadDiagram-AXF67PYL-Dz6_ITL0.js +0 -1
  743. package/dist/public/assets/razor-CtL2ZS-q.js +0 -1
  744. package/dist/public/assets/refresh-cw-DZ0cLdZU.js +0 -1
  745. package/dist/public/assets/requirementDiagram-LRYGKXZP-B6IWs5aN.js +0 -84
  746. package/dist/public/assets/ro-RO-JPDTUUEW-CmvUoq1j.js +0 -11
  747. package/dist/public/assets/rst-Blfp3q-K.js +0 -1
  748. package/dist/public/assets/ru-RU-B4JR7IUQ-aSDMvTVA.js +0 -9
  749. package/dist/public/assets/ruby-BMlLTbYD.js +0 -1
  750. package/dist/public/assets/sankeyDiagram-W5VNT64P-z2OTWArg.js +0 -40
  751. package/dist/public/assets/sas-CVkF3NvP.js +0 -1
  752. package/dist/public/assets/scss-B7QgXkYM.js +0 -1
  753. package/dist/public/assets/select-XEGYznMI.js +0 -1
  754. package/dist/public/assets/selection-context-CMtvsI7U.js +0 -4
  755. package/dist/public/assets/separator-C6x7j8mC.js +0 -1
  756. package/dist/public/assets/sequenceDiagram-SI44F4Z6-DhzIlSIY.js +0 -162
  757. package/dist/public/assets/shaderlab-B_5EKyWv.js +0 -1
  758. package/dist/public/assets/shellsession-p2CcXHX2.js +0 -1
  759. package/dist/public/assets/si-LK-N5RQ5JYF-kTqEMzDW.js +0 -1
  760. package/dist/public/assets/sizeCapture-X5ZJPWSS-Cu13xTQD.js +0 -1
  761. package/dist/public/assets/sk-SK-C5VTKIMK-Wr_e7Rcf.js +0 -6
  762. package/dist/public/assets/sl-SI-NN7IZMDC-D6VZ17Bs.js +0 -6
  763. package/dist/public/assets/soy-DWWkDlnP.js +0 -1
  764. package/dist/public/assets/sparql-w_hAf98A.js +0 -1
  765. package/dist/public/assets/spinner-BY5pJxJc.js +0 -1
  766. package/dist/public/assets/square-pen-VQxtgU7b.js +0 -1
  767. package/dist/public/assets/src-DjJ3hkaN.js +0 -1
  768. package/dist/public/assets/src-trBwwFl8.js +0 -2
  769. package/dist/public/assets/stata-2LyUuRsx.js +0 -1
  770. package/dist/public/assets/stateDiagram-OKZ733FA-CD4IJ_xK.js +0 -1
  771. package/dist/public/assets/stateDiagram-v2-UEYNNEHI-CUkm_7_i.js +0 -1
  772. package/dist/public/assets/subset-shared.chunk-BD7P103Y.js +0 -1
  773. package/dist/public/assets/subset-worker.chunk-DCAA0_Vp.js +0 -1
  774. package/dist/public/assets/surrealql-CqEv8gEG.js +0 -1
  775. package/dist/public/assets/sv-SE-XGPEYMSR-CdJ22G8j.js +0 -10
  776. package/dist/public/assets/svelte-C7wChqpk.js +0 -1
  777. package/dist/public/assets/swimlanes-SLNWSIFB-DcpSJSjr.js +0 -2
  778. package/dist/public/assets/swimlanesDiagram-ULZ7WXOC-Dnj1Erf6.js +0 -8
  779. package/dist/public/assets/ta-IN-2NMHFXQM-Ctx-wWpk.js +0 -9
  780. package/dist/public/assets/tag-pill-input-D1--PoWq.js +0 -1
  781. package/dist/public/assets/target-navigation-intent-C5w8bAt9.js +0 -1
  782. package/dist/public/assets/telemetry-impl-gYTHzJW-.js +0 -2
  783. package/dist/public/assets/telemetry-startup-ckMzeDLV.js +0 -1
  784. package/dist/public/assets/templ-BjhNsuXH.js +0 -1
  785. package/dist/public/assets/terminal-D4HSnHXf.js +0 -1
  786. package/dist/public/assets/terminal-cli-display-CIQ1ixu-.js +0 -1
  787. package/dist/public/assets/terminal-launch-events-CTZtJmKB.js +0 -1
  788. package/dist/public/assets/terminal-telemetry-Li-mcc_T.js +0 -1
  789. package/dist/public/assets/tex-B7RebxEe.js +0 -1
  790. package/dist/public/assets/text-viewer-languages-CQTvnrPA.js +0 -2
  791. package/dist/public/assets/th-TH-HPSO5L25-cI2IrCuR.js +0 -2
  792. package/dist/public/assets/timeline-definition-Z64GVDOM-BPyOiBf9.js +0 -120
  793. package/dist/public/assets/tr-TR-DEFEU3FU-opXQwv0x.js +0 -7
  794. package/dist/public/assets/trash-2-HHPbIvfD.js +0 -1
  795. package/dist/public/assets/treeView-QDETBFTQ-DViAhb4S.js +0 -1
  796. package/dist/public/assets/treemap-6X3UGDF4-Xb6GUWf1.js +0 -1
  797. package/dist/public/assets/triangle-alert-BacEvDZF.js +0 -1
  798. package/dist/public/assets/ts-tags-BhlXGVAw.js +0 -1
  799. package/dist/public/assets/twig-BsTbWmg7.js +0 -1
  800. package/dist/public/assets/typing-burst-detector-Cfq0i_g7.js +0 -8
  801. package/dist/public/assets/uk-UA-QMV73CPH-BY-Nidtr.js +0 -6
  802. package/dist/public/assets/undo-2-E_jsrA9n.js +0 -1
  803. package/dist/public/assets/uninstall-B1WlSLkL.js +0 -1
  804. package/dist/public/assets/use-activity-panel-nFt7qmvr.js +0 -1
  805. package/dist/public/assets/use-live-xterm-theme-BV0348jo.js +0 -1
  806. package/dist/public/assets/use-open-skill-DOFvlGv5.js +0 -1
  807. package/dist/public/assets/use-skill-origin-Hzaac0kP.js +0 -1
  808. package/dist/public/assets/use-skills-C41QewGQ.js +0 -1
  809. package/dist/public/assets/use-terminal-enabled-DfmVSqqv.js +0 -1
  810. package/dist/public/assets/use-timeline-entry-diff-viQ4jB-I.js +0 -6
  811. package/dist/public/assets/vennDiagram-T6HMQDX7-cAKZTGwX.js +0 -34
  812. package/dist/public/assets/vi-VN-M7AON7JQ-C2TbAh0D.js +0 -5
  813. package/dist/public/assets/vue-D88xOGOv.js +0 -1
  814. package/dist/public/assets/vue-html-BkZfX-7b.js +0 -1
  815. package/dist/public/assets/vue-vine-dychJqAM.js +0 -1
  816. package/dist/public/assets/wardley-OPB4EBWU-D9e6vi55.js +0 -1
  817. package/dist/public/assets/wardleyDiagram-T6FBY63Y-ByNfnshh.js +0 -78
  818. package/dist/public/assets/wrench-0VSsjkY8.js +0 -1
  819. package/dist/public/assets/x-CteY0nHf.js +0 -1
  820. package/dist/public/assets/xml-CllYRSXm.js +0 -1
  821. package/dist/public/assets/xsl-C6TjKenw.js +0 -1
  822. package/dist/public/assets/xychartDiagram-ELKLHX3M-BJWhjjyM.js +0 -7
  823. package/dist/public/assets/zh-CN-LNUGB5OW-CSTNkYQT.js +0 -10
  824. package/dist/public/assets/zh-HK-E62DVLB3-CRmzsGyc.js +0 -1
  825. package/dist/public/assets/zh-TW-RAJ6MFWO-By_r83Se.js +0 -9
  826. package/dist/public/excalidraw-assets/.copied-from-0.18.1 +0 -1
  827. package/dist/repair-launch-json-CvdaDHA0.mjs +0 -2
  828. package/dist/repair-mcp-configs-zTpAejtY.mjs +0 -2
  829. package/dist/src-B1QuXwmT.mjs +0 -20
  830. package/dist/src-B2DS0zUj.mjs +0 -1
  831. package/dist/start-B46Ml5s1.mjs +0 -5
  832. package/dist/start-Texf6CFL.mjs +0 -1
  833. /package/dist/public/assets/{ActivityPanelDiffView-B_ukaP-y.js → ActivityPanelDiffView-BAloNqfo.js} +0 -0
  834. /package/dist/public/assets/{SkillModeBanner-DIz5Twrd.js → SkillModeBanner-BjusWgkL.js} +0 -0
  835. /package/dist/public/assets/{__vite-browser-external-BrPh1PNv.js → __vite-browser-external-Bk_TL8Am.js} +0 -0
  836. /package/dist/public/assets/{abap-Dvih5Jjx.js → abap-B7F_Y6dg.js} +0 -0
  837. /package/dist/public/assets/{actionscript-3-nhdaN_K9.js → actionscript-3-CqxzDtzN.js} +0 -0
  838. /package/dist/public/assets/{ada-CBUAtG1u.js → ada-CIijJOPY.js} +0 -0
  839. /package/dist/public/assets/{agent-presence-d6bnVPHl.js → agent-presence-BFDnO46z.js} +0 -0
  840. /package/dist/public/assets/{andromeeda-DefWKyap.js → andromeeda-Rf_hXaRf.js} +0 -0
  841. /package/dist/public/assets/{apache-D0XPvvwH.js → apache-BRikmsZ7.js} +0 -0
  842. /package/dist/public/assets/{apex-UAODApVK.js → apex-bgxkKNLa.js} +0 -0
  843. /package/dist/public/assets/{app-menubar-gate-LayRlZaH.js → app-menubar-gate-Cv0nKfPN.js} +0 -0
  844. /package/dist/public/assets/{applescript-Db4AITcV.js → applescript-Bzri2MxM.js} +0 -0
  845. /package/dist/public/assets/{ara-E8P1gVmT.js → ara-NDWIZniF.js} +0 -0
  846. /package/dist/public/assets/{array-CYcNQv0r.js → array-DNx71GJU.js} +0 -0
  847. /package/dist/public/assets/{asciidoc-BiByQX-D.js → asciidoc-DLdJTvyP.js} +0 -0
  848. /package/dist/public/assets/{asm-C3k7JPeo.js → asm-CbL-kigb.js} +0 -0
  849. /package/dist/public/assets/{aurora-x-DQ5pBHKR.js → aurora-x-CMLKGxJw.js} +0 -0
  850. /package/dist/public/assets/{auth-prompt-store-jon9eRIn.js → auth-prompt-store-BPHueNTO.js} +0 -0
  851. /package/dist/public/assets/{awk-B0gRaS6e.js → awk--d9kl0b1.js} +0 -0
  852. /package/dist/public/assets/{ayu-dark-CiOXzLYb.js → ayu-dark-B-kbm2t5.js} +0 -0
  853. /package/dist/public/assets/{ayu-light-BWGWIvJb.js → ayu-light-BSrxRMQV.js} +0 -0
  854. /package/dist/public/assets/{ayu-mirage-CGkChjR8.js → ayu-mirage-D5Z5ARt9.js} +0 -0
  855. /package/dist/public/assets/{badge-BRSw5Y8U.js → badge-DXNaFLJT.js} +0 -0
  856. /package/dist/public/assets/{ballerina-BAH22tUM.js → ballerina-CN4G9Cmy.js} +0 -0
  857. /package/dist/public/assets/{bat-QFpSaaph.js → bat--lZWNGXT.js} +0 -0
  858. /package/dist/public/assets/{beancount-o0D9a_jI.js → beancount-DCzA_G5O.js} +0 -0
  859. /package/dist/public/assets/{berry-CWHkqfBI.js → berry-Nj9qFwSH.js} +0 -0
  860. /package/dist/public/assets/{bibtex-DwTIWGTx.js → bibtex-D3y0AjAg.js} +0 -0
  861. /package/dist/public/assets/{bicep-BscWtLN6.js → bicep-K2m5GYnp.js} +0 -0
  862. /package/dist/public/assets/{bird2-B50Atbjz.js → bird2-i97Lmq53.js} +0 -0
  863. /package/dist/public/assets/{c-DSkvK-0s.js → c-PhWlBeZS.js} +0 -0
  864. /package/dist/public/assets/{c3-BEW3aJMb.js → c3-CeeLFJG0.js} +0 -0
  865. /package/dist/public/assets/{cadence-B-hzp7u4.js → cadence-BBAVsMfY.js} +0 -0
  866. /package/dist/public/assets/{catppuccin-frappe-BNgc1lLk.js → catppuccin-frappe-DkBhCm_h.js} +0 -0
  867. /package/dist/public/assets/{catppuccin-latte-DBoROz5K.js → catppuccin-latte-Cjcj58HO.js} +0 -0
  868. /package/dist/public/assets/{catppuccin-macchiato-snV87cjM.js → catppuccin-macchiato-DCQlnk4Z.js} +0 -0
  869. /package/dist/public/assets/{catppuccin-mocha-DLJVWMCe.js → catppuccin-mocha-CVAP8wGe.js} +0 -0
  870. /package/dist/public/assets/{chunk-KEIR6QF5-C1dyLxj_.js → chunk-KEIR6QF5-B97jNhCw.js} +0 -0
  871. /package/dist/public/assets/{chunk-SRAX5OIU-DUvIeieh.js → chunk-SRAX5OIU-nZgS_yeN.js} +0 -0
  872. /package/dist/public/assets/{chunk-Y2CYZVJY-Cu5p-GMJ.js → chunk-Y2CYZVJY-CTUIHOWN.js} +0 -0
  873. /package/dist/public/assets/{clarity--J2G5LXo.js → clarity-CEtC166s.js} +0 -0
  874. /package/dist/public/assets/{client-version-CAVqDfpW.js → client-version-DgAHPE5j.js} +0 -0
  875. /package/dist/public/assets/{clike-CvzqbleC.js → clike-Bwibm8NO.js} +0 -0
  876. /package/dist/public/assets/{clojure-BcsRuvDU.js → clojure-SVG9YCaX.js} +0 -0
  877. /package/dist/public/assets/{cmake-C-9pZtPW.js → cmake-bXT6_xfB.js} +0 -0
  878. /package/dist/public/assets/{codeowners-BfPNMNof.js → codeowners-CGabm1Rr.js} +0 -0
  879. /package/dist/public/assets/{codeql-CUEBlAzH.js → codeql-BmH9BraG.js} +0 -0
  880. /package/dist/public/assets/{colors-gKSsGRom.js → colors-DY6SwyM_.js} +0 -0
  881. /package/dist/public/assets/{common-lisp-7bnb1hJE.js → common-lisp-aSvzl7_n.js} +0 -0
  882. /package/dist/public/assets/{copilot-NHFJrAso.js → copilot-DLy2Kvlv.js} +0 -0
  883. /package/dist/public/assets/{coq-3itpofU0.js → coq-BptzC0si.js} +0 -0
  884. /package/dist/public/assets/{createLucideIcon-BulbvLvN.js → createLucideIcon-BYL3gqKc.js} +0 -0
  885. /package/dist/public/assets/{csharp-Bc9TusF5.js → csharp-CRlCca3M.js} +0 -0
  886. /package/dist/public/assets/{css-B-i9uFGn.js → css-DVo_6oqG.js} +0 -0
  887. /package/dist/public/assets/{csv-DSnMTSCG.js → csv-C97I5Rnl.js} +0 -0
  888. /package/dist/public/assets/{cue-DwwbdkQY.js → cue-BUYz6scb.js} +0 -0
  889. /package/dist/public/assets/{cursor-D5MuxMm8.js → cursor-BZjrNgR6.js} +0 -0
  890. /package/dist/public/assets/{cypher-CfyqySaz.js → cypher-BUnfQXCd.js} +0 -0
  891. /package/dist/public/assets/{cytoscape.esm-n2UlwuBv.js → cytoscape.esm-Dy3DzT73.js} +0 -0
  892. /package/dist/public/assets/{d-KpyqreL5.js → d-VFtIxq2W.js} +0 -0
  893. /package/dist/public/assets/{dark-plus-DLjAcrBK.js → dark-plus-D0qIojXN.js} +0 -0
  894. /package/dist/public/assets/{dart-ZiGd43uZ.js → dart-DHinhNuu.js} +0 -0
  895. /package/dist/public/assets/{dax-dHzIIs0M.js → dax-CyDqrrm7.js} +0 -0
  896. /package/dist/public/assets/{defaultLocale-BJEg67zJ.js → defaultLocale-4pz4GyJ6.js} +0 -0
  897. /package/dist/public/assets/{desktop-D-N1Jo72.js → desktop-oxfTY-fQ.js} +0 -0
  898. /package/dist/public/assets/{diff-D1pWuOOm.js → diff-KPRaIRKE.js} +0 -0
  899. /package/dist/public/assets/{diff-584ePE70.js → diff-YSi1dXha.js} +0 -0
  900. /package/dist/public/assets/{dist-D1K--pI4.js → dist-B4r_A2mw.js} +0 -0
  901. /package/dist/public/assets/{dist-Cg3AiHws.js → dist-BEt_n3Bj.js} +0 -0
  902. /package/dist/public/assets/{dist-CtxotmOK.js → dist-C_J0Iqwf.js} +0 -0
  903. /package/dist/public/assets/{doc-hash-BQrjuwR6.js → doc-hash-CbN6l-bN.js} +0 -0
  904. /package/dist/public/assets/{doc-paths-F5IsgYj0.js → doc-paths-Co-S4Nk5.js} +0 -0
  905. /package/dist/public/assets/{docker-XJKHfbfa.js → docker-B39Gr-F8.js} +0 -0
  906. /package/dist/public/assets/{documents-fetch-DMG54QRV.js → documents-fetch-CM9yjwOc.js} +0 -0
  907. /package/dist/public/assets/{dotenv-Bwt3D_YK.js → dotenv-BYD04AoQ.js} +0 -0
  908. /package/dist/public/assets/{dracula-q4S-kYGH.js → dracula-DZyo-0X7.js} +0 -0
  909. /package/dist/public/assets/{dracula-soft-D0DrYIo-.js → dracula-soft-ChaveePv.js} +0 -0
  910. /package/dist/public/assets/{dream-maker-ylOWnlvn.js → dream-maker-AMGEOUKN.js} +0 -0
  911. /package/dist/public/assets/{emacs-lisp-Co_O-Su_.js → emacs-lisp-aiFNf3TX.js} +0 -0
  912. /package/dist/public/assets/{engine-compile-BfANKtoL.js → engine-compile-DQkU3NTo.js} +0 -0
  913. /package/dist/public/assets/{everforest-dark-DsqbDDsU.js → everforest-dark-CqnRDJUd.js} +0 -0
  914. /package/dist/public/assets/{everforest-light-Cy2ZtjPw.js → everforest-light-CJZnWCKT.js} +0 -0
  915. /package/dist/public/assets/{external-link-BCU3KUmP.js → external-link-DSbrgMTH.js} +0 -0
  916. /package/dist/public/assets/{fennel-BgyBqGgg.js → fennel-BmDkCPO2.js} +0 -0
  917. /package/dist/public/assets/{file-tree-rename-validation-BHGFeVe9.js → file-tree-rename-validation-DkwrQpH8.js} +0 -0
  918. /package/dist/public/assets/{file-tree-utils-l1rtKsDx.js → file-tree-utils-D3vfryrA.js} +0 -0
  919. /package/dist/public/assets/{fish-axVW08sz.js → fish-DEqoR9OA.js} +0 -0
  920. /package/dist/public/assets/{fluent-BomFy9ky.js → fluent-CntH-o8L.js} +0 -0
  921. /package/dist/public/assets/{form-7WMSa--f.js → form-B5ftalsR.js} +0 -0
  922. /package/dist/public/assets/{format-DLB5Llo7.js → format-BgPeaVPK.js} +0 -0
  923. /package/dist/public/assets/{fortran-free-form-BbeTRGC0.js → fortran-free-form-BqSUZAYH.js} +0 -0
  924. /package/dist/public/assets/{gdscript-CeusV2lP.js → gdscript-B8iuuarp.js} +0 -0
  925. /package/dist/public/assets/{gdshader-Bui-OSAd.js → gdshader-1a8pC1pr.js} +0 -0
  926. /package/dist/public/assets/{genie-Cy7kiywH.js → genie-TBxVlvgP.js} +0 -0
  927. /package/dist/public/assets/{gherkin-BgVzm7oO.js → gherkin-uiqYLh9n.js} +0 -0
  928. /package/dist/public/assets/{gherkin-DC0xJ0ij.js → gherkin-yK1_QHBI.js} +0 -0
  929. /package/dist/public/assets/{github-dark-DAVeVioH.js → github-dark-Dv1ndBbN.js} +0 -0
  930. /package/dist/public/assets/{github-dark-default-hcspuVl4.js → github-dark-default-hHuYYVlP.js} +0 -0
  931. /package/dist/public/assets/{github-dark-dimmed-DzeSH83z.js → github-dark-dimmed-6Yuj3I95.js} +0 -0
  932. /package/dist/public/assets/{github-dark-high-contrast-DlUV5EsX.js → github-dark-high-contrast-xkBPZ6Gw.js} +0 -0
  933. /package/dist/public/assets/{github-light-CE-qGZlE.js → github-light-Cf9qHeGe.js} +0 -0
  934. /package/dist/public/assets/{github-light-default-D0Kgnr-0.js → github-light-default-Cwn7Z2eg.js} +0 -0
  935. /package/dist/public/assets/{github-light-high-contrast-k3vTXEA8.js → github-light-high-contrast-CrnpzxQN.js} +0 -0
  936. /package/dist/public/assets/{gleam-Rm0SDdnT.js → gleam-CgOItVyN.js} +0 -0
  937. /package/dist/public/assets/{gn-C0q4CmtD.js → gn-DbUvGyfp.js} +0 -0
  938. /package/dist/public/assets/{gnuplot-fkNOd0af.js → gnuplot-DObIk4zp.js} +0 -0
  939. /package/dist/public/assets/{go-B3-qBdvS.js → go-2gRi5JlD.js} +0 -0
  940. /package/dist/public/assets/{go-DNds6fzq.js → go-Cc9Pf4kZ.js} +0 -0
  941. /package/dist/public/assets/{groovy-DFy3xlS4.js → groovy-BXb6Fsap.js} +0 -0
  942. /package/dist/public/assets/{gruvbox-dark-hard-AD0OBTHX.js → gruvbox-dark-hard-Czylenq-.js} +0 -0
  943. /package/dist/public/assets/{gruvbox-dark-medium-BZucxGgV.js → gruvbox-dark-medium-kWzdTk2g.js} +0 -0
  944. /package/dist/public/assets/{gruvbox-dark-soft-C-zpqBpG.js → gruvbox-dark-soft-CLVKUjWR.js} +0 -0
  945. /package/dist/public/assets/{gruvbox-light-hard-iQE4Lt8A.js → gruvbox-light-hard-Be9Z2Eym.js} +0 -0
  946. /package/dist/public/assets/{gruvbox-light-medium-CDz4foGJ.js → gruvbox-light-medium-D_G8OWSy.js} +0 -0
  947. /package/dist/public/assets/{gruvbox-light-soft-7-5g2-32.js → gruvbox-light-soft-8xBVRHUS.js} +0 -0
  948. /package/dist/public/assets/{haskell-BtUnZjZ4.js → haskell-JZjlb1kT.js} +0 -0
  949. /package/dist/public/assets/{haxe-DmzRY7W-.js → haxe-DqOeVhdh.js} +0 -0
  950. /package/dist/public/assets/{hcl-CbHuFGfY.js → hcl-Dd1qAGi4.js} +0 -0
  951. /package/dist/public/assets/{hjson-CUAeoX6L.js → hjson-fYKTlYTi.js} +0 -0
  952. /package/dist/public/assets/{hlsl-DaDEqYZK.js → hlsl-CxXpO9MY.js} +0 -0
  953. /package/dist/public/assets/{horizon-DOy1RLPD.js → horizon-I5VVKZBq.js} +0 -0
  954. /package/dist/public/assets/{horizon-bright-BMtnIH2e.js → horizon-bright-Dxnb4dTX.js} +0 -0
  955. /package/dist/public/assets/{houston-lOgqZz1a.js → houston-DplTFb8b.js} +0 -0
  956. /package/dist/public/assets/{hy-BLoUxnPH.js → hy-DVwCwadn.js} +0 -0
  957. /package/dist/public/assets/{image-blob-reduce.esm-DH61DCnh.js → image-blob-reduce.esm-BsrpMZ7C.js} +0 -0
  958. /package/dist/public/assets/{imba-DGI-MC9Q.js → imba-Bf_bC32l.js} +0 -0
  959. /package/dist/public/assets/{ini-BDw2N7Ca.js → ini-DH8NRqmF.js} +0 -0
  960. /package/dist/public/assets/{init-sStUUVYf.js → init-D4gOVDL_.js} +0 -0
  961. /package/dist/public/assets/{input-Dsaekkpj.js → input-CUJ5gt4q.js} +0 -0
  962. /package/dist/public/assets/{isObject-DV6LhAfv.js → isObject-D_TNdrzd.js} +0 -0
  963. /package/dist/public/assets/{java-BUgC6oTE.js → java-Bd2TH7WL.js} +0 -0
  964. /package/dist/public/assets/{javascript-BvLHDUhW.js → javascript-CZOCR3Iu.js} +0 -0
  965. /package/dist/public/assets/{json-CaEdawYu.js → json-C3XLmYL7.js} +0 -0
  966. /package/dist/public/assets/{json5-DAXE_28t.js → json5-CGRzUoOY.js} +0 -0
  967. /package/dist/public/assets/{jsonc-Vb8TVLzI.js → jsonc-BvZjR-KK.js} +0 -0
  968. /package/dist/public/assets/{jsonl-BCqnnPAN.js → jsonl-DPvEGY9p.js} +0 -0
  969. /package/dist/public/assets/{jsonnet-CBt4NuBD.js → jsonnet-BtgB_xmH.js} +0 -0
  970. /package/dist/public/assets/{jssm-CzXlQDQT.js → jssm-ChsTqUyC.js} +0 -0
  971. /package/dist/public/assets/{jsx-bIz82uLO.js → jsx-BitXevG9.js} +0 -0
  972. /package/dist/public/assets/{kanagawa-dragon-C7J23AL9.js → kanagawa-dragon-BUYksOA8.js} +0 -0
  973. /package/dist/public/assets/{kanagawa-lotus-BFtX5XVL.js → kanagawa-lotus-AUrL0bsP.js} +0 -0
  974. /package/dist/public/assets/{kanagawa-wave-D3kC3i3O.js → kanagawa-wave-BK5w_FWf.js} +0 -0
  975. /package/dist/public/assets/{kdl-KYZrUKEf.js → kdl-BaUQOCAD.js} +0 -0
  976. /package/dist/public/assets/{known-skill-dirs-H_ICFCVz.js → known-skill-dirs-CsDCOBbq.js} +0 -0
  977. /package/dist/public/assets/{kotlin-PTmoAz1a.js → kotlin-DKmeZuQg.js} +0 -0
  978. /package/dist/public/assets/{kusto-b9_oTSu6.js → kusto-Bj4i1Yoq.js} +0 -0
  979. /package/dist/public/assets/{laserwave-D9Cewdg3.js → laserwave-BlgVET8-.js} +0 -0
  980. /package/dist/public/assets/{lean-BWgV2bKQ.js → lean-DUgeZ5v-.js} +0 -0
  981. /package/dist/public/assets/{less-qVDrjjU_.js → less-Cuxtheqm.js} +0 -0
  982. /package/dist/public/assets/{libesm-DZ8fozZB.js → libesm-AifqMnJy.js} +0 -0
  983. /package/dist/public/assets/{light-plus-Cqnl9_64.js → light-plus-dQzBHFiR.js} +0 -0
  984. /package/dist/public/assets/{lint-config-client-DdKWnGrT.js → lint-config-client-nUUp3gxC.js} +0 -0
  985. /package/dist/public/assets/{llvm-C4HMTyEM.js → llvm-BTfOAk91.js} +0 -0
  986. /package/dist/public/assets/{log-BcatQ06l.js → log-CBw5AtOH.js} +0 -0
  987. /package/dist/public/assets/{logo-CyslFRNd.js → logo-CLm550Hh.js} +0 -0
  988. /package/dist/public/assets/{lru-string-cache-NmlEjTUD.js → lru-string-cache-B0-sPXj-.js} +0 -0
  989. /package/dist/public/assets/{lua-DrO9uFV1.js → lua-CW8VWIM3.js} +0 -0
  990. /package/dist/public/assets/{luau-LKIHsD_a.js → luau-0Fs_lOll.js} +0 -0
  991. /package/dist/public/assets/{make-E1ZtvGYs.js → make--Jzu6GzT.js} +0 -0
  992. /package/dist/public/assets/{markdown-DumcPRWR.js → markdown-CPBSohqB.js} +0 -0
  993. /package/dist/public/assets/{material-theme-BIGknLkf.js → material-theme-DEvD5UZ4.js} +0 -0
  994. /package/dist/public/assets/{material-theme-darker-B6FMYeZP.js → material-theme-darker-CZrxGVe6.js} +0 -0
  995. /package/dist/public/assets/{material-theme-lighter-CMme_bLm.js → material-theme-lighter-CW9JmflO.js} +0 -0
  996. /package/dist/public/assets/{material-theme-ocean-AqpOtvzm.js → material-theme-ocean-B93i7uN3.js} +0 -0
  997. /package/dist/public/assets/{material-theme-palenight-_5EWv78s.js → material-theme-palenight-FaHWd6qe.js} +0 -0
  998. /package/dist/public/assets/{matlab-3C0SiQgc.js → matlab-DUbfN2P0.js} +0 -0
  999. /package/dist/public/assets/{mdx-D7EkzknL.js → mdx-DfeMpyGu.js} +0 -0
  1000. /package/dist/public/assets/{mermaid-CYRSQt0H.js → mermaid-BpQExIEm.js} +0 -0
  1001. /package/dist/public/assets/{messages-DaU7E8X5.js → messages-BCDzGZ-z.js} +0 -0
  1002. /package/dist/public/assets/{messages-vIhyUyEG.js → messages-BIKExws8.js} +0 -0
  1003. /package/dist/public/assets/{messages-CtgFk5dN.js → messages-BRuH4eGg.js} +0 -0
  1004. /package/dist/public/assets/{messages-KpghHzTn.js → messages-BbmzhhGy.js} +0 -0
  1005. /package/dist/public/assets/{messages-CPHNHOI0.js → messages-Bm1_dKft.js} +0 -0
  1006. /package/dist/public/assets/{messages-CstFkdfM.js → messages-CgeWrYpD.js} +0 -0
  1007. /package/dist/public/assets/{messages-Dpf1HE10.js → messages-CpNH27MF.js} +0 -0
  1008. /package/dist/public/assets/{messages-U6HCfF5E.js → messages-CrOuHdVj.js} +0 -0
  1009. /package/dist/public/assets/{messages-CtI5_sM4.js → messages-D-KzxOns.js} +0 -0
  1010. /package/dist/public/assets/{messages-vvbuhZTe.js → messages-Do2oL-dp.js} +0 -0
  1011. /package/dist/public/assets/{messages-Dwt0YY50.js → messages-JDwxbJeu.js} +0 -0
  1012. /package/dist/public/assets/{messages-Bq-E-8-B.js → messages-Yj8SVZjn.js} +0 -0
  1013. /package/dist/public/assets/{min-dark-D7p-7t9n.js → min-dark-ds7OKtpz.js} +0 -0
  1014. /package/dist/public/assets/{min-light-BGIKEkgx.js → min-light-CvhvAUF7.js} +0 -0
  1015. /package/dist/public/assets/{min-ClqJjozU.js → min-x3trf8Wh.js} +0 -0
  1016. /package/dist/public/assets/{mipsasm-CRz3TFL8.js → mipsasm-BPMRTpVR.js} +0 -0
  1017. /package/dist/public/assets/{mojo-DoD1ZoHY.js → mojo-mqHG_8Zu.js} +0 -0
  1018. /package/dist/public/assets/{monokai-BpJWOrRH.js → monokai-BLh-8PR2.js} +0 -0
  1019. /package/dist/public/assets/{moonbit-CpCJTv09.js → moonbit-BrcCxAL7.js} +0 -0
  1020. /package/dist/public/assets/{move-CGWLqtLm.js → move-z4fznRzz.js} +0 -0
  1021. /package/dist/public/assets/{narrat-Bu_qLHBD.js → narrat-xqb1WNjw.js} +0 -0
  1022. /package/dist/public/assets/{nextflow-groovy-VWqFGsKk.js → nextflow-groovy-Coic21px.js} +0 -0
  1023. /package/dist/public/assets/{night-owl-H7vDxnjx.js → night-owl-Cmhq-RnR.js} +0 -0
  1024. /package/dist/public/assets/{night-owl-light-BqUNZmcl.js → night-owl-light-M9ihfTXG.js} +0 -0
  1025. /package/dist/public/assets/{nix-Bcr32mtF.js → nix-CfTyUKg3.js} +0 -0
  1026. /package/dist/public/assets/{nord-CzPwz-_a.js → nord-A6d_L6Cl.js} +0 -0
  1027. /package/dist/public/assets/{nushell-28gNrp73.js → nushell-_tXIO8Mu.js} +0 -0
  1028. /package/dist/public/assets/{objective-c-Cq91hqZ2.js → objective-c-fxpWCyJB.js} +0 -0
  1029. /package/dist/public/assets/{objective-cpp-DEiP9Ud8.js → objective-cpp-B9X3nKwe.js} +0 -0
  1030. /package/dist/public/assets/{ocaml-EL5ZoBHP.js → ocaml-CYpCwFSs.js} +0 -0
  1031. /package/dist/public/assets/{odin-DgxosPRA.js → odin-DbghylMb.js} +0 -0
  1032. /package/dist/public/assets/{ok-vKHvtLsG.js → ok-04mPbAHz.js} +0 -0
  1033. /package/dist/public/assets/{ok-syntax-theme-BtQ9vOLf.js → ok-syntax-theme-COS26B1a.js} +0 -0
  1034. /package/dist/public/assets/{one-dark-pro-CwUtTdhr.js → one-dark-pro-CaqELo4Z.js} +0 -0
  1035. /package/dist/public/assets/{one-light-BeThVxzp.js → one-light-B0L7nP8t.js} +0 -0
  1036. /package/dist/public/assets/{openscad-Dm7bwSS3.js → openscad-Bfd5iptt.js} +0 -0
  1037. /package/dist/public/assets/{panel-B1pLAN-t.js → panel-DEds67m5.js} +0 -0
  1038. /package/dist/public/assets/{panzoom.es-B-l0-7Yz.js → panzoom.es-BoM-00N2.js} +0 -0
  1039. /package/dist/public/assets/{pascal-B3UF553c.js → pascal-BAUmrnOV.js} +0 -0
  1040. /package/dist/public/assets/{path-DXVvC2_m.js → path-CPUiTFzQ.js} +0 -0
  1041. /package/dist/public/assets/{pdf-BjWRdXQ7.js → pdf-BjH5cynh.js} +0 -0
  1042. /package/dist/public/assets/{pdf.worker-CO0z42s-.js → pdf.worker-jlry72Tu.js} +0 -0
  1043. /package/dist/public/assets/{perl-DdsHnHec.js → perl-TCh9AkO5.js} +0 -0
  1044. /package/dist/public/assets/{pica-DgAc-Lr3.js → pica-Bul6BynE.js} +0 -0
  1045. /package/dist/public/assets/{pierre-dark-gwf4dUfE.js → pierre-dark-CB7Itgmj.js} +0 -0
  1046. /package/dist/public/assets/{pierre-dark-protanopia-deuteranopia-JDDd3qzd.js → pierre-dark-protanopia-deuteranopia-pO4f3hGn.js} +0 -0
  1047. /package/dist/public/assets/{pierre-dark-soft-ClhZr_EP.js → pierre-dark-soft-CefVsUEh.js} +0 -0
  1048. /package/dist/public/assets/{pierre-dark-tritanopia-DKVFmiFF.js → pierre-dark-tritanopia-ComIQsyj.js} +0 -0
  1049. /package/dist/public/assets/{pierre-dark-vibrant-CE457piL.js → pierre-dark-vibrant-CTq6Sa-e.js} +0 -0
  1050. /package/dist/public/assets/{pierre-light-DUaqiUVo.js → pierre-light-c5o_H7Dj.js} +0 -0
  1051. /package/dist/public/assets/{pierre-light-protanopia-deuteranopia-B3B3yJPf.js → pierre-light-protanopia-deuteranopia-CJBbHrGe.js} +0 -0
  1052. /package/dist/public/assets/{pierre-light-soft-CbamuIxh.js → pierre-light-soft-JttgXXbp.js} +0 -0
  1053. /package/dist/public/assets/{pierre-light-tritanopia-BegIHr6r.js → pierre-light-tritanopia-CTXp22X0.js} +0 -0
  1054. /package/dist/public/assets/{pierre-light-vibrant-B-v_q9gg.js → pierre-light-vibrant-CTPd4A4U.js} +0 -0
  1055. /package/dist/public/assets/{pkl-C8QDw0jy.js → pkl-D1Raamoh.js} +0 -0
  1056. /package/dist/public/assets/{plastic-53oDAgbg.js → plastic-DOBRIFPi.js} +0 -0
  1057. /package/dist/public/assets/{platform-labels-C9-TGg63.js → platform-labels-DmyLwrQy.js} +0 -0
  1058. /package/dist/public/assets/{plsql-DlVcoKgQ.js → plsql-K45YPj8B.js} +0 -0
  1059. /package/dist/public/assets/{po-Vwx1jtmS.js → po-B8VpnsOH.js} +0 -0
  1060. /package/dist/public/assets/{poimandres-BoIosKd3.js → poimandres-Cl0D4D_C.js} +0 -0
  1061. /package/dist/public/assets/{polar-CnLRLVV6.js → polar-CtoCMCep.js} +0 -0
  1062. /package/dist/public/assets/{popover-Dd5Mp8tK.js → popover-DoM32eoR.js} +0 -0
  1063. /package/dist/public/assets/{postcss-ByGTQ12L.js → postcss-IkQtPjAK.js} +0 -0
  1064. /package/dist/public/assets/{powerquery-DsZ_CfqU.js → powerquery-C8jFjmoo.js} +0 -0
  1065. /package/dist/public/assets/{powershell-DretVBnS.js → powershell-Bq7yOUp3.js} +0 -0
  1066. /package/dist/public/assets/{prisma-gPsV81C5.js → prisma-zztXlC5k.js} +0 -0
  1067. /package/dist/public/assets/{prolog-BszjPyMU.js → prolog-DUTXoi_n.js} +0 -0
  1068. /package/dist/public/assets/{properties-D3eBXfhu.js → properties-C6JlqUYK.js} +0 -0
  1069. /package/dist/public/assets/{proto-BpatxkPe.js → proto-D9A7v2uW.js} +0 -0
  1070. /package/dist/public/assets/{puppet-C2fZ9oU8.js → puppet-Q6WUQCsq.js} +0 -0
  1071. /package/dist/public/assets/{purescript-Dv7eIc67.js → purescript-Bv9Fin5-.js} +0 -0
  1072. /package/dist/public/assets/{python-Bmx6Kg45.js → python-X9bxiKBC.js} +0 -0
  1073. /package/dist/public/assets/{qmldir-BzelagoB.js → qmldir-DEjuifjU.js} +0 -0
  1074. /package/dist/public/assets/{qss-BxHToEWx.js → qss-CB_rsY2M.js} +0 -0
  1075. /package/dist/public/assets/{r-2nfIUiU9.js → r-BQ61XUt1.js} +0 -0
  1076. /package/dist/public/assets/{r-BHsw_UFm.js → r-bfGeUk5F.js} +0 -0
  1077. /package/dist/public/assets/{racket-C2p8VPki.js → racket-DR9XE678.js} +0 -0
  1078. /package/dist/public/assets/{raku-CQK3hGve.js → raku-DIeRvMME.js} +0 -0
  1079. /package/dist/public/assets/{receive-store-C-j1mbmP.js → receive-store-BQjSh3hv.js} +0 -0
  1080. /package/dist/public/assets/{red-BwaXNDPd.js → red-2Wm7r03G.js} +0 -0
  1081. /package/dist/public/assets/{reg-DQMEjeAC.js → reg-BZodVhnT.js} +0 -0
  1082. /package/dist/public/assets/{regexp-B7-OUXSR.js → regexp-BLO2r6uV.js} +0 -0
  1083. /package/dist/public/assets/{rel-ColsGzrD.js → rel-DBfXZsLw.js} +0 -0
  1084. /package/dist/public/assets/{riscv-Dnd2IAl0.js → riscv-DMoXJcP9.js} +0 -0
  1085. /package/dist/public/assets/{ron-ChYuJ1CE.js → ron-B7t8_B6-.js} +0 -0
  1086. /package/dist/public/assets/{rose-pine-CrA_W0Fc.js → rose-pine-Bej_3qFk.js} +0 -0
  1087. /package/dist/public/assets/{rose-pine-dawn-BvTFGJRo.js → rose-pine-dawn-DomeE1kn.js} +0 -0
  1088. /package/dist/public/assets/{rose-pine-moon-DBHt_oNu.js → rose-pine-moon-Dn8dgARE.js} +0 -0
  1089. /package/dist/public/assets/{rosmsg-CNU3Zl31.js → rosmsg-CSuTPVnl.js} +0 -0
  1090. /package/dist/public/assets/{rough.esm-W_zK822k.js → rough.esm-PymitDBj.js} +0 -0
  1091. /package/dist/public/assets/{roundRect-Ms3pdLLg.js → roundRect-BEmpM44f.js} +0 -0
  1092. /package/dist/public/assets/{ruby-CS9tYfzu.js → ruby-D3hxKllI.js} +0 -0
  1093. /package/dist/public/assets/{rust-KKs3qDhc.js → rust-BKZ0ei9R.js} +0 -0
  1094. /package/dist/public/assets/{sass-CWxxvcHE.js → sass-t0ZG6n8e.js} +0 -0
  1095. /package/dist/public/assets/{scala-BfiplW-M.js → scala-asn9mO8k.js} +0 -0
  1096. /package/dist/public/assets/{schema-fields-view-intent-BEdLgkmF.js → schema-fields-view-intent-CC2U0Dcz.js} +0 -0
  1097. /package/dist/public/assets/{scheme-2151Yq-t.js → scheme-BeitcsPX.js} +0 -0
  1098. /package/dist/public/assets/{sdbl-B2pa-nyi.js → sdbl-D5MTprHp.js} +0 -0
  1099. /package/dist/public/assets/{share-metadata-rows-BqegRhpI.js → share-metadata-rows-l9N1Abdo.js} +0 -0
  1100. /package/dist/public/assets/{shell-CvcE8wG1.js → shell-DBJvOCIU.js} +0 -0
  1101. /package/dist/public/assets/{shellscript-BJKrSxdz.js → shellscript-CS0MpU9F.js} +0 -0
  1102. /package/dist/public/assets/{skeleton-KziCzCjg.js → skeleton-IXDSleLh.js} +0 -0
  1103. /package/dist/public/assets/{skill-scope-DhbCj29F.js → skill-scope-QdZW9jQB.js} +0 -0
  1104. /package/dist/public/assets/{skills-api-BL-MXSMJ.js → skills-api-_0gvQ7uH.js} +0 -0
  1105. /package/dist/public/assets/{slack-dark-D8xiiB5S.js → slack-dark-CZbB5TVt.js} +0 -0
  1106. /package/dist/public/assets/{slack-ochin-CXgI4r59.js → slack-ochin-BfkMAwFc.js} +0 -0
  1107. /package/dist/public/assets/{smalltalk-D1kUL1oa.js → smalltalk-CzLfCjUV.js} +0 -0
  1108. /package/dist/public/assets/{snazzy-light-CH2ir3aK.js → snazzy-light-DkJhsjEA.js} +0 -0
  1109. /package/dist/public/assets/{solarized-dark-D_rmsvgT.js → solarized-dark-mvextcT9.js} +0 -0
  1110. /package/dist/public/assets/{solarized-light-Dkuxcx-Y.js → solarized-light-B7g9n1rJ.js} +0 -0
  1111. /package/dist/public/assets/{solidity-ZYuC1PbX.js → solidity-Bzcwq-hs.js} +0 -0
  1112. /package/dist/public/assets/{sortable.esm-BcyLZV4U.js → sortable.esm-_XYOlees.js} +0 -0
  1113. /package/dist/public/assets/{splunk-DUX8aW9G.js → splunk-DLphb0RA.js} +0 -0
  1114. /package/dist/public/assets/{sql-eiW5jin2.js → sql-BUdYgAuy.js} +0 -0
  1115. /package/dist/public/assets/{sql-CNCGWUHM.js → sql-BkyzSV9J.js} +0 -0
  1116. /package/dist/public/assets/{src-D61Kx_9L.js → src-B5LmWD6e.js} +0 -0
  1117. /package/dist/public/assets/{ssh-config-Db4XKT31.js → ssh-config-C5_vSDFY.js} +0 -0
  1118. /package/dist/public/assets/{startup-marks-CoE2w_93.js → startup-marks-BrgDU-FF.js} +0 -0
  1119. /package/dist/public/assets/{stex-B0if-N0b.js → stex-CO8mFD4t.js} +0 -0
  1120. /package/dist/public/assets/{stylus-D64LWnd0.js → stylus--Su7UdeX.js} +0 -0
  1121. /package/dist/public/assets/{swift-Bd0ajAGC.js → swift-C5RtnVJD.js} +0 -0
  1122. /package/dist/public/assets/{swift-Duiz-3G2.js → swift-DxchGxPl.js} +0 -0
  1123. /package/dist/public/assets/{synthwave-84-USTNRP8w.js → synthwave-84-CIZ9Dzoh.js} +0 -0
  1124. /package/dist/public/assets/{system-verilog-CUTOxWnf.js → system-verilog-DJd_VM4L.js} +0 -0
  1125. /package/dist/public/assets/{systemd-DdZtZzGd.js → systemd-Cd620qf7.js} +0 -0
  1126. /package/dist/public/assets/{tabs-DOFSRvIk.js → tabs-CGk-Lem4.js} +0 -0
  1127. /package/dist/public/assets/{talonscript-HawFkh7U.js → talonscript-C6n820U_.js} +0 -0
  1128. /package/dist/public/assets/{tasl-BlSbSMLQ.js → tasl-CkEqu_M1.js} +0 -0
  1129. /package/dist/public/assets/{tcl-C-as2LPh.js → tcl-CJMqCrmQ.js} +0 -0
  1130. /package/dist/public/assets/{terminal-command-events-C9Af46Gh.js → terminal-command-events-De5Ifk_s.js} +0 -0
  1131. /package/dist/public/assets/{terraform-Fch_9-C1.js → terraform-CJeinmur.js} +0 -0
  1132. /package/dist/public/assets/{textarea-Bv8SxKZ3.js → textarea-BlVs71hx.js} +0 -0
  1133. /package/dist/public/assets/{thread-client-CVJKg0IF.js → thread-client-Cww-A_o6.js} +0 -0
  1134. /package/dist/public/assets/{timeline-diff-store-CIr5jvOb.js → timeline-diff-store-CdyjyOp2.js} +0 -0
  1135. /package/dist/public/assets/{tokyo-night-COvs1bWK.js → tokyo-night-DKV0i25T.js} +0 -0
  1136. /package/dist/public/assets/{toml-BxCaMmLI.js → toml-D9iZU0lq.js} +0 -0
  1137. /package/dist/public/assets/{toml-BBW-YxMg.js → toml-DUS-uie-.js} +0 -0
  1138. /package/dist/public/assets/{tool-list-format-CD59hD1v.js → tool-list-format-B0ec_7sK.js} +0 -0
  1139. /package/dist/public/assets/{tsv-BMJMcIml.js → tsv-BjMD-rgC.js} +0 -0
  1140. /package/dist/public/assets/{tsx-D4wzBTDa.js → tsx-B0YyuJfA.js} +0 -0
  1141. /package/dist/public/assets/{turtle-DPLq4ce5.js → turtle-DINvzTQp.js} +0 -0
  1142. /package/dist/public/assets/{typescript-DDTNVPwO.js → typescript-BvTmagZY.js} +0 -0
  1143. /package/dist/public/assets/{typespec-DLqYqoto.js → typespec-D8JR2guc.js} +0 -0
  1144. /package/dist/public/assets/{typst--rj1ntZE.js → typst-avMnPV69.js} +0 -0
  1145. /package/dist/public/assets/{use-apply-config-color-theme-BCmZu_vB.js → use-apply-config-color-theme-B7J-6HE8.js} +0 -0
  1146. /package/dist/public/assets/{use-collab-url-Bm6bSzkW.js → use-collab-url-2h75iiK6.js} +0 -0
  1147. /package/dist/public/assets/{use-conflicts-DM3SSc_Z.js → use-conflicts-aEERGkga.js} +0 -0
  1148. /package/dist/public/assets/{use-workspace-BsyHB7f5.js → use-workspace-BzePm1UL.js} +0 -0
  1149. /package/dist/public/assets/{useLintConfigViewMode-D913dlq-.js → useLintConfigViewMode-B1AUcWg_.js} +0 -0
  1150. /package/dist/public/assets/{v-BoWMEvA1.js → v-CPTrpd8n.js} +0 -0
  1151. /package/dist/public/assets/{vala-AEbZe7PB.js → vala-DRdQ5Iel.js} +0 -0
  1152. /package/dist/public/assets/{vb-4kCtjpdf.js → vb-BV3rAAxF.js} +0 -0
  1153. /package/dist/public/assets/{verilog-DDTv2xcv.js → verilog-BHwQnzmI.js} +0 -0
  1154. /package/dist/public/assets/{vesper-Bm0DrqBe.js → vesper-BjaGi8Rl.js} +0 -0
  1155. /package/dist/public/assets/{vhdl-D43t2aU8.js → vhdl-HggOQuPz.js} +0 -0
  1156. /package/dist/public/assets/{viml-7k8goPHf.js → viml-CNr-Bj6Q.js} +0 -0
  1157. /package/dist/public/assets/{vitesse-black-Bu9vbc7o.js → vitesse-black-UFUHYZOi.js} +0 -0
  1158. /package/dist/public/assets/{vitesse-dark-CyFTaI66.js → vitesse-dark-9SuNhqla.js} +0 -0
  1159. /package/dist/public/assets/{vitesse-light-DLY-UHGG.js → vitesse-light-CkuFARs9.js} +0 -0
  1160. /package/dist/public/assets/{vyper-cjZzBeRA.js → vyper-DYMl3ZVz.js} +0 -0
  1161. /package/dist/public/assets/{wasm-DBfRs-8a.js → wasm-BeTBJmtX.js} +0 -0
  1162. /package/dist/public/assets/{wasm-DeYoUErr.js → wasm-pE0h2nPb.js} +0 -0
  1163. /package/dist/public/assets/{wenyan-NGcNUNfV.js → wenyan-DzYi3FsB.js} +0 -0
  1164. /package/dist/public/assets/{wgsl-Bci5LoTF.js → wgsl-vXrXZ2k-.js} +0 -0
  1165. /package/dist/public/assets/{wikitext-CgON_g8D.js → wikitext-BW3gGb1i.js} +0 -0
  1166. /package/dist/public/assets/{wit-DAtKCZ_Y.js → wit-BG_nO3uR.js} +0 -0
  1167. /package/dist/public/assets/{wolfram-DA8UWlNN.js → wolfram-TZsfMO7V.js} +0 -0
  1168. /package/dist/public/assets/{workspace-paths-CAsMig07.js → workspace-paths-hw0bowEX.js} +0 -0
  1169. /package/dist/public/assets/{yaml-BI3K8JtX.js → yaml-Bkc3eLkv.js} +0 -0
  1170. /package/dist/public/assets/{zenscript-B__D5yQG.js → zenscript-DXCoB67p.js} +0 -0
  1171. /package/dist/public/assets/{zig-C-UrUKEM.js → zig-CvoE9o0e.js} +0 -0
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./sizeCapture-X5ZJPWSS-Cu13xTQD.js","./chunk-Y2CYZVJY-Cu5p-GMJ.js"])))=>i.map(i=>d[i]);
2
- import{t as e}from"./preload-helper-Chd9yIcd.js";import{n as t}from"./chunk-Y2CYZVJY-Cu5p-GMJ.js";import{t as n}from"./src-DjJ3hkaN.js";import{b as r,x as i}from"./chunk-I66GZJ75-q2Pj0wYV.js";import{g as a}from"./chunk-NSK5VX7P-Ba98eesG.js";import"./chunk-W5SLKNZC-CdSz4Xzc.js";import{n as o}from"./chunk-UBXNYLIW-Cz1081DJ.js";import"./chunk-4I5QYGJK-C3fKZeMQ.js";import"./chunk-WRU74C26-Dhm0KT3r.js";import{a as s,c,i as l,n as u,t as d}from"./chunk-QR6OTTB3-BoesuMke.js";import{r as f}from"./chunk-7BUUIJ7U-DGxdEC2T.js";import{a as p,i as m,n as h,r as g,s as _,t as v}from"./chunk-7Z6QIM7H-DxTcyTdV.js";import{t as y}from"./graphlib-D5Xap45B.js";import{n as b}from"./chunk-RYQCIY6F-DAdE8PYU.js";async function x(t,n){let r=new y({multigraph:!0,compound:!0}),a=[...n.edges],o=i(),c=t.insert(`g`).attr(`class`,`root`),l=c.insert(`g`).attr(`class`,`clusters`),u=c.insert(`g`).attr(`class`,`edges edgePath`),d=c.insert(`g`).attr(`class`,`edgeLabels`),f=c.insert(`g`).attr(`class`,`nodes`),p=new Map,m=t.node()!=null;await Promise.all(n.nodes.map(async e=>{if(e.isGroup)r.setNode(e.id,{...e});else{if(m){let t=await s(f,e,{config:o,dir:e.dir}),n=t.node()?.getBBox()??{width:0,height:0};p.set(e.id,t),e.width=n.width,e.height=n.height}r.setNode(e.id,{...e})}}));for(let e of a)r.setEdge(e.start,e.end,{...e},e.id),n.edges.some(t=>t.id===e.id)||n.edges.push(e);if(globalThis.mermaidCaptureSizes){let{captureNodeSizes:r}=await e(async()=>{let{captureNodeSizes:e}=await import(`./sizeCapture-X5ZJPWSS-Cu13xTQD.js`);return{captureNodeSizes:e}},__vite__mapDeps([0,1]),import.meta.url);r(t,n)}return{graph:r,groups:{clusters:l,edgePaths:u,edgeLabels:d,nodes:f,rootGroups:c},nodeElements:p}}t(x,`createGraphWithElements`);var S=5,C=1e-5,w=1e-6;function T(e){let t=[];for(let n=0;n<e.length-1;n++)t.push({a:e[n],b:e[n+1]});return t}t(T,`buildSegmentList`);function E(e,t,n,r){let i=t.x-e.x,a=t.y-e.y,o=r.x-n.x,s=r.y-n.y,c=i*s-a*o;if(c===0)return null;let l=n.x-e.x,u=n.y-e.y,d=(l*s-u*o)/c,f=(l*a-u*i)/c;return d<=w||d>=1-w||f<=w||f>=1-w?null:{point:{x:e.x+d*i,y:e.y+d*a},tA:d,tB:f}}t(E,`segmentIntersection`);function D(e){return Math.abs(e.b.x-e.a.x)>=Math.abs(e.b.y-e.a.y)}t(D,`isHorizontalSeg`);function O(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n],i=T(r.points);for(let a=n+1;a<e.length;a++){let n=e[a],o=T(n.points);for(let[e,a]of i.entries())for(let[i,s]of o.entries()){let o=E(a.a,a.b,s.a,s.b);if(!o)continue;let c=D(a);c!==D(s)&&c?t.push({jumpEdgeId:r.id,otherEdgeId:n.id,segIndex:e,t:o.tA,point:o.point}):t.push({jumpEdgeId:n.id,otherEdgeId:r.id,segIndex:i,t:o.tB,point:o.point})}}}return t}t(O,`findEdgeIntersections`);function k(e){return`${Math.round(e*1e3)/1e3}`}t(k,`fmt`);function A(e){return`${k(e.x)},${k(e.y)}`}t(A,`pointToString`);function j(e){let t=e.b.x-e.a.x,n=e.b.y-e.a.y;return Math.abs(t)>=Math.abs(n)?+(t>=0):+(n>=0)}t(j,`getArcSweepFlag`);var ee=.001;function te(e,t){if(e.length<2)return e.map(e=>({...e}));let n=e.map(e=>({...e})),r=t.arrowTypeStart&&f[t.arrowTypeStart];if(r){let t=e[0],i=e[1],a=Math.atan2(i.y-t.y,i.x-t.x);n[0].x=t.x+r*Math.cos(a),n[0].y=t.y+r*Math.sin(a)}let i=t.arrowTypeEnd&&f[t.arrowTypeEnd];if(i){let t=e.length,r=e[t-2],a=e[t-1],o=Math.atan2(a.y-r.y,a.x-r.x);n[t-1].x=a.x-i*Math.cos(o),n[t-1].y=a.y-i*Math.sin(o)}return n}t(te,`applyMarkerOffsets`);function M(e,t,n,r,i){let a=e.point.x,o=e.point.y,s={x:a-t*e.r,y:o-n*e.r},c={x:a+t*e.r,y:o+n*e.r},l=[`L${A(s)}`];return i===`arc`?l.push(`A${k(e.r)},${k(e.r)} 0 0 ${r} ${A(c)}`):l.push(`M${A(c)}`),l}t(M,`emitJump`);function ne(e,t,n,r){let i=t.x-e.x,a=t.y-e.y,o=n.x-t.x,s=n.y-t.y,c=Math.hypot(i,a),l=Math.hypot(o,s);if(c<C||l<C)return null;let u=i/c,d=a/c,f=o/l,p=s/l,m=u*f+d*p,h=Math.acos(Math.max(-1,Math.min(1,m)));if(h<C||Math.abs(Math.PI-h)<C)return null;let g=Math.min(r/Math.sin(h/2),c/2,l/2);return{startX:t.x-u*g,startY:t.y-d*g,endX:t.x+f*g,endY:t.y+p*g,ctrlX:t.x,ctrlY:t.y,cutLen:g}}t(ne,`computeRoundedCorner`);function N(e,t,n){let r=e.points;if(r.length<2)return``;let i=te(r,e),a=e.curve===`rounded`,o=T(i),s=new Map;for(let e of t){let t=o[e.segIndex];if(!t)continue;let r=Math.hypot(t.b.x-t.a.x,t.b.y-t.a.y),i=s.get(e.segIndex)??[];i.push({t:e.t,point:e.point,d:e.t*r,r:n.jumpRadius}),s.set(e.segIndex,i)}let c=[`M${A(i[0])}`];for(let e=0;e<o.length;e++){let t=o[e],r=Math.hypot(t.b.x-t.a.x,t.b.y-t.a.y),l=r===0?0:(t.b.x-t.a.x)/r,u=r===0?0:(t.b.y-t.a.y)/r,d=j(t),f=0;if(a&&e>0){let t=ne(i[e-1],i[e],i[e+1]??i[e],S);t&&(f=t.cutLen)}let p=r,m=null;a&&e<o.length-1&&(m=ne(i[e],i[e+1],i[e+2]??i[e+1],S),m&&(p=r-m.cutLen));let h=[...s.get(e)??[]].sort((e,t)=>e.t-t.t);for(let e of h)e.r=Math.min(e.r,e.d-f,p-e.d);for(let e=0;e<h.length-1;e++){let t=h[e+1].d-h[e].d;if(h[e].r+h[e+1].r>t){let n=t/2;h[e].r=Math.min(h[e].r,n),h[e+1].r=Math.min(h[e+1].r,n)}}for(let e of h)e.r<ee||c.push(...M(e,l,u,d,n.jumpStyle));a&&m?(c.push(`L${k(m.startX)},${k(m.startY)}`),c.push(`Q${k(m.ctrlX)},${k(m.ctrlY)} ${k(m.endX)},${k(m.endY)}`)):c.push(`L${A(t.b)}`)}return c.join(` `)}t(N,`rewriteEdgePath`);function re(e){return/^[\d\s+,.LMelm-]*$/.test(e)}t(re,`isStraightPath`);function P(e){return e?e===`linear`||e===`rounded`||e===`step`||e===`stepBefore`||e===`stepAfter`:!0}t(P,`curveSupportsLineHops`);function ie(e){if(!e)return null;try{let t=typeof atob==`function`?atob(e):Buffer.from(e,`base64`).toString(),n=JSON.parse(t);if(!Array.isArray(n))return null;let r=[];for(let e of n)e&&typeof e.x==`number`&&typeof e.y==`number`&&r.push({x:e.x,y:e.y});return r.length>=2?r:null}catch{return null}}t(ie,`decodeDataPoints`);function ae(e,t,n){if(!n.enabled)return;let r=e.node();if(!r)return;let i=new Map;for(let e of t)i.set(e.id,e);let a=[],o=new Map;for(let e of t){let t=typeof CSS<`u`&&CSS.escape?CSS.escape(e.id):e.id,n=r.querySelector(`path[data-id="${t}"]`);if(!n)continue;o.set(e.id,n);let i=ie(n.getAttribute(`data-points`))??e.points;a.push({...e,points:i})}let s=O(a);if(s.length===0)return;let c=new Map;for(let e of s){let t=c.get(e.jumpEdgeId)??[];t.push(e),c.set(e.jumpEdgeId,t)}for(let e of a){let t=c.get(e.id);if(!t||t.length===0)continue;let r=i.get(e.id)?.curve;if(r!==void 0&&!P(r))continue;let a=o.get(e.id);if(!a||r===void 0&&!re(a.getAttribute(`d`)??``))continue;let s=a.getAttribute(`style`)??``,l=/stroke-dasharray\s*:\s*0\s+([\d.]+)\s+[\d.]+\s+([\d.]+)/.exec(s),u=l?Number.parseFloat(l[1]):null,d=l?Number.parseFloat(l[2]):null,f=N(e,t,n);if(a.setAttribute(`d`,f),u!==null&&d!==null&&typeof a.getTotalLength==`function`){let e=a.getTotalLength(),t=`0 ${u} ${Math.max(0,e-u-d)} ${d}`,n=s.replace(/stroke-dasharray\s*:[^;]*;?/g,`stroke-dasharray: ${t};`).replace(/;\s*;+/g,`;`);a.setAttribute(`style`,n)}}}t(ae,`applyLineJumpsToSvg`);async function oe(e,t){for(let n of e.nodes)n.isGroup?await l(t.clusters,n):c(n);let n=new Map;for(let t of e.nodes)t?.id&&n.set(t.id,t);for(let r of e.edges){let i=r.start?n.get(r.start)??{}:{},a=r.end?n.get(r.end)??{}:{},o=g(t.edgePaths,{...r},{},e.type,i,a,e.diagramId);r.label&&await m(t.rootGroups,r),r.label&&se(r,o)}let r=e.config?.swimlane?.lineHops;if(r!==!1){let n=r===`gap`?`gap`:`arc`,i=e.edges.filter(e=>Array.isArray(e.points)&&e.points.length>=2).map(e=>({id:e.id,points:e.points,curve:e.curve,arrowTypeStart:e.arrowTypeStart,arrowTypeEnd:e.arrowTypeEnd}));ae(t.edgePaths,i,{enabled:!0,jumpRadius:6,jumpStyle:n})}}t(oe,`adjustLayout`);function se(e,t){let i=t?.updatedPath??t?.originalPath,{subGraphTitleTotalMargin:s}=o({flowchart:r().flowchart??{}});if(e.label){let r=h.get(e.id),o=e.x,c=e.y;if(i){let r=a.calcLabelPosition(i);n.debug(`Moving label `+e.label+` from (`,o,`,`,c,`) to (`,r.x,`,`,r.y,`) abc88`),t&&(o=r.x,c=r.y)}r.attr(`transform`,`translate(${o}, ${c+s/2})`)}if(e?.startLabelLeft){let t=_.get(e.id).startLeft,n=e?.x,r=e?.y;if(i){let t=a.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_left`,i);n=t.x,r=t.y}t.attr(`transform`,`translate(${n}, ${r})`)}if(e.startLabelRight){let t=_.get(e.id).startRight,n=e.x,r=e.y;if(i){let t=a.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_right`,i);n=t.x,r=t.y}t.attr(`transform`,`translate(${n}, ${r})`)}if(e.endLabelLeft){let t=_.get(e.id).endLeft,n=e.x,r=e.y;if(i){let t=a.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_left`,i);n=t.x,r=t.y}t.attr(`transform`,`translate(${n}, ${r})`)}if(e.endLabelRight){let t=_.get(e.id).endRight,n=e.x,r=e.y;if(i){let t=a.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_right`,i);n=t.x,r=t.y}t.attr(`transform`,`translate(${n}, ${r})`)}}t(se,`positionEdgeLabel`);var ce=`__swimlane_default__`,le=21,ue=20;function de(e){return Math.max(e.padding??ue,ue)}t(de,`topLaneHorizontalPadding`);function fe(e){let{x:t,y:n,width:r,height:i}=e,a=e.swimlaneContentTop;if(typeof t!=`number`||typeof n!=`number`||typeof r!=`number`||typeof i!=`number`||typeof a!=`number`||!Number.isFinite(t)||!Number.isFinite(n)||!Number.isFinite(r)||!Number.isFinite(i)||!Number.isFinite(a)||r<=0||i<=0){delete e.groupTitleRect;return}let o=n-i/2,s=Math.min(a,n+i/2),c=o+Math.min(le,Math.max(0,s-o));if(c<=o){delete e.groupTitleRect;return}e.groupTitleRect={left:t-r/2,right:t+r/2,top:o,bottom:c}}t(fe,`assignTopLaneTitleRect`);function pe(e){let t=e.direction,n=e.nodes??=[];for(let n of e.nodes??[])n.isGroup&&!n.parentId&&(n.shape=`swimlane`,t&&(n.direction=t));let r=n.filter(e=>!e.isGroup&&!e.parentId);if(r.length===0)return;let i=n.find(e=>e.id===ce);i?i.isGroup&&(i.shape=`swimlane`,t&&(i.direction=t)):(i={id:ce,label:``,isGroup:!0,shape:`swimlane`,padding:20,...t?{direction:t}:{}},n.push(i));for(let e of r)e.parentId=ce}t(pe,`prepareLayoutForSwimlanes`);function F(e){let t=new Map;for(let n of e.nodes??[])t.set(n.id,n);let n=[];for(let t of e.edges??[]){let e=typeof t.start==`string`?t.start:void 0,r=typeof t.end==`string`?t.end:void 0;!e||!r||t.labelNodeId||n.push({id:t.id,src:e,dst:r,ref:t})}let r=e.nodes??[],i=r.filter(e=>e.isGroup),a=r.filter(e=>!e.isGroup);return{nodes:[...[...i].reverse(),...a].map(e=>e.id),edges:n,layout:e,nodeById:t}}t(F,`toGraphView`);function I(e,t,n,r){let{layout:i}=e,a=e.nodeById,o=r?.layerGap??100,s=r?.nodeGap??40,c=0;for(let e of t.layers){let t=0;for(let r of e){let e=a.get(r);if(!e){t++;continue}e.layer=c,e.order=t;let i=n.x[r]??t*s,l=n.y[r]??c*o;e.x=i,e.y=l,t++}c++}let l=i.nodes??[],u=new Map,d=[];for(let e of l){if(!e?.isGroup)continue;e.parentId||d.push(e);let t=l.filter(t=>t.parentId===e.id),r=1/0,i=-1/0,a=1/0,o=-1/0;for(let e of t){let t=e.x??n.x[e.id],s=e.y??n.y[e.id],c=e.width??0,l=e.height??0;t!=null&&s!=null&&(r=Math.min(r,t-c/2),i=Math.max(i,t+c/2),a=Math.min(a,s-l/2),o=Math.max(o,s+l/2))}if(r===1/0||a===1/0)e.x=e.x??0,e.y=e.y??0,e.width=e.width??0,e.height=e.height??0;else{let t=e.padding??20,n=e.parentId?t:2*de(e),s=t,c=Math.max(0,i-r)+n,l=Math.max(0,o-a)+s,d=(r+i)/2,f=(a+o)/2;e.x=d,e.y=f,e.width=c,e.height=l,u.set(e.id,{minX:r,maxX:i,minY:a,maxY:o})}}if(d.length>0&&u.size>0){let e=1/0,t=-1/0,n=0;for(let r of d){let i=r.padding??20;i>n&&(n=i);let a=u.get(r.id);a&&(e=Math.min(e,a.minY),t=Math.max(t,a.maxY))}if(e!==1/0&&t!==-1/0){let r=Math.max(0,t-e)+2*Math.max(n,36),i=(e+t)/2;for(let t of d)t.y=i,t.height=r,t.swimlaneContentTop=e;let a=[...d].sort((e,t)=>(e.x??0)-(t.x??0)),o=[],s=[],c=[];for(let e of a){let t=u.get(e.id);if(!t)continue;let n=Math.max(0,t.maxX-t.minX)+2*de(e),r=(t.minX+t.maxX)/2;o.push(e.id),s.push(r),c.push(n)}let l=o.length;if(l>0){let e=new Map;if(l===1)e.set(o[0],c[0]);else{let t=[];for(let e=0;e<l-1;e++)t.push(s[e+1]-s[e]);let n=Array(l);n[0]=0;for(let e=0;e<l-1;e++)n[e+1]=2*t[e]-n[e];let r=0,i=1/0;for(let e=0;e<l;e++){let t=c[e];e%2==0?r=Math.max(r,t-n[e]):i=Math.min(i,n[e]-t)}let a=r;a=r<=i?(r+i)/2:r;for(let t=0;t<l;t++){let r=n[t]+(t%2==0?a:-a),i=Math.max(c[t],r);e.set(o[t],i)}}for(let t of d){let n=e.get(t.id);n!=null&&(t.width=n),fe(t)}}}}}t(I,`writeBackToLayoutData`);var me=`[EdgeLabelNodes]`;function he(e){let t=[],r=[],i=new Map;for(let t of e.nodes)i.set(t.id,t);for(let a of e.edges){if(!a.label||a.label.length===0||a.isLayoutOnly||a.labelNodeId)continue;let e=a.start?i.get(a.start):void 0,o=a.end?i.get(a.end):void 0;if(!e||!o){n.warn(me,`Edge ${a.id} has missing source or target node`);continue}let s=`edge-label-${a.start}-${a.end}-${a.id}`,c=e.parentId===o.parentId?e.parentId:o.parentId,l={id:s,label:a.label,edgeStart:a.start??``,edgeEnd:a.end??``,shape:`labelRect`,width:0,height:0,isEdgeLabel:!0,isDummy:!0,parentId:c,isGroup:!1,labelStyle:Array.isArray(a.labelStyle)?a.labelStyle[0]:a.labelStyle??``,...e.dir?{dir:e.dir}:{}};t.push(l),a.labelNodeId=s,a.label=void 0,a.text=void 0;let u={id:`${a.id}-to-label`,start:a.start,end:s,type:`normal`,isLayoutOnly:!0},d={id:`${a.id}-from-label`,start:s,end:a.end,type:`normal`,isLayoutOnly:!0};r.push(u,d)}let a=[...e.nodes,...t],o=[...e.edges,...r];return{...e,nodes:a,edges:o}}t(he,`createEdgeLabelNodes`);var L=.001;function ge(e){let t=e.x??0,n=e.y??0,r=e.width??0,i=e.height??0;return r>0&&i>0?{cx:t,cy:n,rect:Ee(t,n,r,i)}:void 0}t(ge,`measuredNodeRect`);function _e(e){if(e.isGroup)return;let t=ge(e);if(t)return{id:String(e.id??``),cx:t.cx,cy:t.cy,rect:t.rect}}t(_e,`nodeBoundsInfoFor`);function R(e,t,n=L){return Math.abs(e.x-t.x)<n&&Math.abs(e.y-t.y)<n}t(R,`samePoint`);function z(e,t,n=L){return Math.abs(e.x-t.x)<n}t(z,`sameX`);function B(e,t,n=L){return Math.abs(e.y-t.y)<n}t(B,`sameY`);function V(e,t,n=L){return B(e,t,n)&&Math.abs(e.x-t.x)>n}t(V,`isHorizontalSegment`);function H(e,t,n=L){return z(e,t,n)&&Math.abs(e.y-t.y)>n}t(H,`isVerticalSegment`);function U(e,t,n,r){return Math.max(0,Math.min(Math.max(e,t),Math.max(n,r))-Math.max(Math.min(e,t),Math.min(n,r)))}t(U,`overlapLength`);function ve(e,t,n=L){return e.horizontal&&t.horizontal&&B(e.a,t.a,n)?U(e.a.x,e.b.x,t.a.x,t.b.x):e.vertical&&t.vertical&&z(e.a,t.a,n)?U(e.a.y,e.b.y,t.a.y,t.b.y):0}t(ve,`sameAxisSegmentOverlapLength`);function ye(e,t=L){let n=[];for(let r=0;r<e.length-1;r++){let i=e[r],a=e[r+1],o=V(i,a,t),s=H(i,a,t);(o||s)&&n.push({index:r,a:i,b:a,horizontal:o,vertical:s})}return n}t(ye,`orthogonalSegmentsForPoints`);function W(e,t=L){let n=ye(e,t),r=0;for(let e=1;e<n.length;e++)n[e-1].horizontal!==n[e].horizontal&&r++;return r}t(W,`countOrthogonalBends`);function G(e,t=L){let n=[];for(let r of e){let e=n.length>0?n[n.length-1]:void 0;(!e||!R(e,r,t))&&n.push({x:r.x,y:r.y})}return n}t(G,`dedupeConsecutivePoints`);function be(e,t=L){if(!e||e.length!==4)return;let[n,r,i,a]=e;return V(n,r,t)&&H(r,i,t)&&V(i,a,t)?{kind:`HVH`,p0:n,p1:r,p2:i,p3:a}:H(n,r,t)&&V(r,i,t)&&H(i,a,t)?{kind:`VHV`,p0:n,p1:r,p2:i,p3:a}:void 0}t(be,`classifyThreeSegmentRoute`);function xe(e,t,n,r=0){let i=Math.min(e.x,t.x),a=Math.max(e.x,t.x),o=Math.min(e.y,t.y),s=Math.max(e.y,t.y);return a>n.left-r&&i<n.right+r&&s>n.top-r&&o<n.bottom+r}t(xe,`segmentBoundsOverlapRect`);function Se(e,t,n=0){return e.x>t.left+n&&e.x<t.right-n&&e.y>t.top+n&&e.y<t.bottom-n}t(Se,`pointInsideRect`);function Ce(e,t){return e.left<=t.left&&e.right>=t.right&&e.top<=t.top&&e.bottom>=t.bottom}t(Ce,`rectContainsRect`);function we(e,t){return e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top}t(we,`rectsOverlap`);function Te(e,t){return{left:e.left-t,right:e.right+t,top:e.top-t,bottom:e.bottom+t}}t(Te,`inflateRect`);function Ee(e,t,n,r){return{left:e-n/2,right:e+n/2,top:t-r/2,bottom:t+r/2}}t(Ee,`rectFromCenterSize`);function K(e){return ge(e)?.rect}t(K,`rectOfNodeBounds`);function De(e,t){switch(t){case`top`:return{x:e.cx,y:e.rect.top};case`bottom`:return{x:e.cx,y:e.rect.bottom};case`left`:return{x:e.rect.left,y:e.cy};case`right`:return{x:e.rect.right,y:e.cy}}}t(De,`portForRectSide`);function Oe(e,t,n,r,i,a=L){let o=t===`left`||t===`right`,s=r===`left`||r===`right`;if(o&&s){if(t===`right`&&r===`left`&&e.x<n.x||t===`left`&&r===`right`&&e.x>n.x){if(B(e,n,a))return[e,n];let t=(e.x+n.x)/2;return[e,{x:t,y:e.y},{x:t,y:n.y},n]}if(t===r){if(B(e,n,a))return;let r=t===`left`?Math.min(e.x,n.x)-i:Math.max(e.x,n.x)+i;return[e,{x:r,y:e.y},{x:r,y:n.y},n]}return}if(!o&&!s){if(t===r){if(z(e,n,a))return;let r=t===`top`?Math.min(e.y,n.y)-i:Math.max(e.y,n.y)+i;return[e,{x:e.x,y:r},{x:n.x,y:r},n]}if(!(t===`bottom`&&r===`top`&&e.y<n.y||t===`top`&&r===`bottom`&&e.y>n.y))return;if(z(e,n,a))return[e,n];let o=(e.y+n.y)/2;return[e,{x:e.x,y:o},{x:n.x,y:o},n]}if(o&&!s){let i=t===`right`&&n.x>e.x||t===`left`&&n.x<e.x,a=r===`top`&&e.y<n.y||r===`bottom`&&e.y>n.y;return i&&a?[e,{x:n.x,y:e.y},n]:void 0}let c=t===`bottom`&&n.y>e.y||t===`top`&&n.y<e.y,l=r===`left`&&e.x<n.x||r===`right`&&e.x>n.x;return c&&l?[e,{x:e.x,y:n.y},n]:void 0}t(Oe,`buildOrthogonalPortPath`);function ke(e,t,n,r){return t===`left`||t===`right`?[e,{x:r,y:e.y},{x:r,y:n.y},n]:[e,{x:e.x,y:r},{x:n.x,y:r},n]}t(ke,`buildSameSideTrackPath`);function Ae(e){let t=new Map,n=[];for(let r of e){if(r.isEdgeLabel)continue;let e=_e(r);e&&(t.set(e.id,e),n.push({id:e.id,rect:e.rect}))}return{nodeInfoById:t,realNodeRects:n}}t(Ae,`collectRealNodeBounds`);function je(e){let t=[],n=[];for(let r of e){let e=_e(r);if(!e)continue;let i={id:e.id,rect:e.rect};r.isEdgeLabel?n.push(i):t.push(i)}return{realNodeRects:t,labelNodeRects:n}}t(je,`collectNodeRectEntries`);function Me(e,{includeEdgeLabels:t=!0}={}){let n=[];for(let r of e){if(r.isGroup||!t&&r.isEdgeLabel)continue;let e=r.x??0,i=r.y??0,a=r.width??0,o=r.height??0;n.push({nodeId:r.id,...Ee(e,i,a,o)})}return n}t(Me,`collectLayoutNodeRects`);function Ne(e,t,n=L){let r=e.start,i=e.end;if(!r||!i)return;let a=t.get(r),o=t.get(i);if(!(!a||!o))return{srcId:r,dstId:i,srcInfo:a,dstInfo:o,collinearX:Math.abs(a.cx-o.cx)<n,collinearY:Math.abs(a.cy-o.cy)<n}}t(Ne,`getNodePairGeometry`);function q(e,t,n,r=[],i=0){for(let a of n)if(!r.includes(a.id)&&xe(e,t,a.rect,-i))return!0;return!1}t(q,`segmentHitsAnyRect`);function Pe(e,t,n,r,i=L,a=1e-6){let o=B(e,t,i),s=z(e,t,i),c=B(n,r,i),l=z(n,r,i);if(o&&c||s&&l||!(o||s)||!(c||l))return!1;let u=o?{a:e,b:t}:{a:n,b:r},d=s?{a:e,b:t}:{a:n,b:r},f=u.a.y,p=Math.min(u.a.x,u.b.x),m=Math.max(u.a.x,u.b.x),h=d.a.x,g=Math.min(d.a.y,d.b.y),_=Math.max(d.a.y,d.b.y);if(h<p||h>m||f<g||f>_)return!1;let v=Math.abs(h-u.a.x)<a&&Math.abs(f-u.a.y)<a||Math.abs(h-u.b.x)<a&&Math.abs(f-u.b.y)<a,y=Math.abs(h-d.a.x)<a&&Math.abs(f-d.a.y)<a||Math.abs(h-d.b.x)<a&&Math.abs(f-d.b.y)<a;return!(v&&y)}t(Pe,`orthogonalSegmentsCross`);function Fe(e,t,n,r,i=L){let a=B(e,t,i),o=z(e,t,i),s=B(n,r,i),c=z(n,r,i);return o&&c&&z(e,n,i)?U(e.y,t.y,n.y,r.y)>i:a&&s&&B(e,n,i)?U(e.x,t.x,n.x,r.x)>i:!1}t(Fe,`sameAxisSegmentsOverlap`);function Ie(e,t,n,r,{epsilon:i=L,skipDegenerateOther:a=!1}={}){for(let o of n){if(o===r||o.isLayoutOnly)continue;let n=o.points;if(!(!n||n.length<2))for(let r=0;r<n.length-1;r++){let o=n[r],s=n[r+1];if(!(a&&R(o,s,i))&&(Pe(e,t,o,s,i)||Fe(e,t,o,s,i)))return!0}}return!1}t(Ie,`segmentConflictsWithAnyEdge`);function Le(e,t,n,r,i=L){let a=B(e,t,i),o=z(e,t,i),s=B(n,r,i),c=z(n,r,i);if(!(a&&c||o&&s))return!1;let l=a?{a:e,b:t}:{a:n,b:r},u=a?{a:n,b:r}:{a:e,b:t},d=l.a.y,f=Math.min(l.a.x,l.b.x),p=Math.max(l.a.x,l.b.x),m=u.a.x,h=Math.min(u.a.y,u.b.y),g=Math.max(u.a.y,u.b.y);return m>f+i&&m<p-i&&d>h+i&&d<g-i}t(Le,`orthogonalSegmentsStrictlyCross`);function Re(e,t,n){let r=Math.min(t,n),i=Math.max(t,n);return e>r+L&&e<i-L}t(Re,`strictlyBetween`);function ze(e,t,n){return z(e,t)&&z(t,n)?Re(t.y,e.y,n.y):B(e,t)&&B(t,n)?Re(t.x,e.x,n.x):!1}t(ze,`isCollinearIntermediate`);function Be(e){let t=!1,n=[];for(let r=0;r<e.length;r++){let i=n[n.length-1],a=e[r],o=r+1<e.length?e[r+1]:void 0;if(i&&o){if(R(i,o)){r++,t=!0;continue}if(ze(i,a,o)){t=!0;continue}}n.push(a)}return{points:n,changed:t}}t(Be,`simplifyPolylineOnce`);function Ve(e){let t=[e[0]];for(let n=1;n<e.length;n++){let r=t[t.length-1],i=e[n];if(!z(r,i)&&!B(r,i)){let e=t.length>=2?t[t.length-2]:void 0,n=e&&z(e,r)?{x:r.x,y:i.y}:{x:i.x,y:r.y};t.push(n)}t.push(i)}let n=[];for(let e of t){let t=n[n.length-1];(!t||!R(t,e))&&n.push(e)}return n}t(Ve,`orthogonalizePolyline`);function He(e){if(e.length<3)return e;let t=[...e];for(let e=0;e<32;e++){let e=Be(t);if(t=e.points,!e.changed)break}return t}t(He,`simplifyPolyline`);var J=.001,Ue=.5,We=4;function Ge(e,t,n){let r=e;if(r.isLayoutOnly||!r.points||r.points.length<n)return;let i=r.start?t.get(r.start):void 0,a=r.end?t.get(r.end):void 0;return{edge:r,points:r.points,srcRect:i?K(i):void 0,dstRect:a?K(a):void 0}}t(Ge,`endpointContextFor`);function Ke(e,t,n){if(B(e,t,J))return{x:e.x<n.left?n.left:n.right,y:e.y};if(z(e,t,J)){let t=e.y<n.top?n.top:n.bottom;return{x:e.x,y:t}}return{x:Math.min(n.right,Math.max(n.left,e.x)),y:Math.min(n.bottom,Math.max(n.top,e.y))}}t(Ke,`segmentEnterPoint`);function qe(e,t,n){let r=n?1:-1,i=n?0:e.length-1;for(;i>=0&&i<e.length&&Se(e[i],t,Ue);)i+=r;if(i<0||i>=e.length)return e;let a=i-r;if(a<0||a>=e.length)return e;let o=Ke(e[i],e[a],t);return n?[o,...e.slice(i)]:[...e.slice(0,i+1),o]}t(qe,`clipEndpoint`);function Je(e,t){for(let n of e){let e=Ge(n,t,2);if(!e)continue;let r=[...e.points];e.srcRect&&(r=qe(r,e.srcRect,!0)),e.dstRect&&(r=qe(r,e.dstRect,!1)),r=He(Ve(r)),r=at(r,e.srcRect,e.dstRect),e.edge.points=He(Ve(r))}}t(Je,`clipEdgeEndpointsToNodeBoundaries`);function Ye(e,t,n,r=!1){if(B(e,t,J)){if(t.y<n.top-J||t.y>n.bottom+J)return t;if(r){if(e.x<n.left-J)return{x:n.left,y:e.y};if(e.x>n.right+J)return{x:n.right,y:e.y}}return{x:Math.abs(t.x-n.left)<=Math.abs(t.x-n.right)?n.left:n.right,y:e.y}}if(z(e,t,J)){if(t.x<n.left-J||t.x>n.right+J)return t;if(r){if(e.y<n.top-J)return{x:e.x,y:n.top};if(e.y>n.bottom+J)return{x:e.x,y:n.bottom}}let i=Math.abs(t.y-n.top)<=Math.abs(t.y-n.bottom);return{x:e.x,y:i?n.top:n.bottom}}return t}t(Ye,`snapEndpointToBoundary`);function Xe(e,t,n){let r=e[t];for(let i=t+n;i>=0&&i<e.length;i+=n){let t=e[i];if(!R(t,r,J))return t}return e[t+n]}t(Xe,`firstDistinctAdjacent`);function Ze(e,t){let n=e+We,r=t-We;return n<=r?{lo:n,hi:r}:{lo:(e+t)/2,hi:(e+t)/2}}t(Ze,`cornerClearanceRange`);function Qe(e,t,n){let{lo:r,hi:i}=Ze(t,n);return Math.min(i,Math.max(r,e))}t(Qe,`clampToCornerClearance`);function $e(e){let t=Math.max(...e.map(e=>e.lo)),n=Math.min(...e.map(e=>e.hi));if(!(t>n))return{lo:t,hi:n}}t($e,`intersectRanges`);function et(e,t){return t===`left`||t===`right`?Ze(e.top,e.bottom):Ze(e.left,e.right)}t(et,`clearanceRangeForSide`);function tt(e,t,n){let r=e.y>=n.top-J&&e.y<=n.bottom+J,i=e.x>=n.left-J&&e.x<=n.right+J;if(B(e,t,J)&&r){if(Math.abs(e.x-n.left)<J)return`left`;if(Math.abs(e.x-n.right)<J)return`right`}if(z(e,t,J)&&i){if(Math.abs(e.y-n.top)<J)return`top`;if(Math.abs(e.y-n.bottom)<J)return`bottom`}}t(tt,`terminalSideForSegment`);function nt(e){return e===`left`||e===`right`}t(nt,`isHorizontalSide`);function rt(e,t,n,r,i){let a=[],o=n?tt(e,t,n):void 0,s=r?tt(t,e,r):void 0;return n&&o&&nt(o)===i&&a.push(et(n,o)),r&&s&&nt(s)===i&&a.push(et(r,s)),a.length>0?$e(a):void 0}t(rt,`straightClearanceRange`);function it(e,t,n,r,i){let a=rt(e,t,n,r,i);if(!a)return;let o=i?e.y:e.x,s=Math.min(a.hi,Math.max(a.lo,o));if(!(Math.abs(s-o)<J))return i?[{x:e.x,y:s},{x:t.x,y:s}]:[{x:s,y:e.y},{x:s,y:t.y}]}t(it,`clearStraightEndpointCornerAxis`);function at(e,t,n){if(e.length!==2)return e;let[r,i]=e;return B(r,i,J)?it(r,i,t,n,!0)??e:z(r,i,J)?it(r,i,t,n,!1)??e:e}t(at,`clearStraightEndpointCornerConnections`);function ot(e,t,n){return nt(n)?{x:e.x,y:Qe(e.y,t.top,t.bottom)}:{x:Qe(e.x,t.left,t.right),y:e.y}}t(ot,`cornerClearedEndpoint`);function st(e,t,n,r,i,a){let o=e.map(e=>({...e}));for(let s=t;s>=0&&s<e.length;s+=n){let t=e[s];if(a&&!B(t,r,J)||!a&&!z(t,r,J))break;a?o[s].y=i.y:o[s].x=i.x}return o}t(st,`moveCollinearEndpointRun`);function ct(e,t,n){if(e.length<2)return e;let r=n?0:e.length-1,i=n?1:-1,a=e[r],o=Xe(e,r,i);if(!o)return e;let s=tt(a,o,t);if(!s)return e;let c=nt(s),l=ot(a,t,s);return R(a,l,J)?e:st(e,r,i,a,l,c)}t(ct,`clearEndpointCornerConnection`);function lt(e,t,n){let r=Math.min(e.x,t.x)>=n.left-J&&Math.max(e.x,t.x)<=n.right+J,i=Math.min(e.y,t.y)>=n.top-J&&Math.max(e.y,t.y)<=n.bottom+J;if(Math.abs(e.y-n.top)<J&&Math.abs(t.y-n.top)<J&&r)return`top`;if(Math.abs(e.y-n.bottom)<J&&Math.abs(t.y-n.bottom)<J&&r)return`bottom`;if(Math.abs(e.x-n.left)<J&&Math.abs(t.x-n.left)<J&&i)return`left`;if(Math.abs(e.x-n.right)<J&&Math.abs(t.x-n.right)<J&&i)return`right`}t(lt,`borderSideForSegment`);function ut(e,t,n,r){switch(e){case`top`:return z(t,n,J)&&n.y<r.top-J;case`bottom`:return z(t,n,J)&&n.y>r.bottom+J;case`left`:return B(t,n,J)&&n.x<r.left-J;case`right`:return B(t,n,J)&&n.x>r.right+J}}t(ut,`leavesOutward`);function dt(e,t,n){if(e.length<3)return e;if(n){let n=lt(e[0],e[1],t);return n&&ut(n,e[1],e[2],t)?e.slice(1):e}let r=e.length-1,i=lt(e[r-1],e[r],t);return i&&ut(i,e[r-1],e[r-2],t)?e.slice(0,r):e}t(dt,`collapseOwnBorderStub`);function ft(e,t,n){let r=e;if(t){let e=Xe(r,0,1);if(e){let n=Ye(e,r[0],t);n!==r[0]&&(r=[n,...r.slice(1)])}r=dt(r,t,!0)}if(n){let e=r.length-1,t=Xe(r,e,-1);if(t){let i=Ye(t,r[e],n,!0);i!==r[e]&&(r=[...r.slice(0,e),i])}r=dt(r,n,!1)}let i=at(r,t,n);return i!==r||r.length===2?i:(t&&(r=ct(r,t,!0)),n&&(r=ct(r,n,!1)),r)}t(ft,`snapAndCollapseEndpoints`);function pt(e,t){for(let n of e){let e=Ge(n,t,2);if(!e)continue;let r=ft(G(e.points,J),e.srcRect,e.dstRect);if(r.length<3){e.edge.points=r;continue}let i=[r[0],{...r[0]},...r.slice(1,-1),r[r.length-1],{...r[r.length-1]}];e.edge.points=i}}t(pt,`prepareEdgeEndpointsForRenderer`);function mt(e){return new Map(e.map(e=>[e.id,e]))}t(mt,`buildNodeMap`);function ht(e,t){let n=e.parentId,r=null;for(;n;){let e=t.get(n);if(!e?.isGroup)break;r=e.id,n=e.parentId}return r}t(ht,`resolveTopLevelGroupId`);function gt(e,t){let n=0,r=e.parentId;for(;r;){let e=t.get(r);if(!e?.isGroup)break;n++,r=e.parentId}return n}t(gt,`groupDepth`);function _t(e){let t=1/0,n=-1/0,r=1/0,i=-1/0;for(let a of e){let e=a.x,o=a.y;if(typeof e!=`number`||typeof o!=`number`)continue;let s=a.width??0,c=a.height??0;t=Math.min(t,e-s/2),n=Math.max(n,e+s/2),r=Math.min(r,o-c/2),i=Math.max(i,o+c/2)}return t===1/0||r===1/0?null:{minX:t,maxX:n,minY:r,maxY:i}}t(_t,`boundsForChildren`);function vt(e,t){let n=e.padding??20;e.x=(t.minX+t.maxX)/2,e.y=(t.minY+t.maxY)/2,e.width=Math.max(0,t.maxX-t.minX)+n,e.height=Math.max(0,t.maxY-t.minY)+n}t(vt,`applyGroupBounds`);function yt(e){let t=mt(e),n=e.filter(e=>e.isGroup&&e.parentId).sort((e,n)=>gt(n,t)-gt(e,t));for(let t of n){let n=_t(e.filter(e=>e.parentId===t.id));n&&vt(t,n)}}t(yt,`recomputeNestedGroupBounds`);function bt(e,n){let r=e.nodes??[],i=e.edges??[],a=r.filter(e=>!e.isGroup),o=1/0,s=-1/0;for(let e of a){let t=e[n];typeof t==`number`&&(o=Math.min(o,t),s=Math.max(s,t))}if(!Number.isFinite(o)||!Number.isFinite(s))return!1;let c=t(e=>o+s-e,`mirror`);for(let e of r){let t=e[n];typeof t==`number`&&(e[n]=c(t));let r=e.groupTitleRect;r&&(e.groupTitleRect=n===`x`?{...r,left:c(r.right),right:c(r.left)}:{...r,top:c(r.bottom),bottom:c(r.top)})}for(let e of i)for(let t of e.points??[])t[n]=c(t[n]);return!0}t(bt,`mirrorAxis`);function xt(e){return(e.nodes??[]).some(e=>!e.isGroup)?bt(e,`y`):!0}t(xt,`applyBtDirectionTransform`);function St(e,t=`LR`){let n=e.nodes??[],r=e.edges??[],i=n.filter(e=>!e.isGroup),a=1/0,o=1/0;for(let e of i){let t=e.x??0,n=e.y??0;t<a&&(a=t),n<o&&(o=n)}if(!Number.isFinite(a)||!Number.isFinite(o))return!1;let s=0,c=0;for(let e of i)s+=e.width??0,c+=e.height??0;let l=s/i.length,u=c/i.length,d=u>0?Math.max(1,l/u):1;for(let e of i){let t=e.x??0,n=((e.y??0)-o)*d+36,r=t-a;e.x=n,e.y=r}for(let e of r)if(e.points)for(let t of e.points){let e=t.x,n=(t.y-o)*d+36,r=e-a;t.x=n,t.y=r}yt(n);let f=n.filter(e=>e.isGroup&&!e.parentId);if(f.length===0)return t===`RL`&&bt(e,`x`),!0;let p=mt(n),m=new Map;for(let e of n){if(e.isGroup)continue;let t=ht(e,p);if(!t)continue;let n=m.get(t)??[];n.push(e),m.set(t,n)}let h=0;for(let e of f){let t=e.padding??0;t>h&&(h=t)}let g=[],_=1/0,v=-1/0;for(let e of f){let t=_t(m.get(e.id)??[]);t&&(_=Math.min(_,t.minX),v=Math.max(v,t.maxX),g.push({lane:e,contentTop:t.minY,contentBottom:t.maxY,centerY:(t.minY+t.maxY)/2}))}if(_===1/0||v===-1/0)return!0;let y=Math.max(0,v-_)+2*Math.max(h,10),b=36+y,x=(_+v)/2-y/2-36,S=x+b/2,C=Math.max(h,36);g.sort((e,t)=>e.centerY-t.centerY);for(let e=0;e<g.length;e++){let t=g[e],n,r;if(n=e===0?t.contentTop-C:(g[e-1].contentBottom+t.contentTop)/2,e===g.length-1)r=t.contentBottom+C;else{let n=g[e+1];r=(t.contentBottom+n.contentTop)/2}let i=Math.max(0,r-n),a=(n+r)/2;t.lane.x=S,t.lane.y=a,t.lane.width=b,t.lane.height=i,t.lane.swimlaneContentTop=t.contentTop,t.lane.groupTitleRect={left:x,right:x+36,top:n,bottom:r}}return t===`RL`&&bt(e,`x`),!0}t(St,`applyLrDirectionTransform`);var Ct=1e-6,wt=8,Tt=[0,wt,-wt,2*wt,-2*wt];function Et(e,t){let{nodeInfoById:n,realNodeRects:r}=Ae(t);for(let t of e){if(t.isLayoutOnly)continue;let i=t.points;if(!i||i.length<4)continue;let a=be(G(i,Ct),Ct);if(!a)continue;let{p3:o}=a,s=a.kind===`HVH`,c=Ne(t,n,Ct);if(!c)continue;let{srcId:l,dstId:u,srcInfo:d,dstInfo:f,collinearX:p,collinearY:m}=c;if(p||m)continue;let h,g=d.rect;for(let n of Tt){let i,a,c;if(s){let e=f.cy>d.cy?g.bottom:g.top,t=d.cx+n;if(t<=g.left+Ct||t>=g.right-Ct)continue;i={x:t,y:e},a={x:t,y:o.y},c={x:o.x,y:o.y}}else{let e=f.cx>d.cx?g.right:g.left,t=d.cy+n;if(t<=g.top+Ct||t>=g.bottom-Ct)continue;i={x:e,y:t},a={x:o.x,y:t},c={x:o.x,y:o.y}}let p=R(i,a,Ct),m=R(a,c,Ct);if(p&&m||!p&&q(i,a,r,[l],1)||!m&&q(a,c,r,[u],1))continue;let _=!p&&Ie(i,a,e,t,{epsilon:Ct,skipDegenerateOther:!0}),v=!m&&Ie(a,c,e,t,{epsilon:Ct,skipDegenerateOther:!0});if(!(_||v)){h=p?[a,c]:m?[i,a]:[i,a,c];break}}h&&(t.points=h)}}t(Et,`portSwapToLShape`);function Dt(e,n){let r=.001,{realNodeRects:i,labelNodeRects:a}=je(n.values());for(let o of e){if(o.isLayoutOnly)continue;let s=o.points;if(!s||s.length<4)continue;let c=G(s,r);if(c.length<4)continue;let l=c.length-1,u=c[l],d=c[l-1],f=c[l-2],p=u.x-d.x,m=u.y-d.y,h=Math.hypot(p,m);if(h>=10||h<r)continue;let g=d.x-f.x,_=d.y-f.y;if(Math.hypot(g,_)<r)continue;let v=V(d,u,r),y=H(d,u,r),b=V(f,d,r),x=H(f,d,r);if(!(v&&x||y&&b))continue;let S=o.end,C=o.start,w=S?n.get(S):void 0;if(!w)continue;let T=w.x??0,E=w.y??0,D=K(w);if(!D)continue;let O,k;if(x){let e=_<0;O={x:T,y:f.y},k={x:T,y:e?D.bottom:D.top}}else{let e=g>0;O={x:f.x,y:E},k={x:e?D.right:D.left,y:E}}if(q(O,k,i,S?[S]:[],-2)||q(O,k,a,[],-2))continue;if(C){let e=n.get(C),t=e?K(e):void 0;if(t&&Se(O,t,2))continue}let A=t((e,t)=>`${e.x.toFixed(3)},${e.y.toFixed(3)}|${t.x.toFixed(3)},${t.y.toFixed(3)}`,`ownSegmentKey`),j=new Set;for(let e=0;e<c.length-1;e++)j.add(A(c[e],c[e+1]));let ee=t((t,n)=>{for(let i of e){if(i===o||i.isLayoutOnly)continue;let e=i.points;if(!(!e||e.length<2))for(let i=0;i<e.length-1;i++){let a=e[i],o=e[i+1];if(!j.has(A(a,o))&&Le(t,n,a,o,r))return!0}}return!1},`segmentCrossesOtherEdge`);if(ee(O,k))continue;if(l-3>=0){let e=c[l-3],t=[C,S].filter(e=>!!e);if(q(e,O,i,t,-2)||ee(e,O))continue}let te=[...c.slice(0,l-2),O,k];o.points=te;let M=o.labelNodeId;if(M){let e=n.get(M);if(e){let t=e.width??0,n=e.height??0;if(t>0&&n>0){let i,a,o=-1;for(let e=0;e<te.length-1;e++){let s=te[e],c=te[e+1],l=Math.hypot(c.x-s.x,c.y-s.y),u=B(s,c,r),d=z(s,c,r);(u&&l>=t+2||d&&l>=n+2)&&l>o&&(o=l,i=(s.x+c.x)/2,a=(s.y+c.y)/2)}i!==void 0&&a!==void 0&&(e.x=i,e.y=a)}}}}}t(Dt,`collapseShortTerminalStub`);var Y=.001,X=8,Z=ye,Ot=t((e,t)=>z(e,t,Y)||B(e,t,Y),`orthogonallyAligned`);function kt(e,n){let r=t((e,t)=>{let n=e.x??0,r=e.y??0,i=t.x-n,a=t.y-r,o=(e.width??0)/2,s=(e.height??0)/2;return Math.abs(a)*o>Math.abs(i)*s?(a<0&&(s=-s),{x:n+(a===0?0:s*i/a),y:r+s}):(i<0&&(o=-o),{x:n+o,y:r+(i===0?0:o*a/i)})},`rectIntersect`),i=t((e,t)=>{let i=G(e.points??[]);if(i.length<2)return;let a=t?e.start:e.end,o=a?n.get(a):void 0,s=o?K(o):void 0;if(!o||!a||!s)return;let c=t?i[0]:i[i.length-1],l=t?i[1]:i[i.length-2],u=r(o,c),d=c;if(Ot(l,u)&&(d=l),z(u,d,Y))return{edge:e,edgeId:String(e.id??``),nodeId:a,atStart:t,orientation:`V`,coord:u.x,min:Math.min(u.y,d.y),max:Math.max(u.y,d.y),boundary:u,railEnd:d,rect:s};if(B(u,d,Y))return{edge:e,edgeId:String(e.id??``),nodeId:a,atStart:t,orientation:`H`,coord:u.y,min:Math.min(u.x,d.x),max:Math.max(u.x,d.x),boundary:u,railEnd:d,rect:s}},`terminalLaneFor`),a=t((e,t)=>Math.max(0,Math.min(e.max,t.max)-Math.max(e.min,t.min)),`projectedOverlapLength`),o=t((e,t)=>e.nodeId!==t.nodeId||e.orientation!==t.orientation?!1:e.orientation===`H`?(Math.abs(e.boundary.x-e.rect.left)<1||Math.abs(e.boundary.x-e.rect.right)<1)&&z(e.boundary,t.boundary,1):(Math.abs(e.boundary.y-e.rect.top)<1||Math.abs(e.boundary.y-e.rect.bottom)<1)&&B(e.boundary,t.boundary,1),`sameTerminalFace`),s=t((e,t)=>e.nodeId!==t.nodeId||e.orientation!==t.orientation?!1:a(e,t)>=X&&Math.abs(e.coord-t.coord)<.5,`exactTerminalLaneConflict`),c=t((e,t)=>{if(e.nodeId!==t.nodeId||e.orientation!==t.orientation||e.orientation!==`H`||e.atStart===t.atStart)return!1;let n=a(e,t);if(n<X)return!1;let r=e.rect.bottom-e.rect.top;return n<r||n>2*r?!1:o(e,t)&&Math.abs(e.coord-t.coord)<16},`nearTerminalLaneConflict`),l=t((e,n)=>{let r=G(e.edge.points??[]);if(r.length<2)return;let i=e.orientation===`V`?{x:e.boundary.x+n,y:e.boundary.y}:{x:e.boundary.x,y:e.boundary.y+n},a=e.orientation===`V`?{x:e.railEnd.x+n,y:e.railEnd.y}:{x:e.railEnd.x,y:e.railEnd.y+n};if(!t(()=>Math.abs(e.boundary.y-e.rect.top)<1||Math.abs(e.boundary.y-e.rect.bottom)<1?B(i,e.boundary,Y)&&i.x>=e.rect.left+1&&i.x<=e.rect.right-1:Math.abs(e.boundary.x-e.rect.left)<1||Math.abs(e.boundary.x-e.rect.right)<1?z(i,e.boundary,Y)&&i.y>=e.rect.top+1&&i.y<=e.rect.bottom-1:!1,`boundaryStaysOnSameFace`)())return;if(e.atStart){let t=r.length>1&&R(r[1],e.railEnd,Y),n=r.slice(t?2:1),o=n[0];return o&&!Ot(o,a)?void 0:[i,a,...n]}let o=r.length>1&&R(r[r.length-2],e.railEnd,Y),s=r.slice(0,o?-2:-1),c=s[s.length-1];if(!(c&&!Ot(c,a)))return[...s,a,i]},`shiftedCandidate`),u=t(e=>{let t=e.edge,r=G(t.points??[]);if(r.length!==2)return!1;let i=t.start,a=t.end,o=i?n.get(i):void 0,s=a?n.get(a):void 0;if(!o||!s)return!1;let c=o.x??0,l=o.y??0,u=s.x??0,d=s.y??0,[f,p]=r;return B(f,p,Y)&&Math.abs(l-d)<1&&Math.abs(c-u)>1||z(f,p,Y)&&Math.abs(c-u)<1&&Math.abs(l-d)>1},`laneIsStraightCollinearConnector`),d=[-7,7,-14,14,-21,21];for(let t=0;t<8;t++){let t=e.filter(e=>!e.isLayoutOnly).flatMap(e=>[i(e,!0),i(e,!1)]).filter(e=>!!e),n=!1;for(let e=0;e<t.length&&!n;e++)for(let r=e+1;r<t.length&&!n;r++){let a=t[e],o=t[r];if(a.edge===o.edge||!(s(a,o)||c(a,o)))continue;let f=!s(a,o),p=[a,o].sort((e,t)=>{let n=u(e),r=u(t);return n===r?Number(!t.atStart)-Number(!e.atStart):Number(n)-Number(r)});for(let e of p){for(let r of d){let a=l(e,r);if(!a)continue;let o=i({...e.edge,points:a},e.atStart);if(!(!o||t.some(t=>t.edge!==e.edge&&(s(o,t)||f&&c(o,t))))){e.edge.points=a,n=!0;break}}if(n)break}}if(!n)return}}t(kt,`separateSharedRenderedTerminalLanes`);function At(e,n){let{realNodeRects:r,labelNodeRects:i}=je(n.values()),a=t((t,n)=>{let a=t.start,o=t.end,s=Z(n);if(s.length!==n.length-1)return!1;let c=[a,o].filter(e=>!!e);for(let e of s)if(q(e.a,e.b,r,c,-2)||q(e.a,e.b,i,[],-2))return!1;for(let n of e){if(n===t||n.isLayoutOnly)continue;let e=n.points;if(!(!e||e.length<2)){for(let t of s)for(let n of Z(G(e)))if(ve(t,n,.5)>=X||Le(t.a,t.b,n.a,n.b,Y))return!1}}return!0},`candidateIsSafe`),o=t((e,t)=>{if(t+4>=e.length)return;let n=e[t],r=e[t+1],i=e[t+2],a=e[t+3],o=e[t+4],s=V(n,r)&&H(r,i)&&V(i,a)&&H(a,o)&&z(n,a,Y)&&z(n,o,Y)&&z(r,i,Y)&&(r.x-n.x)*(a.x-i.x)<0,c=H(n,r)&&V(r,i)&&H(i,a)&&V(a,o)&&B(n,a,Y)&&B(n,o,Y)&&B(r,i,Y)&&(r.y-n.y)*(a.y-i.y)<0;if(s||c)return G([...e.slice(0,t+1),o,...e.slice(t+5)]);if(t+5>=e.length)return;let l=e[t+5],u=H(n,r)&&V(r,i)&&H(i,a)&&V(a,o)&&H(o,l)&&z(n,o,Y)&&z(n,l,Y)&&z(i,a,Y)&&(i.x-r.x)*(o.x-a.x)<0,d=V(n,r)&&H(r,i)&&V(i,a)&&H(a,o)&&V(o,l)&&B(n,o,Y)&&B(n,l,Y)&&B(i,a,Y)&&(i.y-r.y)*(o.y-a.y)<0;if(!(!u&&!d))return G([...e.slice(0,t+1),l,...e.slice(t+6)])},`withoutDogleg`);for(let t=0;t<8;t++){let t=!1;for(let n of e){if(n.isLayoutOnly)continue;let e=G(n.points??[]);for(let r=0;r<=e.length-5;r++){let i=o(e,r);if(!(!i||!a(n,i))){n.points=i,t=!0;break}}if(t)break}if(!t)return}}t(At,`collapseRedundantRectangularDoglegs`);function jt(e,n){let{realNodeRects:r,labelNodeRects:i}=je(n.values()),a=e.filter(e=>!e.isLayoutOnly),o=t((e,t,n)=>G(e===t?n??[]:e.points??[]),`pointsFor`),s=t((e,t)=>{let n=0;for(let r=0;r<a.length;r++){let i=Z(o(a[r],e,t));for(let s=r+1;s<a.length;s++){let r=Z(o(a[s],e,t));for(let e of i)for(let t of r)Le(e.a,e.b,t.a,t.b,Y)&&n++}}return n},`strictCrossingCount`),c=t(e=>{let t=Z(e);if(t.length!==3)return;let n=t[1];if(!(t[0].horizontal===n.horizontal||t[2].horizontal===n.horizontal))return{index:n.index,horizontal:n.horizontal,vertical:n.vertical,segment:n}},`middleRail`),l=t((e,t)=>{let n=[e.start,e.end].filter(e=>!!e);return r.filter(e=>{if(n.includes(e.id))return!1;let r=e.rect;return t.horizontal?U(t.a.x,t.b.x,r.left,r.right)>=X&&t.a.y>=r.top-2&&t.a.y<=r.bottom+2:U(t.a.y,t.b.y,r.top,r.bottom)>=X&&t.a.x>=r.left-2&&t.a.x<=r.right+2})},`blockingRectsFor`),u=t((e,t,n)=>{let r=e.map(e=>({...e}));if(t.horizontal)r[t.index].y=n,r[t.index+1].y=n;else if(t.vertical)r[t.index].x=n,r[t.index+1].x=n;else return;let i=He(G(r));return Z(i).length===i.length-1?i:void 0},`candidateByMovingRail`),d=t((e,t,n)=>{let c=[e.start,e.end].filter(e=>!!e),l=Z(t);if(l.length!==t.length-1)return!1;for(let e of l)if(q(e.a,e.b,r,c,-2)||q(e.a,e.b,i,[],-2))return!1;for(let t of a)if(t!==e){for(let e of l)for(let n of Z(o(t)))if(ve(e,n,.5)>=X)return!1}return s(e,t)<=n},`candidateIsSafe`);for(let e=0;e<8;e++){let e=s(),t=!1;for(let n of a){let r=o(n),i=c(r);if(!i)continue;let a=l(n,i.segment);if(a.length===0)continue;let s=i.horizontal?[Math.min(...a.map(e=>e.rect.top))-20,Math.max(...a.map(e=>e.rect.bottom))+20]:[Math.min(...a.map(e=>e.rect.left))-20,Math.max(...a.map(e=>e.rect.right))+20];for(let a of s){let o=u(r,i.segment,a);if(!(!o||!d(n,o,e))){n.points=o,t=!0;break}}if(t)break}if(!t)return}}t(jt,`liftObstacleHuggingSameSideRails`);function Mt(e,n){let r=t(e=>{let t=e.groupTitleRect;if(!(!t||typeof t.left!=`number`||typeof t.right!=`number`||typeof t.top!=`number`||typeof t.bottom!=`number`||!Number.isFinite(t.left)||!Number.isFinite(t.right)||!Number.isFinite(t.top)||!Number.isFinite(t.bottom)||t.right<=t.left||t.bottom<=t.top))return{left:t.left,right:t.right,top:t.top,bottom:t.bottom}},`validTitleRect`),i=t(e=>{if(!e.isGroup||e.parentId)return;let t=e.direction,n=typeof t==`string`?t.toUpperCase():``;if(n===`LR`||n===`RL`||n===`BT`)return;let i=r(e),a=e.y,o=e.height;if(!i||typeof a!=`number`||typeof o!=`number`||!Number.isFinite(a)||!Number.isFinite(o)||o<=0)return;let s=i.right-i.left,c=i.bottom-i.top;if(!(c<=0||s<c))return{node:e,rect:i}},`topLaneTitleFor`),a=t((e,t)=>{if(!e.horizontal)return!1;let n=e.a.y;return n<=t.top+Y||n>=t.bottom-Y?!1:U(e.a.x,e.b.x,t.left,t.right)>=X},`horizontalSegmentIntersectsTitle`),o=[...n.values()].map(i).filter(e=>!!e);if(o.length===0)return;let s=0;for(let t of e){if(t.isLayoutOnly)continue;let e=G(t.points??[]);for(let t of Z(e))for(let e of o)a(t,e.rect)&&(s=Math.max(s,e.rect.bottom-t.a.y+4))}if(!(s<=Y))for(let e of o){let t=e.node.y,n=e.node.height;typeof t!=`number`||typeof n!=`number`||!Number.isFinite(t)||!Number.isFinite(n)||n<=0||(e.node.y=t-s/2,e.node.height=n+s,e.node.groupTitleRect={...e.rect,top:e.rect.top-s,bottom:e.rect.bottom-s})}}t(Mt,`liftTopLaneTitleBandsAboveRails`);function Nt(e,n){let r=t(e=>{let t=e.groupTitleRect;if(!(!t||typeof t.left!=`number`||typeof t.right!=`number`||typeof t.top!=`number`||typeof t.bottom!=`number`||!Number.isFinite(t.left)||!Number.isFinite(t.right)||!Number.isFinite(t.top)||!Number.isFinite(t.bottom)||t.right<=t.left||t.bottom<=t.top))return{left:t.left,right:t.right,top:t.top,bottom:t.bottom}},`validTitleRect`),i=t(e=>{if(!e.isGroup||e.parentId||e.direction!==`LR`)return;let t=r(e),n=e.x,i=e.width;if(!t||typeof n!=`number`||typeof i!=`number`||!Number.isFinite(n)||!Number.isFinite(i)||i<=0)return;let a=t.right-t.left,o=t.bottom-t.top;if(!(a<=0||o<a))return{node:e,rect:t}},`leftLaneTitleFor`),a=t((e,t)=>{if(!e.vertical)return!1;let n=e.a.x;return n<=t.left+Y||n>=t.right-Y?!1:U(e.a.y,e.b.y,t.top,t.bottom)>=X},`verticalSegmentIntersectsTitle`),o=t((e,t)=>{if(!e.horizontal)return!1;let n=e.a.y;return n<=t.top+Y||n>=t.bottom-Y?!1:U(e.a.x,e.b.x,t.left,t.right)>=X},`horizontalSegmentIntersectsTitle`),s=[...n.values()].map(i).filter(e=>!!e);if(s.length===0)return;let c=0;for(let t of e){if(t.isLayoutOnly)continue;let e=G(t.points??[]);for(let t of Z(e))for(let e of s)if(a(t,e.rect))c=Math.max(c,e.rect.right-t.a.x+4);else if(o(t,e.rect)){let n=Math.min(t.a.x,t.b.x);c=Math.max(c,e.rect.right-n+4)}}if(!(c<=Y))for(let e of s){let t=e.node.x,n=e.node.width;typeof t!=`number`||typeof n!=`number`||!Number.isFinite(t)||!Number.isFinite(n)||n<=0||(e.node.x=t-c/2,e.node.width=n+c,e.node.groupTitleRect={...e.rect,left:e.rect.left-c,right:e.rect.right-c})}}t(Nt,`shiftLeftLaneTitleBandsLeftOfRails`);function Pt(e,n){let{realNodeRects:r}=je(n.values()),i=e.filter(e=>!e.isLayoutOnly),a=t((e,t=new Map)=>G(t.get(e)??e.points??[]),`replacementPointsFor`),o=t((e=new Map)=>{let t=0;for(let n=0;n<i.length;n++){let r=Z(a(i[n],e));for(let o=n+1;o<i.length;o++){let n=Z(a(i[o],e));for(let e of r)for(let r of n)Le(e.a,e.b,r.a,r.b,Y)&&t++}}return t},`crossingCount`),s=t((e=new Map)=>i.reduce((t,n)=>t+W(a(n,e)),0),`totalBends`),c=t(e=>{let t=a(e);if(t.length<4)return;let n=t[t.length-2],r=t[t.length-1];if(!(!V(n,r,Y)&&!H(n,r,Y)))return{tailStart:n,terminal:r}},`terminalTailFor`),l=t((e,t)=>{let n=a(e);if(n.length<3)return;let r=n[0],i=n[1],o;if(V(r,i,Y))o={x:i.x,y:t.tailStart.y};else if(H(r,i,Y))o={x:t.tailStart.x,y:i.y};else return;let s=He(G([r,i,o,t.tailStart,t.terminal]));return Z(s).length===s.length-1?s:void 0},`candidateWithDestinationTail`),u=t((e,t)=>{let n=[e.start,e.end].filter(e=>!!e);for(let e of Z(t))if(q(e.a,e.b,r,n,-2))return!0;return!1},`pathHasNodeHit`),d=t((e,t,n)=>{for(let r of i)if(r!==e){for(let e of Z(t))for(let t of Z(a(r,n)))if(ve(e,t,.5)>=X)return!0}return!1},`pathHasSharedTrack`),f=t((e,t,n)=>!u(e,t)&&!d(e,t,n),`candidateIsSafe`),p=t(()=>{let e=new Map;for(let t of i){let r=t.end;if(!r||!n.has(r)||a(t).length<4)continue;let i=e.get(r)??[];i.push(t),e.set(r,i)}return e},`edgesByDestination`);for(let e=0;e<4;e++){let e=o();if(e===0)return;let t=s(),n,r=e,i=t;for(let t of p().values())for(let a=0;a<t.length;a++)for(let u=a+1;u<t.length;u++){let d=t[a],p=t[u],m=c(d),h=c(p);if(!m||!h)continue;let g=l(d,h),_=l(p,m);if(!g||!_)continue;let v=new Map([[d,g],[p,_]]);if(!f(d,g,v)||!f(p,_,v))continue;let y=o(v),b=s(v);y>=e||y>r||y===r&&b>=i||(n=v,r=y,i=b)}if(!n)return;for(let[e,t]of n)e.points=t}}t(Pt,`swapDestinationTerminalTailsToReduceCrossings`);function Ft(e,n){let{realNodeRects:r,labelNodeRects:i}=je(n.values()),a=e.filter(e=>!e.isLayoutOnly),o=t((e,t=new Map)=>G(t.get(e)??e.points??[]),`replacementPointsFor`),s=t((e=new Map)=>{let t=0;for(let n=0;n<a.length;n++){let r=Z(o(a[n],e));for(let i=n+1;i<a.length;i++){let n=Z(o(a[i],e));for(let e of r)for(let r of n)Le(e.a,e.b,r.a,r.b,Y)&&t++}}return t},`strictCrossingCount`),c=t((e=new Map)=>a.reduce((t,n)=>t+W(o(n,e)),0),`totalBends`),l=t(e=>{let t=e.start,r=e.end,i=t?n.get(t):void 0,a=r?n.get(r):void 0,o=i?K(i):void 0,s=a?K(a):void 0;return o&&s?{src:o,dst:s}:void 0},`endpointRectsFor`),u=t((e,t,n)=>{if(n.index<=0||n.index+1>=t.length-1)return;let r=l(e);if(r){if(n.vertical){let i=n.a.x,a=Math.min(r.src.left,r.dst.left),o=Math.max(r.src.right,r.dst.right),s=i<a-Y?`left`:i>o+Y?`right`:void 0;return s?{edge:e,points:t,segmentIndex:n.index,axis:`vertical`,side:s,coord:i,min:Math.min(n.a.y,n.b.y),max:Math.max(n.a.y,n.b.y)}:void 0}if(n.horizontal){let i=n.a.y,a=Math.min(r.src.top,r.dst.top),o=Math.max(r.src.bottom,r.dst.bottom),s=i<a-Y?`top`:i>o+Y?`bottom`:void 0;return s?{edge:e,points:t,segmentIndex:n.index,axis:`horizontal`,side:s,coord:i,min:Math.min(n.a.x,n.b.x),max:Math.max(n.a.x,n.b.x)}:void 0}}},`externalRailForSegment`),d=t(()=>{let e=[];for(let t of a){let n=o(t);for(let r of Z(n)){let i=u(t,n,r);i&&e.push(i)}}return e},`collectExternalRails`),f=t((e,t)=>e.edge!==t.edge&&e.axis===t.axis&&e.side===t.side&&U(e.min,e.max,t.min,t.max)>=X,`railsInteract`),p=t(e=>{let t=[],n=new Set;for(let r of e){if(n.has(r))continue;let i=[r],a=[];for(n.add(r);i.length>0;){let t=i.pop();a.push(t);for(let r of e)!n.has(r)&&f(t,r)&&(n.add(r),i.push(r))}a.length>1&&t.push(a)}return t},`connectedComponents`),m=t(e=>{let t=[];for(let n of e)t.some(e=>Math.abs(e-n.coord)<Y)||t.push(n.coord);for(;t.length<e.length;){let n=Math.min(...t),r=Math.max(...t),i=e[0].side;t.push(i===`left`||i===`top`?n-12*(e.length-t.length):r+12*(e.length-t.length))}return t},`uniqueCoordsFor`),h=t(e=>{let n=e.map(e=>e.coord),r=m(e),i=[];if(e.length<=6){let a=Array(r.length).fill(!1),o=[],s=t(()=>{if(o.length===e.length){o.some((e,t)=>Math.abs(e-n[t])>=Y)&&i.push([...o]);return}for(let[e,t]of r.entries())a[e]||(a[e]=!0,o.push(t),s(),o.pop(),a[e]=!1)},`visit`);return s(),i}for(let e=0;e<n.length;e++)for(let t=e+1;t<n.length;t++){let r=[...n];[r[e],r[t]]=[r[t],r[e]],i.push(r)}return i},`coordinateAssignmentsFor`),g=t((e,t)=>{let n=new Map;for(let[r,i]of e.entries()){let e=t[r],a=n.get(i.edge)??i.points.map(e=>({x:e.x,y:e.y}));i.axis===`vertical`?(a[i.segmentIndex].x=e,a[i.segmentIndex+1].x=e):(a[i.segmentIndex].y=e,a[i.segmentIndex+1].y=e),n.set(i.edge,a)}let r=new Map;for(let[e,t]of n){let n=He(G(t));if(Z(n).length!==n.length-1)return;r.set(e,n)}return r},`replacementsForAssignment`),_=t(e=>{for(let[t,n]of e){let e=[t.start,t.end].filter(e=>!!e);for(let t of Z(n))if(q(t.a,t.b,r,e,-2)||q(t.a,t.b,i,[],-2))return!1}for(let t=0;t<a.length;t++){let n=a[t],r=e.has(n),i=Z(o(n,e));for(let n=t+1;n<a.length;n++){let t=a[n];if(!r&&!e.has(t))continue;let s=Z(o(t,e));for(let e of i)for(let t of s)if(ve(e,t,.5)>=X)return!1}}return!0},`candidateIsSafe`);for(let e=0;e<4;e++){let e=s();if(e===0)return;let t,n=e,r=c(),i=1/0;for(let a of p(d()))for(let o of h(a)){let l=g(a,o);if(!l||!_(l))continue;let u=s(l);if(u>=e)continue;let d=c(l),f=a.reduce((e,t,n)=>e+Math.abs(o[n]-t.coord),0);u>n||u===n&&(d>r||d===r&&f>=i)||(t=l,n=u,r=d,i=f)}if(!t)return;for(let[e,n]of t)e.points=n}}t(Ft,`reassignCrossingExternalRailChannels`);function It(e,n){let{realNodeRects:r,labelNodeRects:i}=je(n.values()),a=e.filter(e=>!e.isLayoutOnly),o=t((e,t,n)=>G(e===t?n??[]:e.points??[]),`pointsFor`),s=t(e=>Z(e).reduce((e,t)=>{let n=t.a.x-t.b.x,r=t.a.y-t.b.y;return e+Math.hypot(n,r)},0),`pathLength`),c=t((e,t)=>{let n=0;for(let r=0;r<a.length;r++){let i=Z(o(a[r],e,t));for(let s=r+1;s<a.length;s++){let r=Z(o(a[s],e,t));for(let e of i)for(let t of r)Le(e.a,e.b,t.a,t.b,Y)&&n++}}return n},`strictCrossingCount`),l=t((e,t)=>{if(e.horizontal){let n=e.a.y;return(Math.abs(n-t.top)<1||Math.abs(n-t.bottom)<1)&&U(e.a.x,e.b.x,t.left,t.right)>=X}if(e.vertical){let n=e.a.x;return(Math.abs(n-t.left)<1||Math.abs(n-t.right)<1)&&U(e.a.y,e.b.y,t.top,t.bottom)>=X}return!1},`segmentRunsAlongRectBorder`),u=t(e=>{let t=[e.start,e.end].filter(e=>!!e),r=[];for(let e of t){let t=n.get(e),i=t?K(t):void 0;i&&r.push(i)}return r},`endpointRectsFor`),d=t((e,t)=>{if(t+3>=e.length)return[];let n=e[t],r=e[t+1],i=e[t+2],a=e[t+3],o=V(n,r,Y)&&H(r,i,Y)&&V(i,a,Y),s=H(n,r,Y)&&V(r,i,Y)&&H(i,a,Y);if(!o&&!s||!(o?Math.sign(r.x-n.x)!==Math.sign(a.x-i.x):Math.sign(r.y-n.y)!==Math.sign(a.y-i.y)))return[];let c=z(n,a,Y)||B(n,a,Y)?[]:[{x:n.x,y:a.y},{x:a.x,y:n.y}],l=c.length===0?[[...e.slice(0,t+1),...e.slice(t+3)]]:c.map(n=>[...e.slice(0,t+1),n,...e.slice(t+3)]),u=new Set;return l.map(e=>He(G(e))).filter(e=>{if(Z(e).length!==e.length-1||!e.some(e=>R(e,a,Y)))return!1;let t=e.map(e=>`${e.x.toFixed(3)},${e.y.toFixed(3)}`).join(`|`);return u.has(t)?!1:(u.add(t),!0)})},`shortcutCandidatesAt`),f=t((e,t,n)=>{let s=[e.start,e.end].filter(e=>!!e),d=u(e);for(let e of Z(t))if(q(e.a,e.b,r,s,-2)||q(e.a,e.b,i,[],-2)||d.some(t=>l(e,t)))return!1;for(let n of a)if(n!==e){for(let e of Z(t))for(let t of Z(o(n)))if(ve(e,t,.5)>=X)return!1}return c(e,t)<=n},`candidateIsSafe`);for(let e=0;e<8;e++){let e=c(),t,n,r=e,i=1/0,l=1/0;for(let u of a){let a=o(u),p=W(a,Y),m=s(a);for(let o=0;o<=a.length-4;o++)for(let h of d(a,o)){let a=W(h,Y),o=s(h);if(!(a<p||a===p&&o<m-Y)||!f(u,h,e))continue;let d=c(u,h);d>r||d===r&&(a>i||a===i&&o>=l)||(t=u,n=h,r=d,i=a,l=o)}}if(!t||!n)return;t.points=n}}t(It,`shortcutRedundantOrthogonalJogs`);function Lt(e,n){let r=[];for(let e of n.values()){if(e.isGroup||e.isEdgeLabel)continue;let t=e.x??0,n=e.y??0,i=K(e);i&&r.push({id:String(e.id??``),cx:t,cy:n,rect:i})}if(r.length===0)return;let i=new Map(r.map(e=>[e.id,e])),a=r.map(e=>({id:e.id,rect:e.rect})),o=[`top`,`bottom`,`left`,`right`],s={top:Math.min(...r.map(e=>e.rect.top))-20,bottom:Math.max(...r.map(e=>e.rect.bottom))+20,left:Math.min(...r.map(e=>e.rect.left))-20,right:Math.max(...r.map(e=>e.rect.right))+20},c=e.filter(e=>!e.isLayoutOnly),l=new Map(c.map((e,t)=>[e,t])),u=t(e=>{let t=e===`left`||e===`top`?-1:1,n=[];for(let r=0;r<=2;r++)n.push(s[e]+t*20*r);return n},`outwardTracksForSide`),d=t((e,t=new Map)=>G(t.get(e)??e.points??[]),`replacementPointsFor`),f=t((e,t)=>{let n=0;for(let r of e)for(let e of t)Le(r.a,r.b,e.a,e.b,Y)&&n++;return n},`crossingCountBetweenSegments`),p=t((e,t)=>f(Z(e),Z(t)),`crossingCountBetweenPaths`),m=t((e=new Map)=>{let n=0,r=[],i=new Set,a=[],o=t(e=>{i.has(e)||(i.add(e),a.push(e))},`addEdge`);for(let t=0;t<c.length;t++){let i=c[t],a=d(i,e);for(let s=t+1;s<c.length;s++){let t=c[s],l=p(a,d(t,e));l>0&&(n+=l,r.push({first:i,second:t,count:l}),o(i),o(t))}}return a.sort((e,t)=>(l.get(e)??0)-(l.get(t)??0)),{count:n,pairs:r,edgeSet:i,edges:a}},`crossingSnapshot`),h=t((e,t)=>{let n=new Set(t.keys());if(n.size===0)return e.count;let r=0;for(let t of e.pairs)(n.has(t.first)||n.has(t.second))&&(r+=t.count);let i=0;for(let e=0;e<c.length;e++){let r=c[e],a=n.has(r),o=d(r,t);for(let r=e+1;r<c.length;r++){let e=c[r];!a&&!n.has(e)||(i+=p(o,d(e,t)))}}return e.count-r+i},`crossingCountWithReplacements`),g=t(e=>{let t=new Map;for(let n of e.pairs){let e=t.get(n.first)??new Set;e.add(n.second),t.set(n.first,e);let r=t.get(n.second)??new Set;r.add(n.first),t.set(n.second,r)}let n=[],r=new Set;for(let i of e.edges){if(r.has(i))continue;let e=[i],a=[];for(r.add(i);e.length>0;){let n=e.pop();a.push(n);for(let i of t.get(n)??[])r.has(i)||(r.add(i),e.push(i))}a.sort((e,t)=>(l.get(e)??0)-(l.get(t)??0)),a.length>1&&n.push(a)}return n},`crossingComponents`),_=t(e=>[e.start,e.end].filter(e=>!!e),`endpointIdsFor`),v=t(e=>{let t=[];for(let n of g(e)){let e=new Set(n),r=new Set(n.flatMap(e=>_(e))),i=[...n];for(let t of c)e.has(t)||_(t).some(e=>r.has(e))&&i.push(t);i.sort((e,t)=>(l.get(e)??0)-(l.get(t)??0)),t.push(i)}return t},`pairSearchGroups`),y=t((e,t,n)=>h(e,new Map([[t,n]])),`crossingCountWithSingleReplacement`),b=t(e=>{let t=new Map;for(let n of e.pairs)t.set(n.first,(t.get(n.first)??0)+n.count),t.set(n.second,(t.get(n.second)??0)+n.count);return t},`currentCrossingsByEdge`),x=t(e=>e.slice(1).reduce((t,n,r)=>{let i=e[r];return t+Math.abs(n.x-i.x)+Math.abs(n.y-i.y)},0),`pathLength`),S=t((e=new Map)=>c.reduce((t,n)=>t+W(d(n,e)),0),`totalBends`),C=t((e=new Map)=>c.reduce((t,n)=>t+x(d(n,e)),0),`totalLength`),w=t((e,t,n=new Map)=>{let r=Z(t);for(let t of c)if(t!==e){for(let e of r)for(let r of Z(d(t,n)))if(ve(e,r,.5)>=X)return!0}return!1},`pathHasSegmentConflict`),T=t((e,t)=>{let n=[e.start,e.end].filter(e=>!!e);for(let e of Z(t))if(q(e.a,e.b,a,n,-2))return!0;return!1},`pathHitsNode`),E=t((e,t)=>{let n=He(G(t));Z(n).length===n.length-1&&e.push(n)},`pushOrthogonalCandidate`),D=t(e=>e===`left`||e===`right`,`sideIsHorizontal`),O=t((e,t,n)=>{switch(t){case`left`:return Math.min(e.x,n.x)-20;case`right`:return Math.max(e.x,n.x)+20;case`top`:return Math.min(e.y,n.y)-20;case`bottom`:return Math.max(e.y,n.y)+20}},`localTrackForSameSide`),k=t((e,t,n,r)=>{let i=n===`left`||n===`top`?-1:1,a=[O(t,n,r),s[n]];for(let o of a)for(let a=0;a<=2;a++)E(e,ke(t,n,r,o+i*20*a))},`addSameSideCandidates`),A=t((e,t,n,r,i)=>{for(let a of u(n))for(let n of u(i))E(e,[t,{x:a,y:t.y},{x:a,y:n},{x:r.x,y:n},r])},`addHorizontalToVerticalCandidates`),j=t((e,t,n,r,i)=>{for(let a of u(n))for(let n of u(i))E(e,[t,{x:t.x,y:a},{x:n,y:a},{x:n,y:r.y},r])},`addVerticalToHorizontalCandidates`),ee=t((e,t,n,r,i)=>{let a=[...u(`top`),...u(`bottom`)];for(let o of u(n))for(let n of u(i))for(let i of a)E(e,[t,{x:o,y:t.y},{x:o,y:i},{x:n,y:i},{x:n,y:r.y},r])},`addHorizontalPairCandidates`),te=t((e,t,n,r,i)=>{let a=[...u(`left`),...u(`right`)];for(let o of u(n))for(let n of u(i))for(let i of a)E(e,[t,{x:t.x,y:o},{x:i,y:o},{x:i,y:n},{x:r.x,y:n},r])},`addVerticalPairCandidates`),M=t(e=>{let t=new Set;return e.map(e=>G(e)).filter(e=>{let n=e.map(e=>`${e.x.toFixed(3)},${e.y.toFixed(3)}`).join(`|`);return t.has(n)||e.length<2?!1:(t.add(n),!0)})},`dedupeCandidatePaths`),ne=t((e,t,n,r)=>{let i=[],a=Oe(e,t,n,r,20,Y);a&&E(i,a),t===r&&k(i,e,t,n);let o=D(t),s=D(r);return o&&!s?A(i,e,t,n,r):!o&&s?j(i,e,t,n,r):o?ee(i,e,t,n,r):te(i,e,t,n,r),M(i)},`buildCandidatesForSides`),N=t((e,t,n,r)=>{let i=[...u(`left`),...u(`right`)],a=[...u(`top`),...u(`bottom`)];for(let s of o){let o=De(r,s),c=s===`top`||s===`bottom`?u(s):a;for(let r of i){E(e,[t,n,{x:r,y:n.y},{x:r,y:o.y},o]);for(let i of c)E(e,[t,n,{x:r,y:n.y},{x:r,y:i},{x:o.x,y:i},o])}}},`addVerticalDepartureOuterTrackCandidates`),re=t((e,t,n,r)=>{let i=[...u(`left`),...u(`right`)],a=[...u(`top`),...u(`bottom`)];for(let s of o){let o=De(r,s),c=s===`left`||s===`right`?u(s):i;for(let r of a){E(e,[t,n,{x:n.x,y:r},{x:o.x,y:r},o]);for(let i of c)E(e,[t,n,{x:n.x,y:r},{x:i,y:r},{x:i,y:o.y},o])}}},`addHorizontalDepartureOuterTrackCandidates`),P=t(e=>{let t=e.start,n=e.end,r=n?i.get(n):void 0;if(!t||!r)return[];let a=G(e.points??[]);if(a.length<4)return[];let o=a[0],s=a[1],c=[];return H(o,s,Y)?N(c,o,s,r):V(o,s,Y)&&re(c,o,s,r),c},`terminalPreservingOuterTrackCandidates`),ie=t(e=>{let t=e.start,n=e.end,r=t?i.get(t):void 0,a=n?i.get(n):void 0;if(!r||!a)return[];let s=[];for(let e of o){let t=De(r,e);for(let n of o)s.push(...ne(t,e,De(a,n),n))}return s.push(...P(e)),s},`candidatePathsFor`),ae=t(()=>new Map(c.map(e=>[e,Z(d(e))])),`currentSegmentsByEdge`),oe=t((e,t,n)=>{let r=new Set;for(let i of c){if(i===e)continue;let a=n.get(i)??Z(d(i));t.some(e=>a.some(t=>ve(e,t,.5)>=X))&&r.add(i)}return r},`sharedTrackConflictsFor`),se=t((e,t,n,r)=>{let i=new Set;return ie(e).map(e=>He(G(e))).filter(t=>{if(T(e,t))return!1;let n=t.map(e=>`${e.x.toFixed(3)},${e.y.toFixed(3)}`).join(`|`);return i.has(n)||t.length<2?!1:(i.add(n),!0)}).map(i=>{let a=Z(i),o=0;for(let t of c)t!==e&&(o+=f(a,n.get(t)??Z(d(t))));return{candidate:i,candidateSegments:a,crossings:t.count-(r.get(e)??0)+o,bends:W(i,Y),totalBends:W(i),length:x(i)}}).filter(({crossings:e})=>e<=t.count).sort((e,t)=>e.crossings-t.crossings||e.bends-t.bends||e.length-t.length).slice(0,48).map(t=>({path:t.candidate,segments:t.candidateSegments,sharedTrackConflicts:oe(e,t.candidateSegments,n),totalBends:t.totalBends,length:t.length}))},`pairCandidatesFor`),ce=t((e,t,n,r,i,a)=>{let o=0;for(let n of e.pairs)(n.first===t||n.second===t||n.first===r||n.second===r)&&(o+=n.count);let s=f(n.segments,i.segments);for(let e of c){if(e===t||e===r)continue;let o=a.get(e)??Z(d(e));s+=f(n.segments,o)+f(i.segments,o)}return e.count-o+s},`pairCrossingCount`),le=t((e,t)=>{for(let n of e.sharedTrackConflicts)if(n!==t)return!1;return!0},`conflictsOnlyWith`),ue=t((e,t)=>e.segments.some(e=>t.segments.some(t=>ve(e,t,.5)>=X)),`candidatesShareTrack`),de=t((e,t,n,r)=>le(t,n.edge)&&le(r,e.edge)&&!ue(t,r),`pairCandidatesAreCompatible`),fe=t((e,t,n,r,i)=>{let a=ce(e.current,t.edge,n,r.edge,i,e.baseSegments);if(!(a>=e.current.count))return{replacements:new Map([[t.edge,n.path],[r.edge,i.path]]),crossings:a,bends:e.currentBends-(e.baseBendsByEdge.get(t.edge)??0)-(e.baseBendsByEdge.get(r.edge)??0)+n.totalBends+i.totalBends,length:e.currentLength-(e.baseLengthByEdge.get(t.edge)??0)-(e.baseLengthByEdge.get(r.edge)??0)+n.length+i.length}},`scorePairReplacement`),pe=t((e,t)=>e.crossings<t.crossings||e.crossings===t.crossings&&(e.bends<t.bends||e.bends===t.bends&&e.length<t.length),`pairScoreIsBetter`),F=t((e,t,n,r)=>{let i=r;for(let r of t.candidates)for(let a of n.candidates){if(!de(t,r,n,a))continue;let o=fe(e,t,r,n,a);o&&pe(o,i)&&(i=o)}return i},`bestScoreForOptionPair`),I=t(e=>{let t=S(),n=C(),r=ae(),i=b(e),a=new Map(c.map(e=>[e,W(d(e))])),o=new Map(c.map(e=>[e,x(d(e))])),s=new Map,l=v(e);for(let t of l)for(let n of t){if(s.has(n))continue;let t=se(n,e,r,i);t.length>0&&s.set(n,{edge:n,candidates:t})}let u={replacements:new Map,crossings:e.count,bends:t,length:n},f={current:e,currentBends:t,currentLength:n,baseBendsByEdge:a,baseLengthByEdge:o,baseSegments:r};for(let t of l){let n=new Set(t.filter(t=>e.edgeSet.has(t))),r=t.map(e=>s.get(e)).filter(e=>!!e);for(let e=0;e<r.length;e++){let t=r[e];for(let i=e+1;i<r.length;i++){let e=r[i];!n.has(t.edge)&&!n.has(e.edge)||(u=F(f,t,e,u))}}}return u.replacements.size>0?u.replacements:void 0},`bestPairedReplacement`);for(let e=0;e<4;e++){let e=m(),t=e.count;if(t===0)return;let n,r,i=t,a=1/0;for(let o of e.edges){let s=W(d(o),Y);for(let c of ie(o)){let l=T(o,c),u=!l&&w(o,c),d=y(e,o,c),f=W(c,Y);l||u||(d<t||d===t&&f<s)&&(d>i||d===i&&f>=a||(n=o,r=c,i=d,a=f))}}if(n&&r){n.points=r;continue}let o=I(e);if(!o)return;for(let[e,t]of o)e.points=t}}t(Lt,`resolveRenderedOrthogonalCrossings`);var Rt=.001,zt=8;function Bt(e,n){let{nodeInfoById:r,realNodeRects:i}=Ae(n),a=[`top`,`bottom`,`left`,`right`],o={top:Math.min(...i.map(e=>e.rect.top))-20,bottom:Math.max(...i.map(e=>e.rect.bottom))+20,left:Math.min(...i.map(e=>e.rect.left))-20,right:Math.max(...i.map(e=>e.rect.right))+20},s=t((e,t,n,r)=>{let i=[],a=Oe(e,t,n,r,20,Rt);return a&&i.push(a),t===r&&i.push(ke(e,t,n,o[t])),i},`buildOrthogonalPathCandidates`),c=t((e,t)=>{for(let n=0;n<e.length-1;n++){let r=e[n],a=e[n+1];if(q(r,a,i,t,1))return!0}return!1},`pathHitsNode`),l=t((t,n,r=!1)=>{let i=0,a=ye(t,Rt),o=n.start,s=n.end;for(let t of e){if(t===n||t.isLayoutOnly)continue;let e=t.start,c=t.end;if(!r&&o&&s&&(e===o||e===s||c===o||c===s))continue;let l=t.points;if(!(!l||l.length<2))for(let e of a)for(let t of ye(l,Rt)){if(Pe(e.a,e.b,t.a,t.b,Rt,Rt)){i++;continue}ve(e,t,Rt)>=zt&&i++}}return i},`pathConflictCount`),u=t((e,t)=>{let n=Math.abs(e.y-t.rect.top),r=Math.abs(e.y-t.rect.bottom),i=Math.abs(e.x-t.rect.left),a=Math.abs(e.x-t.rect.right),o=`top`,s=n;return r<s&&(o=`bottom`,s=r),i<s&&(o=`left`,s=i),a<s&&(o=`right`,s=a),o},`nearestSideOfRect`),d=new Map,f=t((e,t,n)=>{let r=d.get(e)??[];r.push({side:t,edgeId:n}),d.set(e,r)},`addFaceClaim`);for(let t of e){if(t.isLayoutOnly)continue;let e=t.points??[];if(e.length<1)continue;let n=t.id??``,i=t.start,a=t.end;if(i){let t=r.get(i);t&&f(i,u(e[0],t),n)}if(a){let t=r.get(a);t&&f(a,u(e[e.length-1],t),n)}}let p=t((e,t,n)=>d.get(e)?.some(e=>e.edgeId!==n&&e.side===t)??!1,`faceIsClaimed`);for(let t of e){if(t.isLayoutOnly)continue;let e=t.points;if(!e||e.length<2)continue;let n=W(e,Rt);if(n<4)continue;let i=t.start,o=t.end;if(!i||!o)continue;let m=r.get(i),h=r.get(o);if(!m||!h)continue;let g=t.id??``,_=l(e,t,!0),v=l(e,t),y,b=_,x=n;for(let e of a){if(p(i,e,g))continue;let n=De(m,e);for(let r of a){if(p(o,r,g))continue;let a=De(h,r);for(let u of s(n,e,a,r)){if(c(u,[i,o]))continue;let e=W(u,Rt);if(_>0){let n=l(u,t,!0);if(n>b||n===b&&e>=x)continue;b=n,x=e,y=u;continue}l(u,t)>v||e<x&&(x=e,y=u)}}}if(y){t.points=y;let e=d.get(i);e&&d.set(i,e.filter(e=>e.edgeId!==g));let n=d.get(o);n&&d.set(o,n.filter(e=>e.edgeId!==g)),f(i,u(y[0],m),g),f(o,u(y[y.length-1],h),g)}}}t(Bt,`simplifyDetouredEdges`);var Q=.001,Vt=10,Ht=7;function Ut(e,t){let n=t?0:e.length-1,r=t?1:-1,i=e[n],a=e[n+r];if(!i||!a)return;let o=a.x-i.x,s=a.y-i.y;if(!(Math.abs(o)+Math.abs(s)<Q)){if(Math.abs(s)<=Q){let e=i.x+Math.sign(o)*Vt;return{left:Math.min(i.x,e),right:Math.max(i.x,e),top:i.y-Ht,bottom:i.y+Ht}}if(Math.abs(o)<=Q){let e=i.y+Math.sign(s)*Vt;return{left:i.x-Ht,right:i.x+Ht,top:Math.min(i.y,e),bottom:Math.max(i.y,e)}}return{left:Math.min(i.x,a.x),right:Math.max(i.x,a.x),top:Math.min(i.y,a.y),bottom:Math.max(i.y,a.y)}}}t(Ut,`markerClearanceRectFor`);function Wt(e){return{left:Math.min(e.left,e.right),right:Math.max(e.left,e.right),top:Math.min(e.top,e.bottom),bottom:Math.max(e.top,e.bottom)}}t(Wt,`normalizeRect`);function Gt(e,t){let n=G(t);return[Ut(n,!0),Ut(n,!1)].some(t=>t&&we(e,Wt(t)))}t(Gt,`labelOverlapsOwnMarker`);function Kt(e,n){let r=[];for(let t of e){if(t.isLayoutOnly)continue;let e=t.points;if(!(!e||e.length<2))for(let n=0;n<e.length-1;n++)r.push({edgeId:t.id,p1:e[n],p2:e[n+1]})}let i=[],a=[];for(let e of n.values()){let t=e.isGroup,n=e.parentId;if(t&&!n){let t=K(e);t&&a.push({id:e.id,rect:t});continue}if(t||e.isEdgeLabel)continue;let r=K(e);r&&i.push({nodeId:e.id,rect:r})}let o=t((e,t)=>{let n=Te(t,3);for(let{nodeId:t,rect:r}of i)if(t!==e&&we(n,r))return!0;return!1},`labelOverlapsForeignNode`),s=t((e,t)=>{let n=Te(t,3);for(let t of r)if(t.edgeId!==e&&xe(t.p1,t.p2,n))return!0;return!1},`labelOverlapsForeignEdge`),c=t((e,t,n)=>o(e,n)||s(t,n),`labelOverlapsAnything`),l=[],u=t(e=>{for(let{id:t,rect:n}of a)if(Ce(n,e))return t},`findContainingLane`),d=t((e,t)=>l.some(n=>n.labelId!==e&&we(t,n.rect)),`overlapsPlacedLabel`);for(let r of e){if(r.isLayoutOnly)continue;let e=r.labelNodeId;if(!e)continue;let i=n.get(e);if(!i)continue;let f=r.points;if(!f||f.length<2)continue;let p=i.width??0,m=i.height??0;if(p<=0||m<=0)continue;let h=[];for(let e=0;e<f.length-1;e++){let t=f[e],n=f[e+1],r=Math.abs(t.x-n.x),i=Math.abs(t.y-n.y);r<Q&&i<Q||r>=Q&&i>=Q||h.push({idx:e,length:r+i,orientation:r>=Q?`horizontal`:`vertical`,midX:(t.x+n.x)/2,midY:(t.y+n.y)/2})}if(h.length===0)continue;let g=h.length>=3?h.filter(e=>e.idx>0&&e.idx<h.length-1):h,_=g.length>0?g:h,v=p>=m?`horizontal`:`vertical`,y=t(e=>[...e].sort((e,t)=>{let n=e.orientation===v;if(n!==(t.orientation===v))return n?-1:1;let r=e.length>=(e.orientation===`horizontal`?p:m)+2;return r===t.length>=(t.orientation===`horizontal`?p:m)+2?t.length-e.length:r?-1:1}),`rankSegments`),b=h[0],x=h[h.length-1],S=[.5,.25,.75,.05,.95,.15,.85,.1,.9],C=t((e,t)=>{let n=f[e.idx],r=f[e.idx+1];return{midX:n.x+(r.x-n.x)*t,midY:n.y+(r.y-n.y)*t}},`anchorAtT`),w=t((e,t,n)=>Math.min(n,Math.max(t,e)),`clamp`),T=t((e,t)=>e.midX>=t.left-Q&&e.midX<=t.right+Q&&e.midY>=t.top-Q&&e.midY<=t.bottom+Q,`pointInsideRectInclusive`),E=t(e=>{let t=Ee(e.midX,e.midY,p,m),n=u(t);if(n)return{laneId:n,anchor:e,rect:t};let r=a.find(({rect:t})=>T(e,t));if(!r)return;let i=r.rect.left+p/2+1,o=r.rect.right-p/2-1,s=r.rect.top+m/2+1,c=r.rect.bottom-m/2-1;if(i>o||s>c)return;let l={midX:w(e.midX,i,o),midY:w(e.midY,s,c)},d=Ee(l.midX,l.midY,p,m);return T(e,d)?{laneId:r.id,anchor:l,rect:d}:void 0},`placementForAnchor`),D=t((e,t,n)=>e.orientation===`horizontal`?Math.abs(t.midX-n.x):Math.abs(t.midY-n.y),`distanceAlongSegment`),O=t((e,t)=>{let n=(e.orientation===`horizontal`?p/2:m/2)+12;if(e===b){let r=f[e.idx];if(D(e,t,r)+Q<n)return!1}if(e===x){let r=f[e.idx+1];if(D(e,t,r)+Q<n)return!1}return!0},`labelClearsTerminalEndpoints`),k=t(t=>{let n=y(t);for(let t of n)for(let n of S){let i=C(t,n);if(!O(t,i))continue;let a=E(i);if(a&&!Gt(a.rect,f)&&!d(e,a.rect)&&!c(e,r.id,a.rect))return{laneId:a.laneId,anchor:a.anchor}}},`tryPool`),A=t((t,n,i=!1)=>{let a=y(t);for(let t of a){let a={midX:t.midX,midY:t.midY};if(n&&!O(t,a))continue;let c=E(a);if(c&&!Gt(c.rect,f)&&!d(e,c.rect)&&!o(e,c.rect)&&(i||!s(r.id,c.rect)))return{laneId:c.laneId,anchor:c.anchor}}},`findLaneContainingFallback`),j=k(_)??(_.length<h.length?k(h):void 0)??A(h,!0)??A(h,!1)??A(h,!1,!0);if(j){i.x=j.anchor.midX,i.y=j.anchor.midY,i.parentId=j.laneId;let t=Ee(j.anchor.midX,j.anchor.midY,p,m),n=l.findIndex(t=>t.labelId===e);n>=0?l[n]={labelId:e,rect:t}:l.push({labelId:e,rect:t})}}}t(Kt,`anchorLabelsToPolyline`);var qt=1e-6,Jt=8/2,Yt=3;function Xt(e,t){return e<t?`${e}::${t}`:`${t}::${e}`}t(Xt,`pairKey`);function Zt(e,n){let{nodeInfoById:r,realNodeRects:i}=Ae(n),a=new Map;for(let e of n){let t=e.id;if(!e.isGroup&&e.isEdgeLabel){a.set(t,{w:e.width??0,h:e.height??0});continue}}let o=t((n,r,i,o)=>{let s=Xt(r,i),c=0,l=t(e=>{if(!e)return;let t=a.get(e);if(!t)return;let n=o===`x`?t.w/2:t.h/2;n>c&&(c=n)},`consider`);l(n.labelNodeId);for(let t of e){if(t===n||t.isLayoutOnly)continue;let e=t.start,r=t.end;!e||!r||Xt(e,r)===s&&l(t.labelNodeId)}return c>0?c+Yt:0},`labelClearanceFor`);for(let t of e){if(t.isLayoutOnly)continue;let n=t.points;if(!be(n,qt))continue;let a=Ne(t,r,qt);if(!a)continue;let{srcId:s,dstId:c,srcInfo:l,dstInfo:u,collinearX:d,collinearY:f}=a;if(d===f)continue;let p,m;if(d){let e=u.cy>l.cy;p={x:l.cx,y:e?l.rect.bottom:l.rect.top},m={x:u.cx,y:e?u.rect.top:u.rect.bottom}}else{let e=u.cx>l.cx;p={x:e?l.rect.right:l.rect.left,y:l.cy},m={x:e?u.rect.left:u.rect.right,y:u.cy}}if(q(p,m,i,[s,c],1))continue;let h=o(t,s,c,d?`x`:`y`),g=h>Jt?h:Jt,_=[0,g,-g];for(let n of _){let r={...p},a={...m};if(d){if(r.x+=n,a.x+=n,r.x<=l.rect.left||r.x>=l.rect.right||a.x<=u.rect.left||a.x>=u.rect.right)continue}else if(r.y+=n,a.y+=n,r.y<=l.rect.top||r.y>=l.rect.bottom||a.y<=u.rect.top||a.y>=u.rect.bottom)continue;if(!q(r,a,i,[s,c],1)&&!Ie(r,a,e,t,{epsilon:qt})){t.points=[r,a];break}}}}t(Zt,`straightenCollinearSiblingDetours`);function Qt(e,n){let r=.001,{realNodeRects:i,labelNodeRects:a}=je(n.values()),o=t((e,t)=>ye(t,r).map(n=>({...n,edge:e,interior:n.index>=1&&n.index<=t.length-3})),`segmentsFor`),s=t(()=>{let t=[];for(let n of e){if(n.isLayoutOnly)continue;let e=n.points;!e||e.length<2||t.push(...o(n,G(e)))}return t},`allSegments`),c=t((e,t)=>e.horizontal&&t.horizontal?U(e.a.x,e.b.x,t.a.x,t.b.x)>=8&&Math.abs(e.a.y-t.a.y)<7:e.vertical&&t.vertical?U(e.a.y,e.b.y,t.a.y,t.b.y)>=8&&Math.abs(e.a.x-t.a.x)<7:!1,`hasCrowdedParallelTrack`),l=t((t,n)=>{let s=t.start,l=t.end,u=o(t,n);if(u.length!==n.length-1)return!1;let d=[s,l].filter(e=>!!e),f=t.labelNodeId?[t.labelNodeId]:[];for(let e of u)if(q(e.a,e.b,i,d,-2)||q(e.a,e.b,a,f,-2))return!1;for(let n of e){if(n===t||n.isLayoutOnly)continue;let e=n.points;if(!(!e||e.length<2)){for(let t of u)for(let i of o(n,G(e)))if(c(t,i)||Le(t.a,t.b,i.a,i.b,r))return!1}}return!0},`candidateIsSafe`),u=t((e,t)=>{let n=G(e.edge.points??[]);if(n.length<4||e.index>=n.length-1)return;let r=n.map(e=>({...e}));if(e.horizontal)r[e.index].y+=t,r[e.index+1].y+=t;else if(e.vertical)r[e.index].x+=t,r[e.index+1].x+=t;else return;return o(e.edge,r).length===r.length-1?r:void 0},`shiftedCandidate`),d=t((e,t)=>({x:e.x??(t.left+t.right)/2,y:e.y??(t.top+t.bottom)/2}),`nodeCenter`),f=t(e=>{let t=e.edge,r=G(t.points??[]);if(r.length!==4||e.index!==1)return;let i=t.start?n.get(t.start):void 0,a=t.end?n.get(t.end):void 0,o=i?K(i):void 0,s=a?K(a):void 0,c=r.slice(e.index+2);if(!(!i||!a||!o||!s||c.length===0))return{sourceCenter:d(i,o),targetCenter:d(a,s),sourceRect:o,tail:c}},`sourceDetourContextFor`),p=t((e,t,n,i,a,o)=>{let s=i.y>=n.y,c=s?a.bottom:a.top,l=c+(s?20:-20);if(s&&e.b.y<=l+r||!s&&e.b.y>=l-r)return;let u=e.a.x+t;return G([{x:n.x,y:c},{x:n.x,y:l},{x:u,y:l},{x:u,y:e.b.y},...o],r)},`verticalSourceDetour`),m=t((e,t,n,i,a,o)=>{let s=i.x>=n.x,c=s?a.right:a.left,l=c+(s?20:-20);if(s&&e.b.x<=l+r||!s&&e.b.x>=l-r)return;let u=e.a.y+t;return G([{x:c,y:n.y},{x:l,y:n.y},{x:l,y:u},{x:e.b.x,y:u},...o],r)},`horizontalSourceDetour`),h=t((e,t)=>{let n=f(e);if(n){if(e.vertical)return p(e,t,n.sourceCenter,n.targetCenter,n.sourceRect,n.tail);if(e.horizontal)return m(e,t,n.sourceCenter,n.targetCenter,n.sourceRect,n.tail)}},`sourceDetourCandidate`),g=[-7,7,-14,14,-21,21];for(let e=0;e<12;e++){let e=s(),t=!1;for(let n=0;n<e.length&&!t;n++)for(let r=n+1;r<e.length&&!t;r++){let i=e[n],a=e[r];if(i.edge===a.edge||!c(i,a))continue;let o=[i,a].filter(e=>e.interior);for(let e of o){for(let n of g){let r=u(e,n);if(r&&l(e.edge,r)){e.edge.points=r,t=!0;break}let i=h(e,n);if(i&&l(e.edge,i)){e.edge.points=i,t=!0;break}}if(t)break}}if(!t)return}}t(Qt,`nudgeSharedInteriorSubpaths`);function $t(e,t,n,r){let i=t.x-e.x,a=t.y-e.y,o=r.x-n.x,s=r.y-n.y,c=i*s-a*o;if(Math.abs(c)<1e-10)return!1;let l=n.x-e.x,u=n.y-e.y,d=(l*s-u*o)/c,f=(l*a-u*i)/c,p=.01;return d>p&&d<1-p&&f>p&&f<1-p}t($t,`segmentsIntersect`);function en(e){let t=e.nodes??[],r=e.edges??[],i=[];if(!r.length||!t.length)return i;let a=Me(t),o=[];for(let e of r){if(e.isLayoutOnly)continue;let t=e.points;if(!t||t.length<2)continue;let n=e.start,r=e.end,s=e.labelNodeId,c=e.id??`${n}->${r}`;for(let e of a)if(!(e.nodeId===n||e.nodeId===r)&&!(s&&e.nodeId===s)){for(let n=0;n<t.length-1;n++)if(xe(t[n],t[n+1],e,-1)){i.push({type:`edge-node-overlap`,edgeId:c,targetId:e.nodeId,detail:`segment ${n} passes through node "${e.nodeId}"`});break}}for(let e=0;e<t.length-1;e++)o.push({edgeId:c,start:n,end:r,p1:t[e],p2:t[e+1]})}let s=new Set;for(let e=0;e<o.length;e++)for(let t=e+1;t<o.length;t++){let n=o[e],r=o[t];if(n.edgeId!==r.edgeId&&!(n.start===r.start||n.start===r.end||n.end===r.start||n.end===r.end)&&$t(n.p1,n.p2,r.p1,r.p2)){let e=n.edgeId<r.edgeId?`${n.edgeId}|${r.edgeId}`:`${r.edgeId}|${n.edgeId}`;s.has(e)||(s.add(e),i.push({type:`edge-edge-crossing`,edgeId:n.edgeId,targetId:r.edgeId,detail:`edges "${n.edgeId}" and "${r.edgeId}" cross`}))}}if(i.length>0){let e=i.filter(e=>e.type===`edge-node-overlap`).length,t=i.filter(e=>e.type===`edge-edge-crossing`).length;n.warn(`[SWIMLANE_VALIDATE] ${i.length} issue(s) detected: ${e} edge-node overlap(s), ${t} edge crossing(s)`);for(let e of i)n.warn(`[SWIMLANE_VALIDATE] ${e.type}: ${e.detail}`)}return i}t(en,`validateSwimlanesLayout`);function tn(e,n){let r=e.nodes??[],i=e.edges??[],a=r.filter(e=>!e.isGroup);if((n===`LR`||n===`RL`)&&a.length>0&&!St(e,n)||n===`BT`&&a.length>0&&!xt(e))return;for(let e of i){if(e.isLayoutOnly)continue;let t=e.points;!t||t.length<2||(e.points=He(Ve(t)))}Bt(i,r),Zt(i,r),Et(i,r);let o=new Map;for(let e of r)o.set(String(e.id),e);Kt(i,o),Je(i,o),Dt(i,o),Qt(i,o),kt(i,o),At(i,o),jt(i,o),Pt(i,o);let s=t(()=>{Lt(i,o),Ft(i,o),It(i,o),Kt(i,o),pt(i,o),jt(i,o),Kt(i,o),pt(i,o)},`finalizeRenderedEdges`);s(),Qt(i,o),s(),Mt(i,o),Nt(i,o),Mt(i,o),Nt(i,o)}t(tn,`postProcessSwimlaneLayout`);function nn(e){let t=new Map(e.nodeById),n=new Set,r=[];for(let i of e.edges){if(!t.has(i.src)||!t.has(i.dst))continue;let e=`${i.id}:${i.src}->${i.dst}`;n.has(e)||(n.add(e),r.push(i))}return{nodes:[...t.keys()],edges:r,layout:e.layout,nodeById:t}}t(nn,`normalizeGraph`);function rn(e,t){return e.edges.filter(e=>e.dst===t)}t(rn,`incoming`);function an(e){let t=new Map;for(let n of e.nodes)t.set(n,[]);for(let n of e.edges)t.get(n.src).push(n.dst);return t}t(an,`buildSuccessorMap`);function on(e){let t=an(e);for(let e of t.values())e.sort((e,t)=>e.localeCompare(t));return t}t(on,`buildSortedSuccessorMap`);function sn(e){let t=new Map;for(let n of e.nodes)t.set(n,0);for(let n of e.edges)t.set(n.dst,(t.get(n.dst)??0)+1);return t}t(sn,`buildInDegreeMap`);function cn(e){return[...e.entries()].filter(([,e])=>e===0).map(([e])=>e).sort((e,t)=>e.localeCompare(t))}t(cn,`sortedZeroInDegreeNodes`);function ln(e,t=()=>!0){let n=new Map,r=new Map;for(let t of e.nodes)n.set(t,[]),r.set(t,[]);for(let i of e.edges)t(i)&&(r.get(i.src).push(i.dst),n.get(i.dst).push(i.src));return{preds:n,succs:r}}t(ln,`buildPredecessorSuccessorMaps`);function un(e,t,n,r){let i=0;for(let t of e.nodes)r?.skipGroups&&e.nodeById.get(t)?.isGroup||(i=Math.max(i,n[t]??0));let a=Array.from({length:i+1},()=>[]);for(let i of t)r?.skipGroups&&e.nodeById.get(i)?.isGroup||a[Math.max(0,n[i]??0)].push(i);return a}t(un,`buildLayersFromRanks`);function dn(e){let t=sn(e),n=cn(t),r=[],i=on(e);for(;n.length;){let e=n.shift();r.push(e);for(let r of i.get(e)??[])if(t.set(r,(t.get(r)??0)-1),(t.get(r)??0)===0){let e=0;for(;e<n.length&&n[e]<r;)e++;n.splice(e,0,r)}}return r.length===e.nodes.length?r:null}t(dn,`topoSortIfAcyclic`);function fn(e){let t=new Map,n=0;for(let r of e)t.set(r,n),n++;return t}t(fn,`buildLayerIndex`);function pn(e){let n=Array(e.length),r=t((t,i)=>{if(i-t<=1)return 0;let a=t+i>>1,o=r(t,a)+r(a,i),s=t,c=a,l=t;for(;s<a||c<i;)c>=i||s<a&&e[s]<=e[c]?n[l++]=e[s++]:(n[l++]=e[c++],o+=a-s);for(let r=t;r<i;r++)e[r]=n[r];return o},`count`);return r(0,e.length)}t(pn,`countInversions`);function mn(e){let n=nn(e),r=new Map;for(let e of n.nodes)r.set(e,[]);for(let e of n.edges)r.get(e.src).push(e);for(let e of r.values())e.sort((e,t)=>e.dst===t.dst?e.id.localeCompare(t.id):e.dst.localeCompare(t.dst));let i=Object.create(null);for(let e of n.nodes)i[e]=0;let a=[],o=t(e=>{i[e]=1;for(let t of r.get(e)??[]){let e=t.dst;i[e]===0?o(e):i[e]===1&&a.push(t)}i[e]=2},`dfs`),s=[...n.nodes].sort((e,t)=>e.localeCompare(t));for(let e of s)i[e]===0&&o(e);let c=new Set(a.map(e=>`${e.id}:${e.src}->${e.dst}`)),l=n.edges.map(e=>c.has(`${e.id}:${e.src}->${e.dst}`)?{id:e.id,src:e.dst,dst:e.src,weight:e.weight,ref:e.ref}:e);return{acyclic:{nodes:[...n.nodes],edges:l,layout:n.layout,nodeById:new Map(n.nodeById)},reversed:a}}t(mn,`removeCycles_DFS`);function hn(e){let n=new Map,r=t(t=>{if(n.has(t))return n.get(t);let i=e.nodeById.get(t);if(!i)return n.set(t,null),null;let a=i.parentId;if(!a)return n.set(t,null),null;let o=r(a)??a;return n.set(t,o),o},`resolve`);for(let t of e.nodes)r(t);return n}t(hn,`buildTopLaneMap`);function gn(e){let t=hn(e);return e=>t.get(e)??null}t(gn,`createTopLaneResolver`);function _n(e){let t=[];for(let n of e.layout.nodes??[])n.isGroup&&!n.parentId&&t.push(n.id);return[...new Set(t)].reverse()}t(_n,`buildTopLaneOrder`);function vn(e,t){let n=_n(e);if(!t||t.length===0)return n;let r=new Set(n),i=new Set,a=[];for(let e of t)!r.has(e)||i.has(e)||(i.add(e),a.push(e));for(let e of n)i.has(e)||a.push(e);return a}t(vn,`resolveTopLaneOrder`);var yn={EPSILON:1e-6},bn={GRAVITY_ITERATIONS:8,MAX_CROSSING_OPTIMIZATION_PASSES:4,DEFAULT_COMPACT_SINGLE_INPUT:!0},xn={DEFAULT_LAYER_GAP:100,DEFAULT_NODE_GAP:40};function Sn(e,n){let r=nn(e),i=n?.laneOf??(()=>null),a=n?.rankHint,{preds:o}=ln(r);for(let e of o.values())e.sort((e,t)=>e.localeCompare(t));let s=dn(r)??[...r.nodes].sort((e,t)=>e.localeCompare(t)),c=new Map;for(let[e,t]of s.entries())c.set(t,e);let l=new Map,u=new Map;for(let e of r.nodes)u.set(e,[]);for(let e of s){let t=(o.get(e)??[]).filter(e=>l.has(e));if(t.length>0){let n=Cn(e,t,{laneOf:i,rankHint:a,topoIndex:c});l.set(e,n),u.get(n).push(e)}else l.has(e)||l.set(e,null)}for(let e of r.nodes)l.has(e)||l.set(e,null);let d=new Set;for(let e of r.nodes)(l.get(e)??null)===null&&d.add(e);let f=[...d].sort((e,t)=>{let n=c.get(e)??0,r=c.get(t)??0;return n===r?e.localeCompare(t):n-r}),p=wn(r),m=new Map;for(let[e,t]of p.entries())m.set(e,[...t].sort((e,t)=>e.localeCompare(t)));let h=Tn(m),g=En(m),_=new Map;for(let e of r.nodes)_.set(e,[]);for(let e of g)for(let t of e.nodes){let n=_.get(t);n?n.push(e.id):_.set(t,[e.id])}let v=[],y=[],b=new Set,x=t(e=>{if(!b.has(e)){b.add(e),v.push(e);for(let t of u.get(e)??[])x(t);y.push(e)}},`walk`);for(let e of f)x(e);for(let e of s)x(e);return{parent:l,children:u,roots:f,componentOf:h,blocks:g,nodeBlocks:_,adjacency:m,preorder:v,postorder:y,topologicalOrder:s}}t(Sn,`buildDrivingTree`);function Cn(e,t,n){let r=n.laneOf(e);return[...t].sort((e,t)=>{let i=n.laneOf(e),a=n.laneOf(t),o=i!=null&&i===r;if(o!==(a!=null&&a===r))return o?-1:1;let s=n.rankHint?.[e],c=n.rankHint?.[t];if(s!=null&&c!=null&&s!==c)return c-s;let l=n.topoIndex.get(e)??0,u=n.topoIndex.get(t)??0;return l===u?e.localeCompare(t):l-u})[0]}t(Cn,`chooseParent`);function wn(e){let t=new Map;for(let n of e.nodes)t.set(n,new Set);for(let n of e.edges)t.get(n.src).add(n.dst),t.get(n.dst).add(n.src);return t}t(wn,`buildAdjacency`);function Tn(e){let t=new Map,n=0;for(let r of e.keys()){if(t.has(r))continue;let i=[r];for(;i.length>0;){let r=i.pop();if(!t.has(r)){t.set(r,n);for(let n of e.get(r)??[])t.has(n)||i.push(n)}}n++}return t}t(Tn,`assignComponents`);function En(e){let n=new Map,r=new Map,i=[],a=[],o=0,s=t((t,c)=>{n.set(t,++o),r.set(t,o);for(let l of e.get(t)??[])l!==c&&(n.has(l)?(n.get(l)??0)<(n.get(t)??0)&&(i.push([t,l]),r.set(t,Math.min(r.get(t)??o,n.get(l)??o))):(i.push([t,l]),s(l,t),r.set(t,Math.min(r.get(t)??o,r.get(l)??o)),(r.get(l)??0)>=(n.get(t)??0)&&a.push(Dn(t,l,i,a.length))))},`visit`);for(let t of e.keys())n.has(t)||s(t,null);return a}t(En,`computeBlocks`);function Dn(e,t,n,r){let i=[],a=new Set;for(;n.length>0;){let r=n.pop();if(i.push(r),a.add(r[0]),a.add(r[1]),r[0]===e&&r[1]===t||r[0]===t&&r[1]===e)break}return{id:r,edges:i,nodes:[...a]}}t(Dn,`popBlock`);function On(e,n,r){let i=[...e.nodes],a=new Map;for(let[e,t]of i.entries())a.set(t,e);let o=i.length,s=Array(o).fill(-1),c=Array(o).fill(0),l=[],u=new Set;for(let e of i){let t=r.parent.get(e)??null,n=a.get(e);n!=null&&(t??(s[n]=-1,c[n]=0,u.has(e)||(u.add(e),l.push(e))))}for(;l.length>0;){let e=l.shift(),t=a.get(e);if(t==null)continue;let n=r.children.get(e)??[];for(let e of n){if(u.has(e))continue;let n=a.get(e);n!=null&&(s[n]=t,c[n]=c[t]+1,u.add(e),l.push(e))}}for(let e of i){if(u.has(e))continue;let t=a.get(e);t!=null&&(s[t]=-1,c[t]=0,u.add(e))}let d=Math.max(1,Math.ceil(Math.log2(Math.max(1,o)))+1),f=Array.from({length:d},()=>Array(o).fill(-1));for(let e=0;e<o;e++)f[0][e]=s[e];for(let e=1;e<d;e++)for(let t=0;t<o;t++){let n=f[e-1][t];f[e][t]=n===-1?-1:f[e-1][n]}let p=t((e,t)=>{if(e===-1||t===-1)return-1;c[e]<c[t]&&([e,t]=[t,e]);let n=c[e]-c[t];for(let t=0;t<d;t++)if(n>>t&1&&(e=f[t][e],e===-1))return-1;if(e===t)return e;for(let n=d-1;n>=0;n--){let r=f[n][e],i=f[n][t];r===-1||i===-1||r!==i&&(e=r,t=i)}return f[0][e]},`lcaIndex`),m=Array.from({length:o},()=>new Map);for(let t of e.edges){let e=t.src,r=t.dst,i=n[e],o=n[r];if(i==null||o==null||(i>o&&([e,r]=[r,e],[i,o]=[o,i]),i==null||o==null||i===o))continue;let s=a.get(e),c=a.get(r);if(s==null||c==null)continue;let l=p(s,c);if(l===-1)continue;let u=m[l];for(let e=i;e<o;e++)u.set(e,(u.get(e)??0)+1)}let h=new Map,g=t((e,t)=>{if(t.size!==0)for(let[n,r]of t)e.set(n,(e.get(n)??0)+r)},`mergeInto`),_=new Set,v=t(e=>{let t=a.get(e);_.add(e);let i=t==null?void 0:m[t],o=i?new Map(i):new Map,s=r.children.get(e)??[];for(let t of s){let r=v(t),i=n[e];if(i!=null){let a=h.get(e);a||(a=new Map,h.set(e,a));let o=r.get(i)??0,s=n[t];s!=null&&s>i&&(o+=1),a.set(t,o)}g(o,r)}return o},`dfs`);for(let e of r.roots)_.has(e)||v(e);for(let e of i)_.has(e)||v(e);return h}t(On,`computeSubtreeCrossCounts`);function kn(e,n,r){let i=new Map,a=t(e=>{let t=r[e]??0,o=[...n.get(e)??[]];o.sort(An(r));for(let e of o){a(e);let n=i.get(e);n!=null&&(t=Math.min(t,n))}i.set(e,t)},`annotate`);for(let t of e)a(t);return i}t(kn,`annotateMinimumLayers`);function An(e){return(t,n)=>{let r=e[t]??0,i=e[n]??0;return r===i?t.localeCompare(n):r-i}}t(An,`compareByRankThenId`);function jn(e,n,r,i){let a=0;for(let e of n){let t=r[e]??0;t>a&&(a=t)}let o=Array.from({length:a+1},()=>[]),s=new Set,c=t(e=>{if(s.has(e))return;s.add(e);let t=r[e]??0;o[t]||(o[t]=[]),o[t].push(e);for(let t of i(e))c(t)},`emit`);for(let t of e)c(t);for(let e of n)if(!s.has(e)){let t=r[e]??0;o[t]||(o[t]=[]),o[t].push(e),s.add(e)}return o}t(jn,`emitNodesInTreeOrder`);function Mn(e){let t=[];for(let n of e){let e=new Set,r=[];for(let t of n)e.has(t)||(e.add(t),r.push(t));t.push(r)}return t}t(Mn,`deduplicateLayers`);function Nn(e,t,n,r){return i=>{let a=e.get(i)??[];if(a.length===0)return[];let o=t[i]??0,s=[],c=[],l=n.get(i);for(let e of a){let t=r.get(e)??o;t>o?s.push({child:e,min:t}):c.push(e)}return s.sort((e,t)=>e.min===t.min?e.child.localeCompare(t.child):e.min-t.min),c.sort((e,t)=>{let n=l?.get(e)??0,i=l?.get(t)??0;if(n!==i)return n-i;let a=r.get(e)??o,s=r.get(t)??o;return a===s?e.localeCompare(t):a-s}),[...s.map(e=>e.child),...c]}}t(Nn,`createChildOrderer`);function Pn(e,t,n){let r=Sn(e,{rankHint:t,laneOf:n}),{children:i,roots:a}=r;for(let t of e.nodes)i.has(t)||i.set(t,[]);let o=On(e,t,r),s=[...a].sort(An(t)),c=Nn(i,t,o,kn(s,i,t)),l=jn(s,e.nodes,t,c);return l=Mn(l),l}t(Pn,`buildMultitreeLayerOrder`);function Fn(e,t,n){let r=new Set(e),i=new Set(t),a=fn(t),o=[];for(let e of n)r.has(e.src)&&i.has(e.dst)&&o.push(a.get(e.dst));return pn(o)}t(Fn,`countCrossingsBetweenAdjacent`);function In(e,t,n){let r=[];for(let e of t){let t=n[e.src],i=n[e.dst];if(t==null||i==null||t===i)continue;let a=e.src,o=e.dst,s=t,c=i;t>i&&(a=e.dst,o=e.src,s=i,c=t);for(let t=s;t<c;t++)r.push({id:`${e.id}@${t}`,src:a,dst:o,ref:e.ref})}let i=0;for(let t=0;t+1<e.length;t++)i+=Fn(e[t],e[t+1],r);return i}t(In,`totalCrossings`);function Ln(e,t){let n={...t},{preds:r}=ln(e),i=gn(e),a=In(Pn(e,n,i),e.edges,n),o=bn.MAX_CROSSING_OPTIMIZATION_PASSES;for(let t=0;t<o;t++){let t=!1,o=[...e.nodes].sort((e,t)=>(n[t]??0)-(n[e]??0));for(let s of o){let o=n[s]??0;if(o===0)continue;let c=0;for(let e of r.get(s)??[])c=Math.max(c,(n[e]??0)+1);if(c>=o)continue;let l=o;n[s]=c;let u=In(Pn(e,n,i),e.edges,n);u<a?(a=u,t=!0):n[s]=l}if(!t)break}return n}t(Ln,`optimizeRanksByCrossings`);function Rn(e,t){let n=gn(e),r=[...e.nodes].sort((e,n)=>(t[e]??0)-(t[n]??0)||e.localeCompare(n));for(let i of r){let r=n(i);if(!r)continue;let a=e.edges.filter(e=>e.src===i);if(a.length===0)continue;let o=!1,s=0;for(let e of a){let t=n(e.dst);t==null||t===r?o=!0:s++}if(s===0||o)continue;let c=0,l=!1;for(let t of e.edges){if(t.dst!==i)continue;let e=n(t.src);e&&(e===r?l=!0:c++)}if(c>0||!l)continue;let u=t[i]??0,d=u+s,f=0;for(let n of e.edges)n.dst===i&&(f=Math.max(f,(t[n.src]??0)+1));let p=Math.max(u,f,d);p!==u&&(t[i]=p)}}t(Rn,`adjustCrossLaneSources`);function zn(e,t){let n=nn(e),r=dn(n)??[...n.nodes].sort(),i=t?.compactSingleInput??!1,a=gn(n),o=Object.create(null);for(let e of r){let r=rn(n,e),s=t?.ignoreCrossLaneEdges?r.filter(t=>{let n=a(t.src),r=a(e);return!n||!r?!0:n===r}):r;if(s.length===0)o[e]=0;else if(i&&s.length===1){let t=s[0].src;a(t)===a(e)?o[e]=(o[t]??0)+1:o[e]=o[t]??0}else{let t=-1/0;for(let e of s)t=Math.max(t,(o[e.src]??0)+1);o[e]=t===-1/0?0:t}}return(t?.optimizeRanksByCrossings??!1)&&(o=Ln(n,o)),t?.ignoreCrossLaneEdges&&Rn(n,o),{layers:Pn(n,o,a),rankOf:o,dummy:new Set}}t(zn,`assignLayers_LongestPath`);function Bn(e,n){let r=nn(e),i={...zn(r,{compactSingleInput:n?.compactSingleInput,ignoreCrossLaneEdges:n?.ignoreCrossLaneEdges,optimizeRanksByCrossings:n?.optimizeRanksByCrossings}).rankOf},a=gn(r),{preds:o,succs:s}=ln(r,e=>{if(n?.ignoreCrossLaneEdges){let t=a(e.src),n=a(e.dst);if(t&&n&&t!==n)return!1}return!0}),c=dn(r)??[...r.nodes],l=[...c].reverse(),u=t((e,t)=>{let n=0;for(let t of o.get(e)??[])n=Math.max(n,(i[t]??0)+1);let r=1/0,a=s.get(e)??[];return a.length>0&&(r=Math.min(...a.map(e=>(i[e]??0)-1))),Number.isFinite(r)||(r=Math.max(n,t)),Math.min(Math.max(t,n),r)},`clampFeasible`),d=bn.GRAVITY_ITERATIONS,f=t(e=>{let t=!1;for(let n of e){let e=o.get(n)??[],r=s.get(n)??[];if(e.length===0&&r.length===0)continue;let a=e.length>0?e.reduce((e,t)=>e+(i[t]??0)+1,0)/e.length:i[n]??0,c=r.length>0?r.reduce((e,t)=>e+(i[t]??0)-1,0)/r.length:i[n]??0,l=u(n,Math.round((a+c)/2));l!==i[n]&&(i[n]=l,t=!0)}return t},`relaxOrder`);for(let e=0;e<d;e++){let e=f(c),t=f(l);if(!e&&!t)break}for(let e of c){let t=0;for(let n of o.get(e)??[])t=Math.max(t,(i[n]??0)+1);(i[e]??0)<t&&(i[e]=t)}for(let e of l){let t=s.get(e)??[];if(t.length>0){let n=Math.min(...t.map(e=>(i[e]??0)-1));(i[e]??0)>n&&(i[e]=n)}}return{layers:un(r,c,i),rankOf:i,dummy:new Set}}t(Bn,`assignLayers_Gravity`);function Vn(e){let t=sn(e),n=on(e),r=cn(t),i=[];for(;r.length>0;){let e=[];for(let a of r){i.push(a);for(let r of n.get(a)??[])t.set(r,(t.get(r)??0)-1),(t.get(r)??0)===0&&e.push(r)}r=e.sort((e,t)=>e.localeCompare(t))}return i.length===e.nodes.length?i:null}t(Vn,`topoSortByGenerationIfAcyclic`);function Hn(e,n){let r=nn(e),i=n?.direction===`LR`?Vn(r)??[...r.nodes].sort():dn(r)??[...r.nodes].sort(),a=gn(r),o=t(e=>a(e)??e,`laneOf`),s=Object.create(null),c=new Map,l=t((e,t)=>n?.ignoreCrossLaneEdges??!0?+(o(e)===o(t)):1,`edgeWeight`);for(let e of i){if(r.nodeById.get(e)?.isGroup)continue;let t=rn(r,e),n=0;if(t.length>0)for(let r of t){let t=r.src,i=s[t]??0;n=Math.max(n,i+l(t,e))}let i=o(e),a=c.get(i)??0,u=Math.max(n,a);s[e]=u,c.set(i,u+1)}return{layers:un(r,i,s,{skipGroups:!0}),rankOf:s,dummy:new Set}}t(Hn,`assignLayers_LaneAwareCompact`);function Un(e,n){let r=nn(n),{rankOf:i}=e,a=e.layers.map(e=>[...e]),o=new Set(e.dummy?[...e.dummy]:[]),s=0,c=new Map(r.nodeById),l=t(e=>{let t=`placeholder-${s++}`,n={id:t,isGroup:!1,isDummy:!0,width:0,height:0};for(c.set(t,n),o.add(t);a.length<=e;)a.push([]);return a[e].push(t),i[t]=e,t},`addDummyAt`),u=[...r.edges].sort((e,t)=>e.id===t.id?e.src===t.src?e.dst.localeCompare(t.dst):e.src.localeCompare(t.src):e.id.localeCompare(t.id)),d=[];for(let e of u){let t=i[e.src]??0,n=i[e.dst]??0;if(n-t<=1){d.push(e);continue}let r=e.src;for(let i=t+1,a=0;i<n;i++,a++){let t=l(i);d.push({id:`${e.id}#${a}`,src:r,dst:t,weight:e.weight,ref:e.ref}),r=t}let a=n-t-2;d.push({id:`${e.id}#${Math.max(a+1,0)}`,src:r,dst:e.dst,weight:e.weight,ref:e.ref})}let f={nodes:[...r.nodes,...[...o].filter(e=>!r.nodes.includes(e))],edges:d,layout:r.layout,nodeById:c};return{layering:{layers:a,rankOf:i,dummy:o},graphWithDummies:f}}t(Un,`makeProperLayering`);function Wn(e){let t=e.length;if(t===0)return 1/0;let n=[...e].sort((e,t)=>e-t);return t%2==1?n[(t-1)/2]:.5*(n[t/2-1]+n[t/2])}t(Wn,`median`);function Gn(e){return e.length===0?1/0:e.reduce((e,t)=>e+t,0)/e.length}t(Gn,`barycenter`);function Kn(e,t,n,r){let i=new Map;for(let t of e)i.set(t,[]);for(let e of n)r===`down`?t.has(e.src)&&i.has(e.dst)&&i.get(e.dst).push(t.get(e.src)):t.has(e.dst)&&i.has(e.src)&&i.get(e.src).push(t.get(e.dst));return i}t(Kn,`neighborPositionsFor`);function qn(e,t,n){let r=n.get(e)??0,i=n.get(t)??0;return r===i?e.localeCompare(t):r-i}t(qn,`currentOrderTieBreak`);function Jn(e,t,n){let r=new Set(e),i=new Set(t),a=fn(e),o=fn(t),s=[];for(let e of n)r.has(e.src)&&i.has(e.dst)&&s.push({u:a.get(e.src),v:o.get(e.dst)});return s.sort((e,t)=>e.u===t.u?e.v-t.v:e.u-t.u),pn(s.map(e=>e.v))}t(Jn,`countCrossingsBetweenAdjacent`);function Yn(e,t,n){return[...e].sort((e,r)=>{let i=Wn(t.get(e)??[]),a=Wn(t.get(r)??[]);return i===a?qn(e,r,n):isFinite(i)?isFinite(a)?i-a:-1:1})}t(Yn,`sortByHeuristic`);function Xn(e,t,n,r,i,a){let o=fn(e),s=fn(t),c=Kn(t,o,n,r);if(!i||!a||a.length===0)return Yn(t,c,s);let l=new Map;for(let e of t){let t=i(e),n=l.get(t)??[];n.push(e),l.set(t,n)}let u=[];for(let e of a){let t=l.get(e);if(!t||t.length===0)continue;let n=Yn(t,c,s);u.push(...n)}let d=l.get(null);if(d&&d.length>0){let e=Yn(d,c,s);for(let t of e){let e=Gn(c.get(t)??[]),n=u.length;if(isFinite(e)){for(let[t,r]of u.entries())if(e<Gn(c.get(r)??[])){n=t;break}}u.splice(n,0,t)}}return u}t(Xn,`reorderLayer`);function Zn(e,n,r,i,a){let o=[...n],s=new Set(e),c=new Set(n),l=i?new Set(i):null,u=r.filter(e=>s.has(e.src)&&c.has(e.dst)),d=l?r.filter(e=>c.has(e.src)&&l.has(e.dst)):void 0,f=t(t=>{let n=Jn(e,t,u);return d&&i&&(n+=Jn(t,i,d)),n},`crossingScore`),p=a?new Map:null;if(a&&p)for(let e of n)p.set(e,a(e));let m=!0,h=f(o);for(;m;){m=!1;for(let e=0;e+1<o.length;e++){if(p&&p.get(o[e])!==p.get(o[e+1]))continue;let t=h;[o[e],o[e+1]]=[o[e+1],o[e]];let n=f(o);n<t?(h=n,m=!0):[o[e],o[e+1]]=[o[e+1],o[e]]}}return o}t(Zn,`transposeImprove`);function Qn(e,t,n){let r=e.layers.map(e=>[...e]),i=t.edges,a=gn(t),o=vn(t,n?.laneOrder);for(let e=0;e<3;e++){for(let e=1;e<r.length;e++)r[e]=Xn(r[e-1],r[e],i,`down`,a,o),r[e]=Zn(r[e-1],r[e],i,r[e+1],a);for(let e=r.length-2;e>=0;e--)r[e]=Xn(r[e+1],r[e],i,`up`,a,o),r[e]=Zn(r[e+1],r[e],i,r[e-1],a)}return{layers:r}}t(Qn,`orderLayers`);function $n(e,n,r){let i=r?.layerGap??xn.DEFAULT_LAYER_GAP,a=r?.nodeGap??xn.DEFAULT_NODE_GAP,o=r?.laneGap??a*2,s=r?.direction??`TB`,c=s===`LR`||s===`RL`,l=e.layers,u=Object.create(null),d=Object.create(null),f=t(e=>n.nodeById.get(e),`getNode`),p=t(e=>f(e)?.width??0,`getWidth`),m=t(e=>f(e)?.height??0,`getHeight`),h=gn(n),g=vn(n,r?.laneOrder),_=l.map(e=>e.reduce((e,t)=>Math.max(e,m(t)),0)),v=[];if(c)for(let e=0;e+1<l.length;e++){let t=l[e].reduce((e,t)=>Math.max(e,p(t)),0),n=l[e+1].reduce((e,t)=>Math.max(e,p(t)),0),r=_[e],a=_[e+1],o=r/2+a/2,s=(t+n)/2,c=Math.max(0,s-o-i);v.push(c)}let y=new Set;for(let e of l)for(let t of e)y.add(h(t));let b=y.has(null),x=g.filter(e=>y.has(e)),S=[...b?[null]:[],...x],C=Object.create(null);for(let e of x)C[e]=0;b&&(C.null=0);for(let e of l){let t=Object.create(null),n=[];for(let r of e){let e=h(r);e===null?n.push(r):(t[e]||=[]).push(r)}for(let[e,n]of Object.entries(t)){let t=n.reduce((e,t)=>e+p(t),0)+a*Math.max(0,n.length-1);C[e]=Math.max(C[e]??0,t)}if(b&&n.length){let e=n.reduce((e,t)=>e+p(t),0)+a*Math.max(0,n.length-1);C.null=Math.max(C.null??0,e)}}let w=new Map;{let e=S.map(e=>(e===null?C.null:C[e])??0),t=-(e.reduce((e,t)=>e+t,0)+o*Math.max(0,S.length-1))/2;for(let n=0;n<S.length;n++){let r=S[n],i=e[n]??0,a=t+i/2;w.set(r,a),t+=i,n<S.length-1&&(t+=o)}}let T=0;for(let[e,t]of l.entries()){let n=_[e]??0,r=new Map;for(let e of t){let t=h(e),n=r.get(t)??[];n.push(e),r.set(t,n)}for(let e of S){let t=r.get(e)??[];if(t.length===0)continue;let i=w.get(e);if(t.length===1){let e=t[0];u[e]=i,d[e]=T+n/2}else{let e=t.map(e=>p(e)),r=i-(e.reduce((e,t)=>e+t,0)+a*(t.length-1))/2;for(let[i,o]of t.entries()){let t=e[i];u[o]=r+t/2,d[o]=T+n/2,r+=t+a}}}let o=v[e]??0;T+=n+i+o}let E=new Map;for(let e of n.edges){let t=e.ref.id;E.has(t)||E.set(t,[]),E.get(t).push(e)}for(let[,e]of E){if(e.length===0)continue;let t=e[0].ref,r=t.start,i=t.end;if(r==null||i==null)continue;let a=Math.round(((u[r]??0)+(u[i]??0))/2),o=new Set;for(let t of e)o.add(t.src),o.add(t.dst);for(let e of o)e===r||e===i||n.nodeById.get(e)?.isDummy&&(u[e]=a)}return{x:u,y:d}}t($n,`assignCoordinates`);var er=8;function tr(e){let t=2166136261;for(let n=0;n<e.length;n++)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return t>>>0}t(tr,`hashString`);function nr(e){let t=e>>>0;return()=>{t+=1831565813;let e=t;return e=Math.imul(e^e>>>15,e|1),e^=e+Math.imul(e^e>>>7,e|61),((e^e>>>14)>>>0)/4294967296}}t(nr,`mulberry32`);function rr(e,t){let n=[...e],r=nr(t);for(let e=n.length-1;e>0;e--){let t=Math.floor(r()*(e+1));[n[e],n[t]]=[n[t],n[e]]}return n}t(rr,`deterministicShuffle`);function ir(e,t){let n=0;for(let[r,i]of e.entries())n+=Math.abs(r-(t.get(i)??r));return n}t(ir,`sourceDistance`);function ar(e,t){let n=new Map;for(let[t,r]of e.entries())n.set(r,t);let r=0;for(let{a:e,b:i,weight:a}of t){let t=n.get(e),o=n.get(i);t==null||o==null||(r+=a*Math.abs(t-o))}return r}t(ar,`laneArrangementCost`);function or(e){let t=_n(e);if(t.length<2)return[];let n=new Map(t.map((e,t)=>[e,t])),r=gn(e),i=new Map;for(let t of e.layout.edges??[]){if(t.isLayoutOnly)continue;let a=typeof t.start==`string`?t.start:void 0,o=typeof t.end==`string`?t.end:void 0;if(!a||!o||!e.nodeById.has(a)||!e.nodeById.has(o))continue;let s=r(a),c=r(o);if(!s||!c||s===c)continue;let l=n.get(s),u=n.get(c);if(l==null||u==null)continue;let[d,f]=l<=u?[s,c]:[c,s],p=`${d}\0${f}`,m=i.get(p);m?m.weight++:i.set(p,{a:d,b:f,weight:1})}return[...i.values()]}t(or,`buildWeightedLaneEdges`);function sr(e,t,n){let r=[...e],i=ar(r,t),a=!0,o=0,s=Math.max(1,r.length);for(;a&&o<s;){a=!1,o++;for(let e=0;e+1<r.length;e++){[r[e],r[e+1]]=[r[e+1],r[e]];let n=ar(r,t);n<i?(i=n,a=!0):[r[e],r[e+1]]=[r[e+1],r[e]]}}return{order:r,cost:i,sourceDistance:ir(r,n)}}t(sr,`greedySwitch`);function cr(e,t){return e.cost===t.cost?e.sourceDistance<t.sourceDistance:e.cost<t.cost}t(cr,`isBetterCandidate`);function lr(e,t,n){let r=[...t].sort((e,t)=>e.a===t.a?e.b.localeCompare(t.b):e.a.localeCompare(t.a)).map(({a:e,b:t,weight:n})=>`${e}:${t}:${n}`).join(`|`);return tr(`${e.join(`|`)}#${r}#${n}`)}t(lr,`seedForRestart`);function ur(e,t={}){let n=_n(e);if(n.length<2)return n;let r=or(e);if(r.length===0)return n;let i=new Map(n.map((e,t)=>[e,t])),a=sr(n,r,i),o=Math.max(0,t.restarts??er);for(let e=0;e<o;e++){let t=sr(rr(n,lr(n,r,e)),r,i);cr(t,a)&&(a=t)}return a.order}t(ur,`optimizeTopLaneOrder`);function dr(e,t){let n=t?.ignoreCrossLaneEdges??!0,r=t?.optimizeRanksByCrossings??!0,i=nn(e),a=t?.automaticLaneOrdering?ur(i,{restarts:er}):void 0,o=mn(i),s=o.acyclic,{layering:c,graphWithDummies:l}=Un(n?Hn(s,{compactSingleInput:t?.compactSingleInput??bn.DEFAULT_COMPACT_SINGLE_INPUT,ignoreCrossLaneEdges:!0,direction:t?.direction}):Bn(s,{compactSingleInput:t?.compactSingleInput??bn.DEFAULT_COMPACT_SINGLE_INPUT,ignoreCrossLaneEdges:!1,optimizeRanksByCrossings:r}),s),u=Qn(c,l,{laneOrder:a}),d=$n(u,l,{layerGap:t?.layerGap,nodeGap:t?.nodeGap,direction:t?.direction,laneOrder:a});return{acyclic:s,reversed:o.reversed,layering:c,ordered:u,coordinates:d}}t(dr,`sugiyamaLayout`);var $=yn.EPSILON,fr=8,pr=15,mr=15,hr=25,gr=20,_r=10;function vr(e,t,n){let r=e.x??0,i=e.y??0,a=t.x-r,o=t.y-i,s=Math.abs(a),c=Math.abs(o);return s<$&&c<$?n:c>$&&c*3>=s?o>0?`bottom`:`top`:s>$?a>0?`right`:`left`:n}t(vr,`chooseOrthogonalSide`);function yr(e,t){return Math.abs(e.to-t.from)<$||Math.abs(e.to-t.to)<$?e.to:e.from}t(yr,`sharedLineEndpointCoord`);function br(e,t){return e.orient===`vertical`?{x:e.coord,y:t}:{x:t,y:e.coord}}t(br,`pointOnLine`);function xr(e,n){let r=e.nodes??[],i=e.edges??[],a=[];for(let e of i)e.isLayoutOnly||a.push({...e,__originalEdge:e});let o=new Map,s=new Map,c=[],l=n===`LR`;for(let e of r)o.set(e.id,e);let u=r.filter(e=>e.isGroup&&!e.parentId);for(let e of u){let n={id:e.id},i=t(e=>{s.set(e.id,n),r.filter(t=>t.parentId===e.id).forEach(i)},`assignLane`);i(e)}let d=r.filter(e=>!e.isGroup&&!e.isEdgeLabel).map(e=>{let t=e.width??10,n=e.height??10,r=e.x??0,i=e.y??0,a=fr;return{nodeId:e.id,minX:r-t/2-a,maxX:r+t/2+a,minY:i-n/2-a,maxY:i+n/2+a,visualXHalfExtent:l?n/2+a:t/2+a}}),f=t((e,t,n,r)=>{let i=c.find(n=>n.orientation===e&&Math.abs(n.coord-t)<1);return i||(i={id:`pipe-${e}-${t.toFixed(0)}`,orientation:e,coord:t,spanMin:n,spanMax:r,tracks:[]},c.push(i)),i.spanMin=Math.min(i.spanMin,n),i.spanMax=Math.max(i.spanMax,r),i},`getOrAddPipe`),p=t((e,t)=>{let n=e.width??10,r=e.height??10,i=e.x??0,a=e.y??0;switch(t){case`top`:return{x:i,y:a-r/2};case`bottom`:return{x:i,y:a+r/2};case`left`:return{x:i-n/2,y:a};case`right`:return{x:i+n/2,y:a}}},`portForSide`),m=t((e,t,n)=>p(e,vr(e,t,n?`bottom`:`top`)),`getOrthogonalPort`),h=[],g=[],_=new Set,v=1e3,y=t((e,t,n)=>{if(h.length===0)return 0;let r=Math.abs(t.y-n.y)<$,i=Math.abs(t.x-n.x)<$;if(!r&&!i)return 0;let a=0;if(r){let r=t.y,i=Math.min(t.x,n.x)-$,o=Math.max(t.x,n.x)+$;if(o<=i)return 0;for(let t of h)t.edgeIndex===e||t.orientation!==`vertical`||t.pipe.coord<i||t.pipe.coord>o||t.from-$<=r&&t.to+$>=r&&(a+=v)}else if(i){let r=t.x,i=Math.min(t.y,n.y)-$,o=Math.max(t.y,n.y)+$;if(o<=i)return 0;for(let t of h)t.edgeIndex===e||t.orientation!==`horizontal`||t.pipe.coord<i||t.pipe.coord>o||t.from-$<=r&&t.to+$>=r&&(a+=v)}return a},`crossingPenalty`),b=a.map((e,t)=>{if(!e.start||!e.end)return{idx:t,crossLane:0,dx:0,dy:0};let n=o.get(e.start),r=o.get(e.end),i=s.get(e.start),a=s.get(e.end);return{idx:t,crossLane:i&&a&&i.id!==a.id?1:0,dx:n&&r?Math.abs((r.x??0)-(n.x??0)):0,dy:n&&r?Math.abs((r.y??0)-(n.y??0)):0}}).sort((e,t)=>{if(e.crossLane!==t.crossLane)return t.crossLane-e.crossLane;let n=e.dx+e.dy,r=t.dx+t.dy;return Math.abs(n-r)>1?n-r:e.idx-t.idx}).map(e=>e.idx),x=t((e,t,n,r)=>{let i=Math.min(e.x,t.x),a=Math.max(e.x,t.x),o=Math.min(e.y,t.y),s=Math.max(e.y,t.y);return!!d.find(c=>n&&c.nodeId===n||r&&c.nodeId===r?!1:Math.abs(e.x-t.x)>$?c.minY<e.y&&c.maxY>e.y&&c.maxX>i&&c.minX<a:c.minX<e.x&&c.maxX>e.x&&c.maxY>o&&c.minY<s)},`isSegmentBlocked`),S=new Map,C=new Map;for(let e of a)!e.start||!e.end||e.start===e.end||(C.set(e.start,(C.get(e.start)??0)+1),C.set(e.end,(C.get(e.end)??0)+1));let w=t((e,t)=>vr(e,t,`bottom`),`determineSide`),T=new Map;for(let[e,t]of a.entries()){if(!t.start||!t.end||t.start===t.end||t.points&&t.points.length>0)continue;let n=o.get(t.start),r=o.get(t.end);if(!n||!r)continue;let i=(r.x??0)-(n.x??0),a=(r.y??0)-(n.y??0);T.set(e,{edgeIdx:e,srcId:t.start,dstId:t.end,srcSide:w(n,{x:r.x??0,y:r.y??0}),dstSide:w(r,{x:n.x??0,y:n.y??0}),absDx:Math.abs(i),absDy:Math.abs(a),dxSign:Math.sign(i),dySign:Math.sign(a)})}let E=t(e=>e.srcSide===`top`||e.srcSide===`bottom`?e.absDx===0?1/0:e.absDy/e.absDx:e.absDy===0?1/0:e.absDx/e.absDy,`preferenceStrength`),D=t(e=>e.srcSide===`top`||e.srcSide===`bottom`?e.dxSign>=0?`right`:`left`:e.dySign>=0?`bottom`:`top`,`secondarySide`),O=new Map;for(let e of T.values()){let t=`${e.srcId}:${e.srcSide}`;O.has(t)||O.set(t,[]),O.get(t).push(e)}let k=new Map,A=t((e,t)=>`${e}:${t}`,`loadKey`);for(let e of T.values())k.set(A(e.srcId,e.srcSide),(k.get(A(e.srcId,e.srcSide))??0)+1),k.set(A(e.dstId,e.dstSide),(k.get(A(e.dstId,e.dstSide))??0)+1);for(let e of O.values())if(!(e.length<2)){e.sort((e,t)=>{let n=E(e),r=E(t);return Math.abs(n-r)>1e-9?r-n:e.edgeIdx-t.edgeIdx});for(let t=1;t<e.length;t++){let n=e[t],r=D(n),i=k.get(A(n.srcId,n.srcSide))??0,a=k.get(A(n.srcId,r))??0;a>=i||(k.set(A(n.srcId,n.srcSide),i-1),k.set(A(n.srcId,r),a+1),n.srcSide=r)}}let j=t(e=>{let t=e?.shape;return t===`question`||t===`diamond`},`isDiamondNode`),ee=new Map;for(let e of T.values())ee.has(e.dstId)||ee.set(e.dstId,new Set),ee.get(e.dstId).add(e.dstSide);for(let e of T.values()){if(!j(o.get(e.srcId)))continue;let t=ee.get(e.srcId);if(!t?.has(e.srcSide))continue;let n=D(e);if(t.has(n)||(k.get(A(e.srcId,n))??0)>0)continue;let r=k.get(A(e.srcId,e.srcSide))??0;k.set(A(e.srcId,e.srcSide),Math.max(0,r-1)),k.set(A(e.srcId,n),1),e.srcSide=n}for(let e of T.values()){let{edgeIdx:t,srcId:n,dstId:r,srcSide:i,dstSide:a}=e,s=o.get(n),c=o.get(r),l=`${n}:${i}:src`,u=i===`top`||i===`bottom`?c.x??0:c.y??0;S.has(l)||S.set(l,[]),S.get(l).push({edgeIdx:t,oppositeCoord:u});let d=`${r}:${a}:dst`,f=a===`top`||a===`bottom`?s.x??0:s.y??0;S.has(d)||S.set(d,[]),S.get(d).push({edgeIdx:t,oppositeCoord:f})}let te=new Map;for(let[e,t]of S){if(t.length<2)continue;t.sort((e,t)=>e.oppositeCoord-t.oppositeCoord);let n=e.split(`:`),r=n.slice(0,-2).join(`:`),i=n[n.length-2],a=n[n.length-1],s=o.get(r);if(!s)continue;let c=i===`left`||i===`right`?s.height??10:s.width??10,l=s.shape,u=l===`question`||l===`diamond`?c*.3:c,d=Math.min(20,Math.max(8,u/(t.length+1))),f=-(d*(t.length-1))/2;for(let[e,n]of t.entries()){let t=f+e*d,r=`${n.edgeIdx}:${a}`;te.set(r,t)}}let M=t(e=>!!a[e]?.labelNodeId,`edgeHasLabelNode`),ne=t((e,t)=>e?(S.get(`${e}:${t}:src`)??[]).some(({edgeIdx:e})=>M(e))||(S.get(`${e}:${t}:dst`)??[]).some(({edgeIdx:e})=>M(e)):!1,`faceHasLabelNode`),N=t((e,t,n)=>t===`top`||t===`bottom`?{x:e.x+n,y:e.y}:{x:e.x,y:e.y+n},`applyPortOffset`),re=t((e,t,n)=>{let r=T.get(e),i={x:n.x??0,y:n.y??0},a={x:t.x??0,y:t.y??0},o=r?.srcSide??w(t,i),s=r?.dstSide??w(n,a),c=r?p(t,r.srcSide):m(t,i,!0),l=r?p(n,r.dstSide):m(n,a,!1),u=te.get(`${e}:src`),d=te.get(`${e}:dst`);return u!==void 0&&(c=N(c,o,u)),d!==void 0&&(l=N(l,s,d)),{pSrcPort:c,pDstPort:l,srcSide:o,dstSide:s}},`portsForEdge`);for(let e of b){let n=a[e];if(g[e]=[],!n.start||!n.end||n.points&&n.points.length>0||n.start===n.end)continue;let r=o.get(n.start),i=o.get(n.end);if(!r||!i)continue;let{pSrcPort:s,pDstPort:u,srcSide:p,dstSide:m}=re(e,r,i),v={...s},b={...u},w=p===`top`||p===`bottom`,T=m===`top`||m===`bottom`;w?v.y=s.y>(r.y??0)?s.y+gr:s.y-gr:v.x=s.x>(r.x??0)?s.x+gr:s.x-gr,T?b.y=u.y>(i.y??0)?u.y+gr:u.y-gr:b.x=u.x>(i.x??0)?u.x+gr:u.x-gr;let E=t((e,t)=>{for(let n of d)if(!t.includes(n.nodeId)&&e.x>n.minX&&e.x<n.maxX&&e.y>n.minY&&e.y<n.maxY)return{inside:!0,obstacle:n};return{inside:!1}},`isPointInObstacle`),D=t((e,t,n,r,i)=>{if(i){let i=e.y>(t.y??0);return{x:(n.x??0)>=e.x?r.maxX+pr:r.minX-pr,y:i?r.maxY+mr:r.minY-mr,leavesPositiveSide:i}}let a=e.x>(t.x??0),o=(n.y??0)>=e.y;return{x:a?r.maxX+pr:r.minX-pr,y:o?r.maxY+mr:r.minY-mr,leavesPositiveSide:a}},`obstacleDetour`),O=[],k=[n.start,n.end],A=E(v,k);if(A.inside&&A.obstacle){let e=A.obstacle;if(w){let t=D(s,r,i,e,!0);v.x=t.x,v.y=t.y;let n=t.leavesPositiveSide?Math.min(e.minY-2,s.y+gr):Math.max(e.maxY+2,s.y-gr);O=[{x:s.x,y:n},{x:t.x,y:n},{x:t.x,y:t.y}]}else{let t=D(s,r,i,e,!1),n=t.leavesPositiveSide?Math.min(e.minX-2,s.x+gr):Math.max(e.maxX+2,s.x-gr);v.x=t.x,v.y=t.y,O=[{x:n,y:s.y},{x:n,y:t.y},{x:t.x,y:t.y}]}}let j=[],ee=E(b,k);if(ee.inside&&ee.obstacle){let e=ee.obstacle;if(T){let t=D(u,i,r,e,!0);b.x=t.x,b.y=t.y,j=[{x:t.x,y:t.y},{x:u.x,y:t.y}]}else{let t=D(u,i,r,e,!1);b.x=t.x,b.y=t.y,j=[{x:t.x,y:t.y},{x:t.x,y:u.y}]}}if(O.length===0&&j.length===0){let t=pr,r=Math.abs(v.x-b.x)<t,i=Math.abs(v.y-b.y)<t,a=te.get(`${e}:src`)!==void 0||te.get(`${e}:dst`)!==void 0,o=(S.get(`${n.start??``}:${p}:src`)?.length??0)+(S.get(`${n.start??``}:${p}:dst`)?.length??0),c=(S.get(`${n.end??``}:${m}:src`)?.length??0)+(S.get(`${n.end??``}:${m}:dst`)?.length??0),l=o>1||c>1,d=C.get(n.start??``)??0,f=C.get(n.end??``)??0,g=o>1&&ne(n.start,p)||c>1&&ne(n.end,m);if((r||i)&&!a&&(!l||l&&!g&&(o<=1||d<=2)&&(c<=1||f<=2))&&!x(s,u,n.start,n.end)){n.points=[{...s},{...v},{...b},{...u}],_.add(e);let t=i?`horizontal`:`vertical`,r=i?s.y:s.x,a=i?Math.min(s.x,u.x):Math.min(s.y,u.y),o=i?Math.max(s.x,u.x):Math.max(s.y,u.y),c={id:`fast-path-${t}-${r.toFixed(0)}-${e}`,orientation:t,coord:r,spanMin:a,spanMax:o,tracks:[]};h.push({edgeIndex:e,segmentIndex:0,orientation:t,pipe:c,trackIndex:0,from:a,to:o});continue}}v.x=f(`vertical`,v.x,v.y,v.y).coord,b.x=f(`vertical`,b.x,b.y,b.y).coord;let M=Math.min(v.x,b.x)-50,N=Math.max(v.x,b.x)+50,P=Math.min(v.y,b.y)-50,ie=Math.max(v.y,b.y)+50;for(let e of d){let t=Math.min(v.x,b.x),n=Math.max(v.x,b.x),r=Math.min(v.y,b.y),i=Math.max(v.y,b.y);e.minX<n&&e.maxX>t&&e.minY<i&&e.maxY>r&&(M=Math.min(M,e.minX-hr),N=Math.max(N,e.maxX+hr),P=Math.min(P,e.minY-hr),ie=Math.max(ie,e.maxY+hr))}for(let e of d){if(e.maxX<M||e.minX>N||e.maxY<P||e.minY>ie)continue;let t=pr;f(`horizontal`,e.minY-t,M,N),f(`horizontal`,e.maxY+t,M,N);let n=mr;f(`vertical`,e.minX-n,P,ie),f(`vertical`,e.maxX+n,P,ie)}f(`horizontal`,v.y,M,N),f(`horizontal`,b.y,M,N);let ae=c.filter(e=>e.orientation===`horizontal`&&e.coord>=P&&e.coord<=ie),oe=c.filter(e=>e.orientation===`vertical`&&e.coord>=M&&e.coord<=N),se=t((e,t)=>`${e.toFixed(1)},${t.toFixed(1)}`,`getKey`),ce=se(v.x,v.y),le=se(b.x,b.y),ue=new Map,de=new Map,fe=new Map,pe=new Set,F=[];ue.set(ce,0),fe.set(ce,`n`),F.push({key:ce,f:Math.hypot(b.x-v.x,b.y-v.y),pt:v}),pe.add(ce);let I=[],me=t((e,t)=>x(e,t,n.start,n.end),`checkSegmentBlocked`),he={x:b.x,y:v.y},L=me(v,he),ge=me(he,b),_e=L||ge,R={x:v.x,y:b.y},z=me(v,R),B=me(R,b);if(_e?z||B||(I=Math.abs(v.x-b.x)<$?[v,b]:[v,R,b]):I=Math.abs(v.y-b.y)<$||Math.abs(v.x-b.x)<$?[v,b]:[v,he,b],I.length===0)for(;F.length>0;){F.sort((e,t)=>e.f-t.f);let t=F.shift();if(pe.delete(t.key),t.key===le){let e=le,t=b;for(I=[t];de.has(e);){let n=de.get(e);I.unshift(n),t=n,e=se(n.x,n.y)}break}let r=t.pt.x,i=t.pt.y,a=oe.sort((e,t)=>e.coord-t.coord),o=a.findIndex(e=>Math.abs(e.coord-r)<1),s=ae.sort((e,t)=>e.coord-t.coord),c=s.findIndex(e=>Math.abs(e.coord-i)<1),l=[];o>0&&l.push({x:a[o-1].coord,y:i}),o>=0&&o<a.length-1&&l.push({x:a[o+1].coord,y:i}),c>0&&l.push({x:r,y:s[c-1].coord}),c>=0&&c<s.length-1&&l.push({x:r,y:s[c+1].coord});for(let a of l){let o=Math.min(r,a.x),s=Math.max(r,a.x),c=Math.min(i,a.y),l=Math.max(i,a.y);if(d.some(e=>e.nodeId===n.start||e.nodeId===n.end?!1:o===s?e.minX<r&&e.maxX>r&&e.maxY>c&&e.minY<l:e.minY<i&&e.maxY>i&&e.maxX>o&&e.minX<s))continue;let u=se(a.x,a.y),f=Math.abs(a.x-r)+Math.abs(a.y-i),p=y(e,t.pt,a),m=0,h=b.x-v.x,g=b.y-v.y,_=a.x-r,x=a.y-i;(g>10&&x<-5||g<-10&&x>5)&&(m=Math.abs(x)*100),(h>10&&_<-5||h<-10&&_>5)&&(m+=Math.abs(_)*50);let S=0,C=fe.get(t.key)??`n`,w=Math.abs(_)>$?`h`:`v`;C!==`n`&&C!==w&&(S=50);let T=f+p+m+S,E=(ue.get(t.key)??1/0)+T,D=Math.abs(b.x-a.x)+Math.abs(b.y-a.y);if(E<(ue.get(u)??1/0))if(de.set(u,t.pt),ue.set(u,E),fe.set(u,w),!pe.has(u))F.push({key:u,f:E+D,pt:a}),pe.add(u);else{let e=F.findIndex(e=>e.key===u);e!==-1&&(F[e].f=E+D)}}}if(I.length===0&&(I=[v,{x:v.x,y:b.y},b]),I.length>4){let e=I[0],n=I[I.length-1],r=Math.min(e.x,n.x),i=Math.max(e.x,n.x),a=Math.min(e.y,n.y),o=Math.max(e.y,n.y);for(let e of I)r=Math.min(r,e.x),i=Math.max(i,e.x),a=Math.min(a,e.y),o=Math.max(o,e.y);let s=i>Math.max(e.x,n.x),c=r<Math.min(e.x,n.x);if(l){let t=mr;if(s){let r=Math.max(e.x,n.x),a=Math.min(e.y,n.y),o=Math.max(e.y,n.y),s=d.filter(e=>e.minX<r&&e.maxX>r&&e.minY<o&&e.maxY>a);if(s.length>0){let r=Math.max(e.x,n.x);for(let e of s){let n=(e.minX+e.maxX)/2;if(e.visualXHalfExtent===void 0||isNaN(e.visualXHalfExtent))continue;let i=n+e.visualXHalfExtent+t;r=Math.max(r,i)}isNaN(r)||(i=r)}}if(c){let i=d.filter(r=>r.minX<Math.min(e.x,n.x)+t&&r.minY<Math.max(e.y,n.y)&&r.maxY>Math.min(e.y,n.y));if(i.length>0){let a=Math.min(e.x,n.x);for(let e of i){let n=(e.minX+e.maxX)/2-e.visualXHalfExtent-t;a=Math.min(a,n)}r=a}}}let u=t(t=>{let r=n.y>e.y,i=d.filter(t=>{let r=Math.min(e.x,n.x)<t.maxX&&Math.max(e.x,n.x)>t.minX,i=Math.min(e.y,n.y)<t.maxY&&Math.max(e.y,n.y)>t.minY;return r&&i}),a=i;if(l&&i.length>0){let e=i.filter(e=>e.minX<t&&e.maxX>t);e.length>0&&(a=e)}if(a.length===0)return n.y;let o=pr;if(r){let e=Math.max(...a.map(e=>e.maxY))+o;if(e<n.y-$)return e}else{let e=Math.min(...a.map(e=>e.minY))-o;if(e>n.y+$)return e}return n.y},`findBestReturnY`),f=t(t=>{let r=u(t),i={x:t,y:e.y},a={x:t,y:r},o={x:n.x,y:r},s=me(e,i),c=me(i,a),l=me(a,o),d=r===n.y?!1:me(o,n);return!s&&!c&&!l&&!d?Math.abs(r-n.y)<$?[e,i,a,n]:[e,i,a,o,n]:null},`trySimplifyWithDetourX`),p=s&&!c?f(i):c&&!s?f(r):null;p&&(I=p)}let V=[s,...O,...I,...j.reverse(),u];if(V.length>=3){let e=V[V.length-1],t=V[V.length-2],n=V[V.length-3],r=Math.abs(n.y-t.y)<$&&Math.abs(t.y-e.y)<$,i=Math.abs(n.x-t.x)<$&&Math.abs(t.x-e.x)<$;if(r){let r=Math.sign(t.x-n.x),i=Math.sign(e.x-n.x);r!==0&&r===i&&Math.abs(t.x-n.x)>Math.abs(e.x-n.x)&&V.splice(-2,1)}else if(i){let r=Math.sign(t.y-n.y),i=Math.sign(e.y-n.y);r!==0&&r===i&&Math.abs(t.y-n.y)>Math.abs(e.y-n.y)&&V.splice(-2,1)}}let H=[V[0]];for(let e=1;e<V.length-1;e++){if(e===1){H.push(V[e]);continue}let t=H[H.length-1],n=V[e],r=V[e+1];if(Math.abs(t.y-n.y)<$&&Math.abs(n.y-r.y)<$){if(n.x>t.x!=r.x>n.x){H.push(n);continue}continue}if(Math.abs(t.x-n.x)<$&&Math.abs(n.x-r.x)<$){if(n.y>t.y!=r.y>n.y){H.push(n);continue}continue}H.push(n)}H.push(V[V.length-1]);for(let t=0;t<H.length-1;t++){let n=H[t],r=H[t+1],i=Math.abs(n.x-r.x)<$?`vertical`:`horizontal`,a=i===`vertical`?n.x:n.y,o=i===`vertical`?Math.min(n.y,r.y):Math.min(n.x,r.x),s=i===`vertical`?Math.max(n.y,r.y):Math.max(n.x,r.x),c=f(i,a,o,s),l={edgeIndex:e,segmentIndex:t,orientation:i,pipe:c,trackIndex:0,from:o,to:s};h.push(l),g[e].push(h.length-1),c.tracks[0]||(c.tracks[0]={index:0,coord:c.coord,segments:[]}),c.tracks[0].segments.push({edgeIndex:e,segmentIndex:t,from:o,to:s})}}let P=t((e,t)=>e.from<t.to&&t.from<e.to,`segmentsOverlap`),ie=t((e,t,n,r)=>{let i=!r.segments.some(n=>(n.edgeIndex!==t.edgeIndex||n.segmentIndex!==t.segmentIndex)&&P(n,e)),a=!n.segments.some(n=>(n.edgeIndex!==e.edgeIndex||n.segmentIndex!==e.segmentIndex)&&P(n,t));return i&&a?(e.trackIndex=r.index,t.trackIndex=n.index,n.segments=[...n.segments.filter(t=>t.edgeIndex!==e.edgeIndex||t.segmentIndex!==e.segmentIndex),{edgeIndex:t.edgeIndex,segmentIndex:t.segmentIndex,from:t.from,to:t.to}],r.segments=[...r.segments.filter(e=>e.edgeIndex!==t.edgeIndex||e.segmentIndex!==t.segmentIndex),{edgeIndex:e.edgeIndex,segmentIndex:e.segmentIndex,from:e.from,to:e.to}],!0):!1},`trySwapSegmentsAcrossTracks`),ae=t(e=>{let t=e.tracks.length;return e.tracks[t]={index:t,coord:e.coord,segments:[]},t},`createNewTrack`),oe=t((e,t)=>{let n=e.pipe.tracks[e.trackIndex];n.segments=n.segments.filter(t=>t.edgeIndex!==e.edgeIndex||t.segmentIndex!==e.segmentIndex),e.trackIndex=t,e.pipe.tracks[t].segments.push({edgeIndex:e.edgeIndex,segmentIndex:e.segmentIndex,from:e.from,to:e.to})},`moveSegmentToTrack`),se=t((e,t)=>{let n=g[e.edgeIndex];for(let r of n){let n=h[r];n.pipe===e.pipe&&oe(n,t)}},`moveSegmentChainToTrack`),ce=t(e=>{let t=g[e.edgeIndex],n=t.indexOf(h.indexOf(e)),r=[];return n>0&&r.push(h[t[n-1]]),n<t.length-1&&r.push(h[t[n+1]]),r},`getAdjacentSegmentsAlongEdge`),le=t((e,t)=>{if(e.orientation===t.orientation)return!1;let n=e.orientation===`horizontal`?e:t,r=e.orientation===`horizontal`?t:e;return r.pipe.coord>n.from&&r.pipe.coord<n.to&&n.pipe.coord>r.from&&n.pipe.coord<r.to},`haveAnyCrossing`),ue=t((e,t)=>{for(let n of e.tracks)if(!n.segments.some(e=>(e.edgeIndex!==t.edgeIndex||e.segmentIndex!==t.segmentIndex)&&P(e,t)))return n.index;return-1},`findAvailableTrack`),de=t((e,t)=>{if(e.trackIndex===t.trackIndex)return P(e,t);let n=ce(e),r=ce(t);return n.some(e=>r.some(t=>le(e,t)))},`segmentsConflict`),fe=t((e,t,n)=>{if(ie(e,t,e.pipe.tracks[e.trackIndex],t.pipe.tracks[t.trackIndex]))return;let r=ue(e.pipe,t);n(t,r===-1?ae(e.pipe):r)},`resolveTrackConflict`),pe=t(e=>{let t=0;for(let n=0;n<e.length;n++)for(let r=n+1;r<e.length;r++){let i=e[n],a=e[r];i.pipe===a.pipe&&de(i,a)&&(t++,fe(i,a,se))}return t},`resolveHandleConflicts`),F=new Map,I=t(e=>{if(F.has(e))return F.get(e);let t=g[e];if(t.length===0){let t={dest:0,deviation:0,base:0,delta:0};return F.set(e,t),t}let n=h[t[0]].pipe.coord,r=n;for(let e=1;e<t.length;e++){let i=h[t[e]];if(i.orientation===`horizontal`){let e=i.from,t=i.to;r=Math.abs(e-n)>Math.abs(t-n)?e:t;break}}let i=Math.abs(r-n),a={dest:r,deviation:i,base:n,delta:r-n};return F.set(e,a),a},`getDestInfo`),me=t(()=>{let e=0,n=new Map;for(let[e,t]of a.entries())g[e].length!==0&&t.start&&(n.has(t.start)||n.set(t.start,[]),n.get(t.start).push(e));let r=t(e=>{let t=a[e];if(!t.start||!t.end)return 0;let n=o.get(t.start),r=o.get(t.end);if(!n||!r)return 0;let i=(r.x??0)-(n.x??0),s=(r.y??0)-(n.y??0);return Math.abs(i)+Math.abs(s)},`getEdgeDistance`);for(let t of n.values()){t.sort((e,t)=>{let n=I(e),i=I(t);if(Math.abs(n.deviation-i.deviation)>1)return n.deviation-i.deviation;if(Math.abs(n.dest-i.dest)>1)return n.dest-i.dest;let a=r(e),o=r(t);if(Math.abs(a-o)>1)return o-a;let s=g[e].length,c=g[t].length;if(s!==c)return s-c;if(s===1){let n=g[e][0],r=g[t][0];if(h[n]&&h[r]){let e=h[n],t=h[r],i=Math.abs(e.to-e.from),a=Math.abs(t.to-t.from);if(Math.abs(i-a)>1)return i-a}}return 0});let n=t.map(e=>h[g[e][0]]);e+=pe(n)}return e},`fixSourceHandleCrossings`),he=t(()=>{let e=0,n=new Map;for(let[e,t]of a.entries())g[e].length!==0&&t.end&&(n.has(t.end)||n.set(t.end,[]),n.get(t.end).push(e));for(let r of n.values()){r.sort((e,n)=>{let r=t(e=>{let t=g[e];if(t.length<2)return 0;let n=h[t[t.length-2]];return Math.abs(n.to-n.from)},`getDist`),i=r(e),a=r(n);return Math.abs(i-a)>.1?i-a:e-n});let n=r.map(e=>h[g[e][g[e].length-1]]);e+=pe(n)}return e},`fixTargetHandleCrossings`),L=t(()=>{let e=0;for(let t of c){let n=[];for(let e of t.tracks)for(let t of e.segments){let e=g[t.edgeIndex].find(e=>h[e].segmentIndex===t.segmentIndex);e!==void 0&&n.push(h[e])}n.sort((e,t)=>e.edgeIndex-t.edgeIndex||e.segmentIndex-t.segmentIndex);for(let t=0;t<n.length;t++)for(let r=t+1;r<n.length;r++){let i=n[t],a=n[r];de(i,a)&&(e++,fe(i,a,oe))}}return e},`fixPipeCrossings`),ge=0;for(;ge<10;){let e=0;if(e+=me(),e+=he(),e+=L(),e===0)break;ge++}let _e=new Map;for(let e of c){let n=[];e.tracks.forEach(e=>{e.segments.forEach(t=>{n.push({edgeIndex:t.edgeIndex,segmentIndex:t.segmentIndex,trackIndex:e.index,from:t.from,to:t.to})})}),n.sort((e,t)=>e.from-t.from);let r=[];if(n.length>0){let e=[n[0]],t=n[0].to;for(let i=1;i<n.length;i++){let a=n[i];a.from<t?(e.push(a),t=Math.max(t,a.to)):(r.push(e),e=[a],t=a.to)}r.push(e)}for(let n of r){let r=new Set;n.forEach(e=>r.add(e.trackIndex));let i=new Map;n.forEach(e=>{let t=I(e.edgeIndex);i.set(e.trackIndex,(i.get(e.trackIndex)??0)+t.delta)});let a=[...r].filter(e=>(i.get(e)??0)<-1),o=[...r].filter(e=>(i.get(e)??0)>1),s=[...r].filter(e=>Math.abs(i.get(e)??0)<=1);a.sort((e,t)=>(i.get(t)??0)-(i.get(e)??0)),o.sort((e,t)=>(i.get(e)??0)-(i.get(t)??0));let c=t((t,r)=>{n.filter(e=>e.trackIndex===t).forEach(t=>{let n=_.has(t.edgeIndex)?e.coord:r;_e.set(`${t.edgeIndex}-${t.segmentIndex}`,n)})},`assignCoord`),l=0;for(let t of a)l++,c(t,e.coord-l*_r);if(s.length===0&&r.size>0){let e=[...r].sort((e,t)=>Math.abs(i.get(e)??0)-Math.abs(i.get(t)??0))[0],t=a.indexOf(e);t!==-1&&a.splice(t,1);let n=o.indexOf(e);n!==-1&&o.splice(n,1),s.push(e)}let u=0;for(let t of s){if(u===0)c(t,e.coord);else{let n=u%2==1?1:-1,r=Math.ceil(u/2);c(t,e.coord+n*r*_r*.5)}u++}let d=0;for(let t of o)d++,c(t,e.coord+d*_r)}}for(let[e,t]of a.entries()){let n=g[e]??[];if(n.length===0)continue;let r=[],{pSrcPort:i,pDstPort:a}=re(e,o.get(t.start),o.get(t.end)),s=n.map(e=>{let t=h[e],n=_e.get(`${t.edgeIndex}-${t.segmentIndex}`)??t.pipe.coord;return{orient:t.orientation,coord:n,from:t.from,to:t.to}});r.push(i);for(let e=0;e<s.length;e++){let t=s[e],n=r[r.length-1],i=t.orient===`vertical`?n.y:n.x,a=t.orient===`vertical`?n.x:n.y,o=s[e+1],c=e<s.length-1;if(Math.abs(a-t.coord)>$&&r.push(br(t,i)),c&&o.orient===t.orient)if(Math.abs(t.coord-o.coord)>$){let e=t.orient===`vertical`?(i+o.from)/2:yr(t,o);r.push(br(t,e),br(o,e))}else (e===0||e===s.length-2)&&r.push(br(t,yr(t,o)));else if(c)r.push(br(t,o.coord));else{let e=Math.abs(t.from-i)<Math.abs(t.to-i)?t.to:t.from;r.push(br(t,e))}}let c=r[r.length-1];(Math.abs(c.x-a.x)>$||Math.abs(c.y-a.y)>$)&&r.push(a);let l=[];r.length>0&&l.push(r[0]);for(let e=1;e<r.length;e++){let t=r[e],n=l[l.length-1];(Math.abs(t.x-n.x)>$||Math.abs(t.y-n.y)>$)&&l.push(t)}t.points=l}for(let e of a){let t=e.__originalEdge;t&&e.points&&(t.points=e.points)}e.edges=(e.edges??[]).filter(e=>!e.isLayoutOnly);let R=t((e,t)=>{let n=t.x??0,r=t.y??0,i=t.width??0,a=t.height??0;if(i<=0||a<=0)return e;let o=n-i/2,s=n+i/2,c=r-a/2,l=r+a/2;if(e.x<o||e.x>s||e.y<c||e.y>l)return e;let u=e.x-o,d=s-e.x,f=e.y-c,p=l-e.y,m=Math.min(u,d,f,p);return m===u?{x:o,y:e.y}:m===d?{x:s,y:e.y}:m===f?{x:e.x,y:c}:{x:e.x,y:l}},`nodeBoundaryClamp`);for(let t of e.edges){let e=t.points;if(!e||e.length<2)continue;let n=t.start,r=t.end,i=n?o.get(n):void 0,a=r?o.get(r):void 0;i&&(e[0]=R(e[0],i)),a&&(e[e.length-1]=R(e[e.length-1],a))}return e}t(xr,`routeEdgesOrthogonal`);function Sr(e){return e.direction??`TB`}t(Sr,`getSwimlaneDirection`);function Cr(e){let t=F(e),n=e.config.flowchart?.nodeSpacing??40,r=e.config.flowchart?.rankSpacing??100,i=e.config.swimlane?.ignoreCrossLaneEdges??!0,a=e.config.swimlane?.optimizeRanksByCrossings??!0,o=e.config.swimlane?.automaticLaneOrdering??!1,s=Sr(e),{ordered:c,coordinates:l}=dr(t,{nodeGap:n,layerGap:r,ignoreCrossLaneEdges:i,optimizeRanksByCrossings:a,automaticLaneOrdering:o,direction:s});I(t,c,l,{nodeGap:n,layerGap:r});for(let t of e.edges??[])delete t.points;xr(e,s);for(let t of e.edges??[])(!t.curve||t.curve===`basis`)&&(t.curve=`rounded`);return tn(e,s),en(e),s}t(Cr,`runSwimlaneLayoutCore`);async function wr(e,t){let n=t.select(`g`);p(n,e.markers,e.type,e.diagramId),u(),v(),d(),b(),pe(e);let r=he(e);e.nodes=r.nodes,e.edges=r.edges;let{groups:i}=await x(n,e);Cr(e),await oe(e,i)}t(wr,`render`);export{wr as render};
@@ -1,8 +0,0 @@
1
- import{n as e}from"./chunk-Y2CYZVJY-Cu5p-GMJ.js";import"./src-DjJ3hkaN.js";import"./chunk-I66GZJ75-q2Pj0wYV.js";import"./chunk-NSK5VX7P-Ba98eesG.js";import"./chunk-ZIRB5QZD-BSxQfUL9.js";import"./chunk-W5SLKNZC-CdSz4Xzc.js";import"./chunk-UBXNYLIW-Cz1081DJ.js";import"./chunk-4I5QYGJK-C3fKZeMQ.js";import"./chunk-WRU74C26-Dhm0KT3r.js";import"./chunk-QR6OTTB3-BoesuMke.js";import"./chunk-7BUUIJ7U-DGxdEC2T.js";import"./chunk-7Z6QIM7H-DxTcyTdV.js";import"./chunk-J7OUQ5F2-BWGb9t2L.js";import"./chunk-2GRJ4B5K-CmVhfGVx.js";import"./chunk-XXDRQBXY-BK97jNt8.js";import"./chunk-KBJHAD2P-CidJw9J7.js";import{r as t,t as n}from"./chunk-JQJVKLGR-BNcpRyOS.js";var r=n({defaultLayout:`swimlane`,styles:e(e=>`${t(e)}
2
- .swimlane.cluster rect {
3
- stroke: ${e.clusterBorder} !important;
4
- }
5
- [data-look="neo"].cluster rect {
6
- filter: none;
7
- }
8
- `,`getStyles`)});export{r as diagram};
@@ -1,9 +0,0 @@
1
- import"./chunk-SRAX5OIU-DUvIeieh.js";var e={paste:`ஒட்டு`,pasteAsPlaintext:`அலங்காரமின்றி ஒட்டு`,pasteCharts:`விளக்கப்படங்களை ஒட்டு`,selectAll:`எல்லாம் தேர்ந்தெடு`,multiSelect:`உறுப்பைத் தெரிவில் சேர்`,moveCanvas:`கித்தானை நகர்த்து`,cut:`வெட்டு`,copy:`நகலெடு`,copyAsPng:`நகலகத்திற்கு PNG ஆக நகலெடு`,copyAsSvg:`நகலகத்திற்கு SVG ஆக நகலெடு`,copyText:`நகலகத்திற்கு உரையாக நகலெடு`,copySource:``,convertToCode:``,bringForward:`முன்நோக்கி கொண்டுவா`,sendToBack:`பின்னே அனுப்பு`,bringToFront:`முன்னே கொண்டுவா`,sendBackward:`பின்நோக்கி அனுப்பு`,delete:`அழி`,copyStyles:`ஒயில்களை நகலெடு`,pasteStyles:`ஒயில்களை ஒட்டு`,stroke:`கீறல்`,background:`பின்புலம்`,fill:`நிரப்பல்`,strokeWidth:`கீறல் அகலம்`,strokeStyle:`கீறல் ஒயில்`,strokeStyle_solid:`திடமான`,strokeStyle_dashed:`கோடிட்ட`,strokeStyle_dotted:`புள்ளியிட்ட`,sloppiness:`அசட்டுத்தனம்`,opacity:`ஒளிபுகாவியல்பு`,textAlign:`உரைச் சீரமைப்பு`,edges:`விளிம்புகள்`,sharp:`கூர்மை`,round:`வட்டம்`,arrowheads:`அம்புத்தலைகள்`,arrowhead_none:`ஏதுமில்லை`,arrowhead_arrow:`அம்பு`,arrowhead_bar:`பட்டை`,arrowhead_circle:``,arrowhead_circle_outline:``,arrowhead_triangle:`முக்கோணம்`,arrowhead_triangle_outline:``,arrowhead_diamond:``,arrowhead_diamond_outline:``,fontSize:`எழுத்துரு அளவு`,fontFamily:`எழுத்துரு குடும்பம்`,addWatermark:`"எக்ஸ்கேலிட்ரா கொண்டு ஆனது"-ஐச் சேர்`,handDrawn:`கையால்-வரைந்த`,normal:`இயல்பு`,code:`குறியீடு`,small:`சிறிய`,medium:`நடுத்தரமான`,large:`பெரிய`,veryLarge:`மிகப் பெரிய`,solid:`திடமான`,hachure:`மலைக்குறிக்கோடு`,zigzag:`கோணல்மாணல்`,crossHatch:`குறுக்குகதவு`,thin:`மெல்லிய`,bold:`பட்டை`,left:`இடது`,center:`மையம்`,right:`வலது`,extraBold:`கூடுதல் பட்டை`,architect:`கட்டடக்கலைஞர்`,artist:`கலைஞர்`,cartoonist:`கேலிச்சித்திர ஓவியர்`,fileTitle:`கோப்புப் பெயர்`,colorPicker:`நிறத் தேர்வி`,canvasColors:`கித்தானில் பயன்படுத்தப்பட்டது`,canvasBackground:`கித்தான் பின்னணி`,drawingCanvas:`கித்தான் வரைகிறது`,layers:`அடுக்குகள்`,actions:`செயல்கள்`,language:`மொழி`,liveCollaboration:`நேரடி கூட்டுப்பணி...`,duplicateSelection:`நகலாக்கு`,untitled:`தலைப்பற்றது`,name:`பெயர்`,yourName:`உங்கள் பெயர்`,madeWithExcalidraw:`எக்ஸ்கேலிட்ரா கொண்டு ஆனது`,group:`தேர்ந்ததை ஒன்றிணை`,ungroup:`தேர்ந்ததைப் பிரி`,collaborators:`கூட்டுப்பணியினர்`,showGrid:`கட்டதைக் காட்டு`,addToLibrary:`நூலகத்தில் சேர்`,removeFromLibrary:`நூலகத்திலிருந்து நீக்கு`,libraryLoadingMessage:`நூலகத்தை ஏற்றுகிறது…`,libraries:`நூலகங்களை உலாவு`,loadingScene:`காட்சியை ஏற்றுகிறது…`,align:`சீரமை`,alignTop:`மேலே சீரமை`,alignBottom:`கீழே சீரமை`,alignLeft:`இடதில் சீரமை`,alignRight:`வலதில் சீரமை`,centerVertically:`செங்குத்தாக மையப்படுத்து`,centerHorizontally:`கிடைமட்டமாக மையப்படுத்து`,distributeHorizontally:`கிடைமட்டமாக விநியோகி`,distributeVertically:`செங்குத்தாக விநியோகி`,flipHorizontal:`கிடைமட்டமாக புரட்டு`,flipVertical:`செங்குத்தாக புரட்டு`,viewMode:`பார்வை பயன்முறை`,share:`பகிர்`,showStroke:`கீறல் நிற எடுப்பானைக் காட்டு`,showBackground:`பின்னணி நிற எடுப்பானைக் காட்டு`,toggleTheme:`தோற்றத்தை நிலைமாற்று`,personalLib:`தனக்குரிய நூலகம்`,excalidrawLib:`எக்ஸ்கேலிட்ரா நூலகம்`,decreaseFontSize:`எழுத்துரு அளவைக் குறை`,increaseFontSize:`எழுத்துரு அளவை அதிகரி`,unbindText:`உரையைப் பிணைவவிழ்`,bindText:`உரையைக் கொள்கலனுக்குப் பிணை`,createContainerFromText:`உரையைக் கொள்கலனுள் சுருட்டு`,link:{edit:`தொடுப்பைத் திருத்து`,editEmbed:``,create:`தொடுப்பைப் படை`,createEmbed:``,label:`தொடுப்பு`,labelEmbed:``,empty:``},lineEditor:{edit:`தொடுப்பைத் திருத்து`,exit:`வரி திருத்தியிலிருந்து வெளியேறு`},elementLock:{lock:`பூட்டு`,unlock:`பூட்டவிழ்`,lockAll:`எல்லாம் பூட்டு`,unlockAll:`எல்லாம் பூட்டவிழ்`},statusPublished:`வெளியிடப்பட்டது`,sidebarLock:`பக்கப்பட்டையைத் திறந்தே வை`,selectAllElementsInFrame:``,removeAllElementsFromFrame:``,eyeDropper:`கித்தானிலிருந்து நிறம் தேர்ந்தெடு`,textToDiagram:``,prompt:``},t={noItems:`இதுவரை உருப்படிகள் சேரக்கப்படவில்லை...`,hint_emptyLibrary:`கித்தானிலுள்ள உருப்படியை இங்குச் சேர்க்க தேர்ந்தெடு, அல்லது கீழுள்ள பொது களஞ்சியத்திலிருந்து நூலகத்தை நிறுவு.`,hint_emptyPrivateLibrary:`கித்தானிலுள்ள உருப்படியை இங்குச் சேர்க்க தேர்ந்தெடு.`},n={clearReset:`கித்தானை அகரமாக்கு`,exportJSON:`கோப்புக்கு ஏற்றுமதிசெய்`,exportImage:`படத்தை ஏற்றுமதிசெய்...`,export:`இதில் சேமி...`,copyToClipboard:`நகலகத்திற்கு நகலெடு`,save:`தற்போதைய கோப்புக்குச் சேமி`,saveAs:`இப்படி சேமி`,load:`திற`,getShareableLink:`பகிரக்கூடிய தொடுப்பைப் பெறு`,close:`மூடு`,selectLanguage:`மொழியைத் தேர்ந்தெடு`,scrollBackToContent:`உருட்டி உள்ளடக்கத்துக்குத் திரும்பு`,zoomIn:`பெரிதாக்கு`,zoomOut:`சிறிதாக்கு`,resetZoom:`உருவளவை அகரமாக்கு`,menu:`சிறுபட்டி`,done:`முடிந்தது`,edit:`திருத்து`,undo:`செயல்தவிர்`,redo:`மீண்டும்செய்`,resetLibrary:`நூலகத்தை அகரமாக்கு`,createNewRoom:`புதிய அறையை உருவாக்கு`,fullScreen:`முழுத் திரை`,darkMode:`கருமை பயன்முறை`,lightMode:`வெளிர்ந்த பயன்முறை`,zenMode:`ஜென் பயன்முறை`,objectsSnapMode:``,exitZenMode:`ஜென் பயன்முறையை விலகு`,cancel:`ரத்துசெய்`,clear:`துடை`,remove:`நீக்கு`,embed:``,publishLibrary:`பிரசுரி`,submit:`சமர்ப்பி`,confirm:`உறுதிசெய்`,embeddableInteractionButton:``},r={clearReset:`இது முழு கித்தானையும் துடைக்கும். நீங்கள் உறுதியா?`,couldNotCreateShareableLink:`பகிரக்கூடிய தொடுப்பை உருவாக்க முடியவில்லை.`,couldNotCreateShareableLinkTooBig:`பகிரக்கூடிய தொடுப்பை உருவாக்க முடியவில்லை: காட்சி மிகப்பெரிதாக உள்ளது`,couldNotLoadInvalidFile:`செல்லாத கோப்பை ஏற்ற முடியவில்லை`,importBackendFailed:`தேகத்திலிருந்து இறக்குமதி தோல்வி.`,cannotExportEmptyCanvas:`காலியான கித்தானை ஏற்றுமதிசெய்ய முடியாது.`,couldNotCopyToClipboard:`நகலகத்திற்கு நகலெடுக்க முடியவில்லை.`,decryptFailed:`தரவை மறைநீக்க முடியவில்லை.`,uploadedSecurly:`பதிவேற்றம் இருமுனை மறையாகத்தால் பாதுகாக்கப்பட்டுள்ளது, எனவே எக்ஸ்கேலிட்ரா சேவையகமும் மூன்றாம் தரப்பினரும் உள்ளடக்கத்தை வாசிக்கமுடியாது.`,loadSceneOverridePrompt:`வெளிப்புறச்சித்திரமேற்றல் இருக்கிற உள்ளடக்கத்தை இடங்கொள்ளும். தொடர விருப்பமா?`,collabStopOverridePrompt:`அமர்வை நிறுத்துதல் முன்னர் அகமாக தேக்கிய உம் சித்திரத்தை மேலெழுதும். நீங்கள் உறுதியா?
2
-
3
- (உம் அக சித்திரத்தை வைக்கவேண்டுமெனில், சும்மா உலாவி தாவலை மூடுக அதற்குபதிலாக.)`,errorAddingToLibrary:`உருப்படியை நூலகத்தில் சேர்க்க இயலா`,errorRemovingFromLibrary:`உருப்படியை நூலகத்திலிருந்து நீக்க இயலா`,confirmAddLibrary:`இதனால் {{numShapes}} வடிவம்(கள்) உம் நூலகத்தில் சேரும். நீங்கள் உறுதியா?`,imageDoesNotContainScene:`இப்படத்தில் காட்சி தரவு ஏதும் இருப்பதுபோல் தெரியவில்லை. ஏற்றுமதியின்போது காட்சி உட்பதிதலை இயக்கினீரா?`,cannotRestoreFromImage:`இப்படக்கோப்பிலிருந்து காட்சி மீட்டெடுக்கப்பட முடியாது`,invalidSceneUrl:`வழங்கப்பட்ட உரலியிலிருந்து காட்சியை இறக்கவியலா. இது தவறான வடிவத்தில் உள்ளது, அ செல்லத்தக்க எக்ஸ்கேலிட்ரா JSON தரவைக் கொண்டில்லை.`,resetLibrary:`இது உங்கள் நுலகத்தைத் துடைக்கும். நீங்கள் உறுதியா?`,removeItemsFromsLibrary:`{{count}} உருப்படி(கள்)-ஐ உம் நூலகத்திலிருந்து அழிக்கவா?`,invalidEncryptionKey:`மறையாக்க விசை 22 வரியுருக்கள் கொண்டிருக்கவேண்டும். நேரடி கூட்டுப்பணி முடக்கப்பட்டது.`,collabOfflineWarning:`இணைய இணைப்பு இல்லை.
4
- உமது மாற்றங்கள் சேமிக்கப்படா!`},i={unsupportedFileType:`ஆதரிக்கப்படா கோப்பு வகை.`,imageInsertError:`படத்தைப் புகுத்தவியலா. பிறகு மீண்டும் முயலவும்...`,fileTooBig:`கோப்பு மிகப்பெரிது. அனுமதிக்கப்பட்ட அதிகபட்ச அளவு {{maxSize}}.`,svgImageInsertError:`எஸ்விஜி படத்தைப் புகுத்தவியலா. எஸ்விஜியின் மார்க்அப் செல்லாததாக தெரிகிறது.`,failedToFetchImage:``,invalidSVGString:`செல்லாத SVG.`,cannotResolveCollabServer:`கூட்டுப்பணிச் சேவையகத்துடன் இணைக்க முடியவில்லை. பக்கத்தை மீளேற்றி மீண்டும் முயலவும்.`,importLibraryError:`நூலகத்தை ஏற்ற முடியவில்லை`,collabSaveFailed:`பின்முனை தரவுத்தளத்தில் சேமிக்க முடியவில்லை. சிக்கல்கள் நீடித்தால், உமது வேலைகளை இழக்காமலிருப்பதை உறுதிசெய்ய உமது கோப்பை உள்ளகத்தில் சேமிக்க வேண்டும்.`,collabSaveFailed_sizeExceeded:`பின்முனை தரவுத்தளத்தில் சேமிக்க முடியவில்லை, கித்தான் மிகப்பெரிதாகத் தெரிகிறது. உமது வேலைகளை இழக்காமலிருப்பதை உறுதிசெய்ய உமது கோப்பை உள்ளகத்தில் சேமிக்க வேண்டும்.`,imageToolNotSupported:``,brave_measure_text_error:{line1:``,line2:``,line3:``,line4:``},libraryElementTypeError:{embeddable:``,iframe:``,image:``},asyncPasteFailedOnRead:``,asyncPasteFailedOnParse:``,copyToSystemClipboardFailed:``},a={selection:`தெரிவு`,image:`படத்தைப் புகுத்து`,rectangle:`செவ்வகம்`,diamond:`வைரம்`,ellipse:`நீள்வட்டம்`,arrow:`அம்பு`,line:`வரி`,freedraw:`வரை`,text:`உரை`,library:`நூலகம்`,lock:`தேர்ந்த கருவியை வரைந்த பின்பும் வைத்திரு`,penMode:`பேனா - தடுப்பு தொடுதல்`,link:`தேர்தெடுத்த வடிவத்திற்குத் தொடுப்பைச் சேர்/ புதுப்பி`,eraser:`அழிப்பி`,frame:`சட்டகம் கருவி`,magicframe:``,embeddable:``,laser:``,hand:`கை (பார்வை நகர்கும் கருவி)`,extraTools:`மற்ற கருவிகள்`,mermaidToExcalidraw:``,magicSettings:``},o={canvasActions:`கித்தான் செயல்கள்`,selectedShapeActions:`தேர்ந்த வடிவம் செயல்கள்`,shapes:`வடிவங்கள்`},s={canvasPanning:``,linearElement:`பல புள்ளிகளைத் துவக்க சொடுக்கு, ஒற்றை வரிக்கு பிடித்திழு`,freeDraw:`சொடுக்கி பிடித்திழு, முடித்ததும் விடுவி`,text:`துணுக்குதவி: தெரிவு கருவி கொண்டு எங்காவது இரு-சொடுக்கி உரையைச் சேர்க்கலாம்`,embeddable:``,text_selected:`உரையைத் திருத்த இரு-சொடுக்கு அ ENTERஐ அழுத்து`,text_editing:`திருத்துவதை முடிக்க Escape அ CtrlOrCmd+ENTERஐ அழுத்து`,linearElementMulti:`கடைசி புள்ளியில் சொடுக்கு அ முடிக்க Escape அ Enter அழுத்து`,lockAngle:`SHIFTஐ அழுத்திப்பிடித்து கோணத்தை வற்புறுத்தலாம்`,resize:`மறுஅளவிடுகையில் SHIFTஐ அழுத்திப்பிடித்து விகிதசமத்தை வற்புறுத்தலாம்,
5
- மையத்திலிருந்து மறுஅளவிட ALTஐ அழுத்திப்பிடி`,resizeImage:`SHIFTஐ நீண்டழுத்தி கட்டற்று அளவுமாற்றலாம்,
6
- மையத்திலிருந்து அளவுமாற்ற ALTஐ நீண்டழுத்துக`,rotate:`சுழற்றுகையில் SHIFTஐ அழுத்திப்பிடித்து கோணங்களை வற்புறுத்தலாம்`,lineEditor_info:``,lineEditor_pointSelected:`புள்ளி(கள்)ஐ நீக்க Deleteஐ அழுத்து,
7
- நகலாக்க CtrlOrCmd+D, அ நகர்த்த பிடித்திழு`,lineEditor_nothingSelected:`திருத்த புள்ளியைத் தேர்ந்தெடு (பலவற்றை தேர SHIFTஐ அழுத்திப்பிடி),
8
- அ புதிய புள்ளிகளைச் சேர்க்க Altஐ அழுத்திப்பிடித்துச் சொடுக்கு`,placeImage:`படத்தை வைக்கச் சொடுக்கு, அ கைமுறையாக அளவு அமைக்க சொடுக்கி பிடித்திழு`,publishLibrary:`உம் சொந்த நூலகத்தைப் பிரசுரி`,bindTextToElement:`உரையைச் சேர்க்க enterஐ அழுத்து`,deepBoxSelect:`ஆழ்ந்துத் தேரவும் பிடித்திழுத்தலைத் தவிர்க்கவும் CtrlOrCmdஐ அழுத்திப்பிடி`,eraserRevert:``,firefox_clipboard_write:``,disableSnapping:``},c={cannotShowPreview:`முன்னோட்டம் காட்ட இயலவில்லை`,canvasTooBig:`கித்தான் மிகப்பெரிதாக இருக்கலாம்.`,canvasTooBigTip:`துணுக்குதவி: தூரத்திலுள்ள உறுப்புகளைப் நெருக்கமாக நகர்த்தப்பார்.`},l={headingMain:`பிழையைச் சந்தித்தீரா. முயலவும் <button>பக்கத்தை மீண்டுமேற்றுகிறது.</button>`,clearCanvasMessage:`மீண்டுமேற்றல் வேலைசெய்யவிட்டால், முயற்சி <button>கித்தானைத் துடைக்கிறது.</button>`,clearCanvasCaveat:` இது வேலையை இழக்கக்கூடும் `,trackedToSentry:`இனங்காணியில் பிழை {{eventId}} எங்கள் இயங்குதளத்தில் தடமறியப்பட்டது.`,openIssueMessage:`பிழையில் உம் காட்சி தகவலை உள்ளடக்காமலிருக்க நாங்கள் மிக எச்சரிக்கையாக இருந்தோம். உம் காட்சி தனிப்பட்டதில்லையெனில், பின்தொடர்வதற்கு பரிசீலிக்கவும் எங்கள் <button>பிழை தடமி.</button> கீழுள்ள தகவலை நகலெடுத்து ஒட்டி GitHub சிக்கலுள் உள்ளடக்கவும்.`,sceneContent:`காட்சி உள்ளடக்கம்:`},u={desc_intro:`உம்முடன் கூட்டுப்பணிசெய்ய மக்களை தற்போதைய காட்சிக்கு அழைப்பிடலாம்.`,desc_privacy:`வருந்தாதீர், அமர்வு இருமுனை மறையகத்தைப் பயன்படுத்துகிறது, ஆக நீங்கள் வரைவது எதுவும் தனிப்பட்டதாக இருக்கும். எங்கள் சேவையகத்தால் கூட நீங்கள் என்ன செய்ததைப் பார்க்கவியலாது.`,button_startSession:`அமர்வைத் துவக்கு`,button_stopSession:`அமர்வை நிறுத்து`,desc_inProgressIntro:`நேரடி-கூட்டுப்பணி அமர்வு தற்போது செயலிலுள்ளது.`,desc_shareLink:`கூட்டுப்பணிபுரிய விரும்பும் எவருனும் இத்தொடுப்பைப் பகிர்க:`,desc_exitSession:`அமர்வை நிறுத்தல் உம்மை அறையிலிருந்து துண்டிக்கும், ஆனால் காட்சியுடன் தொடர்ந்து பணிபுரிய உம்மாலியலும், அகமாக. இது பிற மக்களைப் பாதிக்காதென்பதைக் குறி, மற்றும் அவர்களாலவர்களுடைய பதிப்பில் இன்னும் கூட்டுப்பணிபுரியவியலும்.`,shareTitle:`எக்ஸ்கேலிட்ராவில் நேரடி கூட்டுப்பணி அமர்வில் சேர்`},d={title:`பிழை`},f={disk_title:`வட்டில் சேமி`,disk_details:`காட்சித் தரவை நீங்கள் பின்னர் இறக்குமதி செய்யக்கூடிய ஒரு கோப்பிற்கு ஏற்றுமதிசெய்க.`,disk_button:`கோப்பில் சேமி`,link_title:`பகிரக்கூடிய தொடுப்பு`,link_details:`வாசிக்க-மட்டும் தொடுப்பாக ஏற்றுமதிசெய்.`,link_button:`தொடுப்புக்கு ஏற்றுமதிசெய்`,excalidrawplus_description:`காட்சியை உன் எக்ஸ்கேலிட்ரா பணியிடத்தில் சேமி.`,excalidrawplus_button:`ஏற்றுமதி`,excalidrawplus_exportError:`இத்தருணத்தில் எக்ஸ்கேலிட்ரா+ க்கு ஏற்றுமதிசெய்ய முடியவில்லை...`},p={blog:`எமது வலைப்பூவை வாசி`,click:`சொடுக்கு`,deepSelect:`ஆழ்ந்துத் தேர்`,deepBoxSelect:`பெட்டியினுள் ஆழ்ந்துத் தேர், மற்றும் பிடித்திழுத்தலைத் தவிர்`,curvedArrow:`வளைந்த அம்பு`,curvedLine:`வளைந்த வரி`,documentation:`ஆவணமாக்கல்`,doubleClick:`இரு-சொடுக்கு`,drag:`பிடித்திழு`,editor:`திருத்தி`,editLineArrowPoints:``,editText:``,github:`சிக்கலைக் கண்டீரா? சமர்ப்பி`,howto:`எங்கள் கையேடுகளைப் பின்பற்றுக`,or:`அ`,preventBinding:`அம்பு பிணைதலைத் தவிர்`,tools:`கருவிகள்`,shortcuts:`விசைப்பலகை குறுக்குவழிகள்`,textFinish:`திருத்துதலை முடி (உரை திருத்தி)`,textNewLine:`புதிய வரியைச் சேர் (உரை திருத்தி)`,title:`உதவி`,view:`பார்`,zoomToFit:`அனைத்துறுப்புகளும் பொருந்தும்படி விரிவாக்கு`,zoomToSelection:`தெரிவுக்கு விரிவாக்கு`,toggleElementLock:`தேர்ந்தெடுப்பைப் பூட்டு/பூட்டவிழ்`,movePageUpDown:`மேலே/கீழே நகர்த்தவும்`,movePageLeftRight:`இடது/வலது பக்கம் நகர்த்தவும்`},m={title:`கித்தானைத் துடை`},h={title:`நூலகத்தைப் பிரசுரி`,itemName:`உருப்படியின் பெயர்`,authorName:`ஆசிரியர் பெயர்`,githubUsername:`GitHub பயனர்பெயர்`,twitterUsername:`டுவிட்டர் பயனர்பெயர்`,libraryName:`நூலக பெயர்`,libraryDesc:`நூலக விவரிப்பு`,website:`வலைத்தளம்`,placeholder:{authorName:`உம் பெயர் அ பயனர்பெயர்`,libraryName:`உம் நூலகத்தின் பெயர்`,libraryDesc:`உம் நூலகத்தின் விவரிப்பு இதன் பயன்பாட்டை மக்கள் புரிந்துகொள்ளவுதவ`,githubHandle:`GitHub கைப்பிடி (விரும்பினால்), ஆதலால் நீங்கள் நூலகத்தை மதிப்பாய்விற்காக சமர்ப்பித்தவுடன் திருத்தமுடியும்`,twitterHandle:`டுவிட்டர் பயனர்பெயர் (விரும்பினால்), ஆதலால் டுவிட்டரில் முன்னிறுத்தும்போது யாமெவரைப் புகழ்வதென்றறிவோம்`,website:`உமக்குரிய வலைத்தளத்திற்கு அ வேறெங்கிற்குமான தொடுப்பு (விரும்பினால்)`},errors:{required:`தேவைப்டுகிறது`,website:`செல்லத்தக்க உரலியை உள்ளிடு`},noteDescription:`உம் நூலகத்தைச் சமர்ப்பி உள்ளடக்குவதற்கு <link>பொது நூலக களஞ்சியத்தில்</link>பிற மக்களவர்களின் சித்திரங்களில் பயன்படுத்த.`,noteGuidelines:`நூலகம் முதலில் கைமுறையாக ஒப்புக்கொள்ளப்படவேண்டும். வாசிக்கவும் <link>வழிகாட்டுதல்களைச்</link> சமர்ப்பிக்கும் முன்பு. கோரப்பட்டால் தொடர்புகொள்ள மற்றும் மாற்றங்கள் செய்ய உமக்கொரு GitHub கணக்கு தேவை, ஆனால் அது கண்டிப்பாக தேவையல்ல.`,noteLicense:`சமர்ப்பிப்பதனால், நூலகம் இதனடியில் பிரசரிக்கப்பட ஏற்கிறீர்கள் <link>MIT உரிமம், </link>சுருக்கமாக எவருமிதைப் வரையறையின்றி பயன்படுத்தலாமென குறிக்கிறது.`,noteItems:`வடிக்கட்டக்கூடியதாகவிருக்க ஒவ்வொரு நூலகவுருப்படிக்கும் சொந்த பெயர் இருக்கவேண்டும். பின்வரும் நூலகவுருப்படிகள் உள்ளடக்கப்படும்:`,atleastOneLibItem:`ஆரம்பிக்க ஒரு நூலக உருப்படியையாவது தேர்ந்தெடுக்கவும்`,republishWarning:``},g={title:`நூலகம் சமர்ப்பிக்கப்பட்டது`,content:`நன்றி {{authorName}}. உமது நூலகம் மதிப்பாய்விற்காக சமர்ப்பிக்கப்பட்டது. நிலையை நீங்கள் தடமறியலாம்<link>இங்கே</link>`},_={resetLibrary:`நூலகத்தை அகரமாக்கு`,removeItemsFromLib:`நூலகத்திலிருந்து தேர்ந்தெடுத்த உருப்படிகளை நீக்கு`},v={header:`படத்தை ஏற்றுமதிதல`,label:{withBackground:`பின்னணி`,onlySelected:`தேர்ந்ததை மட்டும்`,darkMode:`இருள் பயன்முறை`,embedScene:`காட்சியை உட்பொதி`,scale:`அளவுகோல்`,padding:``},tooltip:{embedScene:``},title:{exportToPng:`PNGக்கு ஏற்றுமதிசெய்`,exportToSvg:`SVGக்கு ஏற்றுமதிசெய்`,copyPngToClipboard:``},button:{exportToPng:`PNG`,exportToSvg:`SVG`,copyPngToClipboard:``}},y={tooltip:`உம் சித்திரங்கள் இருமுனை மறையாக்கம் செய்யப்பட்டவையாதலால் எக்ஸ்கேலிட்ராவின் சேவையகங்கள் அவற்றை ஒருபோதும் பார்க்கா.`,link:`எக்ஸ்கேலிட்ராவில் இருமுனை மறையாக்கம் மீதான வலைப்பூ இடுகை`},b={angle:`கோணம்`,element:`உறுப்பு`,elements:`உறுப்புகள்`,height:`உயரம்`,scene:`காட்சி`,selected:`தேர்ந்தவை`,storage:`சேமிப்பகம்`,title:`மேதாவிகளுக்கான புள்ளிவிவரங்கள்`,total:`மொத்தம்`,version:`பதிப்பு`,versionCopy:`நகலெடுக்க சொடுக்கு`,versionNotAvailable:`பதிப்பு கிடைக்கவில்லை`,width:`அகலம்`},x={addedToLibrary:`நூலகத்தில் சேர்க்கப்பட்டது`,copyStyles:`ஒயில்கள் நகலெடுக்கப்பட்டன.`,copyToClipboard:`நகலகத்திற்கு நகலெடுக்கப்பட்டது.`,copyToClipboardAsPng:`{{exportSelection}}-ஐ நகலகத்திற்கு PNG ஆக நகலெடுத்தது
9
- ({{exportColorScheme}})`,fileSaved:`கோப்பு சேமிக்கப்பட்டது.`,fileSavedToFilename:`{filename}-க்கு சேமிக்கப்பட்டது`,canvas:`கித்தான்`,selection:`தெரிவு`,pasteAsSingleElement:``,unableToEmbed:``,unrecognizedLinkFormat:``},S={transparent:`ஒளிபுகுத்தன்மை`,black:`கருப்பு`,white:`வெள்ளை`,red:`சிவப்பு`,pink:`இளஞ்சிவப்பு`,grape:`திராட்சை`,violet:`ஊதா`,gray:`சாம்பல்`,blue:`நீலம்`,cyan:`மயில்நிறம்`,teal:`டீல்`,green:`பச்சை`,yellow:`மஞ்சள்`,orange:`ஆரஞ்சு`,bronze:`வெண்கலம்`},C={app:{center_heading:``,center_heading_plus:``,menuHint:``},defaults:{menuHint:``,center_heading:`எளிமையாக வரைபடங்கள் உருவாக்க!`,toolbarHint:`கருவியைத் தேர்ந்தெடு & வரை!`,helpHint:`குறுக்குவழிகள் & உதவி`}},w={mostUsedCustomColors:``,colors:``,shades:``,hexCode:``,noShades:``},T={action:{exportToImage:{title:``,button:``,description:``},saveToDisk:{title:``,button:``,description:``},excalidrawPlus:{title:``,button:``,description:``}},modal:{loadFromFile:{title:``,button:``,description:``},shareableLink:{title:``,button:``,description:``}}},E={title:``,button:``,description:``,syntax:``,preview:``},D={labels:e,library:t,buttons:n,alerts:r,errors:i,toolBar:a,headings:o,hints:s,canvasError:c,errorSplash:l,roomDialog:u,errorDialog:d,exportDialog:f,helpDialog:p,clearCanvasDialog:m,publishDialog:h,publishSuccessDialog:g,confirmDialog:_,imageExportDialog:v,encrypted:y,stats:b,toast:x,colors:S,welcomeScreen:C,colorPicker:w,overwriteConfirm:T,mermaid:E};export{r as alerts,n as buttons,c as canvasError,m as clearCanvasDialog,w as colorPicker,S as colors,_ as confirmDialog,D as default,y as encrypted,d as errorDialog,l as errorSplash,i as errors,f as exportDialog,o as headings,p as helpDialog,s as hints,v as imageExportDialog,e as labels,t as library,E as mermaid,T as overwriteConfirm,h as publishDialog,g as publishSuccessDialog,u as roomDialog,b as stats,x as toast,a as toolBar,C as welcomeScreen};
@@ -1 +0,0 @@
1
- import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./jsx-runtime-BUgB2tll.js";import{t as n}from"./react-f2sANaYj.js";import{r}from"./dist-Nvb76hAm.js";import{t as i}from"./compiler-runtime-BfE3aGVn.js";import{t as a}from"./utils-CPqDy6Hr.js";import{i as o,n as ee,t as te}from"./tooltip-DttaCTqz.js";import{ai as ne}from"./dist-CMzT53pm.js";import{t as re}from"./x-CteY0nHf.js";import{t as ie}from"./badge-BRSw5Y8U.js";var s=i(),c=e(n(),1),l=t();function u(e){let t=(0,s.c)(96),{value:n,onChange:i,onBlur:u,placeholder:d,id:f,disabled:p,grammar:ae,entryProblems:m,"aria-describedby":oe,"aria-invalid":se,ref:h}=e,ce=ae===void 0?`frontmatter-tag`:ae,{_:g}=r(),[_,le]=(0,c.useState)(``),[v,ue]=(0,c.useState)(null),[y,b]=(0,c.useState)(null),de=(0,c.useRef)(null),x;t[0]===h?x=t[1]:(x=e=>{de.current=e,typeof h==`function`?h(e):h&&(h.current=e)},t[0]=h,t[1]=x);let fe=x,[S,C]=(0,c.useState)(!1),pe=(0,c.useId)(),w=`${f??pe}-grammar-hint`,T=`${f??pe}-pill`,E;t[2]!==g||t[3]!==d?(E=d??g({id:`M5mfAe`}),t[2]=g,t[3]=d,t[4]=E):E=t[4];let me=E,D=ce===`frontmatter-tag`,O;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(O=()=>{le(``),C(!1),ue(null)},t[5]=O):O=t[5];let k=O,A;t[6]!==v||t[7]!==i||t[8]!==D||t[9]!==n?(A=e=>{let t=e.trim(),r=v===null?-1:n.indexOf(v);if(!t)return r!==-1&&i(n.filter((e,t)=>t!==r)),v!==null&&k(),!0;if(D&&!ne(t))return C(!0),!1;let a=D&&t.startsWith(`#`)?t.slice(1):t,o=n.indexOf(a);if(r===-1)return o===-1&&i([...n,a]),k(),!0;let ee=n.map((e,t)=>t===r?a:e);return i(o===-1||o===r?ee:ee.filter((e,t)=>t!==r)),k(),!0},t[6]=v,t[7]=i,t[8]=D,t[9]=n,t[10]=A):A=t[10];let j=A,M;t[11]!==i||t[12]!==n?(M=e=>{i(n.filter((t,n)=>n!==e))},t[11]=i,t[12]=n,t[13]=M):M=t[13];let N=M,P;t[14]!==j||t[15]!==p||t[16]!==_?(P=e=>{p||(_.trim()!==``&&j(_),le(e),C(!1),b(null),ue(e))},t[14]=j,t[15]=p,t[16]=_,t[17]=P):P=t[17];let F=P,I;t[18]!==y||t[19]!==n?(I=y===null?-1:n.indexOf(y),t[18]=y,t[19]=n,t[20]=I):I=t[20];let L=I,R;t[21]===n?R=t[22]:(R=e=>{b(e===null?null:n[e]??null)},t[21]=n,t[22]=R);let z=R,B,V;t[23]===v?(B=t[24],V=t[25]):(B=()=>{v!==null&&(de.current?.focus(),de.current?.select())},V=[v],t[23]=v,t[24]=B,t[25]=V),(0,c.useEffect)(B,V);let H=S?`true`:se,he=p&&`pointer-events-none opacity-60`,U;t[26]===he?U=t[27]:(U=a(`flex min-h-8 w-full flex-wrap items-center gap-1.5 rounded-lg border border-input bg-transparent px-2 py-1 text-sm transition-colors`,`focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50`,`aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20`,`dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,he),t[26]=he,t[27]=U);let W;if(t[28]!==g||t[29]!==F||t[30]!==p||t[31]!==v||t[32]!==m||t[33]!==y||t[34]!==T||t[35]!==N||t[36]!==D||t[37]!==n){let e;t[39]!==g||t[40]!==F||t[41]!==p||t[42]!==v||t[43]!==m||t[44]!==y||t[45]!==T||t[46]!==N||t[47]!==D?(e=(e,t)=>{if(e===v)return null;let n=D&&!ne(e),r=m?.get(e),i=n||r!==void 0,s=r??(n?`Tags must start with a letter or digit and contain only letters, digits, underscores, dashes, and slashes.`:void 0),c=e===y,u=(0,l.jsxs)(ie,{id:`${T}-${t}`,variant:i?`destructive`:`secondary`,"data-tag-invalid":n?`true`:void 0,"data-tag-problem":r===void 0?void 0:`true`,"data-highlighted":c?`true`:void 0,className:a(`gap-1 pl-2 pr-1 normal-case`,i&&`ring-1 ring-destructive/40`,c&&`ring-2 ring-ring/70`),children:[(0,l.jsx)(`button`,{type:`button`,tabIndex:-1,className:`cursor-pointer rounded-sm font-mono`,onDoubleClick:()=>F(e),disabled:p,"aria-label":g({id:`NkNfSr`,values:{tag:e}}),title:s===void 0?g({id:`vHlhDc`}):void 0,children:e}),(0,l.jsx)(`button`,{type:`button`,onClick:()=>N(t),"aria-label":g({id:`D4H2N6`,values:{tag:e}}),className:`rounded-sm p-0.5 hover:bg-background/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50`,disabled:p,children:(0,l.jsx)(re,{className:`size-3`,"aria-hidden":`true`})})]},e);return s===void 0?u:(0,l.jsxs)(te,{children:[(0,l.jsx)(o,{asChild:!0,children:u}),(0,l.jsx)(ee,{children:s})]},e)},t[39]=g,t[40]=F,t[41]=p,t[42]=v,t[43]=m,t[44]=y,t[45]=T,t[46]=N,t[47]=D,t[48]=e):e=t[48],W=n.map(e),t[28]=g,t[29]=F,t[30]=p,t[31]=v,t[32]=m,t[33]=y,t[34]=T,t[35]=N,t[36]=D,t[37]=n,t[38]=W}else W=t[38];let G;t[49]!==S||t[50]!==y?(G=e=>{le(e.target.value),S&&C(!1),y!==null&&b(null)},t[49]=S,t[50]=y,t[51]=G):G=t[51];let K;t[52]!==j||t[53]!==F||t[54]!==_||t[55]!==S||t[56]!==v||t[57]!==z||t[58]!==L||t[59]!==N||t[60]!==n?(K=e=>{let t=e.currentTarget,r=t.selectionStart===0&&t.selectionEnd===0;if(v===null&&n.length>0){if(e.key===`ArrowLeft`&&(L!==-1||r)){e.preventDefault(),z(L===-1?n.length-1:Math.max(0,L-1));return}if(e.key===`ArrowRight`&&L!==-1){e.preventDefault(),z(L===n.length-1?null:L+1);return}if((e.key===`Home`||e.key===`End`)&&L!==-1){e.preventDefault(),z(e.key===`Home`?0:n.length-1);return}}if(L!==-1&&v===null){if(e.key===`Enter`||e.key===` `){e.preventDefault();let t=n[L];t!==void 0&&F(t);return}if(e.key===`Backspace`||e.key===`Delete`){e.preventDefault();let t=n[L-1]??null,r=n[L+1]??null;N(L),b(e.key===`Backspace`?t??r:r??t);return}}e.key===`Enter`?(_.trim()||v!==null)&&(e.preventDefault(),j(_)):e.key===`,`?(e.preventDefault(),_.trim()&&j(_)):e.key===`Tab`?_.trim()&&(e.preventDefault(),j(_)):e.key===`Backspace`&&_===``&&n.length>0&&v===null?(e.preventDefault(),N(n.length-1)):e.key===`Escape`&&(v!==null||S?(e.preventDefault(),k(),b(null)):L!==-1&&(e.preventDefault(),b(null)))},t[52]=j,t[53]=F,t[54]=_,t[55]=S,t[56]=v,t[57]=z,t[58]=L,t[59]=N,t[60]=n,t[61]=K):K=t[61];let q;t[62]!==j||t[63]!==_||t[64]!==v||t[65]!==u?(q=()=>{(_.trim()||v!==null)&&!j(_)&&v!==null&&k(),b(null),u?.()},t[62]=j,t[63]=_,t[64]=v,t[65]=u,t[66]=q):q=t[66];let ge=n.length===0?me:``,_e=S?`true`:void 0,J;t[67]!==oe||t[68]!==S||t[69]!==w?(J=[S?w:void 0,oe].filter(Boolean).join(` `)||void 0,t[67]=oe,t[68]=S,t[69]=w,t[70]=J):J=t[70];let ve=S?`true`:se,ye=L===-1?void 0:`${T}-${L}`,Y=S&&`text-destructive placeholder:text-destructive/60`,X;t[71]===Y?X=t[72]:(X=a(`min-w-[8ch] flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed`,Y),t[71]=Y,t[72]=X);let Z;t[73]!==fe||t[74]!==p||t[75]!==_||t[76]!==f||t[77]!==G||t[78]!==K||t[79]!==q||t[80]!==ge||t[81]!==_e||t[82]!==J||t[83]!==ve||t[84]!==ye||t[85]!==X?(Z=(0,l.jsx)(`input`,{id:f,ref:fe,type:`text`,value:_,onChange:G,onKeyDown:K,onBlur:q,placeholder:ge,"data-tag-invalid":_e,"aria-describedby":J,"aria-invalid":ve,"aria-activedescendant":ye,disabled:p,className:X}),t[73]=fe,t[74]=p,t[75]=_,t[76]=f,t[77]=G,t[78]=K,t[79]=q,t[80]=ge,t[81]=_e,t[82]=J,t[83]=ve,t[84]=ye,t[85]=X,t[86]=Z):Z=t[86];let Q;t[87]!==S||t[88]!==w?(Q=S&&(0,l.jsx)(`span`,{id:w,role:`alert`,"data-testid":`tag-pill-input-error`,className:`w-full px-1 pt-0.5 text-xs text-destructive`,children:`Tags must start with a letter or digit and contain only letters, digits, underscores, dashes, and slashes.`}),t[87]=S,t[88]=w,t[89]=Q):Q=t[89];let $;return t[90]!==H||t[91]!==U||t[92]!==W||t[93]!==Z||t[94]!==Q?($=(0,l.jsxs)(`div`,{"data-slot":`tag-pill-input`,"aria-invalid":H,className:U,children:[W,Z,Q]}),t[90]=H,t[91]=U,t[92]=W,t[93]=Z,t[94]=Q,t[95]=$):$=t[95],$}export{u as t};
@@ -1 +0,0 @@
1
- import{t as e}from"./createLucideIcon-BulbvLvN.js";import{d as t}from"./doc-hash-BQrjuwR6.js";import{u as n}from"./page-list-cache-CC7R8dLi.js";var r=e(`hexagon`,[[`path`,{d:`M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z`,key:`yt0hxn`}]]);function i(e){switch(e.kind){case`doc`:case`large-file`:return`doc`;case`skill-file`:return`doc`;case`folder`:case`folder-index`:return`folder`;case`missing`:case`asset`:return`missing`}}function a(e,r){let a=n(e,r);return{resolvedTarget:a,hashDocName:a.target,hash:a.kind===`skill-file`?t({scope:a.scope,name:a.name,path:a.path,...a.host?{host:a.host}:{}}):null,displayState:i(a)}}export{r as n,a as t};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./__vite-browser-external-BrPh1PNv.js","./chunk-CYidjpOJ.js"])))=>i.map(i=>d[i]);
2
- import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./preload-helper-Chd9yIcd.js";import{a as n,c as r,d as i,f as a,i as o,l as s,n as c,o as l,p as u,r as d,t as f,u as p}from"./trace-api-BP9dN1Hz.js";import{n as ee,t as m}from"./propagation-api-DC5404fy.js";import{t as h}from"./context-api-dUnlgSJr.js";var te=class{constructor(){}createGauge(e,t){return fe}createHistogram(e,t){return pe}createCounter(e,t){return de}createUpDownCounter(e,t){return me}createObservableGauge(e,t){return ge}createObservableCounter(e,t){return he}createObservableUpDownCounter(e,t){return _e}addBatchObservableCallback(e,t){}removeBatchObservableCallback(e){}},g=class{},ne=class extends g{add(e,t){}},re=class extends g{add(e,t){}},ie=class extends g{record(e,t){}},ae=class extends g{record(e,t){}},oe=class{addCallback(e){}removeCallback(e){}},se=class extends oe{},ce=class extends oe{},le=class extends oe{},ue=new te,de=new ne,fe=new ie,pe=new ae,me=new re,he=new se,ge=new ce,_e=new le;function ve(){return ue}var ye;(function(e){e[e.NOT_RECORD=0]=`NOT_RECORD`,e[e.RECORD=1]=`RECORD`,e[e.RECORD_AND_SAMPLED=2]=`RECORD_AND_SAMPLED`})(ye||={});var be;(function(e){e[e.INTERNAL=0]=`INTERNAL`,e[e.SERVER=1]=`SERVER`,e[e.CLIENT=2]=`CLIENT`,e[e.PRODUCER=3]=`PRODUCER`,e[e.CONSUMER=4]=`CONSUMER`})(be||={});var _=p.instance(),xe=new class{getMeter(e,t,n){return ue}},Se=`metrics`,Ce=class e{constructor(){}static getInstance(){return this._instance||=new e,this._instance}setGlobalMeterProvider(e){return a(Se,e,p.instance())}getMeterProvider(){return i(Se)||xe}getMeter(e,t,n){return this.getMeterProvider().getMeter(e,t,n)}disable(){u(Se,p.instance())}}.getInstance(),we=class{_delegate;constructor(e){this._delegate=e}export(e,t){this._delegate.export(e,t)}forceFlush(){return this._delegate.forceFlush()}shutdown(){return this._delegate.shutdown()}},Te=class extends Error{code;name=`OTLPExporterError`;data;constructor(e,t,n){super(e),this.data=n,this.code=t}};function Ee(e){if(Number.isFinite(e)&&e>0)return e;throw Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${e}')`)}function De(e){if(e!=null)return()=>e}function Oe(e,t,n){return{timeoutMillis:Ee(e.timeoutMillis??t.timeoutMillis??n.timeoutMillis),concurrencyLimit:e.concurrencyLimit??t.concurrencyLimit??n.concurrencyLimit,compression:e.compression??t.compression??n.compression}}function ke(){return{timeoutMillis:1e4,concurrencyLimit:30,compression:`none`}}var Ae=class{_concurrencyLimit;_sendingPromises=[];constructor(e){this._concurrencyLimit=e}pushPromise(e){if(this.hasReachedLimit())throw Error(`Concurrency Limit reached`);this._sendingPromises.push(e);let t=()=>{let t=this._sendingPromises.indexOf(e);this._sendingPromises.splice(t,1)};e.then(t,t)}hasReachedLimit(){return this._sendingPromises.length>=this._concurrencyLimit}async awaitAll(){await Promise.all(this._sendingPromises)}};function je(e){return new Ae(e.concurrencyLimit)}var Me=s(`OpenTelemetry SDK Context Key SUPPRESS_TRACING`);function Ne(e){return e.setValue(Me,!0)}function Pe(e){return e.getValue(Me)===!0}var Fe=`baggage`,Ie=4096;function Le(e){return e.reduce((e,t)=>{let n=`${e}${e===``?``:`,`}${t}`;return n.length>8192?e:n},``)}function Re(e){return e.getAllEntries().map(([e,t])=>{let n=`${encodeURIComponent(e)}=${encodeURIComponent(t.value)}`;return t.metadata!==void 0&&(n+=`;`+t.metadata.toString()),n})}function ze(e){if(!e)return;let t=e.indexOf(`;`),n=t===-1?e:e.substring(0,t),r=n.indexOf(`=`);if(r<=0)return;let i=n.substring(0,r).trim(),a=n.substring(r+1).trim();if(!i||!a)return;let o,s;try{o=decodeURIComponent(i),s=decodeURIComponent(a)}catch{return}let c;return t!==-1&&t<e.length-1&&(c=ee(e.substring(t+1))),{key:o,value:s,metadata:c}}function Be(e,t,n,r){let i=0;for(;i<e.length&&n<180;){let a=e.indexOf(`,`,i),o=a===-1?e.length:a,s=o-i;if(s<=4096){let a=ze(e.substring(i,o));if(a){let e=(n===0?0:1)+s;if(r+e>8192)break;t[a.key]=a.metadata?{value:a.value,metadata:a.metadata}:{value:a.value},n++,r+=e}}if(a===-1)break;i=a+1}return[n,r]}var Ve=class{inject(e,t,n){let r=m.getBaggage(e);if(!r||Pe(e))return;let i=Le(Re(r).filter(e=>e.length<=Ie).slice(0,180));i.length>0&&n.set(t,Fe,i)}extract(e,t,n){let r=n.get(t,Fe);if(!r)return e;let i={},a=0,o=0;if(Array.isArray(r))for(let e=0;e<r.length;e++)[a,o]=Be(r[e],i,a,o);else [a]=Be(r,i,a,o);return a===0?e:m.setBaggage(e,m.createBaggage(i))}fields(){return[Fe]}};function v(e){let t={};if(typeof e!=`object`||!e)return t;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;if(!He(n)){_.warn(`Invalid attribute key: ${n}`);continue}let r=e[n];if(!Ue(r)){_.warn(`Invalid attribute value set for key: ${n}`);continue}Array.isArray(r)?t[n]=r.slice():t[n]=r}return t}function He(e){return typeof e==`string`&&e!==``}function Ue(e){return e==null?!0:Array.isArray(e)?We(e):Ge(typeof e)}function We(e){let t;for(let n of e){if(n==null)continue;let e=typeof n;if(e!==t){if(!t){if(Ge(e)){t=e;continue}return!1}return!1}}return!0}function Ge(e){switch(e){case`number`:case`boolean`:case`string`:return!0}return!1}function Ke(){return e=>{_.error(qe(e))}}function qe(e){return typeof e==`string`?e:JSON.stringify(Je(e))}function Je(e){let t={},n=e;for(;n!==null;)Object.getOwnPropertyNames(n).forEach(e=>{if(t[e])return;let r=n[e];r&&(t[e]=String(r))}),n=Object.getPrototypeOf(n);return t}var Ye=Ke();function y(e){try{Ye(e)}catch{}}var Xe=globalThis,Ze=`2.8.0`,Qe=`http.url`,$e=`http.user_agent`,et=Qe,tt=$e,nt=`deployment.environment.name`,rt=`error.type`,it=`exception.message`,at=`exception.stacktrace`,ot=`exception.type`,st=`http.request.method`,ct=`http.request.method_original`,lt=`http.response.status_code`,ut=`server.address`,dt=`server.port`,ft=`service.name`,pt=`service.version`,mt=`telemetry.sdk.language`,ht=`webjs`,gt=`telemetry.sdk.name`,_t=`telemetry.sdk.version`,vt=`url.full`,yt=`process.runtime.name`,bt={[gt]:`opentelemetry`,[yt]:`browser`,[mt]:ht,[_t]:Ze},b=performance,xt=9,St=10**6,x=10**xt;function S(e){let t=e/1e3;return[Math.trunc(t),Math.round(e%1e3*St)]}function C(e){return Et(S(b.timeOrigin),S(typeof e==`number`?e:b.now()))}function w(e){if(wt(e))return e;if(typeof e==`number`)return e<b.timeOrigin?C(e):S(e);if(e instanceof Date)return S(e.getTime());throw TypeError(`Invalid input type`)}function Ct(e,t){let n=t[0]-e[0],r=t[1]-e[1];return r<0&&(--n,r+=x),[n,r]}function T(e){return e[0]*x+e[1]}function wt(e){return Array.isArray(e)&&e.length===2&&typeof e[0]==`number`&&typeof e[1]==`number`}function Tt(e){return wt(e)||typeof e==`number`||e instanceof Date}function Et(e,t){let n=[e[0]+t[0],e[1]+t[1]];return n[1]>=x&&(n[1]-=x,n[0]+=1),n}var E;(function(e){e[e.SUCCESS=0]=`SUCCESS`,e[e.FAILED=1]=`FAILED`})(E||={});var Dt=class{_propagators;_fields;constructor(e={}){this._propagators=e.propagators??[];let t=new Set;for(let e of this._propagators){let n=typeof e.fields==`function`?e.fields():[];for(let e of n)t.add(e)}this._fields=Array.from(t)}inject(e,t,n){for(let r of this._propagators)try{r.inject(e,t,n)}catch(e){_.warn(`Failed to inject with ${r.constructor.name}. Err: ${e.message}`)}}extract(e,t,n){return this._propagators.reduce((e,r)=>{try{return r.extract(e,t,n)}catch(e){_.warn(`Failed to extract with ${r.constructor.name}. Err: ${e.message}`)}return e},e)}fields(){return this._fields.slice()}},Ot=`[_0-9a-z-*/]`,kt=`[a-z]${Ot}{0,255}`,At=`[a-z0-9]${Ot}{0,240}@[a-z]${Ot}{0,13}`,jt=RegExp(`^(?:${kt}|${At})$`),Mt=/^[ -~]{0,255}[!-~]$/,Nt=/,|=/;function Pt(e){return jt.test(e)}function Ft(e){return Mt.test(e)&&!Nt.test(e)}var It=32,Lt=512,Rt=`,`,zt=`=`,Bt=class e{_length;_rawTraceState;_internalState;constructor(e){this._rawTraceState=typeof e==`string`?e:``,this._length=this._rawTraceState.length}set(e,t){if(!Pt(e)||!Ft(t))return this;let n=this._getState(),r=n.get(e),i=this._length;if(typeof r==`string`?i+=t.length-r.length:i+=e.length+t.length+(n.size>0?2:1),i>Lt)return this;let a=new Map(n);return a.delete(e),a.set(e,t),this._fromState(a,i)}unset(e){let t=this._getState(),n=t.get(e);if(typeof n!=`string`)return this;let r=this._length-(e.length+n.length+1);t.size>1&&--r;let i=new Map(t);return i.delete(e),this._fromState(i,r)}get(e){return this._getState().get(e)}serialize(){let e=``,t=0;for(let n of this._getState())t>0&&(e=Rt+e),e=`${n[0]}${zt}${n[1]}`+e,t++;return e}_getState(){if(this._internalState)return this._internalState;let e=this._rawTraceState.split(Rt),t=new Map,n=0;for(let r of e){let e=r.trim(),i=e.indexOf(zt);if(i===-1)continue;let a=e.slice(0,i),o=e.slice(i+1);if(!Pt(a)||!Ft(o))continue;let s=n+e.length+ +(t.size>0);if(!(s>Lt)&&(t.set(a,o),n=s,t.size>=It))break}return this._length=n,this._internalState=new Map(Array.from(t.entries()).reverse()),this._internalState}_fromState(t,n){let r=Object.create(e.prototype);return r._internalState=t,r._length=n,r}},D=`traceparent`,Vt=`tracestate`,Ht=`00`,Ut=RegExp(`^\\s?((?!ff)[\\da-f]{2})-((?![0]{32})[\\da-f]{32})-((?![0]{16})[\\da-f]{16})-([\\da-f]{2})(-.*)?\\s?$`);function Wt(e){let t=Ut.exec(e);return!t||t[1]===`00`&&t[5]?null:{traceId:t[2],spanId:t[3],traceFlags:parseInt(t[4],16)}}var Gt=class{inject(e,t,n){let r=f.getSpanContext(e);if(!r||Pe(e)||!d(r))return;let i=`${Ht}-${r.traceId}-${r.spanId}-0${Number(r.traceFlags||l.NONE).toString(16)}`;n.set(t,D,i),r.traceState&&n.set(t,Vt,r.traceState.serialize())}extract(e,t,n){let r=n.get(t,D);if(!r)return e;let i=Array.isArray(r)?r[0]:r;if(typeof i!=`string`)return e;let a=Wt(i);if(!a)return e;a.isRemote=!0;let o=n.get(t,Vt);if(o){let e=Array.isArray(o)?o.join(`,`):o;a.traceState=new Bt(typeof e==`string`?e:void 0)}return f.setSpanContext(e,a)}fields(){return[D,Vt]}},Kt=`[object Object]`,qt=`[object Null]`,Jt=`[object Undefined]`,Yt=Function.prototype.toString,Xt=Yt.call(Object),Zt=Object.getPrototypeOf,Qt=Object.prototype,$t=Qt.hasOwnProperty,O=Symbol?Symbol.toStringTag:void 0,en=Qt.toString;function tn(e){if(!nn(e)||rn(e)!==Kt)return!1;let t=Zt(e);if(t===null)return!0;let n=$t.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&Yt.call(n)===Xt}function nn(e){return typeof e==`object`&&!!e}function rn(e){return e==null?e===void 0?Jt:qt:O&&O in Object(e)?an(e):on(e)}function an(e){let t=$t.call(e,O),n=e[O],r=!1;try{e[O]=void 0,r=!0}catch{}let i=en.call(e);return r&&(t?e[O]=n:delete e[O]),i}function on(e){return en.call(e)}var sn=20;function cn(...e){let t=e.shift(),n=new WeakMap;for(;e.length>0;)t=un(t,e.shift(),0,n);return t}function ln(e){return k(e)?e.slice():e}function un(e,t,n=0,r){let i;if(!(n>sn)){if(n++,pn(e)||pn(t)||fn(t))i=ln(t);else if(k(e)){if(i=e.slice(),k(t))for(let e=0,n=t.length;e<n;e++)i.push(ln(t[e]));else if(A(t)){let e=Object.keys(t);for(let n=0,r=e.length;n<r;n++){let r=e[n];r===`__proto__`||r===`constructor`||r===`prototype`||(i[r]=ln(t[r]))}}}else if(A(e))if(A(t)){if(!mn(e,t))return t;i=Object.assign({},e);let a=Object.keys(t);for(let o=0,s=a.length;o<s;o++){let s=a[o];if(s===`__proto__`||s===`constructor`||s===`prototype`)continue;let c=t[s];if(pn(c))c===void 0?delete i[s]:i[s]=c;else{let a=i[s],o=c;if(dn(e,s,r)||dn(t,s,r))delete i[s];else{if(A(a)&&A(o)){let n=r.get(a)||[],i=r.get(o)||[];n.push({obj:e,key:s}),i.push({obj:t,key:s}),r.set(a,n),r.set(o,i)}i[s]=un(i[s],c,n,r)}}}}else i=t;return i}}function dn(e,t,n){let r=n.get(e[t])||[];for(let n=0,i=r.length;n<i;n++){let i=r[n];if(i.key===t&&i.obj===e)return!0}return!1}function k(e){return Array.isArray(e)}function fn(e){return typeof e==`function`}function A(e){return!pn(e)&&!k(e)&&!fn(e)&&typeof e==`object`}function pn(e){return typeof e==`string`||typeof e==`number`||typeof e==`boolean`||e===void 0||e instanceof Date||e instanceof RegExp||e===null}function mn(e,t){return!(!tn(e)||!tn(t))}function hn(e,t){return typeof t==`string`?e===t:!!e.match(t)}function gn(e,t){if(!t)return!1;for(let n of t)if(hn(e,n))return!0;return!1}var _n=class{_promise;_resolve;_reject;constructor(){this._promise=new Promise((e,t)=>{this._resolve=e,this._reject=t})}get promise(){return this._promise}resolve(e){this._resolve(e)}reject(e){this._reject(e)}},vn=class{_isCalled=!1;_deferred=new _n;_callback;_that;constructor(e,t){this._callback=e,this._that=t}get isCalled(){return this._isCalled}get promise(){return this._deferred.promise}call(...e){if(!this._isCalled){this._isCalled=!0;try{Promise.resolve(this._callback.call(this._that,...e)).then(e=>this._deferred.resolve(e),e=>this._deferred.reject(e))}catch(e){this._deferred.reject(e)}}return this._deferred.promise}};function yn(e){return Object.prototype.hasOwnProperty.call(e,`partialSuccess`)}function bn(){return{handleResponse(e){e==null||!yn(e)||e.partialSuccess==null||Object.keys(e.partialSuccess).length===0||_.warn(`Received Partial Success response:`,JSON.stringify(e.partialSuccess))}}}var xn=class{_transport;_serializer;_responseHandler;_promiseQueue;_timeout;_diagLogger;constructor(e,t,n,r,i){this._transport=e,this._serializer=t,this._responseHandler=n,this._promiseQueue=r,this._timeout=i,this._diagLogger=_.createComponentLogger({namespace:`OTLPExportDelegate`})}export(e,t){if(this._diagLogger.debug(`items to be sent`,e),this._promiseQueue.hasReachedLimit()){t({code:E.FAILED,error:Error(`Concurrent export limit reached`)});return}let n=this._serializer.serializeRequest(e);if(n==null){t({code:E.FAILED,error:Error(`Nothing to send`)});return}this._promiseQueue.pushPromise(this._transport.send(n,this._timeout).then(e=>{if(e.status===`success`){if(e.data!=null)try{this._responseHandler.handleResponse(this._serializer.deserializeResponse(e.data))}catch(t){this._diagLogger.warn(`Export succeeded but could not deserialize response - is the response specification compliant?`,t,e.data)}t({code:E.SUCCESS});return}else if(e.status===`failure`&&e.error){t({code:E.FAILED,error:e.error});return}else e.status===`retryable`?t({code:E.FAILED,error:new Te(`Export failed with retryable status`)}):t({code:E.FAILED,error:new Te(`Export failed with unknown error`)})},e=>t({code:E.FAILED,error:e})))}forceFlush(){return this._promiseQueue.awaitAll()}async shutdown(){this._diagLogger.debug(`shutdown started`),await this.forceFlush(),this._transport.shutdown()}};function Sn(e,t){return new xn(e.transport,e.serializer,bn(),e.promiseHandler,t.timeout)}function Cn(e,t,n){return Sn({transport:n,serializer:t,promiseHandler:je(e)},{timeout:e.timeoutMillis})}function wn(e){return e>=48&&e<=57?e-48:e>=97&&e<=102?e-87:e-55}function Tn(e){let t=new Uint8Array(e.length/2),n=0;for(let r=0;r<e.length;r+=2){let i=wn(e.charCodeAt(r)),a=wn(e.charCodeAt(r+1));t[n++]=i<<4|a}return t}function En(e){let t=BigInt(1e9);return BigInt(e[0])*t+BigInt(e[1])}function Dn(e){return{low:Number(BigInt.asUintN(32,e)),high:Number(BigInt.asUintN(32,e>>BigInt(32)))}}function On(e){return Dn(En(e))}function kn(e){return En(e).toString()}var An=typeof BigInt<`u`?kn:T;function jn(e){return e}function Mn(e){if(e!==void 0)return Tn(e)}var Nn={encodeHrTime:On,encodeSpanContext:Tn,encodeOptionalSpanContext:Mn};function Pn(e){if(e===void 0)return Nn;let t=e.useLongBits??!0,n=e.useHex??!1;return{encodeHrTime:t?On:An,encodeSpanContext:n?jn:Tn,encodeOptionalSpanContext:n?jn:Mn}}function Fn(e){let t={attributes:Ln(e.attributes),droppedAttributesCount:0},n=e.schemaUrl;return n&&n!==``&&(t.schemaUrl=n),t}function In(e){return{name:e.name,version:e.version}}function Ln(e){return Object.keys(e).map(t=>Rn(t,e[t]))}function Rn(e,t){return{key:e,value:zn(t)}}function zn(e){let t=typeof e;return t===`string`?{stringValue:e}:t===`number`?Number.isInteger(e)?{intValue:e}:{doubleValue:e}:t===`boolean`?{boolValue:e}:e instanceof Uint8Array?{bytesValue:e}:Array.isArray(e)?{arrayValue:{values:e.map(zn)}}:t===`object`&&e!=null?{kvlistValue:{values:Object.entries(e).map(([e,t])=>Rn(e,t))}}:{}}function Bn(e,t){let n=e.spanContext(),r=e.status,i=e.parentSpanContext?.spanId?t.encodeSpanContext(e.parentSpanContext?.spanId):void 0;return{traceId:t.encodeSpanContext(n.traceId),spanId:t.encodeSpanContext(n.spanId),parentSpanId:i,traceState:n.traceState?.serialize(),name:e.name,kind:e.kind==null?0:e.kind+1,startTimeUnixNano:t.encodeHrTime(e.startTime),endTimeUnixNano:t.encodeHrTime(e.endTime),attributes:Ln(e.attributes),droppedAttributesCount:e.droppedAttributesCount,events:e.events.map(e=>Hn(e,t)),droppedEventsCount:e.droppedEventsCount,status:{code:r.code,message:r.message},links:e.links.map(e=>Vn(e,t)),droppedLinksCount:e.droppedLinksCount}}function Vn(e,t){return{attributes:e.attributes?Ln(e.attributes):[],spanId:t.encodeSpanContext(e.context.spanId),traceId:t.encodeSpanContext(e.context.traceId),traceState:e.context.traceState?.serialize(),droppedAttributesCount:e.droppedAttributesCount||0}}function Hn(e,t){return{attributes:e.attributes?Ln(e.attributes):[],name:e.name,timeUnixNano:t.encodeHrTime(e.time),droppedAttributesCount:e.droppedAttributesCount||0}}function Un(e,t){return{resourceSpans:Gn(e,Pn(t))}}function Wn(e){let t=new Map;for(let n of e){let e=t.get(n.resource);e||(e=new Map,t.set(n.resource,e));let r=`${n.instrumentationScope.name}@${n.instrumentationScope.version||``}:${n.instrumentationScope.schemaUrl||``}`,i=e.get(r);i||(i=[],e.set(r,i)),i.push(n)}return t}function Gn(e,t){let n=Wn(e),r=[],i=n.entries(),a=i.next();for(;!a.done;){let[e,n]=a.value,o=[],s=n.values(),c=s.next();for(;!c.done;){let e=c.value;if(e.length>0){let n=e.map(e=>Bn(e,t));o.push({scope:In(e[0].instrumentationScope),spans:n,schemaUrl:e[0].instrumentationScope.schemaUrl})}c=s.next()}let l=Fn(e),u={resource:l,scopeSpans:o,schemaUrl:l.schemaUrl};r.push(u),a=i.next()}return r}var Kn={serializeRequest:e=>{let t=Un(e,{useHex:!0,useLongBits:!1});return new TextEncoder().encode(JSON.stringify(t))},deserializeResponse:e=>{if(e.length===0)return{};let t=new TextDecoder;return JSON.parse(t.decode(e))}},qn=5,Jn=1e3,Yn=5e3,Xn=1.5,Zn=.2;function Qn(){return 2*Zn*Math.random()-Zn}var $n=class{_transport;constructor(e){this._transport=e}retry(e,t,n){return new Promise((r,i)=>{setTimeout(()=>{this._transport.send(e,t).then(r,i)},n)})}async send(e,t){let n=Date.now()+t,r=await this._transport.send(e,t),i=qn,a=Jn;for(;r.status===`retryable`&&i>0;){i--;let t=Math.max(Math.min(a,Yn)+Qn(),0);a*=Xn;let o=r.retryInMillis??t,s=n-Date.now();if(o>s)return r;r=await this.retry(e,s,o)}return r}shutdown(){return this._transport.shutdown()}};function er(e){return new $n(e.transport)}function tr(e){return[429,502,503,504].includes(e)}function nr(e){if(e==null)return;let t=Number.parseInt(e,10);if(Number.isInteger(t))return t>0?t*1e3:-1;let n=new Date(e).getTime()-Date.now();return n>=0?n:0}var rr=class{_parameters;constructor(e){this._parameters=e}send(e,t){return new Promise(n=>{let r=new XMLHttpRequest;r.timeout=t,r.open(`POST`,this._parameters.url);let i=this._parameters.headers();Object.entries(i).forEach(([e,t])=>{r.setRequestHeader(e,t)}),r.ontimeout=e=>{n({status:`failure`,error:Error(`XHR request timed out`)})},r.onreadystatechange=()=>{r.status>=200&&r.status<=299?(_.debug(`XHR success`),n({status:`success`})):r.status&&tr(r.status)?n({status:`retryable`,retryInMillis:nr(r.getResponseHeader(`Retry-After`))}):r.status!==0&&n({status:`failure`,error:Error(`XHR request failed with non-retryable status`)})},r.onabort=()=>{n({status:`failure`,error:Error(`XHR request aborted`)})},r.onerror=()=>{n({status:`failure`,error:Error(`XHR request errored`)})},r.send(e)})}shutdown(){}};function ir(e){return new rr(e)}var ar=class{_params;constructor(e){this._params=e}send(e){return new Promise(t=>{navigator.sendBeacon(this._params.url,new Blob([e],{type:this._params.blobType}))?(_.debug(`SendBeacon success`),t({status:`success`})):t({status:`failure`,error:Error(`SendBeacon failed`)})})}shutdown(){}};function or(e){return new ar(e)}var sr=class{_parameters;constructor(e){this._parameters=e}async send(e,t){let n=new AbortController,r=setTimeout(()=>n.abort(),t);try{let t=!!globalThis.location,r=new URL(this._parameters.url),i=await fetch(r.href,{method:`POST`,headers:this._parameters.headers(),body:e,signal:n.signal,keepalive:t,mode:t?globalThis.location?.origin===r.origin?`same-origin`:`cors`:`no-cors`});return i.status>=200&&i.status<=299?(_.debug(`response success`),{status:`success`}):tr(i.status)?{status:`retryable`,retryInMillis:nr(i.headers.get(`Retry-After`))}:{status:`failure`,error:Error(`Fetch request failed with non-retryable status`)}}catch(e){return e?.name===`AbortError`?{status:`failure`,error:Error(`Fetch request timed out`,{cause:e})}:{status:`failure`,error:Error(`Fetch request errored`,{cause:e})}}finally{clearTimeout(r)}}shutdown(){}};function cr(e){return new sr(e)}function lr(e,t){return Cn(e,t,er({transport:ir(e)}))}function ur(e,t){return Cn(e,t,er({transport:cr(e)}))}function dr(e,t){return Cn(e,t,er({transport:or({url:e.url,blobType:e.headers()[`Content-Type`]})}))}function fr(e){return()=>{let t={};return Object.entries(e?.()??{}).forEach(([e,n])=>{n===void 0?_.warn(`Header "${e}" has invalid value (${n}) and will be ignored`):t[e]=String(n)}),t}}function pr(e,t,n){let r={...n()},i={};return()=>(t!=null&&Object.assign(i,t()),e!=null&&Object.assign(i,e()),Object.assign(i,r))}function mr(e){if(e!=null)try{let t=globalThis.location?.href;return new URL(e,t).href}catch{throw Error(`Configuration: Could not parse user-provided export URL: '${e}'`)}}function hr(n){return async r=>{let{Agent:i}=await t(()=>import(`./__vite-browser-external-BrPh1PNv.js`).then(t=>e(t.default)),__vite__mapDeps([0,1]),import.meta.url);return new i(n)}}function gr(e,t,n){return{...Oe(e,t,n),headers:pr(fr(e.headers),t.headers,n.headers),url:mr(e.url)??t.url??n.url,agentFactory:e.agentFactory??t.agentFactory??n.agentFactory}}function _r(e,t){return{...ke(),headers:()=>e,url:`http://localhost:4318/`+t,agentFactory:hr({keepAlive:!0})}}function vr(e,t,n){return gr({url:e.url,timeoutMillis:e.timeoutMillis,headers:De(e.headers),concurrencyLimit:e.concurrencyLimit},{},_r(n,t))}function yr(e,t,n,r){return br(e.headers)(vr(e,n,r),t)}function br(e){return!e&&typeof navigator.sendBeacon==`function`?dr:globalThis.fetch===void 0?lr:ur}var xr=class extends we{constructor(e={}){super(yr(e,Kn,`v1/traces`,{"Content-Type":`application/json`}))}},Sr=class{emit(e){}},Cr=new Sr,wr=new class{getLogger(e,t,n){return new Sr}},Tr=class{constructor(e,t,n,r){this._provider=e,this.name=t,this.version=n,this.options=r}emit(e){this._getLogger().emit(e)}_getLogger(){if(this._delegate)return this._delegate;let e=this._provider._getDelegateLogger(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):Cr}},Er=class{getLogger(e,t,n){return this._getDelegateLogger(e,t,n)??new Tr(this,e,t,n)}_getDelegate(){return this._delegate??wr}_setDelegate(e){this._delegate=e}_getDelegateLogger(e,t,n){return this._delegate?.getLogger(e,t,n)}},Dr=typeof globalThis==`object`?globalThis:typeof self==`object`?self:typeof window==`object`?window:typeof global==`object`?global:{},j=Symbol.for(`io.opentelemetry.js.api.logs`),M=Dr;function Or(e,t,n){return r=>r===e?t:n}var kr=class e{constructor(){this._proxyLoggerProvider=new Er}static getInstance(){return this._instance||=new e,this._instance}setGlobalLoggerProvider(e){return M[j]?this.getLoggerProvider():(M[j]=Or(1,e,wr),this._proxyLoggerProvider._setDelegate(e),e)}getLoggerProvider(){return M[j]?.call(M,1)??this._proxyLoggerProvider}getLogger(e,t,n){return this.getLoggerProvider().getLogger(e,t,n)}disable(){delete M[j],this._proxyLoggerProvider=new Er}}.getInstance();function Ar(e,t,n,r){for(let i=0,a=e.length;i<a;i++){let a=e[i];t&&a.setTracerProvider(t),n&&a.setMeterProvider(n),r&&a.setLoggerProvider&&a.setLoggerProvider(r),a.getConfig().enabled||a.enable()}}function jr(e){e.forEach(e=>e.disable())}function Mr(e){let t=e.tracerProvider||f.getTracerProvider(),n=e.meterProvider||Ce.getMeterProvider(),r=e.loggerProvider||kr.getLoggerProvider(),i=e.instrumentations?.flat()??[];return Ar(i,t,n,r),()=>{jr(i)}}var N=console.error.bind(console);function P(e,t,n){let r=!!e[t]&&Object.prototype.propertyIsEnumerable.call(e,t);Object.defineProperty(e,t,{configurable:!0,enumerable:r,writable:!0,value:n})}var Nr=(e,t,n)=>{if(!e||!e[t]){N(`no original function `+String(t)+` to wrap`);return}if(!n){N(`no wrapper function`),N(Error().stack);return}let r=e[t];if(typeof r!=`function`||typeof n!=`function`){N(`original object and wrapper must be functions`);return}let i=n(r,t);return P(i,`__original`,r),P(i,`__unwrap`,()=>{e[t]===i&&P(e,t,r)}),P(i,`__wrapped`,!0),P(e,t,i),i},Pr=(e,t,n)=>{if(e)Array.isArray(e)||(e=[e]);else{N(`must provide one or more modules to patch`),N(Error().stack);return}if(!(t&&Array.isArray(t))){N(`must provide one or more functions to wrap on modules`);return}e.forEach(e=>{t.forEach(t=>{Nr(e,t,n)})})},Fr=(e,t)=>{if(!e||!e[t]){N(`no function to unwrap.`),N(Error().stack);return}let n=e[t];if(!n.__unwrap)N(`no original to unwrap to -- has `+String(t)+` already been unwrapped?`);else{n.__unwrap();return}},Ir=(e,t)=>{if(e)Array.isArray(e)||(e=[e]);else{N(`must provide one or more modules to patch`),N(Error().stack);return}if(!(t&&Array.isArray(t))){N(`must provide one or more functions to unwrap on modules`);return}e.forEach(e=>{t.forEach(t=>{Fr(e,t)})})};function F(e){e&&e.logger&&(typeof e.logger==`function`?N=e.logger:N(`new logger isn't a function, not replacing`))}F.wrap=Nr,F.massWrap=Pr,F.unwrap=Fr,F.massUnwrap=Ir;var Lr=class{instrumentationName;instrumentationVersion;_config={};_tracer;_meter;_logger;_diag;constructor(e,t,n){this.instrumentationName=e,this.instrumentationVersion=t,this.setConfig(n),this._diag=_.createComponentLogger({namespace:e}),this._tracer=f.getTracer(e,t),this._meter=Ce.getMeter(e,t),this._logger=kr.getLogger(e,t),this._updateMetricInstruments()}_wrap=Nr;_unwrap=Fr;_massWrap=Pr;_massUnwrap=Ir;get meter(){return this._meter}setMeterProvider(e){this._meter=e.getMeter(this.instrumentationName,this.instrumentationVersion),this._updateMetricInstruments()}get logger(){return this._logger}setLoggerProvider(e){this._logger=e.getLogger(this.instrumentationName,this.instrumentationVersion)}getModuleDefinitions(){let e=this.init()??[];return Array.isArray(e)?e:[e]}_updateMetricInstruments(){}getConfig(){return this._config}setConfig(e){this._config={enabled:!0,...e}}setTracerProvider(e){this._tracer=e.getTracer(this.instrumentationName,this.instrumentationVersion)}get tracer(){return this._tracer}_runSpanCustomizationHook(e,t,n,r){if(e)try{e(n,r)}catch(e){this._diag.error(`Error running span customization hook due to exception in handler`,{triggerName:t},e)}}},Rr=class extends Lr{constructor(e,t,n){super(e,t,n),this._config.enabled&&this.enable()}};function I(e,t,n){let r,i;try{i=e()}catch(e){r=e}finally{if(t(r,i),r&&!n)throw r;return i}}function L(e){return typeof e==`function`&&typeof e.__original==`function`&&typeof e.__unwrap==`function`&&e.__wrapped===!0}var R;(function(e){e[e.STABLE=1]=`STABLE`,e[e.OLD=2]=`OLD`,e[e.DUPLICATE=3]=`DUPLICATE`})(R||={});function zr(e,t){let n=R.OLD,r=t?.split(`,`).map(e=>e.trim()).filter(e=>e!==``);for(let t of r??[])if(t.toLowerCase()===e+`/dup`){n=R.DUPLICATE;break}else t.toLowerCase()===e&&(n=R.STABLE);return n}var z;function Br(){if(z===void 0)try{let e=globalThis.process.argv0;z=e?`unknown_service:${e}`:`unknown_service`}catch{z=`unknown_service`}return z}var B=e=>typeof e==`object`&&!!e&&typeof e.then==`function`,Vr=class e{_rawAttributes;_asyncAttributesPending=!1;_schemaUrl;_memoizedAttributes;static FromAttributeList(t,n){let r=new e({},n);return r._rawAttributes=Wr(t),r._asyncAttributesPending=t.filter(([e,t])=>B(t)).length>0,r}constructor(e,t){let n=e.attributes??{};this._rawAttributes=Object.entries(n).map(([e,t])=>(B(t)&&(this._asyncAttributesPending=!0),[e,t])),this._rawAttributes=Wr(this._rawAttributes),this._schemaUrl=Gr(t?.schemaUrl)}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(this.asyncAttributesPending){for(let e=0;e<this._rawAttributes.length;e++){let[t,n]=this._rawAttributes[e];this._rawAttributes[e]=[t,B(n)?await n:n]}this._asyncAttributesPending=!1}}get attributes(){if(this.asyncAttributesPending&&_.error(`Accessing resource attributes before async attributes settled`),this._memoizedAttributes)return this._memoizedAttributes;let e={};for(let[t,n]of this._rawAttributes){if(B(n)){_.debug(`Unsettled resource attribute ${t} skipped`);continue}n!=null&&(e[t]??=n)}return this._asyncAttributesPending||(this._memoizedAttributes=e),e}getRawAttributes(){return this._rawAttributes}get schemaUrl(){return this._schemaUrl}merge(t){if(t==null)return this;let n=Kr(this,t),r=n?{schemaUrl:n}:void 0;return e.FromAttributeList([...t.getRawAttributes(),...this.getRawAttributes()],r)}};function Hr(e,t){return Vr.FromAttributeList(Object.entries(e),t)}function Ur(){return Hr({[ft]:Br(),[mt]:bt[mt],[gt]:bt[gt],[_t]:bt[_t]})}function Wr(e){return e.map(([e,t])=>B(t)?[e,t.catch(t=>{_.debug(`promise rejection for resource attribute: %s - %s`,e,t)})]:[e,t])}function Gr(e){if(typeof e==`string`||e===void 0)return e;_.warn(`Schema URL must be string or undefined, got %s. Schema URL will be ignored.`,e)}function Kr(e,t){let n=e?.schemaUrl,r=t?.schemaUrl,i=n===void 0||n===``,a=r===void 0||r===``;if(i)return r;if(a||n===r)return n;_.warn(`Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.`,n,r)}var qr=`exception`,Jr=Symbol.for(`nodejs.util.inspect.custom`);function Yr(e){let t={};for(let[n,r]of e.getRawAttributes())typeof r?.then!=`function`&&r!=null&&(t[n]??=r);return t}function Xr(e,t,n,r,i){if(typeof n==`number`&&n<0){let t=`[${e}]`;return r?.stylize?r.stylize(t,`special`):t}return typeof i!=`function`||!r?t:`${e} ${i(t,{...r,depth:r.depth==null?r.depth:r.depth-1})}`}var Zr=class{_spanContext;kind;parentSpanContext;attributes={};links=[];events=[];startTime;resource;instrumentationScope;_droppedAttributesCount=0;_droppedEventsCount=0;_droppedLinksCount=0;_attributesCount=0;name;status={code:c.UNSET};endTime=[0,0];_ended=!1;_duration=[-1,-1];_spanProcessor;_spanLimits;_attributeValueLengthLimit;_recordEndMetrics;_performanceStartTime;_performanceOffset;_startTimeProvided;constructor(e){let t=Date.now();if(this._spanContext=e.spanContext,this._performanceStartTime=b.now(),this._performanceOffset=t-(this._performanceStartTime+b.timeOrigin),this._startTimeProvided=e.startTime!=null,this._spanLimits=e.spanLimits,this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit??0,this._spanProcessor=e.spanProcessor,this.name=e.name,this.parentSpanContext=e.parentSpanContext,this.kind=e.kind,e.links)for(let t of e.links)this.addLink(t);this.startTime=this._getTime(e.startTime??t),this.resource=e.resource,this.instrumentationScope=e.scope,this._recordEndMetrics=e.recordEndMetrics,e.attributes!=null&&this.setAttributes(e.attributes),this._spanProcessor.onStart(this,e.context)}spanContext(){return this._spanContext}setAttribute(e,t){if(t==null||this._isSpanEnded())return this;if(e.length===0)return _.warn(`Invalid attribute key: ${e}`),this;if(!Ue(t))return _.warn(`Invalid attribute value set for key: ${e}`),this;let{attributeCountLimit:n}=this._spanLimits,r=!Object.prototype.hasOwnProperty.call(this.attributes,e);return n!==void 0&&this._attributesCount>=n&&r?(this._droppedAttributesCount++,this):(this.attributes[e]=this._truncateToSize(t),r&&this._attributesCount++,this)}setAttributes(e){for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&this.setAttribute(t,e[t]);return this}addEvent(e,t,n){if(this._isSpanEnded())return this;let{eventCountLimit:r}=this._spanLimits;if(r===0)return _.warn(`No events allowed.`),this._droppedEventsCount++,this;r!==void 0&&this.events.length>=r&&(this._droppedEventsCount===0&&_.debug(`Dropping extra events.`),this.events.shift(),this._droppedEventsCount++),Tt(t)&&(Tt(n)||(n=t),t=void 0);let i=v(t),{attributePerEventCountLimit:a}=this._spanLimits,o={},s=0,c=0;for(let e in i){if(!Object.prototype.hasOwnProperty.call(i,e))continue;let t=i[e];if(a!==void 0&&c>=a){s++;continue}o[e]=this._truncateToSize(t),c++}return this.events.push({name:e,attributes:o,time:this._getTime(n),droppedAttributesCount:s}),this}addLink(e){if(this._isSpanEnded())return this;let{linkCountLimit:t}=this._spanLimits;if(t===0)return this._droppedLinksCount++,this;t!==void 0&&this.links.length>=t&&(this._droppedLinksCount===0&&_.debug(`Dropping extra links.`),this.links.shift(),this._droppedLinksCount++);let{attributePerLinkCountLimit:n}=this._spanLimits,r=v(e.attributes),i={},a=0,o=0;for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let t=r[e];if(n!==void 0&&o>=n){a++;continue}i[e]=this._truncateToSize(t),o++}let s={context:e.context};return o>0&&(s.attributes=i),a>0&&(s.droppedAttributesCount=a),this.links.push(s),this}addLinks(e){for(let t of e)this.addLink(t);return this}setStatus(e){if(this._isSpanEnded()||e.code===c.UNSET||this.status.code===c.OK)return this;let t={code:e.code};return e.code===c.ERROR&&(typeof e.message==`string`?t.message=e.message:e.message!=null&&_.warn(`Dropping invalid status.message of type '${typeof e.message}', expected 'string'`)),this.status=t,this}updateName(e){return this._isSpanEnded()||(this.name=e),this}end(e){if(this._isSpanEnded()){_.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}this.endTime=this._getTime(e),this._duration=Ct(this.startTime,this.endTime),this._duration[0]<0&&(_.warn(`Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.`,this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._droppedEventsCount>0&&_.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`),this._droppedLinksCount>0&&_.warn(`Dropped ${this._droppedLinksCount} links because linkCountLimit reached`),this._spanProcessor.onEnding&&this._spanProcessor.onEnding(this),this._recordEndMetrics?.(),this._ended=!0,this._spanProcessor.onEnd(this)}_getTime(e){if(typeof e==`number`&&e<=b.now())return C(e+this._performanceOffset);if(typeof e==`number`)return S(e);if(e instanceof Date)return S(e.getTime());if(wt(e))return e;if(this._startTimeProvided)return S(Date.now());let t=b.now()-this._performanceStartTime;return Et(this.startTime,S(t))}isRecording(){return this._ended===!1}recordException(e,t){let n={};typeof e==`string`?n[it]=e:e&&(e.code?n[ot]=e.code.toString():e.name&&(n[ot]=e.name),e.message&&(n[it]=e.message),e.stack&&(n[at]=e.stack)),n[`exception.type`]||n[`exception.message`]?this.addEvent(qr,n,t):_.warn(`Failed to record an exception ${e}`)}get duration(){return this._duration}get ended(){return this._ended}get droppedAttributesCount(){return this._droppedAttributesCount}get droppedEventsCount(){return this._droppedEventsCount}get droppedLinksCount(){return this._droppedLinksCount}_isSpanEnded(){if(this._ended){let e=Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);_.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,e)}return this._ended}_truncateToLimitUtil(e,t){return e.length<=t?e:e.substring(0,t)}_truncateToSize(e){let t=this._attributeValueLengthLimit;return t<=0?(_.warn(`Attribute value limit must be positive, got ${t}`),e):typeof e==`string`?this._truncateToLimitUtil(e,t):Array.isArray(e)?e.map(e=>typeof e==`string`?this._truncateToLimitUtil(e,t):e):e}[Jr](e,t,n){return Xr(`SpanImpl`,{name:this.name,kind:this.kind,spanContext:this._spanContext,parentSpanContext:this.parentSpanContext,status:this.status,startTime:this.startTime,endTime:this.endTime,duration:this._duration,ended:this._ended,attributes:this.attributes,events:this.events,links:this.links,droppedAttributesCount:this._droppedAttributesCount,droppedEventsCount:this._droppedEventsCount,droppedLinksCount:this._droppedLinksCount,instrumentationScope:this.instrumentationScope,resource:{attributes:Yr(this.resource)}},e,t,n)}},V;(function(e){e[e.NOT_RECORD=0]=`NOT_RECORD`,e[e.RECORD=1]=`RECORD`,e[e.RECORD_AND_SAMPLED=2]=`RECORD_AND_SAMPLED`})(V||={});var Qr=`otel.component.name`,$r=`otel.component.type`,ei=`otel.span.parent.origin`,ti=`otel.span.sampling_result`,ni=`otel.sdk.processor.span.processed`,ri=`otel.sdk.processor.span.queue.capacity`,ii=`otel.sdk.processor.span.queue.size`,ai=`otel.sdk.span.live`,oi=`otel.sdk.span.started`,si=`batching_span_processor`,ci=class{startedSpans;liveSpans;constructor(e){this.startedSpans=e.createCounter(oi,{unit:`{span}`,description:`The number of created spans.`}),this.liveSpans=e.createUpDownCounter(ai,{unit:`{span}`,description:`The number of currently live spans.`})}startSpan(e,t){let n=ui(t);if(this.startedSpans.add(1,{[ei]:li(e),[ti]:n}),t===V.NOT_RECORD)return()=>{};let r={[ti]:n};return this.liveSpans.add(1,r),()=>{this.liveSpans.add(-1,r)}}};function li(e){return e?e.isRemote?`remote`:`local`:`none`}function ui(e){switch(e){case V.RECORD_AND_SAMPLED:return`RECORD_AND_SAMPLE`;case V.RECORD:return`RECORD_ONLY`;case V.NOT_RECORD:return`DROP`}}var di=`2.9.0`,fi=class{_sampler;_spanLimits;_idGenerator;instrumentationScope;_resource;_spanProcessor;_tracerMetrics;constructor(e,t){this.instrumentationScope=e,this._sampler=t.sampler,this._spanLimits=t.spanLimits,this._resource=t.resource,this._idGenerator=t.idGenerator,this._spanProcessor=t.spanProcessor,this._tracerMetrics=new ci(t.meterProvider.getMeter(`@opentelemetry/sdk-trace`,di))}startSpan(e,t={},r=h.active()){t.root&&(r=f.deleteSpan(r));let i=f.getSpan(r);if(Pe(r))return _.debug(`Instrumentation suppressed, returning Noop Span`),f.wrapSpanContext(n);let a=i?.spanContext(),o=this._idGenerator.generateSpanId(),s,c,u;!a||!f.isSpanContextValid(a)?c=this._idGenerator.generateTraceId():(c=a.traceId,u=a.traceState,s=a);let d=t.kind??be.INTERNAL,p=(t.links??[]).map(e=>({context:e.context,attributes:v(e.attributes)})),ee=v(t.attributes),m=this._sampler.shouldSample(r,c,e,d,ee,p),te=this._tracerMetrics.startSpan(a,m.decision);u=m.traceState??u;let g=m.decision===ye.RECORD_AND_SAMPLED?l.SAMPLED:l.NONE,ne={traceId:c,spanId:o,traceFlags:g,traceState:u};if(m.decision===ye.NOT_RECORD)return _.debug(`Recording is off, propagating context in a non-recording span`),f.wrapSpanContext(ne);let re=v(Object.assign(ee,m.attributes));return new Zr({resource:this._resource,scope:this.instrumentationScope,context:r,spanContext:ne,name:e,kind:d,links:p,parentSpanContext:s,attributes:re,startTime:t.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits,recordEndMetrics:te})}startActiveSpan(e,t,n,r){let i,a,o;if(arguments.length<2)return;arguments.length===2?o=t:arguments.length===3?(i=t,o=n):(i=t,a=n,o=r);let s=a??h.active(),c=this.startSpan(e,i,s),l=f.setSpan(s,c);return h.with(l,o,void 0,c)}[Jr](e,t,n){return Xr(`Tracer`,{instrumentationScope:this.instrumentationScope,resource:{attributes:Yr(this._resource)},spanLimits:this._spanLimits},e,t,n)}},pi=class{_spanProcessors;constructor(e){this._spanProcessors=e}forceFlush(){let e=[];for(let t of this._spanProcessors)e.push(t.forceFlush());return new Promise(t=>{Promise.all(e).then(()=>{t()}).catch(e=>{y(e||Error(`MultiSpanProcessor: forceFlush failed`)),t()})})}onStart(e,t){for(let n of this._spanProcessors)n.onStart(e,t)}onEnding(e){for(let t of this._spanProcessors)t.onEnding&&t.onEnding(e)}onEnd(e){for(let t of this._spanProcessors)t.onEnd(e)}shutdown(){let e=[];for(let t of this._spanProcessors)e.push(t.shutdown());return new Promise((t,n)=>{Promise.all(e).then(()=>{t()},n)})}},H=class{shouldSample(){return{decision:V.NOT_RECORD}}toString(){return`AlwaysOffSampler`}},U=class{shouldSample(){return{decision:V.RECORD_AND_SAMPLED}}toString(){return`AlwaysOnSampler`}},W=class{_root;_remoteParentSampled;_remoteParentNotSampled;_localParentSampled;_localParentNotSampled;constructor(e){this._root=e.root,this._root||=(y(Error(`ParentBasedSampler must have a root sampler configured`)),new U),this._remoteParentSampled=e.remoteParentSampled??new U,this._remoteParentNotSampled=e.remoteParentNotSampled??new H,this._localParentSampled=e.localParentSampled??new U,this._localParentNotSampled=e.localParentNotSampled??new H}shouldSample(e,t,n,r,i,a){let o=f.getSpanContext(e);return!o||!d(o)?this._root.shouldSample(e,t,n,r,i,a):o.isRemote?o.traceFlags&l.SAMPLED?this._remoteParentSampled.shouldSample(e,t,n,r,i,a):this._remoteParentNotSampled.shouldSample(e,t,n,r,i,a):o.traceFlags&l.SAMPLED?this._localParentSampled.shouldSample(e,t,n,r,i,a):this._localParentNotSampled.shouldSample(e,t,n,r,i,a)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}},mi=new Map,hi=class{processedSpans;queueSize;queueSizeCallback;standardAttrs;droppedAttrs;constructor(e,t,n){let r=mi.get(e)??0;if(mi.set(e,r+1),this.standardAttrs={[$r]:e,[Qr]:`${e}/${r}`},this.droppedAttrs={...this.standardAttrs,[rt]:`queue_full`},this.processedSpans=t.createCounter(ni,{unit:`{span}`,description:`The number of spans for which the processing has finished, either successful or failed.`}),n){let{capacity:e,getQueueSize:r}=n;t.createUpDownCounter(ri,{unit:`{span}`,description:`The maximum number of spans the queue of a given instance of an SDK span processor can hold.`}).add(e,this.standardAttrs),this.queueSize=t.createObservableUpDownCounter(ii,{unit:`{span}`,description:`The number of spans in the queue of a given instance of an SDK span processor.`}),this.queueSizeCallback=e=>e.observe(r(),this.standardAttrs),this.queueSize.addCallback(this.queueSizeCallback)}}dropSpans(e){this.processedSpans.add(e,this.droppedAttrs)}finishSpans(e,t){if(!t){this.processedSpans.add(e,this.standardAttrs);return}let n={...this.standardAttrs,[rt]:t.name};this.processedSpans.add(e,n)}shutdown(){this.queueSize&&this.queueSizeCallback&&this.queueSize.removeCallback(this.queueSizeCallback)}},gi=class{_maxExportBatchSize;_maxQueueSize;_scheduledDelayMillis;_exportTimeoutMillis;_exporter;_metrics;_isExporting=!1;_finishedSpans=[];_timer;_shutdownOnce;_droppedSpansCount=0;constructor(e){this._exporter=e.exporter,this._maxExportBatchSize=e.maxExportBatchSize??512,this._maxQueueSize=e.maxQueueSize??2048,this._scheduledDelayMillis=e.scheduledDelayMillis??5e3,this._exportTimeoutMillis=e.exportTimeoutMillis??3e4,this._shutdownOnce=new vn(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(_.warn(`BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize`),this._maxExportBatchSize=this._maxQueueSize),this._metrics=new hi(si,e.selfObsMeterProvider?e.selfObsMeterProvider.getMeter(`@opentelemetry/sdk-trace`):ve(),{capacity:this._maxQueueSize,getQueueSize:()=>this._finishedSpans.length})}forceFlush(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()}onStart(e,t){}onEnd(e){this._shutdownOnce.isCalled||(e.spanContext().traceFlags&l.SAMPLED)!==0&&this._addToBuffer(e)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>this.onShutdown()).then(()=>this._flushAll()).then(()=>(this._metrics.shutdown(),this._exporter.shutdown()))}_addToBuffer(e){if(this._finishedSpans.length>=this._maxQueueSize){this._droppedSpansCount===0&&_.debug(`maxQueueSize reached, dropping spans`),this._droppedSpansCount++,this._metrics.dropSpans(1);return}this._droppedSpansCount>0&&(_.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0),this._finishedSpans.push(e),this._maybeStartTimer()}_flushAll(){return new Promise((e,t)=>{let n=[],r=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let e=0,t=r;e<t;e++)n.push(this._flushOneBatch());Promise.all(n).then(()=>{e()}).catch(t)})}_flushOneBatch(){return this._clearTimer(),this._finishedSpans.length===0?Promise.resolve():new Promise((e,t)=>{let n=setTimeout(()=>{t(Error(`Timeout`))},this._exportTimeoutMillis);h.with(Ne(h.active()),()=>{let r;this._finishedSpans.length<=this._maxExportBatchSize?(r=this._finishedSpans,this._finishedSpans=[]):r=this._finishedSpans.splice(0,this._maxExportBatchSize);let i=()=>this._exporter.export(r,i=>{clearTimeout(n),this._metrics.finishSpans(r.length,i.error),i.code===E.SUCCESS?e():t(i.error??Error(`BatchSpanProcessor: span export failed`))}),a=null;for(let e=0,t=r.length;e<t;e++){let t=r[e];t.resource.asyncAttributesPending&&t.resource.waitForAsyncAttributes&&(a??=[],a.push(t.resource.waitForAsyncAttributes()))}a===null?i():Promise.all(a).then(i,e=>{y(e),t(e)})})})}_maybeStartTimer(){if(this._isExporting)return;let e=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{this._isExporting=!1,this._finishedSpans.length>0&&(this._clearTimer(),this._maybeStartTimer())}).catch(e=>{this._isExporting=!1,y(e)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return e();this._timer===void 0&&(this._timer=setTimeout(()=>e(),this._scheduledDelayMillis),typeof this._timer!=`number`&&this._timer.unref())}_clearTimer(){this._timer!==void 0&&(clearTimeout(this._timer),this._timer=void 0)}},_i=class extends gi{_visibilityChangeListener;_pageHideListener;constructor(e){super(e),this.onInit(e)}onInit(e){e.disableAutoFlushOnDocumentHide!==!0&&typeof document<`u`&&(this._visibilityChangeListener=()=>{document.visibilityState===`hidden`&&this.forceFlush().catch(e=>{y(e)})},this._pageHideListener=()=>{this.forceFlush().catch(e=>{y(e)})},document.addEventListener(`visibilitychange`,this._visibilityChangeListener),document.addEventListener(`pagehide`,this._pageHideListener))}onShutdown(){typeof document<`u`&&(this._visibilityChangeListener&&document.removeEventListener(`visibilitychange`,this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener(`pagehide`,this._pageHideListener))}},vi=16,yi=8,bi=new Uint8Array(vi),xi=new Uint8Array(yi),Si=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,`0`));function Ci(e){for(let t=0;t<e.length;t++)e[t]=Math.random()*256>>>0;for(let t=0;t<e.length;t++)if(e[t]>0)return;e[e.length-1]=1}function wi(e){let t=``;for(let n=0;n<e.length;n++)t+=Si[e[n]];return t}var Ti=class{generateTraceId(){return Ci(bi),wi(bi)}generateSpanId(){return Ci(xi),wi(xi)}},G;(function(e){e[e.resolved=0]=`resolved`,e[e.timeout=1]=`timeout`,e[e.error=2]=`error`,e[e.unresolved=3]=`unresolved`})(G||={});var Ei=class{_resource;_activeSpanProcessor;_forceFlushTimeoutMillis;_tracerOptions;_tracers=new Map;constructor(e={}){this._forceFlushTimeoutMillis=e.forceFlushTimeoutMillis??3e4,this._resource=e.resource??Ur(),this._activeSpanProcessor=new pi(e.spanProcessors??[]),this._tracerOptions={resource:this._resource,sampler:e.sampler??new W({root:new U}),spanLimits:{attributeCountLimit:e.spanLimits?.attributeCountLimit??128,attributeValueLengthLimit:e.spanLimits?.attributeValueLengthLimit??1/0,eventCountLimit:e.spanLimits?.eventCountLimit??128,linkCountLimit:e.spanLimits?.linkCountLimit??128,attributePerEventCountLimit:e.spanLimits?.attributePerEventCountLimit??128,attributePerLinkCountLimit:e.spanLimits?.attributePerLinkCountLimit??128},idGenerator:e.idGenerator||new Ti,spanProcessor:this._activeSpanProcessor,meterProvider:e.meterProvider??{getMeter(){return ve()}}}}getTracer(e,t,n){let r=`${e}@${t||``}:${n?.schemaUrl||``}`;return this._tracers.has(r)||this._tracers.set(r,new fi({name:e,version:t,schemaUrl:n?.schemaUrl},this._tracerOptions)),this._tracers.get(r)}forceFlush(){let e=this._forceFlushTimeoutMillis,t=this._activeSpanProcessor._spanProcessors.map(t=>new Promise(n=>{let r,i=setTimeout(()=>{n(Error(`Span processor did not completed within timeout period of ${e} ms`)),r=G.timeout},e);t.forceFlush().then(()=>{clearTimeout(i),r!==G.timeout&&(r=G.resolved,n(r))}).catch(e=>{clearTimeout(i),r=G.error,n(e)})}));return new Promise((e,n)=>{Promise.all(t).then(t=>{let r=t.filter(e=>e!==G.resolved);r.length>0?n(r):e()}).catch(e=>n([e]))})}shutdown(){return this._activeSpanProcessor.shutdown()}[Jr](e,t,n){let r=this._activeSpanProcessor._spanProcessors;return Xr(`TracerProvider`,{resource:{attributes:Yr(this._resource)},tracers:Array.from(this._tracers.keys()),spanProcessors:r.map(e=>e.constructor?.name??`SpanProcessor`)},e,t,n)}},Di=class{_ratio;_upperBound;constructor(e=0){this._ratio=this._normalize(e),this._upperBound=Math.floor(this._ratio*4294967295)}shouldSample(e,t){return{decision:o(t)&&this._accumulate(t)<this._upperBound?V.RECORD_AND_SAMPLED:V.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(e){return typeof e!=`number`||isNaN(e)?0:e>=1?1:e<=0?0:e}_accumulate(e){let t=0;for(let n=0;n<32;n+=8){let r=0;for(let t=0;t<8;t++){let i=e.charCodeAt(n+t),a=i<58?i-48:i<71?i-55:i-87;r=r<<4|a}t=(t^r)>>>0}return t}},K;(function(e){e.AlwaysOff=`always_off`,e.AlwaysOn=`always_on`,e.ParentBasedAlwaysOff=`parentbased_always_off`,e.ParentBasedAlwaysOn=`parentbased_always_on`,e.ParentBasedTraceIdRatio=`parentbased_traceidratio`,e.TraceIdRatio=`traceidratio`})(K||={});var Oi=1;function ki(){return{sampler:Ai(),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128},spanLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128,linkCountLimit:128,eventCountLimit:128,attributePerEventCountLimit:128,attributePerLinkCountLimit:128}}}function Ai(){let e=K.ParentBasedAlwaysOn;switch(e){case K.AlwaysOn:return new U;case K.AlwaysOff:return new H;case K.ParentBasedAlwaysOn:return new W({root:new U});case K.ParentBasedAlwaysOff:return new W({root:new H});case K.TraceIdRatio:return new Di(ji());case K.ParentBasedTraceIdRatio:return new W({root:new Di(ji())});default:return _.error(`OTEL_TRACES_SAMPLER value "${e}" invalid, defaulting to "${K.ParentBasedAlwaysOn}".`),new W({root:new U})}}function ji(){return _.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${Oi}.`),Oi}function Mi(e){let t=Object.assign({},e.spanLimits);return t.attributeCountLimit=e.spanLimits?.attributeCountLimit??e.generalLimits?.attributeCountLimit??void 0??void 0??128,t.attributeValueLengthLimit=e.spanLimits?.attributeValueLengthLimit??e.generalLimits?.attributeValueLengthLimit??void 0??void 0??1/0,Object.assign({},e,{spanLimits:t})}var Ni=class extends Ei{constructor(e={}){let t=cn({},ki(),Mi(e));delete t.generalLimits,super(t)}},Pi=class extends _i{constructor(e,t){t||={};for(let[e,n]of[[`maxExportBatchSize`,`OTEL_BSP_MAX_EXPORT_BATCH_SIZE`],[`maxQueueSize`,`OTEL_BSP_MAX_QUEUE_SIZE`],[`scheduledDelayMillis`,`OTEL_BSP_SCHEDULE_DELAY`],[`exportTimeoutMillis`,`OTEL_BSP_EXPORT_TIMEOUT`]])t[e];super({exporter:e,...t})}},Fi=class{_enabled=!1;_currentContext=r;_bindFunction(e=r,t){let n=this,i=function(...r){return n.with(e,()=>t.apply(this,r))};return Object.defineProperty(i,`length`,{enumerable:!1,configurable:!0,writable:!1,value:t.length}),i}active(){return this._currentContext}bind(e,t){return e===void 0&&(e=this.active()),typeof t==`function`?this._bindFunction(e,t):t}disable(){return this._currentContext=r,this._enabled=!1,this}enable(){return this._enabled?this:(this._enabled=!0,this._currentContext=r,this)}with(e,t,n,...i){let a=this._currentContext;this._currentContext=e||r;try{return t.call(n,...i)}finally{this._currentContext=a}}};function Ii(e){if(e!==null){if(e===void 0){let e=new Fi;e.enable(),h.setGlobalContextManager(e);return}e.enable(),h.setGlobalContextManager(e)}}function Li(e){if(e!==null){if(e===void 0){m.setGlobalPropagator(new Dt({propagators:[new Gt,new Ve]}));return}m.setGlobalPropagator(e)}}var Ri=class extends Ni{constructor(e={}){super(e)}register(e={}){f.setGlobalTracerProvider(this),Li(e.propagator),Ii(e.contextManager)}},q;(function(e){e.CONNECT_END=`connectEnd`,e.CONNECT_START=`connectStart`,e.DECODED_BODY_SIZE=`decodedBodySize`,e.DOM_COMPLETE=`domComplete`,e.DOM_CONTENT_LOADED_EVENT_END=`domContentLoadedEventEnd`,e.DOM_CONTENT_LOADED_EVENT_START=`domContentLoadedEventStart`,e.DOM_INTERACTIVE=`domInteractive`,e.DOMAIN_LOOKUP_END=`domainLookupEnd`,e.DOMAIN_LOOKUP_START=`domainLookupStart`,e.ENCODED_BODY_SIZE=`encodedBodySize`,e.FETCH_START=`fetchStart`,e.LOAD_EVENT_END=`loadEventEnd`,e.LOAD_EVENT_START=`loadEventStart`,e.NAVIGATION_START=`navigationStart`,e.REDIRECT_END=`redirectEnd`,e.REDIRECT_START=`redirectStart`,e.REQUEST_START=`requestStart`,e.RESPONSE_END=`responseEnd`,e.RESPONSE_START=`responseStart`,e.SECURE_CONNECTION_START=`secureConnectionStart`,e.START_TIME=`startTime`,e.UNLOAD_EVENT_END=`unloadEventEnd`,e.UNLOAD_EVENT_START=`unloadEventStart`})(q||={});var zi=`http.response_content_length`,Bi=`http.response_content_length_uncompressed`;function J(e,t){return t in e}function Y(e,t,n,r=!0){if(J(n,t)&&typeof n[t]==`number`&&!(r&&n[t]===0))return e.addEvent(t,n[t])}function Vi(e,t,n=!1,r,i){if(r===void 0&&(r=t[q.START_TIME]!==0),n||(Y(e,q.FETCH_START,t,r),Y(e,q.DOMAIN_LOOKUP_START,t,r),Y(e,q.DOMAIN_LOOKUP_END,t,r),Y(e,q.CONNECT_START,t,r),Y(e,q.SECURE_CONNECTION_START,t,r),Y(e,q.CONNECT_END,t,r),Y(e,q.REQUEST_START,t,r),Y(e,q.RESPONSE_START,t,r),Y(e,q.RESPONSE_END,t,r)),!i){let n=t[q.ENCODED_BODY_SIZE];n!==void 0&&e.setAttribute(zi,n);let r=t[q.DECODED_BODY_SIZE];r!==void 0&&n!==r&&e.setAttribute(Bi,r)}}function Hi(e,t){if(e.nodeType===Node.DOCUMENT_NODE)return`/`;let n=Wi(e,t);if(t&&n.indexOf(`@id`)>0)return n;let r=``;return e.parentNode&&(r+=Hi(e.parentNode,t)),r+=n,r}function Ui(e){if(!e.parentNode)return 0;let t=[e.nodeType];e.nodeType===Node.CDATA_SECTION_NODE&&t.push(Node.TEXT_NODE);let n=Array.from(e.parentNode.childNodes);return n=n.filter(n=>{let r=n.localName;return t.indexOf(n.nodeType)>=0&&r===e.localName}),n.length>=1?n.indexOf(e)+1:0}function Wi(e,t){let n=e.nodeType,r=Ui(e),i;if(n===Node.ELEMENT_NODE){let n=e.getAttribute(`id`);if(t&&n)return`//*[@id="${n}"]`;i=e.localName}else if(n===Node.TEXT_NODE||n===Node.CDATA_SECTION_NODE)i=`text()`;else if(n===Node.COMMENT_NODE)i=`comment()`;else return``;return i&&r>1?`/${i}[${r}]`:`/${i}`}var X;(function(e){e.DOCUMENT_LOAD=`documentLoad`,e.DOCUMENT_FETCH=`documentFetch`,e.RESOURCE_FETCH=`resourceFetch`})(X||={});var Gi=`0.49.0`,Ki=`@opentelemetry/instrumentation-document-load`,qi;(function(e){e.FIRST_PAINT=`firstPaint`,e.FIRST_CONTENTFUL_PAINT=`firstContentfulPaint`})(qi||={});var Ji=()=>{let e={},t=b.getEntriesByType?.(`navigation`)[0];if(t)Object.values(q).forEach(n=>{if(J(t,n)){let r=t[n];typeof r==`number`&&(e[n]=r)}});else{let t=b.timing;t&&Object.values(q).forEach(n=>{if(J(t,n)){let r=t[n];typeof r==`number`&&(e[n]=r)}})}return e},Yi={"first-paint":qi.FIRST_PAINT,"first-contentful-paint":qi.FIRST_CONTENTFUL_PAINT},Xi=e=>{let t=b.getEntriesByType?.(`paint`);t&&t.forEach(({name:t,startTime:n})=>{J(Yi,t)&&e.addEvent(Yi[t],n)})},Zi=class extends Rr{component=`document-load`;version=`1`;moduleName=this.component;constructor(e={}){super(Ki,Gi,e)}init(){}_onDocumentLoaded(){window.setTimeout(()=>{this._collectPerformance()})}_addResourcesSpans(e){let t=b.getEntriesByType?.(`resource`);t&&t.forEach(t=>{this._initResourceSpan(t,e)})}_collectPerformance(){let e=Array.from(document.getElementsByTagName(`meta`)).find(e=>e.getAttribute(`name`)===D),t=Ji(),n=e&&e.content||``;h.with(m.extract(r,{traceparent:n}),()=>{let e=this._startSpan(X.DOCUMENT_LOAD,q.FETCH_START,t);e&&(h.with(f.setSpan(h.active(),e),()=>{let e=this._startSpan(X.DOCUMENT_FETCH,q.FETCH_START,t);e&&(e.setAttribute(et,location.href),h.with(f.setSpan(h.active(),e),()=>{Vi(e,t,this.getConfig().ignoreNetworkEvents),this._addCustomAttributesOnSpan(e,this.getConfig().applyCustomAttributesOnSpan?.documentFetch),this._endSpan(e,q.RESPONSE_END,t)}))}),e.setAttribute(et,location.href),e.setAttribute(tt,navigator.userAgent),this._addResourcesSpans(e),this.getConfig().ignoreNetworkEvents||(Y(e,q.FETCH_START,t),Y(e,q.UNLOAD_EVENT_START,t),Y(e,q.UNLOAD_EVENT_END,t),Y(e,q.DOM_INTERACTIVE,t),Y(e,q.DOM_CONTENT_LOADED_EVENT_START,t),Y(e,q.DOM_CONTENT_LOADED_EVENT_END,t),Y(e,q.DOM_COMPLETE,t),Y(e,q.LOAD_EVENT_START,t),Y(e,q.LOAD_EVENT_END,t)),this.getConfig().ignorePerformancePaintEvents||Xi(e),this._addCustomAttributesOnSpan(e,this.getConfig().applyCustomAttributesOnSpan?.documentLoad),this._endSpan(e,q.LOAD_EVENT_END,t))})}_endSpan(e,t,n){e&&(J(n,t)?e.end(n[t]):e.end())}_initResourceSpan(e,t){let n=this._startSpan(X.RESOURCE_FETCH,q.FETCH_START,e,t);n&&(n.setAttribute(et,e.name),Vi(n,e,this.getConfig().ignoreNetworkEvents),this._addCustomAttributesOnResourceSpan(n,e,this.getConfig().applyCustomAttributesOnSpan?.resourceFetch),this._endSpan(n,q.RESPONSE_END,e))}_startSpan(e,t,n,r){if(J(n,t)&&typeof n[t]==`number`)return this.tracer.startSpan(e,{startTime:n[t]},r?f.setSpan(h.active(),r):void 0)}_waitForPageLoad(){window.document.readyState===`complete`?this._onDocumentLoaded():(this._onDocumentLoaded=this._onDocumentLoaded.bind(this),window.addEventListener(`load`,this._onDocumentLoaded))}_addCustomAttributesOnSpan(e,t){t&&I(()=>t(e),e=>{e&&this._diag.error(`addCustomAttributesOnSpan`,e)},!0)}_addCustomAttributesOnResourceSpan(e,t,n){n&&I(()=>n(e,t),e=>{e&&this._diag.error(`addCustomAttributesOnResourceSpan`,e)},!0)}enable(){window.removeEventListener(`load`,this._onDocumentLoaded),this._waitForPageLoad()}disable(){window.removeEventListener(`load`,this._onDocumentLoaded)}},Z;(function(e){e.CONNECT_END=`connectEnd`,e.CONNECT_START=`connectStart`,e.DECODED_BODY_SIZE=`decodedBodySize`,e.DOM_COMPLETE=`domComplete`,e.DOM_CONTENT_LOADED_EVENT_END=`domContentLoadedEventEnd`,e.DOM_CONTENT_LOADED_EVENT_START=`domContentLoadedEventStart`,e.DOM_INTERACTIVE=`domInteractive`,e.DOMAIN_LOOKUP_END=`domainLookupEnd`,e.DOMAIN_LOOKUP_START=`domainLookupStart`,e.ENCODED_BODY_SIZE=`encodedBodySize`,e.FETCH_START=`fetchStart`,e.LOAD_EVENT_END=`loadEventEnd`,e.LOAD_EVENT_START=`loadEventStart`,e.NAVIGATION_START=`navigationStart`,e.REDIRECT_END=`redirectEnd`,e.REDIRECT_START=`redirectStart`,e.REQUEST_START=`requestStart`,e.RESPONSE_END=`responseEnd`,e.RESPONSE_START=`responseStart`,e.SECURE_CONNECTION_START=`secureConnectionStart`,e.START_TIME=`startTime`,e.UNLOAD_EVENT_END=`unloadEventEnd`,e.UNLOAD_EVENT_START=`unloadEventStart`})(Z||={});var Qi=`http.response_content_length`,$i=`http.response_content_length_uncompressed`,ea;function ta(){return ea||=document.createElement(`a`),ea}function na(e,t){return t in e}function Q(e,t,n,r=!0){if(na(n,t)&&typeof n[t]==`number`&&!(r&&n[t]===0))return e.addEvent(t,n[t])}function ra(e,t,n=!1,r,i){if(r===void 0&&(r=t[Z.START_TIME]!==0),n||(Q(e,Z.FETCH_START,t,r),Q(e,Z.DOMAIN_LOOKUP_START,t,r),Q(e,Z.DOMAIN_LOOKUP_END,t,r),Q(e,Z.CONNECT_START,t,r),Q(e,Z.SECURE_CONNECTION_START,t,r),Q(e,Z.CONNECT_END,t,r),Q(e,Z.REQUEST_START,t,r),Q(e,Z.RESPONSE_START,t,r),Q(e,Z.RESPONSE_END,t,r)),!i){let n=t[Z.ENCODED_BODY_SIZE];n!==void 0&&e.setAttribute(Qi,n);let r=t[Z.DECODED_BODY_SIZE];r!==void 0&&n!==r&&e.setAttribute($i,r)}}function ia(e){return e.slice().sort((e,t)=>{let n=e[Z.FETCH_START],r=t[Z.FETCH_START];return n>r?1:n<r?-1:0})}function aa(){return typeof location<`u`?location.origin:void 0}function oa(e,t,n,r,i=new WeakSet,a){let o=la(e);e=o.toString();let s=ca(e,t,n,r,i,a);if(s.length===0)return{mainRequest:void 0};if(s.length===1)return{mainRequest:s[0]};let c=ia(s);if(o.origin!==aa()&&c.length>1){let e=c[0],t=sa(c,e[Z.RESPONSE_END],n),r=e[Z.RESPONSE_END];return t[Z.FETCH_START]<r&&(t=e,e=void 0),{corsPreFlightRequest:e,mainRequest:t}}else return{mainRequest:s[0]}}function sa(e,t,n){let r=T(n),i=T(w(t)),a=e[1],o,s=e.length;for(let t=1;t<s;t++){let n=e[t],s=T(w(n[Z.FETCH_START])),c=r-T(w(n[Z.RESPONSE_END]));s>=i&&(!o||c<o)&&(o=c,a=n)}return a}function ca(e,t,n,r,i,a){let o=T(t),s=T(n),c=r.filter(t=>{let n=T(w(t[Z.FETCH_START])),r=T(w(t[Z.RESPONSE_END]));return t.initiatorType.toLowerCase()===(a||`xmlhttprequest`)&&t.name===e&&n>=o&&r<=s});return c.length>0&&(c=c.filter(e=>!i.has(e))),c}function la(e){if(typeof URL==`function`)return new URL(e,typeof document<`u`?document.baseURI:typeof location<`u`?location.href:void 0);let t=ta();return t.href=e,t}function ua(e,t){let n=t||[];return(typeof n==`string`||n instanceof RegExp)&&(n=[n]),la(e).origin===aa()?!0:n.some(t=>hn(e,t))}var da;(function(e){e.COMPONENT=`component`,e.HTTP_STATUS_TEXT=`http.status_text`})(da||={});var fa=`http.host`,pa=`http.method`,ma=`http.request.body.size`,ha=`http.request_content_length_uncompressed`,ga=`http.scheme`,_a=`http.status_code`,va=`http.url`,ya=`http.user_agent`,ba=_.createComponentLogger({namespace:`@opentelemetry/opentelemetry-instrumentation-fetch/utils`});function xa(...e){if(e[0]instanceof URL||typeof e[0]==`string`){let t=e[1];if(!t?.body)return Promise.resolve();if(t.body instanceof ReadableStream){let{body:e,length:n}=Sa(t.body);return t.body=e,n}else return Promise.resolve(wa(t.body))}else{let t=e[0];return t?.body?t.clone().text().then(e=>Ea(e)):Promise.resolve()}}function Sa(e){if(!e.pipeThrough)return ba.warn(`Platform has ReadableStream but not pipeThrough!`),{body:e,length:Promise.resolve(void 0)};let t=0,n,r=new Promise(e=>{n=e}),i=new TransformStream({start(){},async transform(e,n){let r=await e;t+=r.byteLength,n.enqueue(e)},flush(){n(t)}});return{body:e.pipeThrough(i),length:r}}function Ca(e){return typeof Document<`u`&&e instanceof Document}function wa(e){if(Ca(e))return new XMLSerializer().serializeToString(document).length;if(typeof e==`string`)return Ea(e);if(e instanceof Blob)return e.size;if(e instanceof FormData)return Da(e);if(e instanceof URLSearchParams)return Ea(e.toString());if(e.byteLength!==void 0)return e.byteLength;ba.warn(`unknown body type`)}var Ta=new TextEncoder;function Ea(e){return Ta.encode(e).byteLength}function Da(e){let t=0;for(let[n,r]of e.entries())t+=n.length,r instanceof Blob?t+=r.size:t+=r.length;return t}function Oa(e){let t=ja(),n=e.toUpperCase();return n in t?n:`_OTHER`}var ka={CONNECT:!0,DELETE:!0,GET:!0,HEAD:!0,OPTIONS:!0,PATCH:!0,POST:!0,PUT:!0,TRACE:!0},Aa;function ja(){return Aa===void 0&&(Aa=ka),Aa}var Ma={"https:":`443`,"http:":`80`};function Na(e){let t=Number(e.port||Ma[e.protocol]);if(t&&!isNaN(t))return t}var Pa=`0.204.0`,Fa=300,Ia=typeof process==`object`&&process.release?.name===`node`,La=class extends Rr{component=`fetch`;version=Pa;moduleName=this.component;_usedResources=new WeakSet;_tasksCount=0;_semconvStability;constructor(e={}){super(`@opentelemetry/instrumentation-fetch`,Pa,e),this._semconvStability=zr(`http`,e?.semconvStabilityOptIn)}init(){}_addChildSpan(e,t){let n=this.tracer.startSpan(`CORS Preflight`,{startTime:t[Z.FETCH_START]},f.setSpan(h.active(),e)),r=!(this._semconvStability&R.OLD);ra(n,t,this.getConfig().ignoreNetworkEvents,void 0,r),n.end(t[Z.RESPONSE_END])}_addFinalSpanAttributes(e,t){let n=la(t.url);if(this._semconvStability&R.OLD&&(e.setAttribute(_a,t.status),t.statusText!=null&&e.setAttribute(da.HTTP_STATUS_TEXT,t.statusText),e.setAttribute(fa,n.host),e.setAttribute(ga,n.protocol.replace(`:`,``)),typeof navigator<`u`&&e.setAttribute(ya,navigator.userAgent)),this._semconvStability&R.STABLE){e.setAttribute(lt,t.status),e.setAttribute(ut,n.hostname);let r=Na(n);r&&e.setAttribute(dt,r)}}_addHeaders(e,t){if(!ua(t,this.getConfig().propagateTraceHeaderCorsUrls)){let e={};m.inject(h.active(),e),Object.keys(e).length>0&&this._diag.debug(`headers inject skipped due to CORS policy`);return}if(e instanceof Request)m.inject(h.active(),e.headers,{set:(e,t,n)=>e.set(t,typeof n==`string`?n:String(n))});else if(e.headers instanceof Headers)m.inject(h.active(),e.headers,{set:(e,t,n)=>e.set(t,typeof n==`string`?n:String(n))});else if(e.headers instanceof Map)m.inject(h.active(),e.headers,{set:(e,t,n)=>e.set(t,typeof n==`string`?n:String(n))});else{let t={};m.inject(h.active(),t),e.headers=Object.assign({},t,e.headers||{})}}_clearResources(){this._tasksCount===0&&this.getConfig().clearTimingResources&&(performance.clearResourceTimings(),this._usedResources=new WeakSet)}_createSpan(e,t={}){if(gn(e,this.getConfig().ignoreUrls)){this._diag.debug(`ignoring span as url matches ignored url`);return}let n=``,r={};if(this._semconvStability&R.OLD){let i=(t.method||`GET`).toUpperCase();n=`HTTP ${i}`,r[da.COMPONENT]=this.moduleName,r[pa]=i,r[va]=e}if(this._semconvStability&R.STABLE){let i=t.method,a=Oa(t.method||`GET`);n||=a,r[st]=a,a!==i&&(r[ct]=i),r[vt]=e}return this.tracer.startSpan(n,{kind:be.CLIENT,attributes:r})}_findResourceAndAddNetworkEvents(e,t,n){let r=t.entries;if(!r.length){if(!performance.getEntriesByType)return;r=performance.getEntriesByType(`resource`)}let i=oa(t.spanUrl,t.startTime,n,r,this._usedResources,`fetch`);if(i.mainRequest){let t=i.mainRequest;this._markResourceAsUsed(t);let n=i.corsPreFlightRequest;n&&(this._addChildSpan(e,n),this._markResourceAsUsed(n));let r=!(this._semconvStability&R.OLD);ra(e,t,this.getConfig().ignoreNetworkEvents,void 0,r)}}_markResourceAsUsed(e){this._usedResources.add(e)}_endSpan(e,t,n){let r=S(Date.now()),i=C();this._addFinalSpanAttributes(e,n),this._semconvStability&R.STABLE&&n.status>=400&&(e.setStatus({code:c.ERROR}),e.setAttribute(rt,String(n.status))),setTimeout(()=>{t.observer?.disconnect(),this._findResourceAndAddNetworkEvents(e,t,i),this._tasksCount--,this._clearResources(),e.end(r)},Fa)}_patchConstructor(){return e=>{let t=this;return function(...n){let r=this,i=la(n[0]instanceof Request?n[0].url:String(n[0])).href,a=n[0]instanceof Request?n[0]:n[1]||{},o=t._createSpan(i,a);if(!o)return e.apply(this,n);let s=t._prepareSpanData(i);t.getConfig().measureRequestSize&&xa(...n).then(e=>{e&&(t._semconvStability&R.OLD&&o.setAttribute(ha,e),t._semconvStability&R.STABLE&&o.setAttribute(ma,e))}).catch(e=>{t._diag.warn(`getFetchBodyLength`,e)});function c(e,n){t._applyAttributesAfterFetch(e,a,n),t._endSpan(e,s,{status:n.status||0,statusText:n.message,url:i})}function l(e,n){t._applyAttributesAfterFetch(e,a,n),n.status>=200&&n.status<400?t._endSpan(e,s,n):t._endSpan(e,s,{status:n.status,statusText:n.statusText,url:i})}function u(e,t,n){try{let t=n.clone().body;if(t){let r=t.getReader(),i=()=>{r.read().then(({done:t})=>{t?l(e,n):i()},t=>{c(e,t)})};i()}else l(e,n)}finally{t(n)}}function d(e,t,n){try{c(e,n)}finally{t(n)}}return new Promise((n,s)=>h.with(f.setSpan(h.active(),o),()=>(t._addHeaders(a,i),t._callRequestHook(o,a),t._tasksCount++,e.apply(r,a instanceof Request?[a]:[i,a]).then(u.bind(r,o,n),d.bind(r,o,s)))))}}}_applyAttributesAfterFetch(e,t,n){let r=this.getConfig().applyCustomAttributesOnSpan;r&&I(()=>r(e,t,n),e=>{e&&this._diag.error(`applyCustomAttributesOnSpan`,e)},!0)}_callRequestHook(e,t){let n=this.getConfig().requestHook;n&&I(()=>n(e,t),e=>{e&&this._diag.error(`requestHook`,e)},!0)}_prepareSpanData(e){let t=C(),n=[];if(typeof PerformanceObserver!=`function`)return{entries:n,startTime:t,spanUrl:e};let r=new PerformanceObserver(t=>{t.getEntries().forEach(t=>{t.initiatorType===`fetch`&&t.name===e&&n.push(t)})});return r.observe({entryTypes:[`resource`]}),{entries:n,observer:r,startTime:t,spanUrl:e}}enable(){if(Ia){this._diag.warn(`this instrumentation is intended for web usage only, it does not instrument Node.js's fetch()`);return}L(fetch)&&(this._unwrap(Xe,`fetch`),this._diag.debug(`removing previous patch for constructor`)),this._wrap(Xe,`fetch`,this._patchConstructor())}disable(){Ia||(this._unwrap(Xe,`fetch`),this._usedResources=new WeakSet)}},$;(function(e){e.EVENT_TYPE=`event_type`,e.TARGET_ELEMENT=`target_element`,e.TARGET_XPATH=`target_xpath`,e.HTTP_URL=`http.url`})($||={});var Ra=`0.49.0`,za=`@opentelemetry/instrumentation-user-interaction`,Ba=`OT_ZONE_CONTEXT`,Va=`Navigation:`,Ha=[`click`];function Ua(){return!1}var Wa=class extends Rr{version=Ra;moduleName=`user-interaction`;_spansData=new WeakMap;_wrappedListeners=new WeakMap;_eventsSpanMap=new WeakMap;_eventNames;_shouldPreventSpanCreation;constructor(e={}){super(za,Ra,e),this._eventNames=new Set(e?.eventNames??Ha),this._shouldPreventSpanCreation=typeof e?.shouldPreventSpanCreation==`function`?e.shouldPreventSpanCreation:Ua}init(){}_checkForTimeout(e,t){let n=this._spansData.get(t);n&&(e.source===`setTimeout`?n.hrTimeLastTimeout=C():e.source!==`Promise.then`&&e.source!==`setTimeout`&&(n.hrTimeLastTimeout=void 0))}_allowEventName(e){return this._eventNames.has(e)}_createSpan(e,t,n){if(!(e instanceof HTMLElement)||!e.getAttribute||e.hasAttribute(`disabled`)||!this._allowEventName(t))return;let r=Hi(e,!0);try{let i=this.tracer.startSpan(t,{attributes:{[$.EVENT_TYPE]:t,[$.TARGET_ELEMENT]:e.tagName,[$.TARGET_XPATH]:r,[$.HTTP_URL]:window.location.href}},n?f.setSpan(h.active(),n):void 0);return this._shouldPreventSpanCreation(t,e,i)===!0?void 0:(this._spansData.set(i,{taskCount:0}),i)}catch(e){this._diag.error(`failed to start create new user interaction span`,e)}}_decrementTask(e){let t=this._spansData.get(e);t&&(t.taskCount--,t.taskCount===0&&this._tryToEndSpan(e,t.hrTimeLastTimeout))}_getCurrentSpan(e){let t=e.get(Ba);return t&&f.getSpan(t)}_incrementTask(e){let t=this._spansData.get(e);t&&t.taskCount++}addPatchedListener(e,t,n,r){let i=this._wrappedListeners.get(n);i||(i=new Map,this._wrappedListeners.set(n,i));let a=i.get(t);return a||(a=new Map,i.set(t,a)),a.has(e)?!1:(a.set(e,r),!0)}removePatchedListener(e,t,n){let r=this._wrappedListeners.get(n);if(!r)return;let i=r.get(t);if(!i)return;let a=i.get(e);return a&&(i.delete(e),i.size===0&&(r.delete(t),r.size===0&&this._wrappedListeners.delete(n))),a}_invokeListener(e,t,n){return typeof e==`function`?e.apply(t,n):e.handleEvent(n[0])}_patchAddEventListener(){let e=this;return t=>function(n,r,i){if(!r)return t.call(this,n,r,i);let a=i&&typeof i==`object`&&i.once,o=function(...t){let i,o=t[0],s=o?.target;o&&(i=e._eventsSpanMap.get(o)),a&&e.removePatchedListener(this,n,r);let c=e._createSpan(s,n,i);return c?(o&&e._eventsSpanMap.set(o,c),h.with(f.setSpan(h.active(),c),()=>{let n=e._invokeListener(r,this,t);return c.end(),n})):e._invokeListener(r,this,t)};if(e.addPatchedListener(this,n,r,o))return t.call(this,n,o,i)}}_patchRemoveEventListener(){let e=this;return t=>function(n,r,i){let a=e.removePatchedListener(this,n,r);return a?t.call(this,n,a,i):t.call(this,n,r,i)}}_getPatchableEventTargets(){return window.EventTarget?[EventTarget.prototype]:[Node.prototype,Window.prototype]}_patchHistoryApi(){this._unpatchHistoryApi(),this._wrap(history,`replaceState`,this._patchHistoryMethod()),this._wrap(history,`pushState`,this._patchHistoryMethod()),this._wrap(history,`back`,this._patchHistoryMethod()),this._wrap(history,`forward`,this._patchHistoryMethod()),this._wrap(history,`go`,this._patchHistoryMethod())}_patchHistoryMethod(){let e=this;return t=>function(...n){let r=`${location.pathname}${location.hash}${location.search}`,i=t.apply(this,n),a=`${location.pathname}${location.hash}${location.search}`;return r!==a&&e._updateInteractionName(a),i}}_unpatchHistoryApi(){L(history.replaceState)&&this._unwrap(history,`replaceState`),L(history.pushState)&&this._unwrap(history,`pushState`),L(history.back)&&this._unwrap(history,`back`),L(history.forward)&&this._unwrap(history,`forward`),L(history.go)&&this._unwrap(history,`go`)}_updateInteractionName(e){let t=f.getSpan(h.active());t&&typeof t.updateName==`function`&&t.updateName(`${Va} ${e}`)}_patchZoneCancelTask(){let e=this;return t=>function(n){let r=Zone.current,i=e._getCurrentSpan(r);return i&&e._shouldCountTask(n,r)&&e._decrementTask(i),t.call(this,n)}}_patchZoneScheduleTask(){let e=this;return t=>function(n){let r=Zone.current,i=e._getCurrentSpan(r);return i&&e._shouldCountTask(n,r)&&(e._incrementTask(i),e._checkForTimeout(n,i)),t.call(this,n)}}_patchZoneRunTask(){let e=this;return t=>function(n,r,i){let a=(Array.isArray(i)&&i[0]instanceof Event?i[0]:void 0)?.target,o,s=this;if(a){if(o=e._createSpan(a,n.eventName),o)return e._incrementTask(o),s.run(()=>{try{return h.with(f.setSpan(h.active(),o),()=>{let e=Zone.current;return n._zone=e,t.call(e,n,r,i)})}finally{e._decrementTask(o)}})}else o=e._getCurrentSpan(s);try{return t.call(s,n,r,i)}finally{o&&e._shouldCountTask(n,s)&&e._decrementTask(o)}}}_shouldCountTask(e,t){if(e._zone&&(t=e._zone),!t||!e.data||e.data.isPeriodic)return!1;let n=this._getCurrentSpan(t);return!n||!this._spansData.get(n)?!1:e.type===`macroTask`||e.type===`microTask`}_tryToEndSpan(e,t){e&&this._spansData.get(e)&&(e.end(t),this._spansData.delete(e))}enable(){let e=this._getZoneWithPrototype();this._diag.debug(`applying patch to`,this.moduleName,this.version,`zone:`,!!e),e?(L(e.prototype.runTask)&&(this._unwrap(e.prototype,`runTask`),this._diag.debug(`removing previous patch from method runTask`)),L(e.prototype.scheduleTask)&&(this._unwrap(e.prototype,`scheduleTask`),this._diag.debug(`removing previous patch from method scheduleTask`)),L(e.prototype.cancelTask)&&(this._unwrap(e.prototype,`cancelTask`),this._diag.debug(`removing previous patch from method cancelTask`)),this._zonePatched=!0,this._wrap(e.prototype,`runTask`,this._patchZoneRunTask()),this._wrap(e.prototype,`scheduleTask`,this._patchZoneScheduleTask()),this._wrap(e.prototype,`cancelTask`,this._patchZoneCancelTask())):(this._zonePatched=!1,this._getPatchableEventTargets().forEach(e=>{L(e.addEventListener)&&(this._unwrap(e,`addEventListener`),this._diag.debug(`removing previous patch from method addEventListener`)),L(e.removeEventListener)&&(this._unwrap(e,`removeEventListener`),this._diag.debug(`removing previous patch from method removeEventListener`)),this._wrap(e,`addEventListener`,this._patchAddEventListener()),this._wrap(e,`removeEventListener`,this._patchRemoveEventListener())})),this._patchHistoryApi()}disable(){let e=this._getZoneWithPrototype();this._diag.debug(`removing patch from`,this.moduleName,this.version,`zone:`,!!e),e&&this._zonePatched?(L(e.prototype.runTask)&&this._unwrap(e.prototype,`runTask`),L(e.prototype.scheduleTask)&&this._unwrap(e.prototype,`scheduleTask`),L(e.prototype.cancelTask)&&this._unwrap(e.prototype,`cancelTask`)):this._getPatchableEventTargets().forEach(e=>{L(e.addEventListener)&&this._unwrap(e,`addEventListener`),L(e.removeEventListener)&&this._unwrap(e,`removeEventListener`)}),this._unpatchHistoryApi()}_getZoneWithPrototype(){return window.Zone}},Ga=`open-knowledge-app`,Ka=!1;function qa(){return{BASE_URL:`./`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1,VITE_APP_VERSION:`0.67.2`}?.VITE_OTEL_COLLECTOR_URL??`http://localhost:14318`}function Ja(){if(Ka)return;Ka=!0;let e=null,t=!1;try{let n=qa(),r={BASE_URL:`./`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1,VITE_APP_VERSION:`0.67.2`};e=new Ri({resource:Hr({[ft]:`open-knowledge-app`,[pt]:r?.VITE_APP_VERSION??`dev`,[nt]:r?.MODE??`dev`}),spanProcessors:[new Pi(new xr({url:`${n}/v1/traces`}),{maxExportBatchSize:50,scheduledDelayMillis:2e3})]}),e.register(),t=!0,Mr({instrumentations:[new Zi,new Wa({eventNames:[`click`,`submit`]}),new La({propagateTraceHeaderCorsUrls:[/^https?:\/\/localhost(:\d+)?\/api\//,/^https?:\/\/127\.0\.0\.1(:\d+)?\/api\//,/^\/api\//],clearTimingResources:!0})]}),console.info(`[otel] frontend telemetry initialized — OTLP/HTTP → ${n}/v1/traces`)}catch(n){console.warn(`[otel] frontend telemetry init failed — continuing without`,n),t&&e&&e.shutdown().catch(()=>{}),Ka=!1}}function Ya(){return f.getTracer(Ga)}export{Ya as getAppTracer,Ja as install};