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.
- package/LICENSE +201 -21
- package/README.md +86 -37
- package/dist/architecture-7GRP2DOG-B8Xs9IfY.mjs +2 -0
- package/dist/architecture-7GRP2DOG-Vdsw7WC7.js +1 -0
- package/dist/cli.js +672 -1294
- package/dist/cynefin-OW5HDTMX-DU6kwwck.js +1 -0
- package/dist/cynefin-OW5HDTMX-F0P2M_lQ.mjs +2 -0
- package/dist/docmedown-compiler.js +228 -0
- package/dist/docmedown-mermaid.js +3588 -0
- package/dist/docmedown.cjs +7264 -80
- package/dist/docmedown.iife.js +7624 -424
- package/dist/docmedown.mjs +15531 -15009
- package/dist/docmedown.web.js +7628 -0
- package/dist/eventmodeling-NTZA5JFV-D58ICByZ.js +1 -0
- package/dist/eventmodeling-NTZA5JFV-SxxTo5cJ.mjs +2 -0
- package/dist/gitGraph-4MIJSDKK-C_R2a4aQ.mjs +2 -0
- package/dist/gitGraph-4MIJSDKK-CdMj8HJ8.js +1 -0
- package/dist/info-A6RAGUB7-CG4UBCfn.js +1 -0
- package/dist/info-A6RAGUB7-DmjQlHTj.mjs +2 -0
- package/dist/mermaid-BvOI3ZSW.js +3334 -0
- package/dist/mermaid-Cx9uSfoz.mjs +116948 -0
- package/dist/packet-AYTQ26CC-CMuoEJn0.js +1 -0
- package/dist/packet-AYTQ26CC-tdMo_iPL.mjs +2 -0
- package/dist/pie-WAS4IAKB-C1hjX8y0.js +1 -0
- package/dist/pie-WAS4IAKB-DG2Bio1G.mjs +2 -0
- package/dist/prism-CeBRmKvl.js +2 -0
- package/dist/prism-CummdiZX.mjs +1588 -0
- package/dist/radar-RG4KPBEZ-DHxYOB0f.mjs +2 -0
- package/dist/radar-RG4KPBEZ-Dvyo3gdA.js +1 -0
- package/dist/railroad-74A4TZTK-1sb9Z_QQ.js +1 -0
- package/dist/railroad-74A4TZTK-CwztrSkE.mjs +2 -0
- package/dist/railroad-abnf-HS5TGJTU-4264fZjH.js +1 -0
- package/dist/railroad-abnf-HS5TGJTU-BKCsR9iC.mjs +2 -0
- package/dist/railroad-ebnf-LZEXJU2U-BXErl5kO.js +1 -0
- package/dist/railroad-ebnf-LZEXJU2U-DzDOfuxK.mjs +2 -0
- package/dist/railroad-peg-WCYAUIDC-B6gNHamV.mjs +2 -0
- package/dist/railroad-peg-WCYAUIDC-D7pSwRGa.js +1 -0
- package/dist/rolldown-runtime-B0aSnxlc.mjs +20 -0
- package/dist/rolldown-runtime-DF3sbh8G.js +1 -0
- package/dist/svelte-compiler-loader-Deqbdbvf.js +1 -0
- package/dist/svelte-compiler-loader-DtYQgEKV.mjs +50 -0
- package/dist/svelte-runtime-Brc440dp.js +5 -0
- package/dist/svelte-runtime-CgCk_bw1.mjs +40 -0
- package/dist/treeView-Q6P3EWNA-DArM8kFH.mjs +2 -0
- package/dist/treeView-Q6P3EWNA-JstiGzov.js +1 -0
- package/dist/treemap-WGGIJYW6-CMIcmEVN.mjs +2 -0
- package/dist/treemap-WGGIJYW6-Dq6fFckz.js +1 -0
- package/dist/ts-compiler-BMDmcNn5.mjs +93 -0
- package/dist/ts-compiler-U7pTMJjY.js +3 -0
- package/dist/types/runtime/bridges/dynamic-component.d.ts +43 -0
- package/dist/types/runtime/bridges/element-bridge.d.ts +24 -0
- package/dist/types/runtime/bridges/index.d.ts +3 -0
- package/dist/types/runtime/bridges/react-bridge.d.ts +35 -0
- package/dist/types/runtime/compiler-cache.d.ts +18 -0
- package/dist/types/runtime/config-schema.d.ts +2 -0
- package/dist/types/runtime/favicons.d.ts +28 -0
- package/dist/types/runtime/loader/local-loader.d.ts +13 -0
- package/dist/types/runtime/markdown/component-body.d.ts +7 -0
- package/dist/types/runtime/markdown/escape.d.ts +1 -0
- package/dist/types/runtime/markdown/highlighter.d.ts +32 -6
- package/dist/types/runtime/markdown/katex.d.ts +5 -0
- package/dist/types/runtime/markdown/mermaid-engine.d.ts +1 -0
- package/dist/types/runtime/markdown/mermaid-loader.d.ts +19 -0
- package/dist/types/runtime/markdown/mermaid.d.ts +6 -0
- package/dist/types/runtime/markdown/tables.d.ts +68 -0
- package/dist/types/runtime/media.d.ts +30 -0
- package/dist/types/runtime/motion.d.ts +134 -0
- package/dist/types/runtime/offline-export.d.ts +9 -2
- package/dist/types/runtime/router.d.ts +40 -2
- package/dist/types/runtime/splash.d.ts +90 -0
- package/dist/types/runtime/svelte-compiler-engine.d.ts +1 -0
- package/dist/types/runtime/svelte-compiler-loader.d.ts +14 -0
- package/dist/types/runtime/svelte-runtime.d.ts +29 -0
- package/dist/types/runtime/svelte-tag.d.ts +7 -0
- package/dist/types/runtime/ts-compiler.d.ts +24 -0
- package/dist/types/runtime/types.d.ts +1 -0
- package/dist/types/ui/doc-context.svelte.d.ts +198 -0
- package/dist/types/ui/index.d.ts +33 -0
- package/dist/types/ui/registry.d.ts +52 -0
- package/dist/types/ui/theme.svelte.d.ts +32 -0
- package/dist/wardley-WFR3VGLG-BK9BA6h6.mjs +2 -0
- package/dist/wardley-WFR3VGLG-Cbs7W-dU.js +1 -0
- package/package.json +61 -48
- package/schemas/docs.schema.json +186 -181
- package/templates/.dmd/CounterWidget.svelte +29 -0
- package/templates/README.md +2 -2
- package/templates/favicon.svg +12 -0
- package/templates/favicons/favicon-book.svg +11 -0
- package/templates/favicons/favicon-markdown.svg +11 -0
- package/templates/favicons/favicon-minimal.svg +15 -0
- package/templates/favicons/favicon-terminal.svg +14 -0
- package/templates/favicons/favicon.svg +12 -0
- package/templates/guides/custom-components.md +82 -22
- package/templates/index.html +6 -3
- package/dist/abnfDiagram-VCTEODGH-CtQBp0Qv.mjs +0 -89
- package/dist/abnfDiagram-VCTEODGH-mccrzlD_.js +0 -1
- package/dist/arc-DgPKXEdT.mjs +0 -82
- package/dist/arc-n7TW7Bis.js +0 -1
- package/dist/architecture-7GRP2DOG-B7myQ46f.js +0 -1
- package/dist/architecture-7GRP2DOG-Cxj1ussQ.mjs +0 -3
- package/dist/architectureDiagram-5GKGNRK7-BdTCu5T3.js +0 -36
- package/dist/architectureDiagram-5GKGNRK7-CkgZa-G1.mjs +0 -4154
- package/dist/array-CApNbSU9.mjs +0 -6
- package/dist/array-DZSRzHA_.js +0 -1
- package/dist/blockDiagram-I7D4REHJ-CSYvpxQw.js +0 -129
- package/dist/blockDiagram-I7D4REHJ-CYngfPD9.mjs +0 -1922
- package/dist/c4Diagram-7LVT6UL2-B-sz5MUK.js +0 -38
- package/dist/c4Diagram-7LVT6UL2-DEzxFf2b.mjs +0 -3010
- package/dist/channel-LgHproiI.mjs +0 -5
- package/dist/channel-yqu0m4cl.js +0 -1
- package/dist/chunk-2E4U76K2-BOyeRQsI.js +0 -1
- package/dist/chunk-2E4U76K2-CoTrgtfg.mjs +0 -348
- package/dist/chunk-2Q5K7J3B-D4EgYPOq.mjs +0 -15
- package/dist/chunk-2Q5K7J3B-DhjCNjaM.js +0 -1
- package/dist/chunk-4HAMMTFA-GFyfmcSO.js +0 -62
- package/dist/chunk-4HAMMTFA-VgWPe1ng.mjs +0 -4188
- package/dist/chunk-5VM5RSS4-GINalzIv.js +0 -15
- package/dist/chunk-5VM5RSS4-TqxtqrwE.mjs +0 -5
- package/dist/chunk-75Z2AOVW-DYouz5MZ.js +0 -2
- package/dist/chunk-75Z2AOVW-Dz0Sko9Y.mjs +0 -1330
- package/dist/chunk-CLGD4ZFX-C5J-e2io.js +0 -1
- package/dist/chunk-CLGD4ZFX-DBkwyMMv.mjs +0 -14
- package/dist/chunk-DU6HZSFF-BEQZSmUu.mjs +0 -3836
- package/dist/chunk-DU6HZSFF-CWc5ewtb.js +0 -127
- package/dist/chunk-F27PBJKO-8jvY_jJK.js +0 -1
- package/dist/chunk-F27PBJKO-DFH3sRZG.mjs +0 -61
- package/dist/chunk-FOHPRMQF-LRqOLsSw.mjs +0 -21456
- package/dist/chunk-FOHPRMQF-tmTlwTeH.js +0 -161
- package/dist/chunk-GMAD6QVW-BZeZ4fdb.mjs +0 -1863
- package/dist/chunk-GMAD6QVW-DEQiTa0c.js +0 -72
- package/dist/chunk-GVQU2GXP-B1D3J05J.mjs +0 -37
- package/dist/chunk-GVQU2GXP-CdJIWN41.js +0 -1
- package/dist/chunk-IMKFNOWR-BmZb9U1f.mjs +0 -2042
- package/dist/chunk-IMKFNOWR-CPJsszGN.js +0 -231
- package/dist/chunk-JWPE2WC7-DIKiF5cm.mjs +0 -8
- package/dist/chunk-JWPE2WC7-p1fYVdYc.js +0 -1
- package/dist/chunk-L3NEJ4N5-TzDiVs78.js +0 -1
- package/dist/chunk-L3NEJ4N5-lal8wUID.mjs +0 -245
- package/dist/chunk-LNGE3PJU-BQX75wkM.js +0 -34
- package/dist/chunk-LNGE3PJU-DJ9JuXV6.mjs +0 -1521
- package/dist/chunk-OSK3NFVY-9AWK88m1.mjs +0 -672
- package/dist/chunk-OSK3NFVY-CHzvVe8m.js +0 -10
- package/dist/chunk-P2QGCYS3-6q3AXPt5.mjs +0 -67
- package/dist/chunk-P2QGCYS3-DKZzpRQW.js +0 -1
- package/dist/chunk-POPQ4Y6H-Dd7J9tx3.mjs +0 -26
- package/dist/chunk-POPQ4Y6H-T5C7wpjf.js +0 -1
- package/dist/chunk-PWAF6VOD-BYG76tEe.mjs +0 -275
- package/dist/chunk-PWAF6VOD-DxZLuCEw.js +0 -1
- package/dist/chunk-SHT3W25Y-B2Wes8jn.mjs +0 -4183
- package/dist/chunk-SHT3W25Y-BQjHSn5K.js +0 -168
- package/dist/chunk-SVP7TREG-BFMd615E.js +0 -88
- package/dist/chunk-SVP7TREG-CynckzeF.mjs +0 -490
- package/dist/chunk-TICWLB2K-BfCuoR1V.mjs +0 -3357
- package/dist/chunk-TICWLB2K-agcyBfUp.js +0 -206
- package/dist/chunk-TLUHSLCS-CUrWaKDG.mjs +0 -59
- package/dist/chunk-TLUHSLCS-Drx_a7am.js +0 -1
- package/dist/chunk-XXDRQBXY-AAk1-Cyg.js +0 -1
- package/dist/chunk-XXDRQBXY-DpR8eYzz.mjs +0 -9
- package/dist/chunk-Y2CYZVJY-CnmLqFtv.js +0 -1
- package/dist/chunk-Y2CYZVJY-i11wjrBe.mjs +0 -12
- package/dist/classDiagram-ZZMXUADV-B7IN9zcX.js +0 -1
- package/dist/classDiagram-ZZMXUADV-tcy6gxSB.mjs +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-B7IN9zcX.js +0 -1
- package/dist/classDiagram-v2-VYDZK3BY-D5wM6Acp.mjs +0 -30
- package/dist/cose-bilkent-JH36ORCC-DBUPO3qJ.js +0 -1
- package/dist/cose-bilkent-JH36ORCC-Slpx4WIt.mjs +0 -2253
- package/dist/cynefin-OW5HDTMX--QVnfGi1.mjs +0 -3
- package/dist/cynefin-OW5HDTMX-lNKysi7S.js +0 -1
- package/dist/cynefinDiagram-5FMLGOSQ-CsFONYqx.js +0 -62
- package/dist/cynefinDiagram-5FMLGOSQ-DsrxYBcg.mjs +0 -355
- package/dist/cytoscape.esm-C5TvPYYm.mjs +0 -18148
- package/dist/cytoscape.esm-CBmWJr5M.js +0 -321
- package/dist/dagre-CZ6P9L_h.js +0 -1
- package/dist/dagre-GXQ25YYZ-CQszk-7P.js +0 -4
- package/dist/dagre-GXQ25YYZ-ecYByRSn.mjs +0 -425
- package/dist/dagre-J_1oH0eY.mjs +0 -1934
- package/dist/defaultLocale-N-0uLSyg.mjs +0 -198
- package/dist/defaultLocale-ybN1Vtvg.js +0 -1
- package/dist/diagram-S7CK7UJ4-CTMvxX__.js +0 -30
- package/dist/diagram-S7CK7UJ4-DxCghfa-.mjs +0 -301
- package/dist/diagram-UQ7AKVKN-1viEkqlG.js +0 -41
- package/dist/diagram-UQ7AKVKN-BA7Z_oB7.mjs +0 -214
- package/dist/diagram-VSXAHHWV-DgVT19mq.js +0 -3
- package/dist/diagram-VSXAHHWV-Dtqo03M5.mjs +0 -432
- package/dist/diagram-VX7I27RA-CNw0pOX_.js +0 -24
- package/dist/diagram-VX7I27RA-GMPRt8Zh.mjs +0 -527
- package/dist/diagram-Z3DM3KII-C6XdQK_Q.mjs +0 -134
- package/dist/diagram-Z3DM3KII-CPkBr3FT.js +0 -24
- package/dist/dist-CXWJafG_.js +0 -1
- package/dist/dist-DNdLIC8h.mjs +0 -59
- package/dist/ebnfDiagram-PWID7BFC-CseVsyL3.js +0 -1
- package/dist/ebnfDiagram-PWID7BFC-D_dBDXWC.mjs +0 -100
- package/dist/erDiagram-RLTQ6QDP-DFwfQTRS.js +0 -99
- package/dist/erDiagram-RLTQ6QDP-DP7ddGMH.mjs +0 -1966
- package/dist/eventmodeling-NTZA5JFV-CzxVg0l5.js +0 -1
- package/dist/eventmodeling-NTZA5JFV-Djsy__5n.mjs +0 -3
- package/dist/flowDiagram-HODETNUW-7hSJfI3W.js +0 -1
- package/dist/flowDiagram-HODETNUW-Dqu5Lr19.mjs +0 -17
- package/dist/ganttDiagram-EL5Y4UJY-KNL3tzTD.mjs +0 -3072
- package/dist/ganttDiagram-EL5Y4UJY-aiLqNWgi.js +0 -292
- package/dist/gitGraph-4MIJSDKK-DnElfqX7.js +0 -1
- package/dist/gitGraph-4MIJSDKK-xuKJBT2e.mjs +0 -3
- package/dist/gitGraphDiagram-WWUBYQGX-D4gSo_-e.js +0 -106
- package/dist/gitGraphDiagram-WWUBYQGX-Dooss5fG.mjs +0 -733
- package/dist/graphlib-BaETKKSa.js +0 -1
- package/dist/graphlib-XW-Jr8pF.mjs +0 -1267
- package/dist/info-A6RAGUB7-ClYskpn6.mjs +0 -3
- package/dist/info-A6RAGUB7-DDvvt-fW.js +0 -1
- package/dist/infoDiagram-27XIBGKW-B2-y2mdQ.mjs +0 -20
- package/dist/infoDiagram-27XIBGKW-DYQ9NzfL.js +0 -2
- package/dist/init-BJdqMO10.js +0 -1
- package/dist/init-CsQUQz36.mjs +0 -13
- package/dist/ishikawaDiagram-5VMMS53U-ULIhoYO5.js +0 -70
- package/dist/ishikawaDiagram-5VMMS53U-xAArNh-1.mjs +0 -719
- package/dist/journeyDiagram-3NMN7TZE-BBMYNZRL.js +0 -139
- package/dist/journeyDiagram-3NMN7TZE-BH-uKqP7.mjs +0 -884
- package/dist/kanban-definition-UXKFOSKX-Be49llXr.mjs +0 -976
- package/dist/kanban-definition-UXKFOSKX-CDL5yJkq.js +0 -89
- package/dist/line-BEwhHSLl.js +0 -1
- package/dist/line-CiXRog8O.mjs +0 -34
- package/dist/linear-75tfjrny.js +0 -1
- package/dist/linear-Ncx_RuON.mjs +0 -288
- package/dist/mermaid-parser.core-BBApyu_y.js +0 -6
- package/dist/mermaid-parser.core-BRHibdUE.mjs +0 -638
- package/dist/mindmap-definition-YA3MSWOX-Chy7XP_5.mjs +0 -1006
- package/dist/mindmap-definition-YA3MSWOX-DOda-fkL.js +0 -96
- package/dist/ordinal-B1BNQwUR.mjs +0 -65
- package/dist/ordinal-B9aFWmF9.js +0 -1
- package/dist/packet-AYTQ26CC-CorIy9Ul.js +0 -1
- package/dist/packet-AYTQ26CC-DWH8gXJK.mjs +0 -3
- package/dist/path-CnWkkRiY.mjs +0 -84
- package/dist/path-DIS6ck99.js +0 -1
- package/dist/pegDiagram-XKGWAZYB-Cdw6MeON.js +0 -1
- package/dist/pegDiagram-XKGWAZYB-uNfxRaq1.mjs +0 -94
- package/dist/pie-WAS4IAKB-Cn5eK-5P.mjs +0 -3
- package/dist/pie-WAS4IAKB-D84xrSoY.js +0 -1
- package/dist/pieDiagram-E7YTZNPT-Bd6mvpJw.js +0 -39
- package/dist/pieDiagram-E7YTZNPT-Cczo96a2.mjs +0 -203
- package/dist/quadrantDiagram-AXDQQJYC-BPfgvMsS.js +0 -7
- package/dist/quadrantDiagram-AXDQQJYC-eqRNtVRl.mjs +0 -2001
- package/dist/radar-RG4KPBEZ-DvkxGdO6.mjs +0 -3
- package/dist/radar-RG4KPBEZ-R2sQOLL9.js +0 -1
- package/dist/railroad-74A4TZTK-BOZIf6ts.js +0 -1
- package/dist/railroad-74A4TZTK-CrQzn8Nm.mjs +0 -3
- package/dist/railroad-abnf-HS5TGJTU-BZYetxLz.mjs +0 -3
- package/dist/railroad-abnf-HS5TGJTU-CXU1aC4B.js +0 -1
- package/dist/railroad-ebnf-LZEXJU2U-D29kI3YW.js +0 -1
- package/dist/railroad-ebnf-LZEXJU2U-qgzTOmN6.mjs +0 -3
- package/dist/railroad-peg-WCYAUIDC-Bjs9Ws3P.mjs +0 -3
- package/dist/railroad-peg-WCYAUIDC-CXviP0hz.js +0 -1
- package/dist/railroadDiagram-O6MQD6OU-58kvwt7H.mjs +0 -76
- package/dist/railroadDiagram-O6MQD6OU-CKY3uzTc.js +0 -1
- package/dist/requirementDiagram-BXWQKSXE-0hZ04Q6h.js +0 -84
- package/dist/requirementDiagram-BXWQKSXE-CS673B5n.mjs +0 -2224
- package/dist/rough.esm-ChRLLRha.js +0 -1
- package/dist/rough.esm-DXYGHN3m.mjs +0 -1361
- package/dist/sankeyDiagram-P5KCCOFB-D1D6HfAM.mjs +0 -972
- package/dist/sankeyDiagram-P5KCCOFB-ciJb9Zr8.js +0 -40
- package/dist/sequenceDiagram-WJ2MYXX4-BXEznuI6.js +0 -162
- package/dist/sequenceDiagram-WJ2MYXX4-CI1VT8AG.mjs +0 -4156
- package/dist/sizeCapture-INFHLROL-BihkCH-7.js +0 -1
- package/dist/sizeCapture-INFHLROL-BmxqyOLj.mjs +0 -46
- package/dist/src-B4mN2BMl.js +0 -1
- package/dist/src-D_hsMyeP.mjs +0 -2154
- package/dist/stateDiagram-D77RDMKH-BQrSs72W.mjs +0 -220
- package/dist/stateDiagram-D77RDMKH-D2PtkW2U.js +0 -1
- package/dist/stateDiagram-v2-MP3YSRHH-CCbvNfk-.mjs +0 -30
- package/dist/stateDiagram-v2-MP3YSRHH-Dq1QuPeN.js +0 -1
- package/dist/swimlanes-42K2YHIH-CA316NPm.mjs +0 -4979
- package/dist/swimlanes-42K2YHIH-DlggBCTy.js +0 -1
- package/dist/swimlanesDiagram-VR7AAH4N-BV9PEIoG.js +0 -8
- package/dist/swimlanesDiagram-VR7AAH4N-BfrOCfdf.mjs +0 -31
- package/dist/timeline-definition-24CTP7MA-Bkd8rWNJ.js +0 -120
- package/dist/timeline-definition-24CTP7MA-BvkqNYt1.mjs +0 -1069
- package/dist/treeView-Q6P3EWNA-Aof3Cp1M.mjs +0 -3
- package/dist/treeView-Q6P3EWNA-BTzvdwbb.js +0 -1
- package/dist/treemap-WGGIJYW6-BNXGg99p.mjs +0 -3
- package/dist/treemap-WGGIJYW6-DfR4P2Hh.js +0 -1
- package/dist/types/runtime/app.d.ts +0 -9
- package/dist/types/runtime/components/AppearanceMenu.d.ts +0 -2
- package/dist/types/runtime/components/Builtins.d.ts +0 -44
- package/dist/types/runtime/components/Content.d.ts +0 -2
- package/dist/types/runtime/components/DmdRegistry.d.ts +0 -19
- package/dist/types/runtime/components/Layout.d.ts +0 -2
- package/dist/types/runtime/components/MermaidDiagram.d.ts +0 -16
- package/dist/types/runtime/components/Navbar.d.ts +0 -2
- package/dist/types/runtime/components/OfflineDownloadButton.d.ts +0 -2
- package/dist/types/runtime/components/OfflineNotice.d.ts +0 -6
- package/dist/types/runtime/components/Sidebar.d.ts +0 -2
- package/dist/types/runtime/components/TableOfContents.d.ts +0 -8
- package/dist/types/runtime/index.d.ts +0 -8
- package/dist/types/runtime/markdown/renderer.d.ts +0 -7
- package/dist/types/runtime/provider/DocProvider.d.ts +0 -40
- package/dist/types/runtime/provider/ThemeProvider.d.ts +0 -25
- package/dist/types/runtime/search/SearchModal.d.ts +0 -11
- package/dist/vennDiagram-4TSXK5OY-BOUFXjso.js +0 -34
- package/dist/vennDiagram-4TSXK5OY-CeOg3-hU.mjs +0 -1880
- package/dist/wardley-WFR3VGLG-BOYcSLd1.mjs +0 -3
- package/dist/wardley-WFR3VGLG-DWDqJSgm.js +0 -1
- package/dist/wardleyDiagram-VM6X3IG4-BhWgMjFr.js +0 -78
- package/dist/wardleyDiagram-VM6X3IG4-C31KoRmF.mjs +0 -645
- package/dist/xychartDiagram-S5SC5T6Z-1yU8zz6I.js +0 -7
- package/dist/xychartDiagram-S5SC5T6Z-BK7upFom.mjs +0 -2210
- package/templates/.dmd/components.js +0 -25
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.js");var t=1;function n(){if(!(typeof globalThis>`u`))return globalThis}e.n(n,`getCaptureGlobal`);function r(){return!!n()?.mermaidCaptureSizes}e.n(r,`shouldCaptureSizes`);function i(){return typeof location>`u`?`browser-dev`:`${location.pathname}${location.search}`}e.n(i,`capturedFromLocation`);function a(e,t){let r=n();if(!r)return;let i=t.node(),a=((i&&`ownerSVGElement`in i?i.ownerSVGElement:null)??i)?.id??`(unknown)`;r.mermaidCapturedSizes??=[];let o={svgId:a,sizes:e};r.mermaidCapturedSizes.push(o),r.mermaidLastCapturedSizes=o}e.n(a,`emitCapturedSizes`);function o(e,n){let r=[];for(let e of n.nodes)e.isGroup||r.push({id:e.id,width:e.width??0,height:e.height??0});r.length!==0&&a({metadata:{captureVersion:t,capturedAt:new Date().toISOString(),capturedFrom:i()},nodes:r},e)}e.n(o,`captureNodeSizes`),exports.captureNodeSizes=o;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./chunk-Y2CYZVJY-i11wjrBe.mjs";
|
|
2
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/sizeCapture-INFHLROL.mjs
|
|
3
|
-
var t = 1;
|
|
4
|
-
function n() {
|
|
5
|
-
if (!(typeof globalThis > "u")) return globalThis;
|
|
6
|
-
}
|
|
7
|
-
e(n, "getCaptureGlobal");
|
|
8
|
-
function r() {
|
|
9
|
-
return !!n()?.mermaidCaptureSizes;
|
|
10
|
-
}
|
|
11
|
-
e(r, "shouldCaptureSizes");
|
|
12
|
-
function i() {
|
|
13
|
-
return typeof location > "u" ? "browser-dev" : `${location.pathname}${location.search}`;
|
|
14
|
-
}
|
|
15
|
-
e(i, "capturedFromLocation");
|
|
16
|
-
function a(e, t) {
|
|
17
|
-
let r = n();
|
|
18
|
-
if (!r) return;
|
|
19
|
-
let i = t.node(), a = ((i && "ownerSVGElement" in i ? i.ownerSVGElement : null) ?? i)?.id ?? "(unknown)";
|
|
20
|
-
r.mermaidCapturedSizes ??= [];
|
|
21
|
-
let o = {
|
|
22
|
-
svgId: a,
|
|
23
|
-
sizes: e
|
|
24
|
-
};
|
|
25
|
-
r.mermaidCapturedSizes.push(o), r.mermaidLastCapturedSizes = o;
|
|
26
|
-
}
|
|
27
|
-
e(a, "emitCapturedSizes");
|
|
28
|
-
function o(e, n) {
|
|
29
|
-
let r = [];
|
|
30
|
-
for (let e of n.nodes) e.isGroup || r.push({
|
|
31
|
-
id: e.id,
|
|
32
|
-
width: e.width ?? 0,
|
|
33
|
-
height: e.height ?? 0
|
|
34
|
-
});
|
|
35
|
-
r.length !== 0 && a({
|
|
36
|
-
metadata: {
|
|
37
|
-
captureVersion: t,
|
|
38
|
-
capturedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
39
|
-
capturedFrom: i()
|
|
40
|
-
},
|
|
41
|
-
nodes: r
|
|
42
|
-
}, e);
|
|
43
|
-
}
|
|
44
|
-
e(o, "captureNodeSizes");
|
|
45
|
-
//#endregion
|
|
46
|
-
export { o as captureNodeSizes };
|
package/dist/src-B4mN2BMl.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,o)=>(o=n==null?{}:e(i(n)),c(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n));const u=require("./chunk-Y2CYZVJY-CnmLqFtv.js");var d=o(((e,t)=>{(function(n,r){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()})(e,(function(){"use strict";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={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);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);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var ee=`$isDayjsObject`,x=function(e){return e instanceof T||!(!e||!e[ee])},S=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},C=function(e,t){if(x(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new T(n)},w=v;w.l=S,w.i=x,w.w=function(e,t){return C(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var T=function(){function g(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[ee]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(w.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);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)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;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()},_.$utils=function(){return w},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=C(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return C(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<C(e)},_.$g=function(e,t,n){return w.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!w.u(t)||t,u=w.p(e),p=function(e,t){var i=w.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return w.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){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;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[w.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=w.p(u),h=function(e){var t=C(p);return w.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return w.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;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){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return w.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return w.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return w.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return w.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return w.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return w.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return w.s(t.$s,2,`0`);case`SSS`:return w.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=w.p(f),_=C(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return w.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:w.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=S(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return w.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),te=T.prototype;return C.prototype=te,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){te[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),C.extend=function(e,t){return e.$i||=(e(t,T,C),!0),C},C.locale=S,C.isDayjs=x,C.unix=function(e){return C(1e3*e)},C.en=b[y],C.Ls=b,C.p={},C}))})),f=l(d(),1),p={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},m={trace:u.n((...e)=>{},`trace`),debug:u.n((...e)=>{},`debug`),info:u.n((...e)=>{},`info`),warn:u.n((...e)=>{},`warn`),error:u.n((...e)=>{},`error`),fatal:u.n((...e)=>{},`fatal`)},h=u.n(function(e=`fatal`){let t=p.fatal;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`)))},`setLogLevel`),g=u.n(e=>`%c${(0,f.default)().format(`ss.SSS`)} : ${e} : `,`format`),_={value:()=>{}};function v(){for(var e=0,t=arguments.length,n={},r;e<t;++e){if(!(r=arguments[e]+``)||r in n||/[\s.]/.test(r))throw Error(`illegal type: `+r);n[r]=[]}return new y(n)}function y(e){this._=e}function b(e,t){return e.trim().split(/^|\s+/).map(function(e){var n=``,r=e.indexOf(`.`);if(r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw Error(`unknown type: `+e);return{type:e,name:n}})}y.prototype=v.prototype={constructor:y,on:function(e,t){var n=this._,r=b(e+``,n),i,a=-1,o=r.length;if(arguments.length<2){for(;++a<o;)if((i=(e=r[a]).type)&&(i=ee(n[i],e.name)))return i;return}if(t!=null&&typeof t!=`function`)throw Error(`invalid callback: `+t);for(;++a<o;)if(i=(e=r[a]).type)n[i]=x(n[i],e.name,t);else if(t==null)for(i in n)n[i]=x(n[i],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new y(e)},call:function(e,t){if((i=arguments.length-2)>0)for(var n=Array(i),r=0,i,a;r<i;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(e))throw Error(`unknown type: `+e);for(a=this._[e],r=0,i=a.length;r<i;++r)a[r].value.apply(t,n)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw Error(`unknown type: `+e);for(var r=this._[e],i=0,a=r.length;i<a;++i)r[i].value.apply(t,n)}};function ee(e,t){for(var n=0,r=e.length,i;n<r;++n)if((i=e[n]).name===t)return i.value}function x(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=_,e=e.slice(0,r).concat(e.slice(r+1));break}return n!=null&&e.push({name:t,value:n}),e}var S={svg:`http://www.w3.org/2000/svg`,xhtml:`http://www.w3.org/1999/xhtml`,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`};function C(e){var t=e+=``,n=t.indexOf(`:`);return n>=0&&(t=e.slice(0,n))!==`xmlns`&&(e=e.slice(n+1)),S.hasOwnProperty(t)?{space:S[t],local:e}:e}function w(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===`http://www.w3.org/1999/xhtml`&&t.documentElement.namespaceURI===`http://www.w3.org/1999/xhtml`?t.createElement(e):t.createElementNS(n,e)}}function T(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function te(e){var t=C(e);return(t.local?T:w)(t)}function ne(){}function re(e){return e==null?ne:function(){return this.querySelector(e)}}function ie(e){typeof e!=`function`&&(e=re(e));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);return new O(r,this._parents)}function ae(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function oe(){return[]}function se(e){return e==null?oe:function(){return this.querySelectorAll(e)}}function ce(e){return function(){return ae(e.apply(this,arguments))}}function le(e){e=typeof e==`function`?ce(e):se(e);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));return new O(r,i)}function ue(e){return function(){return this.matches(e)}}function de(e){return function(t){return t.matches(e)}}var fe=Array.prototype.find;function pe(e){return function(){return fe.call(this.children,e)}}function me(){return this.firstElementChild}function he(e){return this.select(e==null?me:pe(typeof e==`function`?e:de(e)))}var ge=Array.prototype.filter;function _e(){return Array.from(this.children)}function ve(e){return function(){return ge.call(this.children,e)}}function ye(e){return this.selectAll(e==null?_e:ve(typeof e==`function`?e:de(e)))}function be(e){typeof e!=`function`&&(e=ue(e));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);return new O(r,this._parents)}function xe(e){return Array(e.length)}function Se(){return new O(this._enter||this._groups.map(xe),this._parents)}function E(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}E.prototype={constructor:E,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function Ce(e){return function(){return e}}function we(e,t,n,r,i,a){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]);for(;o<c;++o)(s=t[o])&&(i[o]=s)}function Te(e,t,n,r,i,a,o){var s,c,l=new Map,u=t.length,d=a.length,f=Array(u),p;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));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]);for(s=0;s<u;++s)(c=t[s])&&l.get(f[s])===c&&(i[s]=c)}function Ee(e){return e.__data__}function De(e,t){if(!arguments.length)return Array.from(this,Ee);var n=t?Te:we,r=this._parents,i=this._groups;typeof e!=`function`&&(e=Ce(e));for(var a=i.length,o=Array(a),s=Array(a),c=Array(a),l=0;l<a;++l){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);n(u,d,h,g,c[l]=Array(f),p,t);for(var _=0,v=0,y,b;_<m;++_)if(y=h[_]){for(_>=v&&(v=_+1);!(b=g[v])&&++v<m;);y._next=b||null}}return o=new O(o,r),o._enter=s,o._exit=c,o}function Oe(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function ke(){return new O(this._exit||this._groups.map(xe),this._parents)}function Ae(e,t,n){var r=this.enter(),i=this,a=this.exit();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}function je(e){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);for(;c<i;++c)s[c]=n[c];return new O(s,this._parents)}function Me(){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);return this}function Ne(e){e||=Pe;function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}for(var n=this._groups,r=n.length,i=Array(r),a=0;a<r;++a){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);c.sort(t)}return new O(i,this._parents).order()}function Pe(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Fe(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function Ie(){return Array.from(this)}function Le(){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){var o=r[i];if(o)return o}return null}function Re(){let e=0;for(let t of this)++e;return e}function ze(){return!this.node()}function Be(e){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);return this}function Ve(e){return function(){this.removeAttribute(e)}}function He(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Ue(e,t){return function(){this.setAttribute(e,t)}}function We(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function Ge(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function Ke(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function qe(e,t){var n=C(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((t==null?n.local?He:Ve:typeof t==`function`?n.local?Ke:Ge:n.local?We:Ue)(n,t))}function Je(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function Ye(e){return function(){this.style.removeProperty(e)}}function Xe(e,t,n){return function(){this.style.setProperty(e,t,n)}}function Ze(e,t,n){return function(){var r=t.apply(this,arguments);r==null?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function Qe(e,t,n){return arguments.length>1?this.each((t==null?Ye:typeof t==`function`?Ze:Xe)(e,t,n??``)):D(this.node(),e)}function D(e,t){return e.style.getPropertyValue(t)||Je(e).getComputedStyle(e,null).getPropertyValue(t)}function $e(e){return function(){delete this[e]}}function et(e,t){return function(){this[e]=t}}function tt(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function nt(e,t){return arguments.length>1?this.each((t==null?$e:typeof t==`function`?tt:et)(e,t)):this.node()[e]}function rt(e){return e.trim().split(/^|\s+/)}function it(e){return e.classList||new at(e)}function at(e){this._node=e,this._names=rt(e.getAttribute(`class`)||``)}at.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute(`class`,this._names.join(` `)))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute(`class`,this._names.join(` `)))},contains:function(e){return this._names.indexOf(e)>=0}};function ot(e,t){for(var n=it(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function st(e,t){for(var n=it(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function ct(e){return function(){ot(this,e)}}function lt(e){return function(){st(this,e)}}function ut(e,t){return function(){(t.apply(this,arguments)?ot:st)(this,e)}}function dt(e,t){var n=rt(e+``);if(arguments.length<2){for(var r=it(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof t==`function`?ut:t?ct:lt)(n,t))}function ft(){this.textContent=``}function pt(e){return function(){this.textContent=e}}function mt(e){return function(){var t=e.apply(this,arguments);this.textContent=t??``}}function ht(e){return arguments.length?this.each(e==null?ft:(typeof e==`function`?mt:pt)(e)):this.node().textContent}function gt(){this.innerHTML=``}function _t(e){return function(){this.innerHTML=e}}function vt(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t??``}}function yt(e){return arguments.length?this.each(e==null?gt:(typeof e==`function`?vt:_t)(e)):this.node().innerHTML}function bt(){this.nextSibling&&this.parentNode.appendChild(this)}function xt(){return this.each(bt)}function St(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Ct(){return this.each(St)}function wt(e){var t=typeof e==`function`?e:te(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function Tt(){return null}function Et(e,t){var n=typeof e==`function`?e:te(e),r=t==null?Tt:typeof t==`function`?t:re(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function Dt(){var e=this.parentNode;e&&e.removeChild(this)}function Ot(){return this.each(Dt)}function kt(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function At(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function jt(e){return this.select(e?At:kt)}function Mt(e){return arguments.length?this.property(`__data__`,e):this.node().__data__}function Nt(e){return function(t){e.call(this,t,this.__data__)}}function Pt(e){return e.trim().split(/^|\s+/).map(function(e){var t=``,n=e.indexOf(`.`);return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}function Ft(e){return function(){var t=this.__on;if(t){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;++r?t.length=r:delete this.__on}}}function It(e,t,n){return function(){var r=this.__on,i,a=Nt(t);if(r){for(var o=0,s=r.length;o<s;++o)if((i=r[o]).type===e.type&&i.name===e.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=a,i.options=n),i.value=t;return}}this.addEventListener(e.type,a,n),i={type:e.type,name:e.name,value:t,listener:a,options:n},r?r.push(i):this.__on=[i]}}function Lt(e,t,n){var r=Pt(e+``),i,a=r.length,o;if(arguments.length<2){var s=this.node().__on;if(s){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}return}for(s=t?It:Ft,i=0;i<a;++i)this.each(s(r[i],t,n));return this}function Rt(e,t,n){var r=Je(e),i=r.CustomEvent;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)}function zt(e,t){return function(){return Rt(this,e,t)}}function Bt(e,t){return function(){return Rt(this,e,t.apply(this,arguments))}}function Vt(e,t){return this.each((typeof t==`function`?Bt:zt)(e,t))}function*Ht(){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)}var Ut=[null];function O(e,t){this._groups=e,this._parents=t}function k(){return new O([[document.documentElement]],Ut)}function Wt(){return this}O.prototype=k.prototype={constructor:O,select:ie,selectAll:le,selectChild:he,selectChildren:ye,filter:be,data:De,enter:Se,exit:ke,join:Ae,merge:je,selection:Wt,order:Me,sort:Ne,call:Fe,nodes:Ie,node:Le,size:Re,empty:ze,each:Be,attr:qe,style:Qe,property:nt,classed:dt,text:ht,html:yt,raise:xt,lower:Ct,append:wt,insert:Et,remove:Ot,clone:jt,datum:Mt,on:Lt,dispatch:Vt,[Symbol.iterator]:Ht};function Gt(e){return typeof e==`string`?new O([[document.querySelector(e)]],[document.documentElement]):new O([[e]],Ut)}function Kt(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function qt(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function A(){}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={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Kt(A,F,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:rn,formatHex:rn,formatHex8:an,formatHsl:on,formatRgb:sn,toString:sn});function rn(){return this.rgb().formatHex()}function an(){return this.rgb().formatHex8()}function on(){return hn(this).formatHsl()}function sn(){return this.rgb().formatRgb()}function F(e){var t,n;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}function cn(e){return new L(e>>16&255,e>>8&255,e&255,1)}function I(e,t,n,r){return r<=0&&(e=t=n=NaN),new L(e,t,n,r)}function ln(e){return e instanceof A||(e=F(e)),e?(e=e.rgb(),new L(e.r,e.g,e.b,e.opacity)):new L}function un(e,t,n,r){return arguments.length===1?ln(e):new L(e,t,n,r??1)}function L(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}Kt(L,un,qt(A,{brighter(e){return e=e==null?Jt:Jt**+e,new L(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?j:j**+e,new L(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new L(z(this.r),z(this.g),z(this.b),R(this.opacity))},displayable(){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},hex:dn,formatHex:dn,formatHex8:fn,formatRgb:pn,toString:pn}));function dn(){return`#${B(this.r)}${B(this.g)}${B(this.b)}`}function fn(){return`#${B(this.r)}${B(this.g)}${B(this.b)}${B((isNaN(this.opacity)?1:this.opacity)*255)}`}function pn(){let e=R(this.opacity);return`${e===1?`rgb(`:`rgba(`}${z(this.r)}, ${z(this.g)}, ${z(this.b)}${e===1?`)`:`, ${e})`}`}function R(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function z(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function B(e){return e=z(e),(e<16?`0`:``)+e.toString(16)}function mn(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new V(e,t,n,r)}function hn(e){if(e instanceof V)return new V(e.h,e.s,e.l,e.opacity);if(e instanceof A||(e=F(e)),!e)return new V;if(e instanceof V)return e;e=e.rgb();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;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)}function gn(e,t,n,r){return arguments.length===1?hn(e):new V(e,t,n,r??1)}function V(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Kt(V,gn,qt(A,{brighter(e){return e=e==null?Jt:Jt**+e,new V(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?j:j**+e,new V(this.h,this.s,this.l*e,this.opacity)},rgb(){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;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)},clamp(){return new V(_n(this.h),H(this.s),H(this.l),R(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=R(this.opacity);return`${e===1?`hsl(`:`hsla(`}${_n(this.h)}, ${H(this.s)*100}%, ${H(this.l)*100}%${e===1?`)`:`, ${e})`}`}}));function _n(e){return e=(e||0)%360,e<0?e+360:e}function H(e){return Math.max(0,Math.min(1,e||0))}function vn(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}var yn=e=>()=>e;function bn(e,t){return function(n){return e+n*t}}function xn(e,t,n){return e**=+n,t=t**+n-e,n=1/n,function(r){return(e+r*t)**+n}}function Sn(e,t){var n=t-e;return n?bn(e,n>180||n<-180?n-360*Math.round(n/360):n):yn(isNaN(e)?t:e)}function Cn(e){return(e=+e)==1?wn:function(t,n){return n-t?xn(t,n,e):yn(isNaN(t)?n:t)}}function wn(e,t){var n=t-e;return n?bn(e,n):yn(isNaN(e)?t:e)}var Tn=(function e(t){var n=Cn(t);function r(e,t){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);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+``}}return r.gamma=e,r})(1);function U(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var En=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Dn=new RegExp(En.source,`g`);function On(e){return function(){return e}}function kn(e){return function(t){return e(t)+``}}function An(e,t){var n=En.lastIndex=Dn.lastIndex=0,r,i,a,o=-1,s=[],c=[];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({i:o,x:U(r,i)})),n=Dn.lastIndex;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){for(var n=0,r;n<t;++n)s[(r=c[n]).i]=r.x(e);return s.join(``)})}var jn=180/Math.PI,Mn={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Nn(e,t,n,r,i,a){var o,s,c;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),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*jn,skewX:Math.atan(c)*jn,scaleX:o,scaleY:s}}var Pn;function Fn(e){let t=new(typeof DOMMatrix==`function`?DOMMatrix:WebKitCSSMatrix)(e+``);return t.isIdentity?Mn:Nn(t.a,t.b,t.c,t.d,t.e,t.f)}function In(e){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))}function Ln(e,t,n,r){function i(e){return e.length?e.pop()+` `:``}function a(e,r,i,a,o,s){if(e!==i||r!==a){var c=o.push(`translate(`,null,t,null,n);s.push({i:c-4,x:U(e,i)},{i:c-2,x:U(r,a)})}else(i||a)&&o.push(`translate(`+i+t+a+n)}function o(e,t,n,a){e===t?t&&n.push(i(n)+`rotate(`+t+r):(e-t>180?t+=360:t-e>180&&(e+=360),a.push({i:n.push(i(n)+`rotate(`,null,r)-2,x:U(e,t)}))}function s(e,t,n,a){e===t?t&&n.push(i(n)+`skewX(`+t+r):a.push({i:n.push(i(n)+`skewX(`,null,r)-2,x:U(e,t)})}function c(e,t,n,r,a,o){if(e!==n||t!==r){var s=a.push(i(a)+`scale(`,null,`,`,null,`)`);o.push({i:s-4,x:U(e,n)},{i:s-2,x:U(t,r)})}else(n!==1||r!==1)&&a.push(i(a)+`scale(`+n+`,`+r+`)`)}return function(t,n){var r=[],i=[];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){for(var t=-1,n=i.length,a;++t<n;)r[(a=i[t]).i]=a.x(e);return r.join(``)}}}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){setTimeout(e,17)};function qn(){return K||=(Kn(Jn),q.now()+Gn)}function Jn(){K=0}function Yn(){this._call=this._time=this._next=null}Yn.prototype=Xn.prototype={constructor:Yn,restart:function(e,t,n){if(typeof e!=`function`)throw TypeError(`callback is not a function`);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()},stop:function(){this._call&&(this._call=null,this._time=1/0,tr())}};function Xn(e,t,n){var r=new Yn;return r.restart(e,t,n),r}function Zn(){qn(),++W;for(var e=Un,t;e;)(t=K-e._time)>=0&&e._call.call(void 0,t),e=e._next;--W}function Qn(){K=(Wn=q.now())+Gn,W=Bn=0;try{Zn()}finally{W=0,er(),K=0}}function $n(){var e=q.now(),t=e-Wn;t>Hn&&(Gn-=t,Wn=e)}function er(){for(var e,t=Un,n,r=1/0;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);G=e,tr(r)}function tr(e){W||(Bn&&=clearTimeout(Bn),e-K>24?(e<1/0&&(Bn=setTimeout(Qn,e-q.now()-Gn)),Vn&&=clearInterval(Vn)):(Vn||=(Wn=q.now(),setInterval($n,Hn)),W=1,Kn(Qn)))}function nr(e,t,n){var r=new Yn;return t=t==null?0:+t,r.restart(n=>{r.stop(),e(n+t)},t,n),r}var rr=v(`start`,`end`,`cancel`,`interrupt`),ir=[];function J(e,t,n,r,i,a){var o=e.__transition;if(!o)e.__transition={};else if(n in o)return;or(e,n,{name:t,index:r,group:i,on:rr,tween:ir,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})}function ar(e,t){var n=X(e,t);if(n.state>0)throw Error(`too late; already scheduled`);return n}function Y(e,t){var n=X(e,t);if(n.state>3)throw Error(`too late; already running`);return n}function X(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw Error(`transition not found`);return n}function or(e,t,n){var r=e.__transition,i;r[t]=n,n.timer=Xn(a,0,n.time);function a(e){n.state=1,n.timer.restart(o,n.delay,n.time),n.delay<=e&&o(e-n.delay)}function o(a){var l,u,d,f;if(n.state!==1)return c();for(l in r)if(f=r[l],f.name===n.name){if(f.state===3)return nr(o);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])}if(nr(function(){n.state===3&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(a))}),n.state=2,n.on.call(`start`,e,e.__data__,n.index,n.group),n.state===2){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);i.length=u+1}}function s(t){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);n.state===5&&(n.on.call(`end`,e,e.__data__,n.index,n.group),c())}function c(){for(var i in n.state=6,n.timer.stop(),delete r[t],r)return;delete e.__transition}}function sr(e,t){var n=e.__transition,r,i,a=!0,o;if(n){for(o in t=t==null?null:t+``,n){if((r=n[o]).name!==t){a=!1;continue}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]}a&&delete e.__transition}}function cr(e){return this.each(function(){sr(this,e)})}function lr(e,t){var n,r;return function(){var i=Y(this,e),a=i.tween;if(a!==n){r=n=a;for(var o=0,s=r.length;o<s;++o)if(r[o].name===t){r=r.slice(),r.splice(o,1);break}}i.tween=r}}function ur(e,t,n){var r,i;if(typeof n!=`function`)throw Error();return function(){var a=Y(this,e),o=a.tween;if(o!==r){i=(r=o).slice();for(var s={name:t,value:n},c=0,l=i.length;c<l;++c)if(i[c].name===t){i[c]=s;break}c===l&&i.push(s)}a.tween=i}}function dr(e,t){var n=this._id;if(e+=``,arguments.length<2){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;return null}return this.each((t==null?lr:ur)(n,e,t))}function fr(e,t,n){var r=e._id;return e.each(function(){var e=Y(this,r);(e.value||={})[t]=n.apply(this,arguments)}),function(e){return X(e,r).value[t]}}function pr(e,t){var n;return(typeof t==`number`?U:t instanceof F?Tn:(n=F(t))?(t=n,Tn):An)(e,t)}function mr(e){return function(){this.removeAttribute(e)}}function hr(e){return function(){this.removeAttributeNS(e.space,e.local)}}function gr(e,t,n){var r,i=n+``,a;return function(){var o=this.getAttribute(e);return o===i?null:o===r?a:a=t(r=o,n)}}function _r(e,t,n){var r,i=n+``,a;return function(){var o=this.getAttributeNS(e.space,e.local);return o===i?null:o===r?a:a=t(r=o,n)}}function vr(e,t,n){var r,i,a;return function(){var o,s=n(this),c;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)))}}function yr(e,t,n){var r,i,a;return function(){var o,s=n(this),c;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)))}}function br(e,t){var n=C(e),r=n===`transform`?zn:pr;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))}function xr(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function Sr(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function Cr(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&Sr(e,i)),n}return i._value=t,i}function wr(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&xr(e,i)),n}return i._value=t,i}function Tr(e,t){var n=`attr.`+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!=`function`)throw Error();var r=C(e);return this.tween(n,(r.local?Cr:wr)(r,t))}function Er(e,t){return function(){ar(this,e).delay=+t.apply(this,arguments)}}function Dr(e,t){return t=+t,function(){ar(this,e).delay=t}}function Or(e){var t=this._id;return arguments.length?this.each((typeof e==`function`?Er:Dr)(t,e)):X(this.node(),t).delay}function kr(e,t){return function(){Y(this,e).duration=+t.apply(this,arguments)}}function Ar(e,t){return t=+t,function(){Y(this,e).duration=t}}function jr(e){var t=this._id;return arguments.length?this.each((typeof e==`function`?kr:Ar)(t,e)):X(this.node(),t).duration}function Mr(e,t){if(typeof t!=`function`)throw Error();return function(){Y(this,e).ease=t}}function Nr(e){var t=this._id;return arguments.length?this.each(Mr(t,e)):X(this.node(),t).ease}function Pr(e,t){return function(){var n=t.apply(this,arguments);if(typeof n!=`function`)throw Error();Y(this,e).ease=n}}function Fr(e){if(typeof e!=`function`)throw Error();return this.each(Pr(this._id,e))}function Ir(e){typeof e!=`function`&&(e=ue(e));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);return new Z(r,this._parents,this._name,this._id)}function Lr(e){if(e._id!==this._id)throw Error();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);for(;s<r;++s)o[s]=t[s];return new Z(o,this._parents,this._name,this._id)}function Rr(e){return(e+``).trim().split(/^|\s+/).every(function(e){var t=e.indexOf(`.`);return t>=0&&(e=e.slice(0,t)),!e||e===`start`})}function zr(e,t,n){var r,i,a=Rr(t)?ar:Y;return function(){var o=a(this,e),s=o.on;s!==r&&(i=(r=s).copy()).on(t,n),o.on=i}}function Br(e,t){var n=this._id;return arguments.length<2?X(this.node(),n).on.on(e):this.each(zr(n,e,t))}function Vr(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function Hr(){return this.on(`end.remove`,Vr(this._id))}function Ur(e){var t=this._name,n=this._id;typeof e!=`function`&&(e=re(e));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)));return new Z(a,this._parents,t,n)}function Wr(e){var t=this._name,n=this._id;typeof e!=`function`&&(e=se(e));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]){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);a.push(f),o.push(u)}return new Z(a,o,t,n)}var Gr=k.prototype.constructor;function Kr(){return new Gr(this._groups,this._parents)}function qr(e,t){var n,r,i;return function(){var a=D(this,e),o=(this.style.removeProperty(e),D(this,e));return a===o?null:a===n&&o===r?i:i=t(n=a,r=o)}}function Jr(e){return function(){this.style.removeProperty(e)}}function Yr(e,t,n){var r,i=n+``,a;return function(){var o=D(this,e);return o===i?null:o===r?a:a=t(r=o,n)}}function Xr(e,t,n){var r,i,a;return function(){var o=D(this,e),s=n(this),c=s+``;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))}}function Zr(e,t){var n,r,i,a=`style.`+t,o=`end.`+a,s;return function(){var c=Y(this,e),l=c.on,u=c.value[a]==null?s||=Jr(t):void 0;(l!==n||i!==u)&&(r=(n=l).copy()).on(o,i=u),c.on=r}}function Qr(e,t,n){var r=(e+=``)==`transform`?Rn:pr;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)}function $r(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}function ei(e,t,n){var r,i;function a(){var a=t.apply(this,arguments);return a!==i&&(r=(i=a)&&$r(e,a,n)),r}return a._value=t,a}function ti(e,t,n){var r=`style.`+(e+=``);if(arguments.length<2)return(r=this.tween(r))&&r._value;if(t==null)return this.tween(r,null);if(typeof t!=`function`)throw Error();return this.tween(r,ei(e,t,n??``))}function ni(e){return function(){this.textContent=e}}function ri(e){return function(){var t=e(this);this.textContent=t??``}}function ii(e){return this.tween(`text`,typeof e==`function`?ri(fr(this,`text`,e)):ni(e==null?``:e+``))}function ai(e){return function(t){this.textContent=e.call(this,t)}}function oi(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&ai(r)),t}return r._value=e,r}function si(e){var t=`text`;if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!=`function`)throw Error();return this.tween(t,oi(e))}function ci(){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]){var u=X(c,t);J(c,e,n,l,o,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Z(r,this._parents,e,n)}function li(){var e,t,n=this,r=n._id,i=n.size();return new Promise(function(a,o){var s={value:o},c={value:function(){--i===0&&a()}};n.each(function(){var n=Y(this,r),i=n.on;i!==e&&(t=(e=i).copy(),t._.cancel.push(s),t._.interrupt.push(s),t._.end.push(c)),n.on=t}),i===0&&a()})}var ui=0;function Z(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function di(){return++ui}var Q=k.prototype;Z.prototype={constructor:Z,select:Ur,selectAll:Wr,selectChild:Q.selectChild,selectChildren:Q.selectChildren,filter:Ir,merge:Lr,selection:Kr,transition:ci,call:Q.call,nodes:Q.nodes,node:Q.node,size:Q.size,empty:Q.empty,each:Q.each,on:Br,attr:br,attrTween:Tr,style:Qr,styleTween:ti,text:ii,textTween:si,remove:Hr,tween:dr,delay:Or,duration:jr,ease:Nr,easeVarying:Fr,end:li,[Symbol.iterator]:Q[Symbol.iterator]};function fi(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var pi={time:null,delay:0,duration:250,ease:fi};function mi(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw Error(`transition ${t} not found`);return n}function hi(e){var t,n;e instanceof Z?(t=e._id,e=e._name):(t=di(),(n=pi).time=qn(),e=e==null?null:e+``);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));return new Z(r,this._parents,e,t)}k.prototype.interrupt=cr,k.prototype.transition=hi;var{abs:gi,max:_i,min:vi}=Math;[`w`,`e`].map(yi),[`n`,`s`].map(yi),[`n`,`w`,`e`,`s`,`nw`,`ne`,`sw`,`se`].map(yi);function yi(e){return{type:e}}function $(e,t,n){this.k=e,this.x=t,this.y=n}$.prototype={constructor:$,scale:function(e){return e===1?this:new $(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new $(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return`translate(`+this.x+`,`+this.y+`) scale(`+this.k+`)`}};var bi=new $(1,0,0);xi.prototype=$.prototype;function xi(e){for(;!e.__zoom;)if(!(e=e.parentNode))return bi;return e.__zoom}Object.defineProperty(exports,"_",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return wn}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return L}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return Kt}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return qt}}),Object.defineProperty(exports,"g",{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,"h",{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return Sn}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return F}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return U}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return yn}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return Gt}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return Tn}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return A}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return An}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return ln}}),Object.defineProperty(exports,"v",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"y",{enumerable:!0,get:function(){return l}});
|