docmedown 0.1.7 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (304) hide show
  1. package/LICENSE +201 -21
  2. package/README.md +86 -37
  3. package/dist/architecture-7GRP2DOG-B8Xs9IfY.mjs +2 -0
  4. package/dist/architecture-7GRP2DOG-Vdsw7WC7.js +1 -0
  5. package/dist/cli.js +672 -1294
  6. package/dist/cynefin-OW5HDTMX-DU6kwwck.js +1 -0
  7. package/dist/cynefin-OW5HDTMX-F0P2M_lQ.mjs +2 -0
  8. package/dist/docmedown-compiler.js +228 -0
  9. package/dist/docmedown-mermaid.js +3588 -0
  10. package/dist/docmedown.cjs +7264 -80
  11. package/dist/docmedown.iife.js +7624 -424
  12. package/dist/docmedown.mjs +15531 -15009
  13. package/dist/docmedown.web.js +7628 -0
  14. package/dist/eventmodeling-NTZA5JFV-D58ICByZ.js +1 -0
  15. package/dist/eventmodeling-NTZA5JFV-SxxTo5cJ.mjs +2 -0
  16. package/dist/gitGraph-4MIJSDKK-C_R2a4aQ.mjs +2 -0
  17. package/dist/gitGraph-4MIJSDKK-CdMj8HJ8.js +1 -0
  18. package/dist/info-A6RAGUB7-CG4UBCfn.js +1 -0
  19. package/dist/info-A6RAGUB7-DmjQlHTj.mjs +2 -0
  20. package/dist/mermaid-BvOI3ZSW.js +3334 -0
  21. package/dist/mermaid-Cx9uSfoz.mjs +116948 -0
  22. package/dist/packet-AYTQ26CC-CMuoEJn0.js +1 -0
  23. package/dist/packet-AYTQ26CC-tdMo_iPL.mjs +2 -0
  24. package/dist/pie-WAS4IAKB-C1hjX8y0.js +1 -0
  25. package/dist/pie-WAS4IAKB-DG2Bio1G.mjs +2 -0
  26. package/dist/prism-CeBRmKvl.js +2 -0
  27. package/dist/prism-CummdiZX.mjs +1588 -0
  28. package/dist/radar-RG4KPBEZ-DHxYOB0f.mjs +2 -0
  29. package/dist/radar-RG4KPBEZ-Dvyo3gdA.js +1 -0
  30. package/dist/railroad-74A4TZTK-1sb9Z_QQ.js +1 -0
  31. package/dist/railroad-74A4TZTK-CwztrSkE.mjs +2 -0
  32. package/dist/railroad-abnf-HS5TGJTU-4264fZjH.js +1 -0
  33. package/dist/railroad-abnf-HS5TGJTU-BKCsR9iC.mjs +2 -0
  34. package/dist/railroad-ebnf-LZEXJU2U-BXErl5kO.js +1 -0
  35. package/dist/railroad-ebnf-LZEXJU2U-DzDOfuxK.mjs +2 -0
  36. package/dist/railroad-peg-WCYAUIDC-B6gNHamV.mjs +2 -0
  37. package/dist/railroad-peg-WCYAUIDC-D7pSwRGa.js +1 -0
  38. package/dist/rolldown-runtime-B0aSnxlc.mjs +20 -0
  39. package/dist/rolldown-runtime-DF3sbh8G.js +1 -0
  40. package/dist/svelte-compiler-loader-Deqbdbvf.js +1 -0
  41. package/dist/svelte-compiler-loader-DtYQgEKV.mjs +50 -0
  42. package/dist/svelte-runtime-Brc440dp.js +5 -0
  43. package/dist/svelte-runtime-CgCk_bw1.mjs +40 -0
  44. package/dist/treeView-Q6P3EWNA-DArM8kFH.mjs +2 -0
  45. package/dist/treeView-Q6P3EWNA-JstiGzov.js +1 -0
  46. package/dist/treemap-WGGIJYW6-CMIcmEVN.mjs +2 -0
  47. package/dist/treemap-WGGIJYW6-Dq6fFckz.js +1 -0
  48. package/dist/ts-compiler-BMDmcNn5.mjs +93 -0
  49. package/dist/ts-compiler-U7pTMJjY.js +3 -0
  50. package/dist/types/runtime/bridges/dynamic-component.d.ts +43 -0
  51. package/dist/types/runtime/bridges/element-bridge.d.ts +24 -0
  52. package/dist/types/runtime/bridges/index.d.ts +3 -0
  53. package/dist/types/runtime/bridges/react-bridge.d.ts +35 -0
  54. package/dist/types/runtime/compiler-cache.d.ts +18 -0
  55. package/dist/types/runtime/config-schema.d.ts +2 -0
  56. package/dist/types/runtime/favicons.d.ts +28 -0
  57. package/dist/types/runtime/loader/local-loader.d.ts +13 -0
  58. package/dist/types/runtime/markdown/component-body.d.ts +7 -0
  59. package/dist/types/runtime/markdown/escape.d.ts +1 -0
  60. package/dist/types/runtime/markdown/highlighter.d.ts +32 -6
  61. package/dist/types/runtime/markdown/katex.d.ts +5 -0
  62. package/dist/types/runtime/markdown/mermaid-engine.d.ts +1 -0
  63. package/dist/types/runtime/markdown/mermaid-loader.d.ts +19 -0
  64. package/dist/types/runtime/markdown/mermaid.d.ts +6 -0
  65. package/dist/types/runtime/markdown/tables.d.ts +68 -0
  66. package/dist/types/runtime/media.d.ts +30 -0
  67. package/dist/types/runtime/motion.d.ts +134 -0
  68. package/dist/types/runtime/offline-export.d.ts +9 -2
  69. package/dist/types/runtime/router.d.ts +40 -2
  70. package/dist/types/runtime/splash.d.ts +90 -0
  71. package/dist/types/runtime/svelte-compiler-engine.d.ts +1 -0
  72. package/dist/types/runtime/svelte-compiler-loader.d.ts +14 -0
  73. package/dist/types/runtime/svelte-runtime.d.ts +29 -0
  74. package/dist/types/runtime/svelte-tag.d.ts +7 -0
  75. package/dist/types/runtime/ts-compiler.d.ts +24 -0
  76. package/dist/types/runtime/types.d.ts +1 -0
  77. package/dist/types/ui/doc-context.svelte.d.ts +198 -0
  78. package/dist/types/ui/index.d.ts +33 -0
  79. package/dist/types/ui/registry.d.ts +52 -0
  80. package/dist/types/ui/theme.svelte.d.ts +32 -0
  81. package/dist/wardley-WFR3VGLG-BK9BA6h6.mjs +2 -0
  82. package/dist/wardley-WFR3VGLG-Cbs7W-dU.js +1 -0
  83. package/package.json +61 -48
  84. package/schemas/docs.schema.json +186 -181
  85. package/templates/.dmd/CounterWidget.svelte +29 -0
  86. package/templates/README.md +2 -2
  87. package/templates/favicon.svg +12 -0
  88. package/templates/favicons/favicon-book.svg +11 -0
  89. package/templates/favicons/favicon-markdown.svg +11 -0
  90. package/templates/favicons/favicon-minimal.svg +15 -0
  91. package/templates/favicons/favicon-terminal.svg +14 -0
  92. package/templates/favicons/favicon.svg +12 -0
  93. package/templates/guides/custom-components.md +82 -22
  94. package/templates/index.html +6 -3
  95. package/dist/abnfDiagram-VCTEODGH-CtQBp0Qv.mjs +0 -89
  96. package/dist/abnfDiagram-VCTEODGH-mccrzlD_.js +0 -1
  97. package/dist/arc-DgPKXEdT.mjs +0 -82
  98. package/dist/arc-n7TW7Bis.js +0 -1
  99. package/dist/architecture-7GRP2DOG-B7myQ46f.js +0 -1
  100. package/dist/architecture-7GRP2DOG-Cxj1ussQ.mjs +0 -3
  101. package/dist/architectureDiagram-5GKGNRK7-BdTCu5T3.js +0 -36
  102. package/dist/architectureDiagram-5GKGNRK7-CkgZa-G1.mjs +0 -4154
  103. package/dist/array-CApNbSU9.mjs +0 -6
  104. package/dist/array-DZSRzHA_.js +0 -1
  105. package/dist/blockDiagram-I7D4REHJ-CSYvpxQw.js +0 -129
  106. package/dist/blockDiagram-I7D4REHJ-CYngfPD9.mjs +0 -1922
  107. package/dist/c4Diagram-7LVT6UL2-B-sz5MUK.js +0 -38
  108. package/dist/c4Diagram-7LVT6UL2-DEzxFf2b.mjs +0 -3010
  109. package/dist/channel-LgHproiI.mjs +0 -5
  110. package/dist/channel-yqu0m4cl.js +0 -1
  111. package/dist/chunk-2E4U76K2-BOyeRQsI.js +0 -1
  112. package/dist/chunk-2E4U76K2-CoTrgtfg.mjs +0 -348
  113. package/dist/chunk-2Q5K7J3B-D4EgYPOq.mjs +0 -15
  114. package/dist/chunk-2Q5K7J3B-DhjCNjaM.js +0 -1
  115. package/dist/chunk-4HAMMTFA-GFyfmcSO.js +0 -62
  116. package/dist/chunk-4HAMMTFA-VgWPe1ng.mjs +0 -4188
  117. package/dist/chunk-5VM5RSS4-GINalzIv.js +0 -15
  118. package/dist/chunk-5VM5RSS4-TqxtqrwE.mjs +0 -5
  119. package/dist/chunk-75Z2AOVW-DYouz5MZ.js +0 -2
  120. package/dist/chunk-75Z2AOVW-Dz0Sko9Y.mjs +0 -1330
  121. package/dist/chunk-CLGD4ZFX-C5J-e2io.js +0 -1
  122. package/dist/chunk-CLGD4ZFX-DBkwyMMv.mjs +0 -14
  123. package/dist/chunk-DU6HZSFF-BEQZSmUu.mjs +0 -3836
  124. package/dist/chunk-DU6HZSFF-CWc5ewtb.js +0 -127
  125. package/dist/chunk-F27PBJKO-8jvY_jJK.js +0 -1
  126. package/dist/chunk-F27PBJKO-DFH3sRZG.mjs +0 -61
  127. package/dist/chunk-FOHPRMQF-LRqOLsSw.mjs +0 -21456
  128. package/dist/chunk-FOHPRMQF-tmTlwTeH.js +0 -161
  129. package/dist/chunk-GMAD6QVW-BZeZ4fdb.mjs +0 -1863
  130. package/dist/chunk-GMAD6QVW-DEQiTa0c.js +0 -72
  131. package/dist/chunk-GVQU2GXP-B1D3J05J.mjs +0 -37
  132. package/dist/chunk-GVQU2GXP-CdJIWN41.js +0 -1
  133. package/dist/chunk-IMKFNOWR-BmZb9U1f.mjs +0 -2042
  134. package/dist/chunk-IMKFNOWR-CPJsszGN.js +0 -231
  135. package/dist/chunk-JWPE2WC7-DIKiF5cm.mjs +0 -8
  136. package/dist/chunk-JWPE2WC7-p1fYVdYc.js +0 -1
  137. package/dist/chunk-L3NEJ4N5-TzDiVs78.js +0 -1
  138. package/dist/chunk-L3NEJ4N5-lal8wUID.mjs +0 -245
  139. package/dist/chunk-LNGE3PJU-BQX75wkM.js +0 -34
  140. package/dist/chunk-LNGE3PJU-DJ9JuXV6.mjs +0 -1521
  141. package/dist/chunk-OSK3NFVY-9AWK88m1.mjs +0 -672
  142. package/dist/chunk-OSK3NFVY-CHzvVe8m.js +0 -10
  143. package/dist/chunk-P2QGCYS3-6q3AXPt5.mjs +0 -67
  144. package/dist/chunk-P2QGCYS3-DKZzpRQW.js +0 -1
  145. package/dist/chunk-POPQ4Y6H-Dd7J9tx3.mjs +0 -26
  146. package/dist/chunk-POPQ4Y6H-T5C7wpjf.js +0 -1
  147. package/dist/chunk-PWAF6VOD-BYG76tEe.mjs +0 -275
  148. package/dist/chunk-PWAF6VOD-DxZLuCEw.js +0 -1
  149. package/dist/chunk-SHT3W25Y-B2Wes8jn.mjs +0 -4183
  150. package/dist/chunk-SHT3W25Y-BQjHSn5K.js +0 -168
  151. package/dist/chunk-SVP7TREG-BFMd615E.js +0 -88
  152. package/dist/chunk-SVP7TREG-CynckzeF.mjs +0 -490
  153. package/dist/chunk-TICWLB2K-BfCuoR1V.mjs +0 -3357
  154. package/dist/chunk-TICWLB2K-agcyBfUp.js +0 -206
  155. package/dist/chunk-TLUHSLCS-CUrWaKDG.mjs +0 -59
  156. package/dist/chunk-TLUHSLCS-Drx_a7am.js +0 -1
  157. package/dist/chunk-XXDRQBXY-AAk1-Cyg.js +0 -1
  158. package/dist/chunk-XXDRQBXY-DpR8eYzz.mjs +0 -9
  159. package/dist/chunk-Y2CYZVJY-CnmLqFtv.js +0 -1
  160. package/dist/chunk-Y2CYZVJY-i11wjrBe.mjs +0 -12
  161. package/dist/classDiagram-ZZMXUADV-B7IN9zcX.js +0 -1
  162. package/dist/classDiagram-ZZMXUADV-tcy6gxSB.mjs +0 -30
  163. package/dist/classDiagram-v2-VYDZK3BY-B7IN9zcX.js +0 -1
  164. package/dist/classDiagram-v2-VYDZK3BY-D5wM6Acp.mjs +0 -30
  165. package/dist/cose-bilkent-JH36ORCC-DBUPO3qJ.js +0 -1
  166. package/dist/cose-bilkent-JH36ORCC-Slpx4WIt.mjs +0 -2253
  167. package/dist/cynefin-OW5HDTMX--QVnfGi1.mjs +0 -3
  168. package/dist/cynefin-OW5HDTMX-lNKysi7S.js +0 -1
  169. package/dist/cynefinDiagram-5FMLGOSQ-CsFONYqx.js +0 -62
  170. package/dist/cynefinDiagram-5FMLGOSQ-DsrxYBcg.mjs +0 -355
  171. package/dist/cytoscape.esm-C5TvPYYm.mjs +0 -18148
  172. package/dist/cytoscape.esm-CBmWJr5M.js +0 -321
  173. package/dist/dagre-CZ6P9L_h.js +0 -1
  174. package/dist/dagre-GXQ25YYZ-CQszk-7P.js +0 -4
  175. package/dist/dagre-GXQ25YYZ-ecYByRSn.mjs +0 -425
  176. package/dist/dagre-J_1oH0eY.mjs +0 -1934
  177. package/dist/defaultLocale-N-0uLSyg.mjs +0 -198
  178. package/dist/defaultLocale-ybN1Vtvg.js +0 -1
  179. package/dist/diagram-S7CK7UJ4-CTMvxX__.js +0 -30
  180. package/dist/diagram-S7CK7UJ4-DxCghfa-.mjs +0 -301
  181. package/dist/diagram-UQ7AKVKN-1viEkqlG.js +0 -41
  182. package/dist/diagram-UQ7AKVKN-BA7Z_oB7.mjs +0 -214
  183. package/dist/diagram-VSXAHHWV-DgVT19mq.js +0 -3
  184. package/dist/diagram-VSXAHHWV-Dtqo03M5.mjs +0 -432
  185. package/dist/diagram-VX7I27RA-CNw0pOX_.js +0 -24
  186. package/dist/diagram-VX7I27RA-GMPRt8Zh.mjs +0 -527
  187. package/dist/diagram-Z3DM3KII-C6XdQK_Q.mjs +0 -134
  188. package/dist/diagram-Z3DM3KII-CPkBr3FT.js +0 -24
  189. package/dist/dist-CXWJafG_.js +0 -1
  190. package/dist/dist-DNdLIC8h.mjs +0 -59
  191. package/dist/ebnfDiagram-PWID7BFC-CseVsyL3.js +0 -1
  192. package/dist/ebnfDiagram-PWID7BFC-D_dBDXWC.mjs +0 -100
  193. package/dist/erDiagram-RLTQ6QDP-DFwfQTRS.js +0 -99
  194. package/dist/erDiagram-RLTQ6QDP-DP7ddGMH.mjs +0 -1966
  195. package/dist/eventmodeling-NTZA5JFV-CzxVg0l5.js +0 -1
  196. package/dist/eventmodeling-NTZA5JFV-Djsy__5n.mjs +0 -3
  197. package/dist/flowDiagram-HODETNUW-7hSJfI3W.js +0 -1
  198. package/dist/flowDiagram-HODETNUW-Dqu5Lr19.mjs +0 -17
  199. package/dist/ganttDiagram-EL5Y4UJY-KNL3tzTD.mjs +0 -3072
  200. package/dist/ganttDiagram-EL5Y4UJY-aiLqNWgi.js +0 -292
  201. package/dist/gitGraph-4MIJSDKK-DnElfqX7.js +0 -1
  202. package/dist/gitGraph-4MIJSDKK-xuKJBT2e.mjs +0 -3
  203. package/dist/gitGraphDiagram-WWUBYQGX-D4gSo_-e.js +0 -106
  204. package/dist/gitGraphDiagram-WWUBYQGX-Dooss5fG.mjs +0 -733
  205. package/dist/graphlib-BaETKKSa.js +0 -1
  206. package/dist/graphlib-XW-Jr8pF.mjs +0 -1267
  207. package/dist/info-A6RAGUB7-ClYskpn6.mjs +0 -3
  208. package/dist/info-A6RAGUB7-DDvvt-fW.js +0 -1
  209. package/dist/infoDiagram-27XIBGKW-B2-y2mdQ.mjs +0 -20
  210. package/dist/infoDiagram-27XIBGKW-DYQ9NzfL.js +0 -2
  211. package/dist/init-BJdqMO10.js +0 -1
  212. package/dist/init-CsQUQz36.mjs +0 -13
  213. package/dist/ishikawaDiagram-5VMMS53U-ULIhoYO5.js +0 -70
  214. package/dist/ishikawaDiagram-5VMMS53U-xAArNh-1.mjs +0 -719
  215. package/dist/journeyDiagram-3NMN7TZE-BBMYNZRL.js +0 -139
  216. package/dist/journeyDiagram-3NMN7TZE-BH-uKqP7.mjs +0 -884
  217. package/dist/kanban-definition-UXKFOSKX-Be49llXr.mjs +0 -976
  218. package/dist/kanban-definition-UXKFOSKX-CDL5yJkq.js +0 -89
  219. package/dist/line-BEwhHSLl.js +0 -1
  220. package/dist/line-CiXRog8O.mjs +0 -34
  221. package/dist/linear-75tfjrny.js +0 -1
  222. package/dist/linear-Ncx_RuON.mjs +0 -288
  223. package/dist/mermaid-parser.core-BBApyu_y.js +0 -6
  224. package/dist/mermaid-parser.core-BRHibdUE.mjs +0 -638
  225. package/dist/mindmap-definition-YA3MSWOX-Chy7XP_5.mjs +0 -1006
  226. package/dist/mindmap-definition-YA3MSWOX-DOda-fkL.js +0 -96
  227. package/dist/ordinal-B1BNQwUR.mjs +0 -65
  228. package/dist/ordinal-B9aFWmF9.js +0 -1
  229. package/dist/packet-AYTQ26CC-CorIy9Ul.js +0 -1
  230. package/dist/packet-AYTQ26CC-DWH8gXJK.mjs +0 -3
  231. package/dist/path-CnWkkRiY.mjs +0 -84
  232. package/dist/path-DIS6ck99.js +0 -1
  233. package/dist/pegDiagram-XKGWAZYB-Cdw6MeON.js +0 -1
  234. package/dist/pegDiagram-XKGWAZYB-uNfxRaq1.mjs +0 -94
  235. package/dist/pie-WAS4IAKB-Cn5eK-5P.mjs +0 -3
  236. package/dist/pie-WAS4IAKB-D84xrSoY.js +0 -1
  237. package/dist/pieDiagram-E7YTZNPT-Bd6mvpJw.js +0 -39
  238. package/dist/pieDiagram-E7YTZNPT-Cczo96a2.mjs +0 -203
  239. package/dist/quadrantDiagram-AXDQQJYC-BPfgvMsS.js +0 -7
  240. package/dist/quadrantDiagram-AXDQQJYC-eqRNtVRl.mjs +0 -2001
  241. package/dist/radar-RG4KPBEZ-DvkxGdO6.mjs +0 -3
  242. package/dist/radar-RG4KPBEZ-R2sQOLL9.js +0 -1
  243. package/dist/railroad-74A4TZTK-BOZIf6ts.js +0 -1
  244. package/dist/railroad-74A4TZTK-CrQzn8Nm.mjs +0 -3
  245. package/dist/railroad-abnf-HS5TGJTU-BZYetxLz.mjs +0 -3
  246. package/dist/railroad-abnf-HS5TGJTU-CXU1aC4B.js +0 -1
  247. package/dist/railroad-ebnf-LZEXJU2U-D29kI3YW.js +0 -1
  248. package/dist/railroad-ebnf-LZEXJU2U-qgzTOmN6.mjs +0 -3
  249. package/dist/railroad-peg-WCYAUIDC-Bjs9Ws3P.mjs +0 -3
  250. package/dist/railroad-peg-WCYAUIDC-CXviP0hz.js +0 -1
  251. package/dist/railroadDiagram-O6MQD6OU-58kvwt7H.mjs +0 -76
  252. package/dist/railroadDiagram-O6MQD6OU-CKY3uzTc.js +0 -1
  253. package/dist/requirementDiagram-BXWQKSXE-0hZ04Q6h.js +0 -84
  254. package/dist/requirementDiagram-BXWQKSXE-CS673B5n.mjs +0 -2224
  255. package/dist/rough.esm-ChRLLRha.js +0 -1
  256. package/dist/rough.esm-DXYGHN3m.mjs +0 -1361
  257. package/dist/sankeyDiagram-P5KCCOFB-D1D6HfAM.mjs +0 -972
  258. package/dist/sankeyDiagram-P5KCCOFB-ciJb9Zr8.js +0 -40
  259. package/dist/sequenceDiagram-WJ2MYXX4-BXEznuI6.js +0 -162
  260. package/dist/sequenceDiagram-WJ2MYXX4-CI1VT8AG.mjs +0 -4156
  261. package/dist/sizeCapture-INFHLROL-BihkCH-7.js +0 -1
  262. package/dist/sizeCapture-INFHLROL-BmxqyOLj.mjs +0 -46
  263. package/dist/src-B4mN2BMl.js +0 -1
  264. package/dist/src-D_hsMyeP.mjs +0 -2154
  265. package/dist/stateDiagram-D77RDMKH-BQrSs72W.mjs +0 -220
  266. package/dist/stateDiagram-D77RDMKH-D2PtkW2U.js +0 -1
  267. package/dist/stateDiagram-v2-MP3YSRHH-CCbvNfk-.mjs +0 -30
  268. package/dist/stateDiagram-v2-MP3YSRHH-Dq1QuPeN.js +0 -1
  269. package/dist/swimlanes-42K2YHIH-CA316NPm.mjs +0 -4979
  270. package/dist/swimlanes-42K2YHIH-DlggBCTy.js +0 -1
  271. package/dist/swimlanesDiagram-VR7AAH4N-BV9PEIoG.js +0 -8
  272. package/dist/swimlanesDiagram-VR7AAH4N-BfrOCfdf.mjs +0 -31
  273. package/dist/timeline-definition-24CTP7MA-Bkd8rWNJ.js +0 -120
  274. package/dist/timeline-definition-24CTP7MA-BvkqNYt1.mjs +0 -1069
  275. package/dist/treeView-Q6P3EWNA-Aof3Cp1M.mjs +0 -3
  276. package/dist/treeView-Q6P3EWNA-BTzvdwbb.js +0 -1
  277. package/dist/treemap-WGGIJYW6-BNXGg99p.mjs +0 -3
  278. package/dist/treemap-WGGIJYW6-DfR4P2Hh.js +0 -1
  279. package/dist/types/runtime/app.d.ts +0 -9
  280. package/dist/types/runtime/components/AppearanceMenu.d.ts +0 -2
  281. package/dist/types/runtime/components/Builtins.d.ts +0 -44
  282. package/dist/types/runtime/components/Content.d.ts +0 -2
  283. package/dist/types/runtime/components/DmdRegistry.d.ts +0 -19
  284. package/dist/types/runtime/components/Layout.d.ts +0 -2
  285. package/dist/types/runtime/components/MermaidDiagram.d.ts +0 -16
  286. package/dist/types/runtime/components/Navbar.d.ts +0 -2
  287. package/dist/types/runtime/components/OfflineDownloadButton.d.ts +0 -2
  288. package/dist/types/runtime/components/OfflineNotice.d.ts +0 -6
  289. package/dist/types/runtime/components/Sidebar.d.ts +0 -2
  290. package/dist/types/runtime/components/TableOfContents.d.ts +0 -8
  291. package/dist/types/runtime/index.d.ts +0 -8
  292. package/dist/types/runtime/markdown/renderer.d.ts +0 -7
  293. package/dist/types/runtime/provider/DocProvider.d.ts +0 -40
  294. package/dist/types/runtime/provider/ThemeProvider.d.ts +0 -25
  295. package/dist/types/runtime/search/SearchModal.d.ts +0 -11
  296. package/dist/vennDiagram-4TSXK5OY-BOUFXjso.js +0 -34
  297. package/dist/vennDiagram-4TSXK5OY-CeOg3-hU.mjs +0 -1880
  298. package/dist/wardley-WFR3VGLG-BOYcSLd1.mjs +0 -3
  299. package/dist/wardley-WFR3VGLG-DWDqJSgm.js +0 -1
  300. package/dist/wardleyDiagram-VM6X3IG4-BhWgMjFr.js +0 -78
  301. package/dist/wardleyDiagram-VM6X3IG4-C31KoRmF.mjs +0 -645
  302. package/dist/xychartDiagram-S5SC5T6Z-1yU8zz6I.js +0 -7
  303. package/dist/xychartDiagram-S5SC5T6Z-BK7upFom.mjs +0 -2210
  304. package/templates/.dmd/components.js +0 -25
