@jackuait/blok 0.10.5 → 0.10.6

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 (310) hide show
  1. package/dist/blok.mjs +2 -2
  2. package/dist/chunks/_basePickBy--UeZi0iS.mjs +166 -0
  3. package/dist/chunks/_baseUniq-C977U_l-.mjs +682 -0
  4. package/dist/chunks/{arc-D-pL2Ftf.mjs → arc-Woh6y3jm.mjs} +2 -2
  5. package/dist/chunks/architecture-YZFGNWBL-aVO23UKm.mjs +3 -0
  6. package/dist/chunks/{architectureDiagram-Q4EWVU46-DS7mqjL2.mjs → architectureDiagram-Q4EWVU46-GTqLmLqg.mjs} +115 -115
  7. package/dist/chunks/{blockDiagram-DXYQGD6D-BTtcn4NG.mjs → blockDiagram-DXYQGD6D-CML01I1L.mjs} +681 -866
  8. package/dist/chunks/{blok-DSP5zC_s.mjs → blok-B0k4z2h1.mjs} +604 -564
  9. package/dist/chunks/{c4Diagram-AHTNJAMY-Y4Dcwcoo.mjs → c4Diagram-AHTNJAMY-C29OuYjO.mjs} +239 -239
  10. package/dist/chunks/{channel-Cln-eWE0.mjs → channel-Zp_OyvEW.mjs} +1 -1
  11. package/dist/chunks/{chunk-2KRD3SAO-DkM7qh-k.mjs → chunk-2KRD3SAO-mVfUZfox.mjs} +1 -1
  12. package/dist/chunks/{chunk-336JU56O-B17AtzlK.mjs → chunk-336JU56O-mJNxs0cr.mjs} +18 -18
  13. package/dist/chunks/{chunk-426QAEUC-D6UAVUog.mjs → chunk-426QAEUC-TajZlyP-.mjs} +2 -2
  14. package/dist/chunks/{chunk-4BX2VUAB-CgIkjF7Z.mjs → chunk-4BX2VUAB-CsopMMb6.mjs} +1 -1
  15. package/dist/chunks/{chunk-4TB4RGXK-BUP4eON3.mjs → chunk-4TB4RGXK-DC963IrJ.mjs} +129 -129
  16. package/dist/chunks/{chunk-55IACEB6-zZ-IgaSt.mjs → chunk-55IACEB6-yyL3mncJ.mjs} +1 -1
  17. package/dist/chunks/{chunk-5FUZZQ4R-DsZnJYxM.mjs → chunk-5FUZZQ4R-Dr4NE8rh.mjs} +663 -663
  18. package/dist/chunks/chunk-5PVQY5BW-BP7ENjg7.mjs +1122 -0
  19. package/dist/chunks/{chunk-67CJDMHE-m0UKdcSH.mjs → chunk-67CJDMHE-Dbl-PjEf.mjs} +1 -1
  20. package/dist/chunks/{chunk-7N4EOEYR-DKNajFZd.mjs → chunk-7N4EOEYR-p-g3cKuX.mjs} +1 -1
  21. package/dist/chunks/{chunk-AA7GKIK3-BeLhNzKa.mjs → chunk-AA7GKIK3-Dt0Kr5Va.mjs} +1 -1
  22. package/dist/chunks/{chunk-BSJP7CBP-CJExmx8a.mjs → chunk-BSJP7CBP-DGU2WHwh.mjs} +1 -1
  23. package/dist/chunks/{chunk-CIAEETIT-CTikoJ19.mjs → chunk-CIAEETIT-BQ4crY5r.mjs} +1 -1
  24. package/dist/chunks/{chunk-EDXVE4YY-DjInnnwb.mjs → chunk-EDXVE4YY-B9_aGwkV.mjs} +2 -2
  25. package/dist/chunks/{chunk-ENJZ2VHE-CIl5FRDA.mjs → chunk-ENJZ2VHE-23pY8ft5.mjs} +243 -243
  26. package/dist/chunks/{chunk-FMBD7UC4-DjV0W7UE.mjs → chunk-FMBD7UC4-D_RQlBGX.mjs} +1 -1
  27. package/dist/chunks/{chunk-FOC6F5B3-LmHCCWYY.mjs → chunk-FOC6F5B3-CJfr-iwx.mjs} +1 -1
  28. package/dist/chunks/{chunk-ICPOFSXX-BHZIN46A.mjs → chunk-ICPOFSXX-BOvOTlG6.mjs} +2 -2
  29. package/dist/chunks/{chunk-K5T4RW27-BPZ6fFnW.mjs → chunk-K5T4RW27-CHSI0vpp.mjs} +572 -570
  30. package/dist/chunks/{chunk-KGLVRYIC-S1OQdW76.mjs → chunk-KGLVRYIC-ngXT4XVA.mjs} +1 -1
  31. package/dist/chunks/{chunk-LIHQZDEY-CjtyJlI6.mjs → chunk-LIHQZDEY-CnP7bym1.mjs} +1 -1
  32. package/dist/chunks/{chunk-ORNJ4GCN-CdO0hAge.mjs → chunk-ORNJ4GCN-BPaghT45.mjs} +1 -1
  33. package/dist/chunks/{chunk-OYMX7WX6-ApX8eV4o.mjs → chunk-OYMX7WX6-CKjTvqTg.mjs} +172 -172
  34. package/dist/chunks/{chunk-QZHKN3VN-BGFuA6-k.mjs → chunk-QZHKN3VN-uW1N2UWF.mjs} +1 -1
  35. package/dist/chunks/{chunk-U2HBQHQK-B88ZUOTL.mjs → chunk-U2HBQHQK-DiQOEtQH.mjs} +65 -65
  36. package/dist/chunks/{chunk-X2U36JSP-1VS5TyCr.mjs → chunk-X2U36JSP-Cznp5Jm-.mjs} +2 -2
  37. package/dist/chunks/{chunk-XPW4576I-BMupdrvo.mjs → chunk-XPW4576I-W5t_agZI.mjs} +1 -1
  38. package/dist/chunks/{chunk-YZCP3GAM-BQ7eEsm2.mjs → chunk-YZCP3GAM-BV02tG_z.mjs} +3 -3
  39. package/dist/chunks/{chunk-ZZ45TVLE-D1xks9zd.mjs → chunk-ZZ45TVLE-D28EyJ6R.mjs} +7 -7
  40. package/dist/chunks/classDiagram-6PBFFD2Q-DXsClapu.mjs +30 -0
  41. package/dist/chunks/classDiagram-v2-HSJHXN6E-B6TlQ_PM.mjs +30 -0
  42. package/dist/chunks/{clone-Ckjt1LtE.mjs → clone-CUNvBGto.mjs} +1 -1
  43. package/dist/chunks/{constants-B0Tns0mh.mjs → constants-lOEJu8bC.mjs} +4 -2
  44. package/dist/chunks/{cose-bilkent-S5V4N54A-Bpcs2jA_.mjs → cose-bilkent-S5V4N54A-D-Xgf_Xn.mjs} +2 -2
  45. package/dist/chunks/{cpp-BdjvAny0.mjs → cpp-DaTV1RSp.mjs} +2 -2
  46. package/dist/chunks/{dagre-KV5264BT-DUD9ikgN.mjs → dagre-KV5264BT-BB3SAlfA.mjs} +15 -15
  47. package/dist/chunks/{dagre-CGNbYTKq.mjs → dagre-dysBn-m8.mjs} +499 -552
  48. package/dist/chunks/diagram-5BDNPKRD-B1410bPG.mjs +112 -0
  49. package/dist/chunks/{diagram-G4DWMVQ6-CuS0-h95.mjs → diagram-G4DWMVQ6-CdhBBETB.mjs} +82 -82
  50. package/dist/chunks/{diagram-MMDJMWI5-C-AEApYz.mjs → diagram-MMDJMWI5-B3HWfHe1.mjs} +48 -48
  51. package/dist/chunks/{diagram-TYMM5635-CiwAJVMq.mjs → diagram-TYMM5635-D0JzRYCN.mjs} +51 -51
  52. package/dist/chunks/{erDiagram-SMLLAGMA-DeH5yck2.mjs → erDiagram-SMLLAGMA-DfIG0QBk.mjs} +142 -142
  53. package/dist/chunks/{flowDiagram-DWJPFMVM-Cr6dwmQ5.mjs → flowDiagram-DWJPFMVM-BOL8JsQX.mjs} +176 -176
  54. package/dist/chunks/{ganttDiagram-T4ZO3ILL-K-divBg_.mjs → ganttDiagram-T4ZO3ILL-CiUr_YRw.mjs} +230 -230
  55. package/dist/chunks/gitGraph-7Q5UKJZL-B3aq166w.mjs +3 -0
  56. package/dist/chunks/{gitGraphDiagram-UUTBAWPF-UytPZv72.mjs → gitGraphDiagram-UUTBAWPF-CtNkTTWO.mjs} +218 -218
  57. package/dist/chunks/{graphlib-Cye9EPNq.mjs → graphlib-BXNPwKuI.mjs} +48 -46
  58. package/dist/chunks/{graphql-BSnqmqgO.mjs → graphql-DNumR9m-.mjs} +2 -2
  59. package/dist/chunks/{html-BLNeZvnp.mjs → html-CanPsi1Y.mjs} +2 -2
  60. package/dist/chunks/{i18next-loader-D_v0EmDP.mjs → i18next-loader-CIXsptng.mjs} +1 -1
  61. package/dist/chunks/info-OMHHGYJF-SX91-Wub.mjs +3 -0
  62. package/dist/chunks/{infoDiagram-42DDH7IO-DuYnDbF3.mjs → infoDiagram-42DDH7IO-CD7nVBvi.mjs} +14 -14
  63. package/dist/chunks/isArrayLikeObject-DzUNFfIK.mjs +578 -0
  64. package/dist/chunks/isEmpty-D8B0aRsG.mjs +35 -0
  65. package/dist/chunks/{ishikawaDiagram-UXIWVN3A-CHc59dLn.mjs → ishikawaDiagram-UXIWVN3A-BOaC9qJs.mjs} +81 -81
  66. package/dist/chunks/{journeyDiagram-VCZTEJTY-CD25C4_n.mjs → journeyDiagram-VCZTEJTY-DKf55ZdJ.mjs} +6 -6
  67. package/dist/chunks/{kanban-definition-6JOO6SKY-CTCT6N_p.mjs → kanban-definition-6JOO6SKY-D2CrAXqB.mjs} +11 -11
  68. package/dist/chunks/{latex-24n3TcOR.mjs → latex-DY1HNB4U.mjs} +1 -1
  69. package/dist/chunks/line-CuvDsrkE.mjs +34 -0
  70. package/dist/chunks/{linear-BRCpMvtr.mjs → linear-JRIqMpGQ.mjs} +3 -3
  71. package/dist/chunks/{lua-DV0fuZWx.mjs → lua-COOfzihE.mjs} +1 -1
  72. package/dist/chunks/{mermaid-parser.core-CA3DKkuk.mjs → mermaid-parser.core-BhpZC2lA.mjs} +10 -10
  73. package/dist/chunks/mermaid.core-C40gcVfv.mjs +977 -0
  74. package/dist/chunks/{micromark-extension-math-BbkUb36G.mjs → micromark-extension-math-D-s54WWf.mjs} +1 -1
  75. package/dist/chunks/{mindmap-definition-QFDTVHPH-hNnyBkEP.mjs → mindmap-definition-QFDTVHPH-C-0fwUUS.mjs} +13 -13
  76. package/dist/chunks/{ordinal-B-kolV-i.mjs → ordinal-fyJMP-lj.mjs} +1 -1
  77. package/dist/chunks/packet-4T2RLAQJ-suhU85JN.mjs +3 -0
  78. package/dist/chunks/{php-DmXKyPwJ.mjs → php-DA-SOiqC.mjs} +6 -6
  79. package/dist/chunks/pie-ZZUOXDRM-DF5e16CP.mjs +3 -0
  80. package/dist/chunks/pieDiagram-DEJITSTG-BPyqheXv.mjs +179 -0
  81. package/dist/chunks/{quadrantDiagram-34T5L4WZ-CQ5fGYI5.mjs → quadrantDiagram-34T5L4WZ-kOZ1zIXB.mjs} +4 -4
  82. package/dist/chunks/radar-PYXPWWZC-DgzodpRv.mjs +3 -0
  83. package/dist/chunks/{requirementDiagram-MS252O5E-DjWKB42c.mjs → requirementDiagram-MS252O5E-C8Zkq6Lq.mjs} +64 -64
  84. package/dist/chunks/{ruby-DdOo03Kg.mjs → ruby-HDUjp8gK.mjs} +11 -11
  85. package/dist/chunks/{sankeyDiagram-XADWPNL6-BIN2evSB.mjs → sankeyDiagram-XADWPNL6-B0FhkAL9.mjs} +3 -3
  86. package/dist/chunks/{sequenceDiagram-FGHM5R23-CQz2lMoS.mjs → sequenceDiagram-FGHM5R23-Dv2H5Lbc.mjs} +447 -447
  87. package/dist/chunks/stateDiagram-FHFEXIEX-D1vcO7H_.mjs +218 -0
  88. package/dist/chunks/stateDiagram-v2-QKLJ7IA2-AoHzFiaI.mjs +28 -0
  89. package/dist/chunks/{timeline-definition-GMOUNBTQ-CzvQ7Lav.mjs → timeline-definition-GMOUNBTQ-DJmJ0TPa.mjs} +195 -195
  90. package/dist/chunks/{tools-KZmhOKEo.mjs → tools-FmtWXVgt.mjs} +102 -100
  91. package/dist/chunks/treeView-SZITEDCU-C1mc9PWf.mjs +3 -0
  92. package/dist/chunks/treemap-W4RFUUIX-ClV9Slyp.mjs +3 -0
  93. package/dist/chunks/{vennDiagram-DHZGUBPP-B0DmLQqe.mjs → vennDiagram-DHZGUBPP-Dx1rMP24.mjs} +76 -76
  94. package/dist/chunks/wardley-RL74JXVD-Dj7t7jHR.mjs +3 -0
  95. package/dist/chunks/{wardleyDiagram-NUSXRM2D-CzoKesUw.mjs → wardleyDiagram-NUSXRM2D-Dnm6lvMn.mjs} +15 -15
  96. package/dist/chunks/{xml-g8kXXALs.mjs → xml-Dq1lpp8G.mjs} +1 -1
  97. package/dist/chunks/{xychartDiagram-5P7HB3ND-CixwR8r2.mjs → xychartDiagram-5P7HB3ND-C9wFc2e9.mjs} +120 -120
  98. package/dist/full.mjs +3 -3
  99. package/dist/markdown.mjs +1 -1
  100. package/dist/react.mjs +2 -2
  101. package/dist/tools.mjs +2 -2
  102. package/dist/vendor.LICENSE.txt +64 -64
  103. package/package.json +3 -2
  104. package/src/components/block/index.ts +2 -2
  105. package/src/components/block-tunes/block-tune-delete.ts +1 -0
  106. package/src/components/modules/blockEvents/composers/markdownShortcuts.ts +105 -2
  107. package/src/components/modules/blockEvents/constants.ts +24 -0
  108. package/src/components/modules/blockManager/blockManager.ts +1 -1
  109. package/src/components/modules/blockManager/types.ts +1 -1
  110. package/src/components/modules/toolbar/blockSettings.ts +89 -11
  111. package/src/components/modules/yjs/document-store.ts +1 -1
  112. package/src/components/modules/yjs/index.ts +1 -1
  113. package/src/components/utils/popover/popover-abstract.ts +9 -0
  114. package/src/tools/code/index.ts +1 -0
  115. package/src/tools/quote/index.ts +1 -0
  116. package/types/configs/blok-config.d.ts +13 -3
  117. package/types/configs/index.d.ts +1 -0
  118. package/types/configs/user-info.d.ts +14 -0
  119. package/types/data-formats/output-data.d.ts +2 -2
  120. package/types/index.d.ts +1 -0
  121. package/dist/chunks/_basePickBy-DISiGhsr.mjs +0 -410
  122. package/dist/chunks/_baseUniq-gAuHRtRF.mjs +0 -1045
  123. package/dist/chunks/_getTag-Aj56Wgor.mjs +0 -26
  124. package/dist/chunks/architecture-YZFGNWBL-CuqTb_ae.mjs +0 -3
  125. package/dist/chunks/chunk-5PVQY5BW-CORl9dnu.mjs +0 -1692
  126. package/dist/chunks/classDiagram-6PBFFD2Q-C59BZJxp.mjs +0 -30
  127. package/dist/chunks/classDiagram-v2-HSJHXN6E-7a0qeMsE.mjs +0 -30
  128. package/dist/chunks/diagram-5BDNPKRD-CZGfTYEe.mjs +0 -112
  129. package/dist/chunks/gitGraph-7Q5UKJZL-Dl-vQzrq.mjs +0 -3
  130. package/dist/chunks/info-OMHHGYJF-BOejJvJR.mjs +0 -3
  131. package/dist/chunks/line-Dct5pMmw.mjs +0 -34
  132. package/dist/chunks/mermaid.core-CA8nc1sZ.mjs +0 -989
  133. package/dist/chunks/packet-4T2RLAQJ-B5ZMgwzZ.mjs +0 -3
  134. package/dist/chunks/pie-ZZUOXDRM-B9l6y0XJ.mjs +0 -3
  135. package/dist/chunks/pieDiagram-DEJITSTG-Gw-fsc6U.mjs +0 -179
  136. package/dist/chunks/radar-PYXPWWZC-D5kYmUaB.mjs +0 -3
  137. package/dist/chunks/stateDiagram-FHFEXIEX-BIBFsF65.mjs +0 -218
  138. package/dist/chunks/stateDiagram-v2-QKLJ7IA2-BZUmAVw7.mjs +0 -28
  139. package/dist/chunks/treeView-SZITEDCU-BNtnNxpI.mjs +0 -3
  140. package/dist/chunks/treemap-W4RFUUIX-DYENULz2.mjs +0 -3
  141. package/dist/chunks/wardley-RL74JXVD-ByNHVBTb.mjs +0 -3
  142. /package/dist/chunks/{am-BxlkYGsI.mjs → am-Bbd7cTHS.mjs} +0 -0
  143. /package/dist/chunks/{ar-9vlpr9V8.mjs → ar-Bo71sCQE.mjs} +0 -0
  144. /package/dist/chunks/{array-BsrkCVSZ.mjs → array-DbiMs_0t.mjs} +0 -0
  145. /package/dist/chunks/{az-ON63W_FP.mjs → az-BnNrO_xK.mjs} +0 -0
  146. /package/dist/chunks/{bg-CtXWTP5w.mjs → bg-CMd2n-OG.mjs} +0 -0
  147. /package/dist/chunks/{bn-BERvhXM4.mjs → bn-B3lorfXA.mjs} +0 -0
  148. /package/dist/chunks/{bs-CBg8NVPG.mjs → bs-_zM8QBsA.mjs} +0 -0
  149. /package/dist/chunks/{c-C6JXJf5K.mjs → c-DmKJe6GM.mjs} +0 -0
  150. /package/dist/chunks/{core-Bm6DWt7D.mjs → core-C942GvJO.mjs} +0 -0
  151. /package/dist/chunks/{cs-DeQddxS7.mjs → cs-nodpmLBf.mjs} +0 -0
  152. /package/dist/chunks/{csharp-YHxeHpeH.mjs → csharp-Drv96dbi.mjs} +0 -0
  153. /package/dist/chunks/{css-DdLevFaX.mjs → css-82tNAoU6.mjs} +0 -0
  154. /package/dist/chunks/{cytoscape.esm-BvD8wo00.mjs → cytoscape.esm-DSb9a7HE.mjs} +0 -0
  155. /package/dist/chunks/{da-DyTo-ec_.mjs → da-DwzgQcXQ.mjs} +0 -0
  156. /package/dist/chunks/{dart-DrPWqfcC.mjs → dart-DE9j8McI.mjs} +0 -0
  157. /package/dist/chunks/{de-Cu7545m1.mjs → de-BvWPiNt6.mjs} +0 -0
  158. /package/dist/chunks/{defaultLocale-ChuSeAxU.mjs → defaultLocale-yTyMJ3IT.mjs} +0 -0
  159. /package/dist/chunks/{dist-Ctq-pyfb.mjs → dist-X14EnMrO.mjs} +0 -0
  160. /package/dist/chunks/{dockerfile-C68ALcaN.mjs → dockerfile-D9DFksUy.mjs} +0 -0
  161. /package/dist/chunks/{el-oiubLRBq.mjs → el-B_D7wUrZ.mjs} +0 -0
  162. /package/dist/chunks/{engine-javascript-CJpnSvzf.mjs → engine-javascript-Dd6ViPCH.mjs} +0 -0
  163. /package/dist/chunks/{es-DZUC6Klv.mjs → es-Bn_ZFyW9.mjs} +0 -0
  164. /package/dist/chunks/{et-CDeklAog.mjs → et-CUcULjoh.mjs} +0 -0
  165. /package/dist/chunks/{fa-Cafp7_Li.mjs → fa-BRhCTsOy.mjs} +0 -0
  166. /package/dist/chunks/{fi-BD_V_aVW.mjs → fi-BEvyU9n6.mjs} +0 -0
  167. /package/dist/chunks/{fil-Crsfbtx4.mjs → fil-Dlp1_W2B.mjs} +0 -0
  168. /package/dist/chunks/{fr-BGGc04Zv.mjs → fr-DJBeOAx1.mjs} +0 -0
  169. /package/dist/chunks/{go-Fm5N96DN.mjs → go-jyWjtO8q.mjs} +0 -0
  170. /package/dist/chunks/{gu-Vg_BgCTp.mjs → gu-0hWvx16l.mjs} +0 -0
  171. /package/dist/chunks/{he-DTY9chlZ.mjs → he-CYe88qXp.mjs} +0 -0
  172. /package/dist/chunks/{hi-DChMXk0x.mjs → hi-DuLkkPWn.mjs} +0 -0
  173. /package/dist/chunks/{hr-BWVgNU8k.mjs → hr-BwCB1IMW.mjs} +0 -0
  174. /package/dist/chunks/{hu-B37awHXA.mjs → hu-C2dLyTeX.mjs} +0 -0
  175. /package/dist/chunks/{hy-DGC_GDHh.mjs → hy-DXKoDpv9.mjs} +0 -0
  176. /package/dist/chunks/{i18next-CXx5niYF.mjs → i18next-CLUkHqmV.mjs} +0 -0
  177. /package/dist/chunks/{id-V7cw6La2.mjs → id-D4chLuW_.mjs} +0 -0
  178. /package/dist/chunks/{init-C6T-mugb.mjs → init-BlLeEogJ.mjs} +0 -0
  179. /package/dist/chunks/{it-DrTGP8Rn.mjs → it-Hto3G26t.mjs} +0 -0
  180. /package/dist/chunks/{ja-DS4pbJEG.mjs → ja-UxHm_PPZ.mjs} +0 -0
  181. /package/dist/chunks/{java-83DWBpzu.mjs → java-Dhv78FEb.mjs} +0 -0
  182. /package/dist/chunks/{javascript-CBgeF1Xx.mjs → javascript-DilE9EuZ.mjs} +0 -0
  183. /package/dist/chunks/{json-BI17y-1H.mjs → json-LUtHrtDA.mjs} +0 -0
  184. /package/dist/chunks/{ka-BueyosRh.mjs → ka-BnjXwPUq.mjs} +0 -0
  185. /package/dist/chunks/{katex-CmTPfM0f.mjs → katex-B8jUB5Cv.mjs} +0 -0
  186. /package/dist/chunks/{km-B0K891yW.mjs → km-exgzZBIE.mjs} +0 -0
  187. /package/dist/chunks/{kn-BQ__skg8.mjs → kn-DjjUg8aO.mjs} +0 -0
  188. /package/dist/chunks/{ko-BuPxi_7e.mjs → ko-Cu0YUSV6.mjs} +0 -0
  189. /package/dist/chunks/{kotlin-DjnvsrfO.mjs → kotlin-DFLPXbOQ.mjs} +0 -0
  190. /package/dist/chunks/{ku-nQjwPRw2.mjs → ku-D-IxJ0fx.mjs} +0 -0
  191. /package/dist/chunks/{lo-K5NVFoq1.mjs → lo-BcwjJBcv.mjs} +0 -0
  192. /package/dist/chunks/{lt-D3xD6Eb2.mjs → lt-Bt05MFPC.mjs} +0 -0
  193. /package/dist/chunks/{lv-DH13mzZj.mjs → lv-B01TmEFW.mjs} +0 -0
  194. /package/dist/chunks/{markdown-BqQYT45f.mjs → markdown-C6pnqcPd.mjs} +0 -0
  195. /package/dist/chunks/{mdast-util-math-BlK2Zu-1.mjs → mdast-util-math-D56mMxhB.mjs} +0 -0
  196. /package/dist/chunks/{mermaid-vF0cEnZ0.mjs → mermaid-BKA834jS.mjs} +0 -0
  197. /package/dist/chunks/{messages-Buwm8xrX2.mjs → messages--G2XLc8E.mjs} +0 -0
  198. /package/dist/chunks/{messages-DKjUcEfs.mjs → messages-3kHDtQLN.mjs} +0 -0
  199. /package/dist/chunks/{messages-f-YBthdd2.mjs → messages-4Y8dL_1j2.mjs} +0 -0
  200. /package/dist/chunks/{messages--tSqMtkx2.mjs → messages-9Nx7kteY2.mjs} +0 -0
  201. /package/dist/chunks/{messages-B5ZVSxG4.mjs → messages-B29Wm2zT.mjs} +0 -0
  202. /package/dist/chunks/{messages-CDtmVcBc.mjs → messages-B9mzGzZ_.mjs} +0 -0
  203. /package/dist/chunks/{messages-B9PUHq4t.mjs → messages-BCfsOOlp.mjs} +0 -0
  204. /package/dist/chunks/{messages-adEATsLK.mjs → messages-BJTwY1tq.mjs} +0 -0
  205. /package/dist/chunks/{messages-DqGv-lj6.mjs → messages-BK6AwU6C.mjs} +0 -0
  206. /package/dist/chunks/{messages-DGYjioKM.mjs → messages-BPxMr5HC.mjs} +0 -0
  207. /package/dist/chunks/{messages-DKZHsfXy2.mjs → messages-BS9zk4mI2.mjs} +0 -0
  208. /package/dist/chunks/{messages-CEWKcK-Q.mjs → messages-BSXBVdsp.mjs} +0 -0
  209. /package/dist/chunks/{messages-gNK1EolD.mjs → messages-BSyO1EWC.mjs} +0 -0
  210. /package/dist/chunks/{messages-DggaAu362.mjs → messages-BUQTXTew2.mjs} +0 -0
  211. /package/dist/chunks/{messages-Bg8uBETk2.mjs → messages-Bhn5V9FQ2.mjs} +0 -0
  212. /package/dist/chunks/{messages-bteFpBer.mjs → messages-Bi629xgG.mjs} +0 -0
  213. /package/dist/chunks/{messages-Dle6Hv30.mjs → messages-BimpUMRx.mjs} +0 -0
  214. /package/dist/chunks/{messages-Bedied602.mjs → messages-BkaUIuz-2.mjs} +0 -0
  215. /package/dist/chunks/{messages-DIUegdwv2.mjs → messages-BmC2yhsC2.mjs} +0 -0
  216. /package/dist/chunks/{messages-Blg1X6YL.mjs → messages-Bo7Cbk_O.mjs} +0 -0
  217. /package/dist/chunks/{messages-CdWS0hvw.mjs → messages-Bq7fo8X0.mjs} +0 -0
  218. /package/dist/chunks/{messages-3w1e16T2.mjs → messages-BsqBho4T.mjs} +0 -0
  219. /package/dist/chunks/{messages-BqKIunt0.mjs → messages-C7E8C3-S.mjs} +0 -0
  220. /package/dist/chunks/{messages-JRjsu_bC.mjs → messages-C9QhLDA2.mjs} +0 -0
  221. /package/dist/chunks/{messages-D5lY22F4.mjs → messages-C9UIaF6N.mjs} +0 -0
  222. /package/dist/chunks/{messages-BmDMK9Dg.mjs → messages-CAX3qQi0.mjs} +0 -0
  223. /package/dist/chunks/{messages-CrCalcxK.mjs → messages-CEJtxBxU.mjs} +0 -0
  224. /package/dist/chunks/{messages-D5NWb-B9.mjs → messages-CF0SW1zy.mjs} +0 -0
  225. /package/dist/chunks/{messages--X-ZzYSb.mjs → messages-CIre8L_r.mjs} +0 -0
  226. /package/dist/chunks/{messages-DalLfJNC.mjs → messages-CJ8IkF1P.mjs} +0 -0
  227. /package/dist/chunks/{messages-b8XGiuAa2.mjs → messages-CKP6aUXN2.mjs} +0 -0
  228. /package/dist/chunks/{messages-DlTG06-j.mjs → messages-CMMq-u7e.mjs} +0 -0
  229. /package/dist/chunks/{messages-ByHXyVi6.mjs → messages-CR5irc8q.mjs} +0 -0
  230. /package/dist/chunks/{messages-IjEU7XAq.mjs → messages-CRH0RWBs.mjs} +0 -0
  231. /package/dist/chunks/{messages-DpnhbDoK2.mjs → messages-CWm_2RvD2.mjs} +0 -0
  232. /package/dist/chunks/{messages-cR48x2Aq2.mjs → messages-CY76MvbX2.mjs} +0 -0
  233. /package/dist/chunks/{messages-Dk-d3mmM.mjs → messages-CpLq4ZZg.mjs} +0 -0
  234. /package/dist/chunks/{messages-C9HPruJj2.mjs → messages-CrpOkt8c2.mjs} +0 -0
  235. /package/dist/chunks/{messages-CmGixnBb2.mjs → messages-D3fu2FHB2.mjs} +0 -0
  236. /package/dist/chunks/{messages-CXjSY5Fy.mjs → messages-D6_I0L06.mjs} +0 -0
  237. /package/dist/chunks/{messages-DgoJDjHm.mjs → messages-DHzT8CZv.mjs} +0 -0
  238. /package/dist/chunks/{messages-BmDw1fZF2.mjs → messages-DIVQmVS92.mjs} +0 -0
  239. /package/dist/chunks/{messages-DSMFg80t.mjs → messages-DJYT0upW.mjs} +0 -0
  240. /package/dist/chunks/{messages-DIH2U0ZD.mjs → messages-DPcc6xp-.mjs} +0 -0
  241. /package/dist/chunks/{messages-D3wlt9eE.mjs → messages-Dass0QsQ.mjs} +0 -0
  242. /package/dist/chunks/{messages-vqR3RAU4.mjs → messages-DcUYfD6m.mjs} +0 -0
  243. /package/dist/chunks/{messages-BAxCMQgm.mjs → messages-DfLcy0CY.mjs} +0 -0
  244. /package/dist/chunks/{messages-Cic0Y1z6.mjs → messages-DhoZXmg_.mjs} +0 -0
  245. /package/dist/chunks/{messages-DslnYTHU2.mjs → messages-DiQkvwE32.mjs} +0 -0
  246. /package/dist/chunks/{messages-BvoElEE_.mjs → messages-DmvWmURo.mjs} +0 -0
  247. /package/dist/chunks/{messages-DOPK-Xif2.mjs → messages-Dobxrshu2.mjs} +0 -0
  248. /package/dist/chunks/{messages-BKeL1zk-2.mjs → messages-DsMIxm6I2.mjs} +0 -0
  249. /package/dist/chunks/{messages-BHUQs6402.mjs → messages-DtssWM8x2.mjs} +0 -0
  250. /package/dist/chunks/{messages-BIXCvkbG.mjs → messages-E1tsNNG5.mjs} +0 -0
  251. /package/dist/chunks/{messages-BDhWRN6Y.mjs → messages-PFfYbqlm.mjs} +0 -0
  252. /package/dist/chunks/{messages-DT6eM0I22.mjs → messages-bIzBNzdr2.mjs} +0 -0
  253. /package/dist/chunks/{messages-W2zpf0Mu2.mjs → messages-dGYum7sj2.mjs} +0 -0
  254. /package/dist/chunks/{messages-B5BaA6AV.mjs → messages-kKXlI5xZ.mjs} +0 -0
  255. /package/dist/chunks/{messages-BGpx2ecP2.mjs → messages-mo5OrbVj2.mjs} +0 -0
  256. /package/dist/chunks/{messages-DZTQIS9F.mjs → messages-nAdoEqRi.mjs} +0 -0
  257. /package/dist/chunks/{messages-wSX_4fK1.mjs → messages-rNLuCrAb.mjs} +0 -0
  258. /package/dist/chunks/{messages-PkO_43Eb.mjs → messages-v26RM5PC.mjs} +0 -0
  259. /package/dist/chunks/{messages-fUpUvsRN.mjs → messages-x0kzc2oy.mjs} +0 -0
  260. /package/dist/chunks/{messages-DoD9yWMu2.mjs → messages-x6y6csd52.mjs} +0 -0
  261. /package/dist/chunks/{messages-DhgEjOjw2.mjs → messages-x_eMclsl2.mjs} +0 -0
  262. /package/dist/chunks/{messages-BszGK0ox.mjs → messages-z5pham9o.mjs} +0 -0
  263. /package/dist/chunks/{messages-CRLvJfNU2.mjs → messages-zcqQ8x232.mjs} +0 -0
  264. /package/dist/chunks/{mk-Bb48BcDA.mjs → mk-DlZNyDhn.mjs} +0 -0
  265. /package/dist/chunks/{ml-BHPEj1kD.mjs → ml-CizMIOxl.mjs} +0 -0
  266. /package/dist/chunks/{mn-BNGzpdI6.mjs → mn-B_pDvxok.mjs} +0 -0
  267. /package/dist/chunks/{mr-D5PgU-cH.mjs → mr-D8D_7YmW.mjs} +0 -0
  268. /package/dist/chunks/{ms-DPkxqKz5.mjs → ms-CM93I8ec.mjs} +0 -0
  269. /package/dist/chunks/{my-DZGcyfxy.mjs → my-BGnGdDAV.mjs} +0 -0
  270. /package/dist/chunks/{ne-BU_Wh4Wv.mjs → ne-C6ZmmqhH.mjs} +0 -0
  271. /package/dist/chunks/{nl-DtAPk1mK.mjs → nl-UGFOU80W.mjs} +0 -0
  272. /package/dist/chunks/{no-CdW3n3BY.mjs → no-as-DKhC4.mjs} +0 -0
  273. /package/dist/chunks/{notifier-CuvTt9pe.mjs → notifier-PpnFhM0m.mjs} +0 -0
  274. /package/dist/chunks/{one-light-DmNO_Y4X.mjs → one-light-Di_o5Kb7.mjs} +0 -0
  275. /package/dist/chunks/{pa-BacCHz87.mjs → pa-DiOAveAI.mjs} +0 -0
  276. /package/dist/chunks/{path-rIMjg_tH.mjs → path-7pA19U_d.mjs} +0 -0
  277. /package/dist/chunks/{pl-8zBJbmhZ.mjs → pl-DXk8ye3B.mjs} +0 -0
  278. /package/dist/chunks/{ps-c6nGXD-W.mjs → ps-CuxilZ3F.mjs} +0 -0
  279. /package/dist/chunks/{pt-B5yR8Qhr.mjs → pt-DsT6E77q.mjs} +0 -0
  280. /package/dist/chunks/{python-DfwfY9t5.mjs → python-DYiHKGPV.mjs} +0 -0
  281. /package/dist/chunks/{r-BD2D7qEW.mjs → r-BZ4pC-Uz.mjs} +0 -0
  282. /package/dist/chunks/{ro-Nscylsqb.mjs → ro-CcAQOL-B.mjs} +0 -0
  283. /package/dist/chunks/{rough.esm-cmMIcj7N.mjs → rough.esm-BPA_YwbP.mjs} +0 -0
  284. /package/dist/chunks/{ru-DxERQkVJ.mjs → ru-hD41D0Fd.mjs} +0 -0
  285. /package/dist/chunks/{rust-DEDueB5R.mjs → rust-Db_HEGL5.mjs} +0 -0
  286. /package/dist/chunks/{scala-CsjqvxE4.mjs → scala-B1kK21mu.mjs} +0 -0
  287. /package/dist/chunks/{sd-5z-QY3q9.mjs → sd-Biu7f00A.mjs} +0 -0
  288. /package/dist/chunks/{shellscript-Bh5zEpnQ.mjs → shellscript-BBh7AxMC.mjs} +0 -0
  289. /package/dist/chunks/{si-DTL0mzrx.mjs → si-Bhto6prC.mjs} +0 -0
  290. /package/dist/chunks/{sk-DrGczTvY.mjs → sk-Ce7J4sHX.mjs} +0 -0
  291. /package/dist/chunks/{sl-D8nJjig4.mjs → sl-Fz7idR9w.mjs} +0 -0
  292. /package/dist/chunks/{sq-C74Hm3YL.mjs → sq-CnLb3bAQ.mjs} +0 -0
  293. /package/dist/chunks/{sql-D9CrOi1i.mjs → sql-DHkazX4B.mjs} +0 -0
  294. /package/dist/chunks/{sr-DAwB05Gj.mjs → sr-Bc5JbF-b.mjs} +0 -0
  295. /package/dist/chunks/{src-DVJl6f6s.mjs → src-B3rrEIze.mjs} +0 -0
  296. /package/dist/chunks/{sv-BkHBsN4y.mjs → sv-B86P2LyK.mjs} +0 -0
  297. /package/dist/chunks/{sw-BBQLTq_z.mjs → sw-CnQXriTg.mjs} +0 -0
  298. /package/dist/chunks/{swift-Dpyt0s2c.mjs → swift-DZdprfb-.mjs} +0 -0
  299. /package/dist/chunks/{ta-DRRzdKky.mjs → ta-CG4BbxjE.mjs} +0 -0
  300. /package/dist/chunks/{te-CedXLsKM.mjs → te-CkE35V1X.mjs} +0 -0
  301. /package/dist/chunks/{th-DDOlGA0W.mjs → th-BCtkHu3E.mjs} +0 -0
  302. /package/dist/chunks/{tr-ClgvwOlL.mjs → tr-D5Cexvko.mjs} +0 -0
  303. /package/dist/chunks/{typescript-DO5cd4m8.mjs → typescript-DhtGMhWX.mjs} +0 -0
  304. /package/dist/chunks/{ug-bXxwiinM.mjs → ug-Bt9xMT4p.mjs} +0 -0
  305. /package/dist/chunks/{uk-Dp46o_VT.mjs → uk-D1g7UV0v.mjs} +0 -0
  306. /package/dist/chunks/{ur-MfEEhdFq.mjs → ur-B69faQh_.mjs} +0 -0
  307. /package/dist/chunks/{vi-bt-3LPGO.mjs → vi--gW42cZG.mjs} +0 -0
  308. /package/dist/chunks/{vitesse-dark-CcorSKT2.mjs → vitesse-dark-B5oAIYZ5.mjs} +0 -0
  309. /package/dist/chunks/{yaml-CrNNZyLb.mjs → yaml-T4MCc8o4.mjs} +0 -0
  310. /package/dist/chunks/{zh-Dgyb5Ly8.mjs → zh-DgQ6P8Lu.mjs} +0 -0
