@marimo-team/islands 0.23.17-dev9 → 0.24.1-dev0
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/dist/{ConnectedDataExplorerComponent-f9vLjQiF.js → ConnectedDataExplorerComponent-BUC1MrsF.js} +24 -24
- package/dist/{ErrorBoundary-DhLqwSWA.js → ErrorBoundary-BniTEhHn.js} +7 -7
- package/dist/{ImageComparisonComponent-C3y7L3eJ.js → ImageComparisonComponent-B7b8DcJI.js} +42 -31
- package/dist/{Plot-YQOuVIei.js → Plot-eTseCFf_.js} +4 -4
- package/dist/_initCloneObject-DNUst5Cg.js +91 -0
- package/dist/abnfDiagram-N423BO3Z-DA4j92-C.js +112 -0
- package/dist/{any-language-editor-DifE-fl7.js → any-language-editor-LHl8ZmVN.js} +26 -26
- package/dist/apl-Cwo7GIH7.js +4 -0
- package/dist/{arc-CTIpFoOn.js → arc-9nABupDE.js} +2 -2
- package/dist/architecture-TIHT7OUA-DxLlkuAK.js +5 -0
- package/dist/{architectureDiagram-VXUJARFQ-DXwkyAaM.js → architectureDiagram-T3A2C74G-BBlBK1Oh.js} +327 -214
- package/dist/{arrays-sEtDRoG4.js → arrays-C56grfjL.js} +1 -1
- package/dist/asciiarmor-jrfEZ3j_.js +4 -0
- package/dist/asn1-BNEiJ4nQ.js +4 -0
- package/dist/assets/__vite-browser-external-DUz7vvG0.js +1 -0
- package/dist/assets/{worker-CDEKsBgX.js → worker-Cl1KJG2_.js} +2 -2
- package/dist/blockDiagram-VBNYF7ZC-Datz1WNn.js +3284 -0
- package/dist/brainfuck-BCunvTbd.js +4 -0
- package/dist/{button-BSm8IXRU.js → button-Dr2uAwhT.js} +9 -7
- package/dist/{c4Diagram-YG6GDRKO-B6dZC_oU.js → c4Diagram-5PPSVZJV-DTIsibpE.js} +165 -162
- package/dist/{capabilities-C6OQ5YBO.js → capabilities-BilXeZ7p.js} +2 -2
- package/dist/{channel-BN070S0F.js → channel-CuV_jmG4.js} +1 -1
- package/dist/chat-ui-o-tATfmW.js +8619 -0
- package/dist/{check-DP7U0H0G.js → check-58HHfHKy.js} +1 -1
- package/dist/chunk-2GRJ4B5K-DRayWnnu.js +68 -0
- package/dist/{chunk-QZHKN3VN-Dym5BS7y.js → chunk-2Q5K7J3B-BSLyFOHa.js} +1 -1
- package/dist/chunk-3NCLNEKW-BPlp8K7N.js +11 -0
- package/dist/chunk-4I5QYGJK-CYJC3pkC.js +260 -0
- package/dist/chunk-5FCAYU7R-C3cMIeyz.js +24 -0
- package/dist/{chunk-5FQGJX7Z-B9WoXK1R.js → chunk-5FQGJX7Z-BRZ_XYUw.js} +6 -6
- package/dist/chunk-5HE753X5-D2jFCVXb.js +34 -0
- package/dist/chunk-5JV3BV7I-B7tzprBU.js +50 -0
- package/dist/{chunk-DI55MBZ5-D4Y8yV8B.js → chunk-5RXB4S5H-DcCPfb0q.js} +373 -327
- package/dist/chunk-5TONJI2A-LRqbgPte.js +59 -0
- package/dist/{chunk-FMBD7UC4-quJmebXa.js → chunk-5VM5RSS4-ChXEBudA.js} +1 -1
- package/dist/chunk-6Q2QTUOP-zcnb3OaV.js +503 -0
- package/dist/{chunk-HN2XXSSU-Bv0QkeMr.js → chunk-7BUUIJ7U-CkIbJNZo.js} +32 -25
- package/dist/chunk-7Z6QIM7H-1j-x7ddW.js +606 -0
- package/dist/{chunk-FRFDVMJY-BHBqN-vD.js → chunk-BIQX33UG-B-BYk6sM.js} +3 -3
- package/dist/chunk-Bfp04NdC.js +25 -0
- package/dist/chunk-CQNSW5MT-DBXDKSOU.js +34 -0
- package/dist/{chunk-4F5CHEZ2-VlodlEGo.js → chunk-CYSBUYHQ-Cv-vKQV-.js} +1 -1
- package/dist/{chunk-SJTYNZTY-DnXoKWpW.js → chunk-EMLP6XTP-DCtMkXLF.js} +1 -1
- package/dist/{chunk-B4BG7PRW-B_z2FEHm.js → chunk-GF5L2VYU-esTxzELH.js} +878 -636
- package/dist/chunk-I66GZJ75-9xAsFrdW.js +3744 -0
- package/dist/chunk-J7OUQ5F2-CbNBTlFM.js +81 -0
- package/dist/chunk-JG7HCLWE-CZIm6axg.js +59 -0
- package/dist/{flowDiagram-NV44I4VS-BRhSg-ro.js → chunk-JQJVKLGR-ZALkKVji.js} +1019 -1001
- package/dist/{chunk-4BX2VUAB-iU5lQTDI.js → chunk-JWPE2WC7-C_Daz-Oc.js} +1 -1
- package/dist/{chunk-QN33PNHL-DPBNNzpR.js → chunk-KBJHAD2P-B7m9DztL.js} +3 -2
- package/dist/chunk-KEIR6QF5-aP6TmWQ-.js +21095 -0
- package/dist/{chunk-UMXZTB3W-D1uHz8MN.js → chunk-MOZMSUNE-BQi-ggQx.js} +7 -4
- package/dist/{chunk-S3R3BYOJ-BdgLc8AM.js → chunk-NSK5VX7P-BmmoJBbx.js} +320 -29
- package/dist/chunk-OSBZ3O6U-BcrmpSY_.js +22 -0
- package/dist/{chunk-TQ3KTPDO-CsDx6v37.js → chunk-QBLGF6JB-BACuPUWb.js} +3 -3
- package/dist/chunk-QR6OTTB3-C4L1dLRd.js +3762 -0
- package/dist/{chunk-B2363JML-zL3VngtH.js → chunk-R7FJI6CG-BYAXJpIb.js} +3 -3
- package/dist/chunk-RYQCIY6F-poA0Ugpr.js +243 -0
- package/dist/chunk-U6XO7XAA-I8tCjTeT.js +60 -0
- package/dist/chunk-UBXNYLIW-C8LueN5Q.js +34 -0
- package/dist/{chunk-ATLVNIR6-qFiszptQ.js → chunk-W5SLKNZC-DK-_KuKT.js} +2 -2
- package/dist/{chunk-JA3XYJ7Z-CY4CRbV5.js → chunk-WRU74C26-DLgw-V0j.js} +262 -451
- package/dist/chunk-XXDRQBXY-Dzcp3rUR.js +9 -0
- package/dist/chunk-Y2CYZVJY-DX3DSigL.js +13 -0
- package/dist/{chunk-PL6DKKU2-CAHKc95s.js → chunk-YOTPTUD7-C8qfgaz5.js} +5 -5
- package/dist/{chunk-MI3HLSF2-HGWI-8Pg.js → chunk-ZIRB5QZD-_JX1DzEJ.js} +12 -8
- package/dist/classDiagram-JCYQIIEL-D8A6ZyXv.js +32 -0
- package/dist/classDiagram-v2-OCEON4UE-DIdYl-t3.js +32 -0
- package/dist/{click-outside-container-BSIeYt4y.js → click-outside-container-BZNsAj09.js} +2 -2
- package/dist/{clike-7lgyEYRk.js → clike-CWndBX_M.js} +1 -1
- package/dist/clojure-2X0Rfij9.js +4 -0
- package/dist/cmake-DEwzCy9U.js +4 -0
- package/dist/cobol-Ck4eCoAB.js +4 -0
- package/dist/{code-block-37QAKDTI-MSxEjskJ.js → code-block-37QAKDTI-B4pWe5MI.js} +4 -4
- package/dist/coffeescript-bB1IDwhg.js +4 -0
- package/dist/{common-C3f0slQQ.js → common-CDI91x0c.js} +797 -804
- package/dist/commonlisp-BDYrVBNC.js +4 -0
- package/dist/{compiler-runtime-CEbnTgxf.js → compiler-runtime-DsR6imPN.js} +2 -2
- package/dist/{copy-DNq8q3zw.js → copy-C7ZKMKox.js} +5 -5
- package/dist/{cose-bilkent-S5V4N54A-BYj0aL7z.js → cose-bilkent-JH36ORCC-D6iQzSi6.js} +6 -5
- package/dist/crystal-BSoiVUiH.js +4 -0
- package/dist/css-w1h9i21f.js +4 -0
- package/dist/cynefin-VYW2F7L2-DnZOHyNF.js +5 -0
- package/dist/cynefinDiagram-MW4NZA55-B1GNPS2u.js +367 -0
- package/dist/cypher-B4xzuKGP.js +4 -0
- package/dist/{cytoscape.esm-Dr8XzXWK.js → cytoscape.esm-BPa26Dup.js} +393 -334
- package/dist/d-D50Bz34p.js +4 -0
- package/dist/{dagre-By_QsQgc.js → dagre-ThTNj8pe.js} +60 -45
- package/dist/dagre-VZM6K2ZE-DEs5dfXA.js +343 -0
- package/dist/{data-grid-overlay-editor-BWRG2b_o.js → data-grid-overlay-editor-Ci7TXVf5.js} +5 -5
- package/dist/{debounce-BOD3DbfP.js → debounce-D784bpms.js} +2 -2
- package/dist/{defaultLocale-BpsHxBd7.js → defaultLocale-CMezyvMc.js} +26 -26
- package/dist/diagram-7IWD3JNH-Bdk1_wJO.js +321 -0
- package/dist/diagram-B4RE2ZJO-Be9eYLJ0.js +464 -0
- package/dist/{diagram-S2PKOQOG-CGh4OMEV.js → diagram-LBJQPF4R-BNSnzxFw.js} +26 -18
- package/dist/{diagram-PSM6KHXK-D4ftnaua.js → diagram-Q27KOJAE-NPRzyGtd.js} +68 -63
- package/dist/diagram-UB23O5K3-Dogz4itg.js +236 -0
- package/dist/diff-BMdzfXq-.js +4 -0
- package/dist/{dist-BTdrwBWP.js → dist-72nb8Uag.js} +3 -3
- package/dist/{dist-CV79CsQ0.js → dist-9PC5KxMl.js} +2 -2
- package/dist/{dist-BOMbzyb3.js → dist-Awj73yUw.js} +3 -3
- package/dist/{dist-w_gWE5Wf.js → dist-B0Ctcrt9.js} +1 -1
- package/dist/{dist-BO5HRiTf.js → dist-B1Donbpk.js} +2 -2
- package/dist/dist-BC6wzWNb.js +5 -0
- package/dist/{dist-De-GlSAs.js → dist-BJ2IUa0l.js} +15 -9
- package/dist/dist-BMd_RcOy.js +5 -0
- package/dist/dist-BZEWjN6r.js +5 -0
- package/dist/{dist-BP39XM8u.js → dist-B_K4AAkc.js} +1 -1
- package/dist/dist-BeuGjR3n.js +6 -0
- package/dist/dist-BfDQCUe6.js +5 -0
- package/dist/dist-BhNblTOV.js +8 -0
- package/dist/{dist-BPF0gTRZ.js → dist-C0ifRfXi.js} +1 -1
- package/dist/{dist-pqIwD8VD.js → dist-C3mEki35.js} +2 -2
- package/dist/{dist-LpLXa9Lb.js → dist-CNfV2vDI.js} +2 -2
- package/dist/{dist-DviUBLUp.js → dist-COcQ5Vyc.js} +4 -4
- package/dist/dist-CRCm4Fuo.js +5 -0
- package/dist/{dist-4lVIWUT3.js → dist-CSZpLb9d.js} +1 -1
- package/dist/{dist-BIEt-mlF.js → dist-CWswQBvu.js} +1 -1
- package/dist/{dist-D3bdsa1d.js → dist-CXYro_Nw.js} +4 -4
- package/dist/{dist-CRmSjkLP.js → dist-Ckfsc8C3.js} +2 -2
- package/dist/{dist-CSlJrrAw.js → dist-Cyq6Pxtv.js} +1 -1
- package/dist/{dist-JGehap7K.js → dist-D-BWPyoX.js} +5 -5
- package/dist/{dist-BCX980mU.js → dist-D-YB6j-O.js} +2 -2
- package/dist/{dist-DgjbnqTg.js → dist-D1vYHETp.js} +2 -2
- package/dist/{dist-BpeiYpG2.js → dist-D9-ePb6D.js} +2 -2
- package/dist/dist-DBPEbGkd.js +8 -0
- package/dist/{dist-C2_4pjuS.js → dist-DC409ROm.js} +1 -1
- package/dist/{dist-BdqCKQ1O.js → dist-DJRUd9aM.js} +2 -2
- package/dist/{dist-DaXJPX8F.js → dist-DLvxZEAK.js} +2 -2
- package/dist/dist-DSsl8IAI.js +5 -0
- package/dist/{dist-3NCqaWjt.js → dist-D_ulymry.js} +2 -2
- package/dist/{dist-DZwp8lro.js → dist-DgY27bJ4.js} +3 -3
- package/dist/{dist-BwhXBwMd.js → dist-DiwVZiK7.js} +1 -1
- package/dist/{dist-DwqBJ014.js → dist-DnYHhW6c.js} +2 -2
- package/dist/dist-Dx0kkrek.js +5 -0
- package/dist/{dist-DsoKosxi.js → dist-HaLHv0k5.js} +2 -3
- package/dist/dist-NKA1TU8a.js +6 -0
- package/dist/dist-ZFcsIdHj.js +8 -0
- package/dist/{dist-C18MUWTj.js → dist-iZ8-rtUy.js} +2 -2
- package/dist/{dist-DIlxLFXG.js → dist-j30bBjjN.js} +15 -15
- package/dist/{dist-SXNmlE8A.js → dist-kOCFEa1U.js} +3 -3
- package/dist/{dist-CFSb_Frm.js → dist-sxRUVPmt.js} +1 -1
- package/dist/dist-uA2RbGmY.js +5 -0
- package/dist/{dist-B2jmQKKx.js → dist-xVU82Nq7.js} +2 -2
- package/dist/dist-zSCo-xCB.js +8 -0
- package/dist/{dockerfile-B82Pkz_V.js → dockerfile-DImRFUlA.js} +1 -1
- package/dist/dtd-B9dCT0pu.js +4 -0
- package/dist/dylan-DLghDyuR.js +4 -0
- package/dist/ebnfDiagram-BXEA7PRR-CqRWkG7L.js +129 -0
- package/dist/ecl-w0qdPHDB.js +4 -0
- package/dist/eiffel-C5AWRCNP.js +4 -0
- package/dist/elm-CT8FZrOm.js +4 -0
- package/dist/{erDiagram-Q2GNP2WA-BcKAHFqF.js → erDiagram-JOGREHBK-BZMJX-Au.js} +568 -436
- package/dist/erlang-DPD-9M5g.js +4 -0
- package/dist/{error-banner-B_GQfxxD.js → error-banner-BwCLtmkH.js} +6 -6
- package/dist/{esm-CuQHjs36.js → esm-BJ4n0NUT.js} +1 -1
- package/dist/{esm-DKOv6P2M.js → esm-Dusmf6uu.js} +105 -105
- package/dist/{esm-DzZVaNH4.js → esm-QLUgkqzZ.js} +6 -6
- package/dist/eventmodeling-45OFAUF4-D8Kbnsr6.js +5 -0
- package/dist/{extends-w2_S44bV.js → extends-iFBneQO_.js} +9 -9
- package/dist/{factor-Bq2mGIHt.js → factor-BonZgUGg.js} +1 -1
- package/dist/factor-rFfeJu3r.js +4 -0
- package/dist/flowDiagram-UKHOOZJN-DqIE8_b3.js +21 -0
- package/dist/{formats-Dwq1THhr.js → formats-HSfYlcA8.js} +7 -7
- package/dist/forth-C-3AyQx4.js +4 -0
- package/dist/fortran-BSN9TeT7.js +4 -0
- package/dist/ganttDiagram-PKOTCBZU-Bc9puoXb.js +2207 -0
- package/dist/gas-DwmuvQpB.js +4 -0
- package/dist/gherkin-gmCjL-Sn.js +4 -0
- package/dist/{gitGraph-G5XIXVHT-BjTx0kww.js → gitGraph-TEB2WS4Q-DVzLmQHc.js} +2 -3
- package/dist/gitGraphDiagram-DS77QQ5N-CqKr-Dfg.js +766 -0
- package/dist/{glide-data-editor-B9K6-MJe.js → glide-data-editor-BI2i_IEE.js} +18 -18
- package/dist/graphlib-DMVIRZap.js +614 -0
- package/dist/groovy-DCjvesOy.js +4 -0
- package/dist/hasIn-synBnXn4.js +119 -0
- package/dist/haskell-C1p0D9L8.js +4 -0
- package/dist/haxe-q-fgv0zr.js +5 -0
- package/dist/{html-to-image-CZ1kLKkq.js → html-to-image-BOiFHx3u.js} +7535 -3056
- package/dist/idl-Bmg4bsnK.js +4 -0
- package/dist/{info-VBDWY6EO-CA67FznA.js → info-DKCQHKI2-BxOTqQHM.js} +2 -3
- package/dist/infoDiagram-6WML65LV-B869X2KY.js +37 -0
- package/dist/{input-C5K4VBvB.js → input-BRE2a7Ay.js} +13 -13
- package/dist/{_baseFor-4jw-lnCC.js → isArrayLikeObject-CBUaLibE.js} +96 -29
- package/dist/{isEmpty-CJJMn-QP.js → isEmpty-CgME6WRV.js} +15 -15
- package/dist/{isSymbol-CoUCgMCM.js → isSymbol-Ch3GYg4S.js} +1 -1
- package/dist/ishikawaDiagram-WSZJBQD7-BrOMFBYy.js +731 -0
- package/dist/javascript-BY5QZ-eN.js +4 -0
- package/dist/{journeyDiagram-XKPGCS4Q-DEal0aT1.js → journeyDiagram-NVQOT4AX-CTwHlsTm.js} +124 -123
- package/dist/{jsx-runtime-DebpN0FN.js → jsx-runtime-Dp_oQwaf.js} +1 -1
- package/dist/julia-DbR1YalK.js +4 -0
- package/dist/{kanban-definition-3W4ZIXB7-Dl90wENN.js → kanban-definition-27J2QSJJ-CKowzO9_.js} +51 -45
- package/dist/{katex-C4t-BmrK.js → katex-Ci33kJVq.js} +1 -1
- package/dist/{katex-Bld7b-fk.js → katex-Dp22h6yO.js} +2871 -3002
- package/dist/{label-DjoYwqmj.js → label-CMh2d8pJ.js} +6 -6
- package/dist/{line-C43FIPBd.js → line-Bc27KE1D.js} +3 -3
- package/dist/{linear-H_vsH9ao.js → linear-6pDlrp1I.js} +4 -4
- package/dist/livescript-BDUooIeL.js +4 -0
- package/dist/{loader-DX-IDS7n.js → loader-DTnbNSVZ.js} +11 -11
- package/dist/lua-CswAWSkH.js +4 -0
- package/dist/main.js +747 -752
- package/dist/map-BQ_Xp80D.js +137 -0
- package/dist/mathematica-Bw7v11B5.js +4 -0
- package/dist/mbox-j35IMz1j.js +4 -0
- package/dist/merge-CDbSrd9f.js +69 -0
- package/dist/mermaid-4DMBBIKO-BZSpTmcx.js +6 -0
- package/dist/mermaid-DpAz2sTy.js +1265 -0
- package/dist/mermaid-parser.core-BQzz3_BI.js +87 -0
- package/dist/{mhchem-EGhUZR1V.js → mhchem-BDHjke3h.js} +1 -1
- package/dist/{micromark-factory-space-CwHmg6iz.js → micromark-factory-space-Cr4NxAt3.js} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-CCDupjWW.js → mindmap-definition-FAOFIHXS-CTsi-HFj.js} +126 -80
- package/dist/mirc-Ba_RHVXO.js +4 -0
- package/dist/mllike-DbTP2dPp.js +6 -0
- package/dist/modelica-lpT3V1X6.js +4 -0
- package/dist/mscgen-BN4ZSJMx.js +6 -0
- package/dist/mumps-uI5g1A0g.js +4 -0
- package/dist/{node-sql-parser-v1Vi-Fft.js → node-sql-parser-BaLGWQe1.js} +1 -1
- package/dist/{now-Ch98bJO_.js → now-sFWt-GLC.js} +2 -2
- package/dist/{nsis-i9_sgigf.js → nsis-C68fFq_o.js} +1 -1
- package/dist/nsis-Df56GiRg.js +4 -0
- package/dist/ntriples-B3LWuG7W.js +4 -0
- package/dist/{number-overlay-editor-Ck_mc_gT.js → number-overlay-editor-CeBHRJvI.js} +3 -3
- package/dist/octave-CovfQgOx.js +4 -0
- package/dist/{once-B60G2fuJ.js → once-Boutk_9X.js} +1 -1
- package/dist/{ordinal-Bkv2-veX.js → ordinal-Bdajf2BE.js} +1 -1
- package/dist/oz-DQQAvVFb.js +4 -0
- package/dist/{packet-DYOGHKS2-Bkgofxf3.js → packet-7NZHBO7P-BG8whXXH.js} +2 -3
- package/dist/pascal-xz94P9sf.js +4 -0
- package/dist/pegDiagram-VL7TDLO6-CNpT8Sqz.js +124 -0
- package/dist/perl-aEWKE-1n.js +4 -0
- package/dist/pick-CaEWivSF.js +47 -0
- package/dist/{pie-VRWISCQL-B1AMhN_7.js → pie-RZYD4A2V-Cc_QhFbT.js} +2 -3
- package/dist/pieDiagram-7S7Q4E2Y-Ct8jRpe_.js +219 -0
- package/dist/pig-DB6DOZl7.js +4 -0
- package/dist/powershell-DM5saUx1.js +4 -0
- package/dist/{precisionRound-CnHPY_5v.js → precisionRound-BOoJTbDj.js} +1 -1
- package/dist/{process-output-bVfbcx5_.js → process-output-HrsM52f8.js} +7 -7
- package/dist/properties-BGjYQuGo.js +4 -0
- package/dist/protobuf-BPpEyPud.js +4 -0
- package/dist/{pug-BhE2JRSg.js → pug-DFPPZ3LA.js} +1 -1
- package/dist/pug-uJzB88ft.js +4 -0
- package/dist/puppet-oIm2d_Lg.js +4 -0
- package/dist/{purify.es-EnR5yhgI.js → purify.es-DR5PNXwx.js} +160 -155
- package/dist/python-WE57eUzD.js +4 -0
- package/dist/q-CR8xPodo.js +4 -0
- package/dist/{quadrantDiagram-AYHSOK5B-BqDB9tUC.js → quadrantDiagram-CIZ2JOQS-B5n_xFcF.js} +429 -401
- package/dist/r-CJdmQZNj.js +4 -0
- package/dist/{radar-ZZBFDIW7-C2b7A32s.js → radar-I7S5WNFK-OhUkecXA.js} +2 -3
- package/dist/railroad-3IZDKUUU-1CmOpo1B.js +5 -0
- package/dist/railroad-abnf-AHOZXSZD-DmH4lsDS.js +5 -0
- package/dist/railroad-ebnf-EBAXGLYW-CzK0md4e.js +5 -0
- package/dist/railroad-peg-LSFZ7HO6-DOklooKz.js +5 -0
- package/dist/railroadDiagram-AXF67PYL-BbUWbtf8.js +100 -0
- package/dist/{react-DA-nE2FX.js → react-DhGsCS90.js} +1 -1
- package/dist/{react-dom-BTJzcVJ9.js → react-dom-CmENFV8Q.js} +2 -2
- package/dist/{react-vega-BazDALhI.js → react-vega-zyfTF9SY.js} +8036 -4796
- package/dist/{requirementDiagram-UZGBJVZJ-KbVt8SPH.js → requirementDiagram-LRYGKXZP-CpoDmKSf.js} +137 -105
- package/dist/{reveal-component-CbOaZYQI.js → reveal-component-jN-3ZqwN.js} +27 -28
- package/dist/rough.esm-lGyFQ0B-.js +1363 -0
- package/dist/rpm-Cm5K4RH9.js +5 -0
- package/dist/ruby-ArsuTozQ.js +4 -0
- package/dist/sankeyDiagram-W5VNT64P-D82rYiAG.js +942 -0
- package/dist/sas-DShligrE.js +4 -0
- package/dist/scheme-kDLirQL7.js +4 -0
- package/dist/sequenceDiagram-SI44F4Z6-DgVKU1s5.js +4281 -0
- package/dist/shell-CVQuWP_N.js +4 -0
- package/dist/sieve-BW-ePwnq.js +4 -0
- package/dist/sizeCapture-X5ZJPWSS-BQgxHTji.js +48 -0
- package/dist/smalltalk-DI4aAXxY.js +4 -0
- package/dist/sparql-B2sp0oiz.js +4 -0
- package/dist/{spec-CQKL_D3i.js → spec-BL1GSUUF.js} +4 -4
- package/dist/{src-DV3ha_nA.js → src-BwVZVGyf.js} +13 -22
- package/dist/{stateDiagram-FKZM4ZOC-ByOvQf2n.js → stateDiagram-OKZ733FA-Cc9BchXz.js} +61 -58
- package/dist/stateDiagram-v2-UEYNNEHI-Dd4Tuw6F.js +32 -0
- package/dist/{step-BqHnkgWE.js → step-BqVgkWtk.js} +1 -1
- package/dist/stex-D2rme5UG.js +4 -0
- package/dist/{strings-DIy9NAmg.js → strings-DMLVGXRo.js} +305 -305
- package/dist/style.css +1 -1
- package/dist/stylus-xxO-85eO.js +4 -0
- package/dist/swift-Ctg533nZ.js +4 -0
- package/dist/swimlanes-SLNWSIFB-BHvhO5uv.js +5564 -0
- package/dist/swimlanesDiagram-ULZ7WXOC-aI_zgQ8O.js +33 -0
- package/dist/{swiper-component-CEdAYjb7.js → swiper-component-Cx0cRWLk.js} +6 -6
- package/dist/tcl-phm9c5Nd.js +4 -0
- package/dist/textile-CphjAg90.js +4 -0
- package/dist/{time-Bb4A7I6a.js → time-DAJu9fnj.js} +4 -4
- package/dist/timeline-definition-Z64GVDOM-BAHuDYyA.js +1107 -0
- package/dist/{timer-BpI_FKSA.js → timer-aIIabkbI.js} +1 -1
- package/dist/{toDate-CqhBWjvO.js → toDate-BGM7kFtQ.js} +6 -6
- package/dist/toml-BUuMK772.js +4 -0
- package/dist/{tooltip-f-qR0iUx.js → tooltip-BtUxZT5h.js} +7 -7
- package/dist/treeView-QDETBFTQ-DsLN_c8p.js +5 -0
- package/dist/{treemap-GDKQZRPO-SDux0AV8.js → treemap-6X3UGDF4-K1bi3LJm.js} +2 -3
- package/dist/troff-lCtc05A3.js +4 -0
- package/dist/ttcn-CcykzBcW.js +4 -0
- package/dist/ttcn-cfg-C-XYdqpE.js +4 -0
- package/dist/turtle-CpfVZs8G.js +4 -0
- package/dist/{types-DicH9Oi0.js → types-DT8UHI5w.js} +1 -1
- package/dist/{use-vega-container-remeasure-DGNrIQSk.js → use-vega-container-remeasure-B7OD7yUY.js} +3 -3
- package/dist/{useAsyncData-CYOQb1EW.js → useAsyncData-CDcbh-Qv.js} +5 -5
- package/dist/{useDateFormatter-Bt2qr_XS.js → useDateFormatter-B_vTzxpm.js} +4 -4
- package/dist/{useDeepCompareMemoize-CSHQeQEI.js → useDeepCompareMemoize-Bj6QvwiG.js} +3 -3
- package/dist/{useIframeCapabilities-kA09ykNq.js → useIframeCapabilities-CxuXXwjj.js} +4 -4
- package/dist/{useLifecycle-CMJGqBaY.js → useLifecycle-Bw4wRj_O.js} +7 -7
- package/dist/{useTheme-DYfby65G.js → useTheme-BzEXeAR5.js} +8 -7
- package/dist/vb-VOIzXwm9.js +4 -0
- package/dist/vbscript-D0WfcnVk.js +4 -0
- package/dist/{vega-component-C7nO5zcf.js → vega-component-CJug-VdR.js} +24 -24
- package/dist/{vega-embed-container-DAQAMjiO.js → vega-embed-container-BRjjqRGz.js} +9 -9
- package/dist/{vega-loader.browser-DmpxCJqx.js → vega-loader.browser-CGb-2Kwi.js} +106 -113
- package/dist/velocity-CCrc5n-0.js +4 -0
- package/dist/vennDiagram-T6HMQDX7-CTyzMewS.js +1913 -0
- package/dist/verilog-BLFhaDBH.js +4 -0
- package/dist/vhdl-DjuqPE9b.js +4 -0
- package/dist/wardley-OPB4EBWU-CP99MvU1.js +5 -0
- package/dist/wardleyDiagram-T6FBY63Y-vcno_rbk.js +669 -0
- package/dist/webidl-Cc7RrfeK.js +4 -0
- package/dist/xquery-BiCRLnNG.js +4 -0
- package/dist/{xychartDiagram-PRI3JC2R-BSkNxYNw.js → xychartDiagram-ELKLHX3M-DyFDERhM.js} +417 -353
- package/dist/yacas-CWcjav-O.js +4 -0
- package/dist/z80-DpYS2lE7.js +4 -0
- package/dist/{zod-BUcyXSdR.js → zod-BFY2SnzC.js} +42 -43
- package/package.json +7 -7
- package/src/__mocks__/requests.ts +5 -0
- package/src/components/ai/ai-model-dropdown.tsx +2 -2
- package/src/components/app-config/user-config-form.tsx +26 -0
- package/src/components/chat/__tests__/capabilities-popover.test.tsx +38 -0
- package/src/components/chat/__tests__/chat-abort.test.ts +51 -0
- package/src/components/chat/__tests__/use-chat-controller-id.test.tsx +39 -0
- package/src/components/chat/capabilities-popover.tsx +68 -0
- package/src/components/chat/chat-abort.ts +44 -0
- package/src/components/chat/chat-display.tsx +17 -0
- package/src/components/chat/chat-panel.tsx +107 -50
- package/src/components/chat/chat-utils.ts +1 -1
- package/src/components/chat/use-chat-controller-id.ts +24 -0
- package/src/components/data-table/charts/__tests__/schemas.test.ts +35 -0
- package/src/components/data-table/charts/schemas.ts +5 -2
- package/src/components/datasets/__tests__/icons.test.ts +21 -0
- package/src/components/datasets/icons.tsx +10 -0
- package/src/components/datasources/__tests__/components.test.tsx +29 -0
- package/src/components/datasources/components.tsx +8 -3
- package/src/components/editor/actions/export-dialog/__tests__/export-dialog.test.tsx +35 -0
- package/src/components/editor/actions/export-dialog/__tests__/state.test.ts +61 -0
- package/src/components/editor/actions/export-dialog/export-command.ts +4 -9
- package/src/components/editor/actions/export-dialog/format-notice.tsx +28 -0
- package/src/components/editor/actions/export-dialog/state.ts +23 -5
- package/src/components/editor/actions/export-dialog/use-export-dialog.ts +3 -13
- package/src/components/editor/actions/useConfigActions.tsx +24 -0
- package/src/components/editor/ai/add-cell-with-ai.tsx +2 -2
- package/src/components/editor/ai/ai-completion-editor.tsx +2 -2
- package/src/components/editor/chrome/panels/outline/__tests__/useActiveOutline.test.ts +26 -0
- package/src/components/editor/chrome/wrapper/useOpenAiAssistant.ts +2 -2
- package/src/components/editor/code/__tests__/readonly-python-code.test.tsx +114 -2
- package/src/core/__tests__/mode.test.ts +85 -0
- package/src/core/ai/__tests__/config.test.tsx +96 -0
- package/src/core/ai/config.ts +16 -22
- package/src/core/ai/constants.ts +7 -0
- package/src/core/ai/staged-cells.ts +3 -0
- package/src/core/ai/state.ts +10 -0
- package/src/core/codemirror/__tests__/setup.test.ts +1 -1
- package/src/core/codemirror/cm.ts +2 -2
- package/src/core/codemirror/code-lens/__tests__/extension.test.ts +85 -6
- package/src/core/codemirror/code-lens/extension.ts +144 -47
- package/src/core/codemirror/find-replace/search-highlight.ts +8 -3
- package/src/core/codemirror/language/languages/sql/__tests__/renderers.test.tsx +44 -0
- package/src/core/codemirror/language/languages/sql/renderers.tsx +3 -3
- package/src/core/codemirror/theme/__tests__/light.test.ts +59 -123
- package/src/core/codemirror/theme/dark.ts +6 -5
- package/src/core/codemirror/theme/light.ts +6 -4
- package/src/core/config/__tests__/config-schema.test.ts +2 -0
- package/src/core/config/config-schema.ts +1 -0
- package/src/core/config/feature-flag.tsx +0 -2
- package/src/core/dom/outline.ts +25 -2
- package/src/core/hotkeys/hotkeys.ts +2 -0
- package/src/core/mode.ts +11 -9
- package/src/core/network/__tests__/api.test.ts +132 -17
- package/src/core/network/__tests__/export-filename.test.ts +43 -0
- package/src/core/network/__tests__/requests-lazy.test.ts +1 -0
- package/src/core/network/api.ts +47 -12
- package/src/core/network/export-filename.ts +37 -0
- package/src/core/network/markdown-export.ts +19 -0
- package/src/core/network/requests-network.ts +29 -5
- package/src/core/network/types.ts +4 -0
- package/src/css/app/codemirror.css +11 -7
- package/src/css/globals.css +8 -0
- package/src/plugins/impl/DataEditorPlugin.tsx +2 -9
- package/src/plugins/impl/__tests__/DataEditorPlugin.test.ts +18 -0
- package/src/plugins/impl/chat/chat-ui.tsx +51 -3
- package/src/plugins/impl/data-frames/__tests__/schema.test.ts +30 -0
- package/src/plugins/impl/data-frames/schema.ts +4 -1
- package/src/plugins/impl/image-comparison/ImageComparisonComponent.tsx +20 -1
- package/src/plugins/impl/image-comparison/__tests__/ImageComparisonComponent.test.tsx +58 -0
- package/src/stories/theme.stories.tsx +71 -1
- package/dist/_baseUniq-B_2Hw7zG.js +0 -380
- package/dist/apl-e1B5LPEL.js +0 -4
- package/dist/architecture-7HQA4BMR-DHUrQjL4.js +0 -6
- package/dist/asciiarmor-B-gwgesP.js +0 -4
- package/dist/asn1-DF2ckRB4.js +0 -4
- package/dist/assets/__vite-browser-external-DltVXDv7.js +0 -1
- package/dist/blockDiagram-VD42YOAC-CIOjvxeD.js +0 -3131
- package/dist/brainfuck-4G-7_gq_.js +0 -4
- package/dist/chat-ui-DsZJj75A.js +0 -8369
- package/dist/chunk-55IACEB6-7h71GwyW.js +0 -8
- package/dist/chunk-ABZYJK2D-BxBDji1u.js +0 -2438
- package/dist/chunk-BNovOVIE.js +0 -28
- package/dist/chunk-CVBHYZKI-CwazXVlJ.js +0 -13
- package/dist/chunk-DR5Q36YT-5Yp2GWwR.js +0 -137
- package/dist/chunk-EXTU4WIE-BQPBhApE.js +0 -10
- package/dist/chunk-JZLCHNYA-DWIR9m5O.js +0 -4901
- package/dist/chunk-N4CR4FBY-Bw2HcMNc.js +0 -65
- package/dist/chunk-QXUST7PY-DtC2t9Mk.js +0 -498
- package/dist/chunk-TCCFYFTB-DPWJa9zL.js +0 -13948
- package/dist/chunk-TZMSLE5B-BzSHcq-K.js +0 -63
- package/dist/classDiagram-2ON5EDUG-BiQPjMNY.js +0 -30
- package/dist/classDiagram-v2-WZHVMYZB-YHdR8fqM.js +0 -30
- package/dist/clojure-CUybM11R.js +0 -4
- package/dist/clone-Q4Fqwn6q.js +0 -9
- package/dist/cmake-BPjGcuDL.js +0 -4
- package/dist/cobol-BETk_nb6.js +0 -4
- package/dist/coffeescript-CManZxXL.js +0 -4
- package/dist/commonlisp-DWkn7GW8.js +0 -4
- package/dist/crystal-CCbg5EUH.js +0 -4
- package/dist/css-By8eo-XS.js +0 -4
- package/dist/cypher-DwfHg3nP.js +0 -4
- package/dist/d-Brs1wNbw.js +0 -4
- package/dist/dagre-6UL2VRFP-DpYjBqQs.js +0 -296
- package/dist/diagram-QEK2KX5R-DVlUOgs1.js +0 -228
- package/dist/diff-DJIRmJ1g.js +0 -4
- package/dist/dist-5o9uz19x.js +0 -5
- package/dist/dist-BpDH0DEP.js +0 -5
- package/dist/dist-BpXhbQXO.js +0 -8
- package/dist/dist-ByadAk_L.js +0 -5
- package/dist/dist-CK0g7JvP.js +0 -8
- package/dist/dist-CfzCtiq2.js +0 -5
- package/dist/dist-D8JtVFrW.js +0 -8
- package/dist/dist-DK2Oocpu.js +0 -6
- package/dist/dist-DnSu977r.js +0 -5
- package/dist/dist-UmxJm6sW.js +0 -8
- package/dist/dist-aYSBQSyM.js +0 -5
- package/dist/dist-kkZ1Ztlh.js +0 -6
- package/dist/dist-ngPczwNi.js +0 -5
- package/dist/dist-wQRyxyTV.js +0 -5
- package/dist/dtd-Dyiazv4N.js +0 -4
- package/dist/dylan-D8Fcw7NA.js +0 -4
- package/dist/ecl-CjKp8Vii.js +0 -4
- package/dist/eiffel-K9ViOX5r.js +0 -4
- package/dist/elm-B5NVtRco.js +0 -4
- package/dist/erlang-BnLzgk7R.js +0 -4
- package/dist/factor-C7f9Jz5R.js +0 -4
- package/dist/flatten-Bbw7g6-K.js +0 -8
- package/dist/forth-rGM8jLao.js +0 -4
- package/dist/fortran-B3acSe0i.js +0 -4
- package/dist/ganttDiagram-JELNMOA3-CXXCN7LN.js +0 -2170
- package/dist/gas-Bb1Vmv_N.js +0 -4
- package/dist/gherkin-C9Lyidgd.js +0 -4
- package/dist/gitGraphDiagram-V2S2FVAM-BOlkMSqK.js +0 -652
- package/dist/graphlib-Ns7y5crs.js +0 -359
- package/dist/groovy-DQk6XcGH.js +0 -4
- package/dist/hasIn-Deg7jl_j.js +0 -108
- package/dist/haskell-mV0Vw9gv.js +0 -4
- package/dist/haxe-DqxN89zH.js +0 -5
- package/dist/idl-ya8W561J.js +0 -4
- package/dist/infoDiagram-HS3SLOUP-D3TyKnL_.js +0 -30
- package/dist/javascript-CgqgptVu.js +0 -4
- package/dist/julia-CFQ-HusI.js +0 -4
- package/dist/livescript-D__3TmDo.js +0 -4
- package/dist/lua-Bytcgj_W.js +0 -4
- package/dist/main-B1Jo_8pC.js +0 -4321
- package/dist/mathematica-DJhvVKvl.js +0 -4
- package/dist/mbox-IGHPCjfR.js +0 -4
- package/dist/memoize-BOtf2yFf.js +0 -17
- package/dist/merge-Be1CqGnU.js +0 -222
- package/dist/mermaid-4DMBBIKO-FXbOziy9.js +0 -6
- package/dist/mermaid-hv6IckVw.js +0 -1100
- package/dist/mermaid-parser.core-DoivvxPd.js +0 -54
- package/dist/min-Dtgc8txR.js +0 -38
- package/dist/mirc-tcwvVugm.js +0 -4
- package/dist/mllike-Dx91i62r.js +0 -6
- package/dist/modelica-_SRt-yU5.js +0 -4
- package/dist/mscgen-GZrGS9gt.js +0 -6
- package/dist/mumps-Cv3ygyod.js +0 -4
- package/dist/nsis-BU7GeGbI.js +0 -4
- package/dist/ntriples-CL-FCYXb.js +0 -4
- package/dist/octave-Dc6_3DIu.js +0 -4
- package/dist/oz-DpUAJCXf.js +0 -4
- package/dist/pascal-B17mncXs.js +0 -4
- package/dist/perl-BTpK97q9.js +0 -4
- package/dist/pick-D1Qo8s2C.js +0 -43
- package/dist/pieDiagram-ADFJNKIX-JvXG_6hk.js +0 -170
- package/dist/pig-CFb638Ap.js +0 -4
- package/dist/powershell-Cxo-_2A5.js +0 -4
- package/dist/properties-BPgT1xTB.js +0 -4
- package/dist/protobuf-BgHBaIIK.js +0 -4
- package/dist/pug-25-oS0SG.js +0 -4
- package/dist/puppet-DarIr20S.js +0 -4
- package/dist/python-BqmOsBsi.js +0 -4
- package/dist/q-D3QJCTup.js +0 -4
- package/dist/r-Cz_yBX4z.js +0 -4
- package/dist/rpm-DGOtYwAI.js +0 -5
- package/dist/ruby-DBZu4rPc.js +0 -4
- package/dist/sankeyDiagram-TZEHDZUN-DgkF38jx.js +0 -892
- package/dist/sas-Dd1D9qTq.js +0 -4
- package/dist/scheme-BmDjvTHX.js +0 -4
- package/dist/sequenceDiagram-WL72ISMW-BDmx9n95.js +0 -3652
- package/dist/shell-BL8zFSaj.js +0 -4
- package/dist/sieve-BAx2WqUP.js +0 -4
- package/dist/smalltalk-CYRzF7VV.js +0 -4
- package/dist/sparql-YWaDRO4A.js +0 -4
- package/dist/stateDiagram-v2-4FDKWEC3-C3xqeavR.js +0 -29
- package/dist/stex-B5O-env2.js +0 -4
- package/dist/stylus-lYsyLFc1.js +0 -4
- package/dist/swift-ClQz9z1n.js +0 -4
- package/dist/tcl-B3jhsfqY.js +0 -4
- package/dist/textile-Cb1Dw7Aq.js +0 -4
- package/dist/timeline-definition-IT6M3QCI-CkD_trIn.js +0 -856
- package/dist/toml-nHZhetdO.js +0 -4
- package/dist/troff-DuJAGWKH.js +0 -4
- package/dist/ttcn-BxrcwP21.js +0 -4
- package/dist/ttcn-cfg-BAg_9dcc.js +0 -4
- package/dist/turtle-zCq949as.js +0 -4
- package/dist/vb-De5hElus.js +0 -4
- package/dist/vbscript-Cypcpv4F.js +0 -4
- package/dist/velocity-Di7l-yhe.js +0 -4
- package/dist/verilog-Bzi-S3g2.js +0 -4
- package/dist/vhdl-B0ZZITaW.js +0 -4
- package/dist/webidl-0sviiRcN.js +0 -4
- package/dist/xquery-B4qMVWaB.js +0 -4
- package/dist/yacas-Jt25Fuv8.js +0 -4
- package/dist/z80-CrcbYzmp.js +0 -4
- /package/dist/{apl-99A7dLQe.js → apl-CMUKiT2b.js} +0 -0
- /package/dist/{array-O78LT16Y.js → array-CEIRxyh3.js} +0 -0
- /package/dist/{asciiarmor-DLEhpFDx.js → asciiarmor-C_r6K6db.js} +0 -0
- /package/dist/{asn1-CMrcTsT4.js → asn1-DnlnCQTu.js} +0 -0
- /package/dist/{asterisk-CqykImq7.js → asterisk-DaVJJDnV.js} +0 -0
- /package/dist/{brainfuck-ChPt5yBe.js → brainfuck-CtQoQVkV.js} +0 -0
- /package/dist/{clike-CE0fXfM_.js → clike-CIAs0ABt.js} +0 -0
- /package/dist/{clojure-QkBEMU-g.js → clojure-C6tKQYjD.js} +0 -0
- /package/dist/{cmake-CU1jX7Mo.js → cmake-D-nfcg14.js} +0 -0
- /package/dist/{cobol-DMOKzzky.js → cobol-DYTC58p9.js} +0 -0
- /package/dist/{coffeescript-DjnjLyfk.js → coffeescript-DctDWA58.js} +0 -0
- /package/dist/{colors-DmiH1bIH.js → colors-DR_aHfmQ.js} +0 -0
- /package/dist/{common-keywords-D3nPJNQP.js → common-keywords-FBrXPTcz.js} +0 -0
- /package/dist/{commonlisp-CYd9iOSe.js → commonlisp-BmvTqU5y.js} +0 -0
- /package/dist/{crystal-Dy55yoYG.js → crystal-BPIK2UMa.js} +0 -0
- /package/dist/{css-CNU8w3HJ.js → css-CDo_Lwzn.js} +0 -0
- /package/dist/{cypher-q47DGzK7.js → cypher-KztbD63v.js} +0 -0
- /package/dist/{d-jEkaLvxX.js → d-HXBWOoe9.js} +0 -0
- /package/dist/{defaultLocale-DoeErsX2.js → defaultLocale-DMZFeDB8.js} +0 -0
- /package/dist/{diff-vb2-unFN.js → diff-B9rWZH0m.js} +0 -0
- /package/dist/{dtd-C9kR-bXa.js → dtd-LtAMP5y8.js} +0 -0
- /package/dist/{duckdb-keywords-B6HYCMOT.js → duckdb-keywords-CvJhR_Yd.js} +0 -0
- /package/dist/{dylan-BLckrK-V.js → dylan-DXMK92pf.js} +0 -0
- /package/dist/{ebnf-Cnp3L9jg.js → ebnf-2D4Ctp3y.js} +0 -0
- /package/dist/{ecl-CEsf6XVg.js → ecl-Dqq8ser2.js} +0 -0
- /package/dist/{eiffel-2KGZNzx6.js → eiffel-ChExWBDx.js} +0 -0
- /package/dist/{elm-D2s3K5wF.js → elm-BMBz2xbZ.js} +0 -0
- /package/dist/{emotion-is-prop-valid.esm-DdVSF4FD.js → emotion-is-prop-valid.esm-_z-EwK5u.js} +0 -0
- /package/dist/{erlang-0PMFOndk.js → erlang-CGSDzg9P.js} +0 -0
- /package/dist/{fcl-D9nccAWI.js → fcl-Ccj8Z5Xd.js} +0 -0
- /package/dist/{forth-DG89iUsu.js → forth-vTkfR0aY.js} +0 -0
- /package/dist/{fortran-ytKsAVvu.js → fortran-CF4LAVFn.js} +0 -0
- /package/dist/{gas-Cg2Fm0N2.js → gas-mMFbQ2x4.js} +0 -0
- /package/dist/{gherkin-B87FEnZ-.js → gherkin-DLS1q0XM.js} +0 -0
- /package/dist/{groovy-Dcs08AWD.js → groovy-Zt6CNPxV.js} +0 -0
- /package/dist/{haskell-cwkOuhx6.js → haskell-kVOgzpVy.js} +0 -0
- /package/dist/{haxe-DWEo4q10.js → haxe-Bo21F6gc.js} +0 -0
- /package/dist/{http-B8jdG64J.js → http-_DVAYWoR.js} +0 -0
- /package/dist/{idl-WWQwDcRV.js → idl-B865GSM-.js} +0 -0
- /package/dist/{init-DNBbYZd_.js → init-TaqZJsBY.js} +0 -0
- /package/dist/{invariant-wRzNXIsJ.js → invariant-hOqqBz8A.js} +0 -0
- /package/dist/{javascript-BeR74dxD.js → javascript-CSLuHpxZ.js} +0 -0
- /package/dist/{julia-UlvCUYGL.js → julia-BCOLeQif.js} +0 -0
- /package/dist/{livescript-GPmFcmYV.js → livescript-DqUzLZFs.js} +0 -0
- /package/dist/{lua-DYoT_0zM.js → lua-D0ciLwkO.js} +0 -0
- /package/dist/{math-CBNc2Ib0.js → math-CTnb-N1W.js} +0 -0
- /package/dist/{mathematica-DSFIQlbG.js → mathematica-DujD1RDf.js} +0 -0
- /package/dist/{mbox-ej8lFMdL.js → mbox-8OkSQMDn.js} +0 -0
- /package/dist/{mirc-CAdIdvHQ.js → mirc-D47x8yRQ.js} +0 -0
- /package/dist/{mllike-CjTB1lHF.js → mllike-Dcfw-g6D.js} +0 -0
- /package/dist/{modelica-BB68FYMa.js → modelica-BHtr9gKR.js} +0 -0
- /package/dist/{mscgen-BkbzgGGI.js → mscgen-uZedQc_A.js} +0 -0
- /package/dist/{mumps-Cu-28E9F.js → mumps-Bc9QS1-K.js} +0 -0
- /package/dist/{nginx-C1ofKPst.js → nginx-DasThI7R.js} +0 -0
- /package/dist/{ntriples-D9cQiZxZ.js → ntriples-Clpn9Mrg.js} +0 -0
- /package/dist/{objects-De59twF-.js → objects-UzwQd5gx.js} +0 -0
- /package/dist/{octave-BvtAnPX0.js → octave-DA2esRWi.js} +0 -0
- /package/dist/{oz-COaVHk2E.js → oz-D8i-brWx.js} +0 -0
- /package/dist/{pascal-BFpqVD2x.js → pascal-Dt1a0CeN.js} +0 -0
- /package/dist/{path-DwWbhZFI.js → path-7gr7eZmp.js} +0 -0
- /package/dist/{perl-DaiORxHP.js → perl-CXy9EfRp.js} +0 -0
- /package/dist/{pig-DFzRhmsF.js → pig-DnXnrjQg.js} +0 -0
- /package/dist/{powershell-BG2LQNKN.js → powershell-BYE6u-Qk.js} +0 -0
- /package/dist/{properties-CqJJR5QY.js → properties-DlhyusaK.js} +0 -0
- /package/dist/{protobuf-WwDYV1yY.js → protobuf-DoMSrsPi.js} +0 -0
- /package/dist/{puppet-QNY3w_uN.js → puppet-DGi4idFA.js} +0 -0
- /package/dist/{python-4QrQ3Ugi.js → python-CYhALYh0.js} +0 -0
- /package/dist/{q-DhwXuxE2.js → q-Cs_qWJkU.js} +0 -0
- /package/dist/{r-Df-nkR25.js → r-DWJSQl1c.js} +0 -0
- /package/dist/{range-BOiA8qqU.js → range-Bieq5MNc.js} +0 -0
- /package/dist/{rpm-Cokue07s.js → rpm-DIip1m0n.js} +0 -0
- /package/dist/{ruby-DrYcL3qF.js → ruby-NgZGoa7Q.js} +0 -0
- /package/dist/{sas-CoiPirA5.js → sas-DEKzCzM2.js} +0 -0
- /package/dist/{scheme-CwFLjzHv.js → scheme-CBrGar2n.js} +0 -0
- /package/dist/{semaphore-C8rmHdhj.js → semaphore-P832H4YT.js} +0 -0
- /package/dist/{shell-BFV-R24I.js → shell-D7XFPOM_.js} +0 -0
- /package/dist/{sieve-CxwXF5T9.js → sieve-BOxOVQ18.js} +0 -0
- /package/dist/{simple-mode-DTaJtKPt.js → simple-mode-D-FXBgPn.js} +0 -0
- /package/dist/{smalltalk-QivVOCtX.js → smalltalk-DYK-HkUK.js} +0 -0
- /package/dist/{solr-BLvysN-c.js → solr-RZ9uTl59.js} +0 -0
- /package/dist/{sparql-nKsFk8j7.js → sparql-CU1uk9Py.js} +0 -0
- /package/dist/{spreadsheet-BWc8C2FT.js → spreadsheet-BNNUNXA2.js} +0 -0
- /package/dist/{sql-CWfUjlV1.js → sql-B4x8IkwU.js} +0 -0
- /package/dist/{stex-DtMAhV4-.js → stex-DIvyJfNO.js} +0 -0
- /package/dist/{stylus-BLKQAycn.js → stylus-BokZhKWB.js} +0 -0
- /package/dist/{swift-CJoKqiKj.js → swift-TlA42tbT.js} +0 -0
- /package/dist/{tcl-YTeYFNUc.js → tcl-C-m7N_9k.js} +0 -0
- /package/dist/{textile-C6rKQqMQ.js → textile-BWOWG894.js} +0 -0
- /package/dist/{tiddlywiki-ZXwTHGNT.js → tiddlywiki-DI0mF2WJ.js} +0 -0
- /package/dist/{tiki-C628O_u4.js → tiki-2HU6XLLn.js} +0 -0
- /package/dist/{toml-DxlPGbRy.js → toml-GapOS-6U.js} +0 -0
- /package/dist/{treemap-DY3NBr79.js → treemap-CQJ0bIDy.js} +0 -0
- /package/dist/{troff-DFCfH7Ku.js → troff-ChPXSGgg.js} +0 -0
- /package/dist/{ttcn-DAW-ERVP.js → ttcn-CGf_ktUb.js} +0 -0
- /package/dist/{ttcn-cfg-CpJ8b7EN.js → ttcn-cfg-E0kw_vEm.js} +0 -0
- /package/dist/{turtle-BneV2f8L.js → turtle-DDIYttZr.js} +0 -0
- /package/dist/{vb-D973Vxxh.js → vb-DsGz8YA-.js} +0 -0
- /package/dist/{vbscript-Dckaq3YO.js → vbscript-BfQcpKZn.js} +0 -0
- /package/dist/{velocity-DKty-GUC.js → velocity-BMi53hPb.js} +0 -0
- /package/dist/{verilog-aNaK_biA.js → verilog-B_WDxmCB.js} +0 -0
- /package/dist/{vhdl-CQuehnQy.js → vhdl-C52-TT0z.js} +0 -0
- /package/dist/{webidl-Bhg8vaMr.js → webidl-Cnphjlul.js} +0 -0
- /package/dist/{xquery-D2q16GaM.js → xquery-X_kWyOft.js} +0 -0
- /package/dist/{yacas-DHGOHnNa.js → yacas-Dpp9zAZ5.js} +0 -0
- /package/dist/{z80-BPhTmO22.js → z80-BZLZAthF.js} +0 -0
|
@@ -0,0 +1,942 @@
|
|
|
1
|
+
var _a, _b, _c;
|
|
2
|
+
import "./purify.es-DR5PNXwx.js";
|
|
3
|
+
import { n as ordinal } from "./ordinal-Bdajf2BE.js";
|
|
4
|
+
import { t as colors_default } from "./colors-DR_aHfmQ.js";
|
|
5
|
+
import { t as select_default } from "./src-BwVZVGyf.js";
|
|
6
|
+
import { n as __name } from "./chunk-Y2CYZVJY-DX3DSigL.js";
|
|
7
|
+
import { H as setAccDescription, J as setupGraphViewbox, K as setDiagramTitle, U as setAccTitle, a as clear, d as defaultConfig2, s as common_default, v as getAccDescription, w as getDiagramTitle, x as getConfig2, y as getAccTitle } from "./chunk-I66GZJ75-9xAsFrdW.js";
|
|
8
|
+
var Tableau10_default = colors_default("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");
|
|
9
|
+
function max(n, c) {
|
|
10
|
+
let l;
|
|
11
|
+
if (c === void 0) for (let c2 of n) c2 != null && (l < c2 || l === void 0 && c2 >= c2) && (l = c2);
|
|
12
|
+
else {
|
|
13
|
+
let u = -1;
|
|
14
|
+
for (let d of n) (d = c(d, ++u, n)) != null && (l < d || l === void 0 && d >= d) && (l = d);
|
|
15
|
+
}
|
|
16
|
+
return l;
|
|
17
|
+
}
|
|
18
|
+
function min(n, c) {
|
|
19
|
+
let l;
|
|
20
|
+
if (c === void 0) for (let c2 of n) c2 != null && (l > c2 || l === void 0 && c2 >= c2) && (l = c2);
|
|
21
|
+
else {
|
|
22
|
+
let u = -1;
|
|
23
|
+
for (let d of n) (d = c(d, ++u, n)) != null && (l > d || l === void 0 && d >= d) && (l = d);
|
|
24
|
+
}
|
|
25
|
+
return l;
|
|
26
|
+
}
|
|
27
|
+
function sum(n, c) {
|
|
28
|
+
let l = 0;
|
|
29
|
+
if (c === void 0) for (let c2 of n) (c2 = +c2) && (l += c2);
|
|
30
|
+
else {
|
|
31
|
+
let u = -1;
|
|
32
|
+
for (let d of n) (d = +c(d, ++u, n)) && (l += d);
|
|
33
|
+
}
|
|
34
|
+
return l;
|
|
35
|
+
}
|
|
36
|
+
function targetDepth(n) {
|
|
37
|
+
return n.target.depth;
|
|
38
|
+
}
|
|
39
|
+
function left(n) {
|
|
40
|
+
return n.depth;
|
|
41
|
+
}
|
|
42
|
+
function right(n, c) {
|
|
43
|
+
return c - 1 - n.height;
|
|
44
|
+
}
|
|
45
|
+
function justify(n, c) {
|
|
46
|
+
return n.sourceLinks.length ? n.depth : c - 1;
|
|
47
|
+
}
|
|
48
|
+
function center(n) {
|
|
49
|
+
return n.targetLinks.length ? n.depth : n.sourceLinks.length ? min(n.sourceLinks, targetDepth) - 1 : 0;
|
|
50
|
+
}
|
|
51
|
+
function constant(n) {
|
|
52
|
+
return function() {
|
|
53
|
+
return n;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function ascendingSourceBreadth(n, c) {
|
|
57
|
+
return ascendingBreadth(n.source, c.source) || n.index - c.index;
|
|
58
|
+
}
|
|
59
|
+
function ascendingTargetBreadth(n, c) {
|
|
60
|
+
return ascendingBreadth(n.target, c.target) || n.index - c.index;
|
|
61
|
+
}
|
|
62
|
+
function ascendingBreadth(n, c) {
|
|
63
|
+
return n.y0 - c.y0;
|
|
64
|
+
}
|
|
65
|
+
function value(n) {
|
|
66
|
+
return n.value;
|
|
67
|
+
}
|
|
68
|
+
function defaultId(n) {
|
|
69
|
+
return n.index;
|
|
70
|
+
}
|
|
71
|
+
function defaultNodes(n) {
|
|
72
|
+
return n.nodes;
|
|
73
|
+
}
|
|
74
|
+
function defaultLinks(n) {
|
|
75
|
+
return n.links;
|
|
76
|
+
}
|
|
77
|
+
function find(n, c) {
|
|
78
|
+
let l = n.get(c);
|
|
79
|
+
if (!l) throw Error("missing: " + c);
|
|
80
|
+
return l;
|
|
81
|
+
}
|
|
82
|
+
function computeLinkBreadths({ nodes: n }) {
|
|
83
|
+
for (let c of n) {
|
|
84
|
+
let n2 = c.y0, l = n2;
|
|
85
|
+
for (let l2 of c.sourceLinks) l2.y0 = n2 + l2.width / 2, n2 += l2.width;
|
|
86
|
+
for (let n3 of c.targetLinks) n3.y1 = l + n3.width / 2, l += n3.width;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
function Sankey() {
|
|
90
|
+
let n = 0, c = 0, l = 1, u = 1, d = 24, f = 8, p, m = defaultId, h = justify, g, _, v = defaultNodes, b = defaultLinks, S = 6;
|
|
91
|
+
function C() {
|
|
92
|
+
let n2 = {
|
|
93
|
+
nodes: v.apply(null, arguments),
|
|
94
|
+
links: b.apply(null, arguments)
|
|
95
|
+
};
|
|
96
|
+
return w(n2), O(n2), k(n2), A(n2), W(n2), computeLinkBreadths(n2), n2;
|
|
97
|
+
}
|
|
98
|
+
C.update = function(n2) {
|
|
99
|
+
return computeLinkBreadths(n2), n2;
|
|
100
|
+
}, C.nodeId = function(n2) {
|
|
101
|
+
return arguments.length ? (m = typeof n2 == "function" ? n2 : constant(n2), C) : m;
|
|
102
|
+
}, C.nodeAlign = function(n2) {
|
|
103
|
+
return arguments.length ? (h = typeof n2 == "function" ? n2 : constant(n2), C) : h;
|
|
104
|
+
}, C.nodeSort = function(n2) {
|
|
105
|
+
return arguments.length ? (g = n2, C) : g;
|
|
106
|
+
}, C.nodeWidth = function(n2) {
|
|
107
|
+
return arguments.length ? (d = +n2, C) : d;
|
|
108
|
+
}, C.nodePadding = function(n2) {
|
|
109
|
+
return arguments.length ? (f = p = +n2, C) : f;
|
|
110
|
+
}, C.nodes = function(n2) {
|
|
111
|
+
return arguments.length ? (v = typeof n2 == "function" ? n2 : constant(n2), C) : v;
|
|
112
|
+
}, C.links = function(n2) {
|
|
113
|
+
return arguments.length ? (b = typeof n2 == "function" ? n2 : constant(n2), C) : b;
|
|
114
|
+
}, C.linkSort = function(n2) {
|
|
115
|
+
return arguments.length ? (_ = n2, C) : _;
|
|
116
|
+
}, C.size = function(d2) {
|
|
117
|
+
return arguments.length ? (n = c = 0, l = +d2[0], u = +d2[1], C) : [l - n, u - c];
|
|
118
|
+
}, C.extent = function(d2) {
|
|
119
|
+
return arguments.length ? (n = +d2[0][0], l = +d2[1][0], c = +d2[0][1], u = +d2[1][1], C) : [[n, c], [l, u]];
|
|
120
|
+
}, C.iterations = function(n2) {
|
|
121
|
+
return arguments.length ? (S = +n2, C) : S;
|
|
122
|
+
};
|
|
123
|
+
function w({ nodes: n2, links: c2 }) {
|
|
124
|
+
for (let [c3, l3] of n2.entries()) l3.index = c3, l3.sourceLinks = [], l3.targetLinks = [];
|
|
125
|
+
let l2 = new Map(n2.map((c3, l3) => [m(c3, l3, n2), c3]));
|
|
126
|
+
for (let [n3, u2] of c2.entries()) {
|
|
127
|
+
u2.index = n3;
|
|
128
|
+
let { source: c3, target: d2 } = u2;
|
|
129
|
+
typeof c3 != "object" && (c3 = u2.source = find(l2, c3)), typeof d2 != "object" && (d2 = u2.target = find(l2, d2)), c3.sourceLinks.push(u2), d2.targetLinks.push(u2);
|
|
130
|
+
}
|
|
131
|
+
if (_ != null) for (let { sourceLinks: c3, targetLinks: l3 } of n2) c3.sort(_), l3.sort(_);
|
|
132
|
+
}
|
|
133
|
+
function O({ nodes: n2 }) {
|
|
134
|
+
for (let c2 of n2) c2.value = c2.fixedValue === void 0 ? Math.max(sum(c2.sourceLinks, value), sum(c2.targetLinks, value)) : c2.fixedValue;
|
|
135
|
+
}
|
|
136
|
+
function k({ nodes: n2 }) {
|
|
137
|
+
let c2 = n2.length, l2 = new Set(n2), u2 = /* @__PURE__ */ new Set(), d2 = 0;
|
|
138
|
+
for (; l2.size; ) {
|
|
139
|
+
for (let n3 of l2) {
|
|
140
|
+
n3.depth = d2;
|
|
141
|
+
for (let { target: c3 } of n3.sourceLinks) u2.add(c3);
|
|
142
|
+
}
|
|
143
|
+
if (++d2 > c2) throw Error("circular link");
|
|
144
|
+
l2 = u2, u2 = /* @__PURE__ */ new Set();
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
function A({ nodes: n2 }) {
|
|
148
|
+
let c2 = n2.length, l2 = new Set(n2), u2 = /* @__PURE__ */ new Set(), d2 = 0;
|
|
149
|
+
for (; l2.size; ) {
|
|
150
|
+
for (let n3 of l2) {
|
|
151
|
+
n3.height = d2;
|
|
152
|
+
for (let { source: c3 } of n3.targetLinks) u2.add(c3);
|
|
153
|
+
}
|
|
154
|
+
if (++d2 > c2) throw Error("circular link");
|
|
155
|
+
l2 = u2, u2 = /* @__PURE__ */ new Set();
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
function M({ nodes: c2 }) {
|
|
159
|
+
let u2 = max(c2, (n2) => n2.depth) + 1, f2 = (l - n - d) / (u2 - 1), p2 = Array(u2);
|
|
160
|
+
for (let l2 of c2) {
|
|
161
|
+
let c3 = Math.max(0, Math.min(u2 - 1, Math.floor(h.call(null, l2, u2))));
|
|
162
|
+
l2.layer = c3, l2.x0 = n + c3 * f2, l2.x1 = l2.x0 + d, p2[c3] ? p2[c3].push(l2) : p2[c3] = [l2];
|
|
163
|
+
}
|
|
164
|
+
if (g) for (let n2 of p2) n2.sort(g);
|
|
165
|
+
return p2;
|
|
166
|
+
}
|
|
167
|
+
function U(n2) {
|
|
168
|
+
let l2 = min(n2, (n3) => (u - c - (n3.length - 1) * p) / sum(n3, value));
|
|
169
|
+
for (let d2 of n2) {
|
|
170
|
+
let n3 = c;
|
|
171
|
+
for (let c2 of d2) {
|
|
172
|
+
c2.y0 = n3, c2.y1 = n3 + c2.value * l2, n3 = c2.y1 + p;
|
|
173
|
+
for (let n4 of c2.sourceLinks) n4.width = n4.value * l2;
|
|
174
|
+
}
|
|
175
|
+
n3 = (u - n3 + p) / (d2.length + 1);
|
|
176
|
+
for (let c2 = 0; c2 < d2.length; ++c2) {
|
|
177
|
+
let l3 = d2[c2];
|
|
178
|
+
l3.y0 += n3 * (c2 + 1), l3.y1 += n3 * (c2 + 1);
|
|
179
|
+
}
|
|
180
|
+
Z(d2);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
function W(n2) {
|
|
184
|
+
let l2 = M(n2);
|
|
185
|
+
p = Math.min(f, (u - c) / (max(l2, (n3) => n3.length) - 1)), U(l2);
|
|
186
|
+
for (let n3 = 0; n3 < S; ++n3) {
|
|
187
|
+
let c2 = 0.99 ** n3, u2 = Math.max(1 - c2, (n3 + 1) / S);
|
|
188
|
+
K(l2, c2, u2), G(l2, c2, u2);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
function G(n2, c2, l2) {
|
|
192
|
+
for (let u2 = 1, d2 = n2.length; u2 < d2; ++u2) {
|
|
193
|
+
let d3 = n2[u2];
|
|
194
|
+
for (let n3 of d3) {
|
|
195
|
+
let l3 = 0, u3 = 0;
|
|
196
|
+
for (let { source: c3, value: d5 } of n3.targetLinks) {
|
|
197
|
+
let f2 = d5 * (n3.layer - c3.layer);
|
|
198
|
+
l3 += Q(c3, n3) * f2, u3 += f2;
|
|
199
|
+
}
|
|
200
|
+
if (!(u3 > 0)) continue;
|
|
201
|
+
let d4 = (l3 / u3 - n3.y0) * c2;
|
|
202
|
+
n3.y0 += d4, n3.y1 += d4, X(n3);
|
|
203
|
+
}
|
|
204
|
+
g === void 0 && d3.sort(ascendingBreadth), q(d3, l2);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
function K(n2, c2, l2) {
|
|
208
|
+
for (let u2 = n2.length - 2; u2 >= 0; --u2) {
|
|
209
|
+
let d2 = n2[u2];
|
|
210
|
+
for (let n3 of d2) {
|
|
211
|
+
let l3 = 0, u3 = 0;
|
|
212
|
+
for (let { target: c3, value: d4 } of n3.sourceLinks) {
|
|
213
|
+
let f2 = d4 * (c3.layer - n3.layer);
|
|
214
|
+
l3 += $(n3, c3) * f2, u3 += f2;
|
|
215
|
+
}
|
|
216
|
+
if (!(u3 > 0)) continue;
|
|
217
|
+
let d3 = (l3 / u3 - n3.y0) * c2;
|
|
218
|
+
n3.y0 += d3, n3.y1 += d3, X(n3);
|
|
219
|
+
}
|
|
220
|
+
g === void 0 && d2.sort(ascendingBreadth), q(d2, l2);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
function q(n2, l2) {
|
|
224
|
+
let d2 = n2.length >> 1, f2 = n2[d2];
|
|
225
|
+
Y(n2, f2.y0 - p, d2 - 1, l2), J(n2, f2.y1 + p, d2 + 1, l2), Y(n2, u, n2.length - 1, l2), J(n2, c, 0, l2);
|
|
226
|
+
}
|
|
227
|
+
function J(n2, c2, l2, u2) {
|
|
228
|
+
for (; l2 < n2.length; ++l2) {
|
|
229
|
+
let d2 = n2[l2], f2 = (c2 - d2.y0) * u2;
|
|
230
|
+
f2 > 1e-6 && (d2.y0 += f2, d2.y1 += f2), c2 = d2.y1 + p;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
function Y(n2, c2, l2, u2) {
|
|
234
|
+
for (; l2 >= 0; --l2) {
|
|
235
|
+
let d2 = n2[l2], f2 = (d2.y1 - c2) * u2;
|
|
236
|
+
f2 > 1e-6 && (d2.y0 -= f2, d2.y1 -= f2), c2 = d2.y0 - p;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
function X({ sourceLinks: n2, targetLinks: c2 }) {
|
|
240
|
+
if (_ === void 0) {
|
|
241
|
+
for (let { source: { sourceLinks: n3 } } of c2) n3.sort(ascendingTargetBreadth);
|
|
242
|
+
for (let { target: { targetLinks: c3 } } of n2) c3.sort(ascendingSourceBreadth);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
function Z(n2) {
|
|
246
|
+
if (_ === void 0) for (let { sourceLinks: c2, targetLinks: l2 } of n2) c2.sort(ascendingTargetBreadth), l2.sort(ascendingSourceBreadth);
|
|
247
|
+
}
|
|
248
|
+
function Q(n2, c2) {
|
|
249
|
+
let l2 = n2.y0 - (n2.sourceLinks.length - 1) * p / 2;
|
|
250
|
+
for (let { target: u2, width: d2 } of n2.sourceLinks) {
|
|
251
|
+
if (u2 === c2) break;
|
|
252
|
+
l2 += d2 + p;
|
|
253
|
+
}
|
|
254
|
+
for (let { source: u2, width: d2 } of c2.targetLinks) {
|
|
255
|
+
if (u2 === n2) break;
|
|
256
|
+
l2 -= d2;
|
|
257
|
+
}
|
|
258
|
+
return l2;
|
|
259
|
+
}
|
|
260
|
+
function $(n2, c2) {
|
|
261
|
+
let l2 = c2.y0 - (c2.targetLinks.length - 1) * p / 2;
|
|
262
|
+
for (let { source: u2, width: d2 } of c2.targetLinks) {
|
|
263
|
+
if (u2 === n2) break;
|
|
264
|
+
l2 += d2 + p;
|
|
265
|
+
}
|
|
266
|
+
for (let { target: u2, width: d2 } of n2.sourceLinks) {
|
|
267
|
+
if (u2 === c2) break;
|
|
268
|
+
l2 -= d2;
|
|
269
|
+
}
|
|
270
|
+
return l2;
|
|
271
|
+
}
|
|
272
|
+
return C;
|
|
273
|
+
}
|
|
274
|
+
var pi = Math.PI, tau = 2 * pi, epsilon = 1e-6, tauEpsilon = tau - epsilon;
|
|
275
|
+
function Path() {
|
|
276
|
+
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
|
|
277
|
+
}
|
|
278
|
+
function path() {
|
|
279
|
+
return new Path();
|
|
280
|
+
}
|
|
281
|
+
Path.prototype = path.prototype = {
|
|
282
|
+
constructor: Path,
|
|
283
|
+
moveTo: function(n, c) {
|
|
284
|
+
this._ += "M" + (this._x0 = this._x1 = +n) + "," + (this._y0 = this._y1 = +c);
|
|
285
|
+
},
|
|
286
|
+
closePath: function() {
|
|
287
|
+
this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._ += "Z");
|
|
288
|
+
},
|
|
289
|
+
lineTo: function(n, c) {
|
|
290
|
+
this._ += "L" + (this._x1 = +n) + "," + (this._y1 = +c);
|
|
291
|
+
},
|
|
292
|
+
quadraticCurveTo: function(n, c, l, u) {
|
|
293
|
+
this._ += "Q" + +n + "," + +c + "," + (this._x1 = +l) + "," + (this._y1 = +u);
|
|
294
|
+
},
|
|
295
|
+
bezierCurveTo: function(n, c, l, u, d, f) {
|
|
296
|
+
this._ += "C" + +n + "," + +c + "," + +l + "," + +u + "," + (this._x1 = +d) + "," + (this._y1 = +f);
|
|
297
|
+
},
|
|
298
|
+
arcTo: function(n, c, l, u, d) {
|
|
299
|
+
n = +n, c = +c, l = +l, u = +u, d = +d;
|
|
300
|
+
var f = this._x1, p = this._y1, m = l - n, h = u - c, g = f - n, _ = p - c, v = g * g + _ * _;
|
|
301
|
+
if (d < 0) throw Error("negative radius: " + d);
|
|
302
|
+
if (this._x1 === null) this._ += "M" + (this._x1 = n) + "," + (this._y1 = c);
|
|
303
|
+
else if (v > epsilon) if (!(Math.abs(_ * m - h * g) > epsilon) || !d) this._ += "L" + (this._x1 = n) + "," + (this._y1 = c);
|
|
304
|
+
else {
|
|
305
|
+
var b = l - f, S = u - p, C = m * m + h * h, w = b * b + S * S, T = Math.sqrt(C), E = Math.sqrt(v), D = d * Math.tan((pi - Math.acos((C + v - w) / (2 * T * E))) / 2), O = D / E, k = D / T;
|
|
306
|
+
Math.abs(O - 1) > epsilon && (this._ += "L" + (n + O * g) + "," + (c + O * _)), this._ += "A" + d + "," + d + ",0,0," + +(_ * b > g * S) + "," + (this._x1 = n + k * m) + "," + (this._y1 = c + k * h);
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
arc: function(n, c, l, u, d, f) {
|
|
310
|
+
n = +n, c = +c, l = +l, f = !!f;
|
|
311
|
+
var p = l * Math.cos(u), m = l * Math.sin(u), h = n + p, g = c + m, _ = 1 ^ f, v = f ? u - d : d - u;
|
|
312
|
+
if (l < 0) throw Error("negative radius: " + l);
|
|
313
|
+
this._x1 === null ? this._ += "M" + h + "," + g : (Math.abs(this._x1 - h) > epsilon || Math.abs(this._y1 - g) > epsilon) && (this._ += "L" + h + "," + g), l && (v < 0 && (v = v % tau + tau), v > tauEpsilon ? this._ += "A" + l + "," + l + ",0,1," + _ + "," + (n - p) + "," + (c - m) + "A" + l + "," + l + ",0,1," + _ + "," + (this._x1 = h) + "," + (this._y1 = g) : v > epsilon && (this._ += "A" + l + "," + l + ",0," + +(v >= pi) + "," + _ + "," + (this._x1 = n + l * Math.cos(d)) + "," + (this._y1 = c + l * Math.sin(d))));
|
|
314
|
+
},
|
|
315
|
+
rect: function(n, c, l, u) {
|
|
316
|
+
this._ += "M" + (this._x0 = this._x1 = +n) + "," + (this._y0 = this._y1 = +c) + "h" + +l + "v" + +u + "h" + -l + "Z";
|
|
317
|
+
},
|
|
318
|
+
toString: function() {
|
|
319
|
+
return this._;
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
var path_default = path;
|
|
323
|
+
function constant_default(n) {
|
|
324
|
+
return function() {
|
|
325
|
+
return n;
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
function x(n) {
|
|
329
|
+
return n[0];
|
|
330
|
+
}
|
|
331
|
+
function y(n) {
|
|
332
|
+
return n[1];
|
|
333
|
+
}
|
|
334
|
+
var slice = Array.prototype.slice;
|
|
335
|
+
function linkSource(n) {
|
|
336
|
+
return n.source;
|
|
337
|
+
}
|
|
338
|
+
function linkTarget(n) {
|
|
339
|
+
return n.target;
|
|
340
|
+
}
|
|
341
|
+
function link(n) {
|
|
342
|
+
var c = linkSource, l = linkTarget, u = x, d = y, f = null;
|
|
343
|
+
function p() {
|
|
344
|
+
var p2, m = slice.call(arguments), h = c.apply(this, m), g = l.apply(this, m);
|
|
345
|
+
if (f || (f = p2 = path_default()), n(f, +u.apply(this, (m[0] = h, m)), +d.apply(this, m), +u.apply(this, (m[0] = g, m)), +d.apply(this, m)), p2) return f = null, p2 + "" || null;
|
|
346
|
+
}
|
|
347
|
+
return p.source = function(n2) {
|
|
348
|
+
return arguments.length ? (c = n2, p) : c;
|
|
349
|
+
}, p.target = function(n2) {
|
|
350
|
+
return arguments.length ? (l = n2, p) : l;
|
|
351
|
+
}, p.x = function(n2) {
|
|
352
|
+
return arguments.length ? (u = typeof n2 == "function" ? n2 : constant_default(+n2), p) : u;
|
|
353
|
+
}, p.y = function(n2) {
|
|
354
|
+
return arguments.length ? (d = typeof n2 == "function" ? n2 : constant_default(+n2), p) : d;
|
|
355
|
+
}, p.context = function(n2) {
|
|
356
|
+
return arguments.length ? (f = n2 ?? null, p) : f;
|
|
357
|
+
}, p;
|
|
358
|
+
}
|
|
359
|
+
function curveHorizontal(n, c, l, u, d) {
|
|
360
|
+
n.moveTo(c, l), n.bezierCurveTo(c = (c + u) / 2, l, c, d, u, d);
|
|
361
|
+
}
|
|
362
|
+
function linkHorizontal() {
|
|
363
|
+
return link(curveHorizontal);
|
|
364
|
+
}
|
|
365
|
+
function horizontalSource(n) {
|
|
366
|
+
return [n.source.x1, n.y0];
|
|
367
|
+
}
|
|
368
|
+
function horizontalTarget(n) {
|
|
369
|
+
return [n.target.x0, n.y1];
|
|
370
|
+
}
|
|
371
|
+
function sankeyLinkHorizontal_default() {
|
|
372
|
+
return linkHorizontal().source(horizontalSource).target(horizontalTarget);
|
|
373
|
+
}
|
|
374
|
+
var parser = (function() {
|
|
375
|
+
var n = /* @__PURE__ */ __name(function(n2, c2, l2, u) {
|
|
376
|
+
for (l2 || (l2 = {}), u = n2.length; u--; l2[n2[u]] = c2) ;
|
|
377
|
+
return l2;
|
|
378
|
+
}, "o"), c = [1, 9], l = [1, 10], d = [
|
|
379
|
+
1,
|
|
380
|
+
5,
|
|
381
|
+
10,
|
|
382
|
+
12
|
|
383
|
+
], f = {
|
|
384
|
+
trace: /* @__PURE__ */ __name(function() {
|
|
385
|
+
}, "trace"),
|
|
386
|
+
yy: {},
|
|
387
|
+
symbols_: {
|
|
388
|
+
error: 2,
|
|
389
|
+
start: 3,
|
|
390
|
+
SANKEY: 4,
|
|
391
|
+
NEWLINE: 5,
|
|
392
|
+
csv: 6,
|
|
393
|
+
opt_eof: 7,
|
|
394
|
+
record: 8,
|
|
395
|
+
csv_tail: 9,
|
|
396
|
+
EOF: 10,
|
|
397
|
+
"field[source]": 11,
|
|
398
|
+
COMMA: 12,
|
|
399
|
+
"field[target]": 13,
|
|
400
|
+
"field[value]": 14,
|
|
401
|
+
field: 15,
|
|
402
|
+
escaped: 16,
|
|
403
|
+
non_escaped: 17,
|
|
404
|
+
DQUOTE: 18,
|
|
405
|
+
ESCAPED_TEXT: 19,
|
|
406
|
+
NON_ESCAPED_TEXT: 20,
|
|
407
|
+
$accept: 0,
|
|
408
|
+
$end: 1
|
|
409
|
+
},
|
|
410
|
+
terminals_: {
|
|
411
|
+
2: "error",
|
|
412
|
+
4: "SANKEY",
|
|
413
|
+
5: "NEWLINE",
|
|
414
|
+
10: "EOF",
|
|
415
|
+
11: "field[source]",
|
|
416
|
+
12: "COMMA",
|
|
417
|
+
13: "field[target]",
|
|
418
|
+
14: "field[value]",
|
|
419
|
+
18: "DQUOTE",
|
|
420
|
+
19: "ESCAPED_TEXT",
|
|
421
|
+
20: "NON_ESCAPED_TEXT"
|
|
422
|
+
},
|
|
423
|
+
productions_: [
|
|
424
|
+
0,
|
|
425
|
+
[3, 4],
|
|
426
|
+
[6, 2],
|
|
427
|
+
[9, 2],
|
|
428
|
+
[9, 0],
|
|
429
|
+
[7, 1],
|
|
430
|
+
[7, 0],
|
|
431
|
+
[8, 5],
|
|
432
|
+
[15, 1],
|
|
433
|
+
[15, 1],
|
|
434
|
+
[16, 3],
|
|
435
|
+
[17, 1]
|
|
436
|
+
],
|
|
437
|
+
performAction: /* @__PURE__ */ __name(function(n2, c2, l2, u, d2, f2, p2) {
|
|
438
|
+
var m = f2.length - 1;
|
|
439
|
+
switch (d2) {
|
|
440
|
+
case 7:
|
|
441
|
+
let n3 = u.findOrCreateNode(f2[m - 4].trim().replaceAll('""', '"')), c3 = u.findOrCreateNode(f2[m - 2].trim().replaceAll('""', '"')), l3 = parseFloat(f2[m].trim());
|
|
442
|
+
u.addLink(n3, c3, l3);
|
|
443
|
+
break;
|
|
444
|
+
case 8:
|
|
445
|
+
case 9:
|
|
446
|
+
case 11:
|
|
447
|
+
this.$ = f2[m];
|
|
448
|
+
break;
|
|
449
|
+
case 10:
|
|
450
|
+
this.$ = f2[m - 1];
|
|
451
|
+
break;
|
|
452
|
+
}
|
|
453
|
+
}, "anonymous"),
|
|
454
|
+
table: [
|
|
455
|
+
{
|
|
456
|
+
3: 1,
|
|
457
|
+
4: [1, 2]
|
|
458
|
+
},
|
|
459
|
+
{ 1: [3] },
|
|
460
|
+
{ 5: [1, 3] },
|
|
461
|
+
{
|
|
462
|
+
6: 4,
|
|
463
|
+
8: 5,
|
|
464
|
+
15: 6,
|
|
465
|
+
16: 7,
|
|
466
|
+
17: 8,
|
|
467
|
+
18: c,
|
|
468
|
+
20: l
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
1: [2, 6],
|
|
472
|
+
7: 11,
|
|
473
|
+
10: [1, 12]
|
|
474
|
+
},
|
|
475
|
+
n(l, [2, 4], {
|
|
476
|
+
9: 13,
|
|
477
|
+
5: [1, 14]
|
|
478
|
+
}),
|
|
479
|
+
{ 12: [1, 15] },
|
|
480
|
+
n(d, [2, 8]),
|
|
481
|
+
n(d, [2, 9]),
|
|
482
|
+
{ 19: [1, 16] },
|
|
483
|
+
n(d, [2, 11]),
|
|
484
|
+
{ 1: [2, 1] },
|
|
485
|
+
{ 1: [2, 5] },
|
|
486
|
+
n(l, [2, 2]),
|
|
487
|
+
{
|
|
488
|
+
6: 17,
|
|
489
|
+
8: 5,
|
|
490
|
+
15: 6,
|
|
491
|
+
16: 7,
|
|
492
|
+
17: 8,
|
|
493
|
+
18: c,
|
|
494
|
+
20: l
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
15: 18,
|
|
498
|
+
16: 7,
|
|
499
|
+
17: 8,
|
|
500
|
+
18: c,
|
|
501
|
+
20: l
|
|
502
|
+
},
|
|
503
|
+
{ 18: [1, 19] },
|
|
504
|
+
n(l, [2, 3]),
|
|
505
|
+
{ 12: [1, 20] },
|
|
506
|
+
n(d, [2, 10]),
|
|
507
|
+
{
|
|
508
|
+
15: 21,
|
|
509
|
+
16: 7,
|
|
510
|
+
17: 8,
|
|
511
|
+
18: c,
|
|
512
|
+
20: l
|
|
513
|
+
},
|
|
514
|
+
n([
|
|
515
|
+
1,
|
|
516
|
+
5,
|
|
517
|
+
10
|
|
518
|
+
], [2, 7])
|
|
519
|
+
],
|
|
520
|
+
defaultActions: {
|
|
521
|
+
11: [2, 1],
|
|
522
|
+
12: [2, 5]
|
|
523
|
+
},
|
|
524
|
+
parseError: /* @__PURE__ */ __name(function(n2, c2) {
|
|
525
|
+
if (c2.recoverable) this.trace(n2);
|
|
526
|
+
else {
|
|
527
|
+
var l2 = Error(n2);
|
|
528
|
+
throw l2.hash = c2, l2;
|
|
529
|
+
}
|
|
530
|
+
}, "parseError"),
|
|
531
|
+
parse: /* @__PURE__ */ __name(function(n2) {
|
|
532
|
+
var c2 = this, l2 = [0], d2 = [], f2 = [null], p2 = [], m = this.table, h = "", g = 0, _ = 0, v = 0, b = 2, S = 1, C = p2.slice.call(arguments, 1), w = Object.create(this.lexer), T = { yy: {} };
|
|
533
|
+
for (var E in this.yy) Object.prototype.hasOwnProperty.call(this.yy, E) && (T.yy[E] = this.yy[E]);
|
|
534
|
+
w.setInput(n2, T.yy), T.yy.lexer = w, T.yy.parser = this, w.yylloc === void 0 && (w.yylloc = {});
|
|
535
|
+
var D = w.yylloc;
|
|
536
|
+
p2.push(D);
|
|
537
|
+
var O = w.options && w.options.ranges;
|
|
538
|
+
typeof T.yy.parseError == "function" ? this.parseError = T.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
539
|
+
function k(n3) {
|
|
540
|
+
l2.length -= 2 * n3, f2.length -= n3, p2.length -= n3;
|
|
541
|
+
}
|
|
542
|
+
__name(k, "popStack");
|
|
543
|
+
function A() {
|
|
544
|
+
var n3 = d2.pop() || w.lex() || S;
|
|
545
|
+
return typeof n3 != "number" && (n3 instanceof Array && (d2 = n3, n3 = d2.pop()), n3 = c2.symbols_[n3] || n3), n3;
|
|
546
|
+
}
|
|
547
|
+
__name(A, "lex");
|
|
548
|
+
for (var j, M, N, P, F, I = {}, L, R, z, B; ; ) {
|
|
549
|
+
if (N = l2[l2.length - 1], this.defaultActions[N] ? P = this.defaultActions[N] : (j ?? (j = A()), P = m[N] && m[N][j]), P === void 0 || !P.length || !P[0]) {
|
|
550
|
+
var V = "";
|
|
551
|
+
for (L in B = [], m[N]) this.terminals_[L] && L > b && B.push("'" + this.terminals_[L] + "'");
|
|
552
|
+
V = w.showPosition ? "Parse error on line " + (g + 1) + ":\n" + w.showPosition() + "\nExpecting " + B.join(", ") + ", got '" + (this.terminals_[j] || j) + "'" : "Parse error on line " + (g + 1) + ": Unexpected " + (j == S ? "end of input" : "'" + (this.terminals_[j] || j) + "'"), this.parseError(V, {
|
|
553
|
+
text: w.match,
|
|
554
|
+
token: this.terminals_[j] || j,
|
|
555
|
+
line: w.yylineno,
|
|
556
|
+
loc: D,
|
|
557
|
+
expected: B
|
|
558
|
+
});
|
|
559
|
+
}
|
|
560
|
+
if (P[0] instanceof Array && P.length > 1) throw Error("Parse Error: multiple actions possible at state: " + N + ", token: " + j);
|
|
561
|
+
switch (P[0]) {
|
|
562
|
+
case 1:
|
|
563
|
+
l2.push(j), f2.push(w.yytext), p2.push(w.yylloc), l2.push(P[1]), j = null, M ? (j = M, M = null) : (_ = w.yyleng, h = w.yytext, g = w.yylineno, D = w.yylloc, v > 0 && v--);
|
|
564
|
+
break;
|
|
565
|
+
case 2:
|
|
566
|
+
if (R = this.productions_[P[1]][1], I.$ = f2[f2.length - R], I._$ = {
|
|
567
|
+
first_line: p2[p2.length - (R || 1)].first_line,
|
|
568
|
+
last_line: p2[p2.length - 1].last_line,
|
|
569
|
+
first_column: p2[p2.length - (R || 1)].first_column,
|
|
570
|
+
last_column: p2[p2.length - 1].last_column
|
|
571
|
+
}, O && (I._$.range = [p2[p2.length - (R || 1)].range[0], p2[p2.length - 1].range[1]]), F = this.performAction.apply(I, [
|
|
572
|
+
h,
|
|
573
|
+
_,
|
|
574
|
+
g,
|
|
575
|
+
T.yy,
|
|
576
|
+
P[1],
|
|
577
|
+
f2,
|
|
578
|
+
p2
|
|
579
|
+
].concat(C)), F !== void 0) return F;
|
|
580
|
+
R && (l2 = l2.slice(0, -1 * R * 2), f2 = f2.slice(0, -1 * R), p2 = p2.slice(0, -1 * R)), l2.push(this.productions_[P[1]][0]), f2.push(I.$), p2.push(I._$), z = m[l2[l2.length - 2]][l2[l2.length - 1]], l2.push(z);
|
|
581
|
+
break;
|
|
582
|
+
case 3:
|
|
583
|
+
return true;
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
return true;
|
|
587
|
+
}, "parse")
|
|
588
|
+
};
|
|
589
|
+
f.lexer = /* @__PURE__ */ (function() {
|
|
590
|
+
return {
|
|
591
|
+
EOF: 1,
|
|
592
|
+
parseError: /* @__PURE__ */ __name(function(n2, c2) {
|
|
593
|
+
if (this.yy.parser) this.yy.parser.parseError(n2, c2);
|
|
594
|
+
else throw Error(n2);
|
|
595
|
+
}, "parseError"),
|
|
596
|
+
setInput: /* @__PURE__ */ __name(function(n2, c2) {
|
|
597
|
+
return this.yy = c2 || this.yy || {}, this._input = n2, this._more = this._backtrack = this.done = false, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
598
|
+
first_line: 1,
|
|
599
|
+
first_column: 0,
|
|
600
|
+
last_line: 1,
|
|
601
|
+
last_column: 0
|
|
602
|
+
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
603
|
+
}, "setInput"),
|
|
604
|
+
input: /* @__PURE__ */ __name(function() {
|
|
605
|
+
var n2 = this._input[0];
|
|
606
|
+
return this.yytext += n2, this.yyleng++, this.offset++, this.match += n2, this.matched += n2, n2.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), n2;
|
|
607
|
+
}, "input"),
|
|
608
|
+
unput: /* @__PURE__ */ __name(function(n2) {
|
|
609
|
+
var c2 = n2.length, l2 = n2.split(/(?:\r\n?|\n)/g);
|
|
610
|
+
this._input = n2 + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - c2), this.offset -= c2;
|
|
611
|
+
var u = this.match.split(/(?:\r\n?|\n)/g);
|
|
612
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), l2.length - 1 && (this.yylineno -= l2.length - 1);
|
|
613
|
+
var d2 = this.yylloc.range;
|
|
614
|
+
return this.yylloc = {
|
|
615
|
+
first_line: this.yylloc.first_line,
|
|
616
|
+
last_line: this.yylineno + 1,
|
|
617
|
+
first_column: this.yylloc.first_column,
|
|
618
|
+
last_column: l2 ? (l2.length === u.length ? this.yylloc.first_column : 0) + u[u.length - l2.length].length - l2[0].length : this.yylloc.first_column - c2
|
|
619
|
+
}, this.options.ranges && (this.yylloc.range = [d2[0], d2[0] + this.yyleng - c2]), this.yyleng = this.yytext.length, this;
|
|
620
|
+
}, "unput"),
|
|
621
|
+
more: /* @__PURE__ */ __name(function() {
|
|
622
|
+
return this._more = true, this;
|
|
623
|
+
}, "more"),
|
|
624
|
+
reject: /* @__PURE__ */ __name(function() {
|
|
625
|
+
if (this.options.backtrack_lexer) this._backtrack = true;
|
|
626
|
+
else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
|
|
627
|
+
text: "",
|
|
628
|
+
token: null,
|
|
629
|
+
line: this.yylineno
|
|
630
|
+
});
|
|
631
|
+
return this;
|
|
632
|
+
}, "reject"),
|
|
633
|
+
less: /* @__PURE__ */ __name(function(n2) {
|
|
634
|
+
this.unput(this.match.slice(n2));
|
|
635
|
+
}, "less"),
|
|
636
|
+
pastInput: /* @__PURE__ */ __name(function() {
|
|
637
|
+
var n2 = this.matched.substr(0, this.matched.length - this.match.length);
|
|
638
|
+
return (n2.length > 20 ? "..." : "") + n2.substr(-20).replace(/\n/g, "");
|
|
639
|
+
}, "pastInput"),
|
|
640
|
+
upcomingInput: /* @__PURE__ */ __name(function() {
|
|
641
|
+
var n2 = this.match;
|
|
642
|
+
return n2.length < 20 && (n2 += this._input.substr(0, 20 - n2.length)), (n2.substr(0, 20) + (n2.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
643
|
+
}, "upcomingInput"),
|
|
644
|
+
showPosition: /* @__PURE__ */ __name(function() {
|
|
645
|
+
var n2 = this.pastInput(), c2 = Array(n2.length + 1).join("-");
|
|
646
|
+
return n2 + this.upcomingInput() + "\n" + c2 + "^";
|
|
647
|
+
}, "showPosition"),
|
|
648
|
+
test_match: /* @__PURE__ */ __name(function(n2, c2) {
|
|
649
|
+
var l2, u, d2;
|
|
650
|
+
if (this.options.backtrack_lexer && (d2 = {
|
|
651
|
+
yylineno: this.yylineno,
|
|
652
|
+
yylloc: {
|
|
653
|
+
first_line: this.yylloc.first_line,
|
|
654
|
+
last_line: this.last_line,
|
|
655
|
+
first_column: this.yylloc.first_column,
|
|
656
|
+
last_column: this.yylloc.last_column
|
|
657
|
+
},
|
|
658
|
+
yytext: this.yytext,
|
|
659
|
+
match: this.match,
|
|
660
|
+
matches: this.matches,
|
|
661
|
+
matched: this.matched,
|
|
662
|
+
yyleng: this.yyleng,
|
|
663
|
+
offset: this.offset,
|
|
664
|
+
_more: this._more,
|
|
665
|
+
_input: this._input,
|
|
666
|
+
yy: this.yy,
|
|
667
|
+
conditionStack: this.conditionStack.slice(0),
|
|
668
|
+
done: this.done
|
|
669
|
+
}, this.options.ranges && (d2.yylloc.range = this.yylloc.range.slice(0))), u = n2[0].match(/(?:\r\n?|\n).*/g), u && (this.yylineno += u.length), this.yylloc = {
|
|
670
|
+
first_line: this.yylloc.last_line,
|
|
671
|
+
last_line: this.yylineno + 1,
|
|
672
|
+
first_column: this.yylloc.last_column,
|
|
673
|
+
last_column: u ? u[u.length - 1].length - u[u.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + n2[0].length
|
|
674
|
+
}, this.yytext += n2[0], this.match += n2[0], this.matches = n2, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = false, this._backtrack = false, this._input = this._input.slice(n2[0].length), this.matched += n2[0], l2 = this.performAction.call(this, this.yy, this, c2, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = false), l2) return l2;
|
|
675
|
+
if (this._backtrack) {
|
|
676
|
+
for (var f2 in d2) this[f2] = d2[f2];
|
|
677
|
+
return false;
|
|
678
|
+
}
|
|
679
|
+
return false;
|
|
680
|
+
}, "test_match"),
|
|
681
|
+
next: /* @__PURE__ */ __name(function() {
|
|
682
|
+
if (this.done) return this.EOF;
|
|
683
|
+
this._input || (this.done = true);
|
|
684
|
+
var n2, c2, l2, u;
|
|
685
|
+
this._more || (this.yytext = "", this.match = "");
|
|
686
|
+
for (var d2 = this._currentRules(), f2 = 0; f2 < d2.length; f2++) if (l2 = this._input.match(this.rules[d2[f2]]), l2 && (!c2 || l2[0].length > c2[0].length)) {
|
|
687
|
+
if (c2 = l2, u = f2, this.options.backtrack_lexer) {
|
|
688
|
+
if (n2 = this.test_match(l2, d2[f2]), n2 !== false) return n2;
|
|
689
|
+
if (this._backtrack) {
|
|
690
|
+
c2 = false;
|
|
691
|
+
continue;
|
|
692
|
+
} else return false;
|
|
693
|
+
} else if (!this.options.flex) break;
|
|
694
|
+
}
|
|
695
|
+
return c2 ? (n2 = this.test_match(c2, d2[u]), n2 === false ? false : n2) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
696
|
+
text: "",
|
|
697
|
+
token: null,
|
|
698
|
+
line: this.yylineno
|
|
699
|
+
});
|
|
700
|
+
}, "next"),
|
|
701
|
+
lex: /* @__PURE__ */ __name(function() {
|
|
702
|
+
return this.next() || this.lex();
|
|
703
|
+
}, "lex"),
|
|
704
|
+
begin: /* @__PURE__ */ __name(function(n2) {
|
|
705
|
+
this.conditionStack.push(n2);
|
|
706
|
+
}, "begin"),
|
|
707
|
+
popState: /* @__PURE__ */ __name(function() {
|
|
708
|
+
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
709
|
+
}, "popState"),
|
|
710
|
+
_currentRules: /* @__PURE__ */ __name(function() {
|
|
711
|
+
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
712
|
+
}, "_currentRules"),
|
|
713
|
+
topState: /* @__PURE__ */ __name(function(n2) {
|
|
714
|
+
return n2 = this.conditionStack.length - 1 - Math.abs(n2 || 0), n2 >= 0 ? this.conditionStack[n2] : "INITIAL";
|
|
715
|
+
}, "topState"),
|
|
716
|
+
pushState: /* @__PURE__ */ __name(function(n2) {
|
|
717
|
+
this.begin(n2);
|
|
718
|
+
}, "pushState"),
|
|
719
|
+
stateStackSize: /* @__PURE__ */ __name(function() {
|
|
720
|
+
return this.conditionStack.length;
|
|
721
|
+
}, "stateStackSize"),
|
|
722
|
+
options: { "case-insensitive": true },
|
|
723
|
+
performAction: /* @__PURE__ */ __name(function(n2, c2, l2, u) {
|
|
724
|
+
switch (l2) {
|
|
725
|
+
case 0:
|
|
726
|
+
return this.pushState("csv"), 4;
|
|
727
|
+
case 1:
|
|
728
|
+
return this.pushState("csv"), 4;
|
|
729
|
+
case 2:
|
|
730
|
+
return 10;
|
|
731
|
+
case 3:
|
|
732
|
+
return 5;
|
|
733
|
+
case 4:
|
|
734
|
+
return 12;
|
|
735
|
+
case 5:
|
|
736
|
+
return this.pushState("escaped_text"), 18;
|
|
737
|
+
case 6:
|
|
738
|
+
return 20;
|
|
739
|
+
case 7:
|
|
740
|
+
return this.popState("escaped_text"), 18;
|
|
741
|
+
case 8:
|
|
742
|
+
return 19;
|
|
743
|
+
}
|
|
744
|
+
}, "anonymous"),
|
|
745
|
+
rules: [
|
|
746
|
+
/^(?:sankey-beta\b)/i,
|
|
747
|
+
/^(?:sankey\b)/i,
|
|
748
|
+
/^(?:$)/i,
|
|
749
|
+
/^(?:((\u000D\u000A)|(\u000A)))/i,
|
|
750
|
+
/^(?:(\u002C))/i,
|
|
751
|
+
/^(?:(\u0022))/i,
|
|
752
|
+
/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,
|
|
753
|
+
/^(?:(\u0022)(?!(\u0022)))/i,
|
|
754
|
+
/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i
|
|
755
|
+
],
|
|
756
|
+
conditions: {
|
|
757
|
+
csv: {
|
|
758
|
+
rules: [
|
|
759
|
+
2,
|
|
760
|
+
3,
|
|
761
|
+
4,
|
|
762
|
+
5,
|
|
763
|
+
6,
|
|
764
|
+
7,
|
|
765
|
+
8
|
|
766
|
+
],
|
|
767
|
+
inclusive: false
|
|
768
|
+
},
|
|
769
|
+
escaped_text: {
|
|
770
|
+
rules: [7, 8],
|
|
771
|
+
inclusive: false
|
|
772
|
+
},
|
|
773
|
+
INITIAL: {
|
|
774
|
+
rules: [
|
|
775
|
+
0,
|
|
776
|
+
1,
|
|
777
|
+
2,
|
|
778
|
+
3,
|
|
779
|
+
4,
|
|
780
|
+
5,
|
|
781
|
+
6,
|
|
782
|
+
7,
|
|
783
|
+
8
|
|
784
|
+
],
|
|
785
|
+
inclusive: true
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
};
|
|
789
|
+
})();
|
|
790
|
+
function p() {
|
|
791
|
+
this.yy = {};
|
|
792
|
+
}
|
|
793
|
+
return __name(p, "Parser"), p.prototype = f, f.Parser = p, new p();
|
|
794
|
+
})();
|
|
795
|
+
parser.parser = parser;
|
|
796
|
+
var sankey_default = parser, links = [], nodes = [], nodesMap = /* @__PURE__ */ new Map(), clear2 = /* @__PURE__ */ __name(() => {
|
|
797
|
+
links = [], nodes = [], nodesMap = /* @__PURE__ */ new Map(), clear();
|
|
798
|
+
}, "clear"), SankeyLink = (_a = class {
|
|
799
|
+
constructor(n, c, l = 0) {
|
|
800
|
+
this.source = n, this.target = c, this.value = l;
|
|
801
|
+
}
|
|
802
|
+
}, __name(_a, "SankeyLink"), _a), addLink = /* @__PURE__ */ __name((n, c, l) => {
|
|
803
|
+
links.push(new SankeyLink(n, c, l));
|
|
804
|
+
}, "addLink"), SankeyNode = (_b = class {
|
|
805
|
+
constructor(n) {
|
|
806
|
+
this.ID = n;
|
|
807
|
+
}
|
|
808
|
+
}, __name(_b, "SankeyNode"), _b), sankeyDB_default = {
|
|
809
|
+
nodesMap,
|
|
810
|
+
getConfig: /* @__PURE__ */ __name(() => getConfig2().sankey, "getConfig"),
|
|
811
|
+
getNodes: /* @__PURE__ */ __name(() => nodes, "getNodes"),
|
|
812
|
+
getLinks: /* @__PURE__ */ __name(() => links, "getLinks"),
|
|
813
|
+
getGraph: /* @__PURE__ */ __name(() => ({
|
|
814
|
+
nodes: nodes.map((n) => ({ id: n.ID })),
|
|
815
|
+
links: links.map((n) => ({
|
|
816
|
+
source: n.source.ID,
|
|
817
|
+
target: n.target.ID,
|
|
818
|
+
value: n.value
|
|
819
|
+
}))
|
|
820
|
+
}), "getGraph"),
|
|
821
|
+
addLink,
|
|
822
|
+
findOrCreateNode: /* @__PURE__ */ __name((n) => {
|
|
823
|
+
n = common_default.sanitizeText(n, getConfig2());
|
|
824
|
+
let c = nodesMap.get(n);
|
|
825
|
+
return c === void 0 && (c = new SankeyNode(n), nodesMap.set(n, c), nodes.push(c)), c;
|
|
826
|
+
}, "findOrCreateNode"),
|
|
827
|
+
getAccTitle,
|
|
828
|
+
setAccTitle,
|
|
829
|
+
getAccDescription,
|
|
830
|
+
setAccDescription,
|
|
831
|
+
getDiagramTitle,
|
|
832
|
+
setDiagramTitle,
|
|
833
|
+
clear: clear2
|
|
834
|
+
}, Uid = (_c = class {
|
|
835
|
+
static next(c) {
|
|
836
|
+
return new _c(c + ++_c.count);
|
|
837
|
+
}
|
|
838
|
+
constructor(n) {
|
|
839
|
+
this.id = n, this.href = `#${n}`;
|
|
840
|
+
}
|
|
841
|
+
toString() {
|
|
842
|
+
return "url(" + this.href + ")";
|
|
843
|
+
}
|
|
844
|
+
}, __name(_c, "Uid"), _c.count = 0, _c), alignmentsMap = {
|
|
845
|
+
left,
|
|
846
|
+
right,
|
|
847
|
+
center,
|
|
848
|
+
justify
|
|
849
|
+
}, findCentralNodeLayer = /* @__PURE__ */ __name((n) => {
|
|
850
|
+
let c = 0, l = 0;
|
|
851
|
+
for (let u of n) {
|
|
852
|
+
let n2 = u.value ?? 0;
|
|
853
|
+
n2 > c && (c = n2, l = u.layer ?? 0);
|
|
854
|
+
}
|
|
855
|
+
return l;
|
|
856
|
+
}, "findCentralNodeLayer"), sankeyRenderer_default = { draw: /* @__PURE__ */ __name(function(c, d, p, m) {
|
|
857
|
+
let { securityLevel: h, sankey: _ } = getConfig2(), v = defaultConfig2.sankey, b;
|
|
858
|
+
h === "sandbox" && (b = select_default("#i" + d));
|
|
859
|
+
let C = select_default(h === "sandbox" ? b.nodes()[0].contentDocument.body : "body"), T = h === "sandbox" ? C.select(`[id="${d}"]`) : select_default(`[id="${d}"]`), E = (_ == null ? void 0 : _.width) ?? v.width, D = (_ == null ? void 0 : _.height) ?? v.width, O = (_ == null ? void 0 : _.useMaxWidth) ?? v.useMaxWidth, k = (_ == null ? void 0 : _.nodeAlignment) ?? v.nodeAlignment, A = (_ == null ? void 0 : _.prefix) ?? v.prefix, j = (_ == null ? void 0 : _.suffix) ?? v.suffix, M = (_ == null ? void 0 : _.showValues) ?? v.showValues, N = (_ == null ? void 0 : _.nodeWidth) ?? v.nodeWidth ?? 10, P = (_ == null ? void 0 : _.nodePadding) ?? v.nodePadding ?? 12, F = (_ == null ? void 0 : _.labelStyle) ?? v.labelStyle ?? "legacy", I = (_ == null ? void 0 : _.nodeColors) ?? {}, L = m.db.getGraph(), R = alignmentsMap[k];
|
|
860
|
+
Sankey().nodeId((n) => n.id).nodeWidth(N).nodePadding(P + (M ? 15 : 0)).nodeAlign(R).extent([[0, 0], [E, D]])(L);
|
|
861
|
+
let z = findCentralNodeLayer(L.nodes), B = ordinal(Tableau10_default), V = /* @__PURE__ */ __name((n) => I[n] ?? B(n), "getNodeColor");
|
|
862
|
+
T.append("g").attr("class", "nodes").selectAll(".node").data(L.nodes).join("g").attr("class", "node").attr("id", (n) => (n.uid = Uid.next("node-")).id).attr("transform", function(n) {
|
|
863
|
+
return "translate(" + n.x0 + "," + n.y0 + ")";
|
|
864
|
+
}).attr("x", (n) => n.x0).attr("y", (n) => n.y0).append("rect").attr("height", (n) => n.y1 - n.y0).attr("width", (n) => n.x1 - n.x0).attr("fill", (n) => V(n.id));
|
|
865
|
+
let H = /* @__PURE__ */ __name(({ id: n, value: c2 }) => M ? `${n}
|
|
866
|
+
${A}${Math.round(c2 * 100) / 100}${j}` : n, "getText"), W = /* @__PURE__ */ __name((n) => F === "outlined" ? (n.layer ?? 0) < z ? {
|
|
867
|
+
x: n.x0 - 6,
|
|
868
|
+
anchor: "end"
|
|
869
|
+
} : {
|
|
870
|
+
x: n.x1 + 6,
|
|
871
|
+
anchor: "start"
|
|
872
|
+
} : n.x0 < E / 2 ? {
|
|
873
|
+
x: n.x1 + 6,
|
|
874
|
+
anchor: "start"
|
|
875
|
+
} : {
|
|
876
|
+
x: n.x0 - 6,
|
|
877
|
+
anchor: "end"
|
|
878
|
+
}, "getLabelPosition"), G = T.append("g").attr("class", "node-labels").attr("font-size", 14), K = /* @__PURE__ */ __name((n) => G.selectAll(n ? `.${n}` : "text").data(L.nodes).join("text").attr("class", n ?? null).attr("x", (n2) => W(n2).x).attr("y", (n2) => (n2.y1 + n2.y0) / 2).attr("dy", `${M ? "0" : "0.35"}em`).attr("text-anchor", (n2) => W(n2).anchor).text(H), "appendLabel");
|
|
879
|
+
F === "outlined" ? (K("sankey-label-bg"), K("sankey-label-fg")) : K();
|
|
880
|
+
let q = T.append("g").attr("class", "links").attr("fill", "none").attr("stroke-opacity", 0.5).selectAll(".link").data(L.links).join("g").attr("class", "link").style("mix-blend-mode", "multiply"), J = (_ == null ? void 0 : _.linkColor) ?? "gradient";
|
|
881
|
+
if (J === "gradient") {
|
|
882
|
+
let n = q.append("linearGradient").attr("id", (n2) => (n2.uid = Uid.next("linearGradient-")).id).attr("gradientUnits", "userSpaceOnUse").attr("x1", (n2) => n2.source.x1).attr("x2", (n2) => n2.target.x0);
|
|
883
|
+
n.append("stop").attr("offset", "0%").attr("stop-color", (n2) => V(n2.source.id)), n.append("stop").attr("offset", "100%").attr("stop-color", (n2) => V(n2.target.id));
|
|
884
|
+
}
|
|
885
|
+
let Y;
|
|
886
|
+
switch (J) {
|
|
887
|
+
case "gradient":
|
|
888
|
+
Y = /* @__PURE__ */ __name((n) => n.uid, "coloring");
|
|
889
|
+
break;
|
|
890
|
+
case "source":
|
|
891
|
+
Y = /* @__PURE__ */ __name((n) => V(n.source.id), "coloring");
|
|
892
|
+
break;
|
|
893
|
+
case "target":
|
|
894
|
+
Y = /* @__PURE__ */ __name((n) => V(n.target.id), "coloring");
|
|
895
|
+
break;
|
|
896
|
+
default:
|
|
897
|
+
Y = J;
|
|
898
|
+
}
|
|
899
|
+
q.append("path").attr("d", sankeyLinkHorizontal_default()).attr("stroke", Y).attr("stroke-width", (n) => Math.max(1, n.width)), setupGraphViewbox(void 0, T, 0, O);
|
|
900
|
+
}, "draw") }, prepareTextForParsing = /* @__PURE__ */ __name((n) => n.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g, "").replaceAll(/([\n\r])+/g, "\n").trim(), "prepareTextForParsing"), styles_default = /* @__PURE__ */ __name((n) => `.label {
|
|
901
|
+
font-family: ${n.fontFamily};
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
.node-labels {
|
|
905
|
+
font-family: ${n.fontFamily};
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
/* Outlined label style - background stroke for better readability */
|
|
909
|
+
.sankey-label-bg {
|
|
910
|
+
stroke: ${n.mainBkg || n.background || "#fff"};
|
|
911
|
+
stroke-width: 4px;
|
|
912
|
+
stroke-linejoin: round;
|
|
913
|
+
paint-order: stroke;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
/* Foreground label text */
|
|
917
|
+
.sankey-label-fg {
|
|
918
|
+
fill: ${n.textColor};
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
/* Node styling */
|
|
922
|
+
.node rect {
|
|
923
|
+
shape-rendering: crispEdges;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
/* Link styling */
|
|
927
|
+
.link {
|
|
928
|
+
fill: none;
|
|
929
|
+
stroke-opacity: 0.5;
|
|
930
|
+
mix-blend-mode: multiply;
|
|
931
|
+
}
|
|
932
|
+
`, "getStyles"), originalParse = sankey_default.parse.bind(sankey_default);
|
|
933
|
+
sankey_default.parse = (n) => originalParse(prepareTextForParsing(n));
|
|
934
|
+
var diagram = {
|
|
935
|
+
styles: styles_default,
|
|
936
|
+
parser: sankey_default,
|
|
937
|
+
db: sankeyDB_default,
|
|
938
|
+
renderer: sankeyRenderer_default
|
|
939
|
+
};
|
|
940
|
+
export {
|
|
941
|
+
diagram
|
|
942
|
+
};
|