@@ -1,2154 +0,0 @@
1
- import { n as e } from "./chunk-Y2CYZVJY-i11wjrBe.mjs";
2
- //#region \0rolldown/runtime.js
3
- var t = Object.create, n = Object.defineProperty, r = Object.getOwnPropertyDescriptor, i = Object.getOwnPropertyNames, a = Object.getPrototypeOf, o = Object.prototype.hasOwnProperty, s = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), c = (e, t) => {
4
- let r = {};
5
- for (var i in e) n(r, i, {
6
- get: e[i],
7
- enumerable: !0
8
- });
9
- return t || n(r, Symbol.toStringTag, { value: "Module" }), r;
10
- }, l = (e, t, a, s) => {
11
- if (t && typeof t == "object" || typeof t == "function") for (var c = i(t), l = 0, u = c.length, d; l < u; l++) d = c[l], !o.call(e, d) && d !== a && n(e, d, {
12
- get: ((e) => t[e]).bind(null, d),
13
- enumerable: !(s = r(t, d)) || s.enumerable
14
- });
15
- return e;
16
- }, u = (e, r, i) => (i = e == null ? {} : t(a(e)), l(r || !e || !e.__esModule || !o.call(e, "default") ? n(i, "default", {
17
- value: e,
18
- enumerable: !0
19
- }) : i, e)), d = /* @__PURE__ */ s(((e, t) => {
20
- (function(n, r) {
21
- typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs = r();
22
- })(e, (function() {
23
- var e = 1e3, t = 6e4, n = 36e5, r = "millisecond", i = "second", a = "minute", o = "hour", s = "day", c = "week", l = "month", u = "quarter", d = "year", f = "date", p = "Invalid Date", m = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, h = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, g = {
24
- name: "en",
25
- weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
26
- months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
27
- ordinal: function(e) {
28
- var t = [
29
- "th",
30
- "st",
31
- "nd",
32
- "rd"
33
- ], n = e % 100;
34
- return "[" + e + (t[(n - 20) % 10] || t[n] || t[0]) + "]";
35
- }
36
- }, _ = function(e, t, n) {
37
- var r = String(e);
38
- return !r || r.length >= t ? e : "" + Array(t + 1 - r.length).join(n) + e;
39
- }, v = {
40
- s: _,
41
- z: function(e) {
42
- var t = -e.utcOffset(), n = Math.abs(t), r = Math.floor(n / 60), i = n % 60;
43
- return (t <= 0 ? "+" : "-") + _(r, 2, "0") + ":" + _(i, 2, "0");
44
- },
45
- m: function e(t, n) {
46
- if (t.date() < n.date()) return -e(n, t);
47
- var r = 12 * (n.year() - t.year()) + (n.month() - t.month()), i = t.clone().add(r, l), a = n - i < 0, o = t.clone().add(r + (a ? -1 : 1), l);
48
- return +(-(r + (n - i) / (a ? i - o : o - i)) || 0);
49
- },
50
- a: function(e) {
51
- return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
52
- },
53
- p: function(e) {
54
- return {
55
- M: l,
56
- y: d,
57
- w: c,
58
- d: s,
59
- D: f,
60
- h: o,
61
- m: a,
62
- s: i,
63
- ms: r,
64
- Q: u
65
- }[e] || String(e || "").toLowerCase().replace(/s$/, "");
66
- },
67
- u: function(e) {
68
- return e === void 0;
69
- }
70
- }, y = "en", b = {};
71
- b[y] = g;
72
- var ee = "$isDayjsObject", x = function(e) {
73
- return e instanceof T || !(!e || !e[ee]);
74
- }, S = function e(t, n, r) {
75
- var i;
76
- if (!t) return y;
77
- if (typeof t == "string") {
78
- var a = t.toLowerCase();
79
- b[a] && (i = a), n && (b[a] = n, i = a);
80
- var o = t.split("-");
81
- if (!i && o.length > 1) return e(o[0]);
82
- } else {
83
- var s = t.name;
84
- b[s] = t, i = s;
85
- }
86
- return !r && i && (y = i), i || !r && y;
87
- }, C = function(e, t) {
88
- if (x(e)) return e.clone();
89
- var n = typeof t == "object" ? t : {};
90
- return n.date = e, n.args = arguments, new T(n);
91
- }, w = v;
92
- w.l = S, w.i = x, w.w = function(e, t) {
93
- return C(e, {
94
- locale: t.$L,
95
- utc: t.$u,
96
- x: t.$x,
97
- $offset: t.$offset
98
- });
99
- };
100
- var T = function() {
101
- function g(e) {
102
- this.$L = S(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[ee] = !0;
103
- }
104
- var _ = g.prototype;
105
- return _.parse = function(e) {
106
- this.$d = function(e) {
107
- var t = e.date, n = e.utc;
108
- if (t === null) return /* @__PURE__ */ new Date(NaN);
109
- if (w.u(t)) return /* @__PURE__ */ new Date();
110
- if (t instanceof Date) return new Date(t);
111
- if (typeof t == "string" && !/Z$/i.test(t)) {
112
- var r = t.match(m);
113
- if (r) {
114
- var i = r[2] - 1 || 0, a = (r[7] || "0").substring(0, 3);
115
- return n ? new Date(Date.UTC(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, a)) : new Date(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, a);
116
- }
117
- }
118
- return new Date(t);
119
- }(e), this.init();
120
- }, _.init = function() {
121
- var e = this.$d;
122
- this.$y = e.getFullYear(), this.$M = e.getMonth(), this.$D = e.getDate(), this.$W = e.getDay(), this.$H = e.getHours(), this.$m = e.getMinutes(), this.$s = e.getSeconds(), this.$ms = e.getMilliseconds();
123
- }, _.$utils = function() {
124
- return w;
125
- }, _.isValid = function() {
126
- return this.$d.toString() !== p;
127
- }, _.isSame = function(e, t) {
128
- var n = C(e);
129
- return this.startOf(t) <= n && n <= this.endOf(t);
130
- }, _.isAfter = function(e, t) {
131
- return C(e) < this.startOf(t);
132
- }, _.isBefore = function(e, t) {
133
- return this.endOf(t) < C(e);
134
- }, _.$g = function(e, t, n) {
135
- return w.u(e) ? this[t] : this.set(n, e);
136
- }, _.unix = function() {
137
- return Math.floor(this.valueOf() / 1e3);
138
- }, _.valueOf = function() {
139
- return this.$d.getTime();
140
- }, _.startOf = function(e, t) {
141
- var n = this, r = !!w.u(t) || t, u = w.p(e), p = function(e, t) {
142
- var i = w.w(n.$u ? Date.UTC(n.$y, t, e) : new Date(n.$y, t, e), n);
143
- return r ? i : i.endOf(s);
144
- }, m = function(e, t) {
145
- return w.w(n.toDate()[e].apply(n.toDate("s"), (r ? [
146
- 0,
147
- 0,
148
- 0,
149
- 0
150
- ] : [
151
- 23,
152
- 59,
153
- 59,
154
- 999
155
- ]).slice(t)), n);
156
- }, h = this.$W, g = this.$M, _ = this.$D, v = "set" + (this.$u ? "UTC" : "");
157
- switch (u) {
158
- case d: return r ? p(1, 0) : p(31, 11);
159
- case l: return r ? p(1, g) : p(0, g + 1);
160
- case c:
161
- var y = this.$locale().weekStart || 0, b = (h < y ? h + 7 : h) - y;
162
- return p(r ? _ - b : _ + (6 - b), g);
163
- case s:
164
- case f: return m(v + "Hours", 0);
165
- case o: return m(v + "Minutes", 1);
166
- case a: return m(v + "Seconds", 2);
167
- case i: return m(v + "Milliseconds", 3);
168
- default: return this.clone();
169
- }
170
- }, _.endOf = function(e) {
171
- return this.startOf(e, !1);
172
- }, _.$set = function(e, t) {
173
- var n, c = w.p(e), u = "set" + (this.$u ? "UTC" : ""), p = (n = {}, n[s] = u + "Date", n[f] = u + "Date", n[l] = u + "Month", n[d] = u + "FullYear", n[o] = u + "Hours", n[a] = u + "Minutes", n[i] = u + "Seconds", n[r] = u + "Milliseconds", n)[c], m = c === s ? this.$D + (t - this.$W) : t;
174
- if (c === l || c === d) {
175
- var h = this.clone().set(f, 1);
176
- h.$d[p](m), h.init(), this.$d = h.set(f, Math.min(this.$D, h.daysInMonth())).$d;
177
- } else p && this.$d[p](m);
178
- return this.init(), this;
179
- }, _.set = function(e, t) {
180
- return this.clone().$set(e, t);
181
- }, _.get = function(e) {
182
- return this[w.p(e)]();
183
- }, _.add = function(r, u) {
184
- var f, p = this;
185
- r = Number(r);
186
- var m = w.p(u), h = function(e) {
187
- var t = C(p);
188
- return w.w(t.date(t.date() + Math.round(e * r)), p);
189
- };
190
- if (m === l) return this.set(l, this.$M + r);
191
- if (m === d) return this.set(d, this.$y + r);
192
- if (m === s) return h(1);
193
- if (m === c) return h(7);
194
- var g = (f = {}, f[a] = t, f[o] = n, f[i] = e, f)[m] || 1, _ = this.$d.getTime() + r * g;
195
- return w.w(_, this);
196
- }, _.subtract = function(e, t) {
197
- return this.add(-1 * e, t);
198
- }, _.format = function(e) {
199
- var t = this, n = this.$locale();
200
- if (!this.isValid()) return n.invalidDate || p;
201
- var r = e || "YYYY-MM-DDTHH:mm:ssZ", i = w.z(this), a = this.$H, o = this.$m, s = this.$M, c = n.weekdays, l = n.months, u = n.meridiem, d = function(e, n, i, a) {
202
- return e && (e[n] || e(t, r)) || i[n].slice(0, a);
203
- }, f = function(e) {
204
- return w.s(a % 12 || 12, e, "0");
205
- }, m = u || function(e, t, n) {
206
- var r = e < 12 ? "AM" : "PM";
207
- return n ? r.toLowerCase() : r;
208
- };
209
- return r.replace(h, (function(e, r) {
210
- return r || function(e) {
211
- switch (e) {
212
- case "YY": return String(t.$y).slice(-2);
213
- case "YYYY": return w.s(t.$y, 4, "0");
214
- case "M": return s + 1;
215
- case "MM": return w.s(s + 1, 2, "0");
216
- case "MMM": return d(n.monthsShort, s, l, 3);
217
- case "MMMM": return d(l, s);
218
- case "D": return t.$D;
219
- case "DD": return w.s(t.$D, 2, "0");
220
- case "d": return String(t.$W);
221
- case "dd": return d(n.weekdaysMin, t.$W, c, 2);
222
- case "ddd": return d(n.weekdaysShort, t.$W, c, 3);
223
- case "dddd": return c[t.$W];
224
- case "H": return String(a);
225
- case "HH": return w.s(a, 2, "0");
226
- case "h": return f(1);
227
- case "hh": return f(2);
228
- case "a": return m(a, o, !0);
229
- case "A": return m(a, o, !1);
230
- case "m": return String(o);
231
- case "mm": return w.s(o, 2, "0");
232
- case "s": return String(t.$s);
233
- case "ss": return w.s(t.$s, 2, "0");
234
- case "SSS": return w.s(t.$ms, 3, "0");
235
- case "Z": return i;
236
- }
237
- return null;
238
- }(e) || i.replace(":", "");
239
- }));
240
- }, _.utcOffset = function() {
241
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
242
- }, _.diff = function(r, f, p) {
243
- var m, h = this, g = w.p(f), _ = C(r), v = (_.utcOffset() - this.utcOffset()) * t, y = this - _, b = function() {
244
- return w.m(h, _);
245
- };
246
- switch (g) {
247
- case d:
248
- m = b() / 12;
249
- break;
250
- case l:
251
- m = b();
252
- break;
253
- case u:
254
- m = b() / 3;
255
- break;
256
- case c:
257
- m = (y - v) / 6048e5;
258
- break;
259
- case s:
260
- m = (y - v) / 864e5;
261
- break;
262
- case o:
263
- m = y / n;
264
- break;
265
- case a:
266
- m = y / t;
267
- break;
268
- case i:
269
- m = y / e;
270
- break;
271
- default: m = y;
272
- }
273
- return p ? m : w.a(m);
274
- }, _.daysInMonth = function() {
275
- return this.endOf(l).$D;
276
- }, _.$locale = function() {
277
- return b[this.$L];
278
- }, _.locale = function(e, t) {
279
- if (!e) return this.$L;
280
- var n = this.clone(), r = S(e, t, !0);
281
- return r && (n.$L = r), n;
282
- }, _.clone = function() {
283
- return w.w(this.$d, this);
284
- }, _.toDate = function() {
285
- return new Date(this.valueOf());
286
- }, _.toJSON = function() {
287
- return this.isValid() ? this.toISOString() : null;
288
- }, _.toISOString = function() {
289
- return this.$d.toISOString();
290
- }, _.toString = function() {
291
- return this.$d.toUTCString();
292
- }, g;
293
- }(), te = T.prototype;
294
- return C.prototype = te, [
295
- ["$ms", r],
296
- ["$s", i],
297
- ["$m", a],
298
- ["$H", o],
299
- ["$W", s],
300
- ["$M", l],
301
- ["$y", d],
302
- ["$D", f]
303
- ].forEach((function(e) {
304
- te[e[1]] = function(t) {
305
- return this.$g(t, e[0], e[1]);
306
- };
307
- })), C.extend = function(e, t) {
308
- return e.$i ||= (e(t, T, C), !0), C;
309
- }, C.locale = S, C.isDayjs = x, C.unix = function(e) {
310
- return C(1e3 * e);
311
- }, C.en = b[y], C.Ls = b, C.p = {}, C;
312
- }));
313
- })), f = /* @__PURE__ */ u(d(), 1), p = {
314
- trace: 0,
315
- debug: 1,
316
- info: 2,
317
- warn: 3,
318
- error: 4,
319
- fatal: 5
320
- }, m = {
321
- trace: /* @__PURE__ */ e((...e) => {}, "trace"),
322
- debug: /* @__PURE__ */ e((...e) => {}, "debug"),
323
- info: /* @__PURE__ */ e((...e) => {}, "info"),
324
- warn: /* @__PURE__ */ e((...e) => {}, "warn"),
325
- error: /* @__PURE__ */ e((...e) => {}, "error"),
326
- fatal: /* @__PURE__ */ e((...e) => {}, "fatal")
327
- }, h = /* @__PURE__ */ e(function(e = "fatal") {
328
- let t = p.fatal;
329
- typeof e == "string" ? e.toLowerCase() in p && (t = p[e]) : typeof e == "number" && (t = e), m.trace = () => {}, m.debug = () => {}, m.info = () => {}, m.warn = () => {}, m.error = () => {}, m.fatal = () => {}, t <= p.fatal && (m.fatal = console.error ? console.error.bind(console, g("FATAL"), "color: orange") : console.log.bind(console, "\x1B[35m", g("FATAL"))), t <= p.error && (m.error = console.error ? console.error.bind(console, g("ERROR"), "color: orange") : console.log.bind(console, "\x1B[31m", g("ERROR"))), t <= p.warn && (m.warn = console.warn ? console.warn.bind(console, g("WARN"), "color: orange") : console.log.bind(console, "\x1B[33m", g("WARN"))), t <= p.info && (m.info = console.info ? console.info.bind(console, g("INFO"), "color: lightblue") : console.log.bind(console, "\x1B[34m", g("INFO"))), t <= p.debug && (m.debug = console.debug ? console.debug.bind(console, g("DEBUG"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", g("DEBUG"))), t <= p.trace && (m.trace = console.debug ? console.debug.bind(console, g("TRACE"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", g("TRACE")));
330
- }, "setLogLevel"), g = /* @__PURE__ */ e((e) => `%c${(0, f.default)().format("ss.SSS")} : ${e} : `, "format"), _ = { value: () => {} };
331
- function v() {
332
- for (var e = 0, t = arguments.length, n = {}, r; e < t; ++e) {
333
- if (!(r = arguments[e] + "") || r in n || /[\s.]/.test(r)) throw Error("illegal type: " + r);
334
- n[r] = [];
335
- }
336
- return new y(n);
337
- }
338
- function y(e) {
339
- this._ = e;
340
- }
341
- function b(e, t) {
342
- return e.trim().split(/^|\s+/).map(function(e) {
343
- var n = "", r = e.indexOf(".");
344
- if (r >= 0 && (n = e.slice(r + 1), e = e.slice(0, r)), e && !t.hasOwnProperty(e)) throw Error("unknown type: " + e);
345
- return {
346
- type: e,
347
- name: n
348
- };
349
- });
350
- }
351
- y.prototype = v.prototype = {
352
- constructor: y,
353
- on: function(e, t) {
354
- var n = this._, r = b(e + "", n), i, a = -1, o = r.length;
355
- if (arguments.length < 2) {
356
- for (; ++a < o;) if ((i = (e = r[a]).type) && (i = ee(n[i], e.name))) return i;
357
- return;
358
- }
359
- if (t != null && typeof t != "function") throw Error("invalid callback: " + t);
360
- for (; ++a < o;) if (i = (e = r[a]).type) n[i] = x(n[i], e.name, t);
361
- else if (t == null) for (i in n) n[i] = x(n[i], e.name, null);
362
- return this;
363
- },
364
- copy: function() {
365
- var e = {}, t = this._;
366
- for (var n in t) e[n] = t[n].slice();
367
- return new y(e);
368
- },
369
- call: function(e, t) {
370
- if ((i = arguments.length - 2) > 0) for (var n = Array(i), r = 0, i, a; r < i; ++r) n[r] = arguments[r + 2];
371
- if (!this._.hasOwnProperty(e)) throw Error("unknown type: " + e);
372
- for (a = this._[e], r = 0, i = a.length; r < i; ++r) a[r].value.apply(t, n);
373
- },
374
- apply: function(e, t, n) {
375
- if (!this._.hasOwnProperty(e)) throw Error("unknown type: " + e);
376
- for (var r = this._[e], i = 0, a = r.length; i < a; ++i) r[i].value.apply(t, n);
377
- }
378
- };
379
- function ee(e, t) {
380
- for (var n = 0, r = e.length, i; n < r; ++n) if ((i = e[n]).name === t) return i.value;
381
- }
382
- function x(e, t, n) {
383
- for (var r = 0, i = e.length; r < i; ++r) if (e[r].name === t) {
384
- e[r] = _, e = e.slice(0, r).concat(e.slice(r + 1));
385
- break;
386
- }
387
- return n != null && e.push({
388
- name: t,
389
- value: n
390
- }), e;
391
- }
392
- var S = {
393
- svg: "http://www.w3.org/2000/svg",
394
- xhtml: "http://www.w3.org/1999/xhtml",
395
- xlink: "http://www.w3.org/1999/xlink",
396
- xml: "http://www.w3.org/XML/1998/namespace",
397
- xmlns: "http://www.w3.org/2000/xmlns/"
398
- };
399
- //#endregion
400
- //#region node_modules/d3-selection/src/namespace.js
401
- function C(e) {
402
- var t = e += "", n = t.indexOf(":");
403
- return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), S.hasOwnProperty(t) ? {
404
- space: S[t],
405
- local: e
406
- } : e;
407
- }
408
- //#endregion
409
- //#region node_modules/d3-selection/src/creator.js
410
- function w(e) {
411
- return function() {
412
- var t = this.ownerDocument, n = this.namespaceURI;
413
- return n === "http://www.w3.org/1999/xhtml" && t.documentElement.namespaceURI === "http://www.w3.org/1999/xhtml" ? t.createElement(e) : t.createElementNS(n, e);
414
- };
415
- }
416
- function T(e) {
417
- return function() {
418
- return this.ownerDocument.createElementNS(e.space, e.local);
419
- };
420
- }
421
- function te(e) {
422
- var t = C(e);
423
- return (t.local ? T : w)(t);
424
- }
425
- //#endregion
426
- //#region node_modules/d3-selection/src/selector.js
427
- function ne() {}
428
- function re(e) {
429
- return e == null ? ne : function() {
430
- return this.querySelector(e);
431
- };
432
- }
433
- //#endregion
434
- //#region node_modules/d3-selection/src/selection/select.js
435
- function ie(e) {
436
- typeof e != "function" && (e = re(e));
437
- for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = Array(o), c, l, u = 0; u < o; ++u) (c = a[u]) && (l = e.call(c, c.__data__, u, a)) && ("__data__" in c && (l.__data__ = c.__data__), s[u] = l);
438
- return new O(r, this._parents);
439
- }
440
- //#endregion
441
- //#region node_modules/d3-selection/src/array.js
442
- function ae(e) {
443
- return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
444
- }
445
- //#endregion
446
- //#region node_modules/d3-selection/src/selectorAll.js
447
- function oe() {
448
- return [];
449
- }
450
- function se(e) {
451
- return e == null ? oe : function() {
452
- return this.querySelectorAll(e);
453
- };
454
- }
455
- //#endregion
456
- //#region node_modules/d3-selection/src/selection/selectAll.js
457
- function ce(e) {
458
- return function() {
459
- return ae(e.apply(this, arguments));
460
- };
461
- }
462
- function le(e) {
463
- e = typeof e == "function" ? ce(e) : se(e);
464
- for (var t = this._groups, n = t.length, r = [], i = [], a = 0; a < n; ++a) for (var o = t[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && (r.push(e.call(c, c.__data__, l, o)), i.push(c));
465
- return new O(r, i);
466
- }
467
- //#endregion
468
- //#region node_modules/d3-selection/src/matcher.js
469
- function ue(e) {
470
- return function() {
471
- return this.matches(e);
472
- };
473
- }
474
- function de(e) {
475
- return function(t) {
476
- return t.matches(e);
477
- };
478
- }
479
- //#endregion
480
- //#region node_modules/d3-selection/src/selection/selectChild.js
481
- var fe = Array.prototype.find;
482
- function pe(e) {
483
- return function() {
484
- return fe.call(this.children, e);
485
- };
486
- }
487
- function me() {
488
- return this.firstElementChild;
489
- }
490
- function he(e) {
491
- return this.select(e == null ? me : pe(typeof e == "function" ? e : de(e)));
492
- }
493
- //#endregion
494
- //#region node_modules/d3-selection/src/selection/selectChildren.js
495
- var ge = Array.prototype.filter;
496
- function _e() {
497
- return Array.from(this.children);
498
- }
499
- function ve(e) {
500
- return function() {
501
- return ge.call(this.children, e);
502
- };
503
- }
504
- function ye(e) {
505
- return this.selectAll(e == null ? _e : ve(typeof e == "function" ? e : de(e)));
506
- }
507
- //#endregion
508
- //#region node_modules/d3-selection/src/selection/filter.js
509
- function be(e) {
510
- typeof e != "function" && (e = ue(e));
511
- for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = [], c, l = 0; l < o; ++l) (c = a[l]) && e.call(c, c.__data__, l, a) && s.push(c);
512
- return new O(r, this._parents);
513
- }
514
- //#endregion
515
- //#region node_modules/d3-selection/src/selection/sparse.js
516
- function xe(e) {
517
- return Array(e.length);
518
- }
519
- //#endregion
520
- //#region node_modules/d3-selection/src/selection/enter.js
521
- function Se() {
522
- return new O(this._enter || this._groups.map(xe), this._parents);
523
- }
524
- function E(e, t) {
525
- this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
526
- }
527
- E.prototype = {
528
- constructor: E,
529
- appendChild: function(e) {
530
- return this._parent.insertBefore(e, this._next);
531
- },
532
- insertBefore: function(e, t) {
533
- return this._parent.insertBefore(e, t);
534
- },
535
- querySelector: function(e) {
536
- return this._parent.querySelector(e);
537
- },
538
- querySelectorAll: function(e) {
539
- return this._parent.querySelectorAll(e);
540
- }
541
- };
542
- //#endregion
543
- //#region node_modules/d3-selection/src/constant.js
544
- function Ce(e) {
545
- return function() {
546
- return e;
547
- };
548
- }
549
- //#endregion
550
- //#region node_modules/d3-selection/src/selection/data.js
551
- function we(e, t, n, r, i, a) {
552
- for (var o = 0, s, c = t.length, l = a.length; o < l; ++o) (s = t[o]) ? (s.__data__ = a[o], r[o] = s) : n[o] = new E(e, a[o]);
553
- for (; o < c; ++o) (s = t[o]) && (i[o] = s);
554
- }
555
- function Te(e, t, n, r, i, a, o) {
556
- var s, c, l = /* @__PURE__ */ new Map(), u = t.length, d = a.length, f = Array(u), p;
557
- for (s = 0; s < u; ++s) (c = t[s]) && (f[s] = p = o.call(c, c.__data__, s, t) + "", l.has(p) ? i[s] = c : l.set(p, c));
558
- for (s = 0; s < d; ++s) p = o.call(e, a[s], s, a) + "", (c = l.get(p)) ? (r[s] = c, c.__data__ = a[s], l.delete(p)) : n[s] = new E(e, a[s]);
559
- for (s = 0; s < u; ++s) (c = t[s]) && l.get(f[s]) === c && (i[s] = c);
560
- }
561
- function Ee(e) {
562
- return e.__data__;
563
- }
564
- function De(e, t) {
565
- if (!arguments.length) return Array.from(this, Ee);
566
- var n = t ? Te : we, r = this._parents, i = this._groups;
567
- typeof e != "function" && (e = Ce(e));
568
- for (var a = i.length, o = Array(a), s = Array(a), c = Array(a), l = 0; l < a; ++l) {
569
- var u = r[l], d = i[l], f = d.length, p = Oe(e.call(u, u && u.__data__, l, r)), m = p.length, h = s[l] = Array(m), g = o[l] = Array(m);
570
- n(u, d, h, g, c[l] = Array(f), p, t);
571
- for (var _ = 0, v = 0, y, b; _ < m; ++_) if (y = h[_]) {
572
- for (_ >= v && (v = _ + 1); !(b = g[v]) && ++v < m;);
573
- y._next = b || null;
574
- }
575
- }
576
- return o = new O(o, r), o._enter = s, o._exit = c, o;
577
- }
578
- function Oe(e) {
579
- return typeof e == "object" && "length" in e ? e : Array.from(e);
580
- }
581
- //#endregion
582
- //#region node_modules/d3-selection/src/selection/exit.js
583
- function ke() {
584
- return new O(this._exit || this._groups.map(xe), this._parents);
585
- }
586
- //#endregion
587
- //#region node_modules/d3-selection/src/selection/join.js
588
- function Ae(e, t, n) {
589
- var r = this.enter(), i = this, a = this.exit();
590
- return typeof e == "function" ? (r = e(r), r &&= r.selection()) : r = r.append(e + ""), t != null && (i = t(i), i &&= i.selection()), n == null ? a.remove() : n(a), r && i ? r.merge(i).order() : i;
591
- }
592
- //#endregion
593
- //#region node_modules/d3-selection/src/selection/merge.js
594
- function je(e) {
595
- for (var t = e.selection ? e.selection() : e, n = this._groups, r = t._groups, i = n.length, a = r.length, o = Math.min(i, a), s = Array(i), c = 0; c < o; ++c) for (var l = n[c], u = r[c], d = l.length, f = s[c] = Array(d), p, m = 0; m < d; ++m) (p = l[m] || u[m]) && (f[m] = p);
596
- for (; c < i; ++c) s[c] = n[c];
597
- return new O(s, this._parents);
598
- }
599
- //#endregion
600
- //#region node_modules/d3-selection/src/selection/order.js
601
- function Me() {
602
- for (var e = this._groups, t = -1, n = e.length; ++t < n;) for (var r = e[t], i = r.length - 1, a = r[i], o; --i >= 0;) (o = r[i]) && (a && o.compareDocumentPosition(a) ^ 4 && a.parentNode.insertBefore(o, a), a = o);
603
- return this;
604
- }
605
- //#endregion
606
- //#region node_modules/d3-selection/src/selection/sort.js
607
- function Ne(e) {
608
- e ||= Pe;
609
- function t(t, n) {
610
- return t && n ? e(t.__data__, n.__data__) : !t - !n;
611
- }
612
- for (var n = this._groups, r = n.length, i = Array(r), a = 0; a < r; ++a) {
613
- for (var o = n[a], s = o.length, c = i[a] = Array(s), l, u = 0; u < s; ++u) (l = o[u]) && (c[u] = l);
614
- c.sort(t);
615
- }
616
- return new O(i, this._parents).order();
617
- }
618
- function Pe(e, t) {
619
- return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
620
- }
621
- //#endregion
622
- //#region node_modules/d3-selection/src/selection/call.js
623
- function Fe() {
624
- var e = arguments[0];
625
- return arguments[0] = this, e.apply(null, arguments), this;
626
- }
627
- //#endregion
628
- //#region node_modules/d3-selection/src/selection/nodes.js
629
- function Ie() {
630
- return Array.from(this);
631
- }
632
- //#endregion
633
- //#region node_modules/d3-selection/src/selection/node.js
634
- function Le() {
635
- for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length; i < a; ++i) {
636
- var o = r[i];
637
- if (o) return o;
638
- }
639
- return null;
640
- }
641
- //#endregion
642
- //#region node_modules/d3-selection/src/selection/size.js
643
- function Re() {
644
- let e = 0;
645
- for (let t of this) ++e;
646
- return e;
647
- }
648
- //#endregion
649
- //#region node_modules/d3-selection/src/selection/empty.js
650
- function ze() {
651
- return !this.node();
652
- }
653
- //#endregion
654
- //#region node_modules/d3-selection/src/selection/each.js
655
- function Be(e) {
656
- for (var t = this._groups, n = 0, r = t.length; n < r; ++n) for (var i = t[n], a = 0, o = i.length, s; a < o; ++a) (s = i[a]) && e.call(s, s.__data__, a, i);
657
- return this;
658
- }
659
- //#endregion
660
- //#region node_modules/d3-selection/src/selection/attr.js
661
- function Ve(e) {
662
- return function() {
663
- this.removeAttribute(e);
664
- };
665
- }
666
- function He(e) {
667
- return function() {
668
- this.removeAttributeNS(e.space, e.local);
669
- };
670
- }
671
- function Ue(e, t) {
672
- return function() {
673
- this.setAttribute(e, t);
674
- };
675
- }
676
- function We(e, t) {
677
- return function() {
678
- this.setAttributeNS(e.space, e.local, t);
679
- };
680
- }
681
- function Ge(e, t) {
682
- return function() {
683
- var n = t.apply(this, arguments);
684
- n == null ? this.removeAttribute(e) : this.setAttribute(e, n);
685
- };
686
- }
687
- function Ke(e, t) {
688
- return function() {
689
- var n = t.apply(this, arguments);
690
- n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n);
691
- };
692
- }
693
- function qe(e, t) {
694
- var n = C(e);
695
- if (arguments.length < 2) {
696
- var r = this.node();
697
- return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
698
- }
699
- return this.each((t == null ? n.local ? He : Ve : typeof t == "function" ? n.local ? Ke : Ge : n.local ? We : Ue)(n, t));
700
- }
701
- //#endregion
702
- //#region node_modules/d3-selection/src/window.js
703
- function Je(e) {
704
- return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
705
- }
706
- //#endregion
707
- //#region node_modules/d3-selection/src/selection/style.js
708
- function Ye(e) {
709
- return function() {
710
- this.style.removeProperty(e);
711
- };
712
- }
713
- function Xe(e, t, n) {
714
- return function() {
715
- this.style.setProperty(e, t, n);
716
- };
717
- }
718
- function Ze(e, t, n) {
719
- return function() {
720
- var r = t.apply(this, arguments);
721
- r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
722
- };
723
- }
724
- function Qe(e, t, n) {
725
- return arguments.length > 1 ? this.each((t == null ? Ye : typeof t == "function" ? Ze : Xe)(e, t, n ?? "")) : D(this.node(), e);
726
- }
727
- function D(e, t) {
728
- return e.style.getPropertyValue(t) || Je(e).getComputedStyle(e, null).getPropertyValue(t);
729
- }
730
- //#endregion
731
- //#region node_modules/d3-selection/src/selection/property.js
732
- function $e(e) {
733
- return function() {
734
- delete this[e];
735
- };
736
- }
737
- function et(e, t) {
738
- return function() {
739
- this[e] = t;
740
- };
741
- }
742
- function tt(e, t) {
743
- return function() {
744
- var n = t.apply(this, arguments);
745
- n == null ? delete this[e] : this[e] = n;
746
- };
747
- }
748
- function nt(e, t) {
749
- return arguments.length > 1 ? this.each((t == null ? $e : typeof t == "function" ? tt : et)(e, t)) : this.node()[e];
750
- }
751
- //#endregion
752
- //#region node_modules/d3-selection/src/selection/classed.js
753
- function rt(e) {
754
- return e.trim().split(/^|\s+/);
755
- }
756
- function it(e) {
757
- return e.classList || new at(e);
758
- }
759
- function at(e) {
760
- this._node = e, this._names = rt(e.getAttribute("class") || "");
761
- }
762
- at.prototype = {
763
- add: function(e) {
764
- this._names.indexOf(e) < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
765
- },
766
- remove: function(e) {
767
- var t = this._names.indexOf(e);
768
- t >= 0 && (this._names.splice(t, 1), this._node.setAttribute("class", this._names.join(" ")));
769
- },
770
- contains: function(e) {
771
- return this._names.indexOf(e) >= 0;
772
- }
773
- };
774
- function ot(e, t) {
775
- for (var n = it(e), r = -1, i = t.length; ++r < i;) n.add(t[r]);
776
- }
777
- function st(e, t) {
778
- for (var n = it(e), r = -1, i = t.length; ++r < i;) n.remove(t[r]);
779
- }
780
- function ct(e) {
781
- return function() {
782
- ot(this, e);
783
- };
784
- }
785
- function lt(e) {
786
- return function() {
787
- st(this, e);
788
- };
789
- }
790
- function ut(e, t) {
791
- return function() {
792
- (t.apply(this, arguments) ? ot : st)(this, e);
793
- };
794
- }
795
- function dt(e, t) {
796
- var n = rt(e + "");
797
- if (arguments.length < 2) {
798
- for (var r = it(this.node()), i = -1, a = n.length; ++i < a;) if (!r.contains(n[i])) return !1;
799
- return !0;
800
- }
801
- return this.each((typeof t == "function" ? ut : t ? ct : lt)(n, t));
802
- }
803
- //#endregion
804
- //#region node_modules/d3-selection/src/selection/text.js
805
- function ft() {
806
- this.textContent = "";
807
- }
808
- function pt(e) {
809
- return function() {
810
- this.textContent = e;
811
- };
812
- }
813
- function mt(e) {
814
- return function() {
815
- var t = e.apply(this, arguments);
816
- this.textContent = t ?? "";
817
- };
818
- }
819
- function ht(e) {
820
- return arguments.length ? this.each(e == null ? ft : (typeof e == "function" ? mt : pt)(e)) : this.node().textContent;
821
- }
822
- //#endregion
823
- //#region node_modules/d3-selection/src/selection/html.js
824
- function gt() {
825
- this.innerHTML = "";
826
- }
827
- function _t(e) {
828
- return function() {
829
- this.innerHTML = e;
830
- };
831
- }
832
- function vt(e) {
833
- return function() {
834
- var t = e.apply(this, arguments);
835
- this.innerHTML = t ?? "";
836
- };
837
- }
838
- function yt(e) {
839
- return arguments.length ? this.each(e == null ? gt : (typeof e == "function" ? vt : _t)(e)) : this.node().innerHTML;
840
- }
841
- //#endregion
842
- //#region node_modules/d3-selection/src/selection/raise.js
843
- function bt() {
844
- this.nextSibling && this.parentNode.appendChild(this);
845
- }
846
- function xt() {
847
- return this.each(bt);
848
- }
849
- //#endregion
850
- //#region node_modules/d3-selection/src/selection/lower.js
851
- function St() {
852
- this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
853
- }
854
- function Ct() {
855
- return this.each(St);
856
- }
857
- //#endregion
858
- //#region node_modules/d3-selection/src/selection/append.js
859
- function wt(e) {
860
- var t = typeof e == "function" ? e : te(e);
861
- return this.select(function() {
862
- return this.appendChild(t.apply(this, arguments));
863
- });
864
- }
865
- //#endregion
866
- //#region node_modules/d3-selection/src/selection/insert.js
867
- function Tt() {
868
- return null;
869
- }
870
- function Et(e, t) {
871
- var n = typeof e == "function" ? e : te(e), r = t == null ? Tt : typeof t == "function" ? t : re(t);
872
- return this.select(function() {
873
- return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
874
- });
875
- }
876
- //#endregion
877
- //#region node_modules/d3-selection/src/selection/remove.js
878
- function Dt() {
879
- var e = this.parentNode;
880
- e && e.removeChild(this);
881
- }
882
- function Ot() {
883
- return this.each(Dt);
884
- }
885
- //#endregion
886
- //#region node_modules/d3-selection/src/selection/clone.js
887
- function kt() {
888
- var e = this.cloneNode(!1), t = this.parentNode;
889
- return t ? t.insertBefore(e, this.nextSibling) : e;
890
- }
891
- function At() {
892
- var e = this.cloneNode(!0), t = this.parentNode;
893
- return t ? t.insertBefore(e, this.nextSibling) : e;
894
- }
895
- function jt(e) {
896
- return this.select(e ? At : kt);
897
- }
898
- //#endregion
899
- //#region node_modules/d3-selection/src/selection/datum.js
900
- function Mt(e) {
901
- return arguments.length ? this.property("__data__", e) : this.node().__data__;
902
- }
903
- //#endregion
904
- //#region node_modules/d3-selection/src/selection/on.js
905
- function Nt(e) {
906
- return function(t) {
907
- e.call(this, t, this.__data__);
908
- };
909
- }
910
- function Pt(e) {
911
- return e.trim().split(/^|\s+/).map(function(e) {
912
- var t = "", n = e.indexOf(".");
913
- return n >= 0 && (t = e.slice(n + 1), e = e.slice(0, n)), {
914
- type: e,
915
- name: t
916
- };
917
- });
918
- }
919
- function Ft(e) {
920
- return function() {
921
- var t = this.__on;
922
- if (t) {
923
- for (var n = 0, r = -1, i = t.length, a; n < i; ++n) a = t[n], (!e.type || a.type === e.type) && a.name === e.name ? this.removeEventListener(a.type, a.listener, a.options) : t[++r] = a;
924
- ++r ? t.length = r : delete this.__on;
925
- }
926
- };
927
- }
928
- function It(e, t, n) {
929
- return function() {
930
- var r = this.__on, i, a = Nt(t);
931
- if (r) {
932
- for (var o = 0, s = r.length; o < s; ++o) if ((i = r[o]).type === e.type && i.name === e.name) {
933
- this.removeEventListener(i.type, i.listener, i.options), this.addEventListener(i.type, i.listener = a, i.options = n), i.value = t;
934
- return;
935
- }
936
- }
937
- this.addEventListener(e.type, a, n), i = {
938
- type: e.type,
939
- name: e.name,
940
- value: t,
941
- listener: a,
942
- options: n
943
- }, r ? r.push(i) : this.__on = [i];
944
- };
945
- }
946
- function Lt(e, t, n) {
947
- var r = Pt(e + ""), i, a = r.length, o;
948
- if (arguments.length < 2) {
949
- var s = this.node().__on;
950
- if (s) {
951
- for (var c = 0, l = s.length, u; c < l; ++c) for (i = 0, u = s[c]; i < a; ++i) if ((o = r[i]).type === u.type && o.name === u.name) return u.value;
952
- }
953
- return;
954
- }
955
- for (s = t ? It : Ft, i = 0; i < a; ++i) this.each(s(r[i], t, n));
956
- return this;
957
- }
958
- //#endregion
959
- //#region node_modules/d3-selection/src/selection/dispatch.js
960
- function Rt(e, t, n) {
961
- var r = Je(e), i = r.CustomEvent;
962
- typeof i == "function" ? i = new i(t, n) : (i = r.document.createEvent("Event"), n ? (i.initEvent(t, n.bubbles, n.cancelable), i.detail = n.detail) : i.initEvent(t, !1, !1)), e.dispatchEvent(i);
963
- }
964
- function zt(e, t) {
965
- return function() {
966
- return Rt(this, e, t);
967
- };
968
- }
969
- function Bt(e, t) {
970
- return function() {
971
- return Rt(this, e, t.apply(this, arguments));
972
- };
973
- }
974
- function Vt(e, t) {
975
- return this.each((typeof t == "function" ? Bt : zt)(e, t));
976
- }
977
- //#endregion
978
- //#region node_modules/d3-selection/src/selection/iterator.js
979
- function* Ht() {
980
- for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length, o; i < a; ++i) (o = r[i]) && (yield o);
981
- }
982
- //#endregion
983
- //#region node_modules/d3-selection/src/selection/index.js
984
- var Ut = [null];
985
- function O(e, t) {
986
- this._groups = e, this._parents = t;
987
- }
988
- function k() {
989
- return new O([[document.documentElement]], Ut);
990
- }
991
- function Wt() {
992
- return this;
993
- }
994
- O.prototype = k.prototype = {
995
- constructor: O,
996
- select: ie,
997
- selectAll: le,
998
- selectChild: he,
999
- selectChildren: ye,
1000
- filter: be,
1001
- data: De,
1002
- enter: Se,
1003
- exit: ke,
1004
- join: Ae,
1005
- merge: je,
1006
- selection: Wt,
1007
- order: Me,
1008
- sort: Ne,
1009
- call: Fe,
1010
- nodes: Ie,
1011
- node: Le,
1012
- size: Re,
1013
- empty: ze,
1014
- each: Be,
1015
- attr: qe,
1016
- style: Qe,
1017
- property: nt,
1018
- classed: dt,
1019
- text: ht,
1020
- html: yt,
1021
- raise: xt,
1022
- lower: Ct,
1023
- append: wt,
1024
- insert: Et,
1025
- remove: Ot,
1026
- clone: jt,
1027
- datum: Mt,
1028
- on: Lt,
1029
- dispatch: Vt,
1030
- [Symbol.iterator]: Ht
1031
- };
1032
- //#endregion
1033
- //#region node_modules/d3-selection/src/select.js
1034
- function Gt(e) {
1035
- return typeof e == "string" ? new O([[document.querySelector(e)]], [document.documentElement]) : new O([[e]], Ut);
1036
- }
1037
- //#endregion
1038
- //#region node_modules/d3-color/src/define.js
1039
- function Kt(e, t, n) {
1040
- e.prototype = t.prototype = n, n.constructor = e;
1041
- }
1042
- function qt(e, t) {
1043
- var n = Object.create(e.prototype);
1044
- for (var r in t) n[r] = t[r];
1045
- return n;
1046
- }
1047
- //#endregion
1048
- //#region node_modules/d3-color/src/color.js
1049
- function A() {}
1050
- var j = .7, Jt = 1 / j, M = "\\s*([+-]?\\d+)\\s*", N = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", P = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Yt = /^#([0-9a-f]{3,8})$/, Xt = RegExp(`^rgb\\(${M},${M},${M}\\)$`), Zt = RegExp(`^rgb\\(${P},${P},${P}\\)$`), Qt = RegExp(`^rgba\\(${M},${M},${M},${N}\\)$`), $t = RegExp(`^rgba\\(${P},${P},${P},${N}\\)$`), en = RegExp(`^hsl\\(${N},${P},${P}\\)$`), tn = RegExp(`^hsla\\(${N},${P},${P},${N}\\)$`), nn = {
1051
- aliceblue: 15792383,
1052
- antiquewhite: 16444375,
1053
- aqua: 65535,
1054
- aquamarine: 8388564,
1055
- azure: 15794175,
1056
- beige: 16119260,
1057
- bisque: 16770244,
1058
- black: 0,
1059
- blanchedalmond: 16772045,
1060
- blue: 255,
1061
- blueviolet: 9055202,
1062
- brown: 10824234,
1063
- burlywood: 14596231,
1064
- cadetblue: 6266528,
1065
- chartreuse: 8388352,
1066
- chocolate: 13789470,
1067
- coral: 16744272,
1068
- cornflowerblue: 6591981,
1069
- cornsilk: 16775388,
1070
- crimson: 14423100,
1071
- cyan: 65535,
1072
- darkblue: 139,
1073
- darkcyan: 35723,
1074
- darkgoldenrod: 12092939,
1075
- darkgray: 11119017,
1076
- darkgreen: 25600,
1077
- darkgrey: 11119017,
1078
- darkkhaki: 12433259,
1079
- darkmagenta: 9109643,
1080
- darkolivegreen: 5597999,
1081
- darkorange: 16747520,
1082
- darkorchid: 10040012,
1083
- darkred: 9109504,
1084
- darksalmon: 15308410,
1085
- darkseagreen: 9419919,
1086
- darkslateblue: 4734347,
1087
- darkslategray: 3100495,
1088
- darkslategrey: 3100495,
1089
- darkturquoise: 52945,
1090
- darkviolet: 9699539,
1091
- deeppink: 16716947,
1092
- deepskyblue: 49151,
1093
- dimgray: 6908265,
1094
- dimgrey: 6908265,
1095
- dodgerblue: 2003199,
1096
- firebrick: 11674146,
1097
- floralwhite: 16775920,
1098
- forestgreen: 2263842,
1099
- fuchsia: 16711935,
1100
- gainsboro: 14474460,
1101
- ghostwhite: 16316671,
1102
- gold: 16766720,
1103
- goldenrod: 14329120,
1104
- gray: 8421504,
1105
- green: 32768,
1106
- greenyellow: 11403055,
1107
- grey: 8421504,
1108
- honeydew: 15794160,
1109
- hotpink: 16738740,
1110
- indianred: 13458524,
1111
- indigo: 4915330,
1112
- ivory: 16777200,
1113
- khaki: 15787660,
1114
- lavender: 15132410,
1115
- lavenderblush: 16773365,
1116
- lawngreen: 8190976,
1117
- lemonchiffon: 16775885,
1118
- lightblue: 11393254,
1119
- lightcoral: 15761536,
1120
- lightcyan: 14745599,
1121
- lightgoldenrodyellow: 16448210,
1122
- lightgray: 13882323,
1123
- lightgreen: 9498256,
1124
- lightgrey: 13882323,
1125
- lightpink: 16758465,
1126
- lightsalmon: 16752762,
1127
- lightseagreen: 2142890,
1128
- lightskyblue: 8900346,
1129
- lightslategray: 7833753,
1130
- lightslategrey: 7833753,
1131
- lightsteelblue: 11584734,
1132
- lightyellow: 16777184,
1133
- lime: 65280,
1134
- limegreen: 3329330,
1135
- linen: 16445670,
1136
- magenta: 16711935,
1137
- maroon: 8388608,
1138
- mediumaquamarine: 6737322,
1139
- mediumblue: 205,
1140
- mediumorchid: 12211667,
1141
- mediumpurple: 9662683,
1142
- mediumseagreen: 3978097,
1143
- mediumslateblue: 8087790,
1144
- mediumspringgreen: 64154,
1145
- mediumturquoise: 4772300,
1146
- mediumvioletred: 13047173,
1147
- midnightblue: 1644912,
1148
- mintcream: 16121850,
1149
- mistyrose: 16770273,
1150
- moccasin: 16770229,
1151
- navajowhite: 16768685,
1152
- navy: 128,
1153
- oldlace: 16643558,
1154
- olive: 8421376,
1155
- olivedrab: 7048739,
1156
- orange: 16753920,
1157
- orangered: 16729344,
1158
- orchid: 14315734,
1159
- palegoldenrod: 15657130,
1160
- palegreen: 10025880,
1161
- paleturquoise: 11529966,
1162
- palevioletred: 14381203,
1163
- papayawhip: 16773077,
1164
- peachpuff: 16767673,
1165
- peru: 13468991,
1166
- pink: 16761035,
1167
- plum: 14524637,
1168
- powderblue: 11591910,
1169
- purple: 8388736,
1170
- rebeccapurple: 6697881,
1171
- red: 16711680,
1172
- rosybrown: 12357519,
1173
- royalblue: 4286945,
1174
- saddlebrown: 9127187,
1175
- salmon: 16416882,
1176
- sandybrown: 16032864,
1177
- seagreen: 3050327,
1178
- seashell: 16774638,
1179
- sienna: 10506797,
1180
- silver: 12632256,
1181
- skyblue: 8900331,
1182
- slateblue: 6970061,
1183
- slategray: 7372944,
1184
- slategrey: 7372944,
1185
- snow: 16775930,
1186
- springgreen: 65407,
1187
- steelblue: 4620980,
1188
- tan: 13808780,
1189
- teal: 32896,
1190
- thistle: 14204888,
1191
- tomato: 16737095,
1192
- turquoise: 4251856,
1193
- violet: 15631086,
1194
- wheat: 16113331,
1195
- white: 16777215,
1196
- whitesmoke: 16119285,
1197
- yellow: 16776960,
1198
- yellowgreen: 10145074
1199
- };
1200
- Kt(A, F, {
1201
- copy(e) {
1202
- return Object.assign(new this.constructor(), this, e);
1203
- },
1204
- displayable() {
1205
- return this.rgb().displayable();
1206
- },
1207
- hex: rn,
1208
- formatHex: rn,
1209
- formatHex8: an,
1210
- formatHsl: on,
1211
- formatRgb: sn,
1212
- toString: sn
1213
- });
1214
- function rn() {
1215
- return this.rgb().formatHex();
1216
- }
1217
- function an() {
1218
- return this.rgb().formatHex8();
1219
- }
1220
- function on() {
1221
- return hn(this).formatHsl();
1222
- }
1223
- function sn() {
1224
- return this.rgb().formatRgb();
1225
- }
1226
- function F(e) {
1227
- var t, n;
1228
- return e = (e + "").trim().toLowerCase(), (t = Yt.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? cn(t) : n === 3 ? new L(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? I(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? I(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = Xt.exec(e)) ? new L(t[1], t[2], t[3], 1) : (t = Zt.exec(e)) ? new L(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Qt.exec(e)) ? I(t[1], t[2], t[3], t[4]) : (t = $t.exec(e)) ? I(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = en.exec(e)) ? mn(t[1], t[2] / 100, t[3] / 100, 1) : (t = tn.exec(e)) ? mn(t[1], t[2] / 100, t[3] / 100, t[4]) : nn.hasOwnProperty(e) ? cn(nn[e]) : e === "transparent" ? new L(NaN, NaN, NaN, 0) : null;
1229
- }
1230
- function cn(e) {
1231
- return new L(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
1232
- }
1233
- function I(e, t, n, r) {
1234
- return r <= 0 && (e = t = n = NaN), new L(e, t, n, r);
1235
- }
1236
- function ln(e) {
1237
- return e instanceof A || (e = F(e)), e ? (e = e.rgb(), new L(e.r, e.g, e.b, e.opacity)) : new L();
1238
- }
1239
- function un(e, t, n, r) {
1240
- return arguments.length === 1 ? ln(e) : new L(e, t, n, r ?? 1);
1241
- }
1242
- function L(e, t, n, r) {
1243
- this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
1244
- }
1245
- Kt(L, un, qt(A, {
1246
- brighter(e) {
1247
- return e = e == null ? Jt : Jt ** +e, new L(this.r * e, this.g * e, this.b * e, this.opacity);
1248
- },
1249
- darker(e) {
1250
- return e = e == null ? j : j ** +e, new L(this.r * e, this.g * e, this.b * e, this.opacity);
1251
- },
1252
- rgb() {
1253
- return this;
1254
- },
1255
- clamp() {
1256
- return new L(z(this.r), z(this.g), z(this.b), R(this.opacity));
1257
- },
1258
- displayable() {
1259
- return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
1260
- },
1261
- hex: dn,
1262
- formatHex: dn,
1263
- formatHex8: fn,
1264
- formatRgb: pn,
1265
- toString: pn
1266
- }));
1267
- function dn() {
1268
- return `#${B(this.r)}${B(this.g)}${B(this.b)}`;
1269
- }
1270
- function fn() {
1271
- return `#${B(this.r)}${B(this.g)}${B(this.b)}${B((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
1272
- }
1273
- function pn() {
1274
- let e = R(this.opacity);
1275
- return `${e === 1 ? "rgb(" : "rgba("}${z(this.r)}, ${z(this.g)}, ${z(this.b)}${e === 1 ? ")" : `, ${e})`}`;
1276
- }
1277
- function R(e) {
1278
- return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
1279
- }
1280
- function z(e) {
1281
- return Math.max(0, Math.min(255, Math.round(e) || 0));
1282
- }
1283
- function B(e) {
1284
- return e = z(e), (e < 16 ? "0" : "") + e.toString(16);
1285
- }
1286
- function mn(e, t, n, r) {
1287
- return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new V(e, t, n, r);
1288
- }
1289
- function hn(e) {
1290
- if (e instanceof V) return new V(e.h, e.s, e.l, e.opacity);
1291
- if (e instanceof A || (e = F(e)), !e) return new V();
1292
- if (e instanceof V) return e;
1293
- e = e.rgb();
1294
- var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
1295
- return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new V(o, s, c, e.opacity);
1296
- }
1297
- function gn(e, t, n, r) {
1298
- return arguments.length === 1 ? hn(e) : new V(e, t, n, r ?? 1);
1299
- }
1300
- function V(e, t, n, r) {
1301
- this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
1302
- }
1303
- Kt(V, gn, qt(A, {
1304
- brighter(e) {
1305
- return e = e == null ? Jt : Jt ** +e, new V(this.h, this.s, this.l * e, this.opacity);
1306
- },
1307
- darker(e) {
1308
- return e = e == null ? j : j ** +e, new V(this.h, this.s, this.l * e, this.opacity);
1309
- },
1310
- rgb() {
1311
- var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;
1312
- return new L(vn(e >= 240 ? e - 240 : e + 120, i, r), vn(e, i, r), vn(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
1313
- },
1314
- clamp() {
1315
- return new V(_n(this.h), H(this.s), H(this.l), R(this.opacity));
1316
- },
1317
- displayable() {
1318
- return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
1319
- },
1320
- formatHsl() {
1321
- let e = R(this.opacity);
1322
- return `${e === 1 ? "hsl(" : "hsla("}${_n(this.h)}, ${H(this.s) * 100}%, ${H(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
1323
- }
1324
- }));
1325
- function _n(e) {
1326
- return e = (e || 0) % 360, e < 0 ? e + 360 : e;
1327
- }
1328
- function H(e) {
1329
- return Math.max(0, Math.min(1, e || 0));
1330
- }
1331
- function vn(e, t, n) {
1332
- return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
1333
- }
1334
- //#endregion
1335
- //#region node_modules/d3-interpolate/src/constant.js
1336
- var yn = (e) => () => e;
1337
- //#endregion
1338
- //#region node_modules/d3-interpolate/src/color.js
1339
- function bn(e, t) {
1340
- return function(n) {
1341
- return e + n * t;
1342
- };
1343
- }
1344
- function xn(e, t, n) {
1345
- return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
1346
- return (e + r * t) ** +n;
1347
- };
1348
- }
1349
- function Sn(e, t) {
1350
- var n = t - e;
1351
- return n ? bn(e, n > 180 || n < -180 ? n - 360 * Math.round(n / 360) : n) : yn(isNaN(e) ? t : e);
1352
- }
1353
- function Cn(e) {
1354
- return (e = +e) == 1 ? wn : function(t, n) {
1355
- return n - t ? xn(t, n, e) : yn(isNaN(t) ? n : t);
1356
- };
1357
- }
1358
- function wn(e, t) {
1359
- var n = t - e;
1360
- return n ? bn(e, n) : yn(isNaN(e) ? t : e);
1361
- }
1362
- //#endregion
1363
- //#region node_modules/d3-interpolate/src/rgb.js
1364
- var Tn = (function e(t) {
1365
- var n = Cn(t);
1366
- function r(e, t) {
1367
- var r = n((e = un(e)).r, (t = un(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = wn(e.opacity, t.opacity);
1368
- return function(t) {
1369
- return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";
1370
- };
1371
- }
1372
- return r.gamma = e, r;
1373
- })(1);
1374
- //#endregion
1375
- //#region node_modules/d3-interpolate/src/number.js
1376
- function U(e, t) {
1377
- return e = +e, t = +t, function(n) {
1378
- return e * (1 - n) + t * n;
1379
- };
1380
- }
1381
- //#endregion
1382
- //#region node_modules/d3-interpolate/src/string.js
1383
- var En = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Dn = new RegExp(En.source, "g");
1384
- function On(e) {
1385
- return function() {
1386
- return e;
1387
- };
1388
- }
1389
- function kn(e) {
1390
- return function(t) {
1391
- return e(t) + "";
1392
- };
1393
- }
1394
- function An(e, t) {
1395
- var n = En.lastIndex = Dn.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
1396
- for (e += "", t += ""; (r = En.exec(e)) && (i = Dn.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
1397
- i: o,
1398
- x: U(r, i)
1399
- })), n = Dn.lastIndex;
1400
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? kn(c[0].x) : On(t) : (t = c.length, function(e) {
1401
- for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
1402
- return s.join("");
1403
- });
1404
- }
1405
- //#endregion
1406
- //#region node_modules/d3-interpolate/src/transform/decompose.js
1407
- var jn = 180 / Math.PI, Mn = {
1408
- translateX: 0,
1409
- translateY: 0,
1410
- rotate: 0,
1411
- skewX: 0,
1412
- scaleX: 1,
1413
- scaleY: 1
1414
- };
1415
- function Nn(e, t, n, r, i, a) {
1416
- var o, s, c;
1417
- return (o = Math.sqrt(e * e + t * t)) && (e /= o, t /= o), (c = e * n + t * r) && (n -= e * c, r -= t * c), (s = Math.sqrt(n * n + r * r)) && (n /= s, r /= s, c /= s), e * r < t * n && (e = -e, t = -t, c = -c, o = -o), {
1418
- translateX: i,
1419
- translateY: a,
1420
- rotate: Math.atan2(t, e) * jn,
1421
- skewX: Math.atan(c) * jn,
1422
- scaleX: o,
1423
- scaleY: s
1424
- };
1425
- }
1426
- //#endregion
1427
- //#region node_modules/d3-interpolate/src/transform/parse.js
1428
- var Pn;
1429
- function Fn(e) {
1430
- let t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + "");
1431
- return t.isIdentity ? Mn : Nn(t.a, t.b, t.c, t.d, t.e, t.f);
1432
- }
1433
- function In(e) {
1434
- return e == null || (Pn ||= document.createElementNS("http://www.w3.org/2000/svg", "g"), Pn.setAttribute("transform", e), !(e = Pn.transform.baseVal.consolidate())) ? Mn : (e = e.matrix, Nn(e.a, e.b, e.c, e.d, e.e, e.f));
1435
- }
1436
- //#endregion
1437
- //#region node_modules/d3-interpolate/src/transform/index.js
1438
- function Ln(e, t, n, r) {
1439
- function i(e) {
1440
- return e.length ? e.pop() + " " : "";
1441
- }
1442
- function a(e, r, i, a, o, s) {
1443
- if (e !== i || r !== a) {
1444
- var c = o.push("translate(", null, t, null, n);
1445
- s.push({
1446
- i: c - 4,
1447
- x: U(e, i)
1448
- }, {
1449
- i: c - 2,
1450
- x: U(r, a)
1451
- });
1452
- } else (i || a) && o.push("translate(" + i + t + a + n);
1453
- }
1454
- function o(e, t, n, a) {
1455
- e === t ? t && n.push(i(n) + "rotate(" + t + r) : (e - t > 180 ? t += 360 : t - e > 180 && (e += 360), a.push({
1456
- i: n.push(i(n) + "rotate(", null, r) - 2,
1457
- x: U(e, t)
1458
- }));
1459
- }
1460
- function s(e, t, n, a) {
1461
- e === t ? t && n.push(i(n) + "skewX(" + t + r) : a.push({
1462
- i: n.push(i(n) + "skewX(", null, r) - 2,
1463
- x: U(e, t)
1464
- });
1465
- }
1466
- function c(e, t, n, r, a, o) {
1467
- if (e !== n || t !== r) {
1468
- var s = a.push(i(a) + "scale(", null, ",", null, ")");
1469
- o.push({
1470
- i: s - 4,
1471
- x: U(e, n)
1472
- }, {
1473
- i: s - 2,
1474
- x: U(t, r)
1475
- });
1476
- } else (n !== 1 || r !== 1) && a.push(i(a) + "scale(" + n + "," + r + ")");
1477
- }
1478
- return function(t, n) {
1479
- var r = [], i = [];
1480
- return t = e(t), n = e(n), a(t.translateX, t.translateY, n.translateX, n.translateY, r, i), o(t.rotate, n.rotate, r, i), s(t.skewX, n.skewX, r, i), c(t.scaleX, t.scaleY, n.scaleX, n.scaleY, r, i), t = n = null, function(e) {
1481
- for (var t = -1, n = i.length, a; ++t < n;) r[(a = i[t]).i] = a.x(e);
1482
- return r.join("");
1483
- };
1484
- };
1485
- }
1486
- var Rn = Ln(Fn, "px, ", "px)", "deg)"), zn = Ln(In, ", ", ")", ")"), W = 0, Bn = 0, Vn = 0, Hn = 1e3, Un, G, Wn = 0, K = 0, Gn = 0, q = typeof performance == "object" && performance.now ? performance : Date, Kn = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
1487
- setTimeout(e, 17);
1488
- };
1489
- function qn() {
1490
- return K ||= (Kn(Jn), q.now() + Gn);
1491
- }
1492
- function Jn() {
1493
- K = 0;
1494
- }
1495
- function Yn() {
1496
- this._call = this._time = this._next = null;
1497
- }
1498
- Yn.prototype = Xn.prototype = {
1499
- constructor: Yn,
1500
- restart: function(e, t, n) {
1501
- if (typeof e != "function") throw TypeError("callback is not a function");
1502
- n = (n == null ? qn() : +n) + (t == null ? 0 : +t), !this._next && G !== this && (G ? G._next = this : Un = this, G = this), this._call = e, this._time = n, tr();
1503
- },
1504
- stop: function() {
1505
- this._call && (this._call = null, this._time = Infinity, tr());
1506
- }
1507
- };
1508
- function Xn(e, t, n) {
1509
- var r = new Yn();
1510
- return r.restart(e, t, n), r;
1511
- }
1512
- function Zn() {
1513
- qn(), ++W;
1514
- for (var e = Un, t; e;) (t = K - e._time) >= 0 && e._call.call(void 0, t), e = e._next;
1515
- --W;
1516
- }
1517
- function Qn() {
1518
- K = (Wn = q.now()) + Gn, W = Bn = 0;
1519
- try {
1520
- Zn();
1521
- } finally {
1522
- W = 0, er(), K = 0;
1523
- }
1524
- }
1525
- function $n() {
1526
- var e = q.now(), t = e - Wn;
1527
- t > Hn && (Gn -= t, Wn = e);
1528
- }
1529
- function er() {
1530
- for (var e, t = Un, n, r = Infinity; t;) t._call ? (r > t._time && (r = t._time), e = t, t = t._next) : (n = t._next, t._next = null, t = e ? e._next = n : Un = n);
1531
- G = e, tr(r);
1532
- }
1533
- function tr(e) {
1534
- W || (Bn &&= clearTimeout(Bn), e - K > 24 ? (e < Infinity && (Bn = setTimeout(Qn, e - q.now() - Gn)), Vn &&= clearInterval(Vn)) : (Vn ||= (Wn = q.now(), setInterval($n, Hn)), W = 1, Kn(Qn)));
1535
- }
1536
- //#endregion
1537
- //#region node_modules/d3-timer/src/timeout.js
1538
- function nr(e, t, n) {
1539
- var r = new Yn();
1540
- return t = t == null ? 0 : +t, r.restart((n) => {
1541
- r.stop(), e(n + t);
1542
- }, t, n), r;
1543
- }
1544
- //#endregion
1545
- //#region node_modules/d3-transition/src/transition/schedule.js
1546
- var rr = v("start", "end", "cancel", "interrupt"), ir = [];
1547
- function J(e, t, n, r, i, a) {
1548
- var o = e.__transition;
1549
- if (!o) e.__transition = {};
1550
- else if (n in o) return;
1551
- or(e, n, {
1552
- name: t,
1553
- index: r,
1554
- group: i,
1555
- on: rr,
1556
- tween: ir,
1557
- time: a.time,
1558
- delay: a.delay,
1559
- duration: a.duration,
1560
- ease: a.ease,
1561
- timer: null,
1562
- state: 0
1563
- });
1564
- }
1565
- function ar(e, t) {
1566
- var n = X(e, t);
1567
- if (n.state > 0) throw Error("too late; already scheduled");
1568
- return n;
1569
- }
1570
- function Y(e, t) {
1571
- var n = X(e, t);
1572
- if (n.state > 3) throw Error("too late; already running");
1573
- return n;
1574
- }
1575
- function X(e, t) {
1576
- var n = e.__transition;
1577
- if (!n || !(n = n[t])) throw Error("transition not found");
1578
- return n;
1579
- }
1580
- function or(e, t, n) {
1581
- var r = e.__transition, i;
1582
- r[t] = n, n.timer = Xn(a, 0, n.time);
1583
- function a(e) {
1584
- n.state = 1, n.timer.restart(o, n.delay, n.time), n.delay <= e && o(e - n.delay);
1585
- }
1586
- function o(a) {
1587
- var l, u, d, f;
1588
- if (n.state !== 1) return c();
1589
- for (l in r) if (f = r[l], f.name === n.name) {
1590
- if (f.state === 3) return nr(o);
1591
- f.state === 4 ? (f.state = 6, f.timer.stop(), f.on.call("interrupt", e, e.__data__, f.index, f.group), delete r[l]) : +l < t && (f.state = 6, f.timer.stop(), f.on.call("cancel", e, e.__data__, f.index, f.group), delete r[l]);
1592
- }
1593
- if (nr(function() {
1594
- n.state === 3 && (n.state = 4, n.timer.restart(s, n.delay, n.time), s(a));
1595
- }), n.state = 2, n.on.call("start", e, e.__data__, n.index, n.group), n.state === 2) {
1596
- for (n.state = 3, i = Array(d = n.tween.length), l = 0, u = -1; l < d; ++l) (f = n.tween[l].value.call(e, e.__data__, n.index, n.group)) && (i[++u] = f);
1597
- i.length = u + 1;
1598
- }
1599
- }
1600
- function s(t) {
1601
- for (var r = t < n.duration ? n.ease.call(null, t / n.duration) : (n.timer.restart(c), n.state = 5, 1), a = -1, o = i.length; ++a < o;) i[a].call(e, r);
1602
- n.state === 5 && (n.on.call("end", e, e.__data__, n.index, n.group), c());
1603
- }
1604
- function c() {
1605
- for (var i in n.state = 6, n.timer.stop(), delete r[t], r) return;
1606
- delete e.__transition;
1607
- }
1608
- }
1609
- //#endregion
1610
- //#region node_modules/d3-transition/src/interrupt.js
1611
- function sr(e, t) {
1612
- var n = e.__transition, r, i, a = !0, o;
1613
- if (n) {
1614
- for (o in t = t == null ? null : t + "", n) {
1615
- if ((r = n[o]).name !== t) {
1616
- a = !1;
1617
- continue;
1618
- }
1619
- i = r.state > 2 && r.state < 5, r.state = 6, r.timer.stop(), r.on.call(i ? "interrupt" : "cancel", e, e.__data__, r.index, r.group), delete n[o];
1620
- }
1621
- a && delete e.__transition;
1622
- }
1623
- }
1624
- //#endregion
1625
- //#region node_modules/d3-transition/src/selection/interrupt.js
1626
- function cr(e) {
1627
- return this.each(function() {
1628
- sr(this, e);
1629
- });
1630
- }
1631
- //#endregion
1632
- //#region node_modules/d3-transition/src/transition/tween.js
1633
- function lr(e, t) {
1634
- var n, r;
1635
- return function() {
1636
- var i = Y(this, e), a = i.tween;
1637
- if (a !== n) {
1638
- r = n = a;
1639
- for (var o = 0, s = r.length; o < s; ++o) if (r[o].name === t) {
1640
- r = r.slice(), r.splice(o, 1);
1641
- break;
1642
- }
1643
- }
1644
- i.tween = r;
1645
- };
1646
- }
1647
- function ur(e, t, n) {
1648
- var r, i;
1649
- if (typeof n != "function") throw Error();
1650
- return function() {
1651
- var a = Y(this, e), o = a.tween;
1652
- if (o !== r) {
1653
- i = (r = o).slice();
1654
- for (var s = {
1655
- name: t,
1656
- value: n
1657
- }, c = 0, l = i.length; c < l; ++c) if (i[c].name === t) {
1658
- i[c] = s;
1659
- break;
1660
- }
1661
- c === l && i.push(s);
1662
- }
1663
- a.tween = i;
1664
- };
1665
- }
1666
- function dr(e, t) {
1667
- var n = this._id;
1668
- if (e += "", arguments.length < 2) {
1669
- for (var r = X(this.node(), n).tween, i = 0, a = r.length, o; i < a; ++i) if ((o = r[i]).name === e) return o.value;
1670
- return null;
1671
- }
1672
- return this.each((t == null ? lr : ur)(n, e, t));
1673
- }
1674
- function fr(e, t, n) {
1675
- var r = e._id;
1676
- return e.each(function() {
1677
- var e = Y(this, r);
1678
- (e.value ||= {})[t] = n.apply(this, arguments);
1679
- }), function(e) {
1680
- return X(e, r).value[t];
1681
- };
1682
- }
1683
- //#endregion
1684
- //#region node_modules/d3-transition/src/transition/interpolate.js
1685
- function pr(e, t) {
1686
- var n;
1687
- return (typeof t == "number" ? U : t instanceof F ? Tn : (n = F(t)) ? (t = n, Tn) : An)(e, t);
1688
- }
1689
- //#endregion
1690
- //#region node_modules/d3-transition/src/transition/attr.js
1691
- function mr(e) {
1692
- return function() {
1693
- this.removeAttribute(e);
1694
- };
1695
- }
1696
- function hr(e) {
1697
- return function() {
1698
- this.removeAttributeNS(e.space, e.local);
1699
- };
1700
- }
1701
- function gr(e, t, n) {
1702
- var r, i = n + "", a;
1703
- return function() {
1704
- var o = this.getAttribute(e);
1705
- return o === i ? null : o === r ? a : a = t(r = o, n);
1706
- };
1707
- }
1708
- function _r(e, t, n) {
1709
- var r, i = n + "", a;
1710
- return function() {
1711
- var o = this.getAttributeNS(e.space, e.local);
1712
- return o === i ? null : o === r ? a : a = t(r = o, n);
1713
- };
1714
- }
1715
- function vr(e, t, n) {
1716
- var r, i, a;
1717
- return function() {
1718
- var o, s = n(this), c;
1719
- return s == null ? void this.removeAttribute(e) : (o = this.getAttribute(e), c = s + "", o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s)));
1720
- };
1721
- }
1722
- function yr(e, t, n) {
1723
- var r, i, a;
1724
- return function() {
1725
- var o, s = n(this), c;
1726
- return s == null ? void this.removeAttributeNS(e.space, e.local) : (o = this.getAttributeNS(e.space, e.local), c = s + "", o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s)));
1727
- };
1728
- }
1729
- function br(e, t) {
1730
- var n = C(e), r = n === "transform" ? zn : pr;
1731
- return this.attrTween(e, typeof t == "function" ? (n.local ? yr : vr)(n, r, fr(this, "attr." + e, t)) : t == null ? (n.local ? hr : mr)(n) : (n.local ? _r : gr)(n, r, t));
1732
- }
1733
- //#endregion
1734
- //#region node_modules/d3-transition/src/transition/attrTween.js
1735
- function xr(e, t) {
1736
- return function(n) {
1737
- this.setAttribute(e, t.call(this, n));
1738
- };
1739
- }
1740
- function Sr(e, t) {
1741
- return function(n) {
1742
- this.setAttributeNS(e.space, e.local, t.call(this, n));
1743
- };
1744
- }
1745
- function Cr(e, t) {
1746
- var n, r;
1747
- function i() {
1748
- var i = t.apply(this, arguments);
1749
- return i !== r && (n = (r = i) && Sr(e, i)), n;
1750
- }
1751
- return i._value = t, i;
1752
- }
1753
- function wr(e, t) {
1754
- var n, r;
1755
- function i() {
1756
- var i = t.apply(this, arguments);
1757
- return i !== r && (n = (r = i) && xr(e, i)), n;
1758
- }
1759
- return i._value = t, i;
1760
- }
1761
- function Tr(e, t) {
1762
- var n = "attr." + e;
1763
- if (arguments.length < 2) return (n = this.tween(n)) && n._value;
1764
- if (t == null) return this.tween(n, null);
1765
- if (typeof t != "function") throw Error();
1766
- var r = C(e);
1767
- return this.tween(n, (r.local ? Cr : wr)(r, t));
1768
- }
1769
- //#endregion
1770
- //#region node_modules/d3-transition/src/transition/delay.js
1771
- function Er(e, t) {
1772
- return function() {
1773
- ar(this, e).delay = +t.apply(this, arguments);
1774
- };
1775
- }
1776
- function Dr(e, t) {
1777
- return t = +t, function() {
1778
- ar(this, e).delay = t;
1779
- };
1780
- }
1781
- function Or(e) {
1782
- var t = this._id;
1783
- return arguments.length ? this.each((typeof e == "function" ? Er : Dr)(t, e)) : X(this.node(), t).delay;
1784
- }
1785
- //#endregion
1786
- //#region node_modules/d3-transition/src/transition/duration.js
1787
- function kr(e, t) {
1788
- return function() {
1789
- Y(this, e).duration = +t.apply(this, arguments);
1790
- };
1791
- }
1792
- function Ar(e, t) {
1793
- return t = +t, function() {
1794
- Y(this, e).duration = t;
1795
- };
1796
- }
1797
- function jr(e) {
1798
- var t = this._id;
1799
- return arguments.length ? this.each((typeof e == "function" ? kr : Ar)(t, e)) : X(this.node(), t).duration;
1800
- }
1801
- //#endregion
1802
- //#region node_modules/d3-transition/src/transition/ease.js
1803
- function Mr(e, t) {
1804
- if (typeof t != "function") throw Error();
1805
- return function() {
1806
- Y(this, e).ease = t;
1807
- };
1808
- }
1809
- function Nr(e) {
1810
- var t = this._id;
1811
- return arguments.length ? this.each(Mr(t, e)) : X(this.node(), t).ease;
1812
- }
1813
- //#endregion
1814
- //#region node_modules/d3-transition/src/transition/easeVarying.js
1815
- function Pr(e, t) {
1816
- return function() {
1817
- var n = t.apply(this, arguments);
1818
- if (typeof n != "function") throw Error();
1819
- Y(this, e).ease = n;
1820
- };
1821
- }
1822
- function Fr(e) {
1823
- if (typeof e != "function") throw Error();
1824
- return this.each(Pr(this._id, e));
1825
- }
1826
- //#endregion
1827
- //#region node_modules/d3-transition/src/transition/filter.js
1828
- function Ir(e) {
1829
- typeof e != "function" && (e = ue(e));
1830
- for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = [], c, l = 0; l < o; ++l) (c = a[l]) && e.call(c, c.__data__, l, a) && s.push(c);
1831
- return new Z(r, this._parents, this._name, this._id);
1832
- }
1833
- //#endregion
1834
- //#region node_modules/d3-transition/src/transition/merge.js
1835
- function Lr(e) {
1836
- if (e._id !== this._id) throw Error();
1837
- for (var t = this._groups, n = e._groups, r = t.length, i = n.length, a = Math.min(r, i), o = Array(r), s = 0; s < a; ++s) for (var c = t[s], l = n[s], u = c.length, d = o[s] = Array(u), f, p = 0; p < u; ++p) (f = c[p] || l[p]) && (d[p] = f);
1838
- for (; s < r; ++s) o[s] = t[s];
1839
- return new Z(o, this._parents, this._name, this._id);
1840
- }
1841
- //#endregion
1842
- //#region node_modules/d3-transition/src/transition/on.js
1843
- function Rr(e) {
1844
- return (e + "").trim().split(/^|\s+/).every(function(e) {
1845
- var t = e.indexOf(".");
1846
- return t >= 0 && (e = e.slice(0, t)), !e || e === "start";
1847
- });
1848
- }
1849
- function zr(e, t, n) {
1850
- var r, i, a = Rr(t) ? ar : Y;
1851
- return function() {
1852
- var o = a(this, e), s = o.on;
1853
- s !== r && (i = (r = s).copy()).on(t, n), o.on = i;
1854
- };
1855
- }
1856
- function Br(e, t) {
1857
- var n = this._id;
1858
- return arguments.length < 2 ? X(this.node(), n).on.on(e) : this.each(zr(n, e, t));
1859
- }
1860
- //#endregion
1861
- //#region node_modules/d3-transition/src/transition/remove.js
1862
- function Vr(e) {
1863
- return function() {
1864
- var t = this.parentNode;
1865
- for (var n in this.__transition) if (+n !== e) return;
1866
- t && t.removeChild(this);
1867
- };
1868
- }
1869
- function Hr() {
1870
- return this.on("end.remove", Vr(this._id));
1871
- }
1872
- //#endregion
1873
- //#region node_modules/d3-transition/src/transition/select.js
1874
- function Ur(e) {
1875
- var t = this._name, n = this._id;
1876
- typeof e != "function" && (e = re(e));
1877
- for (var r = this._groups, i = r.length, a = Array(i), o = 0; o < i; ++o) for (var s = r[o], c = s.length, l = a[o] = Array(c), u, d, f = 0; f < c; ++f) (u = s[f]) && (d = e.call(u, u.__data__, f, s)) && ("__data__" in u && (d.__data__ = u.__data__), l[f] = d, J(l[f], t, n, f, l, X(u, n)));
1878
- return new Z(a, this._parents, t, n);
1879
- }
1880
- //#endregion
1881
- //#region node_modules/d3-transition/src/transition/selectAll.js
1882
- function Wr(e) {
1883
- var t = this._name, n = this._id;
1884
- typeof e != "function" && (e = se(e));
1885
- for (var r = this._groups, i = r.length, a = [], o = [], s = 0; s < i; ++s) for (var c = r[s], l = c.length, u, d = 0; d < l; ++d) if (u = c[d]) {
1886
- for (var f = e.call(u, u.__data__, d, c), p, m = X(u, n), h = 0, g = f.length; h < g; ++h) (p = f[h]) && J(p, t, n, h, f, m);
1887
- a.push(f), o.push(u);
1888
- }
1889
- return new Z(a, o, t, n);
1890
- }
1891
- //#endregion
1892
- //#region node_modules/d3-transition/src/transition/selection.js
1893
- var Gr = k.prototype.constructor;
1894
- function Kr() {
1895
- return new Gr(this._groups, this._parents);
1896
- }
1897
- //#endregion
1898
- //#region node_modules/d3-transition/src/transition/style.js
1899
- function qr(e, t) {
1900
- var n, r, i;
1901
- return function() {
1902
- var a = D(this, e), o = (this.style.removeProperty(e), D(this, e));
1903
- return a === o ? null : a === n && o === r ? i : i = t(n = a, r = o);
1904
- };
1905
- }
1906
- function Jr(e) {
1907
- return function() {
1908
- this.style.removeProperty(e);
1909
- };
1910
- }
1911
- function Yr(e, t, n) {
1912
- var r, i = n + "", a;
1913
- return function() {
1914
- var o = D(this, e);
1915
- return o === i ? null : o === r ? a : a = t(r = o, n);
1916
- };
1917
- }
1918
- function Xr(e, t, n) {
1919
- var r, i, a;
1920
- return function() {
1921
- var o = D(this, e), s = n(this), c = s + "";
1922
- return s ?? (c = s = (this.style.removeProperty(e), D(this, e))), o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s));
1923
- };
1924
- }
1925
- function Zr(e, t) {
1926
- var n, r, i, a = "style." + t, o = "end." + a, s;
1927
- return function() {
1928
- var c = Y(this, e), l = c.on, u = c.value[a] == null ? s ||= Jr(t) : void 0;
1929
- (l !== n || i !== u) && (r = (n = l).copy()).on(o, i = u), c.on = r;
1930
- };
1931
- }
1932
- function Qr(e, t, n) {
1933
- var r = (e += "") == "transform" ? Rn : pr;
1934
- return t == null ? this.styleTween(e, qr(e, r)).on("end.style." + e, Jr(e)) : typeof t == "function" ? this.styleTween(e, Xr(e, r, fr(this, "style." + e, t))).each(Zr(this._id, e)) : this.styleTween(e, Yr(e, r, t), n).on("end.style." + e, null);
1935
- }
1936
- //#endregion
1937
- //#region node_modules/d3-transition/src/transition/styleTween.js
1938
- function $r(e, t, n) {
1939
- return function(r) {
1940
- this.style.setProperty(e, t.call(this, r), n);
1941
- };
1942
- }
1943
- function ei(e, t, n) {
1944
- var r, i;
1945
- function a() {
1946
- var a = t.apply(this, arguments);
1947
- return a !== i && (r = (i = a) && $r(e, a, n)), r;
1948
- }
1949
- return a._value = t, a;
1950
- }
1951
- function ti(e, t, n) {
1952
- var r = "style." + (e += "");
1953
- if (arguments.length < 2) return (r = this.tween(r)) && r._value;
1954
- if (t == null) return this.tween(r, null);
1955
- if (typeof t != "function") throw Error();
1956
- return this.tween(r, ei(e, t, n ?? ""));
1957
- }
1958
- //#endregion
1959
- //#region node_modules/d3-transition/src/transition/text.js
1960
- function ni(e) {
1961
- return function() {
1962
- this.textContent = e;
1963
- };
1964
- }
1965
- function ri(e) {
1966
- return function() {
1967
- var t = e(this);
1968
- this.textContent = t ?? "";
1969
- };
1970
- }
1971
- function ii(e) {
1972
- return this.tween("text", typeof e == "function" ? ri(fr(this, "text", e)) : ni(e == null ? "" : e + ""));
1973
- }
1974
- //#endregion
1975
- //#region node_modules/d3-transition/src/transition/textTween.js
1976
- function ai(e) {
1977
- return function(t) {
1978
- this.textContent = e.call(this, t);
1979
- };
1980
- }
1981
- function oi(e) {
1982
- var t, n;
1983
- function r() {
1984
- var r = e.apply(this, arguments);
1985
- return r !== n && (t = (n = r) && ai(r)), t;
1986
- }
1987
- return r._value = e, r;
1988
- }
1989
- function si(e) {
1990
- var t = "text";
1991
- if (arguments.length < 1) return (t = this.tween(t)) && t._value;
1992
- if (e == null) return this.tween(t, null);
1993
- if (typeof e != "function") throw Error();
1994
- return this.tween(t, oi(e));
1995
- }
1996
- //#endregion
1997
- //#region node_modules/d3-transition/src/transition/transition.js
1998
- function ci() {
1999
- for (var e = this._name, t = this._id, n = di(), r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) if (c = o[l]) {
2000
- var u = X(c, t);
2001
- J(c, e, n, l, o, {
2002
- time: u.time + u.delay + u.duration,
2003
- delay: 0,
2004
- duration: u.duration,
2005
- ease: u.ease
2006
- });
2007
- }
2008
- return new Z(r, this._parents, e, n);
2009
- }
2010
- //#endregion
2011
- //#region node_modules/d3-transition/src/transition/end.js
2012
- function li() {
2013
- var e, t, n = this, r = n._id, i = n.size();
2014
- return new Promise(function(a, o) {
2015
- var s = { value: o }, c = { value: function() {
2016
- --i === 0 && a();
2017
- } };
2018
- n.each(function() {
2019
- var n = Y(this, r), i = n.on;
2020
- i !== e && (t = (e = i).copy(), t._.cancel.push(s), t._.interrupt.push(s), t._.end.push(c)), n.on = t;
2021
- }), i === 0 && a();
2022
- });
2023
- }
2024
- //#endregion
2025
- //#region node_modules/d3-transition/src/transition/index.js
2026
- var ui = 0;
2027
- function Z(e, t, n, r) {
2028
- this._groups = e, this._parents = t, this._name = n, this._id = r;
2029
- }
2030
- function di() {
2031
- return ++ui;
2032
- }
2033
- var Q = k.prototype;
2034
- Z.prototype = {
2035
- constructor: Z,
2036
- select: Ur,
2037
- selectAll: Wr,
2038
- selectChild: Q.selectChild,
2039
- selectChildren: Q.selectChildren,
2040
- filter: Ir,
2041
- merge: Lr,
2042
- selection: Kr,
2043
- transition: ci,
2044
- call: Q.call,
2045
- nodes: Q.nodes,
2046
- node: Q.node,
2047
- size: Q.size,
2048
- empty: Q.empty,
2049
- each: Q.each,
2050
- on: Br,
2051
- attr: br,
2052
- attrTween: Tr,
2053
- style: Qr,
2054
- styleTween: ti,
2055
- text: ii,
2056
- textTween: si,
2057
- remove: Hr,
2058
- tween: dr,
2059
- delay: Or,
2060
- duration: jr,
2061
- ease: Nr,
2062
- easeVarying: Fr,
2063
- end: li,
2064
- [Symbol.iterator]: Q[Symbol.iterator]
2065
- };
2066
- //#endregion
2067
- //#region node_modules/d3-ease/src/cubic.js
2068
- function fi(e) {
2069
- return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2;
2070
- }
2071
- //#endregion
2072
- //#region node_modules/d3-transition/src/selection/transition.js
2073
- var pi = {
2074
- time: null,
2075
- delay: 0,
2076
- duration: 250,
2077
- ease: fi
2078
- };
2079
- function mi(e, t) {
2080
- for (var n; !(n = e.__transition) || !(n = n[t]);) if (!(e = e.parentNode)) throw Error(`transition ${t} not found`);
2081
- return n;
2082
- }
2083
- function hi(e) {
2084
- var t, n;
2085
- e instanceof Z ? (t = e._id, e = e._name) : (t = di(), (n = pi).time = qn(), e = e == null ? null : e + "");
2086
- for (var r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && J(c, e, t, l, o, n || mi(c, t));
2087
- return new Z(r, this._parents, e, t);
2088
- }
2089
- k.prototype.interrupt = cr, k.prototype.transition = hi;
2090
- //#endregion
2091
- //#region node_modules/d3-brush/src/brush.js
2092
- var { abs: gi, max: _i, min: vi } = Math;
2093
- ["w", "e"].map(yi), ["n", "s"].map(yi), [
2094
- "n",
2095
- "w",
2096
- "e",
2097
- "s",
2098
- "nw",
2099
- "ne",
2100
- "sw",
2101
- "se"
2102
- ].map(yi);
2103
- function yi(e) {
2104
- return { type: e };
2105
- }
2106
- //#endregion
2107
- //#region node_modules/d3-zoom/src/transform.js
2108
- function $(e, t, n) {
2109
- this.k = e, this.x = t, this.y = n;
2110
- }
2111
- $.prototype = {
2112
- constructor: $,
2113
- scale: function(e) {
2114
- return e === 1 ? this : new $(this.k * e, this.x, this.y);
2115
- },
2116
- translate: function(e, t) {
2117
- return e === 0 & t === 0 ? this : new $(this.k, this.x + this.k * e, this.y + this.k * t);
2118
- },
2119
- apply: function(e) {
2120
- return [e[0] * this.k + this.x, e[1] * this.k + this.y];
2121
- },
2122
- applyX: function(e) {
2123
- return e * this.k + this.x;
2124
- },
2125
- applyY: function(e) {
2126
- return e * this.k + this.y;
2127
- },
2128
- invert: function(e) {
2129
- return [(e[0] - this.x) / this.k, (e[1] - this.y) / this.k];
2130
- },
2131
- invertX: function(e) {
2132
- return (e - this.x) / this.k;
2133
- },
2134
- invertY: function(e) {
2135
- return (e - this.y) / this.k;
2136
- },
2137
- rescaleX: function(e) {
2138
- return e.copy().domain(e.range().map(this.invertX, this).map(e.invert, e));
2139
- },
2140
- rescaleY: function(e) {
2141
- return e.copy().domain(e.range().map(this.invertY, this).map(e.invert, e));
2142
- },
2143
- toString: function() {
2144
- return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")";
2145
- }
2146
- };
2147
- var bi = new $(1, 0, 0);
2148
- xi.prototype = $.prototype;
2149
- function xi(e) {
2150
- for (; !e.__zoom;) if (!(e = e.parentNode)) return bi;
2151
- return e.__zoom;
2152
- }
2153
- //#endregion
2154
- export { s as _, wn as a, L as c, Kt as d, qt as f, d as g, h, Sn as i, F as l, m, U as n, yn as o, Gt as p, Tn as r, A as s, An as t, ln as u, c as v, u as y };