@@ -0,0 +1,1122 @@
1
+ import { A as e, B as t, F as n, H as r, O as i, R as a, S as o, U as s, V as c, b as l, c as u, g as ee, i as te, j as d, l as f, n as p, p as m, r as ne, s as re, t as ie, u as h, y as ae } from "./isArrayLikeObject-DzUNFfIK.mjs";
2
+ import { g, h as _, p as v } from "./src-B3rrEIze.mjs";
3
+ import { I as y, f as oe, m as b, r as se, s as x } from "./chunk-ICPOFSXX-BOvOTlG6.mjs";
4
+ import { t as ce } from "./dist-X14EnMrO.mjs";
5
+ //#region node_modules/lodash-es/isPlainObject.js
6
+ var le = "[object Object]", ue = Function.prototype, de = Object.prototype, fe = ue.toString, pe = de.hasOwnProperty, me = fe.call(Object);
7
+ function he(e) {
8
+ if (!r(e) || s(e) != le) return !1;
9
+ var t = f(e);
10
+ if (t === null) return !0;
11
+ var n = pe.call(t, "constructor") && t.constructor;
12
+ return typeof n == "function" && n instanceof n && fe.call(n) == me;
13
+ }
14
+ //#endregion
15
+ //#region node_modules/lodash-es/_assignMergeValue.js
16
+ function S(t, n, r) {
17
+ (r !== void 0 && !e(t[n], r) || r === void 0 && !(n in t)) && d(t, n, r);
18
+ }
19
+ //#endregion
20
+ //#region node_modules/lodash-es/_safeGet.js
21
+ function C(e, t) {
22
+ if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__") return e[t];
23
+ }
24
+ //#endregion
25
+ //#region node_modules/lodash-es/toPlainObject.js
26
+ function ge(e) {
27
+ return i(e, m(e));
28
+ }
29
+ //#endregion
30
+ //#region node_modules/lodash-es/_baseMergeDeep.js
31
+ function _e(e, r, i, o, s, u, d) {
32
+ var f = C(e, i), p = C(r, i), m = d.get(p);
33
+ if (m) {
34
+ S(e, i, m);
35
+ return;
36
+ }
37
+ var h = u ? u(f, p, i + "", e, r, d) : void 0, g = h === void 0;
38
+ if (g) {
39
+ var _ = c(p), v = !_ && ae(p), y = !_ && !v && ee(p);
40
+ h = p, _ || v || y ? c(f) ? h = f : ie(f) ? h = n(f) : v ? (g = !1, h = re(p, !0)) : y ? (g = !1, h = te(p, !0)) : h = [] : he(p) || l(p) ? (h = f, l(f) ? h = ge(f) : (!t(f) || a(f)) && (h = ne(p))) : g = !1;
41
+ }
42
+ g && (d.set(p, h), s(h, p, o, u, d), d.delete(p)), S(e, i, h);
43
+ }
44
+ //#endregion
45
+ //#region node_modules/lodash-es/_baseMerge.js
46
+ function ve(e, n, r, i, a) {
47
+ e !== n && p(n, function(o, s) {
48
+ if (a || (a = new u()), t(o)) _e(e, n, s, r, ve, i, a);
49
+ else {
50
+ var c = i ? i(C(e, s), o, s + "", e, n, a) : void 0;
51
+ c === void 0 && (c = o), S(e, s, c);
52
+ }
53
+ }, m);
54
+ }
55
+ //#endregion
56
+ //#region node_modules/lodash-es/merge.js
57
+ var ye = o(function(e, t, n) {
58
+ ve(e, t, n);
59
+ });
60
+ //#endregion
61
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/linear.js
62
+ function w(e) {
63
+ this._context = e;
64
+ }
65
+ w.prototype = {
66
+ areaStart: function() {
67
+ this._line = 0;
68
+ },
69
+ areaEnd: function() {
70
+ this._line = NaN;
71
+ },
72
+ lineStart: function() {
73
+ this._point = 0;
74
+ },
75
+ lineEnd: function() {
76
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
77
+ },
78
+ point: function(e, t) {
79
+ switch (e = +e, t = +t, this._point) {
80
+ case 0:
81
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
82
+ break;
83
+ case 1: this._point = 2;
84
+ default:
85
+ this._context.lineTo(e, t);
86
+ break;
87
+ }
88
+ }
89
+ };
90
+ function T(e) {
91
+ return new w(e);
92
+ }
93
+ //#endregion
94
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/bump.js
95
+ var be = class {
96
+ constructor(e, t) {
97
+ this._context = e, this._x = t;
98
+ }
99
+ areaStart() {
100
+ this._line = 0;
101
+ }
102
+ areaEnd() {
103
+ this._line = NaN;
104
+ }
105
+ lineStart() {
106
+ this._point = 0;
107
+ }
108
+ lineEnd() {
109
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
110
+ }
111
+ point(e, t) {
112
+ switch (e = +e, t = +t, this._point) {
113
+ case 0:
114
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
115
+ break;
116
+ case 1: this._point = 2;
117
+ default:
118
+ this._x ? this._context.bezierCurveTo(this._x0 = (this._x0 + e) / 2, this._y0, this._x0, t, e, t) : this._context.bezierCurveTo(this._x0, this._y0 = (this._y0 + t) / 2, e, this._y0, e, t);
119
+ break;
120
+ }
121
+ this._x0 = e, this._y0 = t;
122
+ }
123
+ };
124
+ function xe(e) {
125
+ return new be(e, !0);
126
+ }
127
+ function Se(e) {
128
+ return new be(e, !1);
129
+ }
130
+ //#endregion
131
+ //#region node_modules/d3/node_modules/d3-shape/src/noop.js
132
+ function E() {}
133
+ //#endregion
134
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/basis.js
135
+ function D(e, t, n) {
136
+ e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
137
+ }
138
+ function O(e) {
139
+ this._context = e;
140
+ }
141
+ O.prototype = {
142
+ areaStart: function() {
143
+ this._line = 0;
144
+ },
145
+ areaEnd: function() {
146
+ this._line = NaN;
147
+ },
148
+ lineStart: function() {
149
+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
150
+ },
151
+ lineEnd: function() {
152
+ switch (this._point) {
153
+ case 3: D(this, this._x1, this._y1);
154
+ case 2:
155
+ this._context.lineTo(this._x1, this._y1);
156
+ break;
157
+ }
158
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
159
+ },
160
+ point: function(e, t) {
161
+ switch (e = +e, t = +t, this._point) {
162
+ case 0:
163
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
164
+ break;
165
+ case 1:
166
+ this._point = 2;
167
+ break;
168
+ case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
169
+ default:
170
+ D(this, e, t);
171
+ break;
172
+ }
173
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
174
+ }
175
+ };
176
+ function Ce(e) {
177
+ return new O(e);
178
+ }
179
+ //#endregion
180
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/basisClosed.js
181
+ function we(e) {
182
+ this._context = e;
183
+ }
184
+ we.prototype = {
185
+ areaStart: E,
186
+ areaEnd: E,
187
+ lineStart: function() {
188
+ this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
189
+ },
190
+ lineEnd: function() {
191
+ switch (this._point) {
192
+ case 1:
193
+ this._context.moveTo(this._x2, this._y2), this._context.closePath();
194
+ break;
195
+ case 2:
196
+ this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3), this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3), this._context.closePath();
197
+ break;
198
+ case 3:
199
+ this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4);
200
+ break;
201
+ }
202
+ },
203
+ point: function(e, t) {
204
+ switch (e = +e, t = +t, this._point) {
205
+ case 0:
206
+ this._point = 1, this._x2 = e, this._y2 = t;
207
+ break;
208
+ case 1:
209
+ this._point = 2, this._x3 = e, this._y3 = t;
210
+ break;
211
+ case 2:
212
+ this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
213
+ break;
214
+ default:
215
+ D(this, e, t);
216
+ break;
217
+ }
218
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
219
+ }
220
+ };
221
+ function Te(e) {
222
+ return new we(e);
223
+ }
224
+ //#endregion
225
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/basisOpen.js
226
+ function Ee(e) {
227
+ this._context = e;
228
+ }
229
+ Ee.prototype = {
230
+ areaStart: function() {
231
+ this._line = 0;
232
+ },
233
+ areaEnd: function() {
234
+ this._line = NaN;
235
+ },
236
+ lineStart: function() {
237
+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
238
+ },
239
+ lineEnd: function() {
240
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
241
+ },
242
+ point: function(e, t) {
243
+ switch (e = +e, t = +t, this._point) {
244
+ case 0:
245
+ this._point = 1;
246
+ break;
247
+ case 1:
248
+ this._point = 2;
249
+ break;
250
+ case 2:
251
+ this._point = 3;
252
+ var n = (this._x0 + 4 * this._x1 + e) / 6, r = (this._y0 + 4 * this._y1 + t) / 6;
253
+ this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
254
+ break;
255
+ case 3: this._point = 4;
256
+ default:
257
+ D(this, e, t);
258
+ break;
259
+ }
260
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
261
+ }
262
+ };
263
+ function De(e) {
264
+ return new Ee(e);
265
+ }
266
+ //#endregion
267
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/bundle.js
268
+ function Oe(e, t) {
269
+ this._basis = new O(e), this._beta = t;
270
+ }
271
+ Oe.prototype = {
272
+ lineStart: function() {
273
+ this._x = [], this._y = [], this._basis.lineStart();
274
+ },
275
+ lineEnd: function() {
276
+ var e = this._x, t = this._y, n = e.length - 1;
277
+ if (n > 0) for (var r = e[0], i = t[0], a = e[n] - r, o = t[n] - i, s = -1, c; ++s <= n;) c = s / n, this._basis.point(this._beta * e[s] + (1 - this._beta) * (r + c * a), this._beta * t[s] + (1 - this._beta) * (i + c * o));
278
+ this._x = this._y = null, this._basis.lineEnd();
279
+ },
280
+ point: function(e, t) {
281
+ this._x.push(+e), this._y.push(+t);
282
+ }
283
+ };
284
+ var ke = (function e(t) {
285
+ function n(e) {
286
+ return t === 1 ? new O(e) : new Oe(e, t);
287
+ }
288
+ return n.beta = function(t) {
289
+ return e(+t);
290
+ }, n;
291
+ })(.85);
292
+ //#endregion
293
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/cardinal.js
294
+ function k(e, t, n) {
295
+ e._context.bezierCurveTo(e._x1 + e._k * (e._x2 - e._x0), e._y1 + e._k * (e._y2 - e._y0), e._x2 + e._k * (e._x1 - t), e._y2 + e._k * (e._y1 - n), e._x2, e._y2);
296
+ }
297
+ function A(e, t) {
298
+ this._context = e, this._k = (1 - t) / 6;
299
+ }
300
+ A.prototype = {
301
+ areaStart: function() {
302
+ this._line = 0;
303
+ },
304
+ areaEnd: function() {
305
+ this._line = NaN;
306
+ },
307
+ lineStart: function() {
308
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
309
+ },
310
+ lineEnd: function() {
311
+ switch (this._point) {
312
+ case 2:
313
+ this._context.lineTo(this._x2, this._y2);
314
+ break;
315
+ case 3:
316
+ k(this, this._x1, this._y1);
317
+ break;
318
+ }
319
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
320
+ },
321
+ point: function(e, t) {
322
+ switch (e = +e, t = +t, this._point) {
323
+ case 0:
324
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
325
+ break;
326
+ case 1:
327
+ this._point = 2, this._x1 = e, this._y1 = t;
328
+ break;
329
+ case 2: this._point = 3;
330
+ default:
331
+ k(this, e, t);
332
+ break;
333
+ }
334
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
335
+ }
336
+ };
337
+ var Ae = (function e(t) {
338
+ function n(e) {
339
+ return new A(e, t);
340
+ }
341
+ return n.tension = function(t) {
342
+ return e(+t);
343
+ }, n;
344
+ })(0);
345
+ //#endregion
346
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/cardinalClosed.js
347
+ function j(e, t) {
348
+ this._context = e, this._k = (1 - t) / 6;
349
+ }
350
+ j.prototype = {
351
+ areaStart: E,
352
+ areaEnd: E,
353
+ lineStart: function() {
354
+ this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._point = 0;
355
+ },
356
+ lineEnd: function() {
357
+ switch (this._point) {
358
+ case 1:
359
+ this._context.moveTo(this._x3, this._y3), this._context.closePath();
360
+ break;
361
+ case 2:
362
+ this._context.lineTo(this._x3, this._y3), this._context.closePath();
363
+ break;
364
+ case 3:
365
+ this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
366
+ break;
367
+ }
368
+ },
369
+ point: function(e, t) {
370
+ switch (e = +e, t = +t, this._point) {
371
+ case 0:
372
+ this._point = 1, this._x3 = e, this._y3 = t;
373
+ break;
374
+ case 1:
375
+ this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
376
+ break;
377
+ case 2:
378
+ this._point = 3, this._x5 = e, this._y5 = t;
379
+ break;
380
+ default:
381
+ k(this, e, t);
382
+ break;
383
+ }
384
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
385
+ }
386
+ };
387
+ var je = (function e(t) {
388
+ function n(e) {
389
+ return new j(e, t);
390
+ }
391
+ return n.tension = function(t) {
392
+ return e(+t);
393
+ }, n;
394
+ })(0);
395
+ //#endregion
396
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/cardinalOpen.js
397
+ function M(e, t) {
398
+ this._context = e, this._k = (1 - t) / 6;
399
+ }
400
+ M.prototype = {
401
+ areaStart: function() {
402
+ this._line = 0;
403
+ },
404
+ areaEnd: function() {
405
+ this._line = NaN;
406
+ },
407
+ lineStart: function() {
408
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
409
+ },
410
+ lineEnd: function() {
411
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
412
+ },
413
+ point: function(e, t) {
414
+ switch (e = +e, t = +t, this._point) {
415
+ case 0:
416
+ this._point = 1;
417
+ break;
418
+ case 1:
419
+ this._point = 2;
420
+ break;
421
+ case 2:
422
+ this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
423
+ break;
424
+ case 3: this._point = 4;
425
+ default:
426
+ k(this, e, t);
427
+ break;
428
+ }
429
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
430
+ }
431
+ };
432
+ var Me = (function e(t) {
433
+ function n(e) {
434
+ return new M(e, t);
435
+ }
436
+ return n.tension = function(t) {
437
+ return e(+t);
438
+ }, n;
439
+ })(0);
440
+ //#endregion
441
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/catmullRom.js
442
+ function N(e, t, n) {
443
+ var r = e._x1, i = e._y1, a = e._x2, o = e._y2;
444
+ if (e._l01_a > 1e-12) {
445
+ var s = 2 * e._l01_2a + 3 * e._l01_a * e._l12_a + e._l12_2a, c = 3 * e._l01_a * (e._l01_a + e._l12_a);
446
+ r = (r * s - e._x0 * e._l12_2a + e._x2 * e._l01_2a) / c, i = (i * s - e._y0 * e._l12_2a + e._y2 * e._l01_2a) / c;
447
+ }
448
+ if (e._l23_a > 1e-12) {
449
+ var l = 2 * e._l23_2a + 3 * e._l23_a * e._l12_a + e._l12_2a, u = 3 * e._l23_a * (e._l23_a + e._l12_a);
450
+ a = (a * l + e._x1 * e._l23_2a - t * e._l12_2a) / u, o = (o * l + e._y1 * e._l23_2a - n * e._l12_2a) / u;
451
+ }
452
+ e._context.bezierCurveTo(r, i, a, o, e._x2, e._y2);
453
+ }
454
+ function P(e, t) {
455
+ this._context = e, this._alpha = t;
456
+ }
457
+ P.prototype = {
458
+ areaStart: function() {
459
+ this._line = 0;
460
+ },
461
+ areaEnd: function() {
462
+ this._line = NaN;
463
+ },
464
+ lineStart: function() {
465
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
466
+ },
467
+ lineEnd: function() {
468
+ switch (this._point) {
469
+ case 2:
470
+ this._context.lineTo(this._x2, this._y2);
471
+ break;
472
+ case 3:
473
+ this.point(this._x2, this._y2);
474
+ break;
475
+ }
476
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
477
+ },
478
+ point: function(e, t) {
479
+ if (e = +e, t = +t, this._point) {
480
+ var n = this._x2 - e, r = this._y2 - t;
481
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
482
+ }
483
+ switch (this._point) {
484
+ case 0:
485
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
486
+ break;
487
+ case 1:
488
+ this._point = 2;
489
+ break;
490
+ case 2: this._point = 3;
491
+ default:
492
+ N(this, e, t);
493
+ break;
494
+ }
495
+ this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
496
+ }
497
+ };
498
+ var F = (function e(t) {
499
+ function n(e) {
500
+ return t ? new P(e, t) : new A(e, 0);
501
+ }
502
+ return n.alpha = function(t) {
503
+ return e(+t);
504
+ }, n;
505
+ })(.5);
506
+ //#endregion
507
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/catmullRomClosed.js
508
+ function I(e, t) {
509
+ this._context = e, this._alpha = t;
510
+ }
511
+ I.prototype = {
512
+ areaStart: E,
513
+ areaEnd: E,
514
+ lineStart: function() {
515
+ this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
516
+ },
517
+ lineEnd: function() {
518
+ switch (this._point) {
519
+ case 1:
520
+ this._context.moveTo(this._x3, this._y3), this._context.closePath();
521
+ break;
522
+ case 2:
523
+ this._context.lineTo(this._x3, this._y3), this._context.closePath();
524
+ break;
525
+ case 3:
526
+ this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
527
+ break;
528
+ }
529
+ },
530
+ point: function(e, t) {
531
+ if (e = +e, t = +t, this._point) {
532
+ var n = this._x2 - e, r = this._y2 - t;
533
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
534
+ }
535
+ switch (this._point) {
536
+ case 0:
537
+ this._point = 1, this._x3 = e, this._y3 = t;
538
+ break;
539
+ case 1:
540
+ this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
541
+ break;
542
+ case 2:
543
+ this._point = 3, this._x5 = e, this._y5 = t;
544
+ break;
545
+ default:
546
+ N(this, e, t);
547
+ break;
548
+ }
549
+ this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
550
+ }
551
+ };
552
+ var Ne = (function e(t) {
553
+ function n(e) {
554
+ return t ? new I(e, t) : new j(e, 0);
555
+ }
556
+ return n.alpha = function(t) {
557
+ return e(+t);
558
+ }, n;
559
+ })(.5);
560
+ //#endregion
561
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/catmullRomOpen.js
562
+ function L(e, t) {
563
+ this._context = e, this._alpha = t;
564
+ }
565
+ L.prototype = {
566
+ areaStart: function() {
567
+ this._line = 0;
568
+ },
569
+ areaEnd: function() {
570
+ this._line = NaN;
571
+ },
572
+ lineStart: function() {
573
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
574
+ },
575
+ lineEnd: function() {
576
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
577
+ },
578
+ point: function(e, t) {
579
+ if (e = +e, t = +t, this._point) {
580
+ var n = this._x2 - e, r = this._y2 - t;
581
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
582
+ }
583
+ switch (this._point) {
584
+ case 0:
585
+ this._point = 1;
586
+ break;
587
+ case 1:
588
+ this._point = 2;
589
+ break;
590
+ case 2:
591
+ this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
592
+ break;
593
+ case 3: this._point = 4;
594
+ default:
595
+ N(this, e, t);
596
+ break;
597
+ }
598
+ this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
599
+ }
600
+ };
601
+ var Pe = (function e(t) {
602
+ function n(e) {
603
+ return t ? new L(e, t) : new M(e, 0);
604
+ }
605
+ return n.alpha = function(t) {
606
+ return e(+t);
607
+ }, n;
608
+ })(.5);
609
+ //#endregion
610
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/linearClosed.js
611
+ function R(e) {
612
+ this._context = e;
613
+ }
614
+ R.prototype = {
615
+ areaStart: E,
616
+ areaEnd: E,
617
+ lineStart: function() {
618
+ this._point = 0;
619
+ },
620
+ lineEnd: function() {
621
+ this._point && this._context.closePath();
622
+ },
623
+ point: function(e, t) {
624
+ e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
625
+ }
626
+ };
627
+ function Fe(e) {
628
+ return new R(e);
629
+ }
630
+ //#endregion
631
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/monotone.js
632
+ function Ie(e) {
633
+ return e < 0 ? -1 : 1;
634
+ }
635
+ function Le(e, t, n) {
636
+ var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
637
+ return (Ie(a) + Ie(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
638
+ }
639
+ function Re(e, t) {
640
+ var n = e._x1 - e._x0;
641
+ return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
642
+ }
643
+ function z(e, t, n) {
644
+ var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
645
+ e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
646
+ }
647
+ function B(e) {
648
+ this._context = e;
649
+ }
650
+ B.prototype = {
651
+ areaStart: function() {
652
+ this._line = 0;
653
+ },
654
+ areaEnd: function() {
655
+ this._line = NaN;
656
+ },
657
+ lineStart: function() {
658
+ this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN, this._point = 0;
659
+ },
660
+ lineEnd: function() {
661
+ switch (this._point) {
662
+ case 2:
663
+ this._context.lineTo(this._x1, this._y1);
664
+ break;
665
+ case 3:
666
+ z(this, this._t0, Re(this, this._t0));
667
+ break;
668
+ }
669
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
670
+ },
671
+ point: function(e, t) {
672
+ var n = NaN;
673
+ if (e = +e, t = +t, !(e === this._x1 && t === this._y1)) {
674
+ switch (this._point) {
675
+ case 0:
676
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
677
+ break;
678
+ case 1:
679
+ this._point = 2;
680
+ break;
681
+ case 2:
682
+ this._point = 3, z(this, Re(this, n = Le(this, e, t)), n);
683
+ break;
684
+ default:
685
+ z(this, this._t0, n = Le(this, e, t));
686
+ break;
687
+ }
688
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
689
+ }
690
+ }
691
+ };
692
+ function ze(e) {
693
+ this._context = new Be(e);
694
+ }
695
+ (ze.prototype = Object.create(B.prototype)).point = function(e, t) {
696
+ B.prototype.point.call(this, t, e);
697
+ };
698
+ function Be(e) {
699
+ this._context = e;
700
+ }
701
+ Be.prototype = {
702
+ moveTo: function(e, t) {
703
+ this._context.moveTo(t, e);
704
+ },
705
+ closePath: function() {
706
+ this._context.closePath();
707
+ },
708
+ lineTo: function(e, t) {
709
+ this._context.lineTo(t, e);
710
+ },
711
+ bezierCurveTo: function(e, t, n, r, i, a) {
712
+ this._context.bezierCurveTo(t, e, r, n, a, i);
713
+ }
714
+ };
715
+ function Ve(e) {
716
+ return new B(e);
717
+ }
718
+ function He(e) {
719
+ return new ze(e);
720
+ }
721
+ //#endregion
722
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/natural.js
723
+ function Ue(e) {
724
+ this._context = e;
725
+ }
726
+ Ue.prototype = {
727
+ areaStart: function() {
728
+ this._line = 0;
729
+ },
730
+ areaEnd: function() {
731
+ this._line = NaN;
732
+ },
733
+ lineStart: function() {
734
+ this._x = [], this._y = [];
735
+ },
736
+ lineEnd: function() {
737
+ var e = this._x, t = this._y, n = e.length;
738
+ if (n) if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
739
+ else for (var r = We(e), i = We(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
740
+ (this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
741
+ },
742
+ point: function(e, t) {
743
+ this._x.push(+e), this._y.push(+t);
744
+ }
745
+ };
746
+ function We(e) {
747
+ var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
748
+ for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
749
+ for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
750
+ for (i[n - 1] = o[n - 1] / a[n - 1], t = n - 2; t >= 0; --t) i[t] = (o[t] - i[t + 1]) / a[t];
751
+ for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
752
+ return [i, a];
753
+ }
754
+ function Ge(e) {
755
+ return new Ue(e);
756
+ }
757
+ //#endregion
758
+ //#region node_modules/d3/node_modules/d3-shape/src/curve/step.js
759
+ function V(e, t) {
760
+ this._context = e, this._t = t;
761
+ }
762
+ V.prototype = {
763
+ areaStart: function() {
764
+ this._line = 0;
765
+ },
766
+ areaEnd: function() {
767
+ this._line = NaN;
768
+ },
769
+ lineStart: function() {
770
+ this._x = this._y = NaN, this._point = 0;
771
+ },
772
+ lineEnd: function() {
773
+ 0 < this._t && this._t < 1 && this._point === 2 && this._context.lineTo(this._x, this._y), (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line >= 0 && (this._t = 1 - this._t, this._line = 1 - this._line);
774
+ },
775
+ point: function(e, t) {
776
+ switch (e = +e, t = +t, this._point) {
777
+ case 0:
778
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
779
+ break;
780
+ case 1: this._point = 2;
781
+ default:
782
+ if (this._t <= 0) this._context.lineTo(this._x, t), this._context.lineTo(e, t);
783
+ else {
784
+ var n = this._x * (1 - this._t) + e * this._t;
785
+ this._context.lineTo(n, this._y), this._context.lineTo(n, t);
786
+ }
787
+ break;
788
+ }
789
+ this._x = e, this._y = t;
790
+ }
791
+ };
792
+ function Ke(e) {
793
+ return new V(e, .5);
794
+ }
795
+ function qe(e) {
796
+ return new V(e, 0);
797
+ }
798
+ function Je(e) {
799
+ return new V(e, 1);
800
+ }
801
+ //#endregion
802
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-5PVQY5BW.mjs
803
+ var Ye = ce(), H, Xe = {
804
+ curveBasis: Ce,
805
+ curveBasisClosed: Te,
806
+ curveBasisOpen: De,
807
+ curveBumpX: xe,
808
+ curveBumpY: Se,
809
+ curveBundle: ke,
810
+ curveCardinalClosed: je,
811
+ curveCardinalOpen: Me,
812
+ curveCardinal: Ae,
813
+ curveCatmullRomClosed: Ne,
814
+ curveCatmullRomOpen: Pe,
815
+ curveCatmullRom: F,
816
+ curveLinear: T,
817
+ curveLinearClosed: Fe,
818
+ curveMonotoneX: Ve,
819
+ curveMonotoneY: He,
820
+ curveNatural: Ge,
821
+ curveStep: Ke,
822
+ curveStepAfter: Je,
823
+ curveStepBefore: qe
824
+ }, Ze = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, Qe = /* @__PURE__ */ _(function(e, t) {
825
+ let n = $e(e, /(?:init\b)|(?:initialize\b)/), r = {};
826
+ if (Array.isArray(n)) {
827
+ let e = n.map((e) => e.args);
828
+ y(e), r = se(r, [...e]);
829
+ } else r = n.args;
830
+ if (!r) return;
831
+ let i = oe(e, t), a = "config";
832
+ return r[a] !== void 0 && (i === "flowchart-v2" && (i = "flowchart"), r[i] = r[a], delete r[a]), r;
833
+ }, "detectInit"), $e = /* @__PURE__ */ _(function(e, t = null) {
834
+ try {
835
+ let i = RegExp(`[%]{2}(?![{]${Ze.source})(?=[}][%]{2}).*
836
+ `, "ig");
837
+ e = e.trim().replace(i, "").replace(/'/gm, "\""), g.debug(`Detecting diagram directive${t === null ? "" : " type:" + t} based on the text:${e}`);
838
+ let a, o = [];
839
+ for (; (a = b.exec(e)) !== null;) {
840
+ var n, r;
841
+ if (a.index === b.lastIndex && b.lastIndex++, a && !t || t && (n = a[1]) != null && n.match(t) || t && (r = a[2]) != null && r.match(t)) {
842
+ let e = a[1] ? a[1] : a[2], t = a[3] ? a[3].trim() : a[4] ? JSON.parse(a[4].trim()) : null;
843
+ o.push({
844
+ type: e,
845
+ args: t
846
+ });
847
+ }
848
+ }
849
+ return o.length === 0 ? {
850
+ type: e,
851
+ args: null
852
+ } : o.length === 1 ? o[0] : o;
853
+ } catch (n) {
854
+ return g.error(`ERROR: ${n.message} - Unable to parse directive type: '${t}' based on the text: '${e}'`), {
855
+ type: void 0,
856
+ args: null
857
+ };
858
+ }
859
+ }, "detectDirective"), et = /* @__PURE__ */ _(function(e) {
860
+ return e.replace(b, "");
861
+ }, "removeDirectives"), tt = /* @__PURE__ */ _(function(e, t) {
862
+ for (let [n, r] of t.entries()) if (r.match(e)) return n;
863
+ return -1;
864
+ }, "isSubstringInArray");
865
+ function U(e, t) {
866
+ var n;
867
+ return e ? (n = Xe[`curve${e.charAt(0).toUpperCase() + e.slice(1)}`]) == null ? t : n : t;
868
+ }
869
+ _(U, "interpolateToCurve");
870
+ function nt(e, t) {
871
+ let n = e.trim();
872
+ if (n) return t.securityLevel === "loose" ? n : (0, Ye.sanitizeUrl)(n);
873
+ }
874
+ _(nt, "formatUrl");
875
+ var rt = /* @__PURE__ */ _((e, ...t) => {
876
+ let n = e.split("."), r = n.length - 1, i = n[r], a = window;
877
+ for (let t = 0; t < r; t++) if (a = a[n[t]], !a) {
878
+ g.error(`Function name: ${e} not found in window`);
879
+ return;
880
+ }
881
+ a[i](...t);
882
+ }, "runFunc");
883
+ function W(e, t) {
884
+ return !e || !t ? 0 : Math.sqrt((t.x - e.x) ** 2 + (t.y - e.y) ** 2);
885
+ }
886
+ _(W, "distance");
887
+ function it(e) {
888
+ let t, n = 0;
889
+ return e.forEach((e) => {
890
+ n += W(e, t), t = e;
891
+ }), G(e, n / 2);
892
+ }
893
+ _(it, "traverseEdge");
894
+ function at(e) {
895
+ return e.length === 1 ? e[0] : it(e);
896
+ }
897
+ _(at, "calcLabelPosition");
898
+ var ot = /* @__PURE__ */ _((e, t = 2) => {
899
+ let n = 10 ** t;
900
+ return Math.round(e * n) / n;
901
+ }, "roundNumber"), G = /* @__PURE__ */ _((e, t) => {
902
+ let n, r = t;
903
+ for (let t of e) {
904
+ if (n) {
905
+ let e = W(t, n);
906
+ if (e === 0) return n;
907
+ if (e < r) r -= e;
908
+ else {
909
+ let i = r / e;
910
+ if (i <= 0) return n;
911
+ if (i >= 1) return {
912
+ x: t.x,
913
+ y: t.y
914
+ };
915
+ if (i > 0 && i < 1) return {
916
+ x: ot((1 - i) * n.x + i * t.x, 5),
917
+ y: ot((1 - i) * n.y + i * t.y, 5)
918
+ };
919
+ }
920
+ }
921
+ n = t;
922
+ }
923
+ throw Error("Could not find a suitable point for the given distance");
924
+ }, "calculatePoint"), st = /* @__PURE__ */ _((e, t, n) => {
925
+ g.info(`our points ${JSON.stringify(t)}`), t[0] !== n && (t = t.reverse());
926
+ let r = G(t, 25), i = e ? 10 : 5, a = Math.atan2(t[0].y - r.y, t[0].x - r.x), o = {
927
+ x: 0,
928
+ y: 0
929
+ };
930
+ return o.x = Math.sin(a) * i + (t[0].x + r.x) / 2, o.y = -Math.cos(a) * i + (t[0].y + r.y) / 2, o;
931
+ }, "calcCardinalityPosition");
932
+ function K(e, t, n) {
933
+ let r = structuredClone(n);
934
+ g.info("our points", r), t !== "start_left" && t !== "start_right" && r.reverse();
935
+ let i = G(r, 25 + e), a = 10 + e * .5, o = Math.atan2(r[0].y - i.y, r[0].x - i.x), s = {
936
+ x: 0,
937
+ y: 0
938
+ };
939
+ return t === "start_left" ? (s.x = Math.sin(o + Math.PI) * a + (r[0].x + i.x) / 2, s.y = -Math.cos(o + Math.PI) * a + (r[0].y + i.y) / 2) : t === "end_right" ? (s.x = Math.sin(o - Math.PI) * a + (r[0].x + i.x) / 2 - 5, s.y = -Math.cos(o - Math.PI) * a + (r[0].y + i.y) / 2 - 5) : t === "end_left" ? (s.x = Math.sin(o) * a + (r[0].x + i.x) / 2 - 5, s.y = -Math.cos(o) * a + (r[0].y + i.y) / 2 - 5) : (s.x = Math.sin(o) * a + (r[0].x + i.x) / 2, s.y = -Math.cos(o) * a + (r[0].y + i.y) / 2), s;
940
+ }
941
+ _(K, "calcTerminalLabelPosition");
942
+ function q(e) {
943
+ let t = "", n = "";
944
+ for (let r of e) r !== void 0 && (r.startsWith("color:") || r.startsWith("text-align:") ? n = n + r + ";" : t = t + r + ";");
945
+ return {
946
+ style: t,
947
+ labelStyle: n
948
+ };
949
+ }
950
+ _(q, "getStylesFromArray");
951
+ var ct = 0, lt = /* @__PURE__ */ _(() => (ct++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + ct), "generateId");
952
+ function ut(e) {
953
+ let t = "";
954
+ for (let n = 0; n < e; n++) t += "0123456789abcdef".charAt(Math.floor(Math.random() * 16));
955
+ return t;
956
+ }
957
+ _(ut, "makeRandomHex");
958
+ var dt = /* @__PURE__ */ _((e) => ut(e.length), "random"), ft = /* @__PURE__ */ _(function() {
959
+ return {
960
+ x: 0,
961
+ y: 0,
962
+ fill: void 0,
963
+ anchor: "start",
964
+ style: "#666",
965
+ width: 100,
966
+ height: 100,
967
+ textMargin: 0,
968
+ rx: 0,
969
+ ry: 0,
970
+ valign: void 0,
971
+ text: ""
972
+ };
973
+ }, "getTextObj"), pt = /* @__PURE__ */ _(function(e, t) {
974
+ let n = t.text.replace(x.lineBreakRegex, " "), [, r] = Q(t.fontSize), i = e.append("text");
975
+ i.attr("x", t.x), i.attr("y", t.y), i.style("text-anchor", t.anchor), i.style("font-family", t.fontFamily), i.style("font-size", r), i.style("font-weight", t.fontWeight), i.attr("fill", t.fill), t.class !== void 0 && i.attr("class", t.class);
976
+ let a = i.append("tspan");
977
+ return a.attr("x", t.x + t.textMargin * 2), a.attr("fill", t.fill), a.text(n), i;
978
+ }, "drawSimpleText"), mt = h((e, t, n) => {
979
+ if (!e || (n = Object.assign({
980
+ fontSize: 12,
981
+ fontWeight: 400,
982
+ fontFamily: "Arial",
983
+ joinWith: "<br/>"
984
+ }, n), x.lineBreakRegex.test(e))) return e;
985
+ let r = e.split(" ").filter(Boolean), i = [], a = "";
986
+ return r.forEach((e, o) => {
987
+ let s = Y(`${e} `, n), c = Y(a, n);
988
+ if (s > t) {
989
+ let { hyphenatedStrings: r, remainingWord: o } = ht(e, t, "-", n);
990
+ i.push(a, ...r), a = o;
991
+ } else c + s >= t ? (i.push(a), a = e) : a = [a, e].filter(Boolean).join(" ");
992
+ o + 1 === r.length && i.push(a);
993
+ }), i.filter((e) => e !== "").join(n.joinWith);
994
+ }, (e, t, n) => `${e}${t}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`), ht = h((e, t, n = "-", r) => {
995
+ r = Object.assign({
996
+ fontSize: 12,
997
+ fontWeight: 400,
998
+ fontFamily: "Arial",
999
+ margin: 0
1000
+ }, r);
1001
+ let i = [...e], a = [], o = "";
1002
+ return i.forEach((e, s) => {
1003
+ let c = `${o}${e}`;
1004
+ if (Y(c, r) >= t) {
1005
+ let e = s + 1, t = i.length === e, r = `${c}${n}`;
1006
+ a.push(t ? c : r), o = "";
1007
+ } else o = c;
1008
+ }), {
1009
+ hyphenatedStrings: a,
1010
+ remainingWord: o
1011
+ };
1012
+ }, (e, t, n = "-", r) => `${e}${t}${n}${r.fontSize}${r.fontWeight}${r.fontFamily}`);
1013
+ function J(e, t) {
1014
+ return X(e, t).height;
1015
+ }
1016
+ _(J, "calculateTextHeight");
1017
+ function Y(e, t) {
1018
+ return X(e, t).width;
1019
+ }
1020
+ _(Y, "calculateTextWidth");
1021
+ var X = h((e, t) => {
1022
+ let { fontSize: n = 12, fontFamily: r = "Arial", fontWeight: i = 400 } = t;
1023
+ if (!e) return {
1024
+ width: 0,
1025
+ height: 0
1026
+ };
1027
+ let [, a] = Q(n), o = ["sans-serif", r], s = e.split(x.lineBreakRegex), c = [], l = v("body");
1028
+ if (!l.remove) return {
1029
+ width: 0,
1030
+ height: 0,
1031
+ lineHeight: 0
1032
+ };
1033
+ let u = l.append("svg");
1034
+ for (let e of o) {
1035
+ let t = 0, n = {
1036
+ width: 0,
1037
+ height: 0,
1038
+ lineHeight: 0
1039
+ };
1040
+ for (let r of s) {
1041
+ let o = ft();
1042
+ o.text = r || "​";
1043
+ let s = pt(u, o).style("font-size", a).style("font-weight", i).style("font-family", e), c = (s._groups || s)[0][0].getBBox();
1044
+ if (c.width === 0 && c.height === 0) throw Error("svg element not in render tree");
1045
+ n.width = Math.round(Math.max(n.width, c.width)), t = Math.round(c.height), n.height += t, n.lineHeight = Math.round(Math.max(n.lineHeight, t));
1046
+ }
1047
+ c.push(n);
1048
+ }
1049
+ return u.remove(), c[isNaN(c[1].height) || isNaN(c[1].width) || isNaN(c[1].lineHeight) || c[0].height > c[1].height && c[0].width > c[1].width && c[0].lineHeight > c[1].lineHeight ? 0 : 1];
1050
+ }, (e, t) => `${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`), gt = (H = class {
1051
+ constructor(e = !1, t) {
1052
+ this.count = 0, this.count = t ? t.length : 0, this.next = e ? () => this.count++ : () => Date.now();
1053
+ }
1054
+ }, _(H, "InitIDGenerator"), H), Z, _t = /* @__PURE__ */ _(function(e) {
1055
+ return Z = Z || document.createElement("div"), e = escape(e).replace(/%26/g, "&").replace(/%23/g, "#").replace(/%3B/g, ";"), Z.innerHTML = e, unescape(Z.textContent);
1056
+ }, "entityDecode");
1057
+ function vt(e) {
1058
+ return "str" in e;
1059
+ }
1060
+ _(vt, "isDetailedError");
1061
+ var yt = /* @__PURE__ */ _((e, t, n, r) => {
1062
+ var i;
1063
+ if (!r) return;
1064
+ let a = (i = e.node()) == null ? void 0 : i.getBBox();
1065
+ a && e.append("text").text(r).attr("text-anchor", "middle").attr("x", a.x + a.width / 2).attr("y", -n).attr("class", t);
1066
+ }, "insertTitle"), Q = /* @__PURE__ */ _((e) => {
1067
+ if (typeof e == "number") return [e, e + "px"];
1068
+ let t = parseInt(e == null ? "" : e, 10);
1069
+ return Number.isNaN(t) ? [void 0, void 0] : e === String(t) ? [t, e + "px"] : [t, e];
1070
+ }, "parseFontSize");
1071
+ function $(e, t) {
1072
+ return ye({}, e, t);
1073
+ }
1074
+ _($, "cleanAndMerge");
1075
+ var bt = {
1076
+ assignWithDepth: se,
1077
+ wrapLabel: mt,
1078
+ calculateTextHeight: J,
1079
+ calculateTextWidth: Y,
1080
+ calculateTextDimensions: X,
1081
+ cleanAndMerge: $,
1082
+ detectInit: Qe,
1083
+ detectDirective: $e,
1084
+ isSubstringInArray: tt,
1085
+ interpolateToCurve: U,
1086
+ calcLabelPosition: at,
1087
+ calcCardinalityPosition: st,
1088
+ calcTerminalLabelPosition: K,
1089
+ formatUrl: nt,
1090
+ getStylesFromArray: q,
1091
+ generateId: lt,
1092
+ random: dt,
1093
+ runFunc: rt,
1094
+ entityDecode: _t,
1095
+ insertTitle: yt,
1096
+ isLabelCoordinateInPath: Tt,
1097
+ parseFontSize: Q,
1098
+ InitIDGenerator: gt
1099
+ }, xt = /* @__PURE__ */ _(function(e) {
1100
+ let t = e;
1101
+ return t = t.replace(/style.*:\S*#.*;/g, function(e) {
1102
+ return e.substring(0, e.length - 1);
1103
+ }), t = t.replace(/classDef.*:\S*#.*;/g, function(e) {
1104
+ return e.substring(0, e.length - 1);
1105
+ }), t = t.replace(/#\w+;/g, function(e) {
1106
+ let t = e.substring(1, e.length - 1);
1107
+ return /^\+?\d+$/.test(t) ? "fl°°" + t + "¶ß" : "fl°" + t + "¶ß";
1108
+ }), t;
1109
+ }, "encodeEntities"), St = /* @__PURE__ */ _(function(e) {
1110
+ return e.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
1111
+ }, "decodeEntities"), Ct = /* @__PURE__ */ _((e, t, { counter: n = 0, prefix: r, suffix: i }, a) => a || `${r ? `${r}_` : ""}${e}_${t}_${n}${i ? `_${i}` : ""}`, "getEdgeId");
1112
+ function wt(e) {
1113
+ return e == null ? null : e;
1114
+ }
1115
+ _(wt, "handleUndefinedAttr");
1116
+ function Tt(e, t) {
1117
+ let n = Math.round(e.x), r = Math.round(e.y), i = t.replace(/(\d+\.\d+)/g, (e) => Math.round(parseFloat(e)).toString());
1118
+ return i.includes(n.toString()) || i.includes(r.toString());
1119
+ }
1120
+ _(Tt, "isLabelCoordinateInPath");
1121
+ //#endregion
1122
+ export { F as C, Se as D, xe as E, T as O, He as S, Ce as T, Je as _, xt as a, Ge as b, q as c, vt as d, Q as f, mt as g, bt as h, St as i, ye as k, wt as l, et as m, Y as n, lt as o, dt as p, $ as r, Ct as s, J as t, U as u, qe as v, Ae as w, Ve as x, Ke as